:root{--green:#494399;--ink:#29263f;--muted:#7e7a8e;--line:#e8e6f0;--bg:#f7f6fb;--soft:#efedf8;--gold:#78729f}body{background:#ecebf3;color:var(--ink);font-size:15px}h1{font-size:25px}h2{font-size:19px}h3{font-size:18px}.welcome{max-width:520px;min-height:100dvh;margin:0 auto;background:#fff;padding:36px 26px 25px;display:flex;flex-direction:column;justify-content:center}.welcome-brand{text-align:center;margin-bottom:28px}.welcome-brand img{width:112px;height:106px;object-fit:contain;display:block;margin:0 auto 15px}.welcome-brand span{font-size:12px;color:#8c87a1}.welcome h1{text-align:center;font-size:26px}.welcome>p{text-align:center;color:var(--muted);font-size:14px;margin:8px 0 30px}.welcome-choices{display:grid;gap:16px}.welcome-choices>button{display:flex;align-items:center;gap:14px;background:#fbfaff;border:1px solid #e5e1f3;border-radius:16px;padding:24px 19px;text-align:right;color:var(--ink);min-height:122px}.welcome-choices>button:first-child{background:#494399;color:white;border-color:#494399}.welcome-choices>button:first-child small{color:#dcd8f3}.welcome-choices>button>svg{width:18px;margin-right:auto}.welcome-choices b{display:block;font-size:17px}.welcome-choices small{display:block;font-size:11px;margin-top:7px;color:#88819c}.welcome-icon{padding:12px;background:#ffffff18;border-radius:12px}.welcome-icon svg{width:24px;height:24px}.welcome>p.welcome-note{font-size:11px;max-width:310px;margin:28px auto 0;line-height:1.9}.welcome-provider{margin-top:35px;text-align:center;font-size:10px;color:#9a96aa}.welcome-provider b{margin-right:6px;letter-spacing:1px;color:#494399}.mobile-app{max-width:560px;margin:auto;background:#f8f7fb;min-height:100dvh;position:relative;padding-bottom:86px}.mobile-header{background:#fff;display:flex;align-items:center;gap:12px;padding:12px 20px;border-bottom:1px solid var(--line);height:84px;position:sticky;top:0;z-index:10}.mobile-header img{width:57px;height:56px;object-fit:contain}.mobile-header>span{font-size:15px;font-weight:700}.mobile-header button{margin-right:auto;border:0;background:#f0eef8;color:#655f9c;font-size:11px;border-radius:8px;padding:9px 10px}.mobile-demo{font-size:10px;text-align:center;padding:7px 10px;color:#928ca8;background:#f0eef7}.mobile-content{padding:23px 22px}.mobile-bottom{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:560px;background:#fff;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(3,1fr);padding:9px 18px max(10px,env(safe-area-inset-bottom));z-index:15}.mobile-bottom button{background:none;border:0;padding:4px;color:#9b96ad;display:flex;align-items:center;flex-direction:column;gap:3px}.mobile-bottom button.active{color:var(--green);font-weight:700}.mobile-bottom svg{width:23px;height:23px}.mobile-bottom span{font-size:11px}.mobile-greeting{margin-bottom:22px}.mobile-greeting>p{color:#8c86a7;font-size:13px}.mobile-greeting h1{margin:5px 0;font-size:26px}.mobile-greeting>small{font-size:11px}.btn{font-size:14px;min-height:48px;border-radius:10px;padding:11px 16px}.btn.small{font-size:12px;min-height:40px}.mobile-main{width:100%;min-height:53px;font-size:16px;font-weight:700}.mobile-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0 28px}.mobile-stats>div{padding:18px;background:#fff;border:1px solid var(--line);border-radius:13px}.mobile-stats small{font-size:11px;display:block}.mobile-stats b{font-size:27px;display:block;color:#494399;margin-top:3px}.mobile-stats b small{font-size:11px;display:inline;font-weight:400;color:#8d88a4}.mobile-section-title{font-size:16px;margin-bottom:12px}.task-links{border:1px solid var(--line);border-radius:14px;background:white;overflow:hidden}.task-links button{width:100%;background:white;border:0;display:flex;align-items:center;gap:11px;padding:21px 14px;text-align:right;border-bottom:1px solid #eeecf4;color:var(--ink);font-size:14px}.task-links button:last-child{border:0}.task-links button>b{margin-right:auto;font-size:20px;color:#494399}.task-links button>svg{width:16px;color:#a29cb4;margin-right:5px}.task-link-icon{background:#f0eef8;color:#746eb1;border-radius:10px;padding:9px}.task-link-icon svg{width:20px}.mobile-notice{padding:17px 4px;display:flex;gap:8px;align-items:center;font-size:11px;color:#8a839f;line-height:1.8}.mobile-notice button{margin-right:auto;background:none;border:0;color:#494399;font-size:12px;font-weight:700}.mobile-notice>svg{width:17px}.mobile-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:10px}.mobile-search{width:100%;display:block;margin-bottom:15px;min-width:0}.mobile-search input{min-height:49px;font-size:13px;background:#fff}.mobile-search svg{top:16px}.mobile-tabs{flex-wrap:nowrap;overflow-x:auto;margin-bottom:18px;gap:3px}.mobile-tabs .tab{font-size:12px;padding:8px 13px;min-height:42px;white-space:nowrap}.mobile-list{display:grid;gap:15px}.mobile-order{background:white;border:1px solid var(--line);border-radius:15px;padding:19px}.mobile-order-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.mobile-order .order-id{font-size:12px}.badge{font-size:11px;padding:4px 10px}.mobile-order h3{font-size:19px;margin:5px 0}.mobile-order>p{font-size:13px;color:#8c859f;margin-top:5px}.mobile-order-meta{display:flex;justify-content:space-between;gap:10px;font-size:12px;margin:16px 0;color:#8c859f}.mobile-order-meta b{color:#494399;font-size:15px}.mobile-open{width:100%;border:0;background:#f0eef8;color:#494399;flex-direction:row-reverse;justify-content:space-between}.driver-product{padding:14px 16px;background:#f3f1f9;border-radius:10px;font-size:15px;margin:18px 0 8px;color:#494399;font-weight:700}.driver-product small{font-size:11px;color:#918aa7;display:block;font-weight:400;margin-top:5px}.mobile-complete{color:#6d8770!important;text-align:center;padding:7px;font-size:12px!important}.driver-footer{text-align:center;color:#9e98af;font-size:10px;padding:12px}.more-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px}.more-grid button{border:1px solid var(--line);background:#fff;border-radius:13px;padding:20px 13px;text-align:right;min-height:135px}.more-grid svg{display:block;color:#8179b3;margin-bottom:10px;width:22px}.more-grid b{display:block;color:#474166;font-size:16px}.more-grid small{display:block;font-size:10px;margin-top:6px}.proposed-box{margin-top:27px;background:#edeaf5;border-radius:13px;padding:22px}.proposed-box>span{font-size:10px;color:#8a81a7}.proposed-box h2{font-size:18px;margin:8px 0}.proposed-box p{font-size:12px;color:#8a81a7;margin-bottom:18px}.proposed-box .btn{background:white}.back-button{background:none;border:0;display:flex;gap:8px;align-items:center;font-size:12px;color:#797198;padding:0;margin-bottom:20px}.back-button svg{transform:rotate(180deg);width:16px}.pagehead{display:block;margin-bottom:22px}.pagehead .eyebrow{display:none}.pagehead h1{font-size:24px}.pagehead .sub{font-size:12px;line-height:1.9}.pagehead .actions{margin-top:15px;justify-content:flex-start}.rowcards,.grid-main,.grid2{display:grid;grid-template-columns:1fr;gap:16px}.stats{grid-template-columns:1fr 1fr;gap:10px}.stat{padding:16px}.stat-label{font-size:11px}.stat-value{font-size:26px}.stat-icon{display:none}.taskcard{padding:20px}.taskcard h3{font-size:19px}.taskcard p{font-size:13px}.taskcard .actions .btn{flex:1}.cardhead{padding:17px}.cardhead h2{font-size:16px}.cardhead .actions{gap:6px}.cardbody{padding:0 17px 20px}.cardfoot{padding:12px 17px}.tablewrap{width:100%;overflow:auto}th,td{padding:13px 14px;font-size:12px}.hint{font-size:12px;background:#f0edf7;color:#7e7595;line-height:1.9}.search{min-width:0}.field{font-size:13px}.field input,.field select,.field textarea{font-size:15px;min-height:48px}.fieldgrid{gap:0 12px}.summaryrow{font-size:14px}.summaryrow.total{font-size:22px}.modalhead{padding:17px 20px}.modalhead h2{font-size:19px}.modalbody{padding:21px}.modalfoot{padding:14px 20px;background:#fff}.modalfoot .mobile-main{margin:0}.modalhead .iconbutton{min-height:40px;min-width:40px}.modalhead .iconbutton svg{width:19px}dialog{width:520px;max-width:calc(100vw - 22px);border-radius:17px;max-height:94dvh}dialog::backdrop{background:#241c4b60}.mobile-details{border:1px solid var(--line);border-radius:10px;padding:0 14px;margin-top:18px}.mobile-details summary{padding:14px 0;color:#79708d;font-size:12px;cursor:pointer}.mobile-details[open] summary{margin-bottom:12px}.mobile-order-default{font-size:10px;line-height:1.8;color:#9c94ac;margin:12px 0}.mobile-detail-top{text-align:center;margin-bottom:19px}.mobile-detail-top h2{font-size:23px;margin:13px 0 4px}.mobile-detail-top p{font-size:14px;color:#8f85a2}.infoblock p{font-size:14px;line-height:2}.infoblock label{font-size:11px}.infoblock{padding:13px 0}.audit{font-size:12px}.audit small{font-size:10px}.receipt{border:0;background:#f4f2fa;padding:14px 17px}.receipt small{font-size:10px}.receipt .total{padding-top:0}.chatbox{height:560px;min-height:0}.chathead{background:#494399}.chatbody{padding:15px}.bubble{font-size:13px;max-width:91%;padding:11px 14px}.bubble.user{background:#e4e0f4;border-color:#e0dbef}.chatinput{padding:12px}.chatinput .btn{background:#494399;min-width:45px;padding:9px}.chips{gap:6px}.chips button{font-size:11px;text-align:right}.chatinput input{font-size:13px;min-height:45px}.formerror{font-size:12px}#toast{font-size:13px;background:#494399;bottom:90px}.field small{font-size:10px}.footer-note{display:none}@media(min-width:650px){.mobile-app,.welcome{box-shadow:0 10px 80px #3a32691a;border-right:1px solid #e4e0ed;border-left:1px solid #e4e0ed}.mobile-header{padding-top:16px;padding-bottom:16px;height:92px}.welcome{min-height:100dvh}.mobile-app{min-height:100dvh}.welcome-choices b{font-size:18px}}
@media(max-width:390px){.mobile-content{padding:20px 16px}.welcome{padding:28px 21px}.welcome-choices>button{padding:20px 14px;gap:10px}.welcome-choices b{font-size:16px}.welcome-icon{padding:8px}.mobile-header{padding:12px 16px;gap:8px}.mobile-header>span{font-size:14px}.task-links button{font-size:13px;padding:18px 12px}.fieldgrid{gap:0 9px}.mobile-tabs .tab{padding:8px 10px}.modalbody{padding:18px}.mobile-greeting h1{font-size:24px}}

/* Phone role uses the same compact mobile language. */
.welcome{padding-top:25px;padding-bottom:22px}.welcome-brand{margin-bottom:16px}.welcome-brand img{width:85px;height:81px;margin-bottom:10px}.welcome-choices{gap:12px}.welcome-choices>button{min-height:100px;padding-top:18px;padding-bottom:18px}.welcome>p{margin-bottom:22px}.welcome-provider{margin-top:20px}.service-scope{padding:13px 15px;margin:0 0 18px;border:1px solid #ded9f0;border-radius:12px;background:#efedf8;color:#494399;font-size:12px;line-height:1.9}.service-scope b,.service-scope span{display:block}.service-scope span{font-size:11px;color:#79718f}.phone-help{font-size:12px;line-height:1.9;color:#8a839f;padding:4px}.product-prices{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0}.product-prices>div{background:#f5f3fa;border-radius:10px;padding:13px}.product-prices small{display:block;font-size:11px}.product-prices b{display:block;color:#494399;font-size:21px}.product-prices b small{display:inline;font-size:10px}.product-stock{font-size:12px;color:#847b98;line-height:1.9}.product-stock b{color:#494399}.product-extra{margin-top:12px}.product-extra .actions{flex-wrap:wrap}.product-extra .btn{font-size:12px;flex:1}.product-extra summary{font-size:12px;color:#8b829d;cursor:pointer;padding:12px 0}.product-extra .summaryrow{font-size:12px}

.role-link{padding:10px 20px;background:#fff;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:10px;font-size:11px;color:#857e99}.role-link>span{display:flex;align-items:center;gap:9px}.role-link b{font-size:12px;color:#494399}
