* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, "Ping Pong", "Noto Sans Myanmar", "Segoe UI", sans-serif; background: #f4f1ec; color: #2b2620; }
.topbar { position: sticky; top: 0; z-index: 10; background: #2f5d50; color: #fff; padding: 10px 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.brand { font-weight: 700; font-size: 18px; }
.viewtabs { display: flex; gap: 6px; flex-wrap: wrap; }
.viewtabs button, .langswitch button, .tabs button { border: 0; border-radius: 20px; padding: 7px 14px; cursor: pointer; background: rgba(255,255,255,.18); color: #fff; font-size: 14px; }
.viewtabs button.active, .tabs button.active { background: #fff; color: #2f5d50; font-weight: 700; }
.langswitch { margin-left: auto; display: flex; gap: 6px; }
.langswitch button.active { background: #f2b441; color: #2b2620; font-weight: 700; }
main { max-width: 1080px; margin: 0 auto; padding: 16px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tabs button { background: #e3ddd2; color: #2b2620; }
.tabs button.active { background: #2f5d50; color: #fff; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 16px; }
.card { background: #fff; border-radius: 12px; padding: 14px; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.card .num { font-size: 24px; font-weight: 700; margin-top: 4px; }
.card .lbl { color: #777; font-size: 13px; }
.panel { background: #fff; border-radius: 12px; padding: 16px; margin-bottom: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.panel h3 { margin: 0 0 10px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid #eee; }
input, select, textarea { padding: 8px; border: 1px solid #ccc; border-radius: 8px; font-size: 14px; width: 100%; }
label { font-size: 13px; color: #555; display: block; margin-bottom: 2px; }
.formgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.btn { border: 0; border-radius: 8px; padding: 8px 14px; cursor: pointer; background: #2f5d50; color: #fff; font-size: 14px; }
.btn.warn { background: #b0492f; }
.btn.ghost { background: #e3ddd2; color: #2b2620; }
.btn.small { padding: 5px 10px; font-size: 13px; }
.btn:disabled { opacity: .45; cursor: default; }
.rowbtns { display: flex; gap: 6px; flex-wrap: wrap; }
.badge { display: inline-block; padding: 2px 9px; border-radius: 12px; font-size: 12px; background: #eee; }
.badge.pending { background: #fde9a8; }
.badge.confirmed { background: #cfe8ff; }
.badge.in_progress { background: #ffd9b0; }
.badge.completed { background: #cdeed3; }
.badge.cancelled { background: #e2e2e2; }
.slotgrid { display: flex; flex-wrap: wrap; gap: 8px; }
.slotgrid button { padding: 8px 12px; border-radius: 8px; border: 1px solid #ccc; background: #fff; cursor: pointer; }
.slotgrid button.sel { background: #2f5d50; color: #fff; border-color: #2f5d50; }
.slotgrid button:disabled { opacity: .4; cursor: default; }
.servicecards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.servicecards .card { cursor: pointer; }
.servicecards .card.sel { outline: 3px solid #2f5d50; }
.muted { color: #888; font-size: 13px; }
.warnbox { background: #fff3d6; border: 1px solid #f2b441; border-radius: 8px; padding: 10px; margin: 10px 0; }
.successbox { background: #e3f3e6; border: 1px solid #7cbf8a; border-radius: 8px; padding: 14px; margin: 10px 0; }
.steps { display: flex; gap: 8px; margin-bottom: 14px; font-size: 13px; color: #888; }
.steps b { color: #2f5d50; }
@media (max-width: 640px) { th, td { font-size: 13px; } .brand { font-size: 16px; } }
