@import url('/experience.css');
:root{color-scheme:light;--surface:#fff;--surface-soft:#f5f6fc;--text:#18223b;--muted:#596981;--line:#dce2ef;--accent:#5842cf}
izonos-theme{display:inline-block;flex-shrink:0}.theme-control{display:flex;align-items:center;gap:8px;margin:0;font-size:12px;font-weight:600;color:inherit}.theme-control select{width:auto;max-width:140px;min-height:42px;margin:0;padding:8px 28px 8px 10px;font-size:14px;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:8px}.theme-toolbar{display:flex;justify-content:flex-end;padding:12px 20px;max-width:1680px;margin:auto}.login-theme{display:block;margin:0 0 22px}.login-theme .theme-control{justify-content:flex-end;color:#e4def2}
@media screen{
  :root[data-theme=dark]{color-scheme:dark;--surface:#182238;--surface-soft:#202d45;--text:#eef2fa;--ink:#eef2fa;--muted:#b3c0d6;--line:#40516c;--blue:#c4b5fd;--accent:#c4b5fd;background:#101827;color:var(--text)}
  [data-theme=dark] body{background:#101827;color:var(--text)}
  [data-theme=dark] :is(.panel,.metric:not(.highlight),.module-card,.topbar,dialog,.product-card,section,article){background:var(--surface);color:var(--text);border-color:var(--line)}
  [data-theme=dark] :is(button,.button,input,select,textarea){background:var(--surface-soft);color:var(--text);border-color:var(--line)}
  [data-theme=dark] :is(button,.button):hover{background:#2c3b57;border-color:#9baecb}
  [data-theme=dark] :is(.primary,.metric.highlight){background:#7154d4;color:#fff;border-color:#b3a0ef}
  [data-theme=dark] .primary:hover{background:#6546cc}
  [data-theme=dark] :is(.text-button,a:not(.button):not(.nav-item)){color:#c4b5fd}
  [data-theme=dark] .sidebar{background:linear-gradient(165deg,#1b2341,#11192d 70%);color:#c4cee2}
  [data-theme=dark] .sidebar .nav-item{color:#c4cee2}
  [data-theme=dark] :is(.module-card p,.module-card small,.role,.product-card .sku,th,.module-workspace-heading p){color:var(--muted)}
  [data-theme=dark] th{background:var(--surface-soft)}
  [data-theme=dark] :is(td,.purchase-line){border-color:var(--line)}
  [data-theme=dark] :is(.profile-stats>div,.customer-selected,.empty .symbol,.org-select){background:var(--surface-soft);color:var(--text)}
  [data-theme=dark] .module-workspace-heading{background:linear-gradient(110deg,#2b254a,#202d45 65%,#183840);border-color:#615785}
  [data-theme=dark] .module-workspace-heading .eyebrow{color:#c4b5fd}
  [data-theme=dark] .module-card.is-available .button{background:#30254f;color:#e2d7ff;border-color:#756292}
  [data-theme=dark] .module-card.is-available .button:hover{background:#403263}
  [data-theme=dark] :is(.badge,.module-state,.avatar){background:#293b58;color:#d4e2ff;border-color:#536b96}
  [data-theme=dark] :is(.badge.delivered,.badge.collected,.is-available .module-state,.setup-row.done .step){background:#183f36;color:#a1efd1}
  [data-theme=dark] :is(.badge.reserved,.notice.warning,.offline){background:#42331d;color:#f6d292;border-color:#9f7c3a}
  [data-theme=dark] :is(.badge.cancelled,.badge.returned){background:#343b49;color:#d0d7e5}
  [data-theme=dark] :is(.badge.delivery_failed,.error){background:#482737;color:#ffc4d0;border-color:#9b5d72}
  [data-theme=dark] .danger{color:#ffc4d0;border-color:#9b5d72}
  [data-theme=dark] .notice{background:#253751;color:#d1e2ff;border-color:#607da6}
  [data-theme=dark] .balance-due{color:#f6d292}
  [data-theme=dark] .setup-row .step{background:#293b58;color:#d4e2ff}
  [data-theme=dark] .fulfilment-options label:has(input:checked){background:#30254f;color:#e2d7ff}
  [data-theme=dark] input:focus,[data-theme=dark] textarea:focus{outline:2px solid #c4b5fd}
  [data-theme=dark] :is(input,textarea)::placeholder{color:#b3c0d6;opacity:1}
  [data-theme=dark] #notice:not(:empty){background:#42331d;color:#f6d292;border-color:#9f7c3a}
  [data-theme=light] .login{background:linear-gradient(120deg,#eae5fc,#f5f6fc);color:var(--text)}
  [data-theme=light] .login-aside{color:var(--text)}
  [data-theme=light] .login .brand{color:var(--text)}
  [data-theme=light] :is(.login-aside p,.login-aside footer,.login .brand small,.login-card p){color:var(--muted)}
  [data-theme=light] .login-card{background:#fff;border-color:#c9c0df;box-shadow:0 20px 60px #26335215}
  [data-theme=light] :is(.login-card h2,.login-card label,.login-theme .theme-control){color:var(--text)}
  [data-theme=light] .login-card .eyebrow{color:#5842cf}
  [data-theme=light] .login-card input{background:#f8f9fd;color:var(--text);border-color:#8c93a8}
  [data-theme=light] .login-card .primary{background:#5842cf;color:white;border-color:#5842cf}
}
@media(max-width:600px){.topbar{height:auto;min-height:78px;flex-wrap:wrap;padding:12px 16px;gap:12px}.topbar .profile{margin-left:auto}.theme-control{gap:6px}.theme-control select{max-width:115px}.theme-toolbar{padding:10px 16px}}
@media print{izonos-theme,.theme-toolbar{display:none!important}:root{color-scheme:light}}

.customer-order-amounts{margin:20px 0;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft);color:var(--text);min-width:0}
.customer-order-amounts dl{margin:0}.customer-order-amounts dl>div{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:4px 16px;padding:7px 0;min-width:0}.customer-order-amounts dt{color:var(--muted)}.customer-order-amounts dd{margin:0;margin-left:auto;font-variant-numeric:tabular-nums;text-align:right;overflow-wrap:anywhere;max-width:100%}.customer-order-amounts .amount-emphasis{border-top:1px solid var(--line);margin-top:5px;font-weight:700}.customer-order-amounts .amount-emphasis dt{color:inherit}.customer-order-amounts p{margin:12px 0 0;font-size:.875rem;color:var(--muted);overflow-wrap:anywhere}

.customer-fulfilment{margin:20px 0;padding:18px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft);color:var(--text);min-width:0;overflow-wrap:anywhere}.customer-fulfilment h4{margin:0 0 12px}.customer-fulfilment strong{display:block;font-size:1.125rem}.customer-fulfilment p{margin:12px 0 0;line-height:1.6}.customer-fulfilment code{font:inherit;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;user-select:all}

/* Shared device options: one unobtrusive gear, no repeated page-header picker. */
.global-options-panel,.global-options-panel *,.global-options-trigger{box-sizing:border-box}
body:has(.global-options-trigger) #toast{bottom:86px;max-width:min(440px,calc(100vw - 36px))}
izonos-theme,.theme-toolbar{display:none!important}
.global-options-trigger{position:fixed;inset:auto max(18px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) auto;z-index:80;display:grid;place-items:center;width:48px;height:48px;min-width:48px;min-height:48px;margin:0;padding:12px;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--text);box-shadow:0 4px 18px #07142930;cursor:pointer}
.global-options-trigger .ui-icon{display:block;width:22px;height:22px;padding:0;background:none;color:inherit}
.global-options-trigger svg{display:block;width:22px;height:22px}
body:has(.global-options-trigger){padding-bottom:80px}
.global-options-panel{position:fixed;inset:auto max(18px,env(safe-area-inset-right)) max(78px,env(safe-area-inset-bottom)) auto;margin:0;width:min(380px,calc(100vw - 28px));max-width:none;max-height:calc(100dvh - 110px);overflow:auto;padding:24px;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--text);font:15px/1.5 system-ui,sans-serif;box-shadow:0 16px 60px #07142940}
.global-options-panel::backdrop{background:#07142966}
.global-options-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.global-options-panel h2{font-size:1.4rem;line-height:1.3;margin:0}
.global-options-panel h3{font-size:1rem;margin:24px 0 12px}
.global-options-panel p{font-size:.9rem;color:var(--muted);margin:14px 0}
.global-options-panel button{min-height:44px;margin:0;padding:10px 12px;border-radius:8px;background:var(--surface-soft);color:var(--text);border:1px solid var(--line);font:inherit;cursor:pointer}
.global-options-panel .global-option-field{display:grid;gap:7px;margin:18px 0;font-weight:600}
.global-options-panel select{width:100%;min-height:44px;max-width:none;padding:10px 12px;border-radius:8px;background:var(--surface-soft);color:var(--text);border:1px solid var(--line);font:inherit}
.global-options-panel nav{display:grid;gap:8px}
.global-options-panel nav a{padding:10px 12px;min-height:44px;border:1px solid var(--line);border-radius:8px;font-size:.95rem;color:var(--text);text-decoration:none}
.global-options-panel a:hover{background:var(--surface-soft)}
.global-options-panel :is(a,button,select):focus-visible,.global-options-trigger:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
:root[data-reduce-motion=true] *,:root[data-reduce-motion=true] *::before,:root[data-reduce-motion=true] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(prefers-reduced-motion:reduce){.global-options-panel,.global-options-trigger{animation:none;transition:none}}
@media print{.global-options-trigger,.global-options-panel{display:none!important}body:has(.global-options-trigger){padding-bottom:0}}

@font-face{font-family:'Noto Sans Myanmar';src:url('/fonts/NotoSansMyanmar.ttf') format('truetype');font-weight:100 900;font-style:normal;font-display:swap}
[lang=my]{font-family:'Noto Sans Myanmar','Myanmar Text',sans-serif}
/* Unicode fonts and generous line boxes keep Myanmar combining marks visible. */
html:lang(my){--language-font:'Noto Sans Myanmar','Myanmar Text','Padauk',sans-serif}
html:lang(th){--language-font:'Noto Sans Thai','Leelawadee UI',Tahoma,sans-serif}
html:lang(zh-Hans){--language-font:'Noto Sans SC','Microsoft YaHei',system-ui,sans-serif}
html:is(:lang(my),:lang(th),:lang(zh-Hans)) :is(body,button,input,select,textarea,.global-options-panel){font-family:var(--language-font)}
html:lang(my) :is(h1,h2,h3,h4,p,label,button,a,th,td,small,.nav-item,.module-state,.pill,.badge){line-height:1.8;letter-spacing:normal;text-transform:none}
html:lang(my) .login-aside h1{font-size:clamp(2rem,3.5vw,3.5rem);line-height:1.65}
html:lang(my) .nav-item{align-items:center;white-space:normal}
@media(max-width:820px){html:lang(my) .sidebar .nav-item{white-space:nowrap;flex-shrink:0}}
html:is(:lang(my),:lang(th)) .module-state{max-width:100%;white-space:normal;text-align:center}
html:is(:lang(my),:lang(th),:lang(zh-Hans)) .module-card{min-width:0;overflow-wrap:anywhere}
html:lang(my) :is(.eyebrow,.nav-title){letter-spacing:normal}
.global-options-panel [data-i18n]{overflow-wrap:anywhere}
.global-language-actions{display:flex;flex-wrap:wrap;gap:8px}
.global-language-actions [hidden]{display:none}
.global-options-panel :disabled{cursor:wait;opacity:.65}
