:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#242630;background:#e9e9ed;font-synthesis:none;--accent:#747dff;--surface:#f5f5f5}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;border:0;color:inherit;background:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:focus-visible,input:focus-visible,a:focus-visible{outline:2px solid #515bd6;outline-offset:3px}button:active{filter:brightness(.94)}img{width:24px;height:24px;display:block}button[hidden],[hidden]{display:none!important}.phone{position:relative;max-width:430px;height:100dvh;margin:auto;background:var(--surface);overflow:hidden;display:flex;flex-direction:column}.statusbar{height:38px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:3px 24px 0;font-size:16px}.statusbar span{display:flex;gap:3px;align-items:center}.statusbar img{width:17px;height:17px}.statusbar img:last-child{width:25px;height:21px}header{display:flex;align-items:center;gap:8px;padding:0 8px;height:56px;flex-shrink:0}.icon-button{width:44px;height:44px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.icon-button img{width:22px;height:22px}h1{font-size:18px;margin:0;font-weight:600;display:flex;align-items:center;gap:8px;flex:1;white-space:nowrap}.count{font-size:12px;border-radius:50%;background:var(--accent);color:white;width:18px;height:18px;display:grid;place-items:center}.sound{border-radius:50%;background:#fff;width:36px;height:36px;margin-right:5px}.sound img{width:18px;height:18px}.capsule{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e9e9e9;border-radius:22px;height:34px;padding:0 10px}.capsule i{height:18px;border-left:1px solid #ddd}.capsule img{width:23px;height:23px}.workspace{position:relative;flex:1;min-height:0;isolation:isolate}.task-list{position:absolute;inset:0;overflow-y:auto;overscroll-behavior:contain;padding:42px 16px 24px;scrollbar-width:none;transition:opacity .24s,transform .42s cubic-bezier(.22,.8,.25,1)}.task-list::-webkit-scrollbar{display:none}.task-card{background:white;border-radius:18px;padding:30px 32px 32px;margin-bottom:20px}.task-title{display:flex;align-items:center;gap:16px;margin:0 0 30px;font-size:20px;font-weight:600;line-height:1.5}.task-title img{width:42px;height:36px;flex-shrink:0}.details{font-size:20px;line-height:2}.customer a{color:inherit;text-decoration:none;white-space:nowrap;margin-left:8px}.route{margin:4px 0}.advice{margin:0}.actions{display:flex;justify-content:space-around;gap:24px;margin-top:44px}.action{min-width:88px;min-height:88px;width:88px;height:88px;border-radius:50%;background:#f0f0f0;font-size:16px;font-weight:600;white-space:nowrap}.action.primary{background:var(--accent);color:#fff}.task-meta{color:#777;font-size:13px;margin:16px 0 -12px}.list-end{text-align:center;font-size:13px;color:#888;padding:8px 0 18px}.context{position:absolute;top:20px;left:16px;right:16px;z-index:2}.context .task-card{padding:12px 16px;margin:0}.context .task-title{font-size:16px;gap:10px;margin:0 0 8px}.context .task-title img{width:40px;height:30px}.context .details{font-size:14px;line-height:1.6}.context .actions{gap:12px;margin-top:12px}.context .action{height:44px;min-height:44px;min-width:0;width:auto;flex:1;border-radius:24px;font-size:14px;font-weight:500}.chat{position:absolute;inset:212px 0 0;background:#fff;border-radius:22px 22px 0 0;display:flex;flex-direction:column;transform:translateY(110%);opacity:0;transition:transform .42s cubic-bezier(.22,.8,.25,1),opacity .24s;overflow:hidden}.chat-heading{display:flex;align-items:center;justify-content:space-between;height:44px;padding-left:20px;flex-shrink:0}.chat-heading span{font-size:12px;color:#888}.messages{padding:4px 16px 18px;overflow:auto;overscroll-behavior:contain;flex:1;scroll-behavior:smooth}.message{display:flex;margin:0 0 12px;animation:appear .22s ease}.message.user{justify-content:flex-end}.bubble{font-size:16px;line-height:1.65;background:#f5f5f5;border-radius:0 18px 18px 18px;padding:12px 16px;max-width:92%;white-space:pre-line;overflow-wrap:anywhere}.user .bubble{background:#c8ccff;border-radius:18px 0 18px 18px}.message button,.bubble a{display:block;margin-top:10px;min-height:44px;background:#fff;border:1px solid #dfe0e9;border-radius:12px;padding:10px 14px;text-decoration:none;color:#424cc5;text-align:center;font-size:14px}.checklist{margin:12px 0 0}.checklist label{display:flex;gap:10px;align-items:center;min-height:44px;font-size:14px}.checklist input{accent-color:var(--accent);width:20px;height:20px}.checklist button{width:100%}.checklist button:disabled{color:#999;background:#eee;cursor:default}.processing .task-list{pointer-events:none;opacity:0;transform:translateY(-90px)}.processing .chat{transform:translateY(0);opacity:1}footer{position:relative;z-index:3;flex-shrink:0;padding:14px 16px max(8px,env(safe-area-inset-bottom));transition:background .3s;background:var(--surface)}.processing footer{background:white}.composer{display:flex;align-items:center;height:48px;border-radius:26px;background:#fff}.processing .composer{background:var(--surface)}.composer input{width:0;flex:1;min-width:0;border:none;background:transparent;font-size:16px;outline:none;padding:0;color:#242630}.composer input::placeholder{color:#858585;font-size:14px}.composer .icon-button{width:36px}.composer .icon-button:last-child{margin-right:6px}.composer .send{border-radius:50%;background:var(--accent);height:36px}.send img{filter:brightness(0) invert(1)}nav{display:flex;justify-content:space-between;margin-top:16px;padding:0 22px}.nav-item{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;min-width:50px;min-height:50px;color:#777}.nav-item img{width:25px;height:25px;opacity:.7}.nav-item.selected img{opacity:1}.nav-item span{font-size:10px}.nav-item.selected{color:#242630}.home-indicator{margin:15px auto 0;width:134px;height:5px;border-radius:4px;background:#111}.toast{position:absolute;z-index:10;bottom:150px;left:24px;right:24px;background:#292933;color:white;border-radius:14px;font-size:14px;line-height:1.6;padding:14px 18px;box-shadow:0 8px 30px #0002}dialog{width:calc(100% - 32px);max-width:398px;border:0;border-radius:20px;padding:20px;color:#242630}dialog::backdrop{background:#0004}.dialog-head{display:flex;align-items:center;justify-content:space-between}h2{font-size:19px;margin:0}.utility-row{display:block;width:100%;text-align:left;padding:16px 0;border-bottom:1px solid #eee;font-size:16px;line-height:1.6}.utility-row small{display:block;color:#777;font-size:14px}.utility-note{line-height:1.8;font-size:14px;color:#666}.listening{background:#ffe1e1!important;animation:pulse 1s infinite}@keyframes appear{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{50%{opacity:.55}}@media(min-width:600px){.phone{height:min(900px,calc(100dvh - 40px));margin:20px auto;border-radius:30px;box-shadow:0 20px 80px #28283418;border:1px solid #fff}}@media(max-height:720px){.task-list{padding-top:20px}.task-card{padding:24px}.task-title{margin-bottom:20px}.actions{margin-top:24px}.details{font-size:18px}.context{top:8px}.chat{top:198px}nav{margin-top:8px}.home-indicator{margin-top:8px}footer{padding-top:10px}}@media(max-height:540px){.statusbar,nav,.home-indicator{display:none}.context .actions{display:none}.chat{top:134px}.context{top:4px}header{height:46px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.sound,.capsule,.composer .icon-button{position:relative}.sound::after,.capsule::after,.composer .icon-button::after{content:"";position:absolute;min-width:44px;min-height:44px;inset:50% auto auto 50%;transform:translate(-50%,-50%)}

/* Each snap page owns the complete task viewport: adjacent cards stay offscreen. */
.task-list{padding:0;scroll-snap-type:y mandatory;scroll-padding:0;touch-action:pan-y}
.task-page{height:100%;padding:42px 16px 24px;scroll-snap-align:start;scroll-snap-stop:always;display:flex;flex-direction:column;overflow:hidden}
.task-page .task-card{flex-shrink:1;min-height:0;max-height:100%;margin:0;overflow-y:auto;scrollbar-width:none}
.task-page .task-card::-webkit-scrollbar{display:none}
@media(max-height:720px){.task-page{padding-top:20px;padding-bottom:12px}.task-page .task-card{padding:20px 24px}.task-page .task-title{margin-bottom:16px}.task-page .details{line-height:1.75}.task-page .actions{margin-top:20px}.task-page .action{width:76px;height:76px;min-width:76px;min-height:76px}}
/* Quiet mobile surfaces, one shared accent and consistent touch targets. */
:root{--accent:#7286FF;--surface:#f6f7f9;color:#242630;background:#e9ebf0}
.phone{background:var(--surface)}
header{padding:0 12px;gap:4px}h1{font-size:18px;letter-spacing:-.4px}.count{background:#e7ebff;color:#5268d0;font-weight:600}
.task-page{padding:32px 20px 24px}.task-card{border-radius:24px;padding:28px;box-shadow:0 3px 18px #20274803;border:1px solid #ffffff}
.task-title{font-size:20px;gap:14px;line-height:1.45;letter-spacing:-.4px;margin-bottom:28px}.task-title img{width:36px;height:36px}.task-title span{overflow-wrap:anywhere}
.details{font-size:18px;line-height:1.85}.customer{font-weight:500}.customer a{font-size:16px;font-weight:400;color:#727680}.route{margin:16px 0 20px;line-height:1.75}.advice{color:#737984;font-size:16px;line-height:1.8}
.actions{gap:12px;margin-top:32px}.action{width:auto;height:52px;min-height:52px;min-width:0;flex:1;border-radius:16px;font-size:15px;font-weight:500;background:#f1f2f5}.action.primary{color:#1e2858;background:var(--accent)}.actions:empty{display:none}.task-meta{font-size:13px;margin:18px 0 0;color:#858a95}
.context{left:20px;right:20px;top:16px}.context .task-card{border-radius:20px;padding:14px 16px;box-shadow:none}.context .task-title{font-size:16px;margin-bottom:8px}.context .task-title img{width:28px;height:28px}.context .advice{font-size:14px;line-height:1.6}.context .actions{margin-top:12px;gap:10px}.context .action{border-radius:12px;min-height:44px}
.chat{border-radius:24px 24px 0 0}.chat-heading{padding-left:24px;height:48px}.chat-heading span{color:#9296a1;letter-spacing:.4px}.messages{padding-left:20px;padding-right:20px}.bubble{background:#f3f4f6}.user .bubble{background:#e5eaff;color:#293663}
footer{padding-left:20px;padding-right:20px}.composer{height:52px;border:1px solid #efeff3}.composer input{font-size:16px}.composer input::placeholder{color:#8a8e98}.composer .icon-button{width:44px;height:44px}.composer .icon-button:last-child{margin-right:3px}.composer .send{height:40px;width:40px}.composer .send img{filter:none}
nav{margin-top:14px;padding:0 20px;align-items:center}.nav-item{width:52px;height:52px;min-height:52px}.nav-item img{width:26px;height:26px;opacity:.6}.nav-item.selected img{opacity:1}.home-indicator{margin-top:12px}
#history-drawer{position:fixed;inset:0 auto 0 max(0px,calc((100vw - 430px)/2));margin:0;width:min(350px,calc(100vw - 32px));max-width:none;max-height:none;height:100dvh;border-radius:0 24px 24px 0;padding:24px 20px max(20px,env(safe-area-inset-bottom));background:#fafbfc;overflow:hidden}
#history-drawer[open]{display:flex;flex-direction:column;animation:drawer-in .28s cubic-bezier(.2,.8,.2,1)}
#history-drawer::backdrop{background:#1a20384d;backdrop-filter:blur(3px)}
.drawer-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;flex-shrink:0}.drawer-header h2{font-size:24px;letter-spacing:-.7px;font-weight:600}.eyebrow{font-size:12px;color:#9096a3;margin:0 0 8px}.new-task{display:flex;gap:10px;align-items:center;justify-content:center;min-height:50px;width:100%;background:var(--accent);color:#1e2858;border-radius:14px;font-size:16px;font-weight:500;flex-shrink:0}.new-task img{width:20px;height:20px}
.history-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;margin-top:24px;scrollbar-width:none}.history-row{display:flex;align-items:center;gap:12px;width:100%;min-height:84px;text-align:left;padding:14px 0;border-bottom:1px solid #eceef2}.history-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#eff1f6;flex-shrink:0}.history-icon img{width:20px;height:20px;opacity:.65}.history-copy{flex:1;min-width:0}.history-copy strong{display:block;font-size:15px;font-weight:500;overflow-wrap:anywhere}.history-copy small{display:block;color:#9399a5;font-size:12px;margin-top:7px}.history-status{font-size:12px;white-space:nowrap;color:#6e80cd}.history-status.done{color:#9a9eaa}.drawer-footnote{font-size:12px;color:#a2a7b1;margin:24px 0 0;text-align:center}
dialog{max-height:calc(100dvh - 48px);overflow:auto;border-radius:24px;padding:24px;background:#fff}dialog .dialog-head{margin-bottom:16px}.utility-row{border-color:#f0f1f4}.utility-row small{color:#9297a3;margin-top:5px}#new-task-form label{display:block;margin:20px 0;font-size:14px;color:#717785}#new-task-form input,#new-task-form textarea{display:block;width:100%;margin-top:10px;padding:14px;border:1px solid #e9ebf1;border-radius:12px;background:#f8f9fb;font:inherit;font-size:16px;color:#242630;resize:vertical}#new-task-form textarea{max-height:160px}.board-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:20px}.board-stats div{padding:24px;background:#f6f7fb;border-radius:16px}.board-stats b{display:block;font-size:30px;font-weight:500}.board-stats span{display:block;font-size:13px;color:#8b919d;margin-top:8px}.empty-tasks{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px;text-align:center}.empty-tasks>img{width:48px;height:48px;opacity:.45;margin-bottom:24px}.empty-tasks h2{font-weight:500}.empty-tasks p{font-size:14px;line-height:1.7;color:#89909a;margin:14px 0 30px}
@keyframes drawer-in{from{transform:translateX(-100%)}to{transform:translateX(0)}}
@media(min-width:600px){#history-drawer{top:20px;bottom:20px;height:min(900px,calc(100dvh - 40px));border-radius:30px 24px 24px 30px}}
@media(max-width:360px){header{padding:0 8px}h1{font-size:16px}.capsule{padding:0 7px;gap:6px}.task-page{padding:24px 16px 16px}.task-page .task-card{padding:24px}.task-title{font-size:18px}.details{font-size:16px}.customer a{font-size:14px}.context{left:16px;right:16px}}
@media(max-height:720px){.task-page{padding-top:20px;padding-bottom:16px}.task-page .task-card{padding:24px}.task-page .task-title{margin-bottom:20px}.task-page .actions{margin-top:24px}.task-page .action{width:auto;min-width:0;height:48px;min-height:48px}.route{margin:12px 0 16px}.context{top:8px}}
@media(prefers-reduced-motion:reduce){#history-drawer[open]{animation:none}}
.context .task-title span,.context .advice{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.context .details>div{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* A fixed mobile canvas also contains every overlay and navigation layer. */
body{padding:20px 0}.phone{width:390px;max-width:100%;height:844px;margin:0 auto;border-radius:30px;box-shadow:0 20px 80px #28283418}
h1{min-width:0;gap:7px}#page-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.count{flex-shrink:0}
.task-page{padding:26px 20px 20px}.task-page .task-card{height:100%;display:flex;flex-direction:column;padding:30px 28px}.task-page .task-title{margin-bottom:30px;flex-shrink:0}.task-page .details{flex:1}.task-page .actions{margin-top:28px;padding:0 4px;gap:28px;flex-shrink:0}.task-page .action{flex:none;width:88px;height:88px;min-width:88px;min-height:88px;border-radius:50%;font-size:15px}.action.primary,.new-task{color:#fff}.context .actions{justify-content:space-around}.context .action{flex:none;width:64px;height:64px;min-height:64px;min-width:64px;border-radius:50%;font-size:13px}.composer .send img{filter:brightness(0) invert(1)}
.overlay-scrim{position:absolute;inset:0;z-index:20;background:#1a203840;backdrop-filter:blur(3px);width:100%;height:100%;border-radius:inherit}
#history-drawer{position:absolute;inset:0 auto 0 0;width:330px;max-width:85%;height:100%;max-height:100%;margin:0;border-radius:0 24px 24px 0;z-index:21;padding:30px 20px 24px}
#utility{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:calc(100% - 32px);max-width:358px;max-height:calc(100% - 48px);margin:0;z-index:22}.dialog-head{flex-direction:row-reverse;justify-content:flex-end;gap:8px}.dialog-head h2{flex:1}.drawer-footnote{flex-shrink:0}
@media(max-width:430px){body{padding:0}.phone{height:min(844px,100dvh);border-radius:0;border:0;box-shadow:none}}
@media(max-height:720px) and (max-width:430px){.task-page{padding:16px}.task-page .task-card{padding:24px}.task-page .action{width:76px;height:76px;min-width:76px;min-height:76px}.task-page .actions{gap:20px;margin-top:20px}.context .action{width:56px;height:56px;min-width:56px;min-height:56px}}

/* Browse cards keep their full-page snap area while using 75% of the former height. */
.task-page .task-card{height:75%;padding:24px 28px}
.task-page .task-title{margin-bottom:22px}
.task-page .details{line-height:1.7;min-height:0}
.task-page .route{margin:12px 0 14px;line-height:1.7}
.task-page .advice{line-height:1.7}
.task-page .actions{margin-top:20px}
.composer{border:0}
#new-task img{filter:brightness(0) invert(1)}
.context .action{flex:1;width:auto;min-width:0;height:44px;min-height:44px;border-radius:999px;font-size:14px}
.chat-heading{justify-content:flex-end}
.history-conversation .chat-heading{display:none}
.history-conversation .messages{padding-top:20px}
@media(max-height:720px) and (max-width:430px){.task-page .task-card{min-height:330px;max-height:100%;padding:20px 24px}.task-page .task-title{margin-bottom:16px}.task-page .details{font-size:16px}.task-page .action{width:72px;min-width:72px;height:72px;min-height:72px}}
.contact-card{max-width:100%;width:100%;padding:18px;border-radius:18px;white-space:normal;font-size:15px;line-height:1.8}
.contact-draft{margin-top:14px;padding-top:14px;border-top:1px solid #e5e7ee;color:#242630;white-space:pre-line}
.contact-actions{display:flex;gap:10px;margin-top:18px}.contact-actions a,.contact-actions button{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;min-height:44px;margin:0;padding:10px 8px;border:0;border-radius:999px;font-size:14px;line-height:1.5;white-space:normal}.contact-actions a{background:#fff;color:#242630}.contact-actions .contact-send{background:var(--accent);color:#fff}.contact-actions .contact-send:disabled{background:#e5e8f2;color:#7a8193;cursor:default}

/* Keep the existing card size, moving only its browsing position. */
.task-page .task-card{position:relative;top:32px}
.actions:has(>.action:only-child){justify-content:center}
.context .action:only-child{flex:0 1 152px}
/* Shared mobile surfaces and invisible scroll tracks. */
*{scrollbar-width:none}*::-webkit-scrollbar{display:none;width:0;height:0}
.contact-draft{margin:0;padding:0;border:0}.draft-label{font-size:12px;color:#858b99;margin-bottom:10px}.contact-card{border-radius:18px;background:#f5f6fa}
.statusbar span{gap:5px}.statusbar img{width:16px;height:16px}.statusbar img:last-child{width:25px;height:20px}
.prep-intro{margin:0 0 20px;font-size:16px;color:#454b58;line-height:1.9}.context .prep-intro{display:none}
#utility.new-task-dialog{inset:38px 0 0;transform:none;width:100%;max-width:none;height:calc(100% - 38px);max-height:none;border-radius:0;padding:0 20px 28px;background:#fff}
.new-task-dialog .dialog-head{height:56px;margin:0 -8px 32px}.new-task-dialog .dialog-head h2{font-size:18px}.new-task-dialog #new-task-form{display:flex;flex-direction:column;min-height:510px}.new-task-dialog #new-task-form label{margin:0 0 28px}.new-task-dialog #new-task-form input,.new-task-dialog #new-task-form textarea{background:white;border:0;padding:18px;border-radius:18px;resize:none}.new-task-dialog #new-task-form textarea{min-height:180px;max-height:240px}.new-task-dialog #new-task-form .new-task{margin-top:auto;border-radius:999px}
#utility.preparation-sheet{inset:auto 0 0;transform:none;width:100%;max-width:none;max-height:90%;padding:20px 20px 32px;border-radius:24px 24px 0 0;animation:sheet-rise .28s ease}
.preparation-sheet .dialog-head{flex-direction:row;justify-content:space-between;margin-bottom:16px}.preparation-sheet .dialog-head h2{font-size:19px}.preparation-sheet #utility-close img{content:url('icons/x.svg')}.photo-label{font-size:14px;margin:0 0 12px}.photo-upload{width:104px;height:104px;border:1px solid #e0e3ec;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;position:relative;overflow:hidden;color:#8a92a5;font-size:12px;cursor:pointer}.photo-upload input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer;z-index:2}.photo-upload>img{opacity:.55;width:24px;height:24px}.photo-upload .vehicle-photo{width:100%;height:100%;object-fit:cover;opacity:1}.preparation-checks{margin:12px 0 20px}.preparation-checks label{display:flex;gap:12px;align-items:center;min-height:40px;font-size:14px;position:relative;cursor:pointer}.preparation-checks input{position:absolute;width:22px;height:22px;opacity:0}.check-circle{width:21px;height:21px;flex-shrink:0;border:1px solid var(--accent);border-radius:50%;display:grid;place-items:center}.check-circle img{width:15px;height:15px;visibility:hidden}.preparation-checks input:checked+.check-circle{background:var(--accent)}.preparation-checks input:checked+.check-circle img{visibility:visible;filter:brightness(0) invert(1)}.preparation-checks input:focus-visible+.check-circle{outline:2px solid var(--accent);outline-offset:3px}.preparation-complete{border-radius:999px;min-height:44px}.preparation-complete:disabled{background:#e0e3eb;color:#99a0b0;cursor:default}
.preparation-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:22px}
.preparation-photo-field{min-width:0}
.preparation-photo-field .photo-label{font-weight:500;color:#242630}
.preparation-photo-field .photo-upload{width:100%;height:auto;aspect-ratio:1}
.preparation-confirmation{padding:16px;border-radius:16px;background:#f7f8fc;margin-bottom:20px}
.preparation-confirmation h3{margin:0 0 10px;font-size:14px;color:#242630}
.preparation-confirmation p{margin:0;color:#242630;font-size:14px;line-height:1.7}
.preparation-confirmation .preparation-checks{display:flex;align-items:center;gap:10px;min-height:44px;margin:14px 0 0;font-size:14px;position:relative;cursor:pointer}
.preparation-record{padding:6px 0 12px}
.preparation-record .preparation-photo-field>img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:14px}
@keyframes sheet-rise{from{transform:translateY(100%)}to{transform:translateY(0)}}
/* Overlay focus must never scroll the fixed phone canvas itself. */
.phone{overflow:clip}
.flow-progress{display:flex;justify-content:space-between;gap:20px;margin-top:16px;color:#9298a5;font-size:12px}.flow-track{height:3px;border-radius:999px;background:#e2e5ee;overflow:hidden;margin:8px 0 14px}.flow-track i{display:block;height:100%;background:var(--accent);border-radius:inherit}.message .flow-next{width:100%;border:0;border-radius:999px;background:var(--accent);color:white}.message .flow-next:disabled{background:#e9ebf1;color:#9a9eab;cursor:default}
/* Single actions align with the card's full text column. */
.context .action:only-child{flex:1 1 100%;width:100%;max-width:none}
.empty-tasks .new-task{border-radius:999px}
/* AI replies use a 16px page gutter; short text keeps its natural width. */
.messages{padding-left:16px;padding-right:16px}
.message.ai .bubble{width:fit-content;max-width:100%;min-width:0}
.message.ai .bubble.contact-card{width:100%}
.composer{padding-left:4px;padding-right:4px}
/* Completed actions share one disabled treatment across tasks and AI cards. */
.action:disabled,.action.primary:disabled,.message .flow-next:disabled,.contact-actions .contact-send:disabled{background:#e9ebf1;color:#9a9eab;cursor:default;filter:none}
/* A new task starts with a conversation, not a form. */
.new-task-dialog #utility-body{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}
#utility.new-task-dialog[open]{display:flex;flex-direction:column;padding:0 16px 24px}
.new-task-dialog .dialog-head{flex-shrink:0;margin-bottom:12px}
.creation-messages{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:12px 0 24px}
.creation-messages .bubble{max-width:100%}
#new-task-chat{flex-shrink:0;background:#f5f5f5;margin-top:12px}
#new-task-chat input{padding-left:12px}
#new-task-chat .send{flex-shrink:0;background:var(--accent);border-radius:50%;width:40px;height:40px}
.history-copy small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.6}
.new-task-dialog .dialog-head h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
/* History rows keep a single-line title above their timestamp. */
.history-copy strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}
.history-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.history-status{flex-shrink:0}
/* A quiet header and a task-first count above the browsing cards. */
header{gap:0;padding:0 12px}header h1{font-size:17px}header .sound{width:36px;height:44px;margin:0;background:transparent;border-radius:0}header .sound img{width:22px;height:22px}#intercom{width:36px;height:44px;margin-right:8px}#intercom img{width:22px;height:22px}.capsule{gap:8px;padding:0 9px;flex-shrink:0}.task-summary{position:absolute;top:17px;left:20px;right:20px;margin:0;color:#838995;font-size:14px;line-height:22px;pointer-events:none;z-index:1;transition:opacity .2s}.processing .task-summary{opacity:0;visibility:hidden}
#utility.voice-dialog{inset:38px 0 0;transform:none;margin:0;width:100%;max-width:none;height:calc(100% - 38px);max-height:none;border-radius:0;padding:0;background:radial-gradient(ellipse at 85% 0,#eaeaff 0,transparent 42%),#f7f8fc}
.voice-dialog>.dialog-head{display:none}.voice-dialog #utility-body{height:100%;display:flex;flex-direction:column;align-items:center;position:relative;padding:20px 24px 10px;overflow:hidden}.voice-text{align-self:flex-end;width:44px;height:44px;font-size:21px;font-weight:600}.voice-center{width:100%;flex:1;min-height:0;overflow-y:auto;text-align:center;padding-top:36px}.voice-orb{display:block;margin:0 auto 32px;width:184px;height:184px;border-radius:50%;padding:0;position:relative;background:transparent;isolation:isolate}.orb-core{display:block;position:absolute;inset:0;border-radius:50%;overflow:hidden;background:radial-gradient(ellipse at 24% 18%,#ffffffdb,transparent 30%),radial-gradient(ellipse at 72% 82%,#b3eaff 5%,transparent 48%),radial-gradient(ellipse at 38% 51%,#6979ff 8%,#8db4ff 60%,#c9eeff 90%);box-shadow:inset 0 0 14px 5px #d0f4ffcc,inset -9px -5px 24px #779eff88,0 0 3px 2px #d2e9ff,0 0 45px 12px #b5c7ff44;animation:orb-breathe 4.5s ease-in-out infinite}.orb-core::after{content:"";position:absolute;inset:-22%;border-radius:45%;background:conic-gradient(from 45deg,transparent,#ffffff66,transparent 35%,#a6dcff77,transparent 75%);filter:blur(14px);animation:orb-drift 12s linear infinite}.is-listening .orb-core{animation-duration:1.8s}.voice-invite{font-size:16px;color:#888d99;margin:0 0 12px}.voice-example{font-size:17px;line-height:1.8;font-weight:500;padding:0;max-width:320px}.voice-status{color:#9498a2;font-size:13px;margin:20px 0 24px;text-align:center;flex-shrink:0}.voice-controls{display:flex;gap:26px;flex-shrink:0;margin-bottom:28px}.voice-controls .icon-button{background:#fff;width:58px;height:58px;border:1px solid #edeef3;border-radius:50%;box-shadow:0 8px 20px #28364d08}.voice-controls img{width:24px;height:24px}.voice-dialog .home-indicator{flex-shrink:0;margin:0 auto}.voice-question{font-size:13px;line-height:1.6;color:#8a90a1;margin:0 0 12px}.voice-answer{font-size:16px;line-height:1.85;margin:0}.voice-ack{margin-top:16px;background:var(--accent);color:#fff;border-radius:999px;min-height:44px;width:100%}
@keyframes orb-breathe{0%,100%{transform:scale(.95);filter:saturate(.95)}50%{transform:scale(1.045);filter:saturate(1.16)}}@keyframes orb-drift{to{transform:rotate(360deg)}}
@media(max-height:720px){.voice-center{padding-top:12px}.voice-orb{width:144px;height:144px;margin-bottom:22px}.voice-controls{margin-bottom:12px}.voice-status{margin:12px 0}.task-summary{top:10px}}
@media(prefers-reduced-motion:reduce){.orb-core,.orb-core::after{animation:none}}
/* The voice surface continues seamlessly behind the system status bar. */
#utility.voice-dialog{inset:0;height:100%;padding-top:38px}
.phone:has(#utility.voice-dialog[open])>.statusbar{position:relative;z-index:23;background:transparent}
.voice-controls [data-voice-mic][aria-pressed="true"]{background:#e8edff;border-color:#cbd5ff}
/* Voice controls and optional six-line transcript. */
.voice-dialog .voice-center{padding-top:80px}
.voice-controls{gap:22px}
.voice-controls .voice-text{align-self:auto;margin:0;font-size:21px;font-weight:600}
.voice-controls .voice-text[aria-pressed="true"]{color:var(--accent);background:#e8edff;border-color:#cbd5ff}
.voice-transcript{height:168px;overflow-y:auto;overscroll-behavior:contain;text-align:left;line-height:28px;padding:18px 2px 0;margin:0;mask-image:linear-gradient(to bottom,transparent,#000 22px);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 22px)}
.voice-transcript .voice-question,.voice-transcript .voice-answer{font-size:16px;line-height:28px;margin:0 0 12px}
.voice-transcript .voice-question{color:#8a90a1}.voice-transcript-empty{font-size:14px;color:#969caa;text-align:center;margin-top:20px}
.voice-example+.voice-transcript{margin-top:16px}
@media(max-height:720px){.voice-dialog .voice-center{padding-top:40px}.voice-transcript{height:140px}}
/* Shared type scale: 14px body, 12px supporting text, clear headings. */
:root{font-size:14px}
.task-summary{font-size:18px;line-height:26px;font-weight:600;color:#242630;letter-spacing:-.3px}
.bubble,.contact-card,.utility-row,.utility-row small,.composer input,.composer input::placeholder,.voice-example,.voice-answer,.voice-question,.voice-transcript .voice-question,.voice-transcript .voice-answer,.new-task,.voice-ack,.toast{font-size:14px}
.message button,.contact-actions button,.contact-actions a{font-size:14px}
.history-copy small,.history-status,.utility-note,.voice-invite,.voice-status,.voice-transcript-empty,.draft-label,.photo-upload,.nav-item span,.board-stats span{font-size:12px}
.voice-transcript{height:156px;line-height:26px}
.voice-transcript .voice-question,.voice-transcript .voice-answer{line-height:26px}
/* Swap the visual states while keeping the existing toggle behavior. */
.voice-controls [data-voice-mic][aria-pressed="false"],.voice-controls .voice-text[aria-pressed="false"]{background:#e8edff;border-color:#cbd5ff}
.voice-controls .voice-text[aria-pressed="false"]{color:var(--accent)}
.voice-controls [data-voice-mic][aria-pressed="true"],.voice-controls .voice-text[aria-pressed="true"]{background:#fff;border-color:#edeef3;color:#242630}
/* Text display toggle: lighter glyph, slashed when off. */
.voice-controls .voice-text{position:relative;font-weight:300}
.voice-controls .voice-text[aria-pressed="false"]{color:#242630;background:#fff;border-color:#edeef3}
.voice-controls .voice-text[aria-pressed="true"]{color:var(--accent);background:#e8edff;border-color:#cbd5ff}
.voice-controls .voice-text[aria-pressed="false"]::before{content:"";position:absolute;left:50%;top:50%;width:27px;height:1.5px;border-radius:999px;background:currentColor;box-shadow:0 0 0 1.5px #fff;transform:translate(-50%,-50%) rotate(45deg);pointer-events:none}
/* Browse each task and its input together, beneath the stationary heading. */
.task-summary{top:41px}
.task-list{top:75px;bottom:0}
.task-page{padding:7px 20px 0}
.task-page .task-card{top:0;height:410px;max-height:calc(100% - 72px);min-height:0;flex-shrink:0}
.browse-composer{flex-shrink:0;margin-top:auto;margin-bottom:0;width:100%;height:52px}
.browse-input{flex:1;min-width:0;text-align:left;color:#8a8e98;font-size:14px;padding:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:44px}
footer>#composer{display:none}
.processing footer>#composer{display:flex}
@media(max-height:720px) and (max-width:430px){.task-summary{top:34px}.task-list{top:68px}.task-page{padding:7px 16px 0}.task-page .task-card{height:410px;max-height:calc(100% - 64px);min-height:0}.task-page .details{overflow:auto;flex:1}.task-page .actions{margin-top:12px}}

/* Separate task pages during a swipe instead of showing one continuous feed. */
.task-page>.task-card{opacity:var(--task-opacity,1);transform:scale(var(--task-scale,1));transform-origin:center center;will-change:transform,opacity}
.task-page>.browse-composer{opacity:var(--input-opacity,1);transform:scale(var(--task-scale,1));will-change:transform,opacity}
@media(prefers-reduced-motion:reduce){.task-page>.task-card,.task-page>.browse-composer{opacity:1;transform:none;will-change:auto}}

.voice-controls [data-voice-mic]{color:var(--accent)}
.voice-controls [data-voice-mic] svg{width:24px;height:24px}
.voice-controls [data-voice-mic] .mic-slash{display:none}
.voice-controls [data-voice-mic][aria-pressed="true"] .mic-slash{display:block}

/* New conversations use the same composer as task processing. */
#new-task-chat input{padding-left:0}

/* Text mode keeps the voice illustration above the conversation prompt. */
.voice-invite{font-size:14px}
.voice-transcript-empty{font-size:16px}
.voice-center.text-visible #voice-copy{width:100%}
.voice-center.text-visible .voice-transcript{height:auto;max-height:100%;min-height:156px;mask-image:none;-webkit-mask-image:none}

.phone:has(#utility.new-task-dialog[open]){background:#fff}

/* Review: vertically paged cards and a fixed AI composer. */
.review-mode footer>#composer{display:flex}.review-mode .workspace{min-height:0}.review-mode #context,.review-mode #chat{display:none}.review-mode #review{position:absolute;inset:0}.review-feed{height:100%;overflow-y:auto;scroll-snap-type:y mandatory;scrollbar-width:none}.review-page{height:100%;scroll-snap-align:start;scroll-snap-stop:always;padding:24px 20px 0;display:flex;flex-direction:column}.review-card{background:#fff;border-radius:24px;padding:26px 24px;overflow-y:auto;flex:1;min-height:0}.review-card-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.review-card-heading h2{display:flex;align-items:center;gap:12px;font-size:22px}.review-card-heading img{width:30px;height:30px}.review-card-heading>span{font-size:13px;color:#8a8e98}.review-advice{background:#f4f5ff;border-radius:16px;padding:16px;margin-bottom:24px}.review-advice>span{font-size:14px;font-weight:600;color:#646fda}.review-advice p{font-size:16px;line-height:1.7;margin:8px 0 0}.review-total{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.review-total>span,.review-metrics>div>span{font-size:14px;color:#717783}.review-total strong{font-size:38px;font-weight:600}.review-card small{font-size:14px;font-weight:400;color:#858994;margin-left:7px}.review-metrics{display:grid;grid-template-columns:1fr 1fr;gap:16px}.review-metrics strong{display:block;font-size:26px;margin-top:10px;font-weight:600}.review-metrics strong.late{color:#d57b43}.review-note{font-size:12px;line-height:1.6;color:#8a8e98;margin:18px 0}.review-link{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:48px;border-top:1px solid #eee;font-size:16px;text-align:left;padding:16px 0 0}.review-link span{font-size:14px;color:#747dff}.review-swipe{text-align:center;font-size:12px;color:#999da6;margin:16px 0 4px}.review-customers>div{display:flex;justify-content:space-between;padding:12px 0;border-top:1px solid #f0f0f0;font-size:14px}.review-customers span{color:#858994}.task-filters{display:flex;gap:8px;margin-top:20px}.task-filters button{flex:1;min-height:44px;border-radius:22px;font-size:14px;background:#f5f5f5}.task-filters [aria-selected="true"]{background:#747dff;color:white}.review-empty{text-align:center;color:#858994;font-size:14px;line-height:2;padding:32px 8px}.review-chat{height:100%;display:flex;flex-direction:column}.review-chat-heading{display:flex;align-items:center;gap:6px;padding:12px 12px}.review-chat-heading strong{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.review-chat-heading>button:last-child{font-size:14px;color:#646fda;min-height:44px}.review-mode .nav-item.selected{background:#e8eaff;border-radius:18px}.review-mode footer{padding-top:12px}@media(max-width:360px){.review-page{padding:16px 16px 0}.review-card{padding:20px}.review-metrics{gap:8px}.review-metrics strong{font-size:23px}} 

/* Chart-led review cards. */
.review-card{padding:24px 22px}.review-card-heading{margin-bottom:24px}.task-chart{display:flex;align-items:center;gap:20px;padding:12px 0}.review-donut{width:132px;height:132px;flex-shrink:0;border-radius:50%;background:var(--ring);padding:13px}.review-donut>div{height:100%;background:#fff;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center}.review-donut strong{font-size:38px;line-height:1.2;font-weight:600;letter-spacing:-1px}.review-donut span{font-size:12px;color:#9398a5;margin-top:4px}.chart-legend{flex:1;min-width:0}.chart-legend>div{margin:12px 0}.chart-legend>div>span{display:flex;gap:6px;align-items:center;font-size:13px;color:#7e8491;white-space:nowrap}.chart-legend i,.stack-labels i{display:inline-block;width:7px;height:7px;border-radius:50%;flex-shrink:0}.chart-legend b{display:block;font-size:22px;font-weight:600;margin:4px 0 0 13px;white-space:nowrap}.chart-legend small{font-size:12px;margin-left:4px}.review-advice{margin:22px 0 16px;padding:15px 16px;background:#f5f6fb}.review-advice p{font-size:15px;line-height:1.7}.review-note{margin:14px 0;font-size:12px}.review-link{margin-top:auto}.review-card{display:flex;flex-direction:column}.review-card>*{flex-shrink:0}.chart-kpi{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:4px 0 24px}.chart-kpi>div>span{color:#858b99;font-size:14px}.chart-kpi strong{display:block;font-size:38px;font-weight:600;letter-spacing:-1px;margin-top:6px;line-height:1.1}.chart-kpi strong small{font-size:16px;margin:0 4px;letter-spacing:0}.chart-caption{font-size:12px;color:#9298a5;text-align:right;line-height:1.6}.customer-stack{display:flex;height:16px;border-radius:8px;overflow:hidden;gap:4px}.customer-stack>span{background:#7c88ef}.customer-stack>span:nth-child(2){background:#c6ccef}.stack-labels{display:flex;justify-content:space-between;font-size:12px;color:#858b99;margin-top:10px}.stack-labels i{background:#7c88ef;margin-right:6px}.stack-labels>span+span i{background:#c6ccef}.customer-chips{display:grid;grid-template-columns:1fr 1fr;gap:16px 10px;margin:24px 0 4px}.customer-chips>div{display:grid;grid-template-columns:32px 1fr;column-gap:8px;align-items:center}.customer-avatar{grid-row:span 2;border-radius:50%;width:32px;height:32px;display:grid;place-items:center;background:#f0f2fc;color:#7b86d5;font-size:13px}.customer-chips b{font-size:14px;font-weight:500}.customer-chips small{font-size:12px;margin:3px 0 0;color:#9298a5}.order-chart{display:flex;gap:18px;height:170px;margin-top:8px;padding-bottom:0;border-bottom:1px solid #eef0f6}.order-column{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:8px}.order-column>b{font-size:12px;font-weight:500;color:#737b91}.bar-track{height:116px;width:100%;display:flex;align-items:flex-end;background:repeating-linear-gradient(to top,transparent 0,transparent 37px,#f3f4f8 38px,#f3f4f8 39px)}.bar-track>span{display:block;width:100%;border-radius:8px 8px 0 0;background:#cbd1f5;min-height:2px}.bar-track .largest{background:#7c88ef}.order-column>span{font-size:12px;color:#858b99}.review-mode .nav-item.selected{background:transparent}.nav-item.selected img{opacity:1}.secondary-page>footer{display:none}.secondary-page>header>.sound,.secondary-page>header>#intercom,.secondary-page>header>.capsule{display:none}.secondary-page>header h1{font-size:18px}.secondary-page .workspace{background:#f7f8fa}#all-tasks-page{position:absolute;inset:0;overflow:auto;padding:0 20px 30px}#all-tasks-page .task-filters{position:sticky;top:0;background:#f7f8fa;margin:0;padding:20px 0 12px;z-index:1}#all-tasks-page .task-filters button{background:white}#all-tasks-page .task-filters [aria-selected="true"]{background:#747dff}#all-tasks-page .utility-row{padding:20px;margin-bottom:12px;background:#fff;border:0;border-radius:18px;font-weight:500}#all-tasks-page .utility-row small{font-weight:400;margin-top:10px;font-size:13px}@media(max-width:370px){.task-chart{gap:12px}.review-donut{width:116px;height:116px;padding:12px}.review-card{padding:22px 20px}.chart-legend b{font-size:20px}.chart-legend small{font-size:11px}}
.review-card-heading{margin-bottom:16px}.task-chart{padding:0}.chart-legend>div{margin:8px 0}.chart-legend b{font-size:20px;margin-top:3px}.review-card>.review-note{margin:10px 0}.review-card>.review-advice{margin:12px 0;padding:12px 14px}.review-advice p{font-size:14px;line-height:1.65;margin-top:6px}.review-link{padding-top:12px;min-height:44px}.review-card>.chart-kpi{margin-bottom:18px}

.review-card>.review-card-heading{margin-bottom:0}.review-card>.review-advice{margin:16px 0 22px}.task-row-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.task-row-heading strong{font-size:16px;line-height:1.5;font-weight:600}.task-state{flex-shrink:0;border-radius:7px;padding:3px 7px;background:#f0f2fc;color:#7881c4;font-size:12px;line-height:1.5}.task-state.late{background:#fff3e5;color:#b67530}.task-state.done{background:#edf5ef;color:#5a886c}.task-row-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.65;color:#767d89;margin:10px 0 14px;font-weight:400}.task-row-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 12px;color:#9a9faa;font-size:12px;line-height:1.5;font-weight:400}.task-row-meta>span:last-child{color:#7b84d9}#all-tasks-page .task-list-row{text-align:left;padding:18px 20px}

.task-page .prep-intro{font-size:18px}#all-tasks-page .task-filters{padding-top:8px;padding-bottom:8px;margin-top:0;margin-bottom:0}.task-from-all footer nav{display:none}.chat-task-actions{margin-top:16px}.chat-task-actions>span{font-size:13px;color:#858b99}.chat-task-actions button{width:100%;background:#747dff;color:#fff;border:0;border-radius:22px;font-size:15px}.chat-task-actions button:disabled{background:#e8eaf0;color:#a0a4ae;cursor:default}.context .actions{display:none}

#inquiry-header-controls{display:flex;align-items:center;gap:0;margin-left:auto}#inquiry-header-controls .icon-button{width:34px;height:44px}#inquiry-header-controls .icon-button img{width:21px;height:21px}#inquiry-header-controls .capsule{margin-left:5px}.new-task-dialog .dialog-head h2{font-size:17px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.new-task-dialog .dialog-head{gap:4px}.voice-controls [data-voice-mic].recording{animation:voice-mic-breathe 2.6s ease-in-out infinite}.voice-orb.is-answering .orb-core{animation-duration:2s;box-shadow:inset 0 0 20px #c6dbff,0 0 42px 9px #7286ff44}.voice-interim{color:#7286ff;opacity:.85}.voice-status{min-height:22px}.voice-center.text-visible+.voice-status{display:block}@keyframes voice-mic-breathe{50%{box-shadow:0 0 0 5px #7286ff10;border-color:#7286ff66}}@media(prefers-reduced-motion:reduce){.voice-controls [data-voice-mic].recording{animation:none}}
.new-task-dialog .dialog-head{flex-direction:row}.new-task-dialog #utility-close{order:0}.new-task-dialog .dialog-head h2{order:1}.new-task-dialog #inquiry-header-controls{order:2;flex-shrink:0}
/* AI conversations and grouped history share the existing mobile shell. */
.ai-mode footer>#composer{display:flex}.ai-mode #ai-page{position:absolute;inset:0}.ai-mode.processing #ai-page{display:none}.ai-mode .review-chat-heading{padding:20px;gap:12px}.ai-mode .review-chat-heading>div{flex:1;min-width:0}.ai-mode .review-chat-heading small{display:block;font-size:12px;color:#7b84c7;margin-bottom:7px}.ai-mode .review-chat-heading strong{display:block;font-size:16px}.ai-welcome{margin:auto 20px;padding:24px 0 48px}.ai-welcome>img{width:44px;height:44px;margin-bottom:22px}.ai-welcome h2{font-size:22px}.ai-welcome p{font-size:14px;color:#858b99;line-height:1.9;margin:14px 0 28px}.ai-welcome button{display:block;text-align:left;width:100%;padding:16px;background:white;border-radius:14px;margin-top:10px;line-height:1.5}.history-group h3{font-size:13px;color:#7881a2;margin:20px 0 4px;display:flex;justify-content:space-between}.history-group h3 span{color:#a1a6b2;font-weight:400}.history-empty{font-size:12px;color:#a1a6b2;margin:14px 0}.review-shortcuts>button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left;padding:12px 0;min-height:44px;border-bottom:1px solid #e5e7f0;font-size:14px;line-height:1.6}.review-shortcuts>button:last-child{border:0;color:#828899;font-size:13px;padding-bottom:0}.review-shortcuts>button>span:last-child{color:#7885da;flex-shrink:0}.review-shortcuts>span{display:block;margin-bottom:3px}.phone>header:has(#menu[hidden]) h1{padding-left:8px}.ai-mode .task-from-all footer nav{display:flex}
/* Center page titles independently of the controls on either side. */
.phone>header{position:relative;gap:0}.phone>header h1,.phone>header:has(#menu[hidden]) h1{position:absolute;left:50%;transform:translateX(-50%);padding:0;margin:0;justify-content:center;max-width:calc(100% - 270px);font-size:16px;pointer-events:none}.phone>header h1 span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.phone>header #intercom{margin-left:auto;margin-right:0;width:30px}.phone>header #sound{width:30px;margin-right:5px}.phone>header #intercom[hidden]+#sound{margin-left:auto}.phone>header .capsule{padding:0 7px;gap:6px}.phone>header .capsule img{width:20px;height:20px}
.review-mode:not(.conversation-page) footer>#composer{display:none}.conversation-page footer nav,.task-from-all.conversation-page footer nav{display:none}.conversation-page .task-summary,.conversation-page .chat-heading{display:none}.conversation-page.processing #chat{display:flex;transform:none;opacity:1;transition:none}.conversation-page.processing #context{display:block}.conversation-page:not(.processing) #chat{display:none}.conversation-page.processing .messages{padding-top:20px}.conversation-page footer>#composer{display:flex}.conversation-page .context .task-card{animation:none}.conversation-page .review-chat-heading>button{display:none}.ai-welcome{padding-bottom:24px}.ai-welcome p{line-height:1.9}
@media(max-width:360px){.phone>header h1{max-width:100px}.phone>header #intercom{position:absolute;left:53px;margin:0}.phone>header #sound{margin-left:auto}}
/* Keep conversations on the page surface, with only the input itself filled. */
.phone>header h1,.phone>header #page-title{font-size:16px}.phone>header #header-new-chat{width:36px;height:44px}.phone>header #header-new-chat img{width:21px;height:21px}.conversation-page.processing #chat{background:transparent;border-radius:0}.conversation-page #messages{background:transparent}.processing footer,.conversation-page footer,.ai-mode footer{background:transparent}.processing footer>.composer,.ai-mode footer>.composer,.conversation-page footer>.composer{background:#fff}.ai-mode #ai-page>.review-chat>.messages{padding-top:24px}.bubble{white-space:pre-line}
@media(max-width:360px){.phone>header #intercom{position:static;margin-left:auto;width:26px}.phone>header #header-new-chat{width:28px}.phone>header #menu{width:36px}.phone>header #sound{width:26px;margin-right:2px}.phone>header .capsule{padding:0 5px;gap:4px}.phone>header .capsule img{width:18px;height:18px}.phone>header h1{font-size:16px;max-width:80px}}
.message.ai>.bubble{background:#fff}.business-kpis{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0 0 18px}.business-kpis>div>span,.revenue-kpi>span{font-size:13px;color:#858b99}.business-kpis strong{display:block;font-size:30px;line-height:1.2;font-weight:600;margin-top:7px;letter-spacing:-.7px}.business-kpis strong small{font-size:13px;margin-left:4px}.metric-split{margin:0 0 18px}.metric-split h3{font-size:13px;font-weight:500;margin:0 0 10px;color:#747c8d}.metric-track{height:12px;display:flex;gap:3px;border-radius:6px;overflow:hidden}.metric-legend{display:grid;grid-template-columns:1fr 1fr;gap:9px 16px;margin-top:12px}.metric-legend>div{display:flex;align-items:center;gap:5px;font-size:12px;flex-wrap:wrap}.metric-legend i{width:6px;height:6px;border-radius:50%;flex-shrink:0}.metric-legend span{color:#858b99}.metric-legend b{font-weight:500;margin-left:auto}.metric-legend small{font-size:11px;width:100%;padding-left:11px;margin:0!important}.metric-note{font-size:11px;color:#989eaa;line-height:1.6;margin:auto 0 0}.revenue-kpi{margin:0 0 20px}.revenue-kpi strong{display:block;font-size:36px;line-height:1.2;margin-top:7px;letter-spacing:-1px;font-weight:600}.revenue-kpi small{font-size:18px;margin:0 4px 0 0}.order-kpis{padding-top:15px;border-top:1px solid #eef0f5;margin-bottom:16px}
.review-card:has(.business-kpis)>.review-shortcuts{margin-bottom:16px}.business-kpis{margin-bottom:14px}.metric-split{margin-bottom:12px}.metric-legend{margin-top:9px;gap:8px 16px}.metric-note{margin-top:0}.revenue-kpi{margin-bottom:16px}
.review-card:has(.business-kpis) .review-shortcuts>button{padding-top:9px;padding-bottom:9px;min-height:40px}.review-card:has(.business-kpis) .review-shortcuts>button:last-child{padding-bottom:0}.order-kpis{padding-top:10px;margin-bottom:10px}
/* Reference-inspired home: electric blue cards, quiet grey canvas, capsule controls.
   Design variance 5 / motion 3 / density 4. Existing task actions are retained. */
#home-intro{display:none}.home-design{--accent:#7286FF;background:#f2f3f5}.home-design #home-intro{display:block;position:absolute;inset:4px 24px auto}.home-greeting p{font-size:12px;color:#626873;margin:0 0 10px}.home-greeting h2{font-size:30px;line-height:1.3;letter-spacing:-1px;font-weight:650}.home-greeting h2 span{color:#737781}.home-filters{display:flex;gap:8px;margin-top:18px}.home-filters button{min-height:42px;padding:0 17px;border-radius:24px;border:1px solid #fff;font-size:14px;color:#444b56;background:#ffffff40}.home-filters button span{margin-left:7px;color:inherit;opacity:.8}.home-filters [aria-selected=true]{background:#7286FF;border-color:#7286FF;color:white}.home-design #task-summary{display:none}.home-design #task-list{top:184px;bottom:0}.home-design .task-page{padding:25px 24px 0;gap:12px}.home-card-stack{position:relative;isolation:isolate;flex:1;min-height:0;margin-bottom:2px}.home-card-stack::before,.home-card-stack::after{content:'';position:absolute;background:#a9b5ff;border:1px solid #c4ccff;border-radius:30px;left:25px;right:25px;top:-12px;bottom:10px;z-index:-1}.home-card-stack::before{left:44px;right:44px;top:-23px;background:#d2d9ff;opacity:.75}.home-design .task-page .task-card{height:100%;max-height:none;min-height:0;display:flex;flex-direction:column;padding:23px 24px;background:#7286FF;color:white;border:0;border-radius:30px;box-shadow:none;overflow-y:auto}.home-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.home-task-symbol{width:43px;height:43px;border-radius:50%;display:grid;place-items:center;background:#ffffff24;border:1px solid #ffffff66}.home-task-symbol img{width:25px;height:25px;filter:brightness(0) invert(1)}.home-time{font-size:13px;border-radius:24px;background:#ffffff26;padding:9px 13px;color:white}.home-card-label{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.home-card-label>span{font-size:11px;background:white;color:#3449b7;border-radius:14px;padding:4px 9px}.home-card-label small{color:#d8e6ff;font-size:11px}.home-design .task-title{font-size:28px;line-height:1.2;margin:0 0 14px;letter-spacing:-.6px}.home-design .details{font-size:14px;line-height:1.7;flex:1}.home-design .prep-intro{font-size:16px;line-height:1.8;margin:0 0 10px}.home-design .advice{color:#e0ebff;font-size:13px;line-height:1.65}.home-design .route{margin:8px 0;font-size:14px;line-height:1.6}.home-design .customer a{color:#dbe9ff;font-size:13px;display:block;margin:2px 0 0}.home-design .actions{margin-top:18px;gap:10px;flex-shrink:0}.home-design .action.primary{width:auto;height:48px;min-height:48px;min-width:0;border-radius:28px;background:white;color:#3449b7;font-size:15px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;flex:1}.home-design .action img{width:18px;height:18px;transform:rotate(45deg)}.home-design .task-meta{color:#dce8ff;margin:10px 0 0;font-size:12px}.home-design .browse-composer{margin:0;flex-shrink:0;height:48px;border:0;background:#fff}.home-design footer{padding:12px 24px 8px;background:transparent}.home-design nav{background:white;border-radius:38px;padding:8px;margin:0;gap:6px;justify-content:space-between}.home-design .nav-item{background:#f2f3f5;border-radius:50%;width:48px;height:48px;min-width:48px;min-height:48px}.home-design #home{background:#7286FF;width:102px;border-radius:28px;flex-direction:row;gap:7px;color:white}.home-design #home::after{content:'任务';font-size:14px}.home-design #home img{filter:brightness(0) invert(1);width:23px;height:23px}.home-design .home-indicator{margin-top:12px}.home-design header #sound{color:#7286FF}.home-design .empty-tasks{padding-top:24px}.home-card-stack{opacity:var(--task-opacity,1);transform:scale(var(--task-scale,1));transform-origin:center center}
.voice-dialog #utility-body{padding-left:24px;padding-right:24px}.voice-transcript{padding-left:0;padding-right:0;width:100%}.voice-transcript-empty{text-align:left;margin-left:0;margin-right:0}.voice-center.text-visible #voice-copy{width:100%;text-align:left}
@media(max-height:760px){.home-design #home-intro{top:0}.home-greeting h2{font-size:26px}.home-greeting p{margin-bottom:6px}.home-filters{margin-top:12px}.home-design #task-list{top:164px}.home-design .task-page{padding-top:24px;gap:8px}.home-design .task-page .task-card{padding:18px 20px}.home-card-top{margin-bottom:10px}.home-task-symbol{width:34px;height:34px}.home-design .task-title{font-size:25px;margin-bottom:10px}.home-design .prep-intro{font-size:14px}.home-design .actions{margin-top:12px}.home-design .advice{font-size:12px}.home-design .nav-item{height:44px;min-height:44px}.home-design footer{padding-top:8px}}
@media(max-width:360px){.home-design #home-intro{left:18px;right:18px}.home-design .task-page{padding-left:18px;padding-right:18px}.home-filters button{padding:0 13px}.home-design footer{padding-left:18px;padding-right:18px}}
@media(prefers-reduced-motion:reduce){.home-card-stack{transform:none;opacity:1}}
.home-design .details,.home-design .prep-intro,.home-design .customer,.home-design .route{color:#fff}.home-design .browse-input{color:#666e7b}.home-design .task-card .action:focus-visible{outline-color:#fff;outline-offset:4px}
@media(min-width:431px){.phone{height:min(844px,calc(100dvh - 40px))}}
/* User-supplied navigation assets, equal hit areas and a quiet selected state. */
.phone footer nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;background:transparent;border-radius:0;padding:0;margin:0;width:100%}.phone footer nav .nav-item,.phone.home-design footer nav #home{width:100%;min-width:0;height:52px;min-height:52px;border-radius:18px;background:transparent;display:flex;align-items:center;justify-content:center;padding:0;color:inherit}.phone footer nav .nav-item.selected,.phone.home-design footer nav #home.selected{background:#e8e9ed}.phone footer nav .nav-item::after{content:none!important}.phone footer nav .nav-item span{display:none}.phone footer nav .nav-item img,.phone.home-design footer nav #home img{width:28px;height:28px;object-fit:contain;filter:none;opacity:1}.phone:not(.home-design) footer nav{margin-top:14px}
.home-design{--accent:#7286FF}.home-design .task-page{perspective:1000px}.home-design .home-card-stack{transform:translateY(var(--flip-shift,0px)) rotateX(var(--flip-angle,0deg)) scale(var(--task-scale,1));transform-origin:center center;backface-visibility:hidden;will-change:transform,opacity}.home-design .task-page .task-card{background:#7286FF}.home-design .home-filters [aria-selected=true]{background:#7286FF;border-color:#7286FF;color:#192656}.home-design .task-card .details,.home-design .task-card .prep-intro,.home-design .task-card .customer,.home-design .task-card .route,.home-design .task-card .advice,.home-design .task-card .customer a,.home-design .task-card .task-meta{color:#17254f}.home-design .home-time{background:#ffffffdb;color:#293961}.home-design .home-card-label small{color:#17254f}
@media(prefers-reduced-motion:reduce){.home-design .home-card-stack{transform:none;opacity:1;will-change:auto}}

.home-design .task-card .route{font-weight:500}
.home-design .task-card .advice{font-weight:300}
.home-design .task-page .task-card{padding:24px}
.home-design .task-card .actions{padding:0}

/* Clear card depth and spacing between task details. */
.home-design .task-page .task-card{position:relative;isolation:isolate}
.home-design .task-page .task-card::after{content:'';position:absolute;inset:0;border-radius:inherit;background:#fff;opacity:var(--stack-wash,0);pointer-events:none;z-index:2}
.home-design .task-card .details{display:flex;flex-direction:column;gap:18px}
.home-design .task-card .route,.home-design .task-card .prep-intro,.home-design .task-card .advice{margin:0}
.home-design .home-task-symbol img{display:none}
.home-design .home-task-symbol::after{content:'';display:block;width:24px;height:24px;background:#7286FF;-webkit-mask:var(--task-icon) center/contain no-repeat;mask:var(--task-icon) center/contain no-repeat}
.home-design .action.primary,.home-design .action.primary span{color:#7286FF}
.home-design .action.primary img{display:none}
.home-design .action.primary::after{content:'';display:block;width:18px;height:18px;background:#7286FF;-webkit-mask:url('icons/arrow-up.svg') center/contain no-repeat;mask:url('icons/arrow-up.svg') center/contain no-repeat;transform:rotate(45deg)}
.phone footer nav .nav-item.selected,.phone.home-design footer nav #home.selected{border-radius:999px}
.phone.conversation-page footer nav{display:none}

/* Home revisions: concise greeting, blue gradient card, and 50px capsule navigation. */
.home-design #home-intro{top:8px}
.home-design .home-greeting p{font-size:16px;color:#242630;margin:0 0 8px}
.home-design .home-greeting h2{font-size:30px;line-height:1.3;letter-spacing:-.5px;color:#242630}
.home-design #task-list{top:100px}
.home-design .task-page{padding-top:26px}
.home-design .task-page .task-card{background:linear-gradient(to bottom,#7286FF,#3D4FD6);color:#fff}
.home-design .task-card .details,.home-design .task-card .prep-intro,.home-design .task-card .customer,.home-design .task-card .route,.home-design .task-card .advice,.home-design .task-card .customer a,.home-design .task-card .task-meta{color:#fff}
.home-design .task-card .prep-intro{font-size:18px}
.home-design .task-card .advice{font-size:16px}
.home-design .home-task-symbol{background:#fff;border-color:#fff}
.home-design .home-task-symbol img{filter:brightness(0) saturate(100%) invert(52%) sepia(42%) saturate(1830%) hue-rotate(198deg) brightness(103%) contrast(102%)}
.home-design .home-time{color:#fff;background:#ffffff28}
.phone footer nav{height:50px;background:#fff;border:2px solid #fff;border-radius:999px;padding:2px;overflow:hidden}
.phone footer nav .nav-item,.phone.home-design footer nav #home{height:42px;min-height:42px;border-radius:999px}
.phone footer nav .nav-item.selected,.phone.home-design footer nav #home.selected{background:#ededee}
.home-design footer{padding-top:12px}
@media(max-height:760px){.home-design #task-list{top:94px}.home-design .home-greeting h2{font-size:26px}.home-design .task-card .prep-intro{font-size:18px}.home-design .task-card .advice{font-size:16px}}

/* Five visible card layers; other tasks stay available through page scrolling. */
.phone.home-design,.phone.review-mode,.phone.ai-mode,.phone.conversation-page{background:#F5F5F5}
.phone.home-design .workspace,.phone.review-mode .workspace,.phone.ai-mode .workspace,.phone.conversation-page .workspace{background:#F5F5F5}
.phone footer{padding-left:16px;padding-right:16px}
.home-design #home-intro{left:16px;right:16px}
.home-design .home-greeting h2{font-size:28px}
.home-design .home-greeting .home-count{position:relative;isolation:isolate;color:inherit}
.home-design .home-greeting .home-count::after{content:'';position:absolute;left:0;right:0;bottom:-3px;z-index:-1;height:4px;border-radius:2px;background:#7286FF}
.home-design #task-list{overflow-x:hidden}
.home-design .task-page{position:relative;overflow:visible;padding:0 16px;display:flex;align-items:center;justify-content:center;perspective:none}
.home-design .home-card-stack{width:var(--home-card-width);height:var(--home-card-height);aspect-ratio:auto;flex:none;margin:0;isolation:auto;opacity:var(--stack-opacity,1);transform:translateY(var(--stack-translate,0px)) rotateX(var(--stack-angle,0deg)) rotateZ(var(--stack-tilt,0deg)) scale(var(--stack-scale,1));transform-origin:center center;filter:blur(var(--stack-blur,0px));backface-visibility:hidden;will-change:transform,opacity,filter}
.home-design .home-card-stack::before,.home-design .home-card-stack::after{display:none}
.home-design .task-page .task-card{width:100%;height:100%;max-height:none;min-height:0;overflow-y:auto;scrollbar-width:none}
.home-design .task-title,.home-design .task-page .task-title{font-size:24px}
.home-design .home-task-symbol{width:40px;height:40px;flex:none}
.home-design .home-task-symbol img{width:24px;height:24px}
.home-design .home-time{font-size:16px;padding:10px 16px;line-height:20px}
.home-design .customer{display:flex;align-items:baseline;gap:12px;font-size:18px;font-weight:300;white-space:nowrap}
.home-design .customer a{display:inline;margin:0;font-size:18px;font-weight:300;white-space:nowrap}
.home-design .route{font-size:18px;line-height:1.5}
.home-design .advice{font-size:16px}
.home-design .action.primary{justify-content:center;gap:12px}
.context .task-title img{width:24px;height:24px}
.home-design .task-page>.browse-composer{position:absolute;left:16px;right:16px;bottom:0;width:auto;z-index:1;margin:0;opacity:var(--input-opacity,0)}
@media(prefers-reduced-motion:reduce){.home-design .home-card-stack{transform:none;opacity:1;will-change:auto}}

.home-design .home-greeting .home-count::after{bottom:1px;height:6px}

/* Clearer dashboard hierarchy and a consistent navigation title. */
.phone>header h1,.phone>header #page-title{font-size:18px}
.review-card-heading h2{font-size:18px;gap:10px}
.review-card-heading img{width:24px;height:24px}
.review-shortcuts>button:last-child{color:inherit;font-size:14px}
.review-card-heading+.business-kpis{margin-top:16px}
.metric-legend>div{flex-wrap:nowrap;min-width:0}
.metric-legend>div>b{margin-left:auto;white-space:nowrap;font-size:12px;font-weight:500}
/* Personal homepage and its secondary pages. */
.profile-mode>header{display:none}.profile-mode>.statusbar{position:absolute;inset:0 0 auto;z-index:4;color:white;background:linear-gradient(#0003,transparent)}.profile-mode>.statusbar img{filter:brightness(0) invert(1)}.profile-mode .workspace{isolation:auto}.profile-mode footer{background:#f5f5f5}.profile-mode footer>#composer{display:none!important}.profile-mode footer nav{margin-top:0!important}
#profile-page{position:absolute;inset:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:none;background:#f5f5f5}.profile-cover{height:188px;background:#abb8b9}.profile-cover img{width:100%;height:100%;object-fit:cover;object-position:center 54%}.profile-content{position:relative;padding:0 20px 24px}.profile-identity{display:flex;align-items:flex-end;justify-content:space-between;margin-top:-38px;position:relative}.profile-avatar{width:82px;height:82px;object-fit:cover;border-radius:50%;border:4px solid #f5f5f5;background:white}.profile-buttons{display:flex;gap:8px;padding-bottom:2px}.profile-buttons button{height:36px;border:1px solid #dedfe3;border-radius:18px;background:#fff;padding:0 15px;font-size:13px}.profile-buttons button:last-child{width:36px;padding:8px}.profile-buttons img{width:18px;height:18px}.profile-content>h2{font-size:24px;margin:13px 0 9px;font-weight:650}.profile-bio{font-size:14px;line-height:1.8;color:#73777e;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.profile-links{display:grid;grid-template-columns:repeat(4,1fr);padding:21px 0 19px;border-bottom:1px solid #e5e5e8;margin-bottom:22px}.profile-links button{font-size:14px;display:flex;align-items:center;flex-direction:column;gap:10px}.profile-links button>span{display:grid;place-items:center;width:42px;height:42px;background:white;border-radius:14px}.profile-links img{width:25px;height:25px}.store-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.store-heading h3{margin:0;font-size:19px}.store-heading h3 small{font-size:12px;font-weight:400;color:#92969f;margin-left:5px}.store-heading>button{display:flex;align-items:center;gap:4px;font-size:13px;color:#6276ec;min-height:36px}.store-heading img{width:15px;height:15px;filter:invert(47%) sepia(69%) saturate(1020%) hue-rotate(202deg)}.service-list{display:flex;flex-direction:column;gap:16px}.service-card{overflow:hidden;border-radius:18px;background:#fff}.service-image{width:100%;height:153px;object-fit:cover}.service-copy{padding:16px}.service-copy h4{font-size:16px;line-height:1.5;margin:0 0 7px;overflow-wrap:anywhere}.service-copy>p{font-size:14px;color:#838790;line-height:1.65;margin:0 0 12px;white-space:pre-wrap;overflow-wrap:anywhere}.service-bottom{display:flex;align-items:center;justify-content:space-between}.service-bottom>strong{font-size:23px;color:#6479ef}.service-bottom>strong small{font-size:13px;margin-right:3px}.service-bottom button{font-size:13px;color:#767b86;min-height:36px;padding:0 10px}.service-bottom button+button{color:#9a9da4}.profile-empty{padding:35px 12px;text-align:center;color:#858b94;font-size:14px;line-height:1.9}
#utility.profile-detail{inset:38px 0 0;transform:none;margin:0;width:100%;max-width:none;height:calc(100% - 38px);max-height:none;border-radius:0;padding:0;background:#f5f5f5;overflow:hidden}#utility.profile-detail[open]{display:flex;flex-direction:column}.profile-detail .dialog-head{height:56px;min-height:56px;position:relative;justify-content:center;padding:0 52px;margin:0}.profile-detail .dialog-head h2{font-size:17px;text-align:center}.profile-detail #utility-close{position:absolute;left:6px;top:6px}.profile-detail #utility-body{padding:12px 20px 32px;overflow:auto;flex:1;min-height:0}.phone:has(.profile-detail[open])>.statusbar{position:relative;color:#242630;background:#f5f5f5}.phone:has(.profile-detail[open])>.statusbar img{filter:none}.phone:has(.profile-detail[open]) #toast{z-index:40}.profile-form{display:flex;flex-direction:column;gap:22px}.profile-form>label{display:flex;flex-direction:column;gap:10px;font-size:14px}.profile-form input:not([type=file]),.profile-form textarea,.profile-share-text{width:100%;min-width:0;border:1px solid #e5e6e9;border-radius:12px;background:white;padding:14px;color:#333;font:inherit;line-height:1.6;resize:vertical}.profile-upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.profile-image-field{display:flex;flex-direction:column;gap:10px;position:relative;cursor:pointer;font-size:14px}.profile-image-field img{width:100%;height:130px;object-fit:cover;border-radius:14px}.profile-image-field input{width:100%;font-size:12px}.profile-image-field small{display:none}.profile-primary{display:block;width:100%;min-height:46px;border-radius:24px;background:#7286ff;color:white;text-align:center;text-decoration:none;padding:12px 16px;font-size:15px}.profile-secondary{width:100%;min-height:46px;margin-top:10px;border-radius:24px;background:#fff;font-size:15px}.profile-primary.danger{background:#dc6161}.delete-service{padding-top:28px}.delete-service h3{line-height:1.6}.delete-service p{font-size:14px;color:#7b7f87;margin:16px 0 30px}.profile-subtitle{font-size:13px;color:#9296a0;margin:0 0 18px}.customer-list-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:white;border-radius:16px;padding:17px 14px;margin-bottom:12px}.customer-monogram{width:43px;height:43px;display:grid;place-items:center;background:#eef0ff;color:#7286ff;border-radius:50%;font-size:17px;flex-shrink:0}.customer-list-row>span:nth-child(2){flex:1}.customer-list-row strong{font-size:16px;font-weight:500}.customer-list-row small{display:block;font-size:12px;line-height:1.6;color:#91959e;margin-top:6px}.customer-detail{text-align:center;padding:30px 0}.customer-detail .customer-monogram{margin:auto}.customer-detail p{color:#878c96;font-size:14px;margin-bottom:30px}.order-filters{display:flex;gap:0;justify-content:space-between;border-bottom:1px solid #e6e7eb;margin:0 -8px 18px;position:sticky;top:-12px;background:#f5f5f5;z-index:1}.order-filters button{min-height:46px;padding:0 5px;font-size:14px;white-space:nowrap;border-bottom:2px solid transparent}.order-filters [aria-selected=true]{color:#6479ed;border-bottom-color:#7286ff;font-weight:600}.profile-order-card{display:flex;flex-direction:column;gap:12px;text-align:left;width:100%;padding:18px;background:white;border-radius:16px;margin-bottom:14px}.order-card-heading{display:flex;justify-content:space-between;align-items:center}.order-card-heading small{font-size:12px;color:#9b9fa6}.order-card-heading b{font-size:13px;font-weight:500;color:#6b80ed}.profile-order-card>strong{font-size:17px}.profile-order-card>span:not(.order-card-heading){font-size:13px;color:#858b95;line-height:1.6}.profile-order-card .order-card-footer{border-top:1px solid #f0f0f2;padding-top:14px;display:flex;align-items:center;justify-content:space-between}.order-card-footer b{font-size:17px;color:#242630}.order-detail p{font-size:14px;line-height:1.8;margin:0}.wallet-balance{background:#7286ff;color:white;border-radius:20px;padding:24px;margin:4px 0 30px}.wallet-balance>span{font-size:14px;color:#eef0ff}.wallet-balance>strong{display:block;font-size:36px;letter-spacing:-1px;margin:12px 0 26px;font-weight:600}.wallet-balance>div{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #ffffff35;padding-top:18px;gap:12px}.wallet-balance p{margin:0;font-size:13px;color:#e9edff}.wallet-balance b{display:block;font-size:18px;color:white;margin-top:8px;font-weight:500}.wallet-heading{font-size:18px;margin:0 0 12px}.wallet-bill{display:flex;align-items:center;gap:12px;padding:18px 0;border-bottom:1px solid #e8e9eb}.wallet-bill-icon{width:38px;height:38px;border-radius:12px;background:white;display:grid;place-items:center}.wallet-bill-icon img{width:20px;height:20px}.wallet-bill>span:nth-child(2){flex:1}.wallet-bill strong{font-size:14px;font-weight:500}.wallet-bill small{display:block;font-size:12px;color:#9398a1;margin-top:7px}.wallet-bill>b{font-size:16px;font-weight:500}.wallet-bill .income{color:#6378e5}.profile-share-text{font-size:14px;min-height:280px;margin-bottom:20px}@media(max-width:360px){.profile-content{padding-left:16px;padding-right:16px}.profile-detail #utility-body{padding-left:16px;padding-right:16px}.order-filters button{font-size:13px}}

/* Dashboard spacing and chart balance. */
.review-card-heading+.task-chart,.review-card-heading+.revenue-kpi{margin-top:16px}
.review-donut{width:148px;height:148px}
.chart-legend{display:flex;flex-direction:column;gap:16px}
.chart-legend>div{margin:0}
.metric-legend{column-gap:32px}



.profile-avatar{display:block;overflow:hidden;position:relative;flex-shrink:0}.profile-avatar img{width:100%;height:100%;object-fit:cover}.profile-avatar img.default-avatar{width:250%;height:auto;max-width:none;position:absolute;left:-75%;top:-38%}.profile-cover img{object-position:center 30%}
.phone:has(.profile-detail[open])>.statusbar{z-index:23}.phone:has(.profile-detail[open])>.overlay-scrim{display:none}
/* Photo-led profile header and horizontal storefront cards. */
.profile-hero{position:relative;isolation:isolate;color:#fff;background:#566568;overflow:hidden}
.profile-hero .profile-cover{position:absolute;inset:0;height:100%;z-index:-2;background:#566568}
.profile-hero .profile-cover img{height:100%;object-position:center 36%}
.profile-hero::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#172a3440 0%,#293b4261 26%,#435156ad 65%,#6b777ce8 100%)}
.profile-hero .profile-content{padding:105px 20px 22px}
.profile-hero .profile-identity{align-items:center;justify-content:flex-start;gap:16px;margin:0}
.profile-hero .profile-avatar{width:76px;height:76px;border:3px solid #fff;box-shadow:0 2px 12px #0000000d}
.profile-identity h2{font-size:25px;line-height:1.4;font-weight:600;letter-spacing:.2px;overflow-wrap:anywhere;min-width:0}
.profile-hero .profile-bio{margin:22px 0 17px;color:#ffffffed;font-size:14px;line-height:1.8;text-shadow:0 1px 5px #0002}
.profile-hero .profile-buttons{justify-content:flex-end;gap:9px;padding:0;margin-bottom:22px}
.profile-hero .profile-buttons button{background:#ffffff24;border:1px solid #ffffff6b;color:#fff;height:36px;padding:0 19px;backdrop-filter:blur(10px)}
.profile-hero .profile-buttons button:last-child{padding:8px;width:36px}
.profile-hero .profile-buttons img{filter:brightness(0) invert(1)}
.profile-hero .profile-links{gap:9px;margin:0;padding:0;border:0}
.profile-hero .profile-links button{background:#ffffff26;border:1px solid #ffffff12;border-radius:17px;padding:14px 4px 12px;gap:9px;backdrop-filter:blur(8px);font-size:14px;color:#fff}
.profile-hero .profile-links button>span{background:transparent;width:28px;height:28px;border-radius:0}
.profile-hero .profile-links img{filter:brightness(0) invert(1);width:25px;height:25px}
.profile-store{padding:22px 16px 24px;background:#f5f5f5}
.profile-store .store-heading{margin:0 4px 14px}
.profile-store .service-list{gap:12px}
.profile-store .service-card{display:grid;grid-template-columns:104px minmax(0,1fr);gap:13px;padding:13px;border-radius:17px;align-items:start}
.profile-store .service-image{width:104px;height:132px;border-radius:11px;object-fit:cover}
.profile-store .service-copy{padding:0;min-width:0;display:flex;flex-direction:column;min-height:132px}
.profile-store .service-copy h4{font-size:15px;line-height:1.45;margin:0 0 7px}
.profile-store .service-copy>p{font-size:12px;line-height:1.65;margin:0 0 8px;color:#868b93;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.profile-store .service-bottom{gap:4px;margin-top:auto;flex-wrap:wrap}
.profile-store .service-bottom>strong{font-size:21px;line-height:1.4}
.profile-store .service-bottom>div{display:flex;margin-left:auto}
.profile-store .service-bottom button{font-size:12px;min-height:32px;padding:0 6px}
@media(max-width:360px){.profile-hero .profile-content{padding:94px 16px 20px}.profile-identity h2{font-size:23px}.profile-hero .profile-links{gap:7px}.profile-store{padding-left:12px;padding-right:12px}.profile-store .service-card{grid-template-columns:90px minmax(0,1fr);padding:12px;gap:11px}.profile-store .service-image{width:90px;height:132px}}
/* Shared mini-app controls remain in the same place across every surface. */
.miniapp-controls{position:absolute;right:12px;top:49px;z-index:50;display:flex;align-items:center;gap:8px;height:34px}
.miniapp-controls>.capsule{display:flex!important;position:relative;gap:6px;padding:0 7px;background:#ffffffd9;border-color:#dfe1e5;backdrop-filter:blur(12px)}
.miniapp-controls>.capsule img{width:20px;height:20px}
.phone>header{padding-right:98px}.phone>header h1{max-width:calc(100% - 208px)}
.phone.secondary-page>header h1{max-width:calc(100% - 190px)}
.profile-top-actions{display:none;align-items:center;gap:2px}
.profile-mode:not(:has(dialog[open])) .profile-top-actions{display:flex}
.profile-top-actions .icon-button{width:36px;height:44px}
.profile-top-actions img{width:22px;height:22px;filter:brightness(0) invert(1)}
.profile-mode:not(:has(dialog[open])) .miniapp-controls>.capsule{background:#ffffff26;border-color:#ffffff70}
.profile-mode:not(:has(dialog[open])) .miniapp-controls>.capsule img{filter:brightness(0) invert(1)}
.profile-mode:not(:has(dialog[open])) .miniapp-controls>.capsule i{border-color:#ffffff70}
#inquiry-header-controls [data-header-more]{display:none}
.profile-detail .dialog-head{padding-left:52px;padding-right:98px}
.profile-detail .dialog-head h2{position:absolute;left:50%;transform:translateX(-50%);max-width:calc(100% - 192px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.new-task-dialog .dialog-head{padding-right:86px}
.phone:has(.voice-dialog[open]) .miniapp-controls{z-index:50}
.profile-hero .profile-bio{margin-bottom:23px}
.profile-store .service-image{height:auto;aspect-ratio:1/1}
.profile-store .service-copy{min-height:104px}
@media(max-width:360px){.phone>header{padding-right:94px}.miniapp-controls{right:10px}.profile-store .service-image{height:auto}.profile-store .service-copy{min-height:90px}}
/* Native file controls use a full touch target over an image preview. */
.profile-form .mobile-image-picker{position:relative;display:flex;flex-direction:column;gap:10px;cursor:pointer;align-items:flex-start}
.mobile-image-picker input[type=file]{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer;z-index:2}
.mobile-image-picker:focus-within .image-picker-preview{outline:2px solid #7286ff;outline-offset:4px}
.image-picker-label{font-size:14px;font-weight:500}
.image-picker-preview{display:block;position:relative;overflow:hidden;width:112px;aspect-ratio:1;border-radius:16px;background:#e7eaf0}
.image-picker-preview>img{width:100%;height:100%;object-fit:cover}
.image-picker-overlay{position:absolute;inset:auto 0 0;background:#0005;display:flex;gap:5px;justify-content:center;align-items:center;padding:7px 3px;color:#fff;font-size:12px}
.image-picker-overlay img{width:16px;height:16px;filter:brightness(0) invert(1)}
.image-picker-hint{font-size:12px;color:#8c929c;line-height:1.5}
.profile-form .avatar-picker{align-items:center;padding:8px 0 2px}
.avatar-picker .image-picker-label,.avatar-picker .image-picker-overlay{display:none}
.avatar-picker .image-picker-preview{width:88px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1px #e4e6ed}
.avatar-picker img.default-avatar{width:250%;height:auto;max-width:none;position:absolute;left:-75%;top:-38%}
.avatar-picker .image-picker-hint{color:#6b7de4;font-size:14px}
.cover-editor h3{font-size:14px;font-weight:500;margin:0 0 12px}
.cover-editor .image-picker-label{display:none}
.cover-editor .cover-picker{width:100%}
.cover-picker .image-picker-preview{width:100%;aspect-ratio:2.7;border-radius:14px}
.cover-picker .image-picker-preview>img{object-position:center 36%}
.cover-picker .image-picker-overlay{left:auto;bottom:9px;right:9px;border-radius:14px;padding:6px 10px}
.cover-picker .image-picker-hint{display:none}
.cover-presets-label{font-size:12px;color:#8c929c;margin:16px 0 10px}
.cover-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.cover-presets button{position:relative;padding:3px;border:2px solid transparent;border-radius:12px;text-align:center;min-width:0;background:#fff}
.cover-presets button>img{width:100%;height:62px;object-fit:cover;border-radius:7px}
.cover-presets button>span{display:block;padding:7px 0 4px;font-size:12px;color:#737b88}
.cover-presets button>i{display:none;position:absolute;right:5px;top:5px;width:18px;height:18px;border-radius:50%;background:#7286ff;color:white;font-size:12px;font-style:normal;line-height:18px}
.cover-presets [aria-pressed=true]{border-color:#7286ff;background:#eef0ff}
.cover-presets [aria-pressed=true]>i{display:block}
.profile-form .service-picker .image-picker-preview{width:120px}

/* Order list uses the same pill filters as the task list. */
.order-filters{position:static;display:flex;justify-content:space-between;gap:4px;overflow:visible;margin:0 0 16px;padding:8px 0;border:0;background:transparent}
.order-filters::-webkit-scrollbar{display:none}
.order-filters button{flex:0 1 auto;min-width:0;min-height:44px;padding:0 9px;border:0;border-radius:22px;background:#f5f5f5;font-size:13px;color:#242630}
.order-filters [aria-selected="true"]{background:#747dff;color:#fff;font-weight:500;border:0}
.profile-order-card{gap:0}
.profile-order-main{display:flex;flex-direction:column;gap:12px;width:100%;padding:0;text-align:left}
.profile-order-main>strong,.order-detail>strong{font-size:17px;line-height:1.45}
.order-field{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;width:100%;font-size:13px;line-height:1.5}
.order-field>span{flex:none;color:#858b95}
.order-field>b{font-size:13px;font-weight:500;text-align:right;min-width:0;overflow-wrap:anywhere}
.order-price{border-top:1px solid #f0f0f2;padding-top:12px;margin-top:2px}
.order-price>b{font-size:18px;color:#242630}
.profile-order-actions{display:flex;gap:10px;width:100%;margin-top:16px}
.profile-order-actions>a,.profile-order-actions>button{display:grid;place-items:center;flex:1;min-height:42px;border-radius:22px;text-decoration:none;font-size:14px;font-weight:500;background:#eef0ff;color:#6276ec}
.profile-order-actions>a{background:#7286ff;color:white}
.profile-order-actions>a[aria-disabled="true"]{pointer-events:none;opacity:.45}
.order-detail{gap:12px}

.profile-store .service-bottom>strong{white-space:nowrap}
.profile-store .service-bottom>strong em{font-size:12px;font-style:normal;font-weight:500;color:#7e89bf;margin-left:2px}
.profile-store .service-image-empty{display:grid;place-items:center;background:#e9ecf4;color:#959caa;font-size:12px}
.profile-form select{width:100%;min-height:50px;border:1px solid #e5e6e9;border-radius:12px;background:white;padding:0 14px;color:#333;font:inherit}
.service-image-row{display:flex;align-items:flex-end;gap:14px}
.service-image-row .mobile-image-picker{flex:none}
.service-image-row .image-picker-preview.is-empty{display:grid;place-items:center;background:#eef0f5;border:1px dashed #c8cedb}
.service-image-row .image-picker-preview.is-empty>img{display:none}
.service-image-row .image-picker-preview.is-empty .image-picker-overlay{position:static;background:transparent;color:#758099;flex-direction:column;gap:6px}
.service-image-row .image-picker-preview.is-empty .image-picker-overlay img{filter:invert(51%) sepia(13%) saturate(699%) hue-rotate(183deg)}
.service-ai-button{min-height:42px;padding:0 15px;border-radius:21px;background:#eef0ff;color:#6477ed;font-size:14px;font-weight:600;white-space:nowrap}
.service-price-entry{display:flex;align-items:center;background:white;border:1px solid #e5e6e9;border-radius:12px;overflow:hidden}
.profile-form .service-price-entry input{border:0;background:transparent;flex:1;min-width:0}
.service-price-entry>span{padding-right:15px;color:#868c98;font-size:14px;white-space:nowrap}

/* Publish service: compact mobile controls above one editable content card. */
.phone:has(#service-edit-form)>.statusbar{background:#fff}
.phone:has(#service-edit-form) .miniapp-controls{display:none}
#utility.profile-detail:has(#service-edit-form){background:#f5f6fb}
.profile-detail:has(#service-edit-form) .dialog-head{height:64px;min-height:64px;background:#fff}
.profile-detail:has(#service-edit-form) .dialog-head h2{font-size:18px;max-width:calc(100% - 96px)}
.profile-detail:has(#service-edit-form) #utility-body{padding:12px 12px max(16px,env(safe-area-inset-bottom))}
#service-edit-form{display:flex;flex-direction:column;gap:12px;min-height:100%}
.publish-details,.publish-content{background:#fff;border-radius:18px}
.publish-details{padding:12px 16px}
.publish-type-row,.publish-price-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;font-size:14px;font-weight:600}
.publish-type-row{border-bottom:1px solid #eef0f4}
.publish-type-options{display:flex;align-items:center;gap:8px}
.publish-type-options label{position:relative;cursor:pointer}
.publish-type-options input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.publish-type-options label>span{display:flex;align-items:center;justify-content:center;min-height:44px;padding:0 12px;border-radius:12px;background:#f5f6fa;color:#667087;font-size:13px;font-weight:500;white-space:nowrap}
.publish-type-options input:checked+span{background:#edf0ff;color:#546cfa;font-weight:600}
.publish-type-options input:focus-visible+span{outline:2px solid #546cfa;outline-offset:2px}
.publish-price-input{display:flex;align-items:center;gap:3px;min-width:0;font-weight:500}
.publish-price-input>b{font-size:16px;color:#ff4565;margin-right:38px}
#service-edit-form .publish-price-input input{width:72px;min-width:0;padding:0;border:0;border-radius:0;background:transparent;text-align:right;font-size:16px;font-weight:600;outline-offset:4px}
.publish-price-input input::placeholder{color:#c0c6d4;opacity:1}
.publish-price-input>[data-price-unit]{font-size:13px;color:#748099;white-space:nowrap}
.publish-content{position:relative;display:flex;flex-direction:column;min-height:360px;height:clamp(360px,47vh,390px);padding:16px;gap:0}
#service-edit-form .publish-image-picker{width:104px;flex:none;align-items:stretch}
#service-edit-form .publish-image-picker .image-picker-preview{width:104px;height:104px;aspect-ratio:auto;border-radius:12px}
#service-edit-form .publish-image-picker .image-picker-preview.is-empty{background:#fafbff;border:1px dashed #cdd5e5}
#service-edit-form .publish-image-picker .image-picker-preview.is-empty>img{display:none}
#service-edit-form .publish-image-picker .image-picker-preview.is-empty .image-picker-overlay{position:static;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;gap:8px;padding:0;background:transparent;color:#8491ac;font-size:12px;text-align:center}
#service-edit-form .publish-image-picker .image-picker-preview.is-empty .image-picker-overlay img{width:20px;height:20px;filter:invert(56%) sepia(16%) saturate(503%) hue-rotate(182deg)}
#service-edit-form .publish-image-picker .image-picker-overlay{font-size:11px}
#service-edit-form .publish-title{width:100%;min-height:52px;margin-top:16px;padding:0;border:0;border-radius:0;background:transparent;font-size:16px;font-weight:600}
#service-edit-form .publish-description{flex:1;width:100%;min-height:90px;padding:5px 0 0;border:0;border-radius:0;background:transparent;font-size:16px;line-height:1.7;resize:none}
#service-edit-form .publish-title::placeholder,#service-edit-form .publish-description::placeholder{color:#a3adbf;opacity:1}
.publish-content-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}
.publish-location{display:flex;align-items:center;gap:4px;min-width:0;max-width:66%;height:44px;padding:0 10px;border-radius:22px;background:#f5f6fa}
.publish-location img{width:15px;height:15px;flex:none;opacity:.55}
#service-edit-form .publish-location input{width:100%;min-width:0;padding:0;border:0;border-radius:0;background:transparent;font-size:16px}
.publish-location input::placeholder{color:#8995ad;opacity:1}
#service-edit-form .service-ai-button{display:flex;align-items:center;gap:5px;justify-content:center;min-height:44px;padding:0 12px;background:#eef0ff;border-radius:22px;font-size:14px}
.service-ai-button img{width:16px;height:16px;filter:invert(42%) sepia(62%) saturate(1909%) hue-rotate(207deg)}
#service-edit-form .publish-submit{min-height:50px;margin-top:auto;border-radius:25px;font-size:16px;font-weight:600}
@media(max-width:350px){.publish-details{padding:10px 12px}.publish-type-options{gap:4px}.publish-type-options label>span{padding:0 8px;font-size:12px}.publish-price-input>b{margin-right:12px}.publish-location{max-width:55%}}

/* Orders share the task list's pill tabs; extra states scroll horizontally. */
.order-filters{position:sticky;top:-12px;z-index:2;justify-content:flex-start;gap:8px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;touch-action:pan-x;scroll-snap-type:x proximity;margin:0 0 16px;padding:8px 0 12px;background:#f5f5f5}
.order-filters{width:calc(100% + 40px);margin-left:-20px;margin-right:-20px;padding-left:20px;padding-right:20px;scroll-padding-inline:20px}
@media(max-width:360px){.order-filters{width:calc(100% + 32px);margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px;scroll-padding-inline:16px}}
.order-filters button{flex:0 0 auto;min-width:76px;min-height:44px;padding:0 16px;border-radius:22px;background:#fff;font-size:14px;color:#242630;scroll-snap-align:start}
.order-filters [aria-selected="true"]{background:#747dff;color:#fff;font-weight:500}
.order-card-heading{justify-content:flex-end;min-height:20px}
.profile-order-main{gap:10px}
.order-field{display:flex;justify-content:flex-start;align-items:baseline;gap:0;line-height:1.6}
.order-field>span{color:#242630}
.order-field>b{font-weight:400;text-align:left;overflow-wrap:anywhere}
.profile-order-main>.order-price,.order-detail>.order-price{display:block;width:100%;margin-top:4px;padding-top:12px;border-top:1px solid #f0f0f2;color:#242630;font-size:18px;font-weight:600;text-align:right}
.profile-order-actions{justify-content:flex-end;gap:8px;margin-top:14px}
.profile-order-actions>a,.profile-order-actions>button{display:grid;place-items:center;flex:0 0 auto;min-width:86px;height:28px;min-height:28px;padding:0 12px;border:1px solid #7286ff;border-radius:14px;background:#fff;color:#6276ec;font-size:12px;font-weight:500}
.profile-order-actions>a{background:#fff;color:#6276ec}
.wallet-balance>span{display:block;text-align:center}
.wallet-balance>strong{text-align:center}

/* Storefront assets and final card hierarchy. */
.profile-store .store-heading>button{color:#7286ff}
.profile-store .store-heading>button img{filter:none}
.profile-store .service-bottom>strong,.profile-store .service-bottom>strong small,.profile-store .service-bottom>strong em{color:#ff4164}
.profile-store .service-bottom button,.profile-store .service-bottom button+button{color:#7b808b}

/* Order title/status share a line; the amount starts level with departure. */
.profile-order-main,.order-detail{gap:0}
.order-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;width:100%;margin-bottom:14px}
.order-title-row>strong{flex:1;min-width:0;font-size:16px;line-height:1.45;font-weight:600;overflow-wrap:anywhere}
.order-title-row>b{flex:none;color:#6276ec;font-size:13px;font-weight:500;line-height:1.6;white-space:nowrap}
.order-trip-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;width:100%}
.order-trip-fields{display:flex;flex-direction:column;gap:8px;min-width:0}
.order-trip-fields .order-field{width:auto;font-size:13px}
.order-trip-row>.order-price{margin:0;padding:0;border:0;font-size:18px;line-height:1.6;color:#242630;font-weight:600;white-space:nowrap;text-align:right}
.wallet-balance>div>p{text-align:center}

/* Shorten each vertically paged dashboard card by 32px. */
.review-page>.review-card{margin-bottom:32px}

/* Profile editor: compact photo choices and clean mobile inputs. */
.profile-store .service-copy h4{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}
#profile-edit-form>label:not(.avatar-picker) input,#profile-edit-form>label textarea{border:0}
#profile-edit-form>label:not(.avatar-picker) input:focus-visible,#profile-edit-form>label textarea:focus-visible{outline:2px solid #7286ff;outline-offset:2px}
#profile-edit-form .avatar-picker{padding-bottom:4px}
#profile-edit-form .avatar-camera{position:absolute;left:calc(50% + 16px);top:66px;display:grid;place-items:center;width:28px;height:28px;border:2px solid #f5f5f5;border-radius:50%;background:#7286ff;pointer-events:none}
#profile-edit-form .avatar-camera img{width:15px;height:15px;filter:brightness(0) invert(1)}
#profile-edit-form .cover-presets button{padding:3px 3px 4px}
#profile-edit-form .cover-presets button>img{height:72px}

/* Keep the mini-app chrome visible above full-screen pages and sheets. */
.phone>footer .home-indicator,#utility .home-indicator{visibility:hidden}
.system-home-indicator{position:absolute;left:50%;bottom:max(8px,env(safe-area-inset-bottom));z-index:60;transform:translateX(-50%);width:134px;height:5px;border-radius:4px;background:#111;pointer-events:none}
.phone:has(#service-edit-form)>.statusbar{background:#f5f5f5}
.phone:has(#service-edit-form) .miniapp-controls{display:flex}
.profile-detail:has(#service-edit-form) .dialog-head{background:#f5f5f5}
#service-edit-form .publish-title{font-size:18px}
#service-edit-form .publish-description{font-size:14px}
#service-edit-form .publish-location input{font-size:12px}

/* AI landing: center the prompt and dock compact recommendations above composer. */
.ai-mode #ai-page .ai-welcome{flex:1;min-height:0;display:grid;place-items:center;margin:0 20px;padding:0;text-align:center}
.ai-mode #ai-page .ai-welcome h2{font-size:22px;line-height:1.4}
.ai-mode #ai-page .ai-recommendations{flex:none;margin:0 20px 16px}
.ai-mode #ai-page .ai-recommendations h3{margin:0 0 10px;color:#858b99;font-size:13px;font-weight:400}

/* Conversation filters use the same scrolling pill treatment as order filters. */
#history-tabs:not([hidden])+#history-list{margin-top:0}
.history-type-tabs{z-index:2;display:flex;flex:none;gap:8px;width:calc(100% + 40px);margin:0 -20px 10px;padding:20px 20px 12px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;touch-action:pan-x;scroll-snap-type:x proximity;scroll-padding-inline:20px;background:#fafbfc;scrollbar-width:none}
.history-type-tabs::-webkit-scrollbar{display:none}
.history-type-tabs button{flex:0 0 auto;min-width:76px;min-height:44px;padding:0 16px;border-radius:22px;background:#fff;color:#242630;font-size:14px;white-space:nowrap;scroll-snap-align:start}
.history-type-tabs button[aria-selected="true"]{background:#747dff;color:#fff;font-weight:500}
.history-row-top{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.history-row-top strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;overflow-wrap:normal}
.history-type-tag{flex:none;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;padding:4px 7px;background:#eef0ff;color:#6479ed;font-size:11px;line-height:1.2;white-space:nowrap}
.history-list>.history-empty{margin-top:28px}
.ai-mode #ai-page .ai-prompt-list{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.ai-mode #ai-page .ai-prompt-list button{width:max-content;max-width:100%;min-height:40px;padding:10px 14px;border-radius:16px;background:#fff;font-size:14px;line-height:1.5;text-align:left;white-space:normal}

/* Keep each dashboard card intact; only the outer feed scrolls. */
.review-page{height:auto;min-height:100%}
.review-page>.review-card{--review-inset:22px;--review-heading:#dce0fc;--review-icon:#c4cbf3;flex:1 0 auto;min-height:min-content;padding:0 var(--review-inset) 18px;overflow:visible}
.review-card>.review-card-heading{margin:0 calc(-1 * var(--review-inset)) 16px;padding:14px var(--review-inset);min-height:70px;border-radius:24px 24px 0 0;background:var(--review-heading);color:#242630}
.review-card-heading h2{gap:12px;font-size:21px}
.review-card-heading img{box-sizing:content-box;width:24px;height:24px;padding:9px;border-radius:50%;background:var(--review-icon)}
.review-card-heading+.task-chart,.review-card-heading+.revenue-kpi,.review-card-heading+.business-kpis{margin-top:0}
.review-card>.review-shortcuts,.review-card:has(.business-kpis)>.review-shortcuts{margin:12px 0 0}
.review-card>.metric-split{margin-bottom:8px}
.review-swipe{margin-top:16px;margin-bottom:4px}
@media(max-width:370px){.review-page>.review-card{--review-inset:20px}}
@media(max-height:760px){
  .review-page{padding-top:16px}
  .review-page>.review-card{margin-bottom:16px;padding-bottom:16px}
  .review-card>.review-card-heading{min-height:64px;padding-top:12px;padding-bottom:12px;margin-bottom:14px}
  .review-card .review-donut{width:124px;height:124px}
  .review-card .chart-legend{gap:10px}
  .review-card>.review-advice{margin-top:12px}
}

/* Coordinated dashboard header colors: periwinkle, light blue, and light yellow. */
.review-page:nth-of-type(2)>.review-card{--review-heading:#d8eafb;--review-icon:#bdd8f2}
.review-page:nth-of-type(3)>.review-card{--review-heading:#faf0c9;--review-icon:#efdfa1}

/* Photo customer rows, request counts and personal-page utilities. */
.customer-list-row{gap:14px;padding:18px 16px;min-height:96px}
.customer-search{display:flex;align-items:center;gap:10px;width:100%;min-height:46px;padding:0 15px;margin:0 0 16px;border-radius:24px;background:#fff}
.customer-search-icon{position:relative;display:block;width:17px;height:17px;flex:none}
.customer-search-icon::before{content:'';position:absolute;top:1px;left:1px;width:10px;height:10px;border:1.8px solid #9298a5;border-radius:50%}
.customer-search-icon::after{content:'';position:absolute;left:12px;top:12px;width:6px;height:1.8px;border-radius:2px;background:#9298a5;transform:rotate(45deg);transform-origin:left center}
.customer-search input{width:100%;min-width:0;padding:12px 0;border:0;outline:0;background:transparent;color:#242630;font-size:14px}
.customer-search input::placeholder{color:#a0a5af}
.customer-search:focus-within{outline:2px solid #7286ff;outline-offset:1px}
.customer-search-empty{padding:38px 12px;color:#9298a5;font-size:14px;text-align:center}
.customer-photo{width:52px;height:52px;border-radius:50%;object-fit:cover;flex:none;background:#e9edf3}
.customer-row-copy{flex:1;min-width:0}
.customer-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.customer-tags>span{padding:4px 7px;border-radius:5px;background:#f0f2fa;color:#68738d;font-size:11px;line-height:1.4;font-weight:400}
.customer-row-end{display:flex;align-items:center;gap:8px;flex:none}
.customer-row-end img{width:14px;height:14px;opacity:.4}
.customer-request-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;background:#7286FF;color:white;border-radius:12px;font-size:11px;font-weight:600;line-height:1}
.customer-detail>.customer-photo{width:76px;height:76px;margin:0 auto 16px}
.customer-detail>.customer-tags{justify-content:center}
.customer-requests{padding:18px;text-align:left;background:white;border-radius:16px;margin:22px 0}
.customer-requests h3{display:flex;align-items:center;gap:8px;font-size:16px;margin:0 0 12px}
.customer-detail .customer-requests p{margin:12px 0;color:#5f6674;line-height:1.7}
.customer-requests button{margin-top:18px}

/* Customer detail and its conversation view share the profile sheet. */
.customer-chat-entry{display:none;position:absolute;right:92px;top:6px;width:40px;height:44px;z-index:2}
.profile-detail:has(.customer-detail) .customer-chat-entry{display:flex}
.customer-detail{padding:8px 0 28px;text-align:left}
.customer-request-card,.customer-profile-card{padding:20px;background:#fff;border-radius:18px}
.customer-request-card{margin-bottom:14px}
.customer-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.customer-card-heading h3,.customer-profile-card>h3{margin:0;font-size:17px;font-weight:600}
.customer-card-heading>span{font-size:12px;color:#6f7df0;white-space:nowrap}
.customer-request-card ul{margin:16px 0 0;padding-left:20px;color:#242630;font-size:14px;line-height:1.7}
.customer-request-card li+li{margin-top:8px}
.customer-detail .customer-request-card>p{margin:14px 0 0;color:#8a909b;font-size:14px;line-height:1.7}
.customer-request-action{display:flex;justify-content:center;align-items:center;gap:8px;width:100%;min-height:44px;margin-top:18px;border-radius:22px;background:#eef0ff;color:#6479ed;font-size:14px;font-weight:500}
.customer-profile-identity{display:flex;align-items:center;gap:12px;padding:18px 0 14px;border-bottom:1px solid #f0f1f4}
.customer-profile-identity .customer-photo{width:52px;height:52px}
.customer-profile-identity strong{font-size:17px;font-weight:600}
.customer-profile-card dl{margin:0}
.customer-profile-card dl>div{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;padding:13px 0;border-bottom:1px solid #f0f1f4;font-size:14px;line-height:1.5}
.customer-profile-card dl>div:last-child{border-bottom:0;padding-bottom:0}
.customer-profile-card dt{color:#858b95}
.customer-profile-card dd{min-width:0;margin:0;overflow-wrap:anywhere}
.customer-profile-card dd a{color:#6479ed;text-decoration:none}
.customer-profile-card dd .customer-tags{margin-top:0}
.customer-conversation{padding:8px 0 24px}
.customer-conversation-person{display:flex;align-items:center;gap:12px;margin-bottom:18px;padding:14px 16px;border-radius:16px;background:#fff}
.customer-conversation-person .customer-photo{width:44px;height:44px}
.customer-conversation-person strong{display:block;font-size:15px}
.customer-conversation-person small{display:block;margin-top:4px;color:#9298a3;font-size:12px}
.customer-conversation-feed{display:flex;flex-direction:column;gap:18px;padding:8px 0}
.customer-message{display:flex;flex-direction:column;align-items:flex-start;max-width:86%}
.customer-message.ai{align-self:flex-end;align-items:flex-end}
.customer-message p{margin:0;padding:12px 15px;border-radius:4px 16px 16px 16px;background:#fff;color:#242630;font-size:14px;font-weight:400;line-height:1.65;white-space:pre-line;overflow-wrap:anywhere}
.customer-message.ai p{border-radius:16px 4px 16px 16px;background:#e9ecff;color:#374371}
.customer-conversation-empty{margin:20px 0;color:#9298a3;text-align:center;font-size:14px}
.profile-settings{padding:0 16px;background:white;border-radius:16px}
.profile-settings .utility-row{display:flex;align-items:center;justify-content:space-between;min-height:64px;gap:12px}
.profile-settings .utility-row:last-child{border:0}
.profile-settings .utility-row>span:not(.settings-switch){font-size:13px;color:#9296a0}
.settings-switch{display:block;width:42px;height:26px;border-radius:20px;background:#dfe2e9;padding:3px;flex:none}
.settings-switch::after{content:'';display:block;width:20px;height:20px;border-radius:50%;background:white;transition:transform .15s}
[aria-checked=true]>.settings-switch{background:#7286ff}
[aria-checked=true]>.settings-switch::after{transform:translateX(16px)}
.ai-mode #ai-page .ai-welcome h2{width:fit-content;max-width:100%;margin-inline:auto;background:linear-gradient(to right,#4A64FF,#242630);background-clip:text;-webkit-background-clip:text;color:transparent}

/* Profile navigation and customer screens. */
.profile-hero .profile-links{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.profile-hero .profile-links button{min-width:0;padding-left:2px;padding-right:2px;font-size:12px}
.profile-settings-entry{display:none;position:absolute;left:12px;top:49px;z-index:50;width:36px;height:44px}
.profile-settings-entry img{width:22px;height:22px;filter:brightness(0) invert(1)}
.profile-mode:not(:has(dialog[open])) .profile-settings-entry{display:flex}
.customer-request-card{padding:0;border:3px solid #7286ff;border-radius:16px;overflow:hidden}
.customer-request-heading{display:flex;align-items:center;gap:8px;min-height:48px;padding:0 14px;background:#7286ff;color:#fff}
.customer-request-heading img{width:17px;height:17px;filter:brightness(0) invert(1)}
.customer-request-heading h3{margin:0;font-size:15px;font-weight:600}
.customer-detail .customer-request-card>p{margin:0;padding:16px;color:#242630;font-size:14px;line-height:1.65}
.customer-profile-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.customer-profile-heading h3{margin:0;font-size:17px;font-weight:600}
.customer-profile-heading button{min-height:36px;padding:0 10px;color:#6479ed;font-size:14px}
.customer-edit-form{gap:0}
.customer-edit-form>label{display:flex;flex-direction:column;gap:9px;margin-bottom:18px;font-size:14px}
.customer-edit-form input,.customer-edit-form select,.customer-edit-form textarea{width:100%;min-height:48px;padding:12px 14px;border:0;border-radius:12px;background:#fff;color:#242630;font:inherit;resize:vertical}
.customer-edit-form .profile-primary{margin-top:8px}
.customer-gender-field{display:flex;flex-direction:column;gap:9px;margin-bottom:18px;font-size:14px}
.customer-gender-field>button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:48px;padding:12px 14px;border:0;border-radius:12px;background:#fff;color:#242630;font:inherit;text-align:left}
.customer-gender-field>button>span:last-child{color:#858b95;font-size:20px;line-height:1}
.gender-sheet{position:absolute;inset:0;z-index:20;display:flex;align-items:flex-end}
.gender-sheet-backdrop{position:absolute;inset:0;width:100%;border:0;background:rgba(28,32,44,.42)}
.gender-sheet-panel{position:relative;width:100%;padding:18px 16px max(28px,env(safe-area-inset-bottom));border-radius:20px 20px 0 0;background:#f5f5f5;box-shadow:0 -8px 28px rgba(22,28,55,.12)}
.gender-sheet-head{display:flex;align-items:center;justify-content:space-between;padding:0 4px 16px;color:#242630;font-size:16px}
.gender-sheet-head>button{width:32px;height:32px;border:0;background:none;color:#858b95;font-size:26px;line-height:1}
.gender-sheet-options{overflow:hidden;border-radius:14px;background:#fff}
.gender-sheet-options>button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:52px;padding:0 18px;border:0;border-bottom:1px solid #f0f1f4;background:#fff;color:#242630;font:inherit;text-align:left}
.gender-sheet-options>button:last-child{border-bottom:0}
.gender-sheet-options>button[aria-checked=true]{color:#6479ed}
.gender-sheet-options>button>span{visibility:hidden;color:#6479ed}
.gender-sheet-options>button[aria-checked=true]>span{visibility:visible}
.gender-sheet-cancel{width:100%;min-height:52px;margin-top:10px;border:0;border-radius:14px;background:#fff;color:#242630;font:inherit}
.customer-conversation{padding-top:18px}
.customer-conversation-date{align-self:center;color:#a0a5af;font-size:12px}
.customer-message.guide{align-self:flex-end;align-items:flex-end}
.customer-message.guide p{border-radius:16px 4px 16px 16px;background:#e9ecff;color:#374371}
.system-notice-list{display:flex;flex-direction:column;gap:12px;padding-top:8px}
.system-notice-card{padding:18px 16px;border-radius:16px;background:#fff}
.system-notice-card>div{display:flex;align-items:center;justify-content:space-between;gap:10px}
.system-notice-card strong{font-size:15px;font-weight:600}
.system-notice-card time{font-size:12px;color:#979ca5;white-space:nowrap}
.system-notice-card p{margin:12px 0 0;color:#6f7580;font-size:14px;line-height:1.65}
.profile-logout-button{display:block;width:100%;min-height:52px;margin-top:20px;border-radius:16px;background:#fff;color:#dc5864;font-size:15px;font-weight:500}
.logout-confirm{padding:26px 2px;text-align:center}
.logout-confirm h3{margin:0;font-size:18px}
.logout-confirm p{margin:14px 0 30px;color:#858b95;font-size:14px;line-height:1.7}
.signed-out-screen{position:absolute;inset:0;z-index:100;display:grid;place-items:center;padding:28px;background:#f5f5f5;text-align:center}
.signed-out-screen>div{width:100%}
.signed-out-screen h2{font-size:24px}
.signed-out-screen p{margin:16px 0 34px;color:#858b95;font-size:14px}
.signed-out-screen button{width:100%;min-height:52px;border-radius:26px;background:#7286ff;color:#fff;font-size:16px}

/* Scroll-linked depth keeps the three review cards connected to the swipe. */
.review-feed{height:100%;overscroll-behavior-y:contain;touch-action:pan-y}
.review-mode footer{background:transparent}
.phone>header #sound[hidden]+.capsule{margin-left:auto}
.review-page{perspective:900px}
.review-page{padding-bottom:40px}
.review-page>.review-card{transform:translate3d(0,var(--review-shift,0px),0) scale(var(--review-scale,1));transform-origin:center 45%;opacity:var(--review-opacity,1);box-shadow:none;will-change:transform,opacity}
.review-swipe-fixed{position:absolute;left:0;right:0;bottom:0;z-index:2;display:grid;place-items:center;height:40px;margin:0;pointer-events:none;opacity:1;transition:opacity .1s ease}
.review-swipe-fixed.is-scrolling{opacity:0}
@media(prefers-reduced-motion:reduce){.review-page>.review-card{transform:none;opacity:1;will-change:auto}.review-swipe-fixed{transition:none}}
