:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#243b33;background:#f4f6f3;--bg:#f4f6f3;--card:#ffffff;--text:#243b33;--muted:#7b8982;--line:#e8ede9;--accent:#4a9c7a;--soft:#eaf3ed;--shadow:0 12px 40px #234b3310;color-scheme:light}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 95% 0,#cee4d64a,transparent 50%),var(--bg);min-height:100vh}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;border:0;transition:background .15s,transform .15s}button:active{transform:scale(.98)}button:disabled{cursor:wait;opacity:.6}a{color:var(--accent)}button:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.brand{font-family:"Arial Rounded MT Bold",ui-rounded,-apple-system,sans-serif;font-weight:900;letter-spacing:-2px;font-size:38px;color:var(--text)}.loading{display:grid;place-content:center;text-align:center;min-height:100vh;color:var(--muted)}.shell{display:grid;grid-template-columns:238px 1fr;min-height:100vh}.sidebar{padding:42px 25px 24px;border-right:1px solid var(--line);background:color-mix(in srgb,var(--card) 75%,transparent);display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.sidebar .brand{font-size:33px}.tagline{font-size:11px;letter-spacing:1.2px;text-transform:uppercase;color:var(--muted);margin:10px 0 54px}.nav{display:grid;gap:8px}.nav button{display:flex;align-items:center;gap:12px;padding:14px 17px;border-radius:15px;text-align:left;color:var(--muted);background:none;font-size:14px;font-weight:600}.nav button.active{background:var(--soft);color:var(--accent)}svg.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sidebar-bottom{margin-top:auto}.sidebar-bottom p{font-size:12px;color:var(--muted);line-height:1.8}.profile{display:flex;gap:11px;align-items:center;border-top:1px solid var(--line);padding-top:22px}.avatar{width:39px;height:39px;background:var(--soft);color:var(--accent);border-radius:13px;display:grid;place-items:center;font-weight:700}.profile strong{font-size:13px;display:block}.profile small{color:var(--muted);font-size:11px}.main{max-width:1390px;width:100%;margin:auto;padding:38px 52px 55px;align-self:start}.topbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:48px;font-size:13px;color:var(--muted)}.tools{display:flex;gap:9px;align-items:center}.icon-button{background:var(--card);border:1px solid var(--line);color:var(--text);width:40px;height:40px;border-radius:14px;display:grid;place-items:center}.eyebrow{font-size:11px;letter-spacing:1.8px;text-transform:uppercase;color:var(--accent);font-weight:700;margin:0 0 12px}.heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:29px}h1{font-size:38px;letter-spacing:-1.7px;line-height:1.15;font-weight:650;margin:0 0 12px}h2{font-size:19px;letter-spacing:-.5px;margin:0}h3{font-size:15px;margin:0}p{line-height:1.6}.subtext{color:var(--muted);font-size:14px;margin:0}.button{padding:13px 20px;border-radius:13px;background:var(--accent);color:white;font-weight:650;font-size:13px;display:inline-flex;justify-content:center;align-items:center;gap:9px;text-decoration:none}.secondary{background:var(--soft);color:var(--accent)}.ghost{background:transparent;color:var(--muted)}.danger{background:#fff0ee;color:#bd5146}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:30px}.metric{background:var(--card);border:1px solid var(--line);border-radius:23px;padding:23px;box-shadow:0 5px 20px #234b3303}.metric .label{font-size:12px;color:var(--muted);display:flex;justify-content:space-between;align-items:center}.metric strong{display:block;font-size:36px;letter-spacing:-1.3px;font-weight:600;margin:15px 0 7px}.metric small{font-size:11px;color:var(--muted)}.metric.featured{background:linear-gradient(135deg,#4a9c7a,#6caa89);color:#fff;border-color:transparent}.metric.featured .label,.metric.featured small{color:#ffffffce}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px}.panel{background:var(--card);border:1px solid var(--line);border-radius:24px;padding:25px;box-shadow:var(--shadow);margin-bottom:20px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:25px}.date-field{width:auto;max-width:165px;font-size:12px;padding:10px}.empty{padding:40px 15px;text-align:center}.empty .empty-icon{display:grid;place-items:center;background:var(--soft);color:var(--accent);width:60px;height:60px;border-radius:21px;margin:0 auto 20px}.empty h3{font-size:19px;margin:0 0 10px}.empty p{font-size:13px;color:var(--muted);max-width:330px;margin:0 auto 22px}.session{padding:21px 0;border-top:1px solid var(--line);display:grid;grid-template-columns:42px 1fr auto;gap:13px}.company-icon{width:40px;height:40px;border-radius:13px;background:var(--soft);color:var(--accent);display:grid;place-items:center;font-weight:700;font-size:17px}.session h3{margin:3px 0 7px}.session p{font-size:12px;color:var(--muted);margin:4px 0;white-space:pre-wrap;overflow-wrap:anywhere}.session .description{font-size:13px;color:var(--text);margin-top:12px}.session-right{text-align:right}.session-right strong{font-size:19px;letter-spacing:-.5px;display:block;margin-bottom:9px}.pill{border-radius:8px;padding:5px 8px;font-size:10px;font-weight:600;display:inline-block;background:var(--soft);color:var(--accent)}.pill.draft{background:#fcf1df;color:#b18b40}.session-actions{margin-top:12px}.text-button{color:var(--accent);background:none;font-size:12px;font-weight:650;padding:6px 0}.aside-card h3{font-size:16px;margin:17px 0 9px}.aside-card p{font-size:12px;color:var(--muted);margin:0 0 17px}.aside-card .status{font-size:11px;color:var(--accent)}.aside-card .large-time{font-size:30px;letter-spacing:-1px;margin:15px 0 7px}.aside-icon{background:var(--soft);color:var(--accent);height:42px;width:42px;border-radius:14px;display:grid;place-items:center}.note{font-size:11px;color:var(--muted);text-align:center;margin:24px 0}.filters{display:flex;flex-wrap:wrap;gap:10px}.filters input,.filters select{width:auto;max-width:100%}.company-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:20px}.company-grid .panel{margin:0}.company-grid h2{margin:16px 0 8px}.company-grid p{font-size:13px;color:var(--muted)}.stack{display:grid;gap:18px}.setting-row{padding:18px 0;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line)}.setting-row p{margin:5px 0 0;font-size:12px;color:var(--muted)}.login{max-width:440px;padding:55px 30px;margin:8vh auto 0;text-align:center}.login .brand{font-size:53px}.login .intro{font-size:14px;color:var(--muted);margin:20px 0 36px}.login form{text-align:left;background:var(--card);border:1px solid var(--line);padding:28px;border-radius:24px;box-shadow:var(--shadow)}label{display:grid;gap:8px;font-size:12px;font-weight:600;margin-bottom:17px}input,textarea,select{width:100%;background:var(--bg);border:1px solid var(--line);color:var(--text);border-radius:11px;padding:12px 13px;outline:none;min-height:43px}input:focus,textarea:focus,select:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 14%,transparent)}textarea{resize:vertical;min-height:100px}.full{width:100%}.form-error{font-size:12px;color:#c4544a;min-height:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}dialog{color:var(--text);background:var(--card);border:1px solid var(--line);border-radius:25px;box-shadow:var(--shadow);width:min(560px,calc(100% - 28px));max-height:90vh;padding:29px}dialog::backdrop{background:#15281c55;backdrop-filter:blur(5px)}dialog h2{margin-bottom:9px}dialog .section-head{margin-bottom:20px}dialog .subtext{margin-bottom:20px}.form-actions{display:flex;justify-content:space-between;gap:10px;margin-top:20px}.codebox{font-family:ui-monospace,monospace;font-size:12px;word-break:break-all;background:var(--bg);padding:15px;border-radius:12px;line-height:1.8;user-select:all}.sync-status{display:flex;align-items:center;gap:6px;font-size:11px}.dot{width:6px;height:6px;border-radius:50%;background:var(--accent)}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:var(--text);color:var(--card);padding:14px 23px;border-radius:14px;font-size:13px;box-shadow:var(--shadow);max-width:90%;z-index:100;transition:.2s}#toast.show{opacity:1;transform:translate(-50%,0)}.mobile-brand{display:none}.muted{color:var(--muted)}.privacy{font-size:11px;color:var(--muted);margin-top:25px}.privacy a{color:inherit}body.dark{--bg:#141c19;--card:#1c2722;--text:#e4eee7;--muted:#91a198;--line:#2c3a32;--accent:#80b89b;--soft:#293e32;--shadow:0 12px 40px #00000014;color-scheme:dark;color:var(--text)}body.dark .metric.featured{background:linear-gradient(130deg,#375d48,#48775b)}body.dark .pill.draft{background:#443d28;color:#d8bf7d}body.dark .danger{background:#422c2a;color:#df9c95}@media(min-width:1500px){.main{padding-top:50px}}@media(max-width:1150px){.main{padding:30px}.content-grid{grid-template-columns:1fr}.aside{display:grid;grid-template-columns:1fr 1fr;gap:18px}.aside-card{margin-bottom:0}.shell{grid-template-columns:205px 1fr}.sidebar{padding:35px 20px}.sidebar .brand{font-size:30px}.metrics{gap:12px}.metric{padding:20px}}@media(max-width:760px){.shell{display:block}.sidebar{position:fixed;top:auto;bottom:0;left:0;right:0;height:auto;padding:8px 8px max(10px,env(safe-area-inset-bottom));z-index:20;border-right:0;border-top:1px solid var(--line);background:var(--card)}.sidebar>.brand,.tagline,.sidebar-bottom{display:none}.nav{display:flex;justify-content:space-around;gap:0}.nav button{flex:1;flex-direction:column;gap:6px;padding:9px 4px;font-size:10px;border-radius:11px}.nav svg{width:20px;height:20px}.main{padding:22px 18px 115px}.topbar{margin-bottom:32px}.desktop-date{display:none}.mobile-brand{display:block;font-size:28px}.heading{align-items:flex-start;gap:12px}h1{font-size:31px}.heading .button{font-size:0;padding:12px}.heading .button svg{width:19px}.subtext{font-size:12px}.metrics{grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:23px}.metric{border-radius:18px;padding:14px 12px}.metric .label{font-size:10px}.metric .label svg{display:none}.metric strong{font-size:26px;margin:14px 0 6px}.metric small{font-size:9px;display:block;line-height:1.5}.panel{padding:20px;border-radius:21px}.section-head h2{font-size:17px}.date-field{max-width:145px}.aside{gap:13px}.aside-card{padding:18px}.aside-card p{font-size:11px}.aside-card .button{font-size:11px;padding:10px}.session{gap:9px;grid-template-columns:35px 1fr auto}.company-icon{width:34px;height:34px;border-radius:11px;font-size:14px}.session h3{font-size:13px}.session-right strong{font-size:17px}.session-right .pill{font-size:9px}.sync-status{display:none}.form-grid{gap:10px}dialog{padding:22px}.login{padding:35px 18px;margin-top:5vh}.setting-row{align-items:flex-start;flex-wrap:wrap}.company-grid{grid-template-columns:1fr}.tools{gap:7px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Personal appearance: the hue changes independently of light/dark mode. */
body[data-accent="orange"]{--accent:#d9812c;--soft:#fbefdf;--tint:#efb97540;--hero-a:#c87729;--hero-b:#e4a253}body[data-accent="sky"]{--accent:#368cbd;--soft:#e5f1f8;--tint:#a6d8ef40;--hero-a:#317faa;--hero-b:#68b9d9}body[data-accent="violet"]{--accent:#8b6fcb;--soft:#efe9f8;--tint:#c7b7ee40;--hero-a:#7959b4;--hero-b:#ae91d9}body[data-accent="coral"]{--accent:#d57267;--soft:#faeae6;--tint:#efbbb440;--hero-a:#c56258;--hero-b:#e79b83}body[data-accent="graphite"]{--accent:#718087;--soft:#e8edef;--tint:#c0cbd140;--hero-a:#45565e;--hero-b:#859da6}body[data-accent="sage"]{--accent:#4a9c7a;--soft:#eaf3ed;--tint:#cee4d640;--hero-a:#4a9c7a;--hero-b:#6caa89}body{background:radial-gradient(ellipse at 95% 0,var(--tint,#efb97540),transparent 50%),var(--bg)}body.dark{--bg:#111214;--card:#1b1c1f;--text:#eeeff1;--muted:#94959c;--line:#2c2d31;--tint:#ffffff04}body.dark[data-accent="orange"]{--accent:#f0a04f;--soft:#392b1f;--hero-a:#9b5c22;--hero-b:#c48340}body.dark[data-accent="sky"]{--accent:#70c8f1;--soft:#1c303b;--hero-a:#235470;--hero-b:#438ba9}body.dark[data-accent="violet"]{--accent:#b7a0ed;--soft:#30263e;--hero-a:#534170;--hero-b:#826aa8}body.dark[data-accent="coral"]{--accent:#f1a293;--soft:#3a2928;--hero-a:#78483f;--hero-b:#ba7b6b}body.dark[data-accent="sage"]{--accent:#80b89b;--soft:#29382e;--hero-a:#375d48;--hero-b:#48775b}body.dark[data-accent="graphite"]{--accent:#b5c3cc;--soft:#2d3237;--hero-a:#434d57;--hero-b:#6e7e8b}body .metric.featured,body.dark .metric.featured{background:linear-gradient(130deg,var(--hero-a),var(--hero-b))}.avatar img,.profile-photo{width:100%;height:100%;object-fit:cover;border-radius:inherit}.profile-editor{display:flex;align-items:center;gap:20px;padding:5px 0 23px}.profile-editor .avatar{width:80px;height:80px;font-size:30px;border-radius:25px;flex-shrink:0}.profile-editor p{margin:7px 0 12px;color:var(--muted);font-size:12px}.upload-label{display:inline-flex;margin:0;cursor:pointer}.upload-input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.palette-list{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.palette{background:var(--bg);color:var(--muted);border:1px solid var(--line);padding:13px 15px;border-radius:14px;display:flex;align-items:center;gap:9px;font-size:12px}.palette[aria-pressed="true"]{border-color:var(--accent);color:var(--text);box-shadow:0 0 0 2px var(--soft)}.swatch{height:17px;width:17px;display:inline-block;border-radius:50%;background:var(--swatch)}.swatch.orange{--swatch:#f0a04f}.swatch.sky{--swatch:#70c8f1}.swatch.violet{--swatch:#b7a0ed}.swatch.coral{--swatch:#f1a293}.swatch.sage{--swatch:#80b89b}.swatch.graphite{--swatch:#b5c3cc}.theme-controls{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.theme-controls button[aria-pressed="true"]{background:var(--accent);color:var(--bg)}.aside-card .brand{font-size:25px;letter-spacing:-1px}.profile-preview-title{margin-bottom:18px}@media(max-width:760px){.palette-list{gap:8px}.palette{padding:11px;font-size:11px}.profile-editor{align-items:flex-start;gap:14px}.profile-editor .avatar{width:64px;height:64px;border-radius:20px}}
/* The canvas shows exactly the square exported on confirmation. */
#avatar-crop{display:block;width:min(100%,320px);height:auto;aspect-ratio:1;margin:0 auto 20px;border-radius:20px;outline:1px solid var(--line);cursor:grab;touch-action:none;user-select:none}
#avatar-crop:active{cursor:grabbing}#avatar-crop:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.crop-controls label{display:flex;justify-content:space-between;margin-bottom:6px}.crop-controls input[type=range]{width:100%;padding:0;min-height:32px;accent-color:var(--accent)}
.crop-controls details{margin-top:12px}.crop-controls summary{cursor:pointer;color:var(--muted);font-size:13px;margin-bottom:10px}.crop-actions{display:flex;gap:8px}
@media(max-width:480px){#avatar-crop{width:min(100%,260px)}.crop-actions .button{padding:12px 14px}}

.connection-actions{display:flex;align-items:center;gap:12px;flex-shrink:0;flex-wrap:wrap}
.switch-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:16px 0}.switch-row small{display:block;font-size:11px;color:var(--muted);font-weight:400;margin-top:5px}.switch-row input{width:38px;min-height:24px;flex:none;accent-color:var(--accent)}
.company-icon.has-logo{display:flex;align-items:center;justify-content:center;overflow:hidden;background:#fff;width:110px;height:54px;padding:7px;border:1px solid var(--line)}.company-icon.has-logo img{width:100%;height:100%;object-fit:contain}.session .company-icon.has-logo{width:40px;height:40px;padding:3px}.company-card-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.company-map{height:320px;border-radius:16px;isolation:isolate;background:#e3e7e7}.company-dialog{width:min(900px,calc(100% - 28px))}.site-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:16px 0}.site-toolbar select{flex:1;min-width:150px}.boundary-vertex{background:#fff;border:3px solid #207baa;border-radius:50%;box-shadow:0 1px 4px #0007}.earnings{display:block;font-size:13px;font-weight:650;margin:6px 0 10px}.company-revenue{color:var(--accent)!important;font-weight:650}#session-notes{margin:16px 0}#session-notes summary{font-size:13px;color:var(--accent);cursor:pointer;margin-bottom:15px}.leaflet-container{font-family:inherit}.leaflet-control-attribution{font-size:10px!important}.leaflet-container img{max-width:none}.leaflet-container .leaflet-control a{color:#222}.leaflet-tooltip{color:#222}input[type=color]{padding:4px}
@media(max-width:760px){.company-map{height:280px}.session .company-icon.has-logo{width:34px;height:34px}.company-dialog .form-grid{grid-template-columns:1fr 1fr}}
.company-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:760px){.company-grid{grid-template-columns:1fr}}
.leaflet-control-layers{background:var(--card);color:var(--text);border:1px solid var(--line)!important;border-radius:12px!important;padding:8px 12px!important}.leaflet-control-layers label{display:block;margin:3px 0;font-size:12px;color:var(--text)}.leaflet-control-layers input{display:inline-block;width:auto;min-height:0;margin:0 6px 0 0;padding:0;accent-color:var(--accent)}
.billing-reminder{display:flex;align-items:center;justify-content:space-between;gap:24px}.check-label{display:flex;align-items:center;gap:10px;font-size:14px}.check-label input,.billing-source input{width:19px;height:19px;flex:none;accent-color:var(--accent)}.billing-options{display:flex;flex-wrap:wrap;gap:20px;padding:15px 0}.billing-sources{max-height:380px;overflow:auto}.billing-source{display:flex;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid var(--line);margin:0}.billing-source span{flex:1;min-width:0}.billing-source small{display:block;color:var(--muted);font-weight:400;margin-top:5px;line-height:1.4}.billing-source>strong{white-space:nowrap;font-size:13px}.billing-source:has(input:disabled){opacity:.5}.billing-preview .setting-row{gap:18px}.embedded-invoices .sidebar,.embedded-invoices .topbar{display:none}.embedded-invoices .shell{display:block}.embedded-invoices .main{margin:0;padding:24px}.embedded-invoices .heading>a{display:none}@media(max-width:700px){.billing-reminder{display:block}.billing-reminder>div+div{margin-top:16px}.billing-source{align-items:flex-start}.billing-source>strong{max-width:90px;white-space:normal}.embedded-invoices .main{padding:14px}.billing-options{display:grid}}

@media(max-width:760px){.heading:has(a[href^="https://worklab"]){flex-wrap:wrap}.heading a[href^="https://worklab"]{font-size:12px}.billing-source>span{overflow-wrap:anywhere}}
