*,*:before,*:after{box-sizing:border-box}html,body,#root{height:100%;overflow:hidden;overscroll-behavior:none}@media (max-width: 640px){html,body,#root{overflow:auto}}body{margin:0;font-family:IBM Plex Sans,system-ui,sans-serif;color:var(--text-primary);background:var(--surface);overscroll-behavior:none}img{max-width:100%;display:block}a{color:inherit;text-decoration:none}button,input,textarea{font-family:inherit}:root{--text-primary: #0b1220;--text-muted: #5b6776;--surface: #f5f7fb;--surface-elevated: #ffffff;--surface-accent: #0b1220;--accent: #0ea5e9;--accent-2: #22c55e;--border: rgba(15, 23, 42, .1);--shadow: 0 18px 40px rgba(15, 23, 42, .08)}.app-shell{min-height:100vh;display:flex;flex-direction:column;background:var(--surface);height:100dvh;overflow:hidden}.top-bar{display:flex;align-items:center;justify-content:space-between;padding:calc(18px + env(safe-area-inset-top)) 24px 16px;background:var(--surface);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:6;height:72px;box-sizing:border-box}@media (max-width: 640px){.app-shell.is-phone:not(.home-mode) .top-bar{height:56px;padding:calc(10px + env(safe-area-inset-top)) 16px 10px}.app-shell.is-phone .top-bar{background:transparent;border-bottom:none}.app-shell.is-phone:not(.home-mode) .brand-logo{height:32px;margin-left:-8px}.app-shell.is-phone:not(.home-mode) .content{padding-top:0}.page-header{padding-top:calc(16px + env(safe-area-inset-top))}}.brand{display:flex;align-items:center;gap:12px}.brand-logo{width:auto;height:40px;border-radius:0;object-fit:contain;box-shadow:none;object-position:left center;display:block;margin-left:-16px}.brand-text{display:grid;gap:2px}.brand-title{font-family:Space Grotesk,sans-serif;font-weight:700;letter-spacing:-.02em}.brand-subtitle{color:var(--text-muted);font-size:.78rem;letter-spacing:.08em;text-transform:uppercase}.top-bar-actions{display:flex;align-items:center;gap:16px}.user-pill{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;grid-template-areas:"avatar label" "avatar value";align-items:center;column-gap:10px;row-gap:2px;padding:6px 12px;border-radius:8px;background:#eef6ff;color:#0b1220;font-size:.72rem;border:1px solid rgba(14,165,233,.2)}.user-avatar{grid-area:avatar;width:32px;height:32px;border-radius:999px;background:rgba(14,165,233,.15);display:inline-flex;align-items:center;justify-content:center;overflow:hidden;color:#0b1220}.user-avatar img{width:100%;height:100%;object-fit:cover}.user-avatar svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.6;fill:none}.user-pill-label{grid-area:label;text-transform:uppercase;letter-spacing:.08em;font-weight:600}.user-pill-value{grid-area:value;font-size:.9rem;font-weight:600}.ghost-button{border:1px solid var(--border);background:transparent;padding:8px 12px;border-radius:6px;color:var(--text-primary);cursor:pointer;font-weight:600}.ghost-button.small,.primary-button.small{padding:6px 10px;font-size:.78rem}.ghost-button.danger{border-color:#ef444480;color:#b91c1c}.shell-body{display:grid;grid-template-columns:92px 1fr;flex:1;min-height:0;height:auto;height:calc(100dvh - 72px);overflow:hidden}.side-nav{position:sticky;top:0;height:100%;overflow:hidden;padding:24px 10px;display:flex;flex-direction:column;gap:10px;border-right:1px solid rgba(15,23,42,.12);background:#1f2933;align-items:center}.side-nav-links{display:flex;flex-direction:column;gap:10px;align-items:center}.nav-fab,.nav-overlay{display:none}.nav-link{padding:10px 6px;border-radius:10px;color:#d6e2ef;background:transparent;border:1px solid transparent;font-weight:600;cursor:pointer;text-align:center;display:grid;gap:6px;justify-items:center;align-items:center;width:68px;height:78px;grid-template-rows:34px 1fr}.nav-icon{width:34px;height:34px;border-radius:8px;display:grid;place-items:center;background:rgba(255,255,255,.12)}.nav-icon svg{width:18px;height:18px;stroke:#fff;stroke-width:1.6;fill:none;display:block}.nav-label{font-size:.54rem;letter-spacing:.04em;text-transform:uppercase;display:flex;align-items:center;justify-content:center;min-height:12px;line-height:1.1;width:64px;text-align:center;white-space:nowrap;padding:0 4px}.nav-link.active{background:transparent;border-color:transparent;color:#ffb703}.nav-link.active .nav-icon{background:rgba(255,183,3,.18)}.nav-link.active .nav-icon svg{stroke:#ffb703}.nav-link:disabled{opacity:.5;cursor:not-allowed}.content{padding:0 24px 32px;min-height:0;display:flex;flex-direction:column;overflow-y:auto;height:100%;overscroll-behavior:contain}.route-screen{display:flex;flex-direction:column;min-height:0;flex:1}@media (max-width: 640px){.route-screen{will-change:auto}}@media (prefers-reduced-motion: reduce){.route-screen{animation:none!important}}@media (min-width: 641px) and (max-width: 1024px){.content{padding-bottom:12px}}.estimates-mode .content{overflow-y:auto}.auth-shell{min-height:100%;display:grid;grid-template-columns:1.1fr 1fr;background:#f5f7fb}.auth-hero{padding:72px;position:relative;overflow:hidden}.auth-hero-content h1{font-family:Space Grotesk,sans-serif;font-size:3rem;margin:16px 0}.auth-hero-content p{color:var(--text-muted);max-width:420px}.auth-logo{width:72px;border-radius:18px}.auth-badges{margin-top:24px;display:flex;gap:10px;flex-wrap:wrap}.auth-badges span{padding:8px 14px;border-radius:999px;background:rgba(15,23,42,.08);font-size:.8rem}.auth-hero-glow{position:absolute;width:320px;height:320px;background:radial-gradient(circle,rgba(14,165,233,.18),transparent 70%);right:-120px;top:40px}.auth-panel{display:flex;align-items:center;justify-content:center;padding:32px}.auth-card{width:min(420px,100%);background:var(--surface-elevated);border-radius:10px;padding:32px;box-shadow:var(--shadow);display:grid;gap:18px}.auth-card label{font-size:.85rem;color:var(--text-muted)}.auth-card input{width:100%;padding:12px 14px;border-radius:6px;border:1px solid var(--border);background:#f8fafc;font-size:1rem}.auth-error{padding:10px 12px;background:#fee2e2;color:#991b1b;border-radius:6px;font-size:.9rem}.auth-hint{color:var(--text-muted);font-size:.85rem}.primary-button{background:var(--accent);color:#fff;border:none;padding:12px 16px;border-radius:6px;font-weight:600;cursor:pointer}.primary-button:disabled{opacity:.7;cursor:not-allowed}.secondary-button{background:#fff7ed;border:1px solid rgba(249,115,22,.3);padding:10px 14px;border-radius:6px;color:#9a3412;font-weight:600}.dashboard{display:grid;gap:16px}.dashboard-summary{padding:20px;border-radius:16px;background:#ffffff;border:1px solid rgba(15,23,42,.08);display:grid;gap:16px}.summary-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.summary-header h2{margin:0 0 4px}.summary-list{display:grid;gap:12px}.summary-group{display:grid;gap:10px}.summary-group-title{font-weight:700;color:var(--text-muted);text-transform:uppercase;letter-spacing:.08em;font-size:.75rem}.summary-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;border-radius:12px;background:rgba(15,23,42,.04);border:1px solid rgba(15,23,42,.08);color:inherit;text-decoration:none}.summary-card:hover{background:rgba(14,165,233,.08)}.summary-title{font-weight:700}.summary-meta{color:var(--text-muted);font-size:.9rem}.summary-submeta{color:var(--text-muted);font-size:.85rem;white-space:pre-line}.summary-meta-row{display:flex;align-items:flex-start;gap:6px}.summary-card .summary-link{display:flex;align-items:flex-start;gap:6px;text-align:left;background:transparent;border:0;padding:0;color:var(--accent-strong)!important;font:inherit;cursor:pointer}.summary-card .summary-link:hover{color:var(--accent)!important}.summary-card .summary-link .summary-submeta-text,.summary-card .summary-link .summary-icon,.summary-card .summary-link .summary-icon svg{color:inherit!important;stroke:currentColor}.summary-submeta-text{white-space:pre-line}.summary-icon{width:16px;height:16px;display:inline-flex;align-items:center;justify-content:center;margin-top:2px;color:var(--text-muted)}.summary-icon svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.6;fill:none}.timeclock-title{display:flex;align-items:center;gap:8px;margin:0}.timeclock-icon{width:28px;height:28px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:rgba(14,165,233,.12);color:var(--accent-strong)}.timeclock-icon svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.7;fill:none}.summary-time{font-weight:600;color:var(--text-primary);white-space:nowrap}.hero-card{display:flex;justify-content:space-between;gap:24px;padding:24px;border-radius:24px;background:linear-gradient(120deg,#0f172a,#1d4ed8);color:#fff}.hero-card h2{font-family:Space Grotesk,sans-serif;margin:0 0 8px}.hero-card p{color:#fffc;max-width:480px}.hero-card-metrics{display:grid;gap:12px;min-width:200px}.metric-label{font-size:.75rem;opacity:.7;text-transform:uppercase;letter-spacing:.08em}.metric-value{font-size:1.4rem;font-weight:600}.grid{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.grid-card{padding:20px;border-radius:8px;background:var(--surface-elevated);border:1px solid var(--border);display:grid;gap:12px}.page-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.dashboard>.page-header{margin-bottom:12px}.home-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;padding:18px 20px;border-radius:12px;background:#ffffff;border:1px solid rgba(15,23,42,.08);box-shadow:var(--shadow);margin-bottom:20px;position:relative}.home-hero h2{margin:0 0 6px;font-size:1.6rem;font-family:Space Grotesk,sans-serif}.home-hero-content{min-width:0;flex:1}.home-hero-title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.home-hero-title-row h2{margin:0}.home-hero-meta{display:flex;gap:12px;flex-wrap:wrap;color:var(--text-muted);font-size:.85rem}.home-hero-actions{display:flex;align-items:center;gap:10px}.home-hero-avatar{width:40px;height:40px;border-radius:999px;background:rgba(15,23,42,.08);border:3px solid rgba(15,23,42,.6);display:inline-flex;align-items:center;justify-content:center;overflow:hidden;color:var(--text-primary)}.home-hero-avatar--inline{flex:0 0 auto}@media (min-width: 1024px){.home-hero{align-items:center}.home-hero-avatar--inline{width:64px;height:64px;margin-left:6px}}@media (max-width: 640px){.home-hero{align-items:flex-start}.home-hero-title-row{gap:10px}}.home-hero-avatar img{width:100%;height:100%;object-fit:cover}.home-hero-avatar svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.6;fill:none}.summary-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}.summary-title-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.summary-kind{display:inline-flex;align-items:center;justify-content:center;padding:2px 8px;border-radius:999px;font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.summary-kind--task{background:rgba(59,130,246,.12);color:#1d4ed8}.summary-kind--timeoff{background:rgba(245,158,11,.16);color:#b45309}.summary-header-title{display:flex;align-items:center;gap:8px;margin:0}.summary-header-icon{width:24px;height:24px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;background:rgba(14,165,233,.12);color:var(--accent-strong)}.summary-header-icon svg{width:14px;height:14px;stroke:currentColor;stroke-width:1.7;fill:none}.summary-tag{display:inline-flex;align-items:center;justify-content:center;padding:2px 8px;border-radius:999px;background:rgba(15,23,42,.08);color:#0f172a;font-size:.68rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.summary-tag--customer{background:rgba(14,165,233,.12);color:#0369a1}.timeclock-card{display:grid;gap:12px;padding:18px 20px;border-radius:12px;background:#ffffff;border:1px solid rgba(15,23,42,.08);box-shadow:var(--shadow);margin-bottom:20px}.timeclock-header{display:flex;justify-content:space-between;align-items:center;gap:12px}.timeclock-actions{display:flex;gap:10px;align-items:center}.timeclock-break{display:flex;flex-direction:column;gap:10px}.timeclock-break-form{display:grid;gap:10px}.timeclock-history{border-top:1px solid rgba(15,23,42,.08);padding-top:12px}.timeclock-history-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.timeclock-history-list{display:grid;gap:8px}.timeclock-history-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;border-radius:10px;border:1px solid rgba(15,23,42,.08);background:#f8fafc}.timeclock-history-date{font-weight:600;color:#0f172a}.notice-chip{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;background:rgba(14,165,233,.12);color:#0369a1;font-size:.75rem;font-weight:600}.page-actions{display:flex;gap:12px;align-items:center}.search-input{border:1px solid var(--border);padding:10px 14px;border-radius:12px;min-width:220px}.jobs-grid,.estimates-grid{display:grid;gap:16px}.estimate-group{display:grid;gap:12px}.estimate-group-header{display:grid;gap:4px}.estimate-group-title{font-size:1.05rem;font-weight:600}.estimate-group-list{display:grid;gap:12px}.estimate-card{background:var(--surface-elevated);border-radius:10px;border:1px solid var(--border);padding:18px;display:grid;gap:14px}.estimate-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.estimate-number{font-weight:600}.estimate-card-body{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.estimate-card-actions{display:flex;justify-content:flex-end;gap:10px}.status-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}.job-card{background:var(--surface-elevated);border-radius:8px;border:1px solid var(--border);padding:18px;display:grid;gap:12px;transition:transform .2s ease,box-shadow .2s ease}.job-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.job-card-header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.job-number{font-size:.8rem;color:var(--text-muted)}.job-status{padding:4px 10px;border-radius:999px;background:rgba(37,99,235,.1);color:#1e3a8a;font-size:.75rem;font-weight:600}.job-card-body{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.muted{color:var(--text-muted);font-size:.85rem}.empty-state{padding:24px;background:rgba(15,23,42,.05);border-radius:8px;text-align:center;color:var(--text-muted)}.detail-grid{display:grid;gap:16px;grid-template-columns:1fr;background:#ffffff;border:1px solid rgba(15,23,42,.08);border-radius:8px;overflow:hidden}.detail-card{padding:16px 20px;border-radius:0;background:transparent;border:none;border-bottom:1px solid rgba(15,23,42,.08);display:grid;gap:6px}.detail-card:last-child{border-bottom:none}.detail-card h3{margin:0;font-size:.78rem;text-transform:uppercase;letter-spacing:.12em;color:#64748b}.detail-card p{margin:0}.detail-card-header{display:flex;justify-content:space-between;align-items:center;gap:12px}.detail-card-actions{display:inline-flex;gap:8px;align-items:center}.info-banner{padding:12px 14px;border-radius:10px;background:rgba(14,165,233,.08);color:#0f172a;border:1px solid rgba(14,165,233,.18);font-size:.85rem;margin-bottom:12px}.settings-form{display:grid;gap:12px;margin-top:6px}.settings-form label{display:grid;gap:6px;font-size:.85rem;color:#475569}.settings-form input{padding:10px 12px;border-radius:10px;border:1px solid var(--border);background:#ffffff;font-size:.95rem;color:#0f172a}.settings-form input:focus{outline:2px solid rgba(59,130,246,.3);border-color:#3b82f699}.settings-toggle{display:flex;align-items:center;gap:10px;font-size:.95rem;color:#0f172a}.settings-toggle input{width:16px;height:16px}.settings-field{display:grid;gap:6px;margin-bottom:12px}.settings-label{font-size:.85rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.08em;font-weight:700}.queue-section,.queue-list{display:grid;gap:8px}.queue-row{display:grid;gap:2px;padding:10px 12px;border-radius:10px;border:1px solid var(--border);background:#f8fafc}.settings-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(15,23,42,.4);display:flex;justify-content:flex-end;z-index:200;opacity:0;pointer-events:none;transition:opacity .22s ease}.settings-overlay.is-open{opacity:1;pointer-events:auto}.settings-panel{width:min(720px,100%);height:100dvh;max-height:100dvh;background:#f8fafc;transform:translate(100%);transition:transform .22s ease;box-shadow:-24px 0 40px #0f172a1f;overflow:hidden;display:flex;flex-direction:column;min-height:0}.settings-panel.is-open{transform:translate(0)}.settings-page{display:flex;flex-direction:column;gap:16px;width:100%;height:100%;padding:20px 24px 24px;overflow:hidden;min-height:0;flex:1}.settings-scroll{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding-bottom:24px}.settings-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.settings-header .icon-button{width:36px;height:36px;border-radius:999px;border:1px solid rgba(15,23,42,.12);background:#ffffff;font-size:1.5rem;line-height:1;cursor:pointer}@media (min-width: 641px){.settings-page .settings-phone-nav{display:none!important}}@media (max-width: 640px){.settings-header{position:relative;padding-right:48px}.settings-header .icon-button{position:absolute;top:0;right:0}}.queue-delete{width:fit-content}.queue-title{font-weight:600;color:#0f172a;word-break:break-word}.queue-meta{font-size:.85rem;color:#64748b;word-break:break-word}.job-detail{display:flex;flex-direction:column;gap:20px;min-height:0}.job-detail--estimates{height:100%;overflow:visible;flex:1;min-height:0}.job-hero{background:#ffffff;color:var(--text-primary);border-radius:10px;padding:16px 18px;display:grid;gap:12px;border:1px solid rgba(15,23,42,.08);box-shadow:0 16px 30px #0f172a14;position:relative}.job-hero.is-collapsed{padding-bottom:12px}.job-hero-back{display:flex;align-items:center}.breadcrumb{display:flex;align-items:center;gap:8px;color:#64748b;font-size:.9rem}.breadcrumb-link{padding:4px 10px}.breadcrumb-sep{color:#94a3b8}.breadcrumb-current{color:#0f172a;font-weight:600}.job-hero-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.job-hero-header h2{margin:4px 0 2px;font-family:Space Grotesk,sans-serif;font-size:1.5rem}.job-eyebrow{font-size:.75rem;text-transform:uppercase;letter-spacing:.12em;color:#64748b}.job-hero-actions{display:flex;align-items:center;gap:12px}.status-chip--warning{background:#fef3c7;color:#92400e;border:1px solid rgba(146,64,14,.2)}.gbb-dot{display:inline-block;width:10px;height:10px;border-radius:999px;margin-right:8px;vertical-align:middle;box-shadow:0 0 0 2px #fff}.gbb-pill{display:inline-flex;align-items:center;justify-content:center;margin-left:8px;padding:0 8px;height:20px;border-radius:999px;font-size:.65rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em}.gbb-pill.good{background:#fef3c7;color:#92400e}.gbb-pill.better{background:#e0f2fe;color:#0369a1}.gbb-pill.best{background:#ede9fe;color:#5b21b6}.approved-pill{display:inline-flex;align-items:center;justify-content:center;margin-left:8px;padding:0 8px;height:20px;border-radius:999px;font-size:.65rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;background:#d1fae5;color:#047857;border:1px solid #10b981}.icon-button{width:34px;height:34px;padding:0;display:inline-flex;align-items:center;justify-content:center}.icon-button svg{width:18px;height:18px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}.job-hero-toggle{position:absolute;top:14px;right:14px}.status-chip{padding:6px 12px;border-radius:999px;background:#e0f2fe;color:#0369a1;font-weight:600;font-size:.75rem;text-transform:uppercase;letter-spacing:.06em}.status-chip.finalized{background:#dcfce7;color:#166534}.invoice-title-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.finalized-note{margin-top:6px;font-size:.85rem}.job-hero-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px 12px}.job-hero-grid .label{font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;color:#94a3b8}.schedule-lines{display:flex;flex-direction:column;gap:4px;line-height:1.2}.schedule-primary{font-weight:600;color:#0f172a}.schedule-meta{font-size:.85rem;color:#64748b}.schedule-arrival{font-weight:600;color:#0f172a}.schedule-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;margin-left:6px;color:#1e40af;vertical-align:middle}.schedule-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.job-hero-actions-row{display:flex;flex-wrap:wrap;gap:10px;border-top:1px solid rgba(15,23,42,.08);padding-top:8px}.job-hero .ghost-button{border-color:#0f172a1f;color:var(--text-primary);background:#ffffff}.job-type-header{display:inline-flex;align-items:center;gap:10px}.job-type-text{font-weight:600;color:#0f172a}.job-type-edit{padding:6px 8px;display:inline-flex;align-items:center;justify-content:center}.job-type-edit svg{width:16px;height:16px}.job-type-options{display:grid;gap:10px}.job-type-option{border:1px solid rgba(15,23,42,.12);border-radius:12px;background:#ffffff;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;font-weight:600;color:#0f172a;cursor:pointer;text-align:left}.job-type-option:hover{border-color:#0ea5e999;box-shadow:0 0 0 1px #0ea5e933}.job-type-option.active{border-color:#0ea5e9;background:rgba(14,165,233,.08);box-shadow:0 0 0 1px #0ea5e933}.job-type-selected{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#0ea5e9}.job-title-row{display:flex;align-items:center;gap:10px}.job-title-edit{padding:6px 8px;display:inline-flex;align-items:center;justify-content:center}.job-title-edit svg{width:16px;height:16px}.tab-row{display:flex;gap:8px;flex-wrap:wrap;background:#ffffff;padding:6px;border-radius:8px;border:1px solid rgba(15,23,42,.08);align-items:center;justify-content:space-between}.gbb-tabs{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.tab-button{border:none;background:transparent;padding:8px 14px;border-radius:10px;font-weight:600;color:#64748b;cursor:pointer;display:inline-flex;align-items:center;gap:8px;height:auto}.tab-button.active{background:#0ea5e9;color:#fff}.tab-row .tab-button{background:#ffffff;border:1px solid rgba(15,23,42,.12)}.tab-row .tab-button.active{border-color:transparent;background:#0ea5e9;color:#fff}.tab-badge{background:rgba(15,23,42,.12);color:inherit;border-radius:999px;padding:2px 8px;font-size:.75rem;line-height:1.2;min-width:22px;text-align:center}.tab-button.active .tab-badge{background:rgba(255,255,255,.28);color:#fff}.tab-panel{display:grid;gap:16px}.estimates-panel{flex:1;min-height:0;overflow:visible;padding-right:0;padding-bottom:24px;display:flex;flex-direction:column;gap:16px}.estimate-tier-scroll{display:grid;gap:16px;overflow-y:auto;padding-right:6px;flex:1;min-height:0;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.inline-link{color:var(--accent);font-weight:600}.pill-row{display:flex;flex-wrap:wrap;gap:8px}.pill{display:inline-flex;align-items:center;gap:6px}.pill-remove{border:none;background:transparent;color:inherit;font-size:.9em;cursor:pointer;padding:0 2px}.pill-remove:disabled{opacity:.5;cursor:not-allowed}.tag-editor{margin-top:10px;display:grid;gap:8px}.tag-editor-panel{display:grid;gap:8px}.tag-results{display:grid;gap:6px}.pill{padding:6px 12px;border-radius:999px;background:rgba(15,23,42,.08);font-weight:600;font-size:.8rem}.pill.active{background:#0ea5e9;color:#fff}.workorder-card{padding:0;border-radius:8px;border:1px solid rgba(15,23,42,.08);background:#ffffff;display:grid;gap:0;overflow:visible}.mobile-debug-pill{position:fixed;top:10px;left:10px;z-index:40;background:rgba(15,23,42,.9);color:#fff;padding:6px 10px;border-radius:999px;font-size:.75rem;letter-spacing:.04em}.workorder-header{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center;padding:16px 20px;border-bottom:1px solid rgba(15,23,42,.08)}.workorder-totals{display:grid;grid-template-columns:repeat(3,minmax(80px,auto));gap:8px 16px;text-align:right;font-size:1rem;padding:10px 14px;background:#f8fafc;border:1px solid rgba(15,23,42,.08);border-radius:8px;min-width:260px;align-items:center}.mobile-estimate-open{margin-top:8px;width:fit-content}.estimate-actions{flex-wrap:wrap;justify-content:flex-end}.gbb-select{border:1px solid var(--border);border-radius:6px;padding:6px 8px;font-size:.8rem;background:#ffffff;color:var(--text-primary)}.workorder-totals .label{font-size:.68rem;text-transform:uppercase;letter-spacing:.1em;color:#64748b}.workorder-totals div>div{font-weight:600;font-size:1.05rem;color:#0b1220}.totals-actions{grid-column:1 / -1;display:flex;justify-content:flex-end;gap:8px;margin-top:4px}.workorder-section{padding:14px 20px;border-bottom:1px solid rgba(15,23,42,.08)}.section-header{display:flex;justify-content:space-between;align-items:center;gap:12px}.workorder-section h4{margin:0 0 8px;font-size:.9rem;text-transform:uppercase;letter-spacing:.08em;color:#64748b}.list-grid{display:grid;gap:10px}.notes-section .list-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}.forms-grid{display:grid;gap:12px}.form-card{border:1px solid rgba(15,23,42,.1);border-radius:12px;padding:14px 16px;background:#ffffff;display:grid;gap:10px;text-align:left;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.form-card:hover{border-color:#0ea5e966;box-shadow:0 10px 22px #0f172a14;transform:translateY(-1px)}.form-card-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.form-card-meta{display:flex;justify-content:space-between;align-items:center;font-size:.8rem;color:#64748b}.form-card-arrow{font-size:1.1rem}.pill-complete{background:#dcfce7;color:#166534}.pill-progress{background:#e2e8f0;color:#0f172a}.message-list{display:grid;gap:12px;padding:8px 0}.message-row{display:flex;justify-content:flex-start}.message-row.outbound{justify-content:flex-end}.message-bubble{max-width:70%;padding:10px 12px;border-radius:12px;background:rgba(148,163,184,.18);color:var(--text-primary);display:grid;gap:6px}.message-text{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.message-row.outbound .message-bubble{background:#2563eb;color:#fff}.message-meta{display:flex;gap:8px;font-size:.7rem;opacity:.8}.message-input{margin-top:12px;display:grid;gap:8px}.message-input textarea{border:1px solid var(--border);border-radius:10px;padding:10px 12px;font-family:inherit;resize:vertical}.custom-fields-html{display:grid;gap:10px}.custom-fields-section{display:grid;gap:12px}.custom-fields-section h6{margin:0;font-size:.95rem;text-transform:uppercase;letter-spacing:.08em;color:#64748b}.custom-fields-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.custom-field{display:grid;gap:6px;font-size:.9rem}.custom-field-label{font-weight:600;color:var(--text-muted)}.custom-fields-notes{display:grid;gap:6px}.custom-fields-html select,.custom-fields-html input,.custom-fields-html textarea{border:1px solid var(--border);border-radius:8px;padding:8px 10px;font-family:inherit;width:100%;background:#ffffff}.custom-fields-html .list-row{align-items:flex-start;gap:10px}.inspektor-html{max-height:60vh;overflow:auto}.detail-row{display:grid;gap:8px}.detail-input{border:1px solid var(--border);border-radius:8px;padding:8px 10px;font-family:inherit;width:100%}@media (min-width: 768px){.customer-detail .detail-input{max-width:520px}}@media (min-width: 1024px){.customer-detail .detail-input{max-width:420px}.customer-detail .detail-row{max-width:520px}.customer-detail-grid .list-row{display:grid;grid-template-columns:minmax(280px,1fr) minmax(220px,260px);gap:24px;align-items:start}.customer-detail-grid .list-row>div{min-width:0}}.checkbox-row{display:flex;gap:10px;align-items:center;font-weight:600;color:var(--text-muted)}.list-row{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:12px 6px;border-bottom:1px solid rgba(15,23,42,.08)}.list-row.list-button,.list-row.clickable{background:transparent;border:none;width:100%;text-align:left;cursor:pointer}.list-row.list-button:hover,.list-row.clickable:hover{background:rgba(15,23,42,.04)}.list-row.is-selected,.list-row.clickable.active{background:rgba(14,165,233,.08);border-radius:8px}.list-row>div:first-child{flex:1;min-width:0}.list-row:last-child{border-bottom:none}.list-actions{display:flex;align-items:center;gap:10px}.price-field,.line-item-actions,.list-actions{display:flex;align-items:center;gap:8px}.price-input{width:96px;padding:6px 8px;border-radius:6px;border:1px solid var(--border);font-weight:600;color:var(--text-primary);background:#ffffff;text-align:right}.price-input:disabled{background:#f8fafc;color:#94a3b8}.desc-input{width:100%;border:1px solid rgba(15,23,42,.12);border-radius:6px;padding:8px 10px;font-family:inherit;color:var(--text-primary);background:#ffffff;resize:vertical;min-height:72px}.desc-input:disabled{background:#f8fafc;color:#94a3b8}.qty-row{display:flex;align-items:center;gap:8px;margin-top:6px}.qty-input{width:72px;padding:6px 8px;border-radius:6px;border:1px solid var(--border);font-weight:600;color:var(--text-primary);background:#ffffff;text-align:right}.qty-input:disabled{background:#f8fafc;color:#94a3b8}.list-title{font-weight:600}.line-item-desc{margin-top:8px;display:grid;gap:6px}.line-item-desc label{font-size:.7rem;text-transform:uppercase;letter-spacing:.1em;color:#94a3b8}.line-item-desc textarea{width:100%;border:1px solid rgba(15,23,42,.12);border-radius:6px;padding:8px 10px;font-family:inherit;resize:vertical}.line-item-actions{display:grid;gap:8px;justify-items:end}.field-stack{display:grid;gap:4px;align-items:center}.field-label{font-size:.62rem;text-transform:uppercase;letter-spacing:.08em;color:#94a3b8}@media (min-width: 641px){.estimate-item{flex-direction:column;align-items:stretch}.estimate-item .line-item-actions{display:flex;justify-content:flex-start;align-items:flex-end;flex-wrap:wrap;gap:8px;margin-top:8px}.estimate-item .qty-row{margin-top:0;align-items:center}.workorder-item{flex-direction:column;align-items:stretch}.workorder-item .line-item-actions{display:flex;justify-content:flex-start;align-items:flex-end;flex-wrap:wrap;gap:8px;margin-top:8px}.line-item-actions .ghost-button,.line-item-actions .ghost-button.small{align-self:flex-end}}.note-card{padding:12px 6px;border-bottom:1px solid rgba(15,23,42,.08);display:grid;gap:8px}.note-card.note-clickable{cursor:pointer}.note-card.note-clickable:hover{background:rgba(15,23,42,.04)}.note-card:last-child{border-bottom:none}.note-text{font-size:.95rem}.note-media{display:flex;justify-content:flex-start}.note-thumb{width:140px;height:auto;border-radius:8px;border:1px solid rgba(15,23,42,.12);object-fit:cover;cursor:pointer}.note-meta{display:flex;justify-content:space-between;color:var(--text-muted);font-size:.8rem}.notes-section{display:grid;gap:12px}.note-composer{border:1px solid rgba(15,23,42,.12);border-radius:10px;padding:12px;background:#ffffff;display:grid;gap:10px}.note-composer textarea{width:100%;min-height:90px;border:1px solid rgba(15,23,42,.12);border-radius:8px;padding:10px 12px;resize:vertical;font-family:inherit}.note-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.note-search{display:flex;gap:10px;align-items:center;margin-bottom:12px}.note-search input{flex:1;border:1px solid rgba(15,23,42,.12);border-radius:8px;padding:10px 12px;font-family:inherit}.note-upload{position:relative;display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:8px;border:1px dashed rgba(15,23,42,.2);color:var(--text-muted);font-weight:600;font-size:.85rem;cursor:pointer}.note-upload input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.note-files{display:flex;flex-wrap:wrap;gap:8px}.note-file{padding:4px 10px;border-radius:999px;background:rgba(15,23,42,.06);font-size:.75rem;color:var(--text-muted)}.note-row,.note-details{display:grid;gap:6px}.note-modal-body{display:grid;gap:12px;max-height:70vh;overflow:auto}.note-modal-body textarea{width:100%;min-height:140px;border:1px solid rgba(15,23,42,.12);border-radius:8px;padding:10px 12px;font-family:inherit;resize:vertical}.note-modal-image{max-height:65vh;cursor:zoom-in;-webkit-user-select:none;user-select:none}.note-modal-image img{width:100%;height:auto;max-height:65vh;border-radius:10px;border:1px solid rgba(15,23,42,.12);object-fit:contain;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.note-modal-image.is-zoomed{max-height:none;cursor:zoom-out}.note-modal-image.is-zoomed img{max-height:none}.note-modal-actions{display:flex;justify-content:space-between;gap:12px;align-items:center}.form-fullscreen{position:fixed;top:0;right:0;bottom:0;left:0;background:#f8fafc;z-index:60;display:grid;grid-template-rows:auto 1fr}.form-fullscreen-header{display:flex;align-items:center;gap:16px;padding:16px 20px;border-bottom:1px solid rgba(15,23,42,.12);background:#ffffff}.form-fullscreen-title h3{margin:0}.form-fullscreen-title .muted{margin:2px 0 0}.form-fullscreen-body{padding:16px 20px 28px;overflow:auto}.modal-card--image{width:min(960px,92vw);max-height:92vh;display:grid;grid-template-rows:auto 1fr}.note-image-body{padding:0 20px 20px;overflow:auto}.note-image-body img{width:100%;height:auto;border-radius:10px}.activity-feed{padding:16px;border-radius:8px;border:1px solid rgba(15,23,42,.08);background:#ffffff;max-width:100%;overflow-x:hidden;word-break:break-word}.activity-feed *{max-width:100%;box-sizing:border-box}.activity-feed img,.activity-feed iframe,.activity-feed video,.activity-feed table{max-width:100%;height:auto}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(10,16,28,.45);display:grid;place-items:center;z-index:40;padding:24px}.modal-card{width:min(720px,100%);background:#ffffff;border-radius:10px;border:1px solid rgba(15,23,42,.12);box-shadow:0 24px 60px #0f172a33;display:grid;gap:16px;padding:20px}.modal-card--fullscreen{width:min(1200px,96vw);height:92vh;max-height:none;display:flex;flex-direction:column;--modal-header-height: 72px}.modal-card--fullscreen .modal-list{flex:1;overflow:auto;min-height:0;display:flex;flex-direction:column;height:calc(100% - var(--modal-header-height))}.modal-card--fullscreen .modal-list>*{flex:0 0 auto;min-height:0}.modal-card--fullscreen .modal-list .sv-root,.modal-card--fullscreen .modal-list .sd-root,.modal-card--fullscreen .modal-list .sv-container,.modal-card--fullscreen .modal-list .sd-container{height:100%;width:100%}.modal-card--fullscreen .modal-list .sv-body__container,.modal-card--fullscreen .modal-list .sd-body__container,.modal-card--fullscreen .modal-list .sv-components-column,.modal-card--fullscreen .modal-list .sd-components-column{width:100%;max-width:none}.modal-card--fullscreen .modal-list .sv-root,.modal-card--fullscreen .modal-list .sd-root{padding:0}.modal-card--fullscreen .modal-list .sv-body,.modal-card--fullscreen .modal-list .sd-body{height:auto;min-height:0}.modal-card--fullscreen .modal-list .sv-body__container,.modal-card--fullscreen .modal-list .sd-body__container{min-height:0}.modal-card--fullscreen .sd-root-modern__wrapper,.modal-card--fullscreen .sv-root__wrapper{height:100%;display:flex;flex-direction:column}.modal-card--fullscreen .sd-container-modern,.modal-card--fullscreen .sv-container-modern{flex:1;display:flex;flex-direction:column;min-height:0}.modal-card--fullscreen .sv-components-column--expandable,.modal-card--fullscreen .sd-components-column--expandable,.modal-card--fullscreen .sv-components-column,.modal-card--fullscreen .sd-components-column,.modal-card--fullscreen .sd-body,.modal-card--fullscreen .sv-body{flex:1;min-height:0}.modal-card--fullscreen .sd-root-modern--full-container,.modal-card--fullscreen .sv-root-modern--full-container{height:auto}.modal-card--fullscreen .sd-root-modern,.modal-card--fullscreen .sv-root-modern,.modal-card--fullscreen .sd-container-modern,.modal-card--fullscreen .sv-container-modern,.modal-card--fullscreen .sd-body,.modal-card--fullscreen .sv-body,.modal-card--fullscreen .sd-body__container,.modal-card--fullscreen .sv-body__container,.modal-card--fullscreen .sd-components-column,.modal-card--fullscreen .sv-components-column,.modal-card--fullscreen .sd-body--responsive,.modal-card--fullscreen .sd-body__page,.modal-card--fullscreen .sd-page{height:auto!important;max-height:none!important;overflow:visible!important}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.modal-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.form-grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.form-grid label{display:grid;gap:6px;font-size:.9rem;color:#475569}.checkbox-row{display:inline-flex;align-items:center;gap:8px;font-weight:600;color:#0f172a}.modal-list{display:grid;gap:10px;max-height:360px;overflow:auto;padding-right:4px}.code-block{background:#0f172a;color:#e2e8f0;padding:12px;border-radius:8px;font-size:.85rem;overflow:auto;max-height:320px;white-space:pre-wrap}.modal-actions{display:flex;justify-content:flex-end;gap:10px}.modal-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 14px;border-radius:8px;border:1px solid rgba(15,23,42,.08);background:#ffffff;text-align:left;cursor:pointer}.modal-row:hover{border-color:#0ea5e980}.calendar-page{display:grid;gap:20px}.calendar-scroll{min-height:0}.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px}.calendar-title{font-size:1.4rem;font-weight:600}.calendar-view-toggle{display:flex;padding:4px;border-radius:999px;border:1px solid var(--border);background:var(--surface-elevated);gap:6px}.calendar-mini{display:grid;gap:8px;padding:10px 12px;border-radius:12px;border:1px solid var(--border);background:var(--surface-elevated)}.calendar-mini-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;font-size:.7rem;color:var(--text-muted);text-align:center}.calendar-mini-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.calendar-mini-day{border:none;background:#f1f5f9;border-radius:8px;padding:6px 0;font-size:.75rem;font-weight:600;color:#0b1220;cursor:pointer;position:relative}.calendar-mini-day.is-outside{opacity:.4}.calendar-mini-day.is-selected{background:var(--surface-accent);color:#fff}.calendar-mini-dot{position:absolute;bottom:2px;left:50%;width:6px;height:6px;border-radius:999px;background:#0ea5e9;transform:translate(-50%)}.calendar-mini-day.is-selected .calendar-mini-dot{background:#ffffff}.toggle-button{border:none;background:transparent;padding:8px 14px;border-radius:999px;font-weight:600;color:var(--text-muted);cursor:pointer}.toggle-button.active{background:var(--surface-accent);color:#fff}.calendar-grid{display:grid;gap:12px}.calendar-grid-month,.calendar-grid-week{grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-cell{min-height:120px;padding:10px;border-radius:8px;border:1px solid var(--border);background:var(--surface-elevated);display:flex;flex-direction:column;gap:8px}.calendar-cell.outside{opacity:.5}.calendar-cell-header{font-size:.85rem;color:var(--text-muted);display:flex;justify-content:space-between}.calendar-cell-body{display:grid;gap:6px}.calendar-pill{padding:6px 8px;border-radius:6px;background:rgba(37,99,235,.12);display:grid;gap:2px}.calendar-pill-title{font-size:.85rem;font-weight:600}.calendar-pill-meta{font-size:.75rem;color:#1e3a8a}.calendar-more{font-size:.75rem;color:var(--text-muted)}.calendar-column{border-radius:10px;border:1px solid var(--border);background:var(--surface-elevated);display:flex;flex-direction:column;overflow:hidden;min-height:320px}.calendar-column-header{padding:12px 14px;font-weight:600;border-bottom:1px solid var(--border);background:#f8fafc}.calendar-column-body{padding:12px;display:grid;gap:10px}.calendar-card{padding:10px 12px;border-radius:6px;border:1px solid var(--border);background:#ffffff;display:grid;gap:4px}.calendar-card-title{font-weight:600}.calendar-card-meta{font-size:.8rem;color:var(--text-muted)}.calendar-empty{padding:8px 4px;color:var(--text-muted);font-size:.85rem}.calendar-day-view{padding:16px;border-radius:10px;border:1px solid var(--border);background:var(--surface-elevated);display:grid;gap:12px}.calendar-day-header{font-weight:600}.calendar-day-body{display:grid;gap:10px}.calendar-row{padding:12px 14px;border-radius:6px;border:1px solid var(--border);background:#ffffff;display:flex;justify-content:space-between;align-items:center;gap:12px}.calendar-pill.is-cancelled,.calendar-card.is-cancelled,.calendar-row.is-cancelled{opacity:.7;border-color:#ef44444d}.calendar-pill.is-cancelled{background:rgba(239,68,68,.08)}.calendar-card.is-cancelled{background:rgba(239,68,68,.04)}.calendar-row.is-cancelled .calendar-card-title{text-decoration:line-through}.calendar-pill-cancelled,.calendar-card-cancelled{display:inline-flex;align-items:center;justify-content:center;margin-top:6px;padding:2px 8px;border-radius:999px;background:rgba(239,68,68,.12);color:#b91c1c;font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.calendar-kind{display:inline-flex;align-items:center;justify-content:center;margin-top:6px;padding:2px 8px;border-radius:999px;font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.calendar-kind--task{background:rgba(59,130,246,.12);color:#1d4ed8}.calendar-kind--timeoff{background:rgba(245,158,11,.16);color:#b45309}.calendar-time{font-weight:600;color:var(--text-primary)}@media (max-width: 980px){.auth-shell{grid-template-columns:1fr}.shell-body{grid-template-columns:92px 1fr}.side-nav{flex-direction:column;justify-content:flex-start;padding:24px 10px;gap:10px;overflow-x:hidden;border-right:1px solid rgba(15,23,42,.12);border-bottom:none}.nav-link{min-width:0}.calendar-toolbar{flex-direction:column;align-items:flex-start}.calendar-grid-month,.calendar-grid-week{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.job-hero-header,.workorder-header{flex-direction:column;align-items:flex-start}.tab-row{border-radius:20px}}@media (max-width: 640px){.app-shell{height:auto;min-height:100dvh;overflow-x:hidden}.top-bar{flex-direction:column;align-items:flex-start;gap:10px;padding:calc(12px + env(safe-area-inset-top)) 16px 12px;background:transparent;border-bottom:none}.brand-logo{height:32px;margin-left:0;display:none}.top-bar-actions{width:100%;justify-content:space-between;gap:10px}.user-pill{display:none}.calendar-day-view{scroll-margin-top:72px}.calendar-page{display:flex;flex-direction:column;height:100%;min-height:0}.calendar-scroll{flex:1;overflow-y:auto;min-height:0;margin-top:-20px;padding-top:20px}.app-shell.calendar-mode.is-phone .content{overflow:hidden;padding-bottom:0}.calendar-mini{position:relative;z-index:2}.app-shell.calendar-mode.is-phone,.app-shell.calendar-mode.is-phone .shell-body{height:100dvh;overflow:hidden}.app-shell.calendar-mode.is-phone .content{height:100%}.shell-body{grid-template-columns:1fr;height:auto}.side-nav{position:fixed;left:50%;right:auto;bottom:calc(14px + env(safe-area-inset-bottom));transform:translate(-50%);top:auto;overflow:visible;height:auto;flex-direction:column;justify-content:flex-end;align-items:flex-end;padding:0;z-index:120;border:none;background:transparent;box-shadow:none}.nav-overlay{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(15,23,42,.55);z-index:100;opacity:0;pointer-events:none;transition:opacity .2s ease}.nav-overlay.is-active{opacity:1;pointer-events:auto}.side-nav.side-nav--bar{bottom:0;left:0;right:0;transform:none;flex-direction:row;justify-content:space-around;align-items:center;padding:8px 10px;background:#1f2933;border-top:1px solid rgba(15,23,42,.12)}.side-nav.side-nav--fab .side-nav-links{position:absolute;bottom:38px;right:0;display:grid;gap:10px;z-index:1;transform:scale(.96);opacity:0;pointer-events:none;transition:transform .22s ease,opacity .22s ease}.side-nav.side-nav--bar .side-nav-links{position:static;display:flex;gap:0;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:space-around;width:100%;transform:none;opacity:1;pointer-events:auto}.side-nav.side-nav--fab.is-open .side-nav-links{transform:scale(1);opacity:1;pointer-events:auto}.nav-link{width:64px;padding:10px 8px;border-radius:16px;background:#1f2937;color:#f8fafc;box-shadow:0 12px 24px #0f172a2e}.side-nav.side-nav--fab .nav-link{width:48px;height:48px;padding:0;border-radius:999px;background:#fb923c;color:#fff;box-shadow:0 10px 22px #0f172a40;display:grid;place-items:center}.side-nav.side-nav--fab .nav-icon{background:transparent;border:none;width:22px;height:22px}.side-nav.side-nav--fab .nav-icon svg{stroke:#fff}.side-nav.side-nav--bar .nav-link{background:transparent;box-shadow:none;border-radius:10px;padding:8px 6px}.nav-link.active{background:#ffffff;color:#0f172a;box-shadow:0 12px 26px #0f172a24}.side-nav.side-nav--bar .nav-link.active{background:transparent;color:#ffb703;box-shadow:none}.side-nav.side-nav--bar .nav-link.active .nav-icon{background:rgba(255,183,3,.18)}.side-nav.side-nav--bar .nav-link.active .nav-icon svg{stroke:#ffb703}.app-shell.is-phone .side-nav.side-nav--bar+.content .calendar-scroll{padding-bottom:calc(96px + env(safe-area-inset-bottom))}.side-nav.side-nav--fab .nav-link.active{background:transparent;box-shadow:none}.side-nav.side-nav--fab .nav-link.active .nav-icon{background:transparent}.side-nav.side-nav--fab .nav-link.active .nav-icon svg{stroke:#fff}.side-nav.side-nav--fab .nav-label{display:none}.nav-link.active .nav-icon{background:rgba(15,23,42,.08)}.nav-link.active .nav-icon svg{stroke:#f59e0b}.side-nav.side-nav--fab .side-nav-links .nav-link{transform:translate(var(--fan-x, 0px),var(--fan-y, 0px)) scale(.9);opacity:0;transition:transform .28s ease,opacity .2s ease}.side-nav.side-nav--fab.is-open .side-nav-links .nav-link{transform:translate(var(--fan-x, 0px),var(--fan-y, 0px)) scale(1);opacity:1}.side-nav.side-nav--fab .side-nav-links .nav-link:nth-child(1){--fan-x: -8px;--fan-y: -42px}.side-nav.side-nav--fab .side-nav-links .nav-link:nth-child(2){--fan-x: -20px;--fan-y: -96px}.side-nav.side-nav--fab .side-nav-links .nav-link:nth-child(3){--fan-x: -30px;--fan-y: -144px}.side-nav.side-nav--fab .side-nav-links .nav-link:nth-child(4){--fan-x: -36px;--fan-y: -186px}.side-nav.side-nav--fab .side-nav-links .nav-link:nth-child(5){--fan-x: -40px;--fan-y: -222px}.side-nav.side-nav--fab .side-nav-links .nav-link:nth-child(6){--fan-x: -42px;--fan-y: -252px}.nav-link .nav-icon{color:inherit}.nav-label{font-size:.6rem;letter-spacing:.08em}.nav-fab{width:56px;height:56px;border-radius:50%;border:none;background:#0ea5e9;color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:6px;box-shadow:0 16px 30px #0f172a4d;cursor:pointer}.nav-fab span{display:block;width:20px;height:2px;background:currentColor;border-radius:999px;transition:transform .22s ease,opacity .22s ease}.nav-fab.is-open span:nth-child(1){transform:translateY(6px) rotate(45deg)}.nav-fab.is-open span:nth-child(2){opacity:0}.nav-fab.is-open span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}.content{padding:16px 16px 120px;height:auto;overflow-y:visible;overflow-x:hidden}input,select,textarea{font-size:16px}.desc-input,.line-item-desc textarea{min-height:96px}.job-hero{padding:18px}.page-header{flex-direction:column;align-items:flex-start}.page-actions{width:100%;flex-wrap:wrap}.page-actions .search-input{flex:1 1 100%;min-width:0}.home-hero,.timeclock-header{flex-direction:column;align-items:flex-start}.timeclock-actions{width:100%;justify-content:flex-start}.job-detail--estimates{height:auto}.job-hero-grid{grid-template-columns:1fr}.job-hero-actions-row{gap:8px}.estimates-panel,.estimate-tier-scroll{overflow:visible}.workorder-header{grid-template-columns:1fr;align-items:flex-start;gap:12px}.workorder-totals{grid-template-columns:repeat(2,minmax(0,1fr));text-align:left;min-width:0;width:100%}.totals-actions{justify-content:flex-start;flex-wrap:wrap}.list-row{flex-direction:column;align-items:stretch}.list-actions,.line-item-actions{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;row-gap:8px}.line-item-actions .ghost-button,.line-item-actions .ghost-button.small,.list-actions .ghost-button,.list-actions .ghost-button.small{align-self:flex-end}.qty-row{align-items:center;margin-top:0}.list-actions{column-gap:8px}.list-actions .price-field{order:2;flex:1 1 120px}.list-actions .ghost-button.small{order:3}.qty-input{width:56px;max-width:56px}.price-input{width:96px;max-width:96px}.qty-row .muted{font-size:.6rem}.line-item-actions .qty-input{order:1;flex:0 0 auto}.line-item-actions .price-field{order:2;flex:0 0 auto}.line-item-actions .ghost-button.small{order:3}.line-item-actions .ghost-button:not(.small){order:4}.calendar-row{flex-direction:column;align-items:flex-start}.calendar-time{margin-top:4px}}.square-card-block{display:flex;flex-direction:column;gap:8px;padding:6px 0 4px}.square-card{min-height:56px;padding:10px;border-radius:12px;border:1px solid rgba(15,23,42,.12);background:#ffffff}.error-text{color:#dc2626;font-size:.85rem}.fab-menu{position:relative;z-index:120}.fab-toggle{width:56px;height:56px;border-radius:50%;border:none;background:#0ea5e9;color:#fff;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;box-shadow:0 16px 30px #0f172a4d;cursor:pointer}.fab-toggle span{display:block;width:20px;height:2px;background:currentColor;border-radius:999px;transition:transform .22s ease,opacity .22s ease;transform-origin:center}.fab-toggle.is-open span:nth-child(1){transform:translateY(8px) rotate(45deg)}.fab-toggle.is-open span:nth-child(2){opacity:0}.fab-toggle.is-open span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}.fab-items{position:absolute;right:0;bottom:0;width:1px;height:1px;pointer-events:none}.fab-items.is-open{pointer-events:auto}.fab-item{position:absolute;right:0;bottom:0;width:46px;height:46px;border-radius:999px;border:2px solid #ffffff;background:#fb923c;box-shadow:0 10px 22px #0f172a40;color:#fff;display:inline-flex;align-items:center;justify-content:center;transform:translate(0) scale(.9);opacity:0;transition:transform .24s ease,opacity .24s ease}.fab-items.is-open .fab-item{transform:translate(var(--fab-x),var(--fab-y)) scale(1);opacity:1;transition-delay:var(--fab-delay)}.fab-item svg{width:18px;height:18px;stroke:#fff;stroke-width:1.8;fill:none}.fab-item.is-active{background:#f97316}
