/* Presentation skin only. The actual application's controls and layout stay intact. */
:root{background:transparent;color:#23242d;--masthead-height:72px;--glass-surface:linear-gradient(115deg,#ffffff50,#ffffff15 50%,#ffffff65);--glass-blur:blur(18px) saturate(140%);scrollbar-color:#c6cbd7 transparent;scrollbar-width:thin}
html,body,.paper{background:transparent!important}
#header-backdrop{background:linear-gradient(#ffffff5c,#ffffff25);backdrop-filter:blur(16px) saturate(130%);-webkit-backdrop-filter:blur(16px) saturate(130%)}
.filter{opacity:1;box-shadow:inset 0 1px 0 #ffffff55,0 1px 3px #15233d08}
.filter:hover{opacity:1;filter:brightness(1.06)}
.filter[aria-pressed=true]{box-shadow:inset 0 1px 0 #ffffff65,0 0 0 2px #ffffffd9,0 2px 5px #26354616}
.filter,.tag,.theme-token{background-image:linear-gradient(#ffffff26,#ffffff00 80%)}
.archive-filter{opacity:.6}
.task{border-bottom-color:#555b6b15}
.name{color:#252630}
.today-divider{color:#0965ff}
.today-divider::before,.today-divider::after{opacity:.82}
.page-head .wordmark{filter:none}
.desktop-scope button{background:#ffffff55;color:#515460;border:1px solid #ffffff66}
.desktop-scope button[aria-pressed=true]{background:#28292f;color:white;border-color:transparent}
#profile-trigger{background:#dceaff9c;color:#1466f6;border-radius:50%;box-shadow:inset 0 1px 0 #ffffffbf}
.app-footer{border-color:#ffffff9c;box-shadow:inset 0 1px 0 #ffffffab,0 -1px 0 #5b62750a,0 6px 20px #454d6a05}
#search-trigger,.sort-priority{color:#4a4d59}
.composer{background:transparent}
.composer:focus-within{background:#ffffffa0;box-shadow:0 3px 12px #2839570d,inset 0 0 0 1px #ffffffcf;border-radius:10px}
#draft{color:#242630}
#suggestions,.compact-menu{background:#fffffff2;border:1px solid #fff;box-shadow:0 10px 30px #263a5b1c;backdrop-filter:blur(18px)}
dialog,.details-drawer,#mobile-composer{background:linear-gradient(135deg,#fffffff2,#f9fbfff5);border-color:#ffffffc9;box-shadow:inset 0 1px 0 #fff,0 12px 45px #1e294329}
dialog::backdrop{background:#b7c3d529;backdrop-filter:blur(5px)}
#mobile-composer::backdrop{background:#dfe7f529}
@media(min-width:601px) and (pointer:fine){.paper{padding-inline:30px}.paper>.page-head{padding-inline:30px}.paper>.page-head .wordmark{width:132px}.app-footer{border-radius:0;background:#ffffff20;box-shadow:none;border-width:1px 0 0;border-top-color:#676e831a}}
@media(prefers-reduced-transparency:reduce){:root,html,body,.paper{background:#fff!important}}

/* Hero has one continuous glass sheet, with matching top and bottom chrome. */
.hero-surface{scrollbar-gutter:auto}
.hero-surface #header-backdrop,.hero-surface .app-footer{
 background:linear-gradient(#ffffff5c,#ffffff25);
 -webkit-backdrop-filter:blur(16px) saturate(130%);backdrop-filter:blur(16px) saturate(130%);
 border:0;box-shadow:none;border-radius:0;
}
.hero-surface .app-footer{
 left:0!important;width:100%!important;max-width:none;bottom:0!important;top:auto!important;
 height:var(--masthead-height);padding:8px 30px;
}
.hero-surface .app-footer::before,.hero-surface .app-footer::after{display:none}
/* A short inset protects the last row without manufacturing extra scroll. */
.paper{padding-bottom:calc(var(--app-footer-height,72px) + 12px)!important}
:root{scroll-padding-bottom:calc(var(--app-footer-height,72px) + 12px)}
.demo-target{outline:2px solid #1e6ef4!important;outline-offset:5px;border-radius:7px;box-shadow:0 0 0 7px #1e6ef410}
#list-share-dialog{width:min(470px,calc(100% - 24px));max-height:calc(100dvh - 24px);border-radius:20px;padding:22px;overflow:auto}
#list-share-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px}#list-share-dialog h2{font-size:18px;margin:0}#list-share-dialog .close{width:36px;height:36px;padding:8px}#list-share-dialog .close svg{width:20px;height:20px}
#list-share-dialog p{font-size:13px;color:#777e8c;margin:12px 0}#list-share-text{width:100%;height:330px;resize:none;font-size:14px;line-height:1.65;background:#fff9;border-radius:12px;padding:14px}
.capture-surface{scrollbar-gutter:auto;--app-footer-height:0px;scroll-padding:0}
.capture-surface,.capture-surface body{overflow:clip;min-height:0;overscroll-behavior-y:auto}
.capture-surface .paper{padding:0!important;max-width:none;min-height:0}
.capture-surface #header-backdrop,.capture-surface .page-head,.capture-surface .filter-bar,.capture-surface #mobile-search-slot,.capture-surface #app-footer,.capture-surface #empty-state,.capture-surface #today-divider,.capture-surface #future-section,.capture-surface #voice-input,.capture-surface #undo-toast{display:none!important}
.capture-surface #reorder-status{inset:0 auto auto 0;margin:0}
.capture-surface #tasks{max-height:none;overflow:visible;margin:0;padding:0 12px;scrollbar-width:thin}
.capture-surface .task{grid-template-columns:24px 26px minmax(0,1fr) 24px;column-gap:5px;min-height:58px}
.capture-surface .task-tag{font-size:13px;padding:3px 7px;min-height:26px}.capture-surface .name{font-size:15px}
.capture-surface #composer-slot{height:auto!important;min-height:0}
.capture-surface #add-form{display:flex!important;position:relative!important;inset:auto!important;width:100%!important;flex-wrap:wrap;gap:8px;align-items:center;padding:4px 12px!important;min-height:48px;background:#fff8;border:0}
.capture-surface #add-form .add{order:2;flex:none;width:38px;height:38px;border-radius:8px;background:#0865ff;color:#fff;font-size:25px}
.capture-surface #add-form .draft-wrap{order:1;flex:1;min-width:0;display:flex;align-items:center;gap:9px}
.capture-surface #add-form .theme-token{font-size:13px;flex:none;padding:4px 8px;line-height:20px}.capture-surface #draft{font-size:16px;line-height:24px;min-height:40px;padding:8px 0;overflow:hidden;max-height:none}
.capture-surface #add-form #suggestions{position:static!important;order:3;flex:0 0 100%;width:100%;max-width:none;max-height:none!important;display:flex;flex-wrap:wrap;gap:6px;border:0;box-shadow:none;padding:8px 0 2px;background:none;overflow:visible}
.capture-surface #suggestions[hidden]{display:none!important}
.capture-surface #suggestions [role=option]{display:flex;align-items:center;width:auto;min-height:34px;padding:4px;border:1px solid transparent;background:#fff;border-radius:7px}
.capture-surface #suggestions [aria-selected=true]{border-color:#0865ff;background:#edf4ff}
.capture-surface #suggestions .tag{font-size:12px;padding:2px 6px;line-height:21px}
.capture-surface #suggestions .suggestion-hint{display:none}
.capture-surface #suggestions kbd{font-size:10px;margin-left:5px}
.capture-surface .tag-length-hint{flex:0 0 100%;margin:4px 0 0;font-size:12px;color:#8b909a}
.capture-surface #draft-colors{order:4;flex:0 0 100%}
.capture-surface .task-area{padding:0;margin:0}
.capture-surface #message:empty,.capture-surface #search-status{display:none}
.messenger-surface .page-head .wordmark{width:118px!important;height:40px}
.messenger-surface #header-backdrop{background:#ffffffa6}

/* Mobile hero renders the real narrow layout at 1:1, without shrinking text. */
@media(max-width:600px){
 .hero-surface{--masthead-height:40px}
 .hero-surface .paper{padding-inline:12px;padding-top:44px}
 .hero-surface .paper>.page-head{padding-inline:12px}
 .hero-surface .paper>.page-head .wordmark{width:112px;max-width:112px;flex-basis:112px}
 .hero-surface .app-footer{height:52px;padding:4px 16px;background:linear-gradient(120deg,#fffffff5,#f7faffed)}
 .hero-surface .task .name{font-size:16px;line-height:24px}
 .hero-surface .task{min-height:48px}
}

@media(max-width:600px){
 .hero-surface .filter-bar{margin-bottom:0;align-items:center}
 .hero-surface #filters{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding:5px 2px;gap:5px}
 .hero-surface #filters .filter{flex:none}
 .hero-surface .task-area{margin-inline:0}
 .hero-surface #reorder-status {inset:0 auto auto 0;margin:0}
 .hero-surface .mobile-composer-mode #composer-slot {display:none}
 .hero-surface .paper {padding-bottom:56px!important}
 .hero-surface .task{grid-template-columns:20px 26px minmax(0,1fr) 24px;column-gap:4px}
}

/* Embedded demos participate in the landing page's natural scroll chain.
   Lists and dialogs still scroll internally, then release at their boundary. */
html, body, #suggestions, .drawer-content, #mobile-composer,
#mobile-theme-area, #quick-tour, #list-share-dialog, #list-share-text {
 overscroll-behavior-y:auto!important;
}

.capture-surface #add-form .add {align-self:center;position:relative;margin:0;padding:0;font-size:0;line-height:1}
.capture-surface #add-form .add::before,.capture-surface #add-form .add::after {content:"";position:absolute;inset:0;margin:auto;width:16px;height:2px;border-radius:1px;background:currentColor}
.capture-surface #add-form .add::after {transform:rotate(90deg)}

.capture-surface #add-form #suggestions {opacity:1;transition:opacity .18s ease,visibility 0s}
.capture-surface #add-form #suggestions[hidden] {display:flex!important;position:absolute!important;inset:100% 12px auto;width:auto;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .15s ease,visibility 0s .15s}
.walkthrough-surface #today-divider.demo-slide {transition:transform .9s ease-in-out;transform:translateY(var(--demo-slide))}
@media(prefers-reduced-motion:reduce){
 .capture-surface #add-form #suggestions,.capture-surface #add-form #suggestions[hidden],.walkthrough-surface #today-divider.demo-slide{transition:none}
}
