:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#17202a;background:#f3f7fc;font-synthesis:none;--blue:#246bfd;--canvas:#f3f7fc;--ink:#17202a;--muted:#596778;--line:#dce3ed;--green:#237b56;--red:#b23e36;--surface:#fff;--focus:#174ec8;scrollbar-color:#aebed1 transparent;scrollbar-width:thin}
*{box-sizing:border-box}body{margin:0;font-size:16px;line-height:1.6}a{color:var(--blue);text-underline-offset:4px}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.48}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:3px}::selection{color:#10254b;background:#dce9ff}h1,h2,h3,p{margin:0}h1{font-size:28px;font-weight:500;line-height:1.35;overflow-wrap:anywhere}h2{font-size:19px;font-weight:500;line-height:1.5}h3{font-size:18px;font-weight:500}svg{flex-shrink:0;vertical-align:middle}button{display:inline-flex;justify-content:center;align-items:center;gap:7px;min-width:44px;min-height:44px;border:0;border-radius:10px;padding:9px 16px;background:transparent;color:inherit;transition:background-color .15s,color .15s}button:hover:not(:disabled){background:#e6edf7}.primary{color:#fff;background:var(--blue)}.primary:hover:not(:disabled){background:#1958dc}.secondary,.button{background:#fff;border:1px solid #c8d3e1;text-decoration:none;color:#263b54}.button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 14px;border-radius:10px}.text-button{color:var(--blue);padding-left:6px;padding-right:6px}.icon-button{width:44px;padding:10px;color:#47586b}.small-button{padding:5px 11px;min-height:44px;background:#eaf1ff;color:#1853c4;white-space:nowrap}.quiet{color:var(--muted);background:#f1f4f8}.danger-link{color:var(--red)}.wide{width:100%}.muted,.input-hint{color:var(--muted);font-size:14px}.wrap{overflow-wrap:anywhere}.pre-wrap{white-space:pre-wrap;overflow-wrap:anywhere}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:fixed;top:-100px;left:12px;z-index:100;background:#fff;padding:12px}.skip-link:focus{top:8px}.boot{max-width:800px;margin:80px auto;padding:20px}.app-shell{max-width:1320px;margin:auto;display:grid;grid-template-columns:220px minmax(0,1fr);min-height:100dvh}.sidebar{position:sticky;top:0;height:100dvh;padding:36px 22px 24px;background:#eaf1fa;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;color:#17202a;text-decoration:none;font-weight:500;line-height:1.3}.brand span{font-size:19px}.brand small{display:block;color:var(--muted);font-size:11px;letter-spacing:.03em;margin-top:4px;font-weight:400}.sidebar nav{margin-top:48px;display:grid;gap:8px}.nav-item{display:flex;align-items:center;gap:12px;min-height:48px;padding:10px 16px;text-decoration:none;color:#46586d;border-radius:10px}.nav-item:hover{background:#e0eaf8}.nav-item.selected{background:#dce8fc;color:#194fae;font-weight:500}.sidebar-foot{margin-top:auto;padding:20px 12px 0;color:var(--muted);font-size:13px}.sidebar-foot a{display:inline-block;margin-top:20px;color:var(--muted)}.workspace{min-width:0;padding:48px clamp(24px,5vw,72px) 48px}.workspace main{max-width:850px;margin:auto}.mobile-head,.mobile-nav{display:none}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:30px}.page-head p{color:var(--muted);margin-top:10px;font-size:14px}.desktop-create{flex-shrink:0}.local-note{padding:10px 14px;background:#e7eef9;color:#415978;border-radius:8px;font-size:13px;margin-bottom:20px}.list-collection{background:#fff;border-radius:14px;overflow:hidden}.list-row{display:flex;align-items:center;gap:22px;padding:23px 25px;text-decoration:none;color:inherit;min-width:0}.list-row+.list-row{border-top:1px solid var(--line)}.list-row:hover{background:#f8faff}.list-summary{min-width:0;flex:1}.list-summary h2{overflow-wrap:anywhere}.list-summary p{color:var(--muted);font-size:13px;margin-top:6px}.list-progress{width:100px;flex-shrink:0;text-align:right}.list-progress span{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}.row-arrow{color:#76869a;font-size:26px}progress{display:block;appearance:none;border:0;border-radius:3px;background:#e6edf5;height:5px;width:100%;overflow:hidden}progress::-webkit-progress-bar{background:#e6edf5}progress::-webkit-progress-value{background:var(--blue)}progress::-moz-progress-bar{background:var(--blue)}.list-progress progress{margin-top:8px}.template-section{margin-top:42px}.template-section h2{font-size:16px;margin-bottom:14px;color:#344b64}.template-list{display:grid;gap:1px;border-radius:12px;overflow:hidden}.template-choice{display:grid;grid-template-columns:1fr auto;text-align:left;background:#eaf0f9;min-height:76px;border-radius:0;padding:16px 20px;justify-content:stretch}.template-choice span:first-child{font-weight:500}.template-choice small{grid-row:2;color:var(--muted);font-size:13px}.template-choice span:last-child{grid-column:2;grid-row:1/3;align-self:center;color:#63768e;font-size:24px}.empty{display:flex;align-items:center;flex-direction:column;gap:16px;text-align:center;padding:58px 24px;background:#fff;border-radius:14px}.empty h1,.empty h2{max-width:100%}.empty p{color:var(--muted);max-width:420px}.empty-mark{display:flex;align-items:center;justify-content:center;width:56px;height:56px;background:#eaf1ff;color:var(--blue);border-radius:16px;margin-bottom:3px}.empty-mark svg{width:27px;height:27px}.back-link{display:inline-flex;align-items:center;gap:5px;font-size:14px;color:var(--muted);text-decoration:none;min-height:44px;margin:-12px 0 16px}.detail-head{margin-bottom:18px}.header-actions{display:flex;gap:5px;flex-shrink:0}.list-description{white-space:pre-wrap;overflow-wrap:anywhere;color:#46586d;margin-bottom:22px}.progress-line{display:flex;gap:16px;align-items:center;margin-bottom:30px}.progress-line progress{flex:1}.progress-line span{color:var(--muted);font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums}.task-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.tabs{display:flex;gap:2px}.tab{color:var(--muted);padding:8px 13px;white-space:nowrap}.tab[aria-pressed=true]{background:#dfeafa;color:#184fbd}.search{max-width:175px;min-width:80px}.search input{width:100%;border:1px solid #cbd7e5;padding:9px 12px;min-height:44px;border-radius:10px;background:#fff;color:inherit;font-size:14px}.task-list{background:#fff;border-radius:13px;overflow:hidden}.task-row{display:flex;align-items:flex-start;gap:12px;padding:16px 18px;border-bottom:1px solid #e5ebf2;min-height:80px}.task-row:last-child{border-bottom:0}.task-check{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;cursor:pointer;flex-shrink:0;margin-left:-7px}.task-check input{width:22px;height:22px;accent-color:var(--blue);margin:0;cursor:pointer}.task-check input:disabled{cursor:default}.task-content{min-width:0;flex:1;padding-top:2px}.task-title{display:block;min-height:44px;padding:4px 0;text-align:left;font-size:16px;line-height:1.6;border-radius:2px;overflow-wrap:anywhere;word-break:break-word;max-width:100%;justify-content:flex-start}.task-title:hover:not(:disabled){background:transparent;color:var(--blue)}.task-content p{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.task-content .task-note{font-size:13px;margin-top:5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap}.task-actions{display:flex;align-items:center;gap:3px;padding-top:3px}.completed .task-title{color:#536579;text-decoration:line-through;text-decoration-color:#afbdce}.completed .task-check input{accent-color:var(--green)}.done-group summary{padding:16px 24px;font-size:14px;color:var(--muted);cursor:pointer;min-height:52px}.done-group .task-row{background:#fbfcfe}.inline-empty{padding:35px 24px;color:var(--muted);text-align:center}.add-form{display:flex;align-items:flex-end;gap:12px;padding:14px;background:#fff;border-radius:12px;margin-top:14px;position:relative}.add-form textarea{resize:vertical;flex:1;min-width:0;border:0;min-height:44px;max-height:180px;padding:9px 8px;line-height:1.6;color:inherit;background:transparent}.add-form button{flex-shrink:0}.input-hint{font-size:12px;margin:8px 7px 0}.detail-footer{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:24px;border-top:1px solid var(--line);padding-top:12px}.detail-footer .text-button{font-size:13px;color:var(--muted)}.read-only{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;background:#e6edf7;border-radius:10px;margin-bottom:20px;font-size:14px}.invite-sheet{max-width:520px;margin:30px auto;background:#fff;border-radius:16px;padding:38px;display:flex;flex-direction:column;gap:18px}.invite-symbol{background:#eaf1ff;color:var(--blue);width:52px;height:52px;display:flex;align-items:center;justify-content:center;border-radius:14px}.invite-symbol svg{width:26px;height:26px}.privacy-note{padding:15px;background:#f1f5fb;color:#41566f;border-radius:10px;font-size:14px}.invite-sheet>p{color:var(--muted)}.invite-sheet>a{font-size:13px}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:20px}.field>span{font-size:14px;color:#344b63}.field input,.field textarea,.field select{width:100%;padding:11px 13px;border:1px solid #c4d0df;border-radius:9px;color:#17202a;background:#fff;min-height:46px;line-height:1.5;caret-color:var(--blue)}.field textarea{resize:vertical}.field input[readonly]{background:#f2f5fa}.field input[type=date]{min-width:0}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.check-field{display:flex;gap:12px;align-items:center;min-height:44px;font-size:14px;margin-bottom:14px}.check-field input{accent-color:var(--blue);width:20px;height:20px}dialog{border:0;border-radius:16px;width:min(540px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:0;box-shadow:0 20px 80px #00000026;color:#17202a;background:#fff}dialog::backdrop{background:#142b475e}dialog form{padding:22px 26px 26px}.dialog-head{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:24px}.dialog-head h2{font-size:21px;overflow-wrap:anywhere}.dialog-head .icon-button{font-size:13px;white-space:nowrap}.dialog-head+div>p{margin-bottom:16px}.dialog-head+div>p:last-child{margin-bottom:0}#dialog-error,#join-error{color:var(--red);font-size:14px;margin-top:14px}#dialog-error:empty,#join-error:empty{display:none}#dialog-footer{display:flex;justify-content:flex-end;margin-top:24px}#dialog-footer[hidden]{display:none}.button-row{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.danger-zone{border-top:1px solid var(--line);padding-top:12px;margin-top:20px}.settings-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.member-list{margin-bottom:22px}.member-list>div,.recycle-list>div{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.member-list small{display:block;font-size:12px;color:var(--muted)}.recycle-list>div>span{min-width:0;flex:1}.settings-sheet{background:#fff;border-radius:12px;padding:26px;margin-bottom:20px}.settings-sheet>p{color:var(--muted);margin-top:12px}.settings-link{display:flex;justify-content:space-between;gap:15px;margin-top:16px;min-height:44px;align-items:center}.version{font-size:12px}.privacy{max-width:680px;padding-bottom:50px}.privacy h2{font-size:19px;margin:32px 0 12px}.privacy p{color:#415369;line-height:1.85;margin-top:10px}.poster-preview{background:#eaf0f7;max-height:400px;overflow:auto;padding:12px;text-align:center;border-radius:10px}.poster-preview img{display:block;max-width:100%;height:auto;margin:auto;box-shadow:0 4px 14px #00000012}.poster-preview img:not([src]){display:none}.poster-controls{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:14px 0}.poster-controls span{font-size:13px;color:var(--muted)}dl{display:grid;grid-template-columns:90px 1fr;gap:10px;font-size:14px}dt{color:var(--muted)}dd{margin:0;overflow-wrap:anywhere}#toast{position:fixed;bottom:max(28px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:1000;background:#18334f;color:#fff;max-width:min(600px,calc(100% - 32px));padding:12px 18px;border-radius:10px;box-shadow:0 5px 25px #00000022;font-size:14px;display:flex;align-items:center;gap:16px;overflow-wrap:anywhere}#toast[hidden]{display:none}#toast button{min-height:44px;min-width:44px;padding:2px 6px;color:#d8e7ff;white-space:nowrap}#toast button:hover{background:#2a4a6e}body:has(dialog[open]){overflow:hidden}.loading{padding:60px 10px;color:var(--muted)}
@media(max-width:760px){h1{font-size:25px}.app-shell{display:block;min-height:100dvh}.sidebar{display:none}.workspace{padding:0 18px calc(100px + env(safe-area-inset-bottom))}.mobile-head{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:70px;padding:12px 0 18px}.mobile-head .brand{gap:9px}.mobile-head .brand span{font-size:18px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;display:flex;background:#fff;border-top:1px solid var(--line);padding:6px 10px calc(6px + env(safe-area-inset-bottom));z-index:10}.mobile-nav a{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;min-height:50px;gap:3px;text-decoration:none;color:#62748a;font-size:11px}.mobile-nav a.selected{color:#1955ca}.page-head{gap:12px;margin:14px 0 23px}.page-head p{font-size:13px;margin-top:7px}.desktop-create{display:none}.list-row{padding:20px 17px;gap:14px}.list-summary h2{font-size:17px}.list-progress{width:62px}.row-arrow{display:none}.template-section{margin-top:32px}.empty{padding:36px 18px}.back-link{margin:0 0 4px;font-size:13px}.detail-head{align-items:flex-start;margin-top:6px;gap:10px}.detail-head h1{font-size:24px}.header-actions{gap:1px}.header-actions .primary{padding:9px 12px;font-size:14px}.header-actions .icon-button{width:44px;padding:8px}.progress-line{margin-bottom:22px;gap:12px}.task-toolbar{gap:6px;flex-wrap:wrap}.tabs{flex-shrink:0}.tab{padding:8px 10px;font-size:14px}.search{max-width:145px;flex:1}.search input{font-size:14px;min-height:44px;padding:8px 10px}.task-row{gap:4px;padding:13px 10px;flex-wrap:wrap}.task-check{margin-left:-4px;min-width:44px}.task-content{flex-basis:calc(100% - 124px);padding:1px 5px 0 0}.task-actions{gap:0;max-width:calc(100% - 38px);margin-left:auto}.task-actions .small-button{font-size:13px;min-height:44px;padding:4px 9px}.task-actions .icon-button{width:44px;padding:5px;min-height:44px}.task-title{font-size:16px}.add-form{gap:6px;padding:10px}.add-form textarea{padding:9px 4px}.add-form button{padding:10px;min-width:44px}.add-form button span{display:none}.detail-footer{gap:5px 14px;margin-top:20px}.input-hint{font-size:11px}.invite-sheet{margin:15px auto;padding:25px 20px}.settings-sheet{padding:22px 19px}.form-columns{grid-template-columns:1fr}.form-columns .field{margin-bottom:0}.form-columns{margin-bottom:20px}dialog form{padding:19px 20px 23px}.dialog-head{margin-bottom:20px}.dialog-head h2{font-size:20px}#dialog-footer .primary{width:100%}#toast{bottom:calc(82px + env(safe-area-inset-bottom));min-width:220px;width:max-content}.poster-preview{max-height:340px}.privacy h2{margin-top:28px}.read-only{align-items:flex-start;flex-wrap:wrap}.local-note{font-size:12px}.search{max-width:100%;min-width:95px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.brand,.sidebar-foot a,.invite-sheet>a,.settings-sheet>a[href^="mailto:"]{min-height:44px;min-width:44px}.sidebar-foot a,.invite-sheet>a,.settings-sheet>a[href^="mailto:"]{display:inline-flex;align-items:center}.skip-link{min-height:44px}
/* Optional organization controls stay behind a disclosure to keep entry quick. */
.filter-options{margin:4px 0 4px;color:var(--muted);font-size:14px}.filter-options summary{min-height:44px;cursor:pointer;padding:10px 0;line-height:24px}.task-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:8px 0 12px}.task-options label{font-size:13px;display:flex;flex-direction:column;gap:6px;color:var(--muted)}.task-options select,.compose-group select{min-height:44px;max-width:100%;width:100%;background:#fff;border:1px solid #c4d0df;border-radius:9px;padding:8px 10px;font-size:16px;color:#263b54}.sync-row{display:flex;align-items:center;justify-content:space-between;min-height:44px;font-size:12px;color:var(--muted);margin-bottom:8px}.task-group-heading{padding:16px 18px 6px;font-size:15px;font-weight:500;color:#344b63}.task-group-heading span{font-size:12px;font-weight:400;color:var(--muted);margin-left:8px}.compose-group{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--muted);margin-top:16px}.compose-group select{width:auto;max-width:70%;min-width:120px}.draft-notice{font-size:14px;color:#435674;padding:12px;background:#eaf1ff;border-radius:9px;margin-bottom:18px}.search input{font-size:16px}
@media(max-width:760px){.task-options{grid-template-columns:1fr;gap:10px}.task-options label{display:grid;grid-template-columns:80px minmax(0,1fr);align-items:center}.search input{font-size:16px}.sync-row{font-size:12px}.task-group-heading{padding:16px 16px 6px}}

/* Quiet extensions: settings and metadata share the existing product rhythm. */
.check-field{display:flex;align-items:center;gap:12px;min-height:44px;margin:12px 0;font-size:15px}.check-field input{width:20px;height:20px;min-height:20px;accent-color:var(--primary,#246bfd)}.create-options{margin-top:16px}.create-options summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:#246bfd}.list-pin,.task-importance{display:inline-block;font-size:12px;font-weight:400;color:#1b55c2;background:#e4edff;border-radius:4px;padding:2px 6px;margin-right:8px;vertical-align:middle}.task-importance{margin-top:8px}.field>small{color:#596778;line-height:1.5}

.field>.field-error{color:#922a36;font-size:13px}.field [aria-invalid="true"]{border-color:#b42332}

/* Long forms keep their title, close and save controls in reach. */
dialog[open]{overflow:hidden}dialog form{display:flex;flex-direction:column;max-height:calc(100dvh - 40px)}.dialog-head,#dialog-footer,#dialog-error{flex:none}#dialog-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:3px;margin:-3px}#dialog-footer{padding-top:12px;background:#fff}.editor-more{margin:12px 0}.editor-more summary{cursor:pointer;color:var(--blue);min-height:44px;padding:10px 0}.task-importance{float:right;margin:8px 0 4px 12px}.task-title{overflow:hidden}#add-error{color:#922a36;font-size:13px;margin:8px 7px}#add-error:empty{display:none}

/* Scene colors identify lists; primary actions retain the product blue. */
.tone-blue{--scene-ink:#245fc6;--scene-soft:#eaf1ff}.tone-mint{--scene-ink:#176e57;--scene-soft:#e6f3ec}.tone-amber{--scene-ink:#92520e;--scene-soft:#fff1db}.tone-coral{--scene-ink:#ad4334;--scene-soft:#fcece7}.tone-violet{--scene-ink:#69469d;--scene-soft:#f1ebfa}.tone-sky{--scene-ink:#176d91;--scene-soft:#e7f3fa}.scene-icon{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;flex:none;border-radius:14px;background:var(--scene-soft,#eaf1ff)}.scene-icon img{display:block;width:32px;height:32px}.list-row progress::-webkit-progress-value{background:var(--scene-ink,var(--blue))}.list-row progress::-moz-progress-bar{background:var(--scene-ink,var(--blue))}.scene-section-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.scene-section-head h2{margin:0;font-size:19px;color:#17202a}.scene-section-head p{margin-top:4px}.scene-section-head>button{flex:none}.scene-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 24px;padding:24px 8px;background:var(--surface);border-radius:14px}.scene-shortcut{display:flex;flex-direction:column;gap:10px;min-width:0;font-size:14px;font-weight:500;padding:8px}.scene-shortcut .scene-icon{width:56px;height:56px;border-radius:16px}.detail-title{flex:1;min-width:0}.detail-head>.scene-icon{margin-top:1px}.scene-categories{display:flex;gap:6px;overflow-x:auto;padding:2px 2px 14px}.category-chip{white-space:nowrap;flex:none;background:#f0f4fa;font-size:13px;padding:8px 12px}.category-chip[aria-pressed=true]{background:#e4edff;color:#1b55c2}.scene-library-row{display:flex;align-items:center;text-align:left;gap:16px;width:100%;padding:18px 0;border-radius:0;justify-content:flex-start;border-bottom:1px solid var(--line)}.scene-library-row>.scene-info{min-width:0;flex:1}.scene-info strong{font-size:16px;font-weight:500}.scene-info small{display:block;font-size:13px;color:var(--muted);margin-top:4px}.scene-library-row>svg{transform:rotate(180deg)}.scene-preview-title,.create-scene-label{display:flex;align-items:center;gap:16px;margin-bottom:24px}.create-scene-label{gap:12px}.create-scene-label>div{min-width:0;flex:1}.create-scene-label strong{font-weight:500}.create-scene-label .text-button{font-size:13px;flex:none}.scene-preview-group{margin:24px 0}.scene-preview-group h3{font-size:16px}.scene-preview-group ul{list-style:none;padding:0;margin:12px 0}.scene-preview-group li{display:flex;align-items:flex-start;gap:12px;margin-top:12px;font-size:15px}.scene-preview-group li svg{margin-top:3px;color:#5b7390}.create-task-group{padding-top:16px;border-top:1px solid var(--line);margin:16px 0}.create-task-group .field{margin-bottom:12px}.create-task-group .field:first-child input{font-weight:500}.appearance-fields{margin:16px 0;padding:0;border:0;min-width:0}.appearance-fields legend{font-size:14px;color:#344b63;margin-bottom:10px}.appearance-icons{display:flex;flex-wrap:wrap;gap:8px}.appearance-choice{position:relative;display:flex;width:48px;height:48px;border-radius:10px;align-items:center;justify-content:center;background:#f3f7fc;border:2px solid transparent;cursor:pointer}.appearance-choice input{position:absolute;width:100%;height:100%;inset:0;margin:0;opacity:0;cursor:pointer}.appearance-choice:has(input:checked){border-color:var(--blue);background:#e4edff}.appearance-choice:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:2px}.appearance-colors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.appearance-color{background:var(--scene-soft);color:var(--scene-ink);display:flex;align-items:center;gap:8px;padding:10px 8px;border-radius:10px;border:2px solid transparent;font-size:13px;cursor:pointer}.appearance-color input{accent-color:var(--scene-ink);width:16px;height:16px;margin:0}.appearance-color:has(input:checked){border-color:var(--scene-ink)}
@media(max-width:760px){.list-row>.scene-icon{width:42px;height:42px;border-radius:12px}.list-row>.scene-icon img{width:28px;height:28px}.scene-section-head{align-items:flex-start;gap:8px}.scene-section-head h2{font-size:17px}.scene-section-head p{font-size:13px}.scene-section-head>.text-button{font-size:13px;padding:0}.scene-shortcuts{gap:10px 2px;padding:18px 8px}.scene-shortcut{font-size:13px;gap:10px}.detail-head{flex-wrap:wrap}.detail-head>.scene-icon{width:44px;height:44px}.detail-head>.scene-icon img{width:29px;height:29px}.detail-head .header-actions{margin-left:auto}.appearance-colors{grid-template-columns:repeat(2,minmax(0,1fr))}.create-scene-label .scene-icon{width:44px;height:44px}.create-scene-label p{font-size:12px}}

.record-kinds{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.record-kinds .tab[aria-pressed="true"]{background:#eaf1fc;color:#285da9;border-color:#bfd0e9}.memo-paper{padding:24px;background:#fffdf7;border-radius:16px}.memo-paper textarea{min-height:360px;background:transparent;line-height:1.9}.memo-body{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.9}.memo-actions{display:flex;gap:12px;margin-top:20px}.quick-entry-meta{display:flex;align-items:center;gap:12px;margin:10px 0;flex-wrap:wrap}.quick-entry-meta label{display:flex;gap:8px;align-items:center;font-size:13px}.quick-entry-meta input,.quick-entry-meta select{padding:6px 10px;min-height:40px}.quick-entry-meta small{color:#606c66}.task-importance.urgent{background:#fce9e9;color:#a43b43}

.record-kinds{gap:4px;padding:4px;background:#e9eef5;border-radius:12px}.record-kinds .tab{flex:1;white-space:nowrap;border:1px solid transparent}.record-kinds .tab[aria-pressed="true"]{background:#fff}.quick-entry-meta{gap:8px}.quick-entry-meta input,.quick-entry-meta select{min-height:44px;max-width:160px;border:1px solid #c8d3e1;border-radius:9px;color:var(--ink);background:#fff;font:inherit;font-size:13px}.quick-entry-meta .entry-chip{border:1px solid #c8d3e1;background:#fff;color:#285da9;padding:6px 12px}.quick-entry-meta small{flex-basis:100%;font-size:12px}.task-row{flex-wrap:nowrap}.task-content{min-width:0}.task-importance{float:none;margin:0 6px 0 0}.memo-paper .field>span{display:block}.memo-paper .field:first-child>span{font-size:13px}.memo-paper textarea{width:100%;font-size:16px}.memo-actions{flex-wrap:wrap}.skip-link:not(:focus-visible){top:-100px}.memo-paper input,.memo-paper textarea{caret-color:var(--blue)}
@media(max-width:760px){.record-kinds .tab{padding:8px 4px;font-size:13px}.task-row{padding:9px 10px}.task-content{flex:1}.task-actions{flex:none;margin-left:0;max-width:none}.detail-head .detail-title h1{font-size:21px}.quick-entry-meta{gap:6px}.quick-entry-meta label{font-size:12px;gap:4px}.quick-entry-meta input{max-width:139px}.quick-entry-meta select{max-width:80px}.quick-entry-meta .entry-chip{padding:6px 9px}.memo-paper{padding:18px}.memo-paper textarea{min-height:320px}}

/* Shared task entry stays in reach; metadata earns a row only when it carries information. */
.task-row{align-items:center;min-height:60px;padding:6px 16px}.task-content .task-title{display:flex;align-items:center;gap:6px;width:100%;min-height:44px;padding:4px 0}.task-title-text{flex:1;min-width:0}.task-title .task-importance{flex:none;margin:0;font-size:11px;line-height:1.5}.task-importance.high{background:#fff0d5;color:#805512}.task-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;line-height:1.5}.date-badge{display:inline-block;padding:1px 5px;border-radius:4px;font-size:12px;color:#285da9;background:#eaf1fc}.date-badge.today{color:#805512;background:#fff0d5}.date-badge.overdue{color:#a43b43;background:#fce9e9}.task-detail{padding-bottom:210px}.task-composer{position:fixed;bottom:0;left:calc(max(0px,(100vw - 1320px)/2) + 220px + clamp(24px,5vw,72px));right:calc(max(0px,(100vw - 1320px)/2) + clamp(24px,5vw,72px));max-width:850px;margin:auto;padding:10px 0 16px;background:var(--canvas);border-top:1px solid var(--line);z-index:8}.task-composer .quick-entry-meta{flex-wrap:nowrap;margin:0 0 6px}.quick-entry-meta small,.task-composer .input-hint{display:none}.quick-entry-meta .entry-date{flex:1;min-width:0;max-width:160px}.quick-entry-meta input{width:100%;min-width:0}.quick-entry-meta .entry-priority{flex:none}.quick-entry-meta select{min-width:66px}.task-composer .add-form{margin:0;padding:6px 8px}.task-composer .compose-group{min-height:44px;margin:0 0 4px}.task-composer .compose-group select{min-height:40px}.task-composer #add-error{margin:4px 0 0}.task-composer .add-form textarea{resize:none}
@media(max-width:760px){.task-detail{padding-bottom:230px}.task-composer{left:0;right:0;bottom:calc(64px + env(safe-area-inset-bottom));padding:8px 18px;max-width:none;background:var(--canvas)}.task-composer .quick-entry-meta{gap:6px}.task-composer .entry-chip{flex:none;min-width:44px;padding:6px 8px}.quick-entry-meta .entry-date{flex:1;max-width:none}.quick-entry-meta input{max-width:none;padding:6px;font-size:12px}.quick-entry-meta select{padding:6px;font-size:12px}.task-composer .add-form button span{display:inline}.task-row{padding:4px 10px}.detail-head{margin-bottom:10px}.progress-line{margin-bottom:12px}.task-toolbar{margin-bottom:4px}.filter-options{margin:0}.sync-row{margin-bottom:4px}}
