/* Soft folder tabs and paper edges give each kind of arrangement a place. */
.folder-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:8px 0 2px}
.folder-tile{--folder:#dfeadf;--ink:#506e5c;position:relative;min-width:0;border:1px solid #ffffffc9;border-radius:4px 17px 17px 17px;background:linear-gradient(145deg,#fffffff0,var(--folder));padding:12px 12px 14px;text-align:left;color:var(--text,#293d35);box-shadow:0 6px 16px #2c493a06;cursor:pointer;isolation:isolate}
.folder-tile:before{content:'';position:absolute;left:-1px;top:-7px;width:43%;height:13px;border:1px solid #ffffffd9;border-bottom:0;border-radius:9px 10px 0 0;background:var(--folder);z-index:-1}
.folder-tile:after{content:'';position:absolute;left:9px;right:9px;bottom:-4px;height:7px;border-radius:0 0 12px 12px;background:#ffffffa8;z-index:-1;border-bottom:1px solid #e6e9e244}
.folder-calendar{--folder:#f3e5d7;--ink:#ad8055}.folder-message{--folder:#dee8f0;--ink:#6887a0}.folder-other{--folder:#e9e3ef;--ink:#9881a7}
.folder-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.folder-tab{display:inline-flex;color:var(--ink)}.folder-tab svg,.storage-folder svg,.folder-empty svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round}.folder-count{font-size:.77rem;color:var(--ink);font-variant-numeric:tabular-nums}.folder-label{display:block;font-size:.88rem;font-weight:600;letter-spacing:.015em}.folder-preview{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:.67rem;color:#78877b;line-height:1.55;margin-top:5px;min-height:2.1em}
.storage-folders{display:flex;gap:8px;margin:12px 0 1px}.storage-folder{display:flex;align-items:center;gap:7px;min-height:42px;flex:1;padding:8px 11px;border:1px solid #e3e9e1a8;border-radius:12px;background:#ffffff75;color:#76857a;font-size:.74rem;cursor:pointer}.storage-folder svg{width:19px;height:19px}.storage-count{margin-left:auto;font-size:.69rem;color:#8c998d}.storage-folder.completed{color:#5d7c69}.storage-folder.trash{color:#8e9187}
.folder-tile:hover,.storage-folder:hover{filter:brightness(.987)}.folder-tile:focus-visible,.storage-folder:focus-visible,.task-controls button:focus-visible{outline:2px solid #6f957c;outline-offset:3px}
.collection-heading{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin:2px 0 4px}.collection-heading h3{font-size:1.25rem;font-weight:600;margin:0}.collection-back{border:0;background:none;color:var(--accent);font-size:.77rem;padding:4px 0;min-height:36px}.collection-caption{font-size:.72rem;color:var(--muted);margin:0 0 13px}.folder-empty{min-height:160px;display:grid;align-content:center;justify-items:center;gap:8px;text-align:center;color:#8b998b;font-size:.8rem;border:1px dashed #dfe6dc;border-radius:19px;background:#ffffff45}.folder-empty svg{width:38px;height:38px;opacity:.65}.folder-empty p{margin:0}
.task-controls{display:flex;justify-content:flex-end;gap:8px;margin:12px 0 0;padding-top:10px;border-top:1px solid #e7ece480}.task-controls button{border:0;border-radius:10px;padding:8px 12px;background:#eaf1e9;color:#52735e;font-size:.75rem;min-height:38px;cursor:pointer}.task-controls .delete-control{color:#a67c72;background:#f7efec}.collection-note{color:#849182}.organize-dialog{max-width:380px}.organize-dialog h2{font-size:1.15rem;line-height:1.5;margin:12px 0}.organize-dialog p{font-size:.82rem;line-height:1.7;color:var(--muted)}.organize-confirm-actions{display:flex;justify-content:flex-end;align-items:center;gap:9px}.organize-confirm-actions .small-button{margin:0}#organize-error{color:#a57366}
.organize-toast{position:fixed;left:50%;bottom:max(90px,env(safe-area-inset-bottom));transform:translateX(-50%);z-index:1100;max-width:min(86vw,440px);width:max-content;margin:0;padding:12px 17px;border-radius:16px;background:#354d40ed;color:white;box-shadow:0 8px 30px #25422c14;font-size:.8rem;line-height:1.5;pointer-events:none}
.voice-badge{position:absolute;left:60%;top:63%;display:grid;place-items:center;width:45px;height:45px;border:1px solid #ffffffed;border-radius:50%;background:#ffffffe3;color:#527461;box-shadow:0 5px 16px #496b4914;z-index:8;backdrop-filter:blur(8px)}.mic-mark{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.stop-mark{display:none;width:14px;height:14px;border-radius:4px;background:currentColor}.listening .voice-badge{background:#5e8068;color:#fff;box-shadow:0 0 0 7px #739b7520}.listening .mic-mark{display:none}.listening .stop-mark{display:block}.mic-hint{font-size:.68rem;line-height:1.5;color:#8a978b;margin-top:4px}.mic:focus-visible{outline:2px solid #7d9d7c;outline-offset:5px}
#mic-label,.has-activity #mic-label{font-size:.9rem;font-weight:600;letter-spacing:0;margin-top:0}.has-activity .workspace{justify-content:flex-start}.has-activity #talk{flex:0 1 auto;min-height:80px}.has-activity .composer{margin-top:12px}.has-activity .dandelion-scene{width:clamp(170px,23vh,220px);height:clamp(170px,23vh,220px)}.has-activity .mic{max-width:360px}.conversation-history{font-size:.69rem;color:#879386;text-align:center}.conversation-history summary{cursor:pointer;list-style:none;padding:7px}.conversation-history[open]{display:flex;flex-direction:column}.conversation-history .bubble{text-align:left;margin:6px 0}.conversation-history .bubble.user{margin-left:auto}.recent-heading{font-size:.73rem;margin-top:8px}.folder-shelf{padding:1px 1px 7px}.text-toggle{min-height:34px}
.dandelion-flight .dandelion-seed{filter:drop-shadow(0 0 3px #ffffffbb)}.dandelion-flight .seed-fiber{stroke:#acb69b;stroke-width:.4}.dandelion-flight .seed-grain{fill:#c9b47d}
@media(min-width:700px){.folder-grid{gap:15px}.folder-tile{padding:14px 18px 17px}.folder-preview{min-height:1.5em;-webkit-line-clamp:1}.has-activity .dandelion-scene{width:clamp(190px,24vh,260px);height:clamp(190px,24vh,260px)}.folder-top{margin-bottom:13px}}
@media(max-height:700px){.has-activity .dandelion-scene{width:130px;height:130px}.voice-badge{width:37px;height:37px}.mic-mark{width:19px;height:19px}.has-activity .composer{margin-top:5px}.mic-hint{font-size:.63rem}.folder-top{margin-bottom:6px}.folder-tile{padding-top:9px;padding-bottom:10px}.storage-folders{margin-top:9px}.storage-folder{min-height:36px}.folder-preview{-webkit-line-clamp:1;min-height:1.5em}}
@media(prefers-reduced-motion:reduce){.voice-badge{backdrop-filter:none}}
