.hp-shell{--hp-ink:#17382d;--hp-green:#145f3d;--hp-muted:#6a7870;--hp-line:#e6ebe5;display:flex;min-height:100dvh;background:#f6f8f4;color:var(--hp-ink);font:14px/1.5 Inter,system-ui,sans-serif;color-scheme:light}.hp-shell *{box-sizing:border-box}.hp-shell a{color:inherit;text-decoration:none}.hp-shell button,.hp-shell input,.hp-shell select{font:inherit}.hp-shell button{cursor:pointer}.hp-shell a:focus-visible,.hp-shell button:focus-visible,.hp-shell input:focus-visible,.hp-shell select:focus-visible{outline:3px solid #5aa77e;outline-offset:4px}.hp-sidebar{width:235px;flex-shrink:0;background:#fff;border-right:1px solid var(--hp-line);padding:32px 18px;display:flex;flex-direction:column;min-height:100dvh}.hp-brand{font-size:23px;font-weight:750;display:flex;align-items:center;gap:9px;margin:0 10px 35px;letter-spacing:-1px}.hp-brand>span:first-child{display:grid;place-items:center;background:#e8f0e9;border-radius:10px;width:36px;height:36px}.hp-brand-dot{color:#35945c;margin-left:-8px}.hp-nav-label{font-size:9px;font-weight:700;letter-spacing:1.6px;color:#8a968e;margin:14px 13px 10px}.hp-sidebar nav{display:grid;gap:4px}.hp-sidebar nav a{display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:9px;font-size:12px;color:#627369;min-height:43px}.hp-sidebar nav a:hover{background:#f3f6f1}.hp-sidebar nav a.selected{background:#e6eee5;color:#155d3a;font-weight:650}.hp-nav-active{width:5px;height:5px;border-radius:50%;background:#206c45;margin-left:auto}.hp-sidebar-bottom{margin:55px 4px 0;padding:20px 16px;background:#134c33;color:#fff;border-radius:15px}.hp-sidebar-bottom>strong{display:block;font-size:13px;margin-top:14px}.hp-sidebar-bottom p{font-size:11px;line-height:1.7;color:#bed0c2}.hp-sidebar-bottom a{display:flex;gap:8px;font-size:10px;margin-top:18px;color:#e6f2c8}.hp-leaf{width:44px;height:44px;background:#ffffff16;display:grid;place-items:center;border-radius:50%}.hp-workspace{flex:1;min-width:0}.hp-topbar{height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 38px;border-bottom:1px solid var(--hp-line);background:#fff}.hp-breadcrumb{display:flex;gap:16px;font-size:11px;color:#849087}.hp-breadcrumb strong{color:#254635;font-weight:500}.hp-top-right{display:flex;align-items:center;gap:11px}.hp-avatar{display:grid;place-items:center;width:34px;height:34px;background:#e9f0dd;border:3px solid #fff;border-radius:50%;font-size:10px;font-weight:700;color:#386747;box-shadow:0 0 0 1px #dde6d5}.hp-top-right strong{font-size:10px;display:block}.hp-top-right small{font-size:9px;color:var(--hp-muted);display:block}.hp-preview-label{font-size:9px;border:1px solid #dce5d9;border-radius:20px;padding:4px 9px;margin-right:10px;color:#647c65}.hp-main{max-width:1550px;margin:auto;padding:35px 38px 22px}.hp-welcome{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}.hp-eyebrow{font-size:9px;color:#6c806d;letter-spacing:1.8px;font-weight:700}.hp-welcome h1{font-size:32px;letter-spacing:-1.4px;font-weight:600;line-height:1.2;margin:6px 0 8px}.hp-welcome p{color:var(--hp-muted);font-size:12px;margin:0}.hp-welcome-actions{display:flex;gap:10px}.hp-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:24px;padding:10px 18px;min-height:42px;font-size:11px;font-weight:600;white-space:nowrap}.hp-primary{background:#165e3c;color:#fff!important;box-shadow:0 3px 6px #163c2213}.hp-outline{border:1px solid #d9e0d6;background:#fff}.hp-context{display:flex;align-items:center;gap:22px;font-size:10px;padding-bottom:22px;margin-bottom:22px;border-bottom:1px solid var(--hp-line);color:var(--hp-muted)}.hp-context>div{display:flex;align-items:center;gap:10px}.hp-site-icon{width:34px;height:34px;border-radius:10px;background:#e7eee3;display:grid;place-items:center;color:#256240}.hp-context label small{display:block;font-size:8px;letter-spacing:1px}.hp-context select{background:transparent;color:#244c34;border:0;font-size:11px;font-weight:600;padding:0;max-width:280px;appearance:none}.hp-context>span{display:flex;align-items:center;gap:6px}.hp-context time{margin-left:auto;text-transform:capitalize}.hp-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px}.hp-stat{border:1px solid var(--hp-line);padding:18px 20px;border-radius:16px;background:#fff;transition:transform .18s}.hp-stat:hover{transform:translateY(-3px)}.hp-stat-label{display:flex;align-items:center;justify-content:space-between;font-size:11px}.hp-stat-label span{display:grid;place-items:center;width:23px;height:23px;border:1px solid #e3e9df;border-radius:50%}.hp-stat>strong{display:flex;align-items:center;justify-content:space-between;font-size:35px;font-weight:500;letter-spacing:-1px;margin:8px 0}.hp-stat>strong svg{opacity:.32}.hp-stat>small{font-size:9px;color:var(--hp-muted)}.hp-stat-featured{color:#fff!important;background:linear-gradient(125deg,#124d32,#26744b);border-color:transparent}.hp-stat-featured small{color:#d0e2ca}.hp-stat-featured .hp-stat-label span{border-color:#ffffff30}.hp-bento{display:grid;grid-template-columns:1.05fr .9fr 1fr;gap:18px;align-items:start}.hp-panel{background:#fff;border:1px solid var(--hp-line);border-radius:17px;padding:20px;min-width:0;overflow:hidden}.hp-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.hp-panel-heading h2{font-size:13px;font-weight:650;letter-spacing:-.25px;margin:0;display:flex;align-items:center;gap:7px}.hp-panel-heading>a{font-size:10px;display:flex;align-items:center;gap:5px;color:#40664c}.hp-period{border:1px solid var(--hp-line);border-radius:18px;padding:5px 8px;font-size:8px;white-space:nowrap;color:#627369}.hp-analysis,.hp-focus,.hp-agenda{min-height:272px}.hp-analysis-caption{display:flex;align-items:center;gap:12px;margin-top:18px}.hp-analysis-caption>strong{font-size:29px;font-weight:500}.hp-analysis-caption span{font-size:10px;line-height:1.6}.hp-analysis-caption small{font-size:9px;color:#8a968c}.hp-bars{height:137px;display:flex;align-items:end;justify-content:space-between;gap:7px;padding-top:14px}.hp-bars>div{display:flex;align-items:center;flex:1;flex-direction:column;gap:9px}.hp-bar{width:100%;max-width:34px;background:#c7dfc6;border-radius:9px;position:relative;min-height:5px;animation:hp-grow .6s ease both;transform-origin:bottom}.hp-bar.current{background:#1d6842}.hp-bar span{position:absolute;top:-17px;font-size:8px;left:50%;transform:translate(-50%);color:#59715f}.hp-bars small{font-size:8px;color:#7a8d7b}.hp-focus{position:relative;background:#e7efd9;border-color:#e0e8d3}.hp-soft-icon{background:#d8e6c6;padding:5px;border-radius:8px;display:flex}.hp-focus h3{font-size:25px;line-height:1.15;letter-spacing:-.9px;font-weight:550;margin:22px 0 12px;position:relative;z-index:1}.hp-focus p{font-size:10px;max-width:230px;color:#637657;position:relative;z-index:1}.hp-focus>a{display:flex;align-items:center;gap:12px;font-size:10px;font-weight:650;margin-top:17px;position:relative;z-index:1}.hp-focus-lines{position:absolute;width:180px;height:180px;border:1px solid #a9c19445;border-radius:50%;right:-90px;bottom:-55px;box-shadow:0 0 0 16px #a9c19420,0 0 0 32px #a9c19420,0 0 0 48px #a9c19415}.hp-muted{font-size:10px;color:var(--hp-muted);margin:6px 0 15px}.hp-agenda-items>a{display:flex;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid #edf1ea}.hp-agenda-items>a:last-child{border:0}.hp-agenda-items>a>span:nth-child(2){flex:1;min-width:0}.hp-agenda-items strong{display:block;font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.hp-agenda-items small{display:block;font-size:9px;color:#819080;margin-top:4px}.hp-agenda-dot{width:6px;height:26px;border-radius:4px;background:#bbd3a4}.hp-agenda-items>a:nth-child(2n) .hp-agenda-dot{background:#ecd6a0}.hp-recent{grid-column:span 1;min-height:310px}.hp-count{font-size:9px;background:#eff3e9;border-radius:6px;padding:2px 6px;color:#64805b;margin-left:4px}.hp-search{display:flex;align-items:center;gap:8px;border:1px solid #e7ece2;border-radius:8px;padding:8px 10px;margin:15px 0 2px;color:#869281}.hp-search input{width:100%;border:0;outline:0;background:transparent;font-size:10px;color:#244a34;padding:0}.hp-note-list>a{display:flex;align-items:center;gap:9px;border-bottom:1px solid #edf1e9;padding:12px 0;min-height:53px}.hp-note-list>a:last-child{border:0}.hp-note-list>a>span:nth-child(2){flex:1;min-width:0}.hp-note-list strong{display:block;font-size:10px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hp-note-list small{display:block;font-size:8px;color:#889382;margin-top:3px}.hp-note-icon{background:#eef3e6;color:#739b56;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.hp-note-icon.problem{background:#fcf1e1;color:#ae8756}.hp-status{padding:3px 6px;background:#eef3e5;color:#617f40;font-size:8px;border-radius:5px;white-space:nowrap}.hp-status.progress{background:#f8f0dd;color:#977d38}.hp-empty{display:flex;align-items:center;flex-direction:column;justify-content:center;padding:22px 8px;text-align:center;color:#718569;gap:7px}.hp-empty>svg{opacity:.5}.hp-empty strong{font-size:12px;color:#456344}.hp-empty p{font-size:10px;margin:0;color:#7e8c78}.hp-empty a{display:flex;align-items:center;gap:5px;font-size:10px;color:#286341;margin-top:7px}.hp-progress{min-height:310px}.hp-gauge{width:180px;height:180px;max-width:100%;margin:20px auto 17px;border-radius:50%;background:conic-gradient(from 225deg,#2c754a var(--progress),#edf2e7 0);padding:17px;transform:rotate(-.1deg)}.hp-gauge>div{background:#fff;border-radius:50%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}.hp-gauge strong{font-size:41px;font-weight:550;letter-spacing:-2px}.hp-gauge strong small{font-size:21px}.hp-gauge span{font-size:10px;color:#84947a}.hp-progress>p{display:flex;justify-content:space-between;gap:8px;font-size:9px;color:#829078}.hp-progress>p span{display:flex;align-items:center;gap:5px}.hp-progress>p strong{color:#334e32}.hp-progress i{width:6px;height:6px;background:#2c754a;border-radius:50%;display:inline-block}.hp-progress>p span+span i{background:#cbd9be}.hp-progress-note{display:flex;align-items:center;justify-content:center;gap:5px;border-top:1px solid #eef2e8;padding-top:10px;font-size:8px;color:#7b8b73}.hp-timer{min-width:0;border-radius:17px;padding:20px;background:repeating-radial-gradient(ellipse at 115% 130%,transparent 0 14px,#8bac8114 15px 16px),#123e2c;color:#edf6e5;min-height:310px}.hp-timer .hp-panel-heading h2{font-size:12px}.hp-timer-dot{width:6px;height:6px;background:#6b8174;border-radius:50%}.hp-timer-dot.running{background:#c0ed8a;box-shadow:0 0 0 4px #c0ed8a20}.hp-timer-label{display:block;width:100%;border:0;border-bottom:1px solid #ffffff20;border-radius:0;background:transparent;color:#c6d7bf;font-size:10px!important;padding:8px 0;margin-top:10px}.hp-timer-value{font-size:clamp(29px,3.7vw,52px);font-variant-numeric:tabular-nums;letter-spacing:-1.9px;font-weight:500;text-align:center;margin-top:20px;line-height:1.3}.hp-timer>p{text-align:center;font-size:9px;color:#b1c6aa;margin:6px 0 17px}.hp-timer-controls{display:flex;justify-content:center;gap:13px}.hp-timer-controls button{width:43px;height:43px;border-radius:50%;border:0;background:#e5f2d9;color:#17442c;display:grid;place-items:center}.hp-timer-controls .hp-stop{background:#db5852;color:#fff}.hp-timer-controls button:disabled{opacity:.45;cursor:default}.hp-timer-footer{border-top:1px solid #ffffff18;display:flex;justify-content:space-between;color:#b4c8ad;font-size:8px;margin-top:22px;padding-top:13px}.hp-timer-footer strong{color:#e3f1d6;font-weight:500}.hp-timer details{margin-top:12px;font-size:9px;color:#c1d2b8}.hp-timer summary{cursor:pointer;padding:4px 0;min-height:26px}.hp-session{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid #ffffff15}.hp-session span{min-width:0;overflow-wrap:anywhere}.hp-session small{display:block;font-size:8px;margin-top:4px;color:#a9bea1}.hp-local{font-size:8px;opacity:.7}.hp-footer{display:flex;justify-content:space-between;gap:12px;padding:22px 0 0;font-size:9px;color:#8b9785}.hp-footer>span{display:flex;align-items:center;gap:7px}.hp-footer>span>span{width:5px;height:5px;background:#5a8951;border-radius:50%}.hp-footer a{display:flex;align-items:center;gap:5px}.hp-mobile-menu,.hp-menu-close,.hp-scrim{display:none}@keyframes hp-grow{0%{transform:scaleY(.1)}to{transform:scaleY(1)}}@media(min-width:1550px){.hp-main{padding-top:45px}.hp-bento{gap:22px}.hp-panel,.hp-timer{padding:25px}.hp-recent{grid-column:span 1}.hp-analysis,.hp-focus,.hp-agenda{min-height:290px}.hp-recent,.hp-progress,.hp-timer{min-height:340px}}@media(max-width:1150px){.hp-sidebar{width:200px;padding-left:12px;padding-right:12px}.hp-main{padding:28px 24px}.hp-topbar{padding:0 24px}.hp-context{gap:14px;flex-wrap:wrap}.hp-context time{display:none}.hp-welcome h1{font-size:27px}.hp-bento{grid-template-columns:1fr 1fr}.hp-agenda{grid-column:2;grid-row:2}.hp-recent{grid-row:2}.hp-progress,.hp-timer{grid-row:3}.hp-stats{gap:10px}.hp-stat{padding:14px}.hp-stat>small{font-size:8px}.hp-stat-label{font-size:10px}.hp-timer-value{font-size:47px}}@media(max-width:760px){.hp-sidebar{position:fixed;top:0;bottom:0;left:0;z-index:60;width:245px;overflow:auto;transform:translate(-100%);transition:transform .2s;min-height:100%}.hp-sidebar.is-open{transform:translate(0)}.hp-menu-close{display:block;position:absolute;right:10px;top:12px;border:0;background:none;color:#34553a;padding:8px}.hp-scrim{display:block;position:fixed;inset:0;z-index:59;background:#17382d65;border:0}.hp-mobile-menu{display:grid;place-items:center;border:0;color:#244b32;background:#eef3e8;border-radius:8px;width:38px;height:38px}.hp-topbar{padding:env(safe-area-inset-top) 18px 0;height:calc(68px + env(safe-area-inset-top));gap:12px}.hp-breadcrumb{margin-right:auto}.hp-breadcrumb>span,.hp-breadcrumb>strong{display:none}.hp-top-right>div,.hp-preview-label{display:none}.hp-main{padding:25px 18px calc(25px + env(safe-area-inset-bottom))}.hp-welcome{align-items:start;flex-direction:column;gap:18px}.hp-welcome h1{font-size:30px}.hp-welcome p{font-size:11px}.hp-welcome-actions{width:100%}.hp-welcome-actions a{flex:1}.hp-context{gap:10px;padding-bottom:16px;margin-bottom:16px}.hp-context>div{flex:1}.hp-context>span{font-size:9px}.hp-context select{max-width:210px}.hp-stats{grid-template-columns:1fr 1fr;gap:10px}.hp-stat{padding:15px}.hp-stat>strong{font-size:31px}.hp-stat-label{font-size:10px}.hp-stat>small{font-size:8px}.hp-bento{grid-template-columns:1fr;gap:14px}.hp-bento>*{grid-column:auto;grid-row:auto}.hp-panel,.hp-timer{padding:20px;min-height:0}.hp-timer{grid-row:1}.hp-timer-value{font-size:52px;margin-top:15px}.hp-timer-controls button{width:48px;height:48px}.hp-focus{display:none}.hp-analysis{grid-row:3}.hp-agenda{grid-row:4}.hp-recent{grid-row:2}.hp-bars{height:150px}.hp-progress{grid-row:5}.hp-gauge{width:175px;height:175px}.hp-note-list strong,.hp-agenda-items strong{font-size:12px}.hp-note-list small,.hp-agenda-items small{font-size:10px}.hp-search input{font-size:12px;min-height:26px}.hp-status{font-size:9px}.hp-panel-heading h2{font-size:14px}.hp-footer{font-size:8px;flex-wrap:wrap}.hp-sidebar-bottom{margin-top:25px}}@media(prefers-reduced-motion:reduce){.hp-shell *{animation:none!important;transition:none!important}}.hp-shell{--hp-ink:var(--text);--hp-muted:var(--muted);--hp-line:var(--border);--hp-green:var(--primary);background:var(--bg);color:var(--text);color-scheme:inherit}.hp-embedded{display:block;min-height:0;font-family:inherit}.hp-embedded>.hp-sidebar,.hp-embedded>.hp-scrim,.hp-embedded>.hp-workspace>.hp-topbar{display:none}.hp-embedded .hp-main{padding:0;max-width:none}.hp-embedded .hp-welcome h1{font-size:30px}.hp-embedded .dashboard-shortcut{position:static;display:inline-flex;width:auto;height:auto;min-height:42px;aspect-ratio:auto}.hp-embedded .dashboard-shortcut:before,.hp-embedded .dashboard-shortcut:after{display:none}.hp-embedded .hp-context>div{display:none}.hp-shell .hp-panel,.hp-shell .hp-stat,.hp-shell .hp-sidebar,.hp-shell .hp-topbar,.hp-shell .hp-outline,.hp-shell .hp-gauge>div{background:var(--surface);border-color:var(--border)}.hp-shell .hp-primary{background:var(--accent);color:var(--primary-text)!important}.hp-shell .hp-stat-featured{background:linear-gradient(125deg,color-mix(in srgb,var(--accent) 70%,#14251b),color-mix(in srgb,var(--accent) 85%,#14251b));color:#fff!important}.hp-shell .hp-stat-featured small{color:#ffffffcf}.hp-shell .hp-stat-label span,.hp-shell .hp-period,.hp-shell .hp-search,.hp-shell .hp-note-list>a,.hp-shell .hp-agenda-items>a,.hp-shell .hp-progress-note{border-color:var(--border)}.hp-shell .hp-sidebar nav a,.hp-shell .hp-breadcrumb,.hp-shell .hp-top-right small,.hp-shell .hp-preview-label,.hp-shell .hp-welcome p,.hp-shell .hp-eyebrow,.hp-shell .hp-context,.hp-shell .hp-bars small,.hp-shell .hp-bar span,.hp-shell .hp-analysis-caption small,.hp-shell .hp-focus p,.hp-shell .hp-agenda-items small,.hp-shell .hp-note-list small,.hp-shell .hp-gauge span,.hp-shell .hp-progress>p,.hp-shell .hp-progress-note,.hp-shell .hp-footer,.hp-shell .hp-empty p{color:var(--muted)}.hp-shell .hp-context select,.hp-shell .hp-breadcrumb strong,.hp-shell .hp-panel-heading>a,.hp-shell .hp-empty strong,.hp-shell .hp-empty a,.hp-shell .hp-search input,.hp-shell .hp-progress>p strong{color:var(--text)}.hp-shell .hp-sidebar nav a.selected,.hp-shell .hp-site-icon,.hp-shell .hp-brand>span:first-child,.hp-shell .hp-count,.hp-shell .hp-note-icon,.hp-shell .hp-mobile-menu{background:var(--surface-alt);color:var(--primary)}.hp-shell .hp-focus{background:color-mix(in srgb,var(--accent) 9%,var(--surface));border-color:var(--border)}.hp-shell .hp-soft-icon{background:color-mix(in srgb,var(--accent) 16%,var(--surface));color:var(--primary)}.hp-shell .hp-bar{background:color-mix(in srgb,var(--accent) 30%,var(--surface-alt))}.hp-shell .hp-bar.current{background:var(--primary)}.hp-shell .hp-gauge{background:conic-gradient(from 225deg,var(--primary) var(--progress),var(--surface-alt) 0)}.hp-shell .hp-progress i{background:var(--primary)}.hp-shell .hp-progress>p span+span i{background:var(--border)}.hp-shell .hp-status{background:var(--surface-alt);color:var(--primary)}.hp-shell .hp-status.progress{background:color-mix(in srgb,#a67d23 16%,var(--surface));color:var(--text)}.hp-shell .hp-timer{background-color:#123e2c}:root[data-palette=orange] .hp-shell .hp-timer{background-color:#372a20}:root[data-palette=orange] .hp-shell .hp-timer-controls>button:first-child{background:#f5dfcc;color:#52301a}:root[data-theme=dark] .hp-shell .hp-focus-lines{opacity:.32}:root[data-theme=dark] .hp-shell .hp-stat-featured{background:linear-gradient(125deg,#1a3929,#2b6040)}:root[data-palette=orange][data-theme=dark] .hp-shell .hp-stat-featured{background:linear-gradient(125deg,#4b2b1a,#87522b)}:root[data-theme=dark] .hp-shell .hp-timer{background-color:#102e20}:root[data-palette=orange][data-theme=dark] .hp-shell .hp-timer{background-color:#302219}.hp-embedded .hp-stat-label,.hp-embedded .hp-panel-heading>a{font-size:12px}.hp-embedded .hp-stat>small{font-size:11px}.hp-embedded .hp-welcome p,.hp-embedded .hp-note-list strong,.hp-embedded .hp-agenda-items strong{font-size:13px}.hp-embedded .hp-note-list small,.hp-embedded .hp-agenda-items small{font-size:11px}.hp-embedded .hp-note-list>a{min-height:65px}.hp-embedded .hp-status{font-size:10px}.hp-embedded .hp-panel-heading h2{font-size:15px}.hp-embedded .hp-empty p,.hp-embedded .hp-empty a,.hp-embedded .hp-focus p,.hp-embedded .hp-focus>a{font-size:12px}.hp-embedded .hp-timer-label{font-size:12px!important}.hp-embedded .hp-timer>p{font-size:11px}.hp-embedded .hp-timer-footer,.hp-embedded .hp-timer details{font-size:10px}.hp-embedded .hp-search input{min-height:26px;font-size:12px}.hp-embedded .hp-period{font-size:10px}@media(max-width:760px){.hp-embedded .hp-main{padding:0}.hp-embedded .hp-welcome h1{font-size:26px}.hp-embedded .hp-welcome-actions a{min-height:46px}.hp-embedded .hp-stat-label{font-size:11px}.hp-embedded .hp-stat>small{font-size:10px}.hp-embedded .hp-context{display:none}}.hp-embedded .dashboard-shortcut{flex-direction:row;align-items:center;justify-content:center;padding:10px 18px;border-radius:24px;gap:8px}.hp-embedded .hp-context{color:var(--muted)}.hp-timer-value{display:flex;align-items:center;justify-content:center;letter-spacing:-1px;line-height:1.2;white-space:nowrap}.hp-digit{display:inline-block;position:relative;overflow:hidden;height:1.2em;width:.65em;flex:0 0 .65em;text-align:center;font-variant-numeric:tabular-nums;perspective:160px}.hp-digit-motion{display:block;position:relative;height:100%}.hp-digit-motion>span{display:block;height:100%}.hp-digit-colon{width:.26em;flex:0 0 .26em;text-align:center;transform:translateY(-.06em);opacity:.65}@media(prefers-reduced-motion:no-preference){.hp-digit-motion.changed{animation:hp-digit-roll .42s cubic-bezier(.22,.7,.25,1) both}.hp-digit-motion.changed:before{content:attr(data-previous);position:absolute;inset:auto 0 100%;height:100%;opacity:.65}.hp-play-state{display:grid;place-items:center;animation:hp-control-pop .25s ease-out}.hp-timer.is-running .hp-timer-controls>button:first-child{box-shadow:0 0 0 5px #ffffff08;transition:box-shadow .3s}.hp-timer.is-running .hp-digit-colon{animation:hp-colon-glow 2s ease-in-out infinite}}@keyframes hp-digit-roll{0%{transform:translateY(100%);filter:blur(1px)}to{transform:translateY(0);filter:blur(0)}}@keyframes hp-control-pop{0%{opacity:0;transform:scale(.6) rotate(-25deg)}to{opacity:1;transform:scale(1) rotate(0)}}@keyframes hp-colon-glow{50%{opacity:1}}:root[data-palette=blue] .hp-shell .hp-timer{background-color:#183351}:root[data-palette=blue] .hp-shell .hp-timer-controls>button:first-child{background:#d7e8ff;color:#204370}:root[data-palette=blue][data-theme=dark] .hp-shell .hp-stat-featured{background:linear-gradient(125deg,#1e3654,#355f8b)}:root[data-palette=green][data-theme=dark] .hp-shell .hp-stat-featured{background:linear-gradient(125deg,#1b4035,#28614e)}:root[data-palette=green] .hp-shell .hp-timer{background-color:#123e32}:root[data-palette=sage] .hp-shell .hp-timer{background-color:#253d29}@media(max-width:760px){.hp-timer-value{font-size:clamp(36px,12vw,52px)}}.recovery-controls{display:flex;gap:16px;align-items:end;flex-wrap:wrap;margin:20px 0}.recovery-controls label{display:grid;gap:8px;min-width:0;max-width:100%}.recovery-controls select{min-height:44px;max-width:100%}.recovery-controls>div{display:flex;gap:8px}.recovery-controls button[aria-pressed=true]{border-color:var(--primary);color:var(--primary)}.recovery-card,.history-card{border:1px solid var(--border);background:var(--surface);border-radius:8px;padding:16px;margin:12px 0;overflow-wrap:anywhere;min-width:0}.recovery-card{display:flex;align-items:center;justify-content:space-between;gap:16px}.recovery-card h2{font-size:1.1rem;margin:8px 0}.recovery-card p{margin:6px 0;color:var(--muted)}.recovery-actions{display:flex;gap:8px;flex-shrink:0;flex-wrap:wrap}.history-card header{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}.history-card time,.history-card small{font-size:.8rem;color:var(--muted)}.history-change{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px;padding-top:12px;border-top:1px solid var(--border)}.history-change>strong{grid-column:1/-1}.history-change div{min-width:0}.history-change span{font-size:.75rem;color:var(--muted)}.history-change p{white-space:pre-wrap;max-height:220px;overflow:auto;margin:4px 0;font-size:.9rem}.record-history{margin:18px 0;min-width:0}.record-history>summary{cursor:pointer;min-height:44px;padding:12px;border:1px solid var(--border);border-radius:6px;font-weight:600}@media(max-width:650px){.recovery-card{align-items:stretch;flex-direction:column}.recovery-actions .button{flex:1}.history-change{grid-template-columns:1fr}}.planner-page{--planner-done-ink:#256b48;max-width:1480px;margin-inline:auto}.planner-page-header{display:flex;gap:28px;align-items:center;justify-content:space-between;padding-bottom:20px;border-bottom:1px solid var(--border)}.planner-page-header .page-heading{margin:0;padding:0;border:0}.planner-page-header .page-heading h1{font-size:23px;letter-spacing:-.5px}.planner-page-header .page-heading p{font-size:13px;margin-top:6px}.planner-page-header>.field{width:330px;flex-shrink:0;margin:0}.planner-page-header>.field>span{font-size:11px;color:var(--muted)}.planner-page-header select{min-height:42px;font-size:13px}.planner-top{display:flex;gap:16px;align-items:center;justify-content:space-between;margin:20px 0 14px}.planner-month{display:flex;align-items:center;gap:6px}.planner-month .icon-button{border:1px solid var(--border);border-radius:5px;background:var(--surface);width:40px;min-width:40px;min-height:42px;padding:8px}.planner-month select{padding:8px;width:138px;min-height:42px;font-weight:600;font-size:15px;background-color:transparent;border-color:transparent}.planner-month select[aria-label="Godina planera"]{width:88px}.planner-top-actions{display:flex;gap:8px;align-items:center}.planner-top-actions .button{min-height:42px;font-size:12px;padding:10px 14px}.planner-summary{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:12px 0 18px}.planner-progress{min-width:210px;max-width:340px;flex:1}.planner-progress strong{font-size:12px;font-weight:500;color:var(--muted)}.planner-progress progress{display:block;width:100%;height:4px;margin-top:9px;accent-color:var(--primary)}.planner-breakdown{display:flex;gap:12px 24px;align-items:center;flex-wrap:wrap;font-size:12px;color:var(--muted)}.planner-breakdown>span{display:inline-flex;gap:7px;align-items:center}.planner-breakdown b{font-size:13px;color:var(--text)}.planner-breakdown i{width:6px;height:6px;border-radius:50%;background:var(--muted)}.planner-breakdown [data-status=check] i{background:#db9b47}.planner-breakdown [data-status=ready] i{background:#65a1c8}.planner-list-panel{border:1px solid var(--border);border-radius:6px;background:var(--surface)}.planner-list-controls{padding:0 14px;display:flex;align-items:center;gap:16px;flex-wrap:wrap;border-bottom:1px solid var(--border)}.planner-views{display:flex;gap:0;flex-shrink:0;align-self:stretch}.planner-views .button{min-height:58px;white-space:nowrap;border:0;border-radius:0;border-bottom:2px solid transparent;background:transparent;padding:10px 12px;font-size:12px;color:var(--muted);gap:7px}.planner-views .button:hover{background:var(--surface-alt)}.planner-views .button[aria-pressed=true]{border-bottom-color:var(--primary);color:var(--primary);background:transparent}.planner-views .count-pill{background:var(--surface-alt);color:var(--muted);font-size:11px;min-width:20px;min-height:20px;padding:2px 5px}.planner-views .button[aria-pressed=true] .count-pill{background:color-mix(in srgb,var(--primary) 16%,transparent);color:var(--primary)}.planner-toolbar{display:flex;gap:8px;align-items:center;flex:1;min-width:420px;padding:10px 0}.planner-search{display:flex;align-items:center;gap:8px;border:1px solid var(--border);border-radius:5px;background:var(--bg);padding-left:11px;flex:1;min-width:160px;color:var(--muted)}.planner-search input{border:0;background:transparent;min-width:0;width:100%;min-height:38px;padding:8px;font-size:12px;box-shadow:none}.planner-toolbar select{width:150px;min-height:38px;font-size:12px;padding:8px;background:var(--bg)}.planner-toolbar select[aria-label="Sortiranje stavki"]{width:122px}.planner-table-wrap{width:100%;overflow:auto}.planner-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px}.planner-table th{text-align:left;font-size:10px;letter-spacing:.5px;text-transform:uppercase;color:var(--muted);font-weight:600;background:var(--surface-alt);padding:11px 14px}.planner-table td{padding:15px 14px;border-top:1px solid var(--border);vertical-align:top;overflow-wrap:anywhere}.planner-table th:first-child{width:23%}.planner-table th:nth-child(2){width:12%}.planner-table th:nth-child(3){width:96px}.planner-table th:nth-child(5){width:166px}.planner-table th:nth-child(6){width:220px}.planner-table tbody tr{background:var(--bg)}.planner-table tbody tr:hover{background:color-mix(in srgb,var(--surface-alt) 35%,var(--bg))}.planner-table td>strong{font-size:14px;line-height:1.5;font-weight:600;display:block}.planner-table td[data-empty=true]{color:var(--muted)}.planner-table td small,.planner-table td>a{display:block;font-size:11px;margin-top:6px}.planner-table td>a.text-link{display:inline-flex;min-height:28px;font-weight:500}.planner-table td p{white-space:pre-wrap;margin:0;font-size:12px;line-height:1.6;color:var(--muted)}.planner-table .planner-status{font-size:11px;min-height:36px;width:100%;padding:7px;border-radius:5px;background:var(--surface);border-color:var(--border)}.planner-table .planner-status[data-status=done]{color:var(--planner-done-ink);border-color:color-mix(in srgb,#45986b 35%,var(--border));background:color-mix(in srgb,#45986b 8%,var(--surface))}.planner-table .planner-status[data-status=check]{border-left:3px solid #db9b47}.planner-table .planner-status[data-status=ready]{border-left:3px solid #65a1c8}.planner-actions{display:flex;gap:5px;align-items:flex-start;flex-wrap:wrap}.planner-actions .button{font-size:11px;min-height:36px;padding:7px 8px;flex:1}.planner-edit{min-height:36px;min-width:30px;padding:8px;color:var(--muted)}.planner-table tbody .planner-done{background:color-mix(in srgb,#45986b 4%,var(--bg))}.planner-selected{outline:2px solid var(--primary);outline-offset:-2px}.planner-more{position:relative}.planner-more>summary{list-style:none;cursor:pointer;min-height:36px;min-width:28px;display:grid;place-items:center;color:var(--muted);border-radius:4px}.planner-more>summary::-webkit-details-marker{display:none}.planner-more>summary:hover{background:var(--surface-alt)}.planner-more[open]{flex-basis:100%}.planner-more[open]>summary{margin-left:auto;width:28px;background:var(--surface-alt)}.planner-more>div{display:flex;gap:5px;flex-direction:column;margin-top:6px;padding-top:8px;border-top:1px solid var(--border)}.planner-more>div>details{padding:4px;color:var(--muted)}.planner-more>div>details summary{cursor:pointer;font-size:11px}.planner-utilities{display:flex;gap:16px;justify-content:space-between;align-items:flex-start;margin-top:16px;color:var(--muted);font-size:12px}.planner-settings{flex:1;min-width:0}.planner-settings>summary{list-style:none;display:flex;align-items:center;gap:7px;cursor:pointer;min-height:36px;flex-wrap:wrap}.planner-settings>summary::-webkit-details-marker{display:none}.planner-settings>summary:after{content:"▾";margin-left:3px}.planner-settings[open]>summary:after{content:"▴"}.planner-settings>summary>span{font-size:11px;opacity:.8}.planner-settings-content{padding:14px;border:1px solid var(--border);border-radius:5px;background:var(--surface);max-width:570px;margin-top:8px}.planner-settings-content .field{max-width:470px}.planner-settings-content p{font-size:12px;margin-top:8px}.planner-archive{display:inline-flex;align-items:center;gap:7px;min-height:36px;font-size:11px}.planner-archive:hover{color:var(--primary)}.planner-sync{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted);margin:0 0 12px}.planner-sync p{flex-basis:100%}.planner-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.planner-fields input{min-width:0}.planner-notice{padding:10px 14px;border:1px solid var(--border);display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:12px}@media(max-width:1300px){.planner-list-controls{gap:0}.planner-toolbar{flex-basis:100%;min-width:0;padding-top:0}.planner-views .button{min-height:48px}}@media(max-width:1100px){.planner-page-header{gap:16px}.planner-page-header>.field{width:280px}.planner-table thead{display:none}.planner-table,.planner-table tbody,.planner-table tr,.planner-table td{display:block;width:100%}.planner-table tr{padding:14px;border-bottom:1px solid var(--border)}.planner-table tr:last-child{border-bottom:0}.planner-table td{border:0;padding:4px 0}.planner-table td[data-empty=true]{display:none}.planner-table td:nth-child(2),.planner-table td:nth-child(3){display:inline-block;width:auto;margin-right:18px;font-size:12px;color:var(--muted)}.planner-table td:nth-child(4){padding-bottom:10px}.planner-table td:nth-child(5){display:inline-block;width:170px;vertical-align:top;margin-top:6px}.planner-table td:nth-child(6){display:inline-block;width:calc(100% - 170px);padding-left:12px;vertical-align:top;margin-top:6px}.planner-table .planner-status,.planner-actions .button,.planner-edit,.planner-more>summary{min-height:44px}.planner-more>summary{min-width:36px}.planner-actions .button{flex:0 1 auto;font-size:12px;padding:8px}.planner-more[open]{flex-basis:100%}}@media(max-width:700px){.planner-page-header{display:block;padding-bottom:16px}.planner-page-header .page-heading h1{font-size:21px}.planner-page-header .page-heading p{font-size:12px}.planner-page-header>.field{width:100%;margin-top:14px}.planner-top{flex-wrap:wrap;gap:12px;margin-top:16px}.planner-month{width:100%;display:grid;grid-template-columns:40px minmax(90px,1fr) 80px 40px;gap:4px}.planner-month select,.planner-month select[aria-label="Godina planera"]{width:100%;min-width:0;padding:8px;font-size:14px;min-height:44px}.planner-month .icon-button{min-height:44px}.planner-top-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.planner-top-actions .primary{grid-column:1;grid-row:1}.planner-top-actions .secondary{grid-column:2}.planner-top-actions .button{min-height:44px}.planner-summary{display:block;padding:3px 0 16px}.planner-progress{max-width:none}.planner-breakdown{margin-top:12px;gap:8px 14px;font-size:11px}.planner-list-controls{padding:0 10px}.planner-views{width:100%;display:grid;grid-template-columns:1fr .85fr 1.35fr}.planner-views .button{padding:8px 4px;font-size:11px;gap:4px;min-height:48px;white-space:normal}.planner-toolbar{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px 0}.planner-search{grid-column:1/-1;min-width:0}.planner-search input{min-height:42px}.planner-toolbar select,.planner-toolbar select[aria-label="Sortiranje stavki"]{width:100%;min-width:0;min-height:42px}.planner-table td:nth-child(5){width:100%;margin-top:0}.planner-table td:nth-child(6){display:block;width:100%;padding-left:0;margin-top:4px}.planner-actions{justify-content:flex-end}.planner-actions .button{flex:1}.planner-edit{min-width:44px}.planner-table td>strong{font-size:14px}.planner-table td:nth-child(4):has(p:empty){display:none}.planner-utilities{display:block;margin-top:12px}.planner-archive{margin-top:5px}.planner-settings-content{padding:12px}.planner-fields{grid-template-columns:1fr}.planner-notice{font-size:13px;flex-wrap:wrap}}:root[data-theme=dark] .planner-page{--planner-done-ink:#8ecda8}@media(max-width:1100px){.planner-table td[data-empty=true]{display:none}}.team-stage{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border:1px solid var(--border);border-radius:7px;background:var(--surface);margin-bottom:18px}.team-stage>svg{flex-shrink:0;color:var(--primary)}.team-stage p{margin:5px 0 0;color:var(--muted);line-height:1.5}.team-panel{padding:16px;background:var(--surface);border:1px solid var(--border);border-radius:7px;margin:14px 0}.team-panel summary,.team-permissions summary{cursor:pointer;min-height:44px;align-content:center;font-weight:600}.team-project-row{display:flex;gap:12px;align-items:center;margin:20px 0}.team-project-row>.field{flex:1;max-width:580px}.team-error{padding:12px 16px;background:var(--surface);border-left:3px solid #c55b45;border-radius:4px;line-height:1.5}.team-error button{margin-top:8px}.team-table-wrap{overflow:auto;border:1px solid var(--border);border-radius:6px}.team-table{width:100%;border-collapse:collapse;background:var(--surface);font-size:.9rem}.team-table th,.team-table td{text-align:left;padding:12px;vertical-align:middle;border-bottom:1px solid var(--border)}.team-table th{font-size:.78rem;color:var(--muted)}.team-table small{display:block;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}.team-table td:first-child{min-width:180px}.team-table td:last-child{width:100px}.team-invite{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid var(--border)}.team-invite:last-child{border-bottom:0}.team-invite p{margin:5px 0}.team-invite small{color:var(--muted)}.team-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.team-form{display:grid;gap:16px;min-width:0}.team-form fieldset{display:grid;gap:16px;border:0;padding:0;min-width:0;margin:0}.team-form .field{min-width:0}.team-form input:not([type=checkbox]),.team-form select{max-width:100%;min-width:0}.team-checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:4px}.team-checks label,.team-check{display:flex;align-items:center;gap:10px;min-height:44px;font-size:.9rem}.team-checks input,.team-check input{width:20px;height:20px;min-height:20px;flex-shrink:0}.team-permissions{border:1px solid var(--border);padding:8px 12px;border-radius:6px}.team-activity{list-style:none;padding:0;margin:14px 0}.team-activity li{display:flex;align-items:flex-start;gap:18px;padding:16px 0;border-bottom:1px solid var(--border)}.team-activity time{color:var(--muted);font-size:.82rem;min-width:120px}.team-activity p{margin:5px 0}.team-tabs{margin:16px 0}.team-workspace .section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.team-entry-link{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:4px 8px}@media(max-width:700px){.team-invite{flex-wrap:wrap}.team-table th,.team-table td{padding:10px}.team-table-wrap{max-width:100%}.team-checks{grid-template-columns:1fr}.team-activity li{display:block}.team-activity time{display:block;margin-bottom:6px}.team-workspace .section-heading{align-items:flex-start;flex-wrap:wrap}.team-stage{font-size:.88rem}.team-form{max-width:100%}}@media(max-width:700px){.team-table-wrap{overflow:visible;border:0}.team-table,.team-table tbody{display:block;width:100%;background:transparent}.team-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.team-table tr{display:block;border:1px solid var(--border);border-radius:7px;background:var(--surface);margin-bottom:12px;padding:10px 14px}.team-table td{display:grid;grid-template-columns:85px minmax(0,1fr);gap:8px;align-items:center;border:0;padding:5px 0;min-width:0;overflow-wrap:anywhere}.team-table td:before{content:attr(data-label);color:var(--muted);font-size:.8rem}.team-table td:first-child{display:block;min-width:0;padding-bottom:12px;margin-bottom:6px;border-bottom:1px solid var(--border)}.team-table td:first-child:before{display:none}.team-table td:first-child .text-link{font-size:1rem;justify-content:flex-start}.team-table td:last-child{width:auto}.team-table td:last-child:empty{display:none}}.record-sync{display:inline-flex;align-items:center;gap:6px;font-size:.75rem;line-height:1.4;color:var(--muted);max-width:100%;vertical-align:middle;margin:4px 0}.record-sync svg{flex-shrink:0}.record-sync-ready{color:var(--muted)}.record-sync-error{color:var(--danger,#d85d52)}button.record-sync{background:transparent;border:1px solid currentColor;border-radius:8px;padding:10px;min-height:44px;text-align:left;cursor:pointer}.record-sync-waiting{color:var(--accent,#ff962f)}.formal-fields{margin:16px 0}.formal-mode{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px}.formal-mode button{padding:12px 16px;border:1px solid var(--border);background:var(--surface);color:inherit;border-radius:5px}.formal-mode button.active{border-color:var(--accent,#ff9838);color:var(--accent,#ff9838)}.formal-fields details,.formal-party{border:1px solid var(--border);padding:14px;margin:10px 0;border-radius:5px}.formal-fields summary{font-weight:600;cursor:pointer;min-height:28px}.formal-fields details[open]>summary{margin-bottom:16px}.formal-fields .muted{font-size:12px}.formal-party h3{margin:0 0 14px}.formal-fields input[type=checkbox],.formal-export input[type=checkbox]{width:18px;height:18px;margin-right:8px}.formal-settings .form-grid{margin-top:12px}.formal-preview{width:100%;height:65vh;overflow:auto;background:#b6bec9;padding:12px}.formal-preview canvas{display:block;width:100%;height:auto;max-width:794px;margin:0 auto 12px;box-shadow:0 2px 8px #0003}.formal-preview-dialog{max-width:960px!important}.formal-preview-controls{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:12px 0}.formal-export-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.formal-export-options label{display:flex;align-items:center}.formal-history pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}.formal-logo-preview{max-width:180px;max-height:90px;background:#fff;padding:8px}.formal-settings details>summary{cursor:pointer;padding:10px 0}.formal-business-actions{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0}@media(max-width:600px){.formal-export-options{grid-template-columns:1fr}.formal-fields details{padding:10px}.formal-preview{padding:4px}.formal-mode button{flex:1}}.mobile-navigation{display:none}@media(max-width:760px){.mobile-navigation{display:block;position:relative;flex-shrink:0}.mobile-menu-trigger{min-width:44px;min-height:44px;padding:10px;border:0;background:transparent;border-radius:7px;justify-content:center}.mobile-menu-trigger[aria-expanded=true]{background:var(--surface-alt)}.mobile-navigation-panel{position:absolute;top:calc(100% + 12px);left:0;z-index:60;width:min(360px,calc(100vw - 32px));max-height:calc(100dvh - 180px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:8px;padding:8px;box-shadow:0 12px 32px #0005}.mobile-navigation-panel .nav-caption{padding:8px 12px;margin:0;font-size:.7rem}.mobile-navigation-panel a{display:flex;gap:12px;align-items:center;min-height:48px;padding:10px 12px;font-size:.9rem;border-radius:5px}.mobile-navigation-panel a.active{background:var(--primary);color:var(--primary-text);font-weight:600}.mobile-navigation-panel a:hover:not(.active){background:var(--surface-alt)}.mobile-navigation-management{border-top:1px solid var(--border);margin-top:8px;padding-top:8px}.app-shell .bottom-nav{grid-template-columns:repeat(5,minmax(0,1fr))}.app-shell .bottom-nav a{min-width:0;font-size:.68rem}}@media print{.mobile-navigation{display:none!important}}.calendar-page{min-width:0}.calendar-toolbar,.calendar-period,.calendar-view-buttons,.calendar-search{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.calendar-toolbar{justify-content:space-between;margin-bottom:14px}.calendar-period h2{margin-left:8px;text-transform:capitalize}.calendar-search{margin-bottom:14px}.calendar-search>input{flex:1;min-width:180px;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:8px;padding:12px}.calendar-filters{padding:16px;background:var(--surface);border:1px solid var(--border);border-radius:10px;margin-bottom:16px}.calendar-surface{padding:12px;background:var(--surface);border:1px solid var(--border);border-radius:12px;min-width:0;overflow:hidden}.calendar-surface .fc{--fc-border-color:var(--border);--fc-page-bg-color:var(--surface);--fc-neutral-bg-color:var(--surface-alt);--fc-list-event-hover-bg-color:var(--surface-alt);--fc-today-bg-color:#f59e0b15;--fc-small-font-size:.82rem;color:var(--text)}.calendar-surface .fc th{font-weight:500;font-size:.82rem;padding:8px 0}.calendar-surface .fc-event{cursor:pointer;border-radius:4px;padding:2px 3px;font-size:.8rem}.calendar-surface .fc-daygrid-event-dot{border-color:currentColor}.calendar-surface .fc-daygrid-event{white-space:normal}.calendar-surface .fc-daygrid-day-number{padding:8px;font-size:.86rem}.calendar-surface .fc-daygrid-day-frame{min-height:95px}.calendar-surface .fc-list-event-time{white-space:normal}.calendar-surface .calendar-completed{opacity:.65}.calendar-surface .calendar-overdue{box-shadow:inset 3px 0 #ef4444}.calendar-surface .fc-timegrid-slot{height:32px}.calendar-surface .fc-list-event td{padding:14px 10px}.calendar-surface .fc-popover{background:var(--surface);color:var(--text);max-width:90vw;z-index:10}.calendar-empty{padding:18px;text-align:center;display:grid;justify-items:center;gap:12px}.calendar-footnote{font-size:.78rem;margin-top:12px}.calendar-dialog{width:min(760px,calc(100vw - 24px))}.calendar-dialog .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-dialog .field,.calendar-dialog .field>*{min-width:0;max-width:100%}.calendar-dialog .field{margin-bottom:14px}.calendar-options{margin-top:14px}.calendar-check{display:flex;align-items:center;gap:10px;min-height:48px}.calendar-check input{width:21px;height:21px}.calendar-details{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px;margin:18px 0}.calendar-details dt{color:var(--muted);font-size:.86rem}.calendar-details dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.calendar-details small{display:block;color:var(--muted);margin-top:4px}.calendar-detail-status{border-left:5px solid;padding:8px 12px;background:var(--surface-alt)}.calendar-detail-actions{display:flex;flex-wrap:wrap;gap:8px}.calendar-types{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.calendar-types i{width:12px;height:12px;border-radius:50%}.calendar-types+button{margin-bottom:18px}.calendar-agenda-row{display:grid;gap:5px;text-align:left;width:100%;border:1px solid var(--border);border-left:3px solid var(--primary);border-radius:6px;padding:13px;margin:10px 0;background:var(--surface-alt);color:var(--text)}.calendar-agenda-row span{font-size:.85rem;color:var(--muted)}.calendar-page .calendar-fab{display:none}.calendar-reminder a{text-decoration:underline;margin-right:10px}.note-action-menu{position:relative;flex-shrink:0}.note-action-menu summary{list-style:none;cursor:pointer}.note-action-menu summary::-webkit-details-marker{display:none}.note-action-menu>div{position:absolute;right:0;top:100%;width:190px;z-index:15;border:1px solid var(--border);border-radius:8px;background:var(--surface);box-shadow:0 8px 24px #0003;padding:6px;display:grid}.note-action-menu a,.note-action-menu button{padding:12px;text-align:left;min-height:44px;border:0;background:transparent;border-radius:5px;font-size:.85rem}.note-action-menu a:hover,.note-action-menu button:hover{background:var(--surface-alt)}.note-card:has(.note-action-menu[open]){overflow:visible;z-index:2}.note-title-row:has(.note-action-menu[open]){z-index:2;position:relative}.calendar-nav-link{display:inline-flex;align-items:center;gap:5px}.calendar-date-badge{font-variant-numeric:tabular-nums}@media(max-width:760px){.calendar-period{width:100%}.calendar-period h2{font-size:1rem;flex:1}.calendar-view-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%}.calendar-search>input{flex-basis:100%}.calendar-search .button{padding:9px 12px}.calendar-surface{padding:3px;border-radius:8px}.calendar-surface .fc{font-size:.77rem}.calendar-surface .fc-daygrid-day-number{padding:6px}.calendar-surface .fc-daygrid-day-frame{min-height:82px}.calendar-surface .fc-daygrid-event{font-size:.65rem;line-height:1.25}.calendar-surface .fc-daygrid-event .fc-event-time,.calendar-surface .fc-daygrid-event-dot{display:none}.calendar-surface .fc-timegrid-axis{width:38px}.calendar-surface .fc-timegrid-event .fc-event-title{font-size:.66rem;overflow-wrap:anywhere}.calendar-dialog .form-grid{grid-template-columns:1fr}.calendar-details{grid-template-columns:1fr;gap:5px}.calendar-details dd{margin-bottom:10px}.calendar-page .calendar-fab{display:flex;position:fixed;bottom:calc(90px + env(safe-area-inset-bottom));right:18px;width:56px;height:56px;border-radius:50%;box-shadow:0 6px 20px #0005;z-index:19}.calendar-detail-actions .button{flex:1 1 45%}.calendar-footnote{margin-bottom:25px}.calendar-dialog{overflow-x:hidden}.note-title-row .icon-button{min-width:40px;padding:8px}}.calendar-recurrence{grid-column:1/-1;padding:12px;border:1px solid var(--border);border-radius:8px}.calendar-recurrence fieldset{border:0;padding:0;margin:0 0 16px;min-width:0}.calendar-weekdays{display:flex;flex-wrap:wrap;gap:8px}.calendar-weekdays label{display:flex;gap:6px;align-items:center;min-height:44px;padding:5px}.calendar-weekdays input{width:20px;height:20px}.calendar-page .page-heading{margin-bottom:22px}.calendar-workspace{border:1px solid var(--border);border-radius:10px;background:var(--surface);overflow:hidden}.calendar-controls{padding:18px 20px 14px}.calendar-workspace .calendar-toolbar{margin:0 0 16px;gap:16px}.calendar-workspace .calendar-period{gap:12px}.calendar-workspace .calendar-period h2{font-size:1.25rem;margin:0;letter-spacing:-.025em}.calendar-arrows{display:flex;border:1px solid var(--border);border-radius:6px;overflow:hidden}.calendar-arrows .icon-button{min-width:38px;min-height:40px;padding:8px;border-radius:0}.calendar-arrows .icon-button+button{border-left:1px solid var(--border)}.calendar-workspace .calendar-today{min-height:36px;padding:6px 13px;font-size:.8rem}.calendar-workspace .calendar-view-buttons{gap:2px;flex-wrap:nowrap;padding:3px;border:1px solid var(--border);border-radius:7px;background:var(--bg)}.calendar-workspace .calendar-view-buttons .button{min-height:36px;padding:7px 16px;border:0;background:transparent;color:var(--muted);border-radius:4px;box-shadow:none}.calendar-workspace .calendar-view-buttons [aria-pressed=true]{background:var(--surface-alt);color:var(--text);box-shadow:0 1px 3px #0002}.calendar-workspace .calendar-search{margin:0;gap:8px}.calendar-search-field{display:flex;align-items:center;gap:9px;flex:1 1 220px;min-width:0;color:var(--muted);border:1px solid var(--border);border-radius:6px;padding-left:12px;background:var(--bg)}.calendar-search-field input{min-width:0;width:100%;background:transparent;color:var(--text);border:0;border-radius:6px;padding:10px 12px 10px 0;min-height:42px}.calendar-search-field:focus-within{outline:2px solid var(--primary);outline-offset:2px}.calendar-search-field input:focus{outline:none;box-shadow:none}.calendar-team-scope{display:flex;align-items:center;gap:6px;min-width:0;max-width:280px;color:var(--muted);padding-left:10px;border:1px solid var(--border);border-radius:6px}.calendar-team-scope select{max-width:100%;min-width:0;border:0;background:transparent;color:var(--text);min-height:42px;font-size:.8rem;padding:8px}.calendar-workspace .calendar-search .button{min-height:42px;font-size:.8rem;padding:8px 12px}.calendar-filter-dot{width:6px;height:6px;border-radius:50%;background:var(--primary)}.calendar-workspace .calendar-filters{margin:0;padding:16px 20px;border:0;border-top:1px solid var(--border);border-radius:0;background:var(--bg)}.calendar-workspace .calendar-surface{border:0;border-top:1px solid var(--border);border-radius:0;padding:0}.calendar-workspace .fc{--fc-today-bg-color:transparent;--fc-border-color:color-mix(in srgb,var(--border) 70%,transparent)}.calendar-workspace .fc .fc-scrollgrid{border:0}.calendar-workspace .fc .fc-scrollgrid-section>td{border-right:0;border-bottom:0}.calendar-workspace .fc th{padding:9px 0;background:var(--bg);color:var(--muted);font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;border-right:0}.calendar-workspace .fc .fc-daygrid-day-top{flex-direction:row;padding:8px 8px 3px}.calendar-workspace .fc .fc-daygrid-day-number{display:flex;align-items:center;justify-content:center;min-width:28px;height:28px;padding:0;font-weight:600;font-size:.78rem;border-radius:6px}.calendar-workspace .fc .fc-day-today .fc-daygrid-day-number{background:var(--accent);color:var(--primary-text)}.calendar-workspace .fc .fc-day-today{background:color-mix(in srgb,var(--primary) 3%,var(--surface))}.calendar-workspace .fc .fc-day-other{background:color-mix(in srgb,var(--bg) 55%,var(--surface))}.calendar-workspace .fc .fc-day-sat:not(.fc-day-today),.calendar-workspace .fc .fc-day-sun:not(.fc-day-today){background:color-mix(in srgb,var(--bg) 30%,var(--surface))}.calendar-workspace .fc .fc-daygrid-day-frame{min-height:115px}.calendar-workspace .fc .fc-daygrid-day-events{margin:0 4px 8px}.calendar-workspace .fc .fc-daygrid-event,.calendar-workspace .fc .fc-timegrid-event{background:color-mix(in srgb,var(--event-accent) 14%,var(--surface))!important;color:var(--text)!important;border:0;border-left:3px solid var(--event-accent);padding:0;border-radius:3px;box-shadow:none}.calendar-workspace .fc .fc-daygrid-event{margin:2px 0}.calendar-workspace .fc .fc-event:hover{filter:brightness(1.12)}.calendar-workspace .fc .fc-event:focus-visible{outline:2px solid var(--primary);outline-offset:1px}.calendar-event-content{color:var(--text);display:flex;align-items:baseline;gap:5px;padding:5px 6px;min-width:0;max-width:100%;overflow:hidden;font-size:.75rem;line-height:1.4}.calendar-workspace .fc-daygrid-event .calendar-event-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;overflow-wrap:anywhere}.calendar-event-meta{display:flex;align-items:center;gap:4px;flex-shrink:0;font-size:.66rem;font-weight:500;color:var(--muted);font-variant-numeric:tabular-nums}.calendar-event-meta:empty{display:none}.calendar-event-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.calendar-workspace .fc-timegrid-event .calendar-event-content{display:block;padding:4px}.calendar-workspace .fc-timegrid-event .calendar-event-title{display:block;white-space:normal;overflow-wrap:anywhere}.calendar-workspace .fc-list-event .calendar-event-title{white-space:normal}.calendar-workspace .fc .fc-daygrid-more-link{font-size:.7rem;font-weight:600;color:var(--muted);padding:4px 6px;min-height:28px;display:inline-flex;align-items:center}.calendar-workspace .fc .fc-popover{border:1px solid var(--border);box-shadow:0 8px 32px #0003;border-radius:8px}.calendar-workspace .fc .fc-popover-header{padding:12px;background:var(--surface-alt)}.calendar-workspace .fc .fc-popover-body{padding:8px;min-width:240px}.calendar-workspace .fc .fc-popover .calendar-event-title{white-space:normal}.calendar-workspace .fc .calendar-completed .calendar-event-title{text-decoration:line-through}.calendar-workspace .fc .calendar-overdue{border-left-color:#ef4444}.calendar-legend{display:flex;gap:18px;align-items:center;flex-wrap:wrap;padding:12px 20px;border-top:1px solid var(--border);font-size:.72rem;color:var(--muted)}.calendar-legend>span{display:flex;align-items:center;gap:6px}.calendar-today-dot{width:7px;height:7px;border-radius:2px;background:var(--primary)}.calendar-legend-hint{margin-left:auto}.calendar-page .calendar-footnote{font-size:.72rem;opacity:.8}@media(max-width:1100px){.calendar-team-scope{max-width:230px}.calendar-search-field{flex-basis:200px}.calendar-workspace .calendar-search .button{padding:8px}}@media(max-width:760px){.calendar-page .page-heading{margin-bottom:16px;align-items:center}.calendar-page .page-heading h1{font-size:1.5rem}.calendar-page .page-heading .muted{font-size:.8rem}.calendar-page .heading-action .button{font-size:.78rem;padding:10px}.calendar-controls{padding:12px}.calendar-workspace .calendar-toolbar{gap:12px;margin-bottom:12px}.calendar-workspace .calendar-period{gap:8px;flex-wrap:nowrap}.calendar-workspace .calendar-period h2{font-size:1.05rem;flex:1}.calendar-arrows .icon-button{min-width:36px;min-height:44px}.calendar-workspace .calendar-today{min-height:44px}.calendar-workspace .calendar-view-buttons{display:grid;width:100%;grid-template-columns:repeat(4,minmax(0,1fr))}.calendar-workspace .calendar-view-buttons .button{min-height:40px;padding:7px 4px;font-size:.8rem}.calendar-search-field{flex-basis:100%}.calendar-team-scope{flex-basis:100%;max-width:none;width:100%}.calendar-team-scope select{flex:1}.calendar-workspace .calendar-search .button{flex:1;min-height:44px;padding:8px 6px;font-size:.75rem}.calendar-workspace .fc th{font-size:.63rem;padding:8px 0;letter-spacing:0}.calendar-workspace .fc .fc-daygrid-day-top{padding:5px 2px 2px}.calendar-workspace .fc .fc-daygrid-day-number{height:25px;min-width:25px;font-size:.7rem}.calendar-workspace .fc .fc-daygrid-day-frame{min-height:90px}.calendar-workspace .fc .fc-daygrid-day-events{margin:0 1px 5px}.calendar-workspace .fc .fc-daygrid-event{border-left-width:2px}.calendar-workspace .fc-daygrid-event .calendar-event-content{display:block;padding:3px 2px;font-size:.61rem;line-height:1.3}.calendar-workspace .fc-daygrid-event .calendar-event-meta{display:none}.calendar-workspace .fc-daygrid-event .calendar-event-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;overflow-wrap:anywhere}.calendar-workspace .fc .fc-daygrid-more-link{font-size:.6rem;padding:3px 1px;min-height:30px}.calendar-legend{padding:10px 12px;gap:12px;font-size:.65rem}.calendar-legend-hint{display:none!important}.calendar-workspace .calendar-filters{padding:12px}}.calendar-workspace .fc .fc-event-main{color:var(--text)}.drawing-modal.dialog{width:calc(100vw - 24px);max-width:1700px;height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);padding:16px;overflow:auto}.drawing-editor{display:flex;flex-direction:column;min-height:70vh}.drawing-toolbar,.drawing-view-actions{display:flex;flex-wrap:wrap;gap:6px;padding:8px 0}.drawing-toolbar .button,.drawing-view-actions .button{min-height:44px;padding:8px 12px;font-size:.85rem}.drawing-workspace{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;flex:1}.drawing-stage{min-width:0}.drawing-canvas{display:block;width:100%;height:max(340px,55dvh);background:#2c3340;touch-action:none;overscroll-behavior:contain;border-radius:8px;-webkit-user-select:none;user-select:none}.drawing-properties{min-width:0;max-height:65dvh;overflow-y:auto;overflow-x:hidden;padding:0 8px 12px;overflow-wrap:anywhere}.drawing-properties .field{margin-bottom:12px}.drawing-properties fieldset{border:1px solid var(--border);margin:12px 0;border-radius:8px}.drawing-colors{display:flex;flex-wrap:wrap;gap:10px;padding:4px}.drawing-colors button{width:44px;height:44px;flex:0 0 44px;border:3px solid transparent;border-radius:50%}.drawing-colors button[aria-pressed=true]{outline:3px solid var(--text);outline-offset:2px}.drawing-footer{display:flex;justify-content:flex-end;gap:12px;padding:12px 0 calc(12px + env(safe-area-inset-bottom));position:sticky;bottom:-16px;background:var(--surface)}.drawing-attachments{border-top:1px solid var(--border);margin:22px 0;padding-top:18px}.drawing-attachments .section-heading{flex-wrap:wrap;gap:12px}.drawing-attachment{padding:16px;margin:12px 0;border:1px solid var(--border);border-radius:12px}.drawing-attachment img{display:block;width:100%;max-height:350px;object-fit:contain;background:#fff}.drawing-source-link{margin:12px 0;overflow-wrap:anywhere}.drawing-source-link small{display:block;color:var(--muted)}.drawing-pin-row{display:block;width:100%;text-align:left;padding:12px;margin:6px 0;border:1px solid var(--border);border-radius:8px;color:var(--text);background:var(--surface)}.drawing-preview-button{border:0;padding:0;background:none;width:100%}.drawing-source-picker{max-width:850px;margin:auto}.drawing-source-picker .field{margin:16px 0}.drawing-document-picker{padding:16px;border:1px solid var(--border);border-radius:8px;margin:16px 0}.drawing-document-picker button{display:block;width:100%;margin:6px 0;text-align:left;overflow-wrap:anywhere}@media(max-width:800px){.drawing-workspace{grid-template-columns:1fr}.drawing-properties{max-height:none}.drawing-canvas{height:48dvh;min-height:280px}.drawing-modal.dialog{width:100vw;height:100dvh;max-height:100dvh;padding:calc(12px + env(safe-area-inset-top)) 12px 12px;border-radius:0}.drawing-toolbar{flex-wrap:nowrap;overflow-x:auto}.drawing-toolbar .button{white-space:nowrap;flex-shrink:0}}.drawing-context{position:fixed;z-index:20;display:flex;flex-direction:column;gap:6px;padding:10px;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:0 12px 30px #0005}.drawing-pin-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:12px}.drawing-pin-photos img,.drawing-pin-photos .photo-image{width:100%;height:72px;object-fit:cover;border-radius:6px}.drawing-properties .form-grid{grid-template-columns:minmax(0,1fr);gap:12px}.drawing-properties .field,.drawing-properties fieldset,.drawing-properties section{min-width:0;max-width:100%}.drawing-properties input,.drawing-properties select,.drawing-properties textarea{min-width:0;width:100%;max-width:100%;box-sizing:border-box}.drawing-properties .button{max-width:100%;white-space:normal;overflow-wrap:anywhere}.note-templates{padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid var(--border)}.template-choices{display:flex;flex-wrap:wrap;gap:8px}.template-preview{padding:16px;border:1px solid var(--border);border-radius:10px;margin:14px 0;background:var(--surface-alt)}.template-preview p{margin:8px 0}.template-body{white-space:pre-wrap;font-size:.9rem}.note-templates .button{min-height:44px}@media(max-width:480px){.template-choices{display:grid;grid-template-columns:1fr}.note-templates>button{width:100%}}.before-after-panel{padding:16px;border:1px solid var(--border);border-radius:12px;margin:18px 0}.before-after-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.before-after-grid>div{min-width:0}.before-after-grid label{display:block;font-weight:700}.before-after-grid select{width:100%;margin:8px 0;min-height:44px}.compare-photo{width:100%;height:240px;background:var(--surface-alt);border:1px solid var(--border);border-radius:8px;padding:4px;cursor:zoom-in}.compare-photo img{width:100%;height:100%;object-fit:contain}.before-after-grid small{display:block;margin-top:8px;color:var(--muted)}@media(max-width:500px){.compare-photo{height:180px}.before-after-panel{padding:10px}.before-after-grid{gap:8px}}#notifications .calendar-check{display:flex;align-items:center;gap:10px;min-height:44px;margin:0}#notifications .calendar-check input{width:20px;height:20px;flex:0 0 20px;accent-color:var(--primary)}#notifications details .form-stack{padding-top:16px}#notifications .backup-buttons{display:flex;flex-wrap:wrap;gap:10px}#notifications .backup-buttons .button{flex:0 1 auto}#notifications .settings-row{gap:12px}#notifications .settings-row span{overflow-wrap:anywhere;min-width:0}@media(max-width:640px){#notifications .backup-buttons{display:grid;grid-template-columns:1fr}#notifications .backup-buttons .button{width:100%}}.documents-module{--doc-panel:var(--surface);font-size:13px}.doc-location-bar{display:flex;align-items:center;gap:10px;border:1px solid var(--border);background:var(--surface);padding:10px 12px}.doc-location-bar>.doc-path{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.doc-path{overflow-wrap:anywhere;font-family:ui-monospace,Consolas,monospace;font-size:12px}.doc-connection{border:1px solid var(--border);padding:16px;display:flex;flex-wrap:wrap;gap:16px;align-items:start;background:var(--surface)}.doc-connection>div{flex:1;min-width:220px}.doc-connection strong{display:flex;align-items:center;gap:8px}.doc-connection p{font-size:12px;margin:8px 0}.doc-pair{display:flex;align-items:end;gap:8px}.doc-error{border-left:3px solid var(--red);padding:12px;background:var(--surface);white-space:pre-line}.doc-error p{margin:0 0 10px}.doc-toolbar{display:flex;flex-wrap:wrap;gap:6px;padding:14px 0 10px}.doc-toolbar .button{font-size:12px;min-height:40px;padding:8px 12px}.doc-searchbar{display:flex;gap:8px;align-items:center;padding:10px 12px;border:1px solid var(--border);border-bottom:0;background:var(--surface)}.doc-search{display:flex;align-items:center;gap:8px;flex:1;min-width:200px}.doc-search input{border:0;background:transparent;padding:8px;min-height:40px}.doc-searchbar select{width:auto;max-width:160px;min-height:40px;font-size:12px}.doc-view-buttons{display:flex;gap:4px}.doc-view-buttons .active{color:var(--accent);background:var(--surface-alt)}.doc-body{border:1px solid var(--border);display:flex;min-height:540px;align-items:stretch;background:var(--surface)}.doc-tree{width:220px;flex-shrink:0;border-right:1px solid var(--border);padding:8px;background:var(--surface-alt)}.doc-tree h3{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);padding:8px}.doc-tree button{display:flex;align-items:center;gap:8px;width:100%;min-height:38px;text-align:left;font-size:12px;padding:8px;border:0;border-radius:3px;background:transparent;color:var(--text)}.doc-tree button svg{flex-shrink:0;color:var(--muted)}.doc-tree button:hover,.doc-tree button.active{background:var(--surface);color:var(--accent)}.doc-tree button.active svg{color:var(--accent)}.doc-content{flex:1;min-width:0;position:relative}.doc-content.doc-dragging{outline:3px dashed var(--accent);outline-offset:-5px}.doc-content.doc-dragging:after{content:"Pustite fajlove za dodavanje u ovaj folder";position:absolute;inset:60px 10px auto;padding:25px;background:var(--surface);border:2px dashed var(--accent);text-align:center;pointer-events:none;z-index:3}.doc-breadcrumb{display:flex;flex-wrap:wrap;gap:4px;align-items:center;padding:8px 12px;border-bottom:1px solid var(--border);min-height:42px}.doc-breadcrumb span{display:inline-flex;align-items:center;gap:4px}.doc-breadcrumb button{border:0;background:transparent;color:var(--text);padding:7px 3px;font-size:12px}.doc-breadcrumb button:hover{color:var(--accent);text-decoration:underline}.doc-content-status{font-size:11px;color:var(--muted);padding:9px 12px;border-bottom:1px solid var(--border);overflow-wrap:anywhere}.doc-loading{padding:20px;color:var(--muted)}.doc-table-scroll{overflow-x:auto}.doc-table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}.doc-table th{font-weight:600;color:var(--muted);text-align:left;background:var(--surface-alt);padding:10px 12px;font-size:10px;text-transform:uppercase;letter-spacing:.03em}.doc-table td{border-bottom:1px solid var(--border);padding:3px 12px;height:46px;max-width:260px}.doc-table tr:hover,.doc-table .selected{background:var(--surface-alt)}.doc-name{display:flex;align-items:center;gap:9px;text-align:left;color:var(--text);background:transparent;border:0;padding:7px 0;min-height:40px;max-width:360px;font-size:13px}.doc-name span{overflow:hidden;text-overflow:ellipsis}.doc-cell-path{overflow:hidden;text-overflow:ellipsis;color:var(--muted);font-size:11px}.doc-icon{flex-shrink:0;color:var(--muted)}.doc-icon-folder{color:#dca547;fill:#dca54718}.doc-icon-pdf{color:#d68076}.doc-icon-excel{color:#66a786}.doc-icon-word{color:#7da7d6}.doc-icon-images{color:#c599d2}.doc-icon-dwg,.doc-icon-revit{color:#f4a359}.doc-star{color:#e4ac51;fill:#e4ac51}.doc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;padding:12px}.doc-grid article{border:1px solid var(--border);border-radius:3px;min-width:0}.doc-grid article:hover,.doc-grid article.selected{background:var(--surface-alt)}.doc-grid-item{background:transparent;border:0;color:var(--text);width:100%;text-align:left;display:flex;align-items:start;flex-direction:column;gap:8px;padding:14px;min-height:140px}.doc-grid-item strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}.doc-grid-item small{font-size:10px;color:var(--muted);overflow-wrap:anywhere}.doc-grid-actions{display:flex;justify-content:space-between;padding:0 5px 5px}.doc-grid-actions .icon-button{min-width:36px;min-height:36px}.doc-more{margin:16px}.doc-preview{width:320px;flex-shrink:0;border-left:1px solid var(--border);padding:12px}.doc-preview-heading{display:flex;justify-content:space-between;align-items:center}.doc-preview-heading strong{font-size:12px}.doc-preview-media{min-height:180px;display:flex;flex-direction:column;justify-content:center;align-items:center;background:var(--surface-alt);padding:6px;margin:10px 0}.doc-preview-media iframe{width:100%;height:380px;border:0;background:#fff}.doc-preview-media .zoom-viewer{width:100%}.doc-preview-media .zoom-stage{height:280px;min-height:0}.doc-preview-media img{max-width:100%;max-height:280px;object-fit:contain}.doc-preview-media .zoom-help{font-size:10px}.doc-preview-media .zoom-toolbar{padding:3px}.doc-preview-media p{font-size:12px;padding:8px;text-align:center}.doc-preview h3{font-size:14px;overflow-wrap:anywhere}.doc-preview dl{font-size:11px;display:grid;grid-template-columns:75px 1fr;gap:10px 8px;padding:12px 0}.doc-preview dt{color:var(--muted)}.doc-preview dd{margin:0;overflow-wrap:anywhere}.doc-preview .button{font-size:11px}.doc-footnote{font-size:11px;color:var(--muted);line-height:1.6}.doc-menu-dialog{max-width:400px}.doc-menu{display:flex;flex-direction:column;gap:3px}.doc-menu button,.doc-folder-picker button{min-height:44px;display:flex;align-items:center;gap:12px;text-align:left;background:transparent;border:0;color:var(--text);padding:10px 12px;border-radius:3px}.doc-menu button:hover,.doc-folder-picker button:hover{background:var(--surface-alt)}.doc-folder-picker{border:1px solid var(--border);max-height:350px;overflow:auto}.doc-folder-picker button{width:100%}.doc-location{padding:14px;border:1px solid var(--border);margin-top:12px}.doc-location h3{font-size:14px;margin:0 0 8px}.doc-location .action-row{flex-wrap:wrap}.documents-module .button:disabled{cursor:wait}@media(min-width:1500px){.doc-tree{width:235px}.doc-preview{width:370px}.doc-preview-media iframe{height:460px}}@media(max-width:1250px){.doc-body{flex-wrap:wrap}.doc-preview{width:100%;border-left:0;border-top:1px solid var(--border);display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.doc-preview-heading{grid-column:1/-1}.doc-preview-media{grid-row:2/7}.doc-preview-media iframe{height:330px}.doc-preview dl{margin:0}.doc-tree{width:190px}.doc-table td{max-width:200px}}@media(max-width:760px){.doc-location-bar{flex-wrap:wrap}.doc-location-bar>.doc-path{flex-basis:85%;white-space:normal}.doc-searchbar{flex-wrap:wrap;padding:8px}.doc-search{flex-basis:100%;min-width:0}.doc-searchbar select{flex:1;max-width:none;min-width:0}.doc-body{display:block;min-height:400px}.doc-tree{width:100%;display:flex;flex-wrap:nowrap;overflow-x:auto;gap:4px;border-right:0;border-bottom:1px solid var(--border);padding:6px}.doc-tree h3{display:none}.doc-tree button{width:auto;white-space:nowrap;flex-shrink:0;border:1px solid var(--border);min-height:44px}.doc-content .empty-state{padding:32px 12px}.doc-toolbar .button{min-height:44px}.doc-preview{display:block}.doc-table td{padding:3px 9px;max-width:240px}.doc-table th{padding:10px 9px}.doc-connection,.doc-pair{display:block}.doc-menu button{min-height:48px}.doc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.doc-breadcrumb button{min-height:38px}.doc-content-status{padding:12px}}.doc-tree{max-height:650px;overflow-y:auto}.doc-table-scroll{max-height:620px}.doc-grid{max-height:620px;overflow-y:auto}@media(max-width:760px){.doc-tree{max-height:none;overflow-y:hidden}.doc-grid,.doc-table-scroll{max-height:none}}@font-face{font-family:Noto;src:url(/fonts/NotoSans-Regular.ttf) format("truetype");font-weight:400;font-style:normal;font-display:swap}:root{font-family:Noto,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#25383e;background:#f4f6f8;font-synthesis:weight;--bg:#f4f6f8;--surface:#fff;--surface-alt:#f7f9fa;--text:#25383e;--muted:#607177;--border:#e1e7ea;--primary:#153d3b;--primary-hover:#245751;--primary-text:#fff;--accent:#d9ed89;--red:#ac373a;--red-bg:#fceced;--shadow:0 4px 22px #1c344508;color-scheme:light}:root[data-theme=dark]{color-scheme:dark;--bg:#111c21;--surface:#1a292f;--surface-alt:#1d3037;--text:#edf3f5;--muted:#abbdc4;--border:#33464d;--primary:#d9ed89;--primary-hover:#e6f5b5;--primary-text:#173533;--red:#ff9b9c;--red-bg:#40272d;--shadow:0 4px 22px #0002;background:var(--bg);color:var(--text)}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}a{color:inherit;text-decoration:none}button{color:inherit}img{max-width:100%}h1,h2,h3,p{margin:0}h1{font-size:2rem;line-height:1.24;letter-spacing:-1px;font-weight:700;overflow-wrap:anywhere}h2{font-size:1.22rem;line-height:1.4;letter-spacing:-.35px}h3{font-size:1.02rem;line-height:1.5}p{line-height:1.65}small{font-size:.8rem}svg{flex-shrink:0;vertical-align:middle}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #729542;outline-offset:3px}button:disabled{pointer-events:none}.muted{color:var(--muted)}.danger-text{color:var(--red)!important}.eyebrow{color:var(--muted);font-size:.75rem;font-weight:700;letter-spacing:1.8px;margin-bottom:12px;text-transform:uppercase}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:10px;min-height:46px;padding:11px 18px;border:1px solid transparent;font-size:.9rem;line-height:1.4;font-weight:600;white-space:normal;text-align:center;transition:background .15s}.button.primary{background:var(--primary);color:var(--primary-text)}.button.primary:hover{background:var(--primary-hover)}.button.secondary:hover{background:var(--surface-alt)}.button.ghost{background:transparent;color:var(--muted)}.button.ghost:hover{background:var(--surface-alt)}.button.danger{background:#ae3438;color:#fff}.button.lime{background:var(--accent);color:#153d3b}.button.small{font-size:.85rem;padding:8px 12px;min-height:44px}.icon-button{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:10px;background:transparent;border:0;border-radius:9px}.icon-button:hover{background:var(--surface-alt)}.text-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;color:var(--primary);font-size:.87rem;font-weight:600;background:none;border:0;min-height:44px}.back-link{display:inline-flex;gap:9px;align-items:center;font-size:.88rem;color:var(--muted);padding:0;border:0;background:transparent;min-height:44px;margin-bottom:12px}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:fixed;top:-90px;left:20px;z-index:100;background:var(--surface);padding:15px}.skip-link:focus{top:10px}.app-shell{display:flex;min-height:100dvh}.sidebar{position:fixed;inset:0 auto 0 0;width:235px;background:var(--surface);border-right:1px solid var(--border);padding:36px 22px 22px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;gap:12px;align-items:center;font-size:1.12rem;font-weight:700;line-height:1.25;letter-spacing:-.4px}.brand>span:last-child>span{display:block;color:var(--muted);font-weight:400;font-size:1rem;letter-spacing:0}.brand-mark{background:#153d3b;color:#fff;width:45px;height:48px;border-radius:13px;display:flex;align-items:center;justify-content:center}.nav-caption{font-size:.66rem;color:var(--muted);letter-spacing:1.8px;font-weight:700;margin:49px 13px 15px}.sidebar nav{display:flex;flex-direction:column;gap:7px}.sidebar nav a{display:flex;align-items:center;gap:13px;min-height:49px;padding:10px 13px;border-radius:9px;color:var(--muted);font-size:.92rem}.sidebar nav a.active{background:#e8f0ec;color:#153d3b;font-weight:600}.sidebar-add{margin-top:25px}.sidebar-bottom{margin-top:auto;padding-top:45px}.sidebar-bottom nav{gap:2px}.sidebar-bottom nav a{font-size:.85rem}.local-label{display:flex;align-items:center;gap:9px;border-top:1px solid var(--border);padding-top:22px;margin:20px 3px 0;color:var(--muted);font-size:.7rem}.local-label small{display:block;font-size:.63rem;margin-top:4px}.workspace{margin-left:235px;width:calc(100% - 235px);min-width:0}.topbar{height:85px;border-bottom:1px solid var(--border);background:var(--surface);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 38px}.project-switcher{display:flex;align-items:center;gap:10px;min-width:0}.project-switcher>svg{color:var(--muted)}.project-switcher select{border:0;font-weight:600;max-width:390px;min-height:44px;background:transparent;padding:8px 27px 8px 3px;text-overflow:ellipsis}.topbar-right{display:flex;gap:15px;align-items:center;flex-shrink:0}.today-date{color:var(--muted);font-size:.8rem}.offline-label{display:inline-flex;align-items:center;gap:6px;font-size:.8rem;color:var(--muted);border:1px solid var(--border);padding:7px 10px;border-radius:8px}.mobile-brand,.mobile-settings,.bottom-nav{display:none}#main{max-width:1580px;margin:0 auto;padding:37px 38px 60px;outline:none}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:30px}.page-heading .muted{margin-top:10px;font-size:.92rem}.heading-action{flex-shrink:0;display:flex;gap:10px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.section-heading p{font-size:.85rem;margin-top:5px}.section-heading select{width:auto;max-width:200px}.update-banner{display:flex;gap:12px;align-items:center;padding:14px 30px;background:#eaf1d4;color:#223f30;font-size:.9rem}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:38px}.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:13px;padding:21px 23px;position:relative;display:grid;grid-template-columns:1fr 1fr;box-shadow:var(--shadow)}.stat-icon{width:42px;height:42px;border-radius:11px;display:flex;align-items:center;justify-content:center}.stat-icon.amber{background:#faf0de;color:#96712c}.stat-icon.blue{background:#eaf0f8;color:#547fa7}.stat-icon.green{background:#e7f1eb;color:#427261}.stat-icon.neutral{background:var(--surface-alt);color:var(--muted)}.stat-value{font-size:2.3rem;line-height:1.3;font-weight:700;letter-spacing:-1px;grid-column:1/-1;margin-top:15px}.stat-label{font-size:.84rem;color:var(--muted);grid-column:1/-1;margin-top:5px;padding-right:18px}.stat-arrow{position:absolute;right:21px;bottom:24px;color:var(--muted)}.stat-card:hover{border-color:#8aa8a1}.dashboard-body{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:27px}.dashboard-body>section{min-width:0}.dashboard-aside{padding-top:3px}.quick-note-panel{background:#153d3b;color:#fff;padding:28px 23px;border-radius:14px;position:relative}.quick-note-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border:1px solid #ffffff33;border-radius:12px;color:#d9ed89;margin-bottom:23px}.quick-note-panel h2{font-size:1.62rem;line-height:1.45;letter-spacing:-.6px;margin-bottom:16px}.quick-note-panel p{font-size:.84rem;color:#c0d5d0;margin-bottom:24px}.quick-note-panel .button{width:100%;font-size:.84rem}.overview-panel{background:var(--surface);border:1px solid var(--border);border-radius:13px;padding:23px;margin-top:22px}.overview-panel h3{margin-bottom:18px}.overview-panel>div{display:flex;justify-content:space-between;gap:10px;font-size:.84rem;padding:11px 0;border-top:1px solid var(--border)}.overview-panel>div>span{color:var(--muted)}.overview-panel>p{font-size:.84rem;margin-top:16px}.backup-reminder{font-size:.78rem;color:var(--muted);margin:22px 8px;line-height:1.8}.backup-reminder a{display:inline-flex;align-items:center;gap:5px;color:var(--primary)}.notes-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.notes-grid.dashboard-notes{grid-template-columns:repeat(2,minmax(0,1fr))}.note-card{border:1px solid var(--border);background:var(--surface);border-radius:13px;overflow:hidden;min-width:0;display:flex;flex-direction:column;box-shadow:var(--shadow)}.note-card:hover{border-color:#b0c5bd}.card-content{padding:15px 20px 0;display:flex;flex-direction:column;flex:1}.card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;min-height:38px}.note-type{font-size:.7rem;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.75px}.favorite{color:#97a4aa;margin:-5px -8px -5px 0}.favorite.selected{color:#96712c}.card-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-height:45px}.card-title h3{font-size:1rem;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.card-title svg{color:var(--muted);margin-top:3px;opacity:0}.card-title:hover svg{opacity:1}.card-category{color:var(--muted);font-size:.8rem;margin:10px 0 15px}.card-meta{display:flex;flex-direction:column;gap:10px;font-size:.76rem;color:var(--muted);margin-bottom:18px}.card-meta span{display:flex;align-items:center;gap:7px;overflow-wrap:anywhere}.card-footer{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-top:auto;border-top:1px solid var(--border);padding:14px 0}.badge{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:6px;font-size:.7rem;font-weight:600;line-height:1.5;white-space:nowrap}.badge i{height:5px;width:5px;background:currentColor;border-radius:50%}.status-open{color:#91621e;background:#fbf1df}.status-progress{color:#356fa0;background:#e8f1fc}.status-done{color:#397251;background:#e8f4eb}.priority{display:flex;align-items:center;gap:5px;font-size:.75rem;font-weight:600}.priority span{font-size:1rem;font-weight:700}.priority-low,.priority-medium{color:var(--muted)}.priority-high{color:#965b16}.priority-urgent{color:var(--red)}.overdue{font-size:.75rem;color:var(--red);margin-bottom:14px}.project-caption{font-size:.75rem;color:var(--primary);margin-top:7px}.card-photo{display:block;height:155px;position:relative}.photo-image{display:flex;align-items:center;justify-content:center;overflow:hidden;background:var(--surface-alt);color:var(--muted);width:100%;height:100%}.photo-image img{display:block;width:100%;height:100%;object-fit:cover}.photo-count{position:absolute;bottom:9px;right:10px;background:#152c3ab3;color:#fff;padding:4px 8px;font-size:.7rem;border-radius:5px}.empty-state{text-align:center;padding:58px 20px;background:var(--surface);border:1px dashed var(--border);border-radius:14px;display:flex;align-items:center;flex-direction:column;gap:15px}.empty-state p{max-width:450px;font-size:.92rem;color:var(--muted)}.empty-state .button{margin-top:6px}.empty-icon{background:var(--surface-alt);color:var(--primary);width:66px;height:66px;border-radius:18px;display:flex;align-items:center;justify-content:center;margin-bottom:6px}.count-pill{background:var(--primary);color:var(--primary-text);min-width:21px;height:21px;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;font-size:.7rem}.list-toolbar{display:flex;gap:10px;margin-bottom:20px}.search-input{display:flex;flex:1;align-items:center;gap:10px;border:1px solid var(--border);border-radius:10px;background:var(--surface);padding-left:15px;color:var(--muted);min-width:100px}.search-input input{width:100%;border:0;background:transparent;min-width:0}.list-subbar{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--border);margin-bottom:24px}.list-subbar>select{width:auto;max-width:145px;border:none;background:transparent;font-size:.82rem}.tabs{display:flex;gap:20px;min-width:0}.tabs button{border:0;background:none;min-height:54px;color:var(--muted);font-size:.87rem;padding:0 0 14px;position:relative}.tabs button.active{color:var(--primary);font-weight:700}.tabs button.active:after{content:"";height:3px;position:absolute;bottom:-1px;left:0;right:0;background:var(--primary);border-radius:3px}.filter-panel{background:var(--surface);border:1px solid var(--border);border-radius:13px;padding:22px;margin:0 0 23px}.filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.filter-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:18px}.selected-chip{background:#e9f0d4!important;border-color:#a5b97c!important;color:#28472e!important}.active-filter-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:-10px 0 20px;font-size:.78rem;color:var(--muted)}.active-filter-summary .text-link{flex-shrink:0}.pagination{display:flex;gap:20px;align-items:center;justify-content:center;margin-top:30px;font-size:.82rem}.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.project-card{padding:26px;background:var(--surface);border:1px solid var(--border);border-radius:15px}.project-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.project-icon{display:flex;align-items:center;justify-content:center;width:49px;height:49px;border-radius:12px;background:var(--surface-alt);color:var(--primary)}.project-card h2{margin-bottom:10px;overflow-wrap:anywhere}.project-card p{font-size:.86rem;display:flex;gap:6px;align-items:center;margin-bottom:12px}.project-card-actions{display:flex;align-items:center;gap:8px;margin-top:23px;border-top:1px solid var(--border);padding-top:20px}.project-card-actions .button{margin-right:auto}.project-active{background:#e8f4eb;color:#397251}.project-completed,.project-archived{background:var(--surface-alt);color:var(--muted)}.demo-callout{display:flex;align-items:center;gap:17px;margin-top:32px;padding:22px;border:1px solid var(--border);border-radius:13px}.demo-callout>svg{color:var(--primary)}.demo-callout strong{font-size:.92rem}.demo-callout p{font-size:.82rem;margin-top:4px}.demo-callout .button{margin-left:auto;flex-shrink:0}input,select,textarea{background:var(--surface);border:1px solid var(--border);border-radius:9px;color:var(--text);width:100%;min-height:46px;padding:11px 13px;font-size:1rem;line-height:1.4}input::placeholder,textarea::placeholder{color:var(--muted);opacity:.9}textarea{resize:vertical;min-height:100px}input[type=date]{min-width:0;max-width:100%;appearance:none}input[type=date]::-webkit-date-and-time-value{text-align:left}input[type=checkbox]{width:20px;height:20px;min-height:0}select{padding-right:24px;text-overflow:ellipsis}.field{display:flex;flex-direction:column;gap:8px;min-width:0;text-align:left}.field>span{font-size:.87rem;font-weight:600}.field small{color:var(--muted);font-size:.76rem}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:21px}.form-stack{display:flex;flex-direction:column;gap:20px}.dialog{background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:17px;padding:27px;max-width:680px;width:calc(100% - 32px);max-height:calc(100dvh - 48px);box-shadow:0 25px 100px #0004;overflow-y:auto}.dialog::backdrop{background:#0f2529a3;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.dialog-header{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:25px}.dialog-header .icon-button{margin-right:-8px}.dialog-header h2{font-size:1.3rem}.dialog>p{margin-bottom:22px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.confirm-dialog{max-width:450px}.confirm-dialog h2{margin-bottom:14px}.confirm-dialog p{color:var(--muted);font-size:.92rem}.form-error{background:var(--red-bg);color:var(--red);padding:14px 16px;border-radius:9px;white-space:pre-wrap;font-size:.88rem;margin-top:15px;line-height:1.6}.toast{position:fixed;z-index:100;bottom:25px;left:calc(50% + 115px);transform:translate(-50%);display:flex;gap:12px;align-items:center;border:1px solid var(--border);background:var(--surface);box-shadow:0 8px 50px #0003;border-radius:12px;padding:10px 10px 10px 17px;max-width:calc(100vw - 35px);width:max-content;color:var(--text);font-size:.88rem}.toast>svg{color:var(--primary)}.toast span{max-width:550px}.toast button:not(.icon-button){border:0;background:none;color:var(--primary);font-weight:700}.startup-error{max-width:600px;margin:10vh auto;padding:30px}.startup-error p{margin:20px 0}.editor-page{max-width:990px;margin:auto}.form-panel{padding:28px;background:var(--surface);border:1px solid var(--border);border-radius:14px;display:flex;flex-direction:column;gap:25px}.type-picker{display:flex;gap:7px;flex-wrap:wrap;border-bottom:1px solid var(--border);padding-bottom:23px}.type-picker button{background:var(--surface-alt);border:1px solid transparent;padding:10px 13px;min-height:44px;border-radius:8px;font-size:.83rem}.type-picker button.active{background:var(--primary);color:var(--primary-text)}.title-input{font-size:1.16rem;min-height:58px}.photo-section .section-heading{margin-bottom:15px}.photo-section .section-heading h2{font-size:1rem}.photo-section .section-heading select{font-size:.81rem;max-width:185px}.photo-add-buttons{display:grid;grid-template-columns:1fr 1fr;gap:15px}.camera-button{display:flex;align-items:center;justify-content:center;gap:12px;border:1px dashed #8faaa0;background:#eff5f1;color:#234d40;padding:25px 12px;border-radius:12px;font-size:.95rem;font-weight:600;min-height:95px}.secondary-camera{background:var(--surface-alt);border-color:var(--border);color:var(--muted)}.editor-photos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-top:20px}.editor-photo{min-width:0}.editor-photo-image{height:145px;position:relative;overflow:hidden;border-radius:10px 10px 0 0;background:var(--surface-alt)}.editor-photo-image>img{width:100%;height:100%;object-fit:cover}.photo-remove{position:absolute;right:5px;top:5px;background:#fff;color:#883a3c;box-shadow:0 3px 15px #0002}.editor-photo select{font-size:.79rem;border-radius:0 0 8px 8px}.details-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;border:none;background:var(--surface-alt);border-radius:8px;padding:15px;text-align:left;min-height:50px;font-size:.9rem;font-weight:600}.rotated{transform:rotate(180deg)}.rotated-90{transform:rotate(90deg)}.resolution-panel{background:#ecf4ec;border:1px solid #d3e6d3;color:#274b34;padding:20px;border-radius:12px;margin:10px 0}.resolution-panel h3{display:flex;align-items:center;gap:9px;margin-bottom:13px}.resolution-panel p{font-size:.88rem}.resolution-panel .field{margin-bottom:12px}.editor-save{position:sticky;bottom:18px;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 22px;background:var(--surface);border:1px solid var(--border);border-radius:13px;box-shadow:0 3px 30px #0001;margin-top:20px;z-index:10}.editor-save>.muted{font-size:.8rem}.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px}.detail-main{background:var(--surface);border:1px solid var(--border);padding:27px;border-radius:14px;min-width:0}.detail-status-row{display:flex;align-items:center;gap:17px;border-bottom:1px solid var(--border);padding-bottom:21px;margin-bottom:25px}.detail-status-row>.button{margin-left:auto}.detail-description h2{margin-bottom:12px;font-size:1.05rem}.detail-description p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.detail-description{margin-bottom:22px}.tags{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 25px}.tags a{padding:7px 10px;border-radius:7px;background:var(--surface-alt);font-size:.8rem;color:var(--muted);min-height:35px}.detail-main>.section-heading{margin-top:35px}.before-after-label{background:#e9f0d4;color:#28472e;padding:8px 10px;border-radius:6px;font-size:.72rem;font-weight:700}.photo-group h3{font-size:.9rem;margin:20px 0 12px;color:var(--muted)}.detail-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.photo-tile{padding:0;border:0;border-radius:9px;overflow:hidden;aspect-ratio:4/3;background:var(--surface-alt)}.overview-panel dl{margin:20px 0 0}.overview-panel dt{font-size:.76rem;color:var(--muted);display:flex;align-items:center;gap:6px}.overview-panel dd{font-size:.9rem;margin:7px 0 21px;overflow-wrap:anywhere}.overview-panel dd:last-child{margin-bottom:0}.detail-actions{display:flex;flex-direction:column;gap:11px;margin-top:20px}.photos-toolbar{display:flex;align-items:flex-end;gap:20px;margin-bottom:24px}.photos-toolbar .field{min-width:200px;max-width:500px;flex:1}.photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:19px}.gallery-card{padding:0;text-align:left;background:var(--surface);border:1px solid var(--border);border-radius:13px;overflow:hidden;min-width:0}.gallery-image{aspect-ratio:4/3;position:relative}.photo-category{position:absolute;bottom:10px;left:10px;background:#fff;color:#1e3942;padding:5px 9px;border-radius:6px;font-size:.7rem}.photo-after{background:#e1f1d8;color:#254a26}.gallery-caption{padding:14px}.gallery-caption strong{font-size:.85rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.gallery-caption span{display:block;color:var(--muted);font-size:.7rem;line-height:1.6;margin-top:9px}.photo-viewer{max-width:1120px;padding:18px;background:#142127;color:#fff;border-color:#33454b}.photo-viewer .dialog-header{margin-bottom:12px;padding-left:8px}.photo-viewer .dialog-header h2{font-size:1rem}.photo-viewer .icon-button:hover{background:#fff2}.viewer-content{outline:none}.viewer-stage{height:min(65dvh,750px);position:relative;touch-action:pan-y}.viewer-stage .photo-image{background:#0d1519}.viewer-stage .photo-image img{object-fit:contain}.viewer-prev,.viewer-next{position:absolute;top:45%;background:#142127bc!important;color:#fff}.viewer-prev{left:10px}.viewer-next{right:10px}.viewer-details{padding:18px 9px 5px}.viewer-details a{font-size:1.05rem;font-weight:600;display:flex;align-items:center;gap:10px}.viewer-details p{font-size:.82rem;color:#b2c7cf;margin-top:7px}.viewer-details svg{margin-right:5px}.report-summary{text-align:center;padding:10px 0}.report-summary>svg{color:var(--primary);margin-bottom:17px}.report-summary p{font-size:.9rem;margin:14px auto;max-width:450px}.settings-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:26px}.settings-section{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:27px;margin-bottom:23px}.settings-section h2{margin-bottom:12px}.settings-section h3{margin-top:20px;margin-bottom:10px}.settings-section>p{font-size:.88rem;margin-bottom:17px}.settings-section>svg{color:var(--primary);margin-bottom:17px}.theme-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:22px}.theme-options button{display:flex;flex-direction:column;align-items:center;gap:12px;padding:22px 10px;background:var(--surface);border:1px solid var(--border);border-radius:10px;min-height:106px;font-size:.88rem}.theme-options button.active{background:#edf2e2;border-color:#8da679;color:#224c34}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:15px;background:var(--surface-alt);border:0;border-radius:8px;width:100%;padding:14px;text-align:left;font-size:.9rem;min-height:50px}.category-list{margin-top:15px}.category-list>div{display:flex;align-items:center;border-bottom:1px solid var(--border);gap:5px;padding:6px 0}.category-list span{font-size:.87rem;flex:1;overflow-wrap:anywhere}.section-icon{color:var(--primary);display:block;margin-bottom:17px}.backup-buttons{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.backup-ready{padding:18px;background:var(--surface-alt);border:1px solid var(--border);border-radius:9px;margin-top:22px;font-size:.88rem}.backup-ready p{margin-top:9px}.storage-number{font-size:2rem!important;font-weight:700;letter-spacing:-1px}progress{appearance:none;width:100%;height:7px;background:var(--border);border:0;border-radius:10px;overflow:hidden;margin-bottom:14px}progress::-webkit-progress-bar{background:var(--border)}progress::-webkit-progress-value{background:var(--primary)}progress::-moz-progress-bar{background:var(--primary)}.settings-link{display:flex;align-items:center;gap:12px;font-size:.88rem;min-height:60px;background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:15px 18px;margin-bottom:12px}.settings-link>svg:last-child{margin-left:auto}.about-section{margin-top:24px;background:transparent;border:none;padding:9px}.about-section h2{font-size:1.05rem}.about-section p{font-size:.84rem}.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.help-grid .settings-section{margin-bottom:0}.install-steps{list-style:none;padding:0;margin:25px 0 0;display:flex;flex-direction:column;gap:21px}.install-steps li{display:flex;align-items:flex-start;gap:14px;font-size:.9rem;line-height:1.8}.install-steps li>span{display:flex;align-items:center;justify-content:center;background:var(--surface-alt);width:34px;height:34px;border-radius:50%;flex-shrink:0;font-weight:700;color:var(--primary)}.install-steps small{display:block;color:var(--muted);font-size:.79rem}.busy-message{margin-top:16px;color:var(--primary);font-size:.9rem}[data-theme=dark] .sidebar nav a.active{background:#2a453b;color:#d9ed89}[data-theme=dark] .stat-icon.amber{background:#423728;color:#e6c385}[data-theme=dark] .stat-icon.blue{background:#21384b;color:#a3caed}[data-theme=dark] .stat-icon.green{background:#244438;color:#a3d5b8}[data-theme=dark] .status-open{background:#423728;color:#eacb8d}[data-theme=dark] .status-progress{background:#21384b;color:#a3caed}[data-theme=dark] .status-done,[data-theme=dark] .project-active{background:#244438;color:#a3d5b8}[data-theme=dark] .priority-high{color:#e6b469}[data-theme=dark] .resolution-panel{background:#233f31;border-color:#395a46;color:#d2e8d5}[data-theme=dark] .resolution-panel .muted{color:#b6cdbd}[data-theme=dark] .camera-button:not(.secondary-camera){background:#234135;color:#d3e7da;border-color:#4b7b64}[data-theme=dark] .favorite.selected{color:#e0c06f}@media(min-width:1600px){.dashboard-body{grid-template-columns:minmax(0,1fr) 290px}.notes-grid.dashboard-notes{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1200px){.sidebar{width:210px;padding:30px 16px 20px}.workspace{margin-left:210px;width:calc(100% - 210px)}#main{padding:30px 25px 55px}.topbar{padding:15px 25px}.dashboard-body{grid-template-columns:minmax(0,1fr) 230px;gap:20px}.stats-grid{gap:12px}.stat-card{padding:18px}.stat-label{font-size:.75rem}.notes-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.card-content{padding:12px 16px 0}.card-title h3{font-size:.91rem}.dashboard-body .card-footer{gap:5px;flex-wrap:wrap}.filter-grid,.photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-layout{grid-template-columns:minmax(0,1fr) 280px}.detail-layout{grid-template-columns:minmax(0,1fr) 270px;gap:20px}.quick-note-panel{padding:23px 19px}.quick-note-panel h2{font-size:1.45rem}.project-switcher select{max-width:330px}.toast{left:calc(50% + 100px)}}@media(max-width:1000px){.sidebar{width:190px;padding-inline:13px}.brand{font-size:.97rem;gap:9px}.brand-mark{width:39px}.sidebar nav a{font-size:.84rem}.sidebar-bottom nav a{font-size:.77rem}.workspace{margin-left:190px;width:calc(100% - 190px)}.dashboard-body{display:block}.dashboard-aside{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:28px}.quick-note-panel h2{font-size:1.35rem}.quick-note-panel h2 br{display:none}.quick-note-panel h2 br:after{content:" "}.overview-panel{margin-top:0}.backup-reminder{grid-column:1/-1;margin:0}.settings-layout{display:block}.settings-aside{display:grid;grid-template-columns:1fr 1fr;gap:15px}.settings-aside>.settings-section:first-child{grid-row:span 3;margin-bottom:0}.about-section{margin-top:0}.filter-grid,.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card{grid-template-columns:55px 1fr;padding:17px}.stat-value{grid-column:2;grid-row:1;margin:0;font-size:2rem;text-align:right}.stat-label{font-size:.85rem;margin-top:14px}.today-date{display:none}.detail-layout{display:block}.detail-aside{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:22px}.detail-actions{margin-top:0}.project-grid{grid-template-columns:1fr}.demo-callout{flex-wrap:wrap}.demo-callout .button{margin-left:39px}.page-heading{align-items:flex-start}h1{font-size:1.8rem}.heading-action .button{padding-inline:13px}.topbar{height:74px}.help-grid{grid-template-columns:1fr}.toast{left:calc(50% + 95px)}}@media(max-width:760px){.sidebar{display:none}.workspace{width:100%;margin:0}.topbar{height:auto;min-height:70px;padding:calc(10px + env(safe-area-inset-top)) 16px 10px;gap:10px}.mobile-brand{display:flex;color:var(--primary);align-items:center}.mobile-settings{display:inline-flex}.project-switcher{flex:1;gap:0}.project-switcher>svg{display:none}.project-switcher select{font-size:.85rem;width:100%;max-width:100%;padding-right:18px}.topbar-right{gap:2px}.offline-label{padding:5px 7px;font-size:.7rem;border:none;gap:4px}.offline-label svg{width:14px}#main{padding:26px 18px calc(110px + env(safe-area-inset-bottom))}.bottom-nav{position:fixed;inset:auto 0 0;z-index:30;display:grid;grid-template-columns:1fr 1fr 72px 1fr 1fr;align-items:center;background:var(--surface);border-top:1px solid var(--border);padding:8px 8px calc(7px + env(safe-area-inset-bottom));min-height:76px}.bottom-nav>a{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-height:53px;font-size:.65rem;color:var(--muted);border-radius:8px}.bottom-nav>a.active{color:var(--primary);font-weight:700}.bottom-nav>a>svg{width:22px;height:22px}.bottom-nav .bottom-add{position:relative;top:-15px}.bottom-add>span{display:flex;align-items:center;justify-content:center;width:59px;height:59px;border-radius:19px;background:var(--primary);color:var(--primary-text);box-shadow:0 4px 13px #153d3b30;border:4px solid var(--bg)}.page-heading{gap:15px;margin-bottom:25px}.page-heading h1{font-size:1.65rem;letter-spacing:-.75px}.eyebrow{font-size:.65rem;letter-spacing:1.5px;margin-bottom:10px}.page-heading .muted{font-size:.84rem;margin-top:8px}.heading-action .button{min-height:44px;font-size:.8rem;padding:10px 12px}.heading-action .button svg{width:18px}.stats-grid{gap:12px;margin-bottom:30px}.stat-card{padding:18px;border-radius:12px}.stat-label{font-size:.78rem;margin-top:13px}.stat-arrow{right:17px;bottom:20px;width:15px}.stat-value{font-size:2rem}.stat-icon{width:40px;height:40px}.dashboard-aside{display:none}.notes-grid,.notes-grid.dashboard-notes{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.section-heading{margin-bottom:17px}.section-heading h2{font-size:1.12rem}.section-heading p{font-size:.78rem}.text-link{font-size:.8rem}.card-content{padding:11px 14px 0}.card-title{min-height:0}.card-title h3{font-size:.93rem}.card-title svg{display:none}.card-top{margin-bottom:8px}.note-type{font-size:.61rem;letter-spacing:.5px}.card-category{font-size:.74rem;margin:9px 0 13px}.card-meta{font-size:.71rem;gap:9px;margin-bottom:13px}.card-footer{padding:11px 0;flex-wrap:wrap}.card-photo{height:135px}.badge{font-size:.67rem}.priority{font-size:.69rem}.card-top .icon-button{min-width:38px;padding:8px}.list-toolbar{flex-wrap:wrap;gap:9px}.search-input{flex-basis:100%;min-height:49px}.list-toolbar .report-button{margin-left:auto}.filter-panel{padding:16px}.filter-grid{gap:14px}.filter-grid .field>span{font-size:.8rem}.filter-grid select{font-size:.85rem}.filter-actions{gap:5px;justify-content:space-between}.list-subbar{gap:5px;margin-bottom:20px}.tabs{gap:19px}.tabs button{font-size:.8rem;min-height:54px;padding-bottom:8px}.list-subbar>select{font-size:.75rem;max-width:115px;padding-inline:7px}.active-filter-summary{font-size:.73rem;align-items:flex-start}.active-filter-summary>span{max-width:65%}.pagination{font-size:.76rem;gap:12px}.toast{left:50%;bottom:calc(97px + env(safe-area-inset-bottom));font-size:.8rem;padding-left:13px;max-width:calc(100vw - 24px)}.toast>svg{width:18px}.toast span{max-width:calc(100vw - 115px)}.empty-state{padding:40px 18px}.empty-state h2{font-size:1.12rem}.empty-state p{font-size:.86rem}.demo-callout{padding:18px;gap:13px}.demo-callout>div{flex:1}.demo-callout .button{margin-left:0;width:100%}.project-card{padding:22px}.project-card h2{font-size:1.2rem}.project-card-actions{gap:3px}.project-card-actions .button{font-size:.85rem}.dialog{padding:22px;width:calc(100% - 22px);max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px);border-radius:15px}.dialog-actions{flex-wrap:wrap}.dialog-actions .button{flex:1}.form-grid{gap:18px}.form-panel{padding:20px;gap:23px}.type-picker{gap:7px;padding-bottom:19px}.type-picker button{padding:9px 11px;font-size:.77rem}.title-input{font-size:1rem}.field>span{font-size:.84rem}.photo-section .section-heading{gap:7px}.photo-section .section-heading h2{font-size:.96rem}.photo-section .section-heading select{max-width:168px}.photo-add-buttons{gap:12px}.camera-button{padding:19px 10px;flex-direction:column;gap:10px;font-size:.82rem}.editor-photos{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.editor-photo-image{height:110px}.editor-photo select{font-size:.75rem;padding-left:6px}.editor-save{bottom:calc(84px + env(safe-area-inset-bottom));margin-top:17px;padding:12px;gap:10px}.editor-save>.muted{font-size:.7rem;max-width:110px}.editor-save .button{flex:1}.detail-main{padding:20px}.detail-status-row{gap:12px;flex-wrap:wrap}.detail-description p{font-size:.93rem}.detail-aside{display:block}.detail-actions{margin-top:22px}.detail-photos{gap:11px}.detail-main>.section-heading{gap:8px}.before-after-label{font-size:.64rem}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gallery-caption{padding:12px}.gallery-caption strong{font-size:.79rem}.gallery-caption span{font-size:.66rem}.photo-category{left:7px;bottom:7px;font-size:.64rem;padding:4px 7px}.photos-toolbar{gap:15px}.photos-toolbar .field{min-width:0}.photo-viewer{width:100%;height:100dvh;max-height:100dvh;max-width:100%;border:0;border-radius:0;padding:calc(12px + env(safe-area-inset-top)) 0 calc(12px + env(safe-area-inset-bottom));margin:0}.photo-viewer .dialog-header{padding:0 20px}.viewer-stage{height:65dvh}.viewer-details{padding:18px}.viewer-details a{font-size:1rem}.viewer-details p{font-size:.78rem}.settings-section{padding:23px;margin-bottom:18px}.settings-layout,.settings-aside{display:block}.settings-aside>.settings-section:first-child{margin-bottom:20px}.theme-options{gap:10px}.theme-options button{min-height:96px;padding:18px 8px;font-size:.82rem}.settings-section>p{font-size:.85rem}.settings-section h2{font-size:1.17rem}.backup-buttons{gap:10px}.backup-buttons .button{flex:1}.category-list span{font-size:.85rem}.about-section{margin-top:26px}.help-grid{gap:18px}.update-banner{padding:13px;flex-wrap:wrap;font-size:.82rem}.update-banner>span{flex-basis:100%}}@media(max-width:430px){.notes-grid,.notes-grid.dashboard-notes{grid-template-columns:1fr}.note-card .card-content{padding:15px 19px 0}.note-type{font-size:.68rem}.card-title h3{font-size:1.05rem}.card-category{font-size:.8rem}.card-meta{flex-direction:row;flex-wrap:wrap;column-gap:18px;font-size:.75rem}.card-footer{padding:14px 0}.badge{font-size:.73rem}.priority{font-size:.77rem}.card-photo{height:170px}.page-heading{flex-wrap:wrap}.heading-action{display:flex}.editor-page .page-heading{margin-bottom:20px}.project-grid .heading-action{display:flex}.form-grid{grid-template-columns:1fr}.editor-photos{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-photo-image{height:130px}.detail-photos{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-grid{grid-template-columns:1fr 1fr}.filter-grid input,.filter-grid select{font-size:1rem}.field>span{font-size:.85rem}.stat-card{padding:15px}.stat-label{font-size:.77rem}.stat-value{font-size:1.9rem}.stat-arrow{right:13px}.detail-status-row{gap:10px}.detail-status-row .button{font-size:.76rem;padding-inline:10px}.project-switcher select{max-width:calc(100vw - 128px)}.offline-label+.today-date{display:none}.photos-toolbar{align-items:flex-end}.editor-save>.muted{display:none}.tabs{gap:15px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}@media print{.sidebar,.topbar,.bottom-nav,.heading-action,.list-toolbar,.detail-actions,.editor-save{display:none!important}.workspace{margin:0;width:100%}#main{padding:0}.note-card,.detail-main,.settings-section{break-inside:avoid}}.work-record-summary{display:flex;flex-direction:column;gap:5px;margin:12px 0;color:var(--primary);font-size:.9rem}.work-record-fields{margin:18px 0}.sync-bar{display:flex;justify-content:flex-end;padding:10px 30px 0}.sync-status{display:inline-flex;gap:7px;align-items:center;font-size:.8rem;min-height:32px;color:var(--muted)}.sync-ready{color:var(--primary)}.sync-error{color:#bb542a}.account-settings .form-stack{max-width:430px}.account-settings .form-stack>.button{margin-top:14px}.account-settings .backup-ready{overflow-wrap:anywhere}@media(max-width:700px){.sync-bar{padding:6px 18px 0}}.stock-nav{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.stock-nav a{display:flex;align-items:center;gap:8px;padding:12px 16px;border:1px solid var(--border);border-radius:12px}.stock-connection{display:grid;gap:6px;padding:16px;border:1px solid var(--border);border-left:4px solid #b87923;border-radius:12px;margin-bottom:24px}.stock-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:14px}.stock-card{display:flex;align-items:center;gap:12px;text-align:left;padding:16px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:inherit;min-width:0}.stock-card.selected{outline:2px solid #39837b;outline-offset:-2px}.stock-card span{min-width:0}.stock-card strong{overflow-wrap:anywhere}.stock-card small,.stock-request-card small,.stock-lines small{display:block;margin:5px 0}.stock-image{width:72px;height:72px;flex-shrink:0;object-fit:contain;border-radius:8px;background:#fff}.stock-placeholder{display:grid;place-items:center;color:#526f6d;background:#e8efed}.stock-search{width:100%;margin:12px 0 20px;min-height:48px}.stock-picker{display:grid;gap:8px;max-height:320px;overflow:auto;grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}.stock-lines>div{display:flex;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid var(--border);overflow-wrap:anywhere}.stock-lines>div>span:not(.stock-image){flex:1;min-width:0}.stock-request-list{display:grid;gap:12px}.stock-request-card{display:flex;justify-content:space-between;gap:16px;padding:20px;border:1px solid var(--border);border-radius:14px;background:var(--surface);overflow-wrap:anywhere}.stock-check{display:flex;align-items:center;gap:12px;min-height:48px}.stock-check input{width:24px;height:24px;flex-shrink:0}.stock-signature{display:block;width:100%;height:220px;background:#fff;border:2px solid #526f6d;border-radius:10px;touch-action:none}.stock-signature-image{display:block;width:min(100%,420px);background:#fff}.stock-meta{display:grid;grid-template-columns:auto 1fr;gap:8px 18px}.stock-meta dd{margin:0}.stock-entry-link{margin-right:auto;padding:8px 0}.sync-bar{gap:10px;flex-wrap:wrap;align-items:center}@media(max-width:600px){.stock-request-card{flex-direction:column}.stock-grid,.stock-picker{grid-template-columns:1fr}.stock-nav>*{flex:1;justify-content:center}}.inventory-local-note{margin-top:28px;font-size:.82rem;line-height:1.7}.sidebar{overflow-y:auto}.zoom-toolbar{display:flex;align-items:center;justify-content:center;gap:12px;padding:0 12px 10px}.zoom-toolbar output{min-width:58px;text-align:center;font-variant-numeric:tabular-nums}.zoom-toolbar button:disabled{cursor:default}.zoom-stage{overflow:hidden;background:#0d1519;touch-action:none}.zoom-surface{position:absolute;inset:0;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none;cursor:zoom-in;outline-offset:-4px!important}.zoom-surface.is-zoomed{cursor:grab}.zoom-surface.is-zoomed:active{cursor:grabbing}.zoom-image-layer{width:100%;height:100%;transform-origin:center;pointer-events:none;will-change:transform}.zoom-image-layer img{width:100%;height:100%;object-fit:contain;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.zoom-help{font-size:.75rem;color:#b2c7cf;padding:10px 18px 0;line-height:1.6}.inventory-photo-open{display:inline-flex;border:0;padding:0;background:transparent;border-radius:8px;flex-shrink:0;cursor:zoom-in;min-width:44px;min-height:44px}.photo-viewer .zoom-stage{height:min(57dvh,680px)}@media(max-width:760px){.photo-viewer .zoom-stage{height:55dvh;min-height:180px}.zoom-help{font-size:.72rem}}.stock-toolbar{display:flex;flex-wrap:wrap;gap:14px;align-items:end;margin:16px 0}.stock-toolbar>:first-child{flex:1;min-width:220px;max-width:360px}.stock-toolbar>small{width:100%;color:var(--muted)}.stock-view-toggle{display:flex;gap:8px}.stock-list{display:flex;flex-direction:column;gap:6px}.stock-list .stock-card{min-height:64px;padding:12px 16px}.stock-list .stock-card>span{width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,.6fr) auto;align-items:center;gap:12px}.stock-list .stock-card small{margin:0;overflow-wrap:anywhere}@media(max-width:600px){.stock-toolbar>:first-child{max-width:none}.stock-list .stock-card>span{grid-template-columns:minmax(0,1fr) auto;gap:4px 12px}.stock-list .stock-card small{grid-row:2}.stock-list .stock-card b{grid-column:2;grid-row:1 / 3}}.folder-status{margin-left:auto;font-size:.8rem;color:var(--text);white-space:nowrap}.sync-bar{flex-wrap:wrap}.folder-status:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.folder-path{overflow-wrap:anywhere}.folder-structure{margin:18px 0}.folder-structure summary{cursor:pointer;min-height:44px;padding:10px 0}.folder-structure pre{font-size:.8rem;white-space:pre-wrap;overflow-wrap:anywhere;background:var(--surface-alt);padding:14px;border-radius:6px}.sync-error-details{margin:14px 0;border:1px solid var(--border);border-radius:8px;padding:0 12px}.sync-error-details summary{min-height:48px;padding:12px 0;cursor:pointer;font-weight:600}.sync-error-details p{overflow-wrap:anywhere}.sync-error-details button{margin:8px 0 12px}.diary-day-picker{display:flex;align-items:end;gap:14px;margin-bottom:22px}.diary-day-picker .field{max-width:250px;flex:1}.diary-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:20px}.diary-list{background:var(--surface);border:1px solid var(--border);border-radius:7px;padding:15px;align-self:start}.diary-list h2{font-size:1rem;margin-bottom:14px}.diary-day{width:100%;display:flex;align-items:center;text-align:left;gap:9px;background:transparent;color:var(--text);border:1px solid transparent;padding:10px 6px;min-height:50px;border-radius:5px}.diary-day.active{border-color:var(--primary);background:var(--surface-alt)}.diary-day small{display:block;color:var(--muted)}.diary-editor{background:var(--surface);border:1px solid var(--border);padding:24px;border-radius:7px;min-width:0}.diary-sheet-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--border);padding-bottom:18px;margin-bottom:18px}.diary-sheet-heading .field{width:130px}.diary-remember{display:flex;gap:10px;align-items:center;font-size:.84rem;min-height:48px;margin:10px 0 20px}.diary-remember input{width:22px;height:22px}.diary-work-grid{display:grid;grid-template-columns:1.1fr 1fr .8fr;gap:16px}.diary-work-grid section{border:1px solid var(--border);padding:14px;border-radius:5px;min-width:0}.diary-work-grid h3{margin-bottom:12px}.diary-shift{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:10px}.diary-shift>span{grid-column:1/-1;font-size:.8rem;color:var(--muted)}.diary-shift input{padding:8px;min-width:0}.diary-workers{display:grid;grid-template-columns:1fr 1fr;gap:8px}.diary-writing{display:grid;grid-template-columns:2fr 1fr;gap:18px;margin-top:22px}.diary-writing textarea{line-height:1.8;background-image:repeating-linear-gradient(transparent,transparent calc(1.8em - 1px),var(--border) calc(1.8em - 1px),var(--border) 1.8em);background-origin:content-box}.diary-signers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.diary-signature strong{display:none}.diary-signature img{display:block;background:#fff;width:100%;height:85px;object-fit:contain;margin:8px 0;border-radius:4px}.diary-actions{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}.diary-stamp img{width:150px;height:100px;object-fit:contain;background:#fff}.diary-stamp{display:flex;align-items:center;gap:12px}.signature-pad{width:100%;height:200px;background:#fff;border:2px dashed #8b99a8;border-radius:6px;touch-action:none;margin:16px 0;cursor:crosshair}@media(max-width:1200px){.diary-work-grid{grid-template-columns:1fr 1fr}.diary-work-grid section:last-child{grid-column:1/-1}.diary-signers{grid-template-columns:1fr}.diary-signature img{max-width:300px}}.diary-fields{display:contents;border:0;padding:0;margin:0;min-width:0}.diary-work-grid{margin-top:24px}.diary-workers-table{overflow:auto;margin-bottom:16px}.diary-workers-table table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:280px}.diary-workers-table th,.diary-workers-table td{border:1px solid var(--border);text-align:center}.diary-workers-table th{background:#fffed2;color:#242424;font-size:.7rem;line-height:1.4;font-weight:500;padding:8px 3px}.diary-workers-table td{height:68px}.diary-workers-table input{width:100%;min-width:0;border:0;border-radius:0;text-align:center;padding:8px 3px;appearance:textfield}.diary-workers-table input::-webkit-inner-spin-button{appearance:none}@media(max-width:760px){.diary-layout{grid-template-columns:1fr}.diary-list{max-height:220px;overflow:auto}.diary-editor{padding:16px}.diary-work-grid,.diary-writing{grid-template-columns:1fr}.diary-work-grid section:last-child{grid-column:auto}.diary-day-picker{flex-wrap:wrap}.diary-sheet-heading{gap:12px}.diary-sheet-heading .field{width:100px}.diary-day-picker .button,.diary-actions .button{flex:1}.diary-writing textarea{min-height:180px}}.diary-calendar{position:relative;overflow:hidden}.diary-calendar input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.diary-calendar:focus-within{outline:2px solid var(--primary);outline-offset:3px}.diary-day-picker{flex-wrap:wrap}.notes-view-options{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;margin:12px 0}.notes-title-list{background:var(--surface);border:1px solid var(--border);border-radius:7px;overflow:hidden}.note-title-row{display:flex;align-items:center;min-height:46px;border-bottom:1px solid var(--border);padding:0 10px 0 16px}.note-title-row:last-child{border-bottom:0}.note-title-row>a{display:flex;align-items:center;min-height:46px;min-width:0;flex:1;padding:8px 12px 8px 0}.note-title-row h3{font-size:.9rem;font-weight:500;line-height:1.4;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.note-title-row:hover{background:var(--surface-alt)}.note-title-row.is-pinned{border-left:3px solid var(--primary);padding-left:13px}.note-pin{color:var(--muted);flex-shrink:0}.note-pin.selected{color:var(--primary)}.card-note-actions{display:flex;align-items:center;gap:0}.card-note-actions .favorite{margin:0}.card-top .note-type{min-width:0}.note-title-row .note-pin{min-height:44px;min-width:44px}.book-reminder-banner{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid var(--border);border-radius:7px;background:var(--surface);margin-bottom:20px;flex-wrap:wrap}.book-reminder-banner .text-link{margin-left:auto}.book-toolbar{display:flex;gap:12px;margin-bottom:20px}.book-toolbar input{flex:1;min-width:0}.book-entries{display:grid;gap:12px}.book-entry{background:var(--surface);border:1px solid var(--border);border-radius:7px;padding:20px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}.book-entry-heading{display:flex;gap:12px;align-items:center;min-width:0}.book-entry-heading h2{font-size:1rem;overflow-wrap:anywhere}.book-entry-heading .badge{overflow-wrap:anywhere;max-width:160px}.book-entry-amount{font-weight:700;color:var(--primary);font-size:1.25rem;overflow-wrap:anywhere}.book-entry-amount span{font-size:.9rem;color:var(--muted)}.book-entry>p,.book-entry>details{grid-column:1/-1}.book-entry-description{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.9rem}.book-entry-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px}.book-entry summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:var(--muted)}.book-form{background:var(--surface);border:1px solid var(--border);border-radius:7px;padding:24px;max-width:850px}.book-form>fieldset{display:flex;flex-direction:column;gap:22px;border:0;padding:0;min-width:0}.book-form .form-grid{width:100%}.book-reminder-check{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;cursor:pointer;flex-shrink:0}.book-reminder-check input{accent-color:var(--primary);width:22px;height:22px;min-height:22px;margin:0;cursor:pointer}.book-reminder-check.with-caption{gap:12px;justify-content:flex-start;font-size:.9rem}.note-title-row.is-book-checked h3{text-decoration:line-through;color:var(--muted)}.book-reminder-hint{padding:12px;border:1px solid var(--border);border-radius:6px;margin-bottom:18px;font-size:.85rem;color:var(--muted)}@media(max-width:700px){.bottom-nav{grid-template-columns:repeat(6,minmax(0,1fr))}.bottom-nav>a{min-width:0}.bottom-nav span{font-size:.65rem}.book-entry{padding:16px;grid-template-columns:minmax(0,1fr)}.book-entry-amount{grid-row:2}.book-entry-heading{align-items:flex-start;flex-wrap:wrap}.book-toolbar{flex-wrap:wrap}.book-toolbar input{flex-basis:100%}.book-form{padding:18px}.book-reminder-banner .text-link{margin-left:0}.note-type{overflow-wrap:anywhere}}.book-workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}.book-workspace>section{min-width:0}.book-reminders{min-width:0;background:var(--surface);border:1px solid var(--border);border-radius:7px;padding:20px}.book-reminders h2{font-size:1.1rem;margin:0 0 8px}.book-reminders ul{list-style:none;padding:0;margin:16px 0 0}.book-reminders li{display:flex;gap:10px;padding:12px 0;border-top:1px solid var(--border);align-items:flex-start}.book-reminders li>div{min-width:0;flex:1}.book-reminders .reminder-title{display:flex;align-items:center;min-height:44px;overflow-wrap:anywhere;font-weight:600}.book-reminders .reminder-create{display:inline-flex;min-height:44px;align-items:center}.book-reminders li p{font-size:.85rem;margin:0;overflow-wrap:anywhere}.book-reminders .is-checked .reminder-title{text-decoration:line-through;color:var(--muted)}@media(max-width:1100px){.book-workspace{grid-template-columns:minmax(0,1fr)}.book-reminders{grid-row:1}}:root{font-family:Segoe UI,Arial,sans-serif;--bg:#f3f4f6;--surface:#fff;--surface-alt:#f5f6f8;--text:#151e32;--muted:#59647c;--border:#e0e3e9;--primary:#ae480d;--primary-hover:#f38722;--primary-text:#182233;--accent:#ff942e;--red:#b92538;--red-bg:#ffe8e7;--shadow:none}:root[data-theme=dark]{--bg:#11161e;--surface:#1b2330;--surface-alt:#222d3c;--text:#f2f4f7;--muted:#a3afc3;--border:#344052;--primary:#f5a062;--primary-hover:#ffb16c;--primary-text:#17130f;--accent:#ff9a43;--red:#ff99a3;--red-bg:#462f38;--shadow:none}body{background:var(--bg);color:var(--text);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}h1{font-size:26px;letter-spacing:-.7px;line-height:1.2}h2{font-size:16px;font-weight:650;letter-spacing:-.3px}h3{font-size:14px;font-weight:600}strong,b{font-weight:650}button,a{transition:background-color .16s,border-color .16s,color .16s}:is(button,a,summary,input,select,textarea,[tabindex]):focus-visible{outline:2px solid var(--primary);outline-offset:3px}.eyebrow{font-size:10px;letter-spacing:1.1px;margin-bottom:8px;font-weight:600}.button,.icon-button{border-radius:5px;box-shadow:none}.button{font-size:13px;min-height:40px;padding:8px 13px;gap:8px}.button.small{font-size:12px;min-height:36px;padding:6px 10px}.button.primary,.button.lime{background:var(--accent);color:var(--primary-text)}.button.primary:hover,.button.lime:hover{background:var(--primary-hover)}.button.secondary{background:var(--surface);border-color:var(--border)}.button.secondary:hover{background:var(--surface-alt);border-color:var(--muted)}.icon-button{min-width:38px;min-height:38px;padding:8px}.text-link{color:var(--primary);font-size:12px}input,select,textarea{border-radius:6px;min-height:42px;font-size:14px;background:var(--surface)}.field>span{font-size:12px;font-weight:600}.field small{font-size:11px}.badge{font-size:11px;border-radius:4px;padding:4px 7px}.priority{font-size:11px}.sidebar{width:218px;padding:20px 12px 12px;background:var(--surface);color:var(--text);border-color:var(--border);overflow-y:auto;scrollbar-width:thin}.workspace{margin-left:218px;width:calc(100% - 218px)}.brand{gap:9px;padding:0 6px 20px;font-size:17px;letter-spacing:-.5px;flex-shrink:0}.brand-mark{width:34px;height:38px;flex-shrink:0;border-radius:2px;background:var(--accent);color:#182233;clip-path:polygon(0 0,78% 0,100% 20%,100% 100%,0 100%)}.brand-mark svg{width:24px}.brand>span:last-child>span{font-size:14px;color:var(--muted)}.nav-caption{font-size:10px;letter-spacing:1.4px;color:var(--muted);margin:10px 12px 8px}.sidebar nav{gap:4px;flex-shrink:0}.sidebar nav a,.sidebar-bottom nav a{font-size:13px;min-height:40px;padding:9px 12px;gap:11px;border-radius:6px;color:var(--muted);line-height:1.4}.sidebar nav a svg{width:18px;height:18px;stroke-width:1.7}.sidebar nav a:hover{background:var(--surface-alt);color:var(--text)}.sidebar nav a.active,:root[data-theme=dark] .sidebar nav a.active{background:var(--accent);color:#182233;font-weight:650}.sidebar-add{margin-top:12px;flex-shrink:0}.sidebar-scene{position:relative;min-height:128px;max-height:230px;flex:1 0 128px;margin:14px -12px 0;overflow:hidden;background:linear-gradient(to bottom,var(--surface),transparent 65%),url(/images/construction-hero.png) 76% top/auto 100% no-repeat}.sidebar-scene>div{position:absolute;inset:auto 0 0;padding:25px 20px 14px;background:#29313f;clip-path:polygon(0 0,100% 20%,100% 100%,0 100%);color:#fff}.sidebar-scene i{display:block;width:54px;height:12px;margin-bottom:7px;background:repeating-linear-gradient(125deg,#f8ba31 0 8px,transparent 8px 15px)}.sidebar-scene p{font-size:11px;font-weight:650;line-height:1.45;letter-spacing:.4px}.sidebar-bottom{padding-top:12px;flex-shrink:0;margin-top:auto}.sidebar-bottom .nav-caption{margin-top:0}.local-label{font-size:10px;color:var(--muted);border-color:var(--border);padding-top:12px;margin-top:12px;gap:8px}.local-label small{font-size:9px}.local-label svg{width:16px}.topbar{height:60px;padding:8px 24px;gap:16px;background:var(--surface);border-color:var(--border)}.project-switcher{max-width:min(520px,65%)}.project-switcher select{font-size:13px;min-height:38px;background:var(--surface-alt);border:1px solid var(--border);border-radius:6px;padding:8px 24px 8px 12px;max-width:400px}.topbar-right{gap:12px}.mobile-settings{display:inline-flex}.today-date{display:block;border-inline:1px solid var(--border);padding:0 14px;font-size:11px;font-weight:650;white-space:nowrap}.today-date small{display:block;font-size:10px;font-weight:400;margin-top:2px}.sync-bar{padding:6px 24px;border-bottom:1px solid var(--border);gap:10px;min-height:42px}.sync-bar>.muted,.sync-status,.folder-status{font-size:11px}.sync-bar .stock-entry-link,.sync-bar .team-entry-link{font-size:12px;min-height:32px;padding:4px 0}.sync-bar .team-entry-link{gap:6px}.sync-bar .stock-entry-link{margin-right:auto}.update-banner{padding:10px 24px;gap:10px;background:var(--surface-alt);color:var(--text);border-bottom:1px solid var(--border);font-size:12px}.update-banner .button{color:var(--text)}#main{max-width:1940px;padding:24px 24px 48px}.page-heading{gap:20px;margin-bottom:20px;padding:4px 0 16px;border-bottom:1px solid var(--border)}.page-heading>div:first-child{min-width:0}.page-heading .muted{font-size:13px;margin-top:7px;max-width:680px}.heading-action{flex-wrap:wrap;justify-content:flex-end;gap:8px}.section-heading{padding-bottom:12px;border-bottom:1px solid var(--border);margin-bottom:16px}.section-heading h2{font-size:15px}.section-heading p{font-size:12px}.dashboard-intro{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:16px;margin-bottom:16px}.dashboard-hero{display:flex;align-items:center;min-height:194px;padding:26px;border:1px solid var(--border);border-radius:8px;background:linear-gradient(90deg,#f0f2f4f2,#f0f2f4d9 35%,#f0f2f420 80%),url(/images/construction-hero.png) center/cover no-repeat;color:#111a2d}.dashboard-hero .page-heading{border:0;padding:0;margin:0;max-width:67%}.dashboard-hero h1{font-size:clamp(25px,2vw,34px);letter-spacing:-1px;font-weight:750}.dashboard-hero .eyebrow{color:#3d4b64;letter-spacing:1.3px;font-size:10px;margin-bottom:10px}.dashboard-hero .muted{color:#394762;font-size:14px;line-height:1.5}.dashboard-shortcut{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:20px 18px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.dashboard-shortcut:hover{background:var(--surface-alt);border-color:var(--muted)}.dashboard-shortcut strong{font-size:15px}.dashboard-shortcut>span:not(.shortcut-icon){color:var(--muted);font-size:12px;max-width:160px;line-height:1.5;padding-right:12px}.shortcut-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:10px;background:var(--surface-alt);margin-bottom:4px}.shortcut-arrow{position:absolute;bottom:12px;right:12px;box-sizing:content-box;border:1px solid var(--border);border-radius:50%;padding:5px;width:14px;height:14px}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.stat-card{border-radius:8px;min-height:106px;padding:18px 20px;grid-template-columns:46px minmax(0,1fr);column-gap:16px;row-gap:4px;align-items:start;box-shadow:none}.stat-card:hover{border-color:var(--muted);transform:none}.stat-icon{grid-row:1/3;width:46px;height:46px;border-radius:14px}.stat-icon svg{width:25px;height:25px;stroke-width:1.8}.stat-icon.amber,:root[data-theme=dark] .stat-icon.amber{background:#ffbf62;color:#162035}.stat-icon.blue,:root[data-theme=dark] .stat-icon.blue{background:#c6ddff;color:#153a68}.stat-icon.green,:root[data-theme=dark] .stat-icon.green{background:#ffb7ad;color:#482127}.stat-icon.neutral{background:#d7e8e0;color:#31584b}.stat-label{grid-column:2;grid-row:1;margin:0;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.3px;font-weight:650}.stat-value{grid-column:2;grid-row:2;margin:0;text-align:left;font-size:30px;line-height:1.15;letter-spacing:-.8px;font-weight:650;font-variant-numeric:tabular-nums}.stat-arrow{display:none}.dashboard-body{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px;align-items:start}.dashboard-notes-panel{border:1px solid var(--border);border-radius:8px;background:var(--surface);min-width:0;overflow:hidden}.dashboard-notes-panel>.section-heading{padding:12px 16px;margin:0;min-height:58px}.dashboard-notes-panel>.section-heading h2{font-size:15px}.dashboard-notes-panel>.section-heading p{font-size:11px}.dashboard-notes-panel>.notes-grid{padding:14px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dashboard-notes-panel>p{border-top:1px solid var(--border);padding:4px 16px;font-size:11px}.dashboard-aside{display:grid;grid-template-columns:1fr;gap:16px;margin:0;min-width:0}.dashboard-aside .overview-panel{margin:0;padding:16px}.dashboard-aside .overview-panel h3{font-size:15px;padding-bottom:12px;border-bottom:1px solid var(--border);margin-bottom:10px}.dashboard-aside .overview-panel p{font-size:12px}.quick-note-panel{padding:16px;background:var(--surface);border:1px solid var(--border);color:var(--text);display:grid;grid-template-columns:38px 1fr;gap:12px}.quick-note-icon{width:38px;height:40px;background:var(--surface-alt);color:var(--primary);margin:0;border:0;border-radius:7px}.quick-note-panel h2{font-size:16px;margin:0;line-height:1.5}.quick-note-panel p{grid-column:1/-1;color:var(--muted);font-size:12px;margin:0}.quick-note-panel .button{grid-column:1/-1;margin:0}.backup-reminder{margin:0;font-size:11px;line-height:1.7}.selected-chip{background:color-mix(in srgb,var(--accent) 14%,var(--surface))!important;border-color:var(--accent)!important;color:var(--text)!important}.theme-options button.active{background:color-mix(in srgb,var(--accent) 14%,var(--surface));border-color:var(--accent);color:var(--text)}.camera-button:not(.secondary-camera),:root[data-theme=dark] .camera-button:not(.secondary-camera){background:color-mix(in srgb,var(--accent) 9%,var(--surface));color:var(--text);border-color:var(--accent)}:is(.note-card,.overview-panel,.quick-note-panel,.settings-section,.project-card,.empty-state,.form-panel,.detail-main,.filter-panel,.team-panel,.diary-editor,.diary-days){border-radius:8px;box-shadow:none}.note-card{border-color:var(--border)}.note-card:hover{transform:none;border-color:var(--muted)}.notes-grid{gap:16px}.card-photo{height:154px}.card-content{padding:14px 16px 0}.card-title h3{font-size:15px;line-height:1.45}.card-title{min-height:0}.note-type{font-size:10px;letter-spacing:.4px}.card-top{margin-bottom:10px}.card-category{font-size:12px;margin:10px 0}.card-meta{font-size:12px;gap:9px}.card-footer{padding:12px 0}.card-top .icon-button{min-width:34px;min-height:36px;padding:7px}.list-toolbar{padding:12px;background:var(--surface);border:1px solid var(--border);border-radius:8px;gap:10px;margin-bottom:14px}.search-input{min-height:42px;border-radius:6px;background:var(--surface-alt)}.search-input input{font-size:13px}.filter-panel{border:1px solid var(--border);padding:16px}.list-subbar{gap:16px;flex-wrap:wrap;margin-bottom:16px}.tabs{gap:4px;flex-wrap:wrap}.tabs button{min-height:40px;font-size:13px;padding:8px 14px;border:1px solid transparent;border-radius:5px;color:var(--muted)}.tabs button.active{background:var(--surface);color:var(--primary);border-color:var(--border);box-shadow:inset 0 -2px var(--accent)}.notes-view-options{margin:10px 0}.notes-title-list{border-radius:8px}.note-title-row{min-height:48px}.note-title-row h3{font-size:13px}.form-panel{padding:24px;gap:20px}.type-picker{gap:6px;padding-bottom:18px}.type-picker button{border-radius:5px;font-size:12px}.type-picker button.active{background:var(--accent);color:var(--primary-text)}.title-input{font-size:16px;min-height:48px}.details-toggle{border-radius:6px;font-size:13px}.camera-button{border-radius:8px;font-size:13px}.detail-main{padding:24px}.detail-description p{font-size:14px;line-height:1.75}.detail-aside .overview-panel{margin-top:0}.settings-section{padding:22px;margin-bottom:18px}.settings-section h2{font-size:17px}.settings-section>p{font-size:13px}.theme-options button{border-radius:6px}.project-card{padding:22px}.project-card h2{font-size:19px}.empty-state{padding:32px 20px}.empty-state h2{font-size:16px}.empty-state p{font-size:13px}.dialog{border-radius:8px;padding:24px;box-shadow:0 20px 80px #0004}.dialog-header{padding-bottom:16px;border-bottom:1px solid var(--border);margin-bottom:20px}.dialog-header h2{font-size:19px}.team-table th,.diary-workers-table th{background:var(--surface-alt);color:var(--muted)}.team-table td,.team-stage p,.team-panel p{font-size:13px}.team-tabs{flex-wrap:wrap}.toast{border-radius:8px;font-size:13px}@media(min-width:1600px){.dashboard-body{grid-template-columns:minmax(0,1fr) 360px}.dashboard-notes-panel>.notes-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(min-width:761px)and (max-width:1100px){.sidebar{width:202px}.workspace{margin-left:202px;width:calc(100% - 202px)}.topbar{padding-inline:18px}.project-switcher{max-width:70%}.today-date{display:none}#main{padding:20px 18px 48px}.dashboard-intro{grid-template-columns:minmax(0,1fr) 180px}.dashboard-hero{padding:22px}.dashboard-hero .page-heading{max-width:90%}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-body{grid-template-columns:1fr}.dashboard-aside{grid-template-columns:1fr 1fr}.dashboard-aside .backup-reminder{grid-column:1/-1}.page-heading{flex-wrap:wrap}.heading-action{justify-content:flex-start}}@media(max-width:760px){body{font-size:14px}.sidebar{display:none}.workspace{margin-left:0;width:100%}.topbar{height:auto;min-height:64px;padding:calc(8px + env(safe-area-inset-top)) 12px 8px;gap:6px}.project-switcher{max-width:none;flex:1}.project-switcher select{font-size:14px;max-width:100%;min-height:44px;border:0;padding-left:4px;background:transparent}.topbar-right{gap:2px}.today-date{display:none}.mobile-brand{color:var(--primary)}.sync-bar{padding:6px 14px;gap:8px;align-items:center}.sync-bar>.muted{font-size:10px}.folder-status{white-space:normal;overflow-wrap:anywhere}.update-banner{padding:10px 14px;flex-wrap:wrap}.update-banner>.button{font-size:12px;min-height:40px}#main{padding:18px 14px calc(105px + env(safe-area-inset-bottom))}h1{font-size:23px}.page-heading{gap:12px;margin-bottom:18px;flex-wrap:wrap}.page-heading .muted{font-size:13px}.heading-action{justify-content:flex-start}.button,.button.small{min-height:44px;font-size:13px}.icon-button{min-width:44px;min-height:44px}input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px;min-height:44px}.field>span{font-size:13px}.dashboard-intro{grid-template-columns:1fr;gap:10px;margin-bottom:12px}.dashboard-hero{min-height:170px;padding:22px 18px;background-position:60% center}.dashboard-hero .page-heading{max-width:80%}.dashboard-hero h1{font-size:25px}.dashboard-hero .muted{font-size:13px}.dashboard-shortcut{display:grid;grid-template-columns:40px 1fr 26px;gap:2px 12px;padding:14px;align-items:center}.shortcut-icon{grid-row:1/3;width:40px;height:42px;margin:0}.dashboard-shortcut>span:not(.shortcut-icon){max-width:none;grid-column:2;padding:0}.dashboard-shortcut strong{font-size:15px}.shortcut-arrow{position:static;grid-column:3;grid-row:1/3}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}.stat-card{grid-template-columns:32px minmax(0,1fr);gap:5px 10px;min-height:100px;padding:14px 12px}.stat-icon{width:32px;height:36px;border-radius:9px}.stat-icon svg{width:20px;height:20px}.stat-label{font-size:10px;line-height:1.4}.stat-value{font-size:27px;text-align:left}.dashboard-body{grid-template-columns:1fr;gap:14px}.dashboard-aside{display:grid;grid-template-columns:1fr;gap:14px}.dashboard-notes-panel>.section-heading{padding:12px}.dashboard-notes-panel>.notes-grid{padding:12px;gap:12px;grid-template-columns:1fr}.notes-grid{grid-template-columns:1fr;gap:12px}.card-photo{height:175px}.card-content,.note-card .card-content{padding:15px 16px 0}.card-title h3,.note-card .card-title h3{font-size:16px}.card-meta{font-size:12px}.note-type{font-size:10px}.card-category{font-size:13px}.card-top .icon-button{min-width:44px;min-height:44px}.badge,.priority{font-size:11px}.list-toolbar{padding:10px;flex-wrap:wrap}.search-input{flex-basis:100%;min-height:44px}.search-input input{font-size:16px}.list-subbar{gap:10px}.tabs{gap:4px}.tabs button{font-size:13px;min-height:44px;padding:8px 10px}.list-subbar>select{font-size:14px;max-width:150px}.form-panel,.detail-main,.settings-section,.project-card{padding:18px}.type-picker button{min-height:44px;font-size:13px}.camera-button{font-size:13px}.dialog{padding:18px;border-radius:8px;max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px)}.photo-viewer{padding:calc(12px + env(safe-area-inset-top)) 0 calc(12px + env(safe-area-inset-bottom));max-height:100dvh;border-radius:0}.bottom-nav{background:var(--surface);border-color:var(--border);padding:6px 8px calc(6px + env(safe-area-inset-bottom));min-height:76px}.bottom-nav>a.active{color:var(--primary)}.bottom-add>span{background:var(--accent);color:var(--primary-text);border-color:var(--bg);border-radius:15px}.mobile-navigation-panel{border-radius:8px;box-shadow:0 12px 32px #0003}.mobile-navigation-panel a.active{background:var(--accent);color:var(--primary-text)}}@media(prefers-reduced-motion:reduce){button,a{transition:none}}@media print{.sidebar-scene,.dashboard-shortcut,.sync-bar{display:none!important}.workspace{margin:0;width:100%}#main{padding:0}.dashboard-intro{display:block}.dashboard-hero{background:none;color:#111;min-height:0;border:0;padding:0}.dashboard-body{display:block}}:root[data-palette=green]{--bg:#f1f6f5;--surface:#ffffff;--surface-alt:#e7f1ed;--text:#183b32;--muted:#55766a;--border:#d6e4de;--primary:#147956;--primary-hover:#0f6245;--primary-text:#ffffff;--accent:#147956;--shadow:0 5px 25px #15382b08}:root[data-palette=green][data-theme=dark]{--bg:#111a19;--surface:#1a2825;--surface-alt:#233832;--text:#e7f1ee;--muted:#abc2b9;--border:#364d44;--primary:#68cba7;--primary-hover:#88dbba;--primary-text:#10291f;--accent:#68cba7;--red:#ffa4aa;--red-bg:#442a30;--shadow:0 5px 25px #0002}:root[data-palette=blue]{--bg:#f1f5fa;--surface:#ffffff;--surface-alt:#e8eff9;--text:#203750;--muted:#5c718a;--border:#d7e1ef;--primary:#3268b5;--primary-hover:#275494;--primary-text:#ffffff;--accent:#3268b5;--shadow:0 5px 25px #19355508}:root[data-palette=blue][data-theme=dark]{--bg:#111923;--surface:#1b293a;--surface-alt:#243850;--text:#e6eef8;--muted:#abbfd6;--border:#354c67;--primary:#8cb9f0;--primary-hover:#adcff6;--primary-text:#132a46;--accent:#8cb9f0;--red:#ffa4aa;--red-bg:#442a30;--shadow:0 5px 25px #0002}.project-choice.project-switcher{position:relative;display:flex;align-items:center;gap:11px;min-width:220px;width:clamp(220px,32vw,400px);max-width:55%;min-height:46px;padding:7px 13px 7px 8px;border:1px solid var(--border);border-radius:12px;background:var(--surface-alt);transition:background .18s,border-color .18s,box-shadow .18s}.project-choice:hover:not(.is-locked){border-color:var(--primary);background:var(--surface)}.project-choice:focus-within{outline:2px solid var(--primary);outline-offset:3px}.project-choice-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;background:var(--surface);border:1px solid var(--border);border-radius:9px;color:var(--primary)}.project-choice-copy{flex:1;min-width:0}.project-choice-caption{display:block;font-size:8px;letter-spacing:1.2px;line-height:1.5;color:var(--muted);margin-bottom:2px}.project-choice-copy strong{display:block;font-size:13px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text);font-weight:600}.project-choice-chevron{flex-shrink:0;color:var(--muted)}.project-choice.project-switcher select{position:absolute!important;inset:0;width:100%!important;max-width:none!important;height:100%;margin:0;opacity:0;cursor:pointer;font-size:16px}.project-choice select:disabled{cursor:default}.project-choice.is-locked .project-choice-chevron{opacity:.35}@media(max-width:760px){.topbar .project-choice.project-switcher{min-width:0;width:auto;max-width:none;flex:1;gap:8px;padding:5px 9px;min-height:44px}.project-choice-icon{display:none}.project-choice-caption{font-size:7px;letter-spacing:.9px}.project-choice-copy strong{font-size:12px}.topbar .topbar-right{flex-shrink:0}.topbar{gap:10px}.project-choice-copy{min-width:65px}}:root:is([data-palette=green],[data-palette=sage],[data-palette=blue]) .sidebar nav a.active,:root:is([data-palette=green],[data-palette=sage],[data-palette=blue])[data-theme=dark] .sidebar nav a.active{background:var(--surface-alt);color:var(--primary);box-shadow:inset 3px 0 var(--primary)}:root:is([data-palette=green],[data-palette=sage],[data-palette=blue]) .brand-mark{color:var(--primary-text);border-radius:10px;clip-path:none}:root:is([data-palette=green],[data-palette=sage],[data-palette=blue]) .bottom-add>span{background:var(--accent);color:var(--primary-text)}:root:is([data-palette=green],[data-palette=sage],[data-palette=blue]) .bottom-nav a.active,:root:is([data-palette=green],[data-palette=sage],[data-palette=blue]) .mobile-navigation a.active{color:var(--primary)}:root:is([data-palette=green],[data-palette=sage],[data-palette=blue]) .sidebar-scene>div{background:#183b2b}:root:is([data-palette=green],[data-palette=sage],[data-palette=blue]) .sidebar-scene i{background:repeating-linear-gradient(125deg,#a7d5a0 0 8px,transparent 8px 15px)}.appearance-settings h3{margin:20px 0 10px}.palette-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.palette-options button{display:flex;align-items:center;gap:12px;text-align:left;border:1px solid var(--border);border-radius:10px;background:var(--surface);padding:16px;color:var(--text);min-height:80px}.palette-options button.active{border-color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary)}.palette-options strong,.palette-options small{display:block}.palette-options small{color:var(--muted);font-size:11px;margin-top:4px}.palette-swatch{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;color:#fff}.palette-swatch.orange{background:#b95516}.palette-swatch.green{background:#286944}.appearance-help{font-size:12px;margin-top:16px}@media(prefers-reduced-motion:no-preference){.workspace>#main>*,.hp-main>*{animation:workspace-enter .3s ease-out both}.workspace>#main>:nth-child(2),.hp-main>:nth-child(2){animation-delay:.04s}.hp-main>:nth-child(3){animation-delay:.08s}.button,.icon-button,.palette-options button,.theme-options button,.hp-button,.hp-timer-controls button{transition:background-color .18s,color .18s,border-color .18s,transform .18s,box-shadow .18s}:is(.button,.hp-button,.hp-timer-controls button,.palette-options button):active{transform:scale(.97)}:is(.note-card,.team-panel,.settings-section,.hp-panel,.hp-stat){transition:border-color .2s,box-shadow .2s,transform .2s}.note-card:hover,.hp-stat:hover{box-shadow:0 7px 24px #0000000c}dialog[open]{animation:dialog-enter .2s ease-out}.toast{animation:workspace-enter .22s ease-out}.sidebar nav a,.bottom-nav a{transition:color .18s,background-color .18s,transform .18s}.hp-timer-dot.running{animation:timer-pulse 1.8s ease-in-out infinite}.hp-timer:has(.running){background-size:105% 105%;animation:timer-texture 16s ease-in-out infinite alternate}.hp-gauge{animation:workspace-enter .65s ease-out}}@keyframes workspace-enter{0%{opacity:0;translate:0 7px}to{opacity:1;translate:0 0}}@keyframes dialog-enter{0%{opacity:0;transform:translateY(9px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes timer-pulse{50%{box-shadow:0 0 0 6px #c0ed8a10;opacity:.65}}@keyframes timer-texture{to{background-position:16px 22px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}@media(max-width:440px){.palette-options button{padding:12px;gap:8px}.palette-options small{font-size:10px}.palette-swatch{width:28px;height:28px}}:root[data-palette=sage]{--bg:#f2f5ef;--surface:#ffffff;--surface-alt:#eaf0e5;--text:#1d392d;--muted:#5d7063;--border:#dbe4d8;--primary:#246443;--primary-hover:#1d5036;--primary-text:#ffffff;--accent:#246443;--shadow:0 5px 25px #1a382807}:root[data-palette=sage][data-theme=dark]{--bg:#101a16;--surface:#192820;--surface-alt:#21352a;--text:#e6eee7;--muted:#a5baaa;--border:#354a3b;--primary:#a7d5a0;--primary-hover:#bce3b5;--primary-text:#12251a;--accent:#a7d5a0;--red:#ffa4aa;--red-bg:#442a30;--shadow:0 5px 25px #0002}.palette-swatch.green{background:#147956}.palette-swatch.sage{background:#688463}.palette-swatch.blue{background:#3268b5}:root[data-palette=blue] .sidebar-scene>div{background:#203b59}:root[data-palette=blue] .sidebar-scene i{background:repeating-linear-gradient(125deg,#8cb9f0 0 8px,transparent 8px 15px)}:root[data-palette]:not([data-palette=orange],[data-palette=green],[data-palette=sage],[data-palette=blue]){--bg:color-mix(in srgb,var(--palette-color) 4%,#f6f7f8);--surface:#fff;--surface-alt:color-mix(in srgb,var(--palette-color) 9%,#f4f6f7);--text:#243240;--muted:#5c6b79;--border:color-mix(in srgb,var(--palette-color) 15%,#dee4ea);--primary:var(--palette-link);--accent:var(--palette-color);--primary-hover:color-mix(in srgb,var(--palette-color) 85%,#000);--primary-text:var(--palette-ink);--shadow:0 5px 25px #15223008}:root[data-palette]:not([data-palette=orange],[data-palette=green],[data-palette=sage],[data-palette=blue])[data-theme=dark]{--bg:color-mix(in srgb,var(--palette-dark) 3%,#14191f);--surface:color-mix(in srgb,var(--palette-dark) 6%,#202830);--surface-alt:color-mix(in srgb,var(--palette-dark) 12%,#26313b);--text:#edf1f6;--muted:#b5c0cc;--border:color-mix(in srgb,var(--palette-dark) 15%,#394653);--primary:var(--palette-dark);--accent:var(--palette-dark);--primary-hover:color-mix(in srgb,var(--palette-dark) 80%,#fff);--primary-text:#19232d;--red:#ffa4aa;--red-bg:#442a30;--shadow:0 5px 25px #0002}:root[data-palette]:not([data-palette=orange]) .sidebar nav a.active{background:var(--surface-alt);color:var(--primary);box-shadow:inset 3px 0 var(--primary)}:root[data-palette]:not([data-palette=orange]) .brand-mark{color:var(--primary-text);border-radius:10px;clip-path:none}:root[data-palette]:not([data-palette=orange]) .bottom-add>span{background:var(--accent);color:var(--primary-text)}:root[data-palette]:not([data-palette=orange]) .bottom-nav a.active{color:var(--primary)}:root[data-palette] .sidebar-scene>div{background:color-mix(in srgb,var(--accent) 25%,#182532)}:root[data-palette] .sidebar-scene i{background:repeating-linear-gradient(125deg,var(--accent) 0 8px,transparent 8px 15px)}.palette-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.palette-heading output{font-size:12px;font-weight:600;color:var(--primary);background:var(--surface-alt);padding:4px 10px;border-radius:20px;margin-top:10px}.palette-range-label{display:block;width:100%;padding:2px 5px}.palette-range{display:block;width:100%;margin:0;height:44px;min-height:44px;appearance:none;-webkit-appearance:none;background:transparent!important;border:0!important;padding:0;cursor:pointer;accent-color:var(--primary)}.palette-range::-webkit-slider-runnable-track{height:10px;border-radius:10px;background:linear-gradient(90deg,#b95516,#e2b52f,#b83b45,#ae4e7c,#7953a8,#3268b5,#167b88,#147956,#688463,#80573e,#616e7c,#29313b,#e6eaf0)}.palette-range::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:24px;height:24px;border:4px solid var(--surface);background:var(--primary);border-radius:50%;margin-top:-7px;box-shadow:0 0 0 2px var(--primary),0 2px 5px #0003}.palette-range::-moz-range-track{height:10px;border-radius:10px;background:linear-gradient(90deg,#b95516,#e2b52f,#b83b45,#ae4e7c,#7953a8,#3268b5,#167b88,#147956,#688463,#80573e,#616e7c,#29313b,#e6eaf0)}.palette-range::-moz-range-thumb{width:18px;height:18px;border:3px solid var(--surface);background:var(--primary);border-radius:50%;box-shadow:0 0 0 2px var(--primary)}.palette-carousel{display:flex;align-items:center;gap:4px;min-width:0;max-width:100%;margin-top:8px}.palette-options.palette-track{display:flex;gap:6px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:var(--border) transparent;min-width:0;flex:1;padding:5px 3px 10px}.palette-options.palette-track button{flex:0 0 72px;display:flex;flex-direction:column;justify-content:center;text-align:center;gap:8px;min-height:86px;padding:9px 4px;border-radius:12px;scroll-snap-align:center;font-size:10px}.palette-options.palette-track .palette-swatch{width:34px;height:34px;border:1px solid #ffffff30;box-shadow:0 1px 4px #0002}.palette-scroll{flex:0 0 34px;min-width:34px;min-height:44px;padding:5px}.palette-description{font-size:11px;color:var(--muted);margin-top:8px}:root[data-palette]:not([data-palette=orange],[data-palette=green],[data-palette=sage],[data-palette=blue]) .hp-shell .hp-timer{background-color:color-mix(in srgb,var(--accent) 25%,#152432)}:root[data-palette]:not([data-palette=orange],[data-palette=green],[data-palette=sage],[data-palette=blue]) .hp-shell .hp-timer-controls>button:first-child{background:color-mix(in srgb,var(--accent) 25%,#fff);color:#23313d}:root[data-palette]:not([data-palette=orange],[data-palette=green],[data-palette=sage],[data-palette=blue])[data-theme=dark] .hp-shell .hp-stat-featured{background:linear-gradient(125deg,color-mix(in srgb,var(--accent) 22%,#192431),color-mix(in srgb,var(--accent) 40%,#192431))}:root:is([data-palette=yellow],[data-palette=white]):not([data-theme=dark]) .hp-shell .hp-stat-featured{color:#29313b!important}:root:is([data-palette=yellow],[data-palette=white]):not([data-theme=dark]) .hp-shell .hp-stat-featured small{color:#3a414b}.sidebar-brand-row{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-bottom:10px}.sidebar-brand-row .brand{padding-bottom:0;min-width:0;font-size:15px;gap:7px}.sidebar-brand-text{overflow:hidden}.sidebar-brand-text>span{display:block}.sidebar-toggle{min-width:30px;min-height:34px;padding:5px;color:var(--muted);flex-shrink:0}.sidebar-nav-label{min-width:0;overflow:hidden}.sidebar-tooltip{position:fixed;z-index:250;padding:8px 12px;border-radius:7px;background:var(--text);color:var(--bg);border:1px solid var(--border);box-shadow:0 5px 18px #0002;font-size:12px;line-height:1.5;pointer-events:none;white-space:nowrap}.popover-root{position:relative}.workspace-popover{position:absolute;z-index:120;right:0;top:calc(100% + 12px);border:1px solid var(--border);border-radius:14px;box-shadow:0 16px 50px #0003;background:var(--surface);color:var(--text);text-align:left;max-height:min(620px,calc(100dvh - 100px));overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.workspace-popover header{display:flex;align-items:center;justify-content:space-between;padding:17px 18px;border-bottom:1px solid var(--border)}.workspace-popover header h2{font-size:15px;margin:0}.workspace-popover header small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.workspace-popover button,.workspace-popover a{font-size:12px}.workspace-popover button{background:none;border:0}.workspace-popover .icon-button{min-width:34px;min-height:34px}.account-avatar{display:grid;place-items:center;position:relative;flex-shrink:0;width:35px;height:35px;border-radius:50%;font-size:12px;letter-spacing:.3px;font-weight:650;background:var(--surface-alt);color:var(--primary);border:1px solid var(--border)}.account-avatar i{position:absolute;width:8px;height:8px;border:2px solid var(--surface);border-radius:50%;background:var(--muted);right:0;bottom:0}.account-avatar i.signed-in{background:#4b9d70}.account-avatar.large{width:68px;height:68px;font-size:22px}.account-trigger{display:flex;align-items:center;gap:10px;min-height:44px;padding:3px;border:0;background:none;color:var(--text);border-radius:10px}.account-trigger:hover{background:var(--surface-alt)}.account-copy{text-align:left;min-width:0;flex:1}.account-copy strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:135px}.account-copy small{display:block;font-size:10px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:135px}.account-header .account-copy{display:none}.account-sidebar{border-top:1px solid var(--border);margin-top:12px;padding-top:10px}.account-sidebar>.account-trigger{width:100%;padding:6px}.account-panel{width:260px;padding:6px}.account-panel header{display:block;padding:12px 10px}.account-panel header strong{font-size:12px;overflow-wrap:anywhere}.account-panel header small{overflow-wrap:anywhere}.account-panel>a,.account-panel>button,.account-theme-options>button{display:flex;align-items:center;gap:10px;padding:10px 12px;min-height:40px;border-radius:7px;width:100%;color:var(--text);text-align:left}.account-panel>a:hover,.account-panel>button:hover,.account-theme-options>button:hover{background:var(--surface-alt)}.account-theme-options{border-block:1px solid var(--border);margin:5px 0;padding:5px 0}.account-theme-options>button[aria-pressed=true]{color:var(--primary);background:var(--surface-alt)}.account-theme-options>button svg:last-child:not(:first-child){margin-left:auto}.account-panel>button.account-logout{color:var(--red)}.account-panel .form-error{padding:8px;font-size:11px}.account-panel-floating{position:fixed;right:auto;top:auto;bottom:18px;max-height:calc(100dvh - 36px)}.notification-panel{width:390px;max-width:calc(100vw - 24px);overflow:hidden;display:flex;flex-direction:column}.notification-trigger{position:relative}.notification-count{position:absolute;top:2px;right:0;min-width:16px;height:16px;display:grid;place-items:center;padding:0 4px;border-radius:10px;font-size:9px;font-weight:700;color:#fff;background:#c34a52;border:2px solid var(--surface);line-height:1}.notification-tools{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:10px 12px;border-bottom:1px solid var(--border)}.notification-tools>div{display:flex;gap:3px}.notification-tools button{font-size:10px;padding:7px 8px;min-height:34px;border-radius:6px;display:flex;align-items:center;gap:4px;color:var(--muted)}.notification-tools button[aria-pressed=true]{background:var(--surface-alt);color:var(--primary)}.notification-feed{overflow:auto;min-height:120px;max-height:440px;scrollbar-width:thin}.notification-row{display:flex;align-items:flex-start;gap:12px;padding:16px 18px;border-bottom:1px solid var(--border);opacity:.75}.notification-row.unread{opacity:1;background:color-mix(in srgb,var(--primary) 3%,var(--surface))}.notification-row:last-child{border-bottom:0}.notification-symbol{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;border-radius:9px;background:var(--surface-alt);color:var(--primary)}.notification-symbol.invite{color:#7089c4}.notification-row>div{flex:1;min-width:0}.notification-row a{display:block;line-height:1.6}.notification-row strong{font-weight:600;font-size:12px}.unread-dot{display:inline-block;width:6px;height:6px;vertical-align:middle;margin-left:7px;border-radius:50%;background:var(--primary)}.notification-row time{display:block;font-size:10px;margin-top:4px;color:var(--muted)}.notification-row button{font-size:10px;padding:7px 0 0;color:var(--primary);min-height:30px}.notification-panel footer{border-top:1px solid var(--border);padding:12px}.notification-panel footer>a{display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;min-height:30px;color:var(--primary)}.notification-empty{padding:32px 25px;text-align:center;display:grid;justify-items:center;gap:10px}.notification-empty>span{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:var(--surface-alt);color:var(--primary)}.notification-empty strong{font-size:13px}.notification-empty p{font-size:12px;color:var(--muted)}.notification-error{padding:15px;font-size:12px}.notification-limit{font-size:10px;color:var(--muted);padding:10px 18px}.profile-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:22px;align-items:start;max-width:1120px}.profile-card{border:1px solid var(--border);border-radius:14px;background:var(--surface);padding:24px}.profile-identity{display:flex;align-items:center;gap:17px;margin-bottom:28px;padding-bottom:24px;border-bottom:1px solid var(--border)}.profile-identity h2{font-size:19px;overflow-wrap:anywhere}.profile-identity p{font-size:12px;color:var(--muted);margin:4px 0}.profile-identity small{display:flex;align-items:center;gap:6px;overflow-wrap:anywhere;font-size:11px;color:var(--muted)}.profile-identity>div{min-width:0}.profile-save{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-top:10px}.profile-save p{font-size:11px;max-width:350px}.profile-save button{flex-shrink:0}.profile-aside{display:grid;gap:18px}.profile-aside h2{margin:12px 0 8px}.profile-aside p{font-size:12px;color:var(--muted)}.profile-aside a{display:flex;justify-content:flex-start;font-size:11px}.profile-card .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.profile-card .field{min-width:0}@media(min-width:761px){.sidebar{width:218px}.workspace{margin-left:218px;width:calc(100% - 218px)}.sidebar-collapsed>.sidebar{width:76px;padding-inline:10px}.sidebar-collapsed>.workspace{margin-left:76px;width:calc(100% - 76px)}.sidebar-collapsed .sidebar-brand-row{flex-direction:column;gap:10px;align-items:center}.sidebar-collapsed .sidebar-brand-row .brand{padding:0}.sidebar-collapsed .sidebar-brand-text,.sidebar-collapsed .sidebar-nav-label,.sidebar-collapsed .nav-caption,.sidebar-collapsed .sidebar-scene,.sidebar-collapsed .local-label>span,.sidebar-collapsed .account-copy,.sidebar-collapsed .account-trigger>svg{display:none}.sidebar-collapsed .sidebar nav a{justify-content:center;padding:11px;min-height:44px}.sidebar-collapsed .sidebar nav a svg{width:19px;height:19px}.sidebar-collapsed .sidebar-add{padding:8px;min-height:44px;width:100%}.sidebar-collapsed .sidebar nav{gap:4px}.sidebar-collapsed .sidebar-bottom{margin-top:auto}.sidebar-collapsed .local-label{justify-content:center;padding-top:10px}.sidebar-collapsed .account-trigger{justify-content:center}.sidebar-collapsed>.sidebar .account-avatar{width:33px;height:33px}.sidebar-collapsed .sidebar-brand-row{margin-bottom:15px}}@media(prefers-reduced-motion:no-preference)and (min-width:761px){.sidebar{transition:width .25s cubic-bezier(.22,.68,.24,1),padding .25s}.workspace{transition:width .25s cubic-bezier(.22,.68,.24,1),margin-left .25s cubic-bezier(.22,.68,.24,1)}.workspace-popover{animation:popover-in .18s ease-out}.sidebar-tooltip{animation:popover-in .12s ease-out}}@keyframes popover-in{0%{opacity:0;translate:0 5px;scale:.98}to{opacity:1;translate:0 0;scale:1}}@media(max-width:760px){.topbar .topbar-right{gap:3px}.topbar .icon-button{min-width:32px;min-height:38px;padding:6px}.account-trigger{min-height:38px}.account-avatar{width:30px;height:30px;font-size:10px}.topbar .project-choice.project-switcher{padding-inline:7px}.project-choice-copy{min-width:0}.project-choice-caption{font-size:6px;letter-spacing:.6px}.topbar{gap:6px}.notification-panel{position:fixed;top:calc(65px + env(safe-area-inset-top));right:12px;left:12px;width:auto;max-width:none;max-height:calc(100dvh - 160px - env(safe-area-inset-top))}.account-header .account-panel{position:fixed;top:calc(65px + env(safe-area-inset-top));right:12px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 150px)}.profile-layout{grid-template-columns:1fr}.profile-card{padding:18px}.profile-card .form-grid{grid-template-columns:1fr;gap:0}.profile-save{align-items:stretch;flex-direction:column}.profile-save button{width:100%}.profile-identity{gap:12px}.profile-identity small{font-size:10px}.profile-identity .account-avatar{width:52px;height:52px;font-size:18px}}@media print{.workspace-popover,.sidebar-tooltip{display:none!important}}@media(prefers-reduced-motion:no-preference){.sidebar-nav-label,.sidebar-brand-text{animation:workspace-enter .18s ease-out both}}.account-profile-link{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--border);border-radius:10px;background:var(--surface-alt);padding:14px 16px;margin:16px 0;color:var(--text)}.account-profile-link>span{display:flex;align-items:center;gap:12px;min-width:0}.account-profile-link strong,.account-profile-link small{display:block}.account-profile-link strong{font-size:13px}.account-profile-link small{color:var(--muted);font-size:11px;margin-top:4px}.account-profile-link:hover{border-color:var(--primary)}
