:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#0f172a;background:#f8fafc;color-scheme:light;--surface: #f8fafc;--surface-card: #fff;--surface-muted: #eff6ff;--surface-container: #e5eeff;--surface-high: #dce9ff;--text: #0f172a;--text-muted: #475569;--text-subtle: #64748b;--border: #e2e8f0;--border-input: #cbd5e1;--accent: #2563eb;--accent-strong: #1d4ed8;--accent-soft: #eff6ff;--danger: #dc2626;--danger-soft: #fef2f2;--success: #059669;--success-soft: #ecfdf5;--warning: #d97706;--warning-soft: #fffbeb;--radius: 8px;--radius-lg: 16px;--shadow-card: 0 1px 3px rgba(15, 23, 42, .05)}*{box-sizing:border-box}html,body{margin:0;min-height:100%}body{background:var(--tg-theme-bg-color, var(--surface));color:var(--tg-theme-text-color, var(--text))}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}main{width:100%;max-width:760px;min-height:100vh;margin:0 auto;padding:calc(18px + env(safe-area-inset-top,0px)) 16px calc(92px + env(safe-area-inset-bottom,0px))}h1{margin:8px 0 24px;font-size:28px;line-height:36px;font-weight:700;letter-spacing:-.02em}h2{margin:0;font-size:20px;line-height:28px;font-weight:600}p{line-height:20px}.topbar{display:flex;align-items:center;min-height:44px;margin:-2px 0 2px}.back{min-height:44px;padding:8px 8px 8px 0;color:var(--accent);border:0;background:transparent;font-size:14px;font-weight:500}.back:hover{color:var(--accent-strong)}.profile,.success-card,.empty{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--tg-theme-secondary-bg-color, var(--surface-card));box-shadow:var(--shadow-card)}.profile{display:flex;align-items:center;gap:14px;padding:16px;margin-bottom:20px}.profile strong{display:block;font-size:16px;line-height:24px;font-weight:600}.avatar{width:56px;height:56px;flex:0 0 auto;border-radius:999px;object-fit:cover;background:#dbeafe}.muted{color:var(--tg-theme-hint-color, var(--text-muted));font-size:13px;line-height:18px}.module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.module-tile{display:flex;min-height:148px;aspect-ratio:1;align-items:center;justify-content:center;gap:10px;flex-direction:column;padding:16px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface-card);color:var(--text);box-shadow:var(--shadow-card);font-size:14px;font-weight:600;transition:border-color .15s,background .15s,transform .15s}.module-tile:hover{border-color:#bfdbfe;background:var(--accent-soft)}.module-tile:active{transform:scale(.98)}.module-icon{width:44px;height:44px;object-fit:contain;font-size:42px}.field{margin:0 0 16px}.field label{display:block;margin-bottom:6px;color:var(--text-muted);font-size:12px;line-height:16px;font-weight:500}.required{color:var(--danger)}input,select{width:100%;height:44px;padding:0 12px;border:1px solid var(--border-input);border-radius:var(--radius);background:var(--surface-card);color:var(--text);font-size:14px;transition:border-color .15s,box-shadow .15s,background .15s}input::placeholder{color:#94a3b8}input:focus,select:focus{outline:0;border-color:var(--accent);box-shadow:0 0 0 2px #2563eb33}input[aria-invalid=true],select[aria-invalid=true]{border-color:var(--danger);box-shadow:0 0 0 2px #dc26261f}.grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}form#logForm{display:flex;flex-direction:column;gap:0}.actions{position:fixed;z-index:10;right:0;bottom:0;left:0;padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--border);background:#f8fafcf0;box-shadow:0 -4px 16px #0f172a0f;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.actions button,.primary{width:100%;min-height:44px;padding:0 16px;border:0;border-radius:var(--radius);background:var(--accent);color:#fff;font-size:14px;line-height:20px;font-weight:600;transition:background .15s,transform .15s,opacity .15s}.actions button:hover,.primary:hover{background:var(--accent-strong)}.actions button:active,.primary:active{transform:scale(.98)}.actions button:disabled,.primary:disabled{background:#94a3b8;opacity:.8}.secondary{margin-top:10px;border:1px solid var(--border);background:var(--surface-card);color:var(--text)}.secondary:hover{background:var(--surface)}.warning,.error{margin:8px 0 16px;color:var(--danger);font-size:12px;line-height:16px}.error{padding:10px 12px;border-radius:var(--radius);background:var(--danger-soft)}.empty{padding:24px 16px;text-align:center}.success-card{margin-bottom:16px;padding:28px 18px;text-align:center}.success-icon{display:grid;width:56px;height:56px;margin:0 auto 12px;place-items:center;border-radius:999px;background:var(--success-soft);color:var(--success);font-size:32px;font-weight:700}.success-card h2{margin:0 0 8px}.success-card p{margin:6px 0;color:var(--text-muted);font-size:14px}.success-card .small{color:var(--text-subtle);font-size:12px}.skeleton{height:14px;margin:12px 0;border-radius:8px;background:var(--surface-container);animation:pulse 1.2s infinite}@keyframes pulse{50%{opacity:.45}}.app-header{position:sticky;top:0;z-index:20;display:flex;align-items:center;min-height:56px;margin:-18px -16px 16px;padding:env(safe-area-inset-top,0px) 16px 0;border-bottom:1px solid rgba(226,232,240,.8);background:#f8fafce0;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.section-card{margin-bottom:12px;padding:16px;border:1px solid var(--border);border-radius:12px;background:var(--surface-card);box-shadow:var(--shadow-card)}.section-card>.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid #f1f5f9}.badge,.chip{display:inline-flex;align-items:center;min-height:24px;padding:0 10px;border-radius:999px;background:var(--accent-soft);color:var(--accent-strong);font-size:11px;line-height:14px;font-weight:600}.badge.success,.chip.success{background:var(--success-soft);color:#047857}.badge.warning,.chip.warning{background:var(--warning-soft);color:#b45309}@media(min-width:640px){main{max-width:960px;padding-right:32px;padding-left:32px}.module-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.module-tile{min-height:160px}.actions{left:50%;width:min(896px,100%);transform:translate(-50%);padding-right:32px;padding-left:32px}}@media(max-width:380px){.grid{grid-template-columns:1fr;gap:0}}.material-symbols-outlined{font-size:20px;vertical-align:middle}.page-shell{padding-top:0}.app-header{margin:calc(-18px - env(safe-area-inset-top,0px)) -16px 16px;height:72px;padding:env(safe-area-inset-top,0px) 16px 0;position:sticky;top:0}.app-header img{width:34px;height:34px;object-fit:contain}.close-app{border:0;background:transparent;color:var(--accent);font-size:16px;min-width:56px}.brand{display:flex;align-items:center;gap:8px;min-width:0;flex:1}.brand-name{font-size:18px;font-weight:700;white-space:nowrap}.brand-subtitle{font-size:13px;color:var(--text-muted)}.version,.log-badge,.staff-badge{display:inline-flex;padding:2px 8px;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-size:12px;font-weight:600}.header-tools{display:flex;align-items:center;gap:12px;color:var(--text-muted)}.header-avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:#fff}.bottom-nav{position:fixed;z-index:30;right:0;bottom:0;left:0;height:70px;padding:6px 8px calc(6px + env(safe-area-inset-bottom,0px));display:flex;justify-content:space-around;background:#f8fafcf5;border-top:1px solid var(--border);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.nav-item{border:0;background:transparent;color:var(--text-muted);font-size:11px;font-weight:600;display:flex;flex-direction:column;align-items:center;gap:2px;min-width:56px}.nav-item .material-symbols-outlined{font-size:23px}.org-row,.welcome,.section-heading,.form-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.org-row{margin:4px 0 20px}.org-pill,.context-pill,.status-pill,.secure-chip{background:#dbeafe;color:#1d4ed8;border-radius:999px;padding:7px 12px;font-size:13px;font-weight:600}.sso-label{color:var(--text-muted);font-weight:600}.welcome h1{margin:0 0 4px}.welcome p,.form-title p{margin:0;color:var(--text-muted);font-size:18px}.small-logo{width:48px;height:48px;object-fit:contain}.user-card,.identity-card,.bind-card,.form-card,.error-card,.success-detail,.help-card,.session-card{border:1px solid var(--border);border-radius:16px;background:#fff;box-shadow:var(--shadow-card)}.user-card{display:flex;align-items:center;gap:14px;padding:18px;margin:26px 0 34px;border-top:5px solid var(--accent)}.user-avatar,.identity-avatar{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:#dbeafe;color:#0757c9;font-size:22px;font-weight:700;overflow:hidden}.user-meta strong,.user-meta span{display:block}.user-meta span{color:var(--text-muted);font-size:14px}.staff-badge{margin-left:4px}.access{display:flex;flex-direction:column;align-items:flex-end}.access strong{color:var(--text)}.section-heading{margin-bottom:14px}.section-heading h2{font-size:28px}.section-heading h2 span{font-size:13px;padding:6px 10px;background:#dbeafe;color:#1d4ed8;border-radius:999px;vertical-align:middle}.module-tile{position:relative;align-items:flex-start;justify-content:flex-end;text-align:left;min-height:220px;padding:24px}.tile-icon{position:absolute;top:24px;left:24px;width:48px;height:48px;display:grid;place-items:center;border-radius:12px;background:#dbeafe;color:#0757c9}.tile-icon .material-symbols-outlined{font-size:29px}.tile-title{font-size:23px;line-height:1.15}.tile-title .material-symbols-outlined{float:right;margin-left:8px}.module-tile small{font-size:16px;color:var(--text-muted);font-weight:400}.module-tile b{position:absolute;top:24px;right:16px;color:#1d4ed8;background:#dbeafe;padding:6px 9px;border-radius:999px;font-size:12px}.module-tile.disabled{opacity:.6}.module-tile.disabled b{color:var(--text-muted);background:#e5eeff}.session-card{display:flex;gap:12px;padding:20px;margin-top:34px;background:#eff4ff;border:0;color:var(--accent)}.session-card strong,.session-card p{color:var(--text)}.session-card p{margin:4px 0 0}.identity-card{display:flex;align-items:center;gap:12px;padding:18px;margin-bottom:24px;background:#eff4ff;border:0}.identity-card strong,.identity-card small{display:block}.identity-card small{color:var(--text-muted)}.bind-card{padding:28px 24px;text-align:center}.workspace-logo{width:96px;height:96px;margin:0 auto 12px;padding:10px;border-radius:18px;background:#e5eeff}.workspace-logo img{width:100%;height:100%;object-fit:contain}.eyebrow{color:var(--accent);font-weight:600;letter-spacing:.08em}.bind-card h1{margin:8px 0}.lead{font-size:18px;margin:0 0 4px}.bind-card form{text-align:left;margin-top:28px}.label-row{display:flex;justify-content:space-between;align-items:center}.input-wrap{position:relative}.input-wrap>.material-symbols-outlined{position:absolute;left:12px;top:12px;color:var(--text-muted)}.input-wrap input{padding-left:40px;background:#eff4ff}.code-input button{position:absolute;right:8px;top:8px;border:0;background:transparent;color:var(--text-muted)}.bind-card .primary{margin-top:14px}.error-message{padding:10px 12px;border-radius:8px;background:var(--danger-soft);color:var(--danger);font-size:13px}.form-top{margin-bottom:6px}.form-title h1{margin:0 0 4px}.form-title{margin-bottom:18px}.form-card{padding:16px;margin-bottom:14px}.form-card header{display:flex;align-items:center;gap:9px;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid #f1f5f9;color:var(--accent)}.form-card header h2{color:var(--text);flex:1}.form-card header>span{background:#dbeafe;border-radius:999px;padding:5px 9px;font-size:12px}.form-card .field{margin-bottom:13px}.telematics,.distance,.audit-note{padding:11px;border-radius:9px;background:#eff4ff;color:var(--text-muted);font-size:13px}.telematics b{float:right;color:#087da9}.distance{display:flex;justify-content:space-between;color:var(--text)}.distance strong{color:var(--accent);font-size:16px}.audit-note{display:flex;gap:8px;margin:4px 0 96px}.form-actions{display:flex;gap:10px}.form-actions .secondary{margin-top:0;flex:0 0 26%}.form-actions .primary{flex:1}.actions{display:flex;gap:10px;align-items:center}.actions .secondary{width:28%;margin-top:0}.actions .primary{flex:1}.success-view{text-align:center;padding:36px 10px}.success-view .success-icon{color:var(--success);background:var(--success-soft)}.success-view h1{margin:12px 0 6px}.success-detail{text-align:left;margin:24px 0;padding:4px 16px}.success-detail div{display:flex;justify-content:space-between;padding:14px 0;border-bottom:1px solid #f1f5f9}.success-detail div:last-child{border:0}.ghost-button{border:0;background:transparent;color:var(--text-muted);padding:14px}.loading-view{text-align:center;padding:60px 18px}.loading-logo{width:96px;height:96px;margin:0 auto 20px;padding:14px;border-radius:22px;background:#e5eeff}.loading-logo img{width:100%;height:100%;object-fit:contain}.progress{height:6px;background:#dbeafe;border-radius:9px;overflow:hidden;margin:22px 0}.progress span{display:block;width:60%;height:100%;background:var(--accent);animation:loading 1.4s infinite}@keyframes loading{50%{width:90%}}.check-list{display:grid;gap:10px;text-align:left;color:var(--text-muted);font-size:14px}.check-list div{display:flex;gap:8px}.check-list .material-symbols-outlined{color:var(--accent);font-size:18px}.error-heading{text-align:center}.error-heading p{color:var(--text-muted);font-size:17px}.error-card{text-align:center;padding:30px 20px;margin:26px 0}.error-symbol{color:var(--danger);font-size:44px}.danger-pill,.error-pill{background:#fee2e2;color:#b91c1c}.error-card h2{margin:14px 0 6px}.error-card .secondary{width:100%;margin-top:10px}.help-card{display:flex;gap:12px;padding:18px;background:#dbeafe;border:0}.help-card>.material-symbols-outlined{color:var(--accent);font-size:28px}.help-card p{margin:4px 0 0;color:var(--text-muted)}@media(max-width:600px){.brand-name{font-size:16px}.header-tools{gap:7px}.header-tools>.material-symbols-outlined{display:none}.section-heading h2{font-size:24px}.tile-title{font-size:20px}.user-card{align-items:flex-start}.access{display:none}.form-actions{position:fixed;z-index:25;bottom:70px;left:0;right:0;padding:10px 16px;background:#f8fafcf5;border-top:1px solid var(--border);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.actions{position:fixed;z-index:25;bottom:70px;left:0;right:0;padding:10px 16px;background:#f8fafcf5;border-top:1px solid var(--border)}}.material-symbols-outlined{display:inline-flex;align-items:center;justify-content:center;font-size:20px;line-height:1}.app-header{width:100%;max-width:960px;margin:0 auto;padding:env(safe-area-inset-top,0px) 16px 0}main.page-shell{max-width:960px;min-height:calc(100vh - 56px);margin:0 auto;padding:18px 16px 104px}.brand{display:flex;align-items:center;gap:9px;min-width:0;flex:1}.brand img{width:34px;height:34px;object-fit:contain}.brand-name{font-size:16px;line-height:20px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.brand-subtitle{color:var(--text-muted);font-size:12px;line-height:16px}.version,.staff-badge,.log-badge{display:inline-flex;align-items:center;padding:2px 7px;border-radius:999px;background:var(--accent-soft);color:var(--accent-strong);font-size:11px;line-height:16px;font-weight:600}.header-tools{display:flex;align-items:center;gap:10px;color:var(--text-subtle)}.header-avatar{display:inline-flex;width:34px;height:34px;align-items:center;justify-content:center;border-radius:999px;background:var(--accent);color:#fff}.close-app{min-height:44px;border:0;background:transparent;color:var(--accent);font-weight:500}.bottom-nav{position:fixed;z-index:15;right:0;bottom:0;left:0;display:flex;justify-content:space-around;padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--border);background:#f8fafcf2;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.nav-item{display:flex;min-width:56px;min-height:44px;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:0;background:transparent;color:var(--text-muted);font-size:11px;font-weight:600}.nav-item.active{color:var(--accent)}.org-row,.form-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.org-pill,.context-pill,.status-pill{display:inline-flex;align-items:center;min-height:24px;padding:3px 10px;border-radius:999px;background:var(--accent-soft);color:var(--accent-strong);font-size:12px;font-weight:600}.sso-label{color:var(--text-muted);font-size:13px;font-weight:600}.welcome,.section-heading,.user-card{display:flex;align-items:center;justify-content:space-between}.welcome{margin-bottom:20px}.welcome h1,.form-title h1{margin:0 0 4px}.welcome p,.form-title p{margin:0;color:var(--text-muted);font-size:16px}.small-logo{width:54px;height:54px;padding:8px;border-radius:12px;background:#fff;object-fit:contain;box-shadow:var(--shadow-card)}.user-card{position:relative;gap:12px;padding:18px 16px;margin-bottom:28px;border:1px solid var(--border);border-top:5px solid var(--accent);border-radius:16px;background:#fff;box-shadow:var(--shadow-card)}.user-avatar,.identity-avatar{display:grid;width:56px;height:56px;flex:0 0 auto;place-items:center;border-radius:999px;background:#dbeafe;color:var(--accent);font-size:22px;font-weight:600;overflow:hidden}.user-avatar img{width:100%;height:100%;object-fit:cover}.user-meta{flex:1}.user-meta strong{display:block;font-size:17px}.user-meta>span{color:var(--text-muted);font-size:14px}.access{display:flex;flex-direction:column;gap:2px;text-align:right}.access small{color:var(--text-muted)}.access strong{color:var(--text);font-size:14px}.section-heading{margin-bottom:12px}.section-heading h2{font-size:22px}.section-heading h2>span{vertical-align:middle}.module-tile{position:relative;align-items:flex-start;justify-content:flex-start;text-align:left}.module-tile .tile-icon,.module-icon-wrap{display:grid;width:50px;height:50px;place-items:center;border-radius:12px;background:#e5eeff;color:var(--accent)}.module-tile .tile-title{display:flex;align-items:center;gap:8px;font-size:18px}.module-tile small{color:var(--text-muted);font-size:13px;line-height:18px}.module-tile b{position:absolute;top:16px;right:12px;color:var(--accent);font-size:11px}.module-tile.disabled{opacity:.62;cursor:default}.module-tile.disabled b{color:var(--text-muted)}.session-card,.identity-card,.help-card,.audit-note{display:flex;align-items:flex-start;gap:12px;padding:16px;margin-top:20px;border-radius:16px;background:var(--accent-soft);color:var(--accent-strong)}.session-card p,.help-card p{margin:4px 0 0;color:var(--text-muted)}.session-card strong,.help-card strong{color:var(--text)}.identity-card{margin:0 0 20px;background:var(--surface-muted);color:var(--text)}.identity-card>div:nth-child(2){flex:1}.identity-card small{display:block;color:var(--text-muted)}.identity-card strong{display:block;font-size:16px}.secure-chip{display:inline-flex;align-items:center;gap:3px;padding:5px 10px;border-radius:999px;background:#dbeafe;color:var(--accent-strong);font-size:12px;font-weight:600}.bind-card{max-width:600px;margin:0 auto;padding:28px 22px;border:1px solid var(--border);border-radius:16px;background:#fff;box-shadow:var(--shadow-card);text-align:center}.workspace-logo{display:grid;width:72px;height:72px;margin:0 auto 12px;place-items:center;border-radius:16px;background:#e5eeff}.workspace-logo img{width:58px;height:58px;object-fit:contain}.eyebrow{margin:0 0 4px;color:var(--accent-strong);font-size:13px;letter-spacing:.05em;font-weight:600}.bind-card h1{margin:0 0 8px}.bind-card .lead{margin:0;font-size:18px}.bind-card form{margin-top:28px;text-align:left}.label-row{display:flex;justify-content:space-between}.label-row small,.field-hint{color:var(--text-muted)}.input-wrap{position:relative;display:flex;align-items:center}.input-wrap>.material-symbols-outlined{position:absolute;left:12px;color:var(--text-muted)}.input-wrap input{padding-left:40px}.input-wrap button{position:absolute;right:8px;border:0;background:transparent;color:var(--text-muted)}.bind-card .field>small{display:block;margin-top:7px;color:var(--text-muted)}.form-card{margin:0 0 12px;padding:16px;border:1px solid var(--border);border-radius:12px;background:#fff;box-shadow:var(--shadow-card)}.form-card>header{display:flex;align-items:center;gap:8px;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid #f1f5f9;color:var(--accent)}.form-card>header h2{color:var(--text);font-size:16px}.form-card>header span:last-child{margin-left:auto;padding:3px 8px;border-radius:999px;background:var(--surface-container);color:var(--accent-strong);font-size:11px}.telematics,.distance{display:flex;align-items:center;justify-content:space-between;padding:10px;border-radius:8px;background:var(--surface-muted);color:var(--success);font-size:12px}.telematics span,.distance strong{color:var(--text-muted)}.telematics b{color:var(--success)}.audit-note{margin:8px 0 16px;padding:12px;border-radius:8px;font-size:12px}.error-card,.help-card{margin-bottom:12px}.error-state{max-width:600px;margin:30px auto}.error-symbol{color:var(--danger);font-size:36px}.error-pill,.danger-pill{background:var(--danger-soft);color:var(--danger)}.success-pill{background:var(--success-soft);color:var(--success)}.success-view{max-width:600px;margin:32px auto;text-align:center}.success-view>h1{margin-bottom:4px}.success-view>p{margin-top:0;color:var(--text-muted)}.success-detail{display:grid;gap:10px;margin:24px 0;padding:16px;border:1px solid var(--border);border-radius:12px;background:#fff;text-align:left}.success-detail div{display:flex;justify-content:space-between;gap:12px}.success-detail small{color:var(--text-muted)}.ghost-button{min-height:44px;border:0;background:transparent;color:var(--text-muted)}@media(min-width:640px){.app-header{padding-right:32px;padding-left:32px}main.page-shell{padding-right:32px;padding-left:32px}.bottom-nav{padding-right:32px;padding-left:32px}}@media(max-width:500px){.access{display:none}.user-card{align-items:flex-start}.form-card>header h2{font-size:15px}}.actions{bottom:70px}@media(max-width:479px){main.page-shell{padding-right:12px;padding-left:12px;padding-bottom:152px;overflow-x:hidden}.app-header{min-width:0;padding-right:10px;padding-left:10px;gap:4px}.close-app{min-width:48px;padding:0 2px;font-size:14px}.brand{gap:5px;min-width:0}.brand img{width:28px;height:28px}.brand-name{max-width:118px;font-size:14px}.brand-subtitle{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.header-tools{gap:4px;flex:0 0 auto}.header-tools>.material-symbols-outlined{display:none}.header-avatar{width:32px;height:32px}.org-row{align-items:flex-start}.org-pill{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sso-label{display:none}.welcome p,.form-title p{font-size:14px}.small-logo{width:44px;height:44px}.user-card{padding:14px 12px;margin-bottom:22px}.user-meta{min-width:0;overflow:hidden}.user-meta strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.module-grid{grid-template-columns:1fr;gap:10px}.module-tile{min-height:170px;aspect-ratio:auto;padding:18px}.module-tile .tile-icon{top:18px;left:18px}.module-tile b{top:18px;right:12px}.tile-title{max-width:100%;font-size:19px}.module-tile small{max-width:100%}.identity-card{align-items:flex-start;padding:14px 12px}.identity-card>div:nth-child(2){min-width:0;overflow:hidden}.identity-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.secure-chip{display:none}.bind-card{padding:22px 14px}.bind-card .lead{font-size:16px}.label-row{gap:8px}.label-row small{white-space:nowrap;font-size:11px}.form-top{gap:6px}.context-pill{white-space:nowrap;font-size:11px;padding:4px 8px}.form-title h1{font-size:23px;line-height:30px}.log-badge{font-size:10px;padding:2px 5px}.form-card{padding:12px}.form-card>header{gap:6px}.form-card>header h2{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.form-card>header span:last-child{flex:0 0 auto;font-size:10px;padding:3px 6px}.telematics{align-items:flex-start;flex-wrap:wrap;gap:4px 8px}.telematics b{margin-left:auto}.grid{grid-template-columns:1fr;gap:0}.field{margin-bottom:12px}.field label{font-size:12px}.actions{bottom:70px;padding:8px 12px;gap:8px}.actions .secondary{width:27%;padding:0 8px;font-size:13px}.actions .primary{min-width:0;padding:0 8px;font-size:13px}.bottom-nav{padding-right:2px;padding-left:2px}.nav-item{min-width:0;flex:1;font-size:10px}.nav-item .material-symbols-outlined{font-size:21px}.error-heading h1{font-size:24px;line-height:31px}.error-heading p{font-size:15px}}@media(max-width:340px){.brand-name{max-width:94px}.brand-subtitle{max-width:100px}.form-title h1{font-size:21px}.form-title .log-badge{display:block;width:fit-content;margin-top:3px}.actions .secondary{width:24%}.actions .primary{font-size:12px}}.actions .primary,.actions .secondary{width:auto;min-width:0}.actions .primary{flex:1 1 auto}.actions .secondary{flex:0 0 auto}.user-meta>span{display:flex;align-items:center;gap:4px;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.user-meta>span .material-symbols-outlined{flex:0 0 auto}.module-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.module-tile{min-width:0;min-height:0;aspect-ratio:1 / 1;align-items:center;justify-content:center;padding:6px;border-radius:12px;text-align:center;gap:5px}.module-tile .tile-icon{position:static;width:32px;height:32px;border-radius:8px;flex:0 0 auto}.module-tile .tile-icon .material-symbols-outlined{font-size:26px}.module-tile .tile-title{display:block;max-width:100%;font-size:13px;line-height:17px;white-space:normal;overflow-wrap:anywhere}.module-tile small,.module-tile b{display:none}@media(max-width:380px){.module-tile{padding:5px;gap:4px}.module-tile .tile-icon{width:28px;height:28px}.module-tile .tile-icon .material-symbols-outlined{font-size:24px}.module-tile .tile-title{font-size:12px;line-height:15px}}main.page-shell{padding-top:8px}.user-card{margin-top:0;border-top-width:2px}@media(max-width:479px){main.page-shell{padding-top:4px}}.distance>span{color:var(--text)}.field-error{margin:-4px 0 12px;color:var(--danger);font-size:12px;line-height:16px}input[aria-invalid=true]{border-color:var(--danger);box-shadow:0 0 0 2px #dc26261f}.app-header{gap:8px}.app-header .brand>div{min-width:0}.app-header .close-app{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;min-width:44px;height:44px;padding:0;border-radius:12px;color:var(--text-muted)}.app-header .close-app svg{display:block;flex:0 0 24px}.app-header .close-app:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.app-header .close-app:active{background:var(--surface-container)}@media(hover:hover){.app-header .close-app:hover{background:var(--surface-muted);color:var(--accent)}}.trip-fields,.timing-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}.trip-fields>.field,.timing-fields>.field{display:flex;flex-direction:column;min-width:0;margin:0}.trip-fields label,.timing-fields label{flex:1;overflow-wrap:anywhere}.trip-fields input,.timing-fields input{min-width:0;max-width:100%;padding-inline:8px}.timing-fields{margin-bottom:12px}.distance.itinerary{display:grid;grid-template-columns:auto auto minmax(0,1fr) 44px;gap:6px;padding:6px 8px 6px 12px}.itinerary>strong{white-space:nowrap;font-variant-numeric:tabular-nums}.camera-button{display:grid;place-items:center;width:44px;height:44px;border:1px solid #bfdbfe;border-radius:10px;background:var(--surface-card);color:var(--accent);align-content:center;gap:2px}.camera-button svg{width:20px;height:20px}.camera-button>span{font-size:10px;line-height:12px;font-variant-numeric:tabular-nums}.camera-button:disabled{opacity:.5}.photo-strip{display:flex;min-width:0;height:44px;overflow-x:auto;align-items:center;justify-content:flex-start;gap:2px;scrollbar-width:none}.photo-strip::-webkit-scrollbar{display:none}.photo-thumb{position:relative;display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:4px;border:0;border-radius:8px;background:transparent}.photo-thumb img{width:34px;height:34px;object-fit:cover;border:1px solid #bfdbfe;border-radius:6px;background:var(--surface-container)}.photo-remove-mark{position:absolute;top:1px;right:1px;display:grid;place-items:center;width:14px;height:14px;border-radius:50%;background:var(--text-muted);color:#fff;font-size:12px;line-height:1}.camera-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.photo-thumb:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.camera-button:active,.photo-thumb:active{background:var(--surface-container)}#mileageError,.photo-error{margin:8px 0 0}.submission-status{display:grid;gap:4px;padding:12px;margin-bottom:12px;background:var(--surface-muted);border-radius:10px;font-size:13px;color:var(--text-muted)}.submission-status strong{color:var(--text)}.photo-uploaded .photo-remove-mark{background:var(--success)}.uploaded-photos{display:flex;align-items:center;gap:12px;margin-bottom:12px;font-size:13px}.uploaded-photos>strong{flex:0 0 auto}.photo-viewer{width:min(92vw,760px);max-height:85dvh;padding:52px 12px 12px;border:0;border-radius:16px;background:var(--surface-card);color:var(--text)}.photo-viewer::backdrop{background:#0f172ab3}.photo-viewer img{width:100%;max-height:65dvh;object-fit:contain}.viewer-close{position:absolute;top:4px;right:4px;width:44px;height:44px;border:0;border-radius:10px;background:var(--surface-muted);color:var(--text);font-size:26px}.viewer-close:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.form-title>.form-subtitle{margin:0;font-size:16px;line-height:24px;font-weight:600;letter-spacing:normal}.success-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.success-actions>button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-width:0;min-height:48px;margin:0;padding:12px 16px;border-radius:12px;font-size:15px;line-height:22px;font-weight:600;text-align:center;transition:background-color .15s,border-color .15s,color .15s;-webkit-tap-highlight-color:transparent}.success-actions>button>span{min-width:0}.success-actions .material-symbols-outlined{flex:0 0 20px;width:20px;height:20px;font-size:20px;line-height:1}.success-actions>.secondary{border:1px solid #bfdbfe;background:var(--surface-card);color:var(--accent-strong)}.success-actions>.ghost-button{color:var(--text-subtle);font-size:14px;font-weight:500}.success-actions>button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.success-actions>.primary:active{background:var(--accent-strong)}.success-actions>.secondary:active{background:#dbeafe}.success-actions>.ghost-button:active{background:var(--surface-container)}@media(hover:hover){.success-actions>.secondary:hover{border-color:var(--accent);background:var(--accent-soft)}.success-actions>.ghost-button:hover{background:var(--surface-muted);color:var(--text)}}
