:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#0f172a;background:#f4f6f9;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body{min-height:100%;margin:0}body{background:#f4f6f9}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.58}.divesync-app{--navy:#061f35;--secondary:#0b4a86;--secondary-dark:#08365f;--border:#d8e0ea;--border-soft:#e9eef5;--muted:#64748b;--text:#0f172a;--surface:#fff;--surface-soft:#f8fafc;--brand:#0b4a86;--brand-strong:#08365f;--accent:#38bdf8;--shadow:0 1px 2px #0f172a0a;--shadow-panel:0 8px 22px #0f172a09;color:var(--text);background:#f4f6f9;grid-template-columns:268px minmax(0,1fr);min-height:100vh;display:grid}.divesync-sidebar{background:linear-gradient(145deg, var(--navy), var(--secondary) 52%, var(--secondary-dark));color:#fff;border-right:1px solid #ffffff1a;align-content:start;gap:.85rem;min-height:100vh;padding:.95rem .75rem;display:grid;position:sticky;top:0;overflow:hidden}.divesync-sidebar:before{content:"";pointer-events:none;background:radial-gradient(circle at 18% 4%,#38bdf824,#0000 12rem),linear-gradient(#ffffff0a,#0000);position:absolute;inset:0}.divesync-brand{border-bottom:1px solid #ffffff1a;justify-content:flex-start;align-items:center;height:68px;margin:-.95rem -.75rem .55rem;padding:0 1.15rem;display:flex;position:relative}.divesync-brand img{filter:brightness(0)invert();object-fit:contain;max-width:158px;max-height:34px;display:block}.divesync-view-switcher{background:#0003;border:1px solid #ffffff1a;border-radius:.75rem;grid-template-columns:1fr 1fr;gap:.25rem;padding:.25rem;display:grid;position:relative}.divesync-view-switcher a{color:#ffffffb8;border-radius:.5rem;place-items:center;min-height:34px;font-size:.72rem;font-weight:800;transition:all .15s;display:grid}.divesync-view-switcher a:hover{color:#fff;background:#ffffff1a}.divesync-view-switcher a.active{color:var(--secondary);background:#fff;box-shadow:0 8px 18px #0000001f}.divesync-nav{gap:.8rem;display:grid;position:relative}.divesync-nav section{gap:.16rem;display:grid}.divesync-nav p{color:#ffffff94;letter-spacing:.1em;text-transform:uppercase;margin:0 0 .22rem;padding:0 .65rem;font-size:.66rem;font-weight:850}.divesync-nav a{color:#ffffffd1;border-left:3px solid #0000;border-radius:.45rem;align-items:center;gap:.62rem;min-height:38px;padding:0 .62rem;font-size:.88rem;font-weight:650;transition:all .15s;display:flex}.divesync-nav a:hover{color:#fff;background:#ffffff17}.divesync-nav a.active{border-left-color:var(--accent);color:#fff;background:#ffffff29}.divesync-nav span{color:#ffffffe6;flex:0 0 24px;justify-content:center;align-items:center;width:24px;height:24px;font-size:.62rem;font-weight:900;display:inline-flex}.divesync-sidebar-card{background:#ffffff14;border-top:1px solid #ffffff1a;align-self:end;gap:.35rem;margin:auto -.75rem -.95rem;padding:1rem;display:grid;position:relative}.divesync-sidebar-card strong{font-size:.92rem}.divesync-sidebar-card small{color:#ffffffb8;line-height:1.45}.divesync-main{background:#f4f6f9;min-width:0}.divesync-topbar{border-bottom:1px solid var(--border);z-index:10;background:#fff;grid-template-columns:minmax(170px,240px) minmax(260px,1fr) auto;align-items:center;gap:1rem;min-height:64px;padding:0 1.5rem;display:grid;position:sticky;top:0}.divesync-topbar>div:first-child,.divesync-user div{gap:.12rem;display:grid}.divesync-topbar strong,.divesync-user strong{font-size:.9rem}.divesync-topbar small,.divesync-user small{color:var(--muted);font-size:.78rem}.divesync-search{border:1px solid var(--border);box-shadow:var(--shadow);background:#fff;border-radius:.45rem;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.55rem;min-height:40px;padding:0 .72rem;display:grid}.divesync-search.wide{margin-top:.85rem}.divesync-search input{color:var(--text);background:0 0;border:0;outline:0;min-width:0}.divesync-search kbd{color:#64748b;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:.35rem;padding:.12rem .32rem;font-size:.72rem}.divesync-topbar-actions{align-items:center;gap:.55rem;display:flex}.divesync-topbar-actions button{border:1px solid var(--border);color:#475569;background:#fff;border-radius:.45rem;width:36px;height:36px;font-size:.78rem}.divesync-user{border:1px solid var(--border);background:#fff;border-radius:.5rem;align-items:center;gap:.6rem;min-height:38px;padding:.26rem .58rem .26rem .32rem;display:flex}.divesync-user>span{background:var(--brand);color:#fff;border-radius:.45rem;justify-content:center;align-items:center;width:30px;height:30px;font-size:.78rem;font-weight:900;display:inline-flex}.divesync-heading,.divesync-content{max-width:none;margin:0 auto;padding-left:1.5rem;padding-right:1.5rem}.divesync-heading{justify-content:space-between;align-items:end;gap:1rem;padding-top:1rem;padding-bottom:.9rem;display:flex}.divesync-content{gap:1rem;padding-top:1rem;padding-bottom:2rem;display:grid}.divesync-heading span,.divesync-command-card>span,.divesync-command-card div>span{color:var(--brand);letter-spacing:.08em;text-transform:uppercase;font-size:.72rem;font-weight:900}.divesync-heading h1,.divesync-panel h1{color:var(--text);letter-spacing:-.02em;margin:.2rem 0 0;font-size:clamp(1.35rem,1.55vw,1.85rem);line-height:1.08}.divesync-heading p,.divesync-panel p{color:var(--muted);max-width:760px;margin:.35rem 0 0}.divesync-heading-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.55rem;display:flex}.divesync-heading-actions form{align-items:center;gap:.5rem;display:flex}.divesync-heading-actions button,.divesync-command-card button,.divesync-panel-head button,.divesync-row-actions button,.divesync-row-actions a,.divesync-panel a,.divesync-table-action,.staff-toolbar button,.divesync-modal-actions button{border:1px solid var(--border);color:#334155;background:#fff;border-radius:.45rem;justify-content:center;align-items:center;min-height:38px;padding:.5rem .78rem;font-weight:800;display:inline-flex}.divesync-heading-actions .primary,.divesync-command-card button.primary,.divesync-row-actions .primary,button.primary,.staff-toolbar button.primary,.divesync-modal-actions button.primary,.divesync-table-action.primary{background:var(--brand);border-color:var(--brand);color:#fff}.divesync-heading-actions select,.divesync-panel select,.divesync-form-grid input,.divesync-form-grid select,.divesync-form-grid textarea,.divesync-inline-form input,.origin-normalized-input{border:1px solid var(--border);color:var(--text);background:#fff;border-radius:.45rem;outline:none;width:100%;min-height:40px;padding:.55rem .72rem}.divesync-form-grid input:focus,.divesync-form-grid select:focus,.divesync-form-grid textarea:focus,.divesync-inline-form input:focus,.divesync-search:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px #0b4a861a}.divesync-command-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:.85rem;display:grid}.divesync-panel,.divesync-command-card,.staff-access-tile,.staff-site-picker,.divesync-empty-state,.divesync-modal{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-panel);border-radius:.55rem}.divesync-panel{padding:1rem}.divesync-panel-head{border-bottom:1px solid var(--border-soft);justify-content:space-between;align-items:flex-start;gap:1rem;margin:-1rem -1rem 1rem;padding:1rem;display:flex}.divesync-panel-head p{color:var(--muted);margin:.25rem 0 0}.divesync-command-card{gap:.4rem;min-height:98px;padding:.9rem;display:grid}.divesync-command-card.hero{background:#fff;grid-template-columns:1fr;align-items:start;gap:.75rem}.divesync-command-card h2,.divesync-panel h2{color:var(--text);letter-spacing:0;margin:0;font-size:1rem;line-height:1.2}.divesync-command-card.hero h2{margin-top:.2rem;font-size:1.1rem}.divesync-command-card p{color:var(--muted);max-width:560px;margin:.35rem 0 0;line-height:1.5}.divesync-command-card.metric{align-content:space-between}.divesync-command-card.metric strong{color:var(--text);font-size:1.6rem;line-height:1}.divesync-command-card.metric small{color:var(--muted);font-weight:700}.divesync-command-card.selectable{border-color:var(--border)}.divesync-command-card.selectable.active{border-color:#0b4a8659;box-shadow:0 0 0 3px #0b4a8614}.divesync-work-grid{grid-template-columns:minmax(0,1.55fr) minmax(300px,.75fr);align-items:start;gap:1rem;display:grid}.divesync-tabs,.staff-tabs,[role=tablist].divesync-tabs{border:1px solid var(--border);background:#fff;border-bottom:0;border-radius:.55rem .55rem 0 0;flex-wrap:wrap;align-items:stretch;gap:0;width:100%;margin:0 0 -1px;padding:0;display:flex;overflow:hidden}.divesync-tabs button,.divesync-tabs a,.staff-tabs button,.staff-tabs a,[role=tablist].divesync-tabs button,[role=tablist].divesync-tabs a{color:#475569;white-space:nowrap;background:#fff;border:0;border-bottom:3px solid #0000;border-radius:0;min-height:44px;padding:.65rem .95rem;font-size:.86rem;font-weight:850}.divesync-tabs button:hover,.divesync-tabs a:hover,.staff-tabs button:hover,.staff-tabs a:hover{color:var(--brand);background:#f8fafc}.divesync-tabs button.active,.divesync-tabs a.active,.staff-tabs button.active,.staff-tabs a.active,.divesync-tabs [aria-selected=true]{border-bottom-color:var(--brand);color:var(--brand);background:#f8fafc}.divesync-table-wrap,.staff-table-wrap{border:1px solid var(--border);background:#fff;border-radius:0 0 .55rem .55rem;width:100%;overflow-x:auto}.divesync-panel>.divesync-table-wrap:first-child,.divesync-content>.divesync-table-wrap,.divesync-table-wrap.standalone{border-radius:.55rem}.divesync-table,.staff-table{border-collapse:separate;border-spacing:0;width:100%}.divesync-table th,.divesync-table td,.staff-table th,.staff-table td{border-bottom:1px solid var(--border-soft);color:var(--text);text-align:left;vertical-align:middle;padding:.82rem .8rem}.divesync-table tr:last-child td,.staff-table tr:last-child td{border-bottom:0}.divesync-table th,.staff-table th{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;background:#f8fafc;font-size:.72rem;font-weight:900}.divesync-table td strong,.divesync-table td small,.staff-table td strong,.staff-table td small{display:block}.divesync-table td small,.staff-table td small{color:var(--muted);margin-top:.16rem}.divesync-table tbody tr:hover,.staff-table tbody tr:hover{background:#f8fafc}.text-right{text-align:right!important}.divesync-row-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.45rem;display:flex}.divesync-row-actions form{display:inline-flex}.divesync-row-actions button,.divesync-row-actions a,.divesync-table-action{min-height:34px;padding:.38rem .6rem;font-size:.82rem}.divesync-pill{color:#075985;white-space:nowrap;background:#eaf2f8;border:1px solid #0b4a861a;border-radius:999px;padding:.28rem .58rem;font-size:.74rem;font-weight:850;display:inline-flex}.divesync-pill.success{color:#166534;background:#e9f8ef;border-color:#1665341a}.divesync-pill.warning{color:#92400e;background:#fff7df;border-color:#92400e1f}.divesync-pill.danger{color:#991b1b;background:#feecec;border-color:#991b1b1f}.divesync-empty-state{color:#475569;gap:.2rem;padding:1.1rem;display:grid}.divesync-empty-state strong{color:#0f172a}.divesync-empty-state p{margin:0}.divesync-schedule-list,.divesync-task-list{gap:.6rem;display:grid}.divesync-schedule-list article,.divesync-task-list article{background:var(--surface-soft);border:1px solid var(--border-soft);border-radius:.45rem;align-items:center;gap:.8rem;min-height:62px;padding:.75rem;display:grid}.divesync-schedule-list article{grid-template-columns:70px minmax(0,1fr) auto}.divesync-task-list article{grid-template-columns:minmax(0,1fr) auto}.divesync-schedule-list time{color:var(--brand);font-weight:900}.divesync-schedule-list div,.divesync-task-list div{gap:.16rem;display:grid}.divesync-schedule-list small,.divesync-task-list small{color:var(--muted)}.divesync-schedule-list article>span,.divesync-task-list article>span{color:#475569;white-space:nowrap;background:#eef2f7;border-radius:999px;padding:.28rem .55rem;font-size:.78rem;font-weight:800}.divesync-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;display:grid}.divesync-form-grid label{color:#334155;gap:.36rem;font-size:.82rem;font-weight:850;display:grid}.divesync-form-grid textarea{resize:vertical;line-height:1.5}.divesync-form-grid .span-2{grid-column:1/-1}.divesync-checkbox{flex-direction:row;min-height:40px;align-items:center!important;gap:.55rem!important;display:flex!important}.divesync-checkbox input{width:auto;min-height:auto}.divesync-modal-backdrop{z-index:80;background:#0f172a80;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.divesync-modal{gap:1rem;width:min(560px,100%);max-height:min(92vh,900px);padding:1rem;display:grid;overflow:auto}.divesync-modal.wide{width:min(920px,100%)}.divesync-modal-actions{justify-content:flex-end;align-items:center;gap:.6rem;display:flex}.divesync-media-preview{color:var(--muted);background:#f8fafc;border:1px dashed #cbd5e1;border-radius:.55rem;justify-content:center;align-items:center;min-height:220px;margin-bottom:1rem;display:flex;overflow:hidden}.divesync-media-preview img{object-fit:cover;width:100%;height:100%;max-height:320px}.staff-summary-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}.staff-toolbar{justify-content:flex-end;display:flex}.staff-summary-card small{align-items:center;gap:.45rem;display:flex}.staff-summary-card i{color:var(--brand);background:#eaf2f8;border-radius:.45rem;justify-content:center;align-items:center;width:30px;height:30px;font-style:normal;font-weight:900;display:inline-flex}.staff-search{min-width:min(360px,100%)}.staff-table th,.staff-table td{white-space:nowrap}.staff-user-cell{align-items:center;gap:.75rem;min-width:230px;display:flex}.staff-avatar{background:var(--brand);color:#fff;border-radius:.45rem;flex:0 0 36px;justify-content:center;align-items:center;width:36px;height:36px;font-size:.9rem;font-weight:900;display:inline-flex}.staff-badge-row{flex-wrap:wrap;align-items:center;gap:.35rem;display:flex}.staff-access-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.75rem;display:grid}.staff-access-tile{background:#f8fafc;justify-content:space-between;align-items:center;min-height:58px;padding:.8rem;display:flex}.staff-access-tile strong{font-size:.9rem}.staff-site-picker{gap:.65rem;padding:.85rem;display:grid}.staff-site-picker>span{color:#334155;font-size:.82rem;font-weight:850}.staff-site-picker>div{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.35rem;display:grid}.customer-login-page{color:#111827;background:#f6f7fb;place-items:center;min-height:100vh;padding:clamp(1rem,3vw,2rem);display:grid}.customer-login-card{background:#fffffff0;border:1px solid #e5e7eb;border-radius:.55rem;width:min(620px,100%);padding:clamp(1.6rem,4vw,2rem);box-shadow:0 24px 70px #0f172a1f}.customer-login-logo{object-fit:contain;width:min(240px,70%);max-height:150px;margin:0 auto 2.2rem;display:block}.customer-login-card-head{text-align:center;margin-bottom:1.7rem}.customer-login-card-head h1{color:#111827;letter-spacing:-.04em;margin:0;font-size:clamp(1.5rem,3vw,1.85rem);line-height:1.2}.customer-login-card-head p{color:#6b7280;margin:.35rem 0 0;font-size:1rem}.customer-login-form{gap:1.2rem;display:grid}.customer-login-form label{gap:.5rem;display:grid}.customer-login-form label span{color:#374151;font-size:.92rem;font-weight:700}.customer-login-form input[type=email],.customer-login-form input[type=password]{color:#111827;background:#fffffff5;border:1px solid #d1d5db;border-radius:.45rem;outline:none;width:100%;min-height:46px;padding:.75rem .9rem}.customer-login-form input:focus{border-color:#0b4a86;box-shadow:0 0 0 3px #0b4a861f}.customer-login-error{color:#e11d48;margin:0;font-size:.88rem;font-weight:700}.customer-login-form button{color:#fff;cursor:pointer;opacity:1;background:#0b4a86;border:0;border-radius:.45rem;min-height:46px;padding:.75rem 1rem;font-weight:800;box-shadow:0 10px 20px #0b4a862e}.customer-login-form button:disabled{cursor:not-allowed;opacity:.72}.customer-login-help{color:#6b7280;text-align:center;margin:1.45rem 0 0;font-size:.94rem}.customer-login-modal-backdrop{z-index:50;background:#0f172a8f;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.customer-login-modal{color:#111827;background:#fff;border:1px solid #e5e7eb;border-radius:.55rem;gap:.8rem;width:100%;max-width:420px;padding:1.25rem;display:grid;box-shadow:0 24px 70px #0f172a38}.customer-login-modal h2{letter-spacing:0;margin:0;font-size:1.15rem;line-height:1.2}.customer-login-modal p{color:#4b5563;margin:0;line-height:1.55}.customer-login-modal button{color:#fff;cursor:pointer;background:#0b4a86;border:0;border-radius:.45rem;justify-self:end;min-height:40px;padding:.55rem 1rem;font-weight:850}@media (max-width:1180px){.divesync-command-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:960px){.divesync-app{grid-template-columns:1fr}.divesync-sidebar{min-height:auto;position:static}.divesync-nav{grid-template-columns:repeat(3,minmax(0,1fr))}.divesync-sidebar-card{display:none}.divesync-topbar{grid-template-columns:1fr;min-height:auto;padding:.8rem;position:static}.divesync-topbar-actions{justify-content:space-between}.divesync-work-grid{grid-template-columns:1fr}}@media (max-width:720px){.divesync-sidebar{padding:.8rem}.divesync-brand{margin:-.8rem -.8rem .4rem}.divesync-nav{grid-template-columns:1fr}.divesync-heading{align-items:stretch;display:grid}.divesync-heading-actions{justify-content:stretch}.divesync-heading-actions form,.divesync-heading-actions button{flex:150px}.divesync-command-grid{grid-template-columns:1fr}.divesync-schedule-list article,.divesync-task-list article{grid-template-columns:1fr;align-items:start}.divesync-schedule-list article>span,.divesync-task-list article>span{justify-self:start}.divesync-tabs{overflow-x:auto}.divesync-tabs button,.divesync-tabs a{flex:1 0 auto}.divesync-form-grid{grid-template-columns:1fr}.divesync-form-grid .span-2{grid-column:auto}}
