.projects-active .app{max-width:720px}.projects-active #weatherHero,.projects-active #grid,.projects-active #add,.projects-active .weather-wallpaper{display:none!important}
#projects-view[hidden],.project-fab[hidden]{display:none}
.projects-heading{padding:34px 0 24px}.projects-heading p{color:var(--muted);font-size:13px;margin:0 0 9px}.projects-heading h1{font-size:clamp(30px,7vw,39px);letter-spacing:-1.2px}
.project-area-bar{display:flex;align-items:center;gap:8px;margin-bottom:24px}.project-filters{display:flex;gap:8px;overflow-x:auto;padding:4px 2px;scrollbar-width:none;flex:1;min-width:0}.project-filters button{display:flex;align-items:center;gap:8px;flex-shrink:0;min-height:46px;min-width:46px;justify-content:center;border:1px solid transparent;border-radius:24px;background:transparent;color:var(--muted);padding:0 12px;transition:background .18s,color .18s}.project-filters button[aria-pressed=true]{background:var(--surface);border-color:var(--surface-border);color:var(--area-color,#69aaff)}.project-filters button:not([aria-pressed=true]) .area-label{display:none}.project-manage{width:44px;height:44px;border:0;border-radius:50%;background:var(--surface);color:var(--muted);font-size:23px;flex-shrink:0}
.project-icon{font-size:26px;display:inline-grid;place-items:center;width:34px;flex-shrink:0}.project-area{border:1px solid var(--surface-border);border-radius:24px;background:linear-gradient(145deg,var(--tile1),var(--tile2));margin-bottom:16px;overflow:hidden}.project-area summary{display:flex;align-items:center;gap:12px;list-style:none;cursor:pointer;padding:21px 18px;min-height:84px;font-size:18px;font-weight:650}.project-area summary::-webkit-details-marker{display:none}.project-area summary>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}.project-area small,.project-title small{display:block;font-weight:400;font-size:12px;color:var(--muted);margin-top:5px;line-height:1.5}.project-chevron{font-size:26px;color:var(--muted);transition:transform .2s}.project-area[open] .project-chevron{transform:rotate(90deg)}.project-area-content{padding:0 16px 16px}.project-area[open] .project-area-content{animation:project-reveal .2s ease-out}@keyframes project-reveal{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
@supports(interpolate-size:allow-keywords){.project-area{interpolate-size:allow-keywords}.project-area::details-content{height:0;overflow:clip;transition:height .22s,content-visibility .22s;transition-behavior:allow-discrete}.project-area[open]::details-content{height:auto}}
.project-preview{border-top:1px solid var(--surface-border);padding:12px 0 8px}.project-title{display:flex;gap:12px;align-items:center;text-align:left;width:100%;min-height:56px;padding:8px 2px;border:0;background:none;color:var(--text);font-size:17px;font-weight:600}.project-title>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}.project-title>span:first-child{color:#69aaff}.project-task{display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--sheet-line);min-height:52px;color:var(--muted)}.project-check{display:grid;place-items:center;width:44px;min-height:44px;flex-shrink:0}.project-check input,.sheet .project-check input{width:22px;height:22px;padding:0;margin:0;accent-color:#499dff;appearance:auto}.project-task-open{flex:1;text-align:left;background:none;border:0;color:var(--sheet-text);font-size:14px;min-height:48px;padding:8px 0;min-width:0;overflow-wrap:anywhere}.project-task-open small,.project-due{display:block;font-size:11px;color:var(--muted);margin-top:4px}.project-due.overdue{color:#e78686}.project-due.today{color:#69aaff}.project-complete{text-decoration:line-through;color:var(--muted)}.project-add-task{display:flex;align-items:center;gap:9px;background:var(--sheet-control);color:var(--sheet-muted);border:1px solid var(--sheet-line);border-radius:14px;min-height:44px;width:100%;padding:9px 12px;text-align:left;margin-top:12px}.project-add-task span{border-radius:50%;background:#168fff;color:#fff;width:24px;height:24px;display:grid;place-items:center;font-size:21px}.project-more{min-height:44px;border:0;background:none;color:#69aaff;padding:8px}.project-empty-small{font-size:13px;color:var(--muted);padding:8px 4px;line-height:1.5}.projects-empty{text-align:center;padding:50px 20px;color:var(--muted)}.projects-empty>span{font-size:50px;color:#69aaff}.projects-empty h2{font-size:21px;color:var(--text)}.projects-empty p{line-height:1.6}.projects-empty button{border:1px solid var(--surface-border);border-radius:24px;background:var(--surface);color:var(--text);padding:12px 20px;min-height:44px}.project-fab{position:fixed;bottom:var(--dock-action-bottom);left:50%;transform:translateX(-50%);z-index:5;display:flex;align-items:center;gap:20px;padding:7px 8px 7px 18px;min-height:46px;border:1px solid var(--surface-border);border-radius:28px;background:var(--surface);color:var(--text);box-shadow:0 4px 18px #0003;font-size:15px}.project-fab span{background:#168fff;color:white;border-radius:50%;width:32px;height:32px;display:grid;place-items:center;font-size:24px}.project-feedback{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:13px}.project-feedback button{min-height:44px;background:none;color:#69aaff;border:0}.project-error{color:#e78686;line-height:1.5}.native-field textarea{display:block;box-sizing:border-box;width:100%;font:inherit;background:var(--sheet-input);color:var(--sheet-text);border:1px solid var(--sheet-input-border);border-radius:10px;margin-top:8px;padding:10px}
#projects-view button:focus-visible,.project-area summary:focus-visible,.project-fab:focus-visible{outline:2px solid #57a8ff;outline-offset:2px}
@media(prefers-reduced-motion:reduce){.project-area *,.project-area::details-content,.project-filters button{animation:none!important;transition:none!important}}
.sheet:has([data-project-close]) .sheethead h2{min-width:0;overflow-wrap:anywhere}.sheet:has([data-project-close]) .iconbtn{flex-shrink:0}
/* Shared optical sizing: every interface icon uses the same 24px SVG grid. */
.otis-icon{display:block;width:24px;height:24px;flex-shrink:0;pointer-events:none}
.top>div:last-child{display:flex;align-items:center;gap:8px}.top .round{display:inline-flex;align-items:center;justify-content:center;margin:0;padding:0}.top .otis-icon{width:23px;height:23px}
.nav button b{display:grid!important;place-items:center;width:24px;height:24px;flex-shrink:0}.nav button .otis-icon{width:24px;height:24px}.nav button>span{display:block;line-height:14px;font-size:11px}.nav button{gap:4px!important}.nav button.on .otis-icon{stroke-width:2}
.projects-active .app{max-width:560px}.projects-heading{padding:28px 0 22px}.projects-heading h1{line-height:1.15}.projects-heading p{line-height:1.5;margin-bottom:8px}
.project-area-bar{gap:10px;margin-bottom:20px;align-items:center}.project-filters{padding:2px 0;gap:6px}.project-filters button{height:44px;min-height:44px;padding:0 13px;line-height:1}.project-filters .project-icon{width:24px}.project-filters .otis-icon{width:22px;height:22px}.project-manage{display:grid;place-items:center;padding:0;align-self:center}.project-manage .otis-icon{width:22px;height:22px}
.project-icon{display:grid;place-items:center;width:34px;height:34px}.project-icon .otis-icon{width:25px;height:25px}.project-chevron{display:grid;place-items:center;width:20px;height:24px;flex-shrink:0}.project-chevron .otis-icon{width:18px;height:18px}
.project-area summary{padding:18px;gap:12px;min-height:80px}.project-area-content{padding:0 18px 16px}.project-title{display:grid;grid-template-columns:34px minmax(0,1fr) 20px;gap:12px;padding:10px 0}.project-title>span:first-child{display:grid;place-items:center;width:34px;height:34px}.project-title>span:last-child .otis-icon,.project-task>span .otis-icon{width:16px;height:16px}.project-task{display:grid;grid-template-columns:44px minmax(0,1fr) 20px;gap:2px}.project-task-open{width:100%}.project-task>span{display:grid;place-items:center}
.project-add-task span{flex-shrink:0}.project-add-task .otis-icon{width:18px;height:18px}.project-fab{gap:14px;white-space:nowrap}.project-fab .otis-icon{width:22px;height:22px}
.projects-empty{display:flex;flex-direction:column;align-items:center;padding:clamp(24px,6vh,56px) 12px 24px;max-width:340px;margin:0 auto}.projects-empty .project-empty-icon{display:grid;place-items:center;width:64px;height:64px;border-radius:20px;background:var(--surface);color:#69aaff;margin:0 0 18px}.project-empty-icon .otis-icon{width:32px;height:32px}.projects-empty h2{font-size:20px;line-height:1.35;letter-spacing:-.3px;max-width:260px;margin:0 0 10px}.projects-empty p{font-size:14px;line-height:1.6;max-width:270px;margin:0 0 22px}.projects-empty button{font-size:14px;padding:11px 20px}
.sheet:has([data-project-close]) .iconbtn{display:grid;place-items:center;padding:0}.sheet:has([data-project-close]) .iconbtn .otis-icon{width:18px;height:18px}.sheet:has([data-project-close]) .menuopt{display:flex;align-items:center;gap:10px}.sheet:has([data-project-close]) .menuopt>.otis-icon:last-child{margin-left:auto;width:16px;height:16px}.sheet:has([data-project-close]) [data-area-new]{display:flex;align-items:center;gap:8px}
.area-icon-preview{display:grid;place-items:center;width:64px;height:64px;margin:20px auto 6px;border:1px solid var(--sheet-line);border-radius:20px;background:var(--sheet-control)}.area-icon-preview .otis-icon{width:30px;height:30px}
