/* Working application layer over the supplied light design. */
a{color:var(--brand);text-decoration:none}.brand-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.phone{max-width:480px}.scroll{padding-bottom:100px}.name{word-break:break-word}.app-head .icon-btn{color:var(--brand);background:var(--ui-blue-light)}.tabbar{overflow-x:auto;gap:2px;padding:6px 5px max(10px,env(safe-area-inset-bottom));scrollbar-width:none}.tabbar button{border:0;background:none;color:var(--muted);min-width:62px;flex:1;padding:7px 3px;font-size:10px;display:flex;flex-direction:column;align-items:center;gap:5px}.tabbar button svg{width:21px;height:21px}.tabbar button.active{color:var(--brand);background:var(--ui-blue-light);border-radius:10px}.field{margin:13px 0}.field label{display:block;margin-bottom:6px;color:var(--text);font-size:12px}.field input,.field select,.field textarea{width:100%;min-height:44px;border:1px solid var(--ui-input);border-radius:10px;padding:11px;font-size:16px;background:white;color:var(--text)}.field textarea{min-height:90px;resize:vertical}.field input[type=checkbox]{width:18px!important;height:18px!important;min-height:0}.checkline{display:flex!important;align-items:flex-start;gap:10px;font-size:13px!important}.btn{min-height:44px}.row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.row>*{flex:1}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.actions .btn{width:auto;flex:1}.error{background:var(--red-bg);color:#963940;border-radius:10px;padding:10px;margin:10px 0}.notice{padding:12px;background:var(--orange-bg);color:#805e2d;font-size:12px;line-height:1.6}.muted{color:var(--muted);font-size:12px}.empty{text-align:center;padding:30px 14px;color:var(--muted)}h1{font-size:23px;font-weight:600;margin:6px 0 12px}h2{font-size:18px;font-weight:500}h3{font-size:15px;margin-bottom:8px}.subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 0 14px}.subhead .btn{width:auto}.order{width:100%;text-align:left;color:inherit;font:inherit}.order p{margin:6px 0}.route-line{padding-left:14px;border-left:2px solid var(--brand);margin:12px 0}.status-pill{display:inline-block}.pagination{display:flex;justify-content:center;gap:12px;align-items:center;padding:12px}.pagination button{width:auto}dialog{margin:auto;width:calc(100% - 24px);max-width:470px;max-height:90dvh;overflow-y:auto;border:1px solid var(--border);border-radius:20px;padding:0;box-shadow:var(--shadow-lg);color:var(--text)}dialog::backdrop{background:#15253b77}dialog .sheet-head{position:sticky;top:0;background:white;z-index:1;padding:16px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border)}dialog .icon-btn{background:var(--ui-bg);border:0;border-radius:8px;width:34px;height:34px;font-size:24px}#modal-body{padding:16px}.city-results{max-height:180px;overflow-y:auto;border:1px solid var(--border);border-radius:8px}.city-results button{display:block;width:100%;text-align:left;padding:11px;border:0;border-bottom:1px solid var(--border);background:#fff;font:inherit}.city-selected{color:var(--green);margin-top:5px;font-size:12px}.steps{display:flex;gap:5px;margin:14px 0}.steps span{flex:1;height:4px;background:var(--border);border-radius:4px}.steps .done{background:var(--brand)}.photos{display:grid;grid-template-columns:1fr 1fr;gap:10px}.upload{border:1px dashed var(--ui-input);padding:12px;border-radius:12px;font-size:12px}.upload input{max-width:100%;font-size:12px;margin-top:8px}.upload img{width:100%;height:90px;object-fit:cover;border-radius:6px}.bubble{padding:12px 14px;border-radius:14px;background:var(--ui-blue-light);margin:10px 0 10px 24px;white-space:pre-wrap;overflow-wrap:anywhere}.bubble.staff{margin:10px 24px 10px 0;background:var(--bg)}.bubble small{display:block;color:var(--muted);margin-top:6px}.auth-hero{padding:24px 8px 20px}.auth-mark{display:grid;place-items:center;width:58px;height:58px;background:var(--ui-blue-light);color:var(--brand);border-radius:18px;margin-bottom:20px;font-size:28px}.auth-hero p{color:var(--muted);line-height:1.7}.login-foot{text-align:center;color:var(--muted);font-size:11px;margin-top:20px}.key-value{display:flex;justify-content:space-between;gap:20px;margin:10px 0}.key-value span:first-child{color:var(--muted)}#toast{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);padding:12px 18px;background:#233348;color:white;border-radius:12px;max-width:90%;z-index:1000;font-size:13px}.search{width:100%;padding:11px;border:1px solid var(--border);border-radius:10px;font-size:16px;margin-bottom:12px}.danger{color:#a84049}.tabbar[hidden]{display:none}.scroll:focus{outline:none}button{cursor:pointer}button:disabled{cursor:wait}.card form>.btn{margin-top:10px}.photo-link{font-size:12px;display:block;margin:7px 0}@media(display-mode:standalone){.phone{height:100dvh;max-height:none;margin:0;border:0;border-radius:0}.app-head{padding-top:max(16px,env(safe-area-inset-top))}}@media(max-width:479px){.phone{max-width:none;border:0;border-radius:0;margin:0;max-height:none}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

.tabbar button{min-width:0;font-size:9px;padding:8px 1px}.app-head .icon-btn{width:36px;height:36px;border:0;border-radius:10px;font-size:20px;font-weight:600;flex-shrink:0}
/* Registration follows the separate six-step light flow from the reference. */
.phone.registration-open>.app-head,.phone.registration-open>.tabbar{display:none!important}
.phone.registration-open>.scroll{display:flex;min-height:0;padding:0;overflow:hidden}
.registration{position:relative;inset:auto;width:100%;min-height:0;flex:1}
.registration .reg-top,.registration .reg-foot{flex-shrink:0}
.registration .reg-body{min-height:0}
.registration .reg-title{margin-bottom:0}
.registration .reg-field input[readonly]{background:#f1f5f9;color:#64748b}
.registration .reg-divider{border:0;border-top:1px solid #e6e9f2;margin:16px 0 12px}
.registration .reg-accuracy{margin-top:12px}
.registration .reg-exit{display:block;margin:14px auto 0;text-align:center;padding:10px}
.registration .reg-upload .photo-status{display:block;font-size:11px;color:var(--green);margin-top:6px}
.registration .reg-photo-tile:focus-within{outline:3px solid #9acbfc;outline-offset:2px}
.registration .reg-photo-tile.uploaded img[hidden]{display:none}
.registration .reg-photo-tile.uploaded:has(img[hidden]) .photo-placeholder{display:flex}
.registration .reg-photo-tile .ui-icon{width:32px;height:32px}
.registration .reg-checkbox input{flex-shrink:0}
.registration .setup-label{cursor:pointer}
@media(display-mode:standalone){.registration .reg-top{padding-top:max(17px,env(safe-area-inset-top))}}

.brand-row .support-fab{position:static;flex-shrink:0}
