/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-font-weight:initial;--tw-outline-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-semibold:600;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.fixed{position:fixed}.static{position:static}.inline-flex{display:inline-flex}.min-h-0{min-height:0}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-11{min-height:calc(var(--spacing) * 11)}.w-11{width:calc(var(--spacing) * 11)}.shrink-0{flex-shrink:0}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.items-center{align-items:center}.justify-center{justify-content:center}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.rounded-md{border-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-\[var\(--border\)\]{border-color:var(--border)}.bg-\[var\(--destructive\)\]{background-color:var(--destructive)}.bg-\[var\(--primary\)\]{background-color:var(--primary)}.bg-\[var\(--secondary\)\]{background-color:var(--secondary)}.bg-\[var\(--surface\)\]{background-color:var(--surface)}.bg-transparent{background-color:#0000}.px-0{padding-inline:0}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-\[var\(--destructive-foreground\)\]{color:var(--destructive-foreground)}.text-\[var\(--foreground\)\]{color:var(--foreground)}.text-\[var\(--primary\)\]{color:var(--primary)}.text-\[var\(--primary-foreground\)\]{color:var(--primary-foreground)}.text-\[var\(--secondary-foreground\)\]{color:var(--secondary-foreground)}.underline-offset-4{text-underline-offset:4px}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}@media (hover:hover){.hover\:bg-\[var\(--muted\)\]:hover{background-color:var(--muted)}.hover\:underline:hover{text-decoration-line:underline}}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-\[var\(--ring\)\]:focus-visible{--tw-ring-color:var(--ring)}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:opacity-60:disabled{opacity:.6}}:root{--background:#f7f7f8;--foreground:#202124;--card:#fff;--card-foreground:#202124;--surface:#fff;--surface-elevated:#fff;--popover:#fff;--popover-foreground:#202124;--primary:#b42333;--primary-foreground:#fff;--secondary:#f1f1f3;--secondary-foreground:#303136;--muted:#f3f3f5;--muted-foreground:#65666d;--accent:#fdecef;--accent-foreground:#8d1f30;--destructive:#b42318;--destructive-foreground:#fff;--border:#dedee3;--input:#c9c9d0;--ring:#b42333;--brand:#d12f45;--brand-foreground:#fff;--success:#16794c;--success-foreground:#fff;--warning:#a45b07;--warning-foreground:#fff;--info:#1d5f8c;--info-foreground:#fff;--urgent:#c2410c;--urgent-foreground:#fff;--scheduled:#596579;--scheduled-foreground:#fff;--overdue:#b42318;--overdue-foreground:#fff;--radius-sm:.5rem;--radius-md:.75rem;--radius-lg:1rem;--shadow-sm:0 1px 2px #2021240f;--shadow-md:0 12px 30px #2021241a;color:var(--foreground);background:var(--background);font-synthesis:none;text-rendering:optimizelegibility;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}html[data-theme=dark]{--background:#101114;--foreground:#f4f3f1;--card:#191a1f;--card-foreground:#f4f3f1;--surface:#191a1f;--surface-elevated:#222329;--popover:#222329;--popover-foreground:#f4f3f1;--primary:#ef5b70;--primary-foreground:#241217;--secondary:#27282e;--secondary-foreground:#ecebed;--muted:#25262c;--muted-foreground:#bcbcc5;--accent:#3b222a;--accent-foreground:#ffb1bc;--destructive:#ff8b83;--destructive-foreground:#35110f;--border:#363740;--input:#4a4b54;--ring:#ff8797;--brand:#f06578;--brand-foreground:#2b1016;--success:#63cf98;--success-foreground:#102b1d;--warning:#f7bd63;--warning-foreground:#35220a;--info:#8ac8f5;--info-foreground:#0c2638;--urgent:#ff9c61;--urgent-foreground:#3a1c08;--scheduled:#a9b8d2;--scheduled-foreground:#17202d;--overdue:#ff8b83;--overdue-foreground:#35110f;--shadow-sm:0 1px 2px #0003;--shadow-md:0 14px 36px #0000004d;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100%}body{background:var(--background);min-height:100vh;color:var(--foreground);margin:0}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.58}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--ring);outline-offset:2px}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3,h4,strong{color:var(--foreground)}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.workspace{background:var(--background);min-height:100dvh}.app-sidebar{z-index:20;border-right:1px solid var(--border);background:var(--surface);width:240px;padding:20px 12px;display:none;position:fixed;inset:0 auto 0 0}.brand,.mobile-brand{min-height:44px;color:var(--foreground);align-items:center;text-decoration:none;display:inline-flex}.brand{padding:0 8px 20px}.brand-lockup{align-items:center;gap:9px;min-width:0;display:inline-flex}.brand-lockup>img{flex:none;width:39px;height:39px}.brand-wordmark{gap:1px;min-width:0;line-height:1;display:grid}.brand-wordmark strong{color:var(--foreground);letter-spacing:-.06em;font-size:1.24rem;font-weight:850}.brand-wordmark strong span{color:var(--brand)}.brand-wordmark small{color:var(--muted-foreground);letter-spacing:.02em;white-space:nowrap;font-size:.49rem;font-weight:750}.brand-lockup.compact>img{width:34px;height:34px}.brand-lockup.compact .brand-wordmark strong{font-size:1.05rem}.brand-lockup.compact .brand-wordmark small{font-size:.42rem}.app-sidebar nav{gap:4px;display:grid}.app-sidebar nav a,.bottom-nav a{border-radius:var(--radius-sm);min-height:44px;color:var(--muted-foreground);align-items:center;gap:11px;font-size:.9rem;font-weight:650;text-decoration:none;display:flex}.app-sidebar nav a{padding:0 12px}.app-sidebar nav a:hover,.app-sidebar nav a.active{color:var(--accent-foreground);background:var(--accent)}.app-sidebar nav a.active{box-shadow:inset 3px 0 0 var(--primary)}.app-header{z-index:15;min-height:calc(58px + env(safe-area-inset-top));padding:max(8px, env(safe-area-inset-top)) 14px 8px;border-bottom:1px solid var(--border);background:var(--surface);justify-content:flex-start;align-items:center;gap:8px;display:flex;position:sticky;top:0}.server-indicator{border:2px solid var(--surface);background:var(--muted-foreground);width:10px;height:10px;box-shadow:0 0 0 1px var(--border);border-radius:999px;flex:none;margin-left:8px}.server-indicator.ready{background:var(--success)}.server-indicator.offline{background:var(--destructive)}.server-indicator.checking{background:var(--warning)}.header-more,.theme-toggle{border:1px solid var(--border);border-radius:var(--radius-sm);width:44px;min-width:44px;min-height:44px;color:var(--foreground);background:var(--surface);place-items:center;text-decoration:none;display:inline-grid}.theme-toggle{margin-left:auto}.theme-toggle:hover,.header-more:hover{background:var(--muted)}.content{width:min(100% - 24px,1440px);padding:24px 0 calc(78px + env(safe-area-inset-bottom));margin:0 auto}.bottom-nav{z-index:50;min-height:calc(52px + env(safe-area-inset-bottom));padding:3px 2px calc(3px + env(safe-area-inset-bottom));border-top:1px solid var(--border);background:var(--surface);grid-template-columns:repeat(5,minmax(0,1fr));display:grid;position:fixed;bottom:0;left:0;right:0;transform:translateZ(0)}.bottom-nav a{letter-spacing:-.02em;text-align:center;white-space:nowrap;border-radius:5px;flex-direction:column;justify-content:center;gap:1px;min-width:0;padding:1px;font-size:clamp(.62rem,2.8vw,.72rem);line-height:1}.bottom-nav a.active{color:var(--primary);background:0 0}.ui-card{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--card);min-width:0}.ui-badge,.status-chip,.role-pill{min-height:24px;color:var(--info-foreground);background:var(--info);text-transform:none;white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;gap:4px;padding:3px 8px;font-size:.72rem;font-weight:750;line-height:1;display:inline-flex}.ui-badge-neutral{color:var(--secondary-foreground);background:var(--secondary)}.ui-badge-success{color:var(--success-foreground);background:var(--success)}.ui-badge-warning{color:var(--warning-foreground);background:var(--warning)}.ui-badge-info{color:var(--info-foreground);background:var(--info)}.ui-badge-urgent{color:var(--urgent-foreground);background:var(--urgent)}.ui-badge-danger{color:var(--destructive-foreground);background:var(--destructive)}.primary,.secondary{border-radius:var(--radius-sm);border:1px solid #0000;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:0 16px;font-weight:750;display:inline-flex}.primary{color:var(--primary-foreground);background:var(--primary)}.primary:hover:not(:disabled){filter:brightness(.94)}.secondary{border-color:var(--border);color:var(--secondary-foreground);background:var(--secondary)}.secondary:hover:not(:disabled){background:var(--muted)}.danger-link,.destructive-action{color:var(--destructive)}.alert,.module-page-error,.offline-banner{border:1px solid var(--info);border-radius:var(--radius-sm);color:var(--info-foreground);background:var(--info);justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.error-alert,.module-page-error,.error-state{border-color:var(--destructive);color:var(--destructive-foreground);background:var(--destructive)}.success-alert{border-color:var(--success);color:var(--success-foreground);background:var(--success)}.module-page-error button,.alert button{flex:none}.empty,.panel-empty{border:1px dashed var(--border);border-radius:var(--radius-sm);color:var(--muted-foreground);background:var(--muted);place-items:start;gap:6px;padding:20px;display:grid}.empty strong{color:var(--foreground)}.skeleton-state{min-height:40px;color:var(--muted-foreground);align-items:center;font-size:.9rem;display:inline-flex}.skeleton-state:before{border:2px solid var(--border);border-top-color:var(--primary);content:"";border-radius:50%;width:16px;height:16px;margin-right:9px;animation:.8s linear infinite waysafe-spin}.field,.calendar-date-field{min-width:0;color:var(--foreground);gap:6px;font-size:.84rem;font-weight:700;display:grid}.field>span,.calendar-date-field>span,.field-hint,.settings-card p,.page-header>div>p:last-child,.calendar-event-main small,.module-card small,.customer-list small{color:var(--muted-foreground)}input,textarea,select{border:1px solid var(--input);width:100%;min-height:42px;color:var(--foreground);background:var(--surface);border-radius:8px;padding:9px 10px}textarea{resize:vertical;min-height:92px}input::placeholder,textarea::placeholder{color:var(--muted-foreground);opacity:.9}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.form-context{border-left:3px solid var(--warning);border-radius:0 var(--radius-sm) var(--radius-sm) 0;color:var(--foreground);background:var(--warning);padding:10px 12px}@supports (color:color-mix(in lab, red, red)){.form-context{background:color-mix(in srgb, var(--warning) 12%, var(--surface))}}.dialog-backdrop{z-index:40;background:#1112148a;position:fixed;inset:0}.dialog{z-index:41;border:1px solid var(--border);border-radius:var(--radius-lg);width:min(720px,100vw - 24px);max-height:min(86dvh,780px);color:var(--foreground);background:var(--popover);box-shadow:var(--shadow-md);padding:20px;position:fixed;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%)}.dialog-header,.dialog-actions,.panel-card-heading,.section-title,.customer-detail-header,.customer-sites>header,.module-card>header{justify-content:space-between;align-items:center;gap:12px;display:flex}.dialog-header{margin-bottom:10px}.dialog-header h2,.dialog-header [data-slot=dialog-title]{margin:0;font-size:1.15rem}.dialog-description{color:var(--muted-foreground);margin-bottom:16px}.dialog form,.dialog-form,.task-detail,.report-dialog{gap:16px;display:grid}.dialog-actions{justify-content:flex-end;margin-top:4px}.confirm-dialog{gap:10px;display:grid}.task-detail>section,.report-dialog fieldset,.report-dialog details{border:1px solid var(--border);border-radius:var(--radius-sm);padding:14px}.task-detail h4,.report-dialog legend{margin:0 0 10px;font-size:.9rem}.inline-actions,.site-card-actions,.customer-primary-actions,.settings-actions,.zone-location-actions,.quick-actions{flex-wrap:wrap;gap:8px;display:flex}.check-row{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) minmax(140px,.45fr);align-items:center;gap:12px;padding:9px 0;display:grid}.check-row:last-child{border-bottom:0}.entity-detail{gap:8px;display:grid}.entity-detail div,.system-info div,.customer-facts>div{border:1px solid var(--border);background:var(--muted);border-radius:8px;gap:4px;padding:11px;display:grid}.entity-detail dt,.system-info dt,.customer-facts dt{color:var(--muted-foreground);font-size:.72rem;font-weight:750}.entity-detail dd,.system-info dd,.customer-facts dd{color:var(--foreground);margin:0}.auth-screen{background:var(--background);place-items:center;min-height:100dvh;padding:20px;display:grid}.auth-card{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--card);width:min(100%,430px);box-shadow:var(--shadow-sm);gap:16px;padding:28px;display:grid}.auth-card h1{letter-spacing:-.04em;margin-bottom:0;font-size:clamp(1.55rem,5vw,2rem)}.auth-card form{gap:14px;display:grid}.auth-brand{background:var(--brand);border-radius:10px;place-items:center;width:44px;height:44px;display:grid;overflow:hidden}.auth-brand img{object-fit:cover;width:100%;height:100%}.auth-submit{width:100%}.account-dialog{z-index:35;top:max(14px, env(safe-area-inset-top));border:1px solid var(--border);border-radius:var(--radius-md);width:min(520px,100vw - 28px);max-height:calc(100dvh - 28px);color:var(--foreground);background:var(--popover);box-shadow:var(--shadow-md);padding:20px;position:fixed;right:14px;overflow:auto}.account-dialog header,.account-dialog article,.account-dialog section[aria-label=Sessioni\ utente] article{justify-content:space-between;align-items:center;gap:10px;display:flex}.account-dialog article,.account-dialog section[aria-label=Sessioni\ utente] article{border-top:1px solid var(--border);flex-wrap:wrap;padding:12px 0}.account-dialog form{gap:10px;padding:12px 0;display:grid}.one-time-secret{overflow-wrap:anywhere;border:1px solid var(--warning);border-radius:var(--radius-sm);color:var(--foreground);background:var(--warning);padding:12px}@supports (color:color-mix(in lab, red, red)){.one-time-secret{background:color-mix(in srgb, var(--warning) 14%, var(--surface))}}.page-container{gap:24px;display:grid}.page-header{justify-content:space-between;align-items:end;gap:20px;display:flex}.page-header h1{letter-spacing:-.045em;margin:0;font-size:clamp(1.7rem,3vw,2.35rem)}.page-header>div>p:last-child{max-width:66ch;margin:8px 0 0;line-height:1.5}.eyebrow,.settings-kicker{color:var(--brand);letter-spacing:.075em;text-transform:uppercase;margin-bottom:7px;font-size:.74rem;font-weight:800}.section-heading{margin:2px 0 10px;font-size:1rem}.global-alert{margin-bottom:18px}.customer-workspace{grid-template-columns:minmax(0,1fr);align-items:start;gap:0;display:grid}.customer-directory,.customer-detail,.customer-operational-workspace,.customer-sites{min-width:0}.customer-directory{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--card);position:sticky;top:80px;overflow:hidden}.customer-filters{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:10px;display:grid}.customer-search,.zone-search{border:1px solid var(--input);min-height:42px;color:var(--muted-foreground);background:var(--surface);border-radius:8px;align-items:center;gap:8px;padding:0 10px;display:flex}.customer-search:focus-within,.zone-search:focus-within{border-color:var(--ring);box-shadow:0 0 0 3px var(--ring)}@supports (color:color-mix(in lab, red, red)){.customer-search:focus-within,.zone-search:focus-within{box-shadow:0 0 0 3px color-mix(in srgb, var(--ring) 18%, transparent)}}.customer-search input,.zone-search input{background:0 0;border:0;outline:0;min-width:0;min-height:40px;padding:0}.customer-archive-filter{color:var(--muted-foreground);white-space:nowrap;align-items:center;gap:5px;font-size:.74rem;display:inline-flex}.customer-archive-filter input,.segmented-control input{width:auto;min-height:auto}.customer-count,.customer-loading{color:var(--muted-foreground);padding:9px 12px;font-size:.78rem;display:block}.customer-list,.compact-record-list,.module-card ul,.agenda-list,.exception-list{gap:0;margin:0;padding:0;list-style:none;display:grid}.customer-list button{border:0;border-bottom:1px solid var(--border);width:100%;min-height:52px;color:var(--foreground);text-align:left;background:0 0;grid-template-columns:auto minmax(0,1fr) auto;gap:9px;padding:8px 12px;display:grid}.customer-list button:hover,.customer-list button.selected{background:var(--accent)}.customer-list button.selected{box-shadow:inset 3px 0 0 var(--primary)}.customer-list strong,.customer-list small,.calendar-event-main strong,.calendar-event-main small,.today-task-row strong,.today-task-row small,.zone-result-card strong,.zone-result-card small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.avatar{width:30px;height:30px;color:var(--accent-foreground);background:var(--accent);border-radius:50%;place-items:center;font-size:.72rem;font-weight:800;display:grid}.customer-detail,.customer-operational-workspace,.customer-sites,.today-dashboard,.operational-today{gap:16px;display:grid}.customer-detail-screen{min-height:56dvh;padding:4px 0;animation:.16s ease-out customer-detail-in}.customer-back{justify-self:start}.customer-operational-grid{grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:12px;display:grid}.customer-operational-grid>.ui-card{padding:14px}.customer-detail-header,.customer-operational-workspace>header{border-bottom:1px solid var(--border);padding-bottom:14px}.customer-detail-header h2,.customer-operational-workspace h3{margin:0;font-size:1.15rem}.customer-actions-menu summary,.inline-create-form summary{border:1px solid var(--border);min-height:40px;color:var(--foreground);background:var(--surface);cursor:pointer;border-radius:8px;padding:9px 10px}.customer-actions-menu>div,.inline-create-form form{border:1px solid var(--border);background:var(--muted);border-radius:8px;gap:10px;margin-top:8px;padding:12px;display:grid}.customer-note{border-left:3px solid var(--info);border-radius:0 var(--radius-sm) var(--radius-sm) 0;background:var(--info);margin:0;padding:12px}@supports (color:color-mix(in lab, red, red)){.customer-note{background:color-mix(in srgb, var(--info) 10%, var(--surface))}}.customer-facts,.customer-workspace-metrics,.operational-metrics>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.customer-sites>header,.panel-card-heading{margin-bottom:10px}.customer-site-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;display:grid}.customer-site-card,.focus-card,.today-dashboard-card,.agenda-exceptions>.ui-card{padding:14px}.customer-site-card h4,.focus-card h3,.today-dashboard-card h3{margin:10px 0 6px}.customer-site-card address{color:var(--muted-foreground);margin:0 0 8px;font-size:.86rem;font-style:normal;line-height:1.45}@keyframes customer-detail-in{0%{opacity:0;transform:translate(18px)}to{opacity:1;transform:translate(0)}}.site-card-top{color:var(--brand);justify-content:space-between;align-items:center;display:flex}.compact-record-list li{border-bottom:1px solid var(--border);padding:9px 0}.compact-record-list li:last-child{border-bottom:0}.compact-record-list small{color:var(--muted-foreground);margin-top:2px;display:block}.operational-heading h2,.today-dashboard-header h2,.operational-metrics h2{margin-bottom:5px;font-size:1.05rem}.operational-heading p,.today-dashboard-header p{color:var(--muted-foreground);margin-bottom:0}.operational-focus-grid,.today-dashboard-grid,.agenda-exceptions{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.focus-card.secondary,.queue-summary{background:var(--muted)}.quick-actions{margin-top:14px}.queue-summary{border:1px solid var(--border);border-radius:var(--radius-sm);justify-content:space-between;align-items:center;gap:12px;padding:10px;display:flex}.queue-summary>span{color:var(--muted-foreground);align-items:center;gap:7px;font-size:.84rem;display:inline-flex}.assigned-pickups{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--card);padding:14px}.assigned-pickups h3{margin-bottom:8px;font-size:.95rem}.assigned-pickups article,.agenda-list li,.exception-list a{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:10px;padding:10px 0;display:flex}.agenda-list li{grid-template-columns:auto minmax(0,1fr);display:grid}.agenda-list time{color:var(--muted-foreground);font-size:.78rem}.agenda-list li>span{color:var(--muted-foreground);grid-column:2;font-size:.8rem}.exception-list a{color:var(--foreground);text-decoration:none}.operational-metrics{gap:10px;display:grid}.operational-metric-card{border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--foreground);background:var(--card);gap:3px;padding:12px;text-decoration:none;display:grid}.operational-metric-card:hover{border-color:var(--primary)}.operational-metric-card strong{font-size:1.3rem}.operational-metric-card span{color:var(--muted-foreground);font-size:.78rem}.today-dashboard-header,.today-dashboard-card>header{justify-content:space-between;align-items:start;gap:10px;display:flex}.today-dashboard-card ul{gap:2px;margin:0;padding:0;list-style:none;display:grid}.today-task-row{border:0;border-top:1px solid var(--border);width:100%;min-height:46px;color:var(--foreground);text-align:left;background:0 0;grid-template-columns:8px minmax(0,1fr);align-items:center;gap:9px;padding:7px 0;display:grid}.today-task-row:hover{color:var(--primary)}.today-task-row small{color:var(--muted-foreground);margin-top:2px;font-size:.76rem}.priority{background:var(--scheduled);border-radius:99px;width:8px;height:30px}.priority.high{background:var(--warning)}.priority.urgent{background:var(--urgent)}.calendar-control-card{grid-template-columns:minmax(260px,auto) repeat(3,minmax(130px,1fr));gap:10px;padding:12px;display:grid}.calendar-view-switcher{background:var(--muted);border-radius:9px;gap:3px;padding:3px;display:flex}.calendar-view-switcher>button{flex:1;min-height:36px}.calendar-event-list{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--card);display:grid;overflow:hidden}.calendar-day-group+.calendar-day-group{border-top:1px solid var(--border)}.calendar-day-heading{color:var(--muted-foreground);background:var(--muted);letter-spacing:.02em;text-transform:uppercase;margin:0;padding:10px 14px;font-size:.76rem;font-weight:800}.calendar-event-row{border:0;border-bottom:1px solid var(--border);width:100%;min-height:72px;color:var(--foreground);text-align:left;background:0 0;grid-template-columns:48px minmax(0,1fr) auto 22px;align-items:center;gap:12px;padding:12px 14px;display:grid}.calendar-event-row:last-child{border-bottom:0}.calendar-event-row:hover{background:var(--muted)}.calendar-event-row time{color:var(--muted-foreground);text-transform:uppercase;place-items:center;font-size:.7rem;font-weight:700;display:grid}.calendar-event-row time span{color:var(--foreground);font-size:1.18rem;line-height:1}.calendar-event-main{min-width:0}.calendar-event-main small{margin-top:3px;font-size:.78rem}.calendar-event-badges{flex-wrap:wrap;justify-content:end;gap:4px;display:flex}.zone-page{grid-template-columns:minmax(0,1fr)}.zone-search{position:relative}.zone-search-results{z-index:10;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--popover);box-shadow:var(--shadow-md);position:absolute;top:calc(100% + 6px);left:0;right:0;overflow:hidden}.zone-search-results button{border:0;border-bottom:1px solid var(--border);width:100%;min-height:46px;color:var(--foreground);text-align:left;background:0 0;grid-template-columns:90px minmax(0,1fr);gap:10px;padding:9px 12px;display:grid}.zone-search-results button:hover{background:var(--muted)}.zone-search-results span,.zone-search-results p{color:var(--muted-foreground);font-size:.78rem}.zone-map-card{gap:16px;padding:16px;display:grid}.zone-map-placeholder{border:1px dashed var(--border);border-radius:var(--radius-sm);min-height:112px;color:var(--muted-foreground);background:var(--muted);align-items:center;gap:12px;padding:18px;display:flex}.zone-map-placeholder svg{color:var(--brand);flex:none}.zone-map-placeholder strong,.zone-map-placeholder p{margin:0;display:block}.zone-map-placeholder p{color:var(--muted-foreground);margin-top:4px;font-size:.84rem}.zone-location-form{align-items:end;gap:10px;display:flex}.zone-location-form>label{color:var(--muted-foreground);gap:5px;font-size:.78rem;font-weight:700;display:grid}.zone-location-status{color:var(--muted-foreground);margin:0;font-size:.84rem}.zone-results{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:10px;display:grid}.zone-results>.empty,.zone-results>.skeleton-state{grid-column:1/-1}.zone-result-card{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px;display:grid}.zone-result-card>span:first-child{color:var(--brand);font-size:.82rem;font-weight:800}.zone-result-card small{color:var(--muted-foreground);margin-top:3px}.inventory-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.inventory-summary .ui-card{grid-template-columns:auto 1fr auto;align-items:center;gap:9px;padding:13px;display:grid}.inventory-summary svg,.inventory-summary span{color:var(--muted-foreground)}.inventory-summary strong{font-size:1.2rem}.module-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;display:grid}.module-card{overflow:hidden}.module-card>header{border-bottom:1px solid var(--border);min-height:50px;padding:12px 14px}.module-card h3{margin:0;font-size:.95rem}.module-card ul{padding:0 14px}.module-card li{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:8px;min-height:48px;display:flex}.module-card li:last-child{border-bottom:0}.module-card li>div{min-width:0}.module-card li strong,.module-card li small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.module-card li small,.module-card time{color:var(--muted-foreground);margin-top:2px;font-size:.76rem}.module-row-button{width:100%;min-width:0;color:var(--foreground);text-align:left;background:0 0;border:0;padding:0}.module-row-button:hover{color:var(--primary)}.module-card li.module-card-add{min-height:32px}.more-page section{gap:10px;display:grid}.more-destinations{display:none}.more-destinations a{border:1px solid var(--border);border-radius:var(--radius-sm);min-height:40px;color:var(--foreground);background:var(--surface);align-items:center;gap:8px;padding:0 12px;font-size:.84rem;font-weight:700;text-decoration:none;display:inline-flex}.more-destinations a:hover,.more-destinations a:focus-visible{background:var(--muted)}.statistics-card dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:14px;display:grid}.statistics-card dl div{background:var(--muted);border-radius:7px;padding:8px}.statistics-card dt{color:var(--muted-foreground);font-size:.72rem}.statistics-card dd{margin:3px 0 0;font-weight:800}.more-guidance-card{color:var(--info);background:var(--info);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:14px;display:grid}@supports (color:color-mix(in lab, red, red)){.more-guidance-card{background:color-mix(in srgb, var(--info) 8%, var(--card))}}.more-guidance-card p{color:var(--muted-foreground);margin:4px 0 0;font-size:.82rem}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.settings-card{gap:16px;padding:16px;display:grid}.settings-card h2{align-items:center;gap:8px;margin-bottom:5px;font-size:1rem;display:flex}.settings-card p{margin-bottom:0;line-height:1.45}.settings-card .system-info{margin:0}.settings-profile,.settings-security,.settings-users,.settings-access{grid-column:span 1}.account-summary{align-content:start}.segmented-control{background:var(--muted);border:0;border-radius:9px;gap:6px;margin:0;padding:4px;display:flex}.segmented-control legend{clip:rect(0, 0, 0, 0);width:1px;height:1px;position:absolute;overflow:hidden}.segmented-control label{min-height:36px;color:var(--muted-foreground);text-align:center;cursor:pointer;border-radius:7px;flex:1;padding:9px 10px;font-size:.82rem;font-weight:750}.segmented-control label:has(input:checked){color:var(--primary-foreground);background:var(--primary)}.segmented-control input{opacity:0;position:absolute}.system-info{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;margin:0;display:grid}.address-search{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--muted);gap:8px;padding:12px;display:grid}.address-suggestions{border:1px solid var(--border);background:var(--surface);border-radius:8px;display:grid;overflow:hidden}.address-suggestions button{border:0;border-bottom:1px solid var(--border);min-height:40px;color:var(--foreground);text-align:left;background:0 0;padding:9px 10px}.address-suggestions button:hover{background:var(--accent)}.geocoding-attribution{color:var(--muted-foreground);font-size:.72rem}@keyframes waysafe-spin{to{transform:rotate(1turn)}}@media (width<=1099px){.more-destinations{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.more-destinations a{border:1px solid var(--border);border-radius:var(--radius-sm);min-height:44px;color:var(--foreground);background:var(--card);justify-content:center;align-items:center;gap:8px;font-weight:700;text-decoration:none;display:flex}.customer-workspace{grid-template-columns:1fr}.customer-directory{position:static}}@media (width<=720px){.page-header{flex-direction:column;align-items:start;gap:12px}.page-header-actions,.page-header-actions>button{width:100%}.form-grid,.operational-focus-grid,.today-dashboard-grid,.agenda-exceptions,.settings-grid{grid-template-columns:1fr}.customer-facts,.customer-workspace-metrics,.operational-metrics>div{grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-control-card{grid-template-columns:1fr 1fr}.calendar-view-switcher{grid-column:1/-1}.zone-location-form{flex-direction:column;align-items:stretch}.zone-location-form>label,.zone-location-form>button{width:100%}.account-dialog{border-radius:var(--radius-lg) var(--radius-lg) 0 0;width:100%;max-height:min(82dvh,740px);inset:auto 0 0}}@media (width<=560px){.content{width:min(100% - 20px,1440px);padding-top:18px}.app-header{gap:6px}.server-indicator{margin-left:2px}.dialog{border-radius:var(--radius-md);width:min(100vw - 16px,720px);max-height:90dvh;padding:16px}.dialog-actions,.quick-actions,.site-card-actions,.customer-primary-actions,.settings-actions{flex-direction:column;align-items:stretch}.dialog-actions>button,.quick-actions>button,.site-card-actions>button,.customer-primary-actions>button,.settings-actions>button{width:100%}.check-row{grid-template-columns:1fr}.calendar-event-row{grid-template-columns:42px minmax(0,1fr) auto;gap:8px;padding:11px}.calendar-event-row>svg{display:none}.calendar-event-badges{grid-column:2/-1;justify-content:start}.inventory-summary,.customer-filters{grid-template-columns:1fr}}@media (width>=1100px){.app-sidebar{display:block}.app-header{min-height:64px;margin-left:240px;padding-left:24px;padding-right:24px}.mobile-brand,.header-more,.bottom-nav{display:none}.content{width:min(100% - 288px,1440px);margin-left:264px;padding-top:28px;padding-bottom:40px}.settings-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-security,.settings-users,.settings-access{grid-column:span 1}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}
