/* Board's dark SwiftUI surfaces, rendered as an animated Mac preview. */
.stagewrap{margin:52px auto 0;display:flex;justify-content:center;perspective:2000px}
.preview-symbols{position:absolute;width:0;height:0;overflow:hidden}
.board-preview{--pv-bg:#1c1c1e;--pv-side:#242426;--pv-raised:#2a2a2d;--pv-hair:#2e2e30;--pv-dim:#a1a1a8;--pv-faint:#85858d;--pv-blue:#0a84ff;position:relative;width:min(1120px,100%);height:600px;background:var(--pv-bg);color:#f2f2f7;border:1px solid #48484a;border-radius:14px;box-shadow:0 50px 110px -42px rgba(10,132,255,.22),0 30px 60px -30px #000;overflow:hidden;text-align:left;transform-origin:50% 0;transition:transform .9s var(--ease);will-change:transform;font:400 13px/1.4 var(--sans)}
.board-preview *{box-sizing:border-box}
.board-preview svg{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.preview-macbar{height:48px;display:flex;border-bottom:1px solid var(--pv-hair)}
.preview-macbar-side{width:206px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 11px 0 15px;background:var(--pv-side);border-right:1px solid var(--pv-hair)}
.preview-traffic{display:flex;gap:8px;flex:none}.preview-traffic i{width:11px;height:11px;border-radius:50%;background:#ff5f57}.preview-traffic i:nth-child(2){background:#febc2e}.preview-traffic i:nth-child(3){background:#28c840}
.preview-sidebar-toggle{width:28px;height:28px;display:grid;place-items:center;border:1px solid #48484a;border-radius:50%;color:#d1d1d6;background:#303033}
.preview-sidebar-toggle svg{width:16px;height:16px}
.preview-macbar-main{min-width:0;flex:1;display:flex;align-items:center;gap:12px;padding:0 13px}
.preview-tabs{display:flex;align-items:center;gap:3px;padding:3px;border:1px solid rgba(255,255,255,.06);border-radius:16px;background:#303033;white-space:nowrap}
.preview-tabs span{padding:4px 12px;border-radius:11px;color:var(--pv-dim)}.preview-tabs .selected{background:#48484b;color:#f2f2f7;box-shadow:0 1px 4px #0004}.preview-tabs .tab-add{padding:4px 7px}.preview-tabs .tab-add svg{width:14px;height:14px}
.preview-toolbar-actions{display:flex;align-items:center;gap:12px;margin-left:auto;color:var(--pv-dim);white-space:nowrap}.preview-toolbar-actions .tool-icon,.preview-toolbar-actions .focus,.preview-toolbar-actions .more{display:flex;align-items:center;gap:5px}.preview-toolbar-actions .search{display:flex;align-items:center;gap:6px;min-width:148px;padding:5px 9px;border-radius:9px;background:#29292c;color:#85858d}.preview-toolbar-actions .search small{margin-left:auto;color:#6e6e75;font-size:10px}.preview-toolbar-actions .more{color:var(--pv-blue)}.preview-toolbar-actions svg{width:16px;height:16px}
.preview-content{display:grid;grid-template-columns:206px minmax(0,1fr);height:calc(100% - 48px)}
.preview-sidebar{position:relative;background:var(--pv-side);border-right:1px solid var(--pv-hair);padding:11px 8px;overflow:hidden}.preview-sidebar .item{display:flex;align-items:center;gap:9px;height:31px;padding:0 8px;border-radius:7px;color:#e2e2e7;white-space:nowrap}.preview-sidebar .item.active{background:rgba(255,255,255,.1);color:#f2f2f7}.preview-sidebar .item .glyph{width:17px;height:17px}.preview-sidebar .item .count{margin-left:auto;color:var(--pv-faint);font-size:11px}.preview-sidebar .section{padding:12px 8px 4px;font-size:10px;font-weight:650;color:var(--pv-faint)}
.preview-sidebar .glyph.inbox{color:#4aa3ff}.preview-sidebar .glyph.today{color:#ffd60a}.preview-sidebar .glyph.week{color:#ff6961}.preview-sidebar .glyph.month{color:#ff7ab6}.preview-sidebar .glyph.someday{color:#c7a46a}.preview-sidebar .glyph.flagged{color:#ff9f0a}.preview-sidebar .glyph.logbook{color:#30d158}.preview-sidebar .glyph.urgent{color:#ff6961}.preview-sidebar .glyph.board{color:#6ea8ff}.preview-sidebar .glyph.work{color:#ff9f0a}
.preview-sidebar .sidebar-foot{position:absolute;bottom:0;left:0;right:0;height:40px;display:flex;align-items:center;gap:6px;padding:0 15px;border-top:1px solid var(--pv-hair);background:var(--pv-side);color:var(--pv-dim);font-size:12px}.preview-sidebar .sidebar-foot svg{width:15px;height:15px}
.preview-main{min-width:0;padding:20px 22px 22px;overflow:hidden}.preview-boardhead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}.preview-boardhead h3{font:700 24px/1.1 var(--display);letter-spacing:-.025em;margin:0 0 6px}.preview-status{display:flex;align-items:center;gap:5px;color:var(--pv-faint);font-size:11.5px;white-space:nowrap}.preview-status .saved-dot{width:6px;height:6px;background:#30d158;border-radius:50%;margin-right:1px}.preview-status b{font-weight:400}
.preview-head-actions{display:flex;align-items:center;gap:11px;white-space:nowrap}.preview-tidy{display:flex;align-items:center;gap:5px;border-radius:8px;background:#173a5e;color:#6bb4ff;padding:7px 10px;font-size:12px;transition:background .25s,transform .25s}.preview-tidy svg{width:14px;height:14px}.preview-tidy:hover,.preview-tidy.is-pulsing{background:#205181;transform:scale(1.045)}.preview-archive{display:flex;align-items:center;gap:5px;color:var(--pv-dim);font-size:12px}.preview-archive svg{width:15px;height:15px}
.preview-columns{display:flex;gap:13px;align-items:flex-start;overflow:hidden}.preview-lane{flex:1 1 0;min-width:0;background:rgba(255,255,255,.03);border-radius:13px;padding:10px 9px 6px}.preview-lane-head{display:flex;align-items:baseline;gap:8px;margin:0 2px 10px;font-size:12px;font-weight:650}.preview-lane-head .lane-count{color:var(--pv-faint);font-weight:400}.preview-lane-head .lane-menu{margin-left:auto;color:var(--pv-faint)}.preview-cards{display:grid;gap:7px}
.preview-card{display:flex;align-items:flex-start;gap:8px;max-height:120px;overflow:hidden;padding:10px 9px;background:var(--pv-raised);border:1px solid var(--pv-hair);border-radius:9px;transition:opacity .42s var(--ease),transform .42s var(--ease),max-height .42s var(--ease),padding .42s var(--ease),margin .42s var(--ease),border-width .42s var(--ease)}.preview-card.is-leaving{opacity:0;transform:translateY(-6px) scale(.98);max-height:0;padding-block:0;margin-block:-3px;border-width:0}
.preview-check{position:relative;width:17px;height:17px;flex:none;margin-top:3px;border:1.5px solid #8e8e93;border-radius:50%;display:grid;place-items:center;background:transparent;color:#fff;font-size:12px;line-height:1;cursor:pointer}.preview-card.is-done .preview-check{background:var(--pv-blue);border-color:var(--pv-blue)}.preview-check svg{width:9px;height:9px;fill:none;stroke:#fff;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:14;stroke-dashoffset:14}.preview-card.is-done .preview-check svg{stroke-dashoffset:0;transition:stroke-dashoffset .26s .07s}.preview-check::after{content:"";position:absolute;inset:-2px;border-radius:50%;border:2px solid var(--pv-blue);opacity:0}.preview-card.is-done .preview-check::after{animation:preview-ring .55s ease-out}.preview-card-body{min-width:0}.preview-label{display:flex;align-items:center;gap:4px;color:var(--pv-dim);font-size:10px;margin-bottom:3px}.preview-label::before{content:'';width:6px;height:6px;border-radius:50%;background:#6ea8ff}.preview-card-title{font-size:13px;line-height:1.28;color:#f2f2f7}.preview-card.is-done .preview-card-title{text-decoration:line-through;color:var(--pv-faint)}.preview-meta{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin-top:5px;color:var(--pv-faint);font-size:10px}.preview-meta span{display:inline-flex;align-items:center;gap:2px}.preview-meta svg{width:11px;height:11px}.preview-meta .today,.preview-meta .flag{color:#ff9f0a}.preview-add-card{display:flex;align-items:center;gap:5px;margin-top:6px;color:var(--pv-faint);padding:6px 5px;font-size:11.5px}.preview-add-card svg{width:11px;height:11px}.preview-add-list{flex:0 0 120px;border:1px dashed #4b4b50;border-radius:12px;padding:14px;color:var(--pv-dim);font-size:12px;white-space:nowrap}.preview-add-list svg{width:12px;height:12px;vertical-align:-2px;margin-right:3px}
.preview-quickadd{position:absolute;right:16px;bottom:14px;display:flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid #55555a;border-radius:20px;background:#303033;color:#f2f2f7;font-size:11px;box-shadow:0 8px 22px #0006}.preview-quickadd svg{width:14px;height:14px}.preview-quickadd small{padding:1px 4px;border:1px solid #55555a;border-radius:4px;color:var(--pv-dim);font-size:9px}
.preview-cursor{position:absolute;width:18px;height:22px;z-index:4;pointer-events:none;transition:left .6s var(--ease),top .6s var(--ease),opacity .3s;opacity:0}.preview-cursor.show{opacity:1}.preview-cursor svg{width:100%;height:100%;fill:#fff;stroke:#000;stroke-width:1.2;stroke-linejoin:round;filter:drop-shadow(0 1px 2px rgba(0,0,0,.5))}
.preview-toast{position:absolute;left:50%;bottom:18px;transform:translate(-50%,20px);opacity:0;pointer-events:none;padding:8px 12px;border:1px solid #4b4b50;border-radius:11px;background:#323236;box-shadow:0 10px 28px #0008;white-space:nowrap;color:#f2f2f7;font-size:12px;transition:opacity .3s,transform .3s}.preview-toast.show{opacity:1;transform:translate(-50%,0);pointer-events:auto}.preview-toast button{color:#6bb4ff;font-weight:500;margin-left:12px}
@keyframes preview-check-pop{0%{transform:scale(1)}30%{transform:scale(.78)}65%{transform:scale(1.14)}100%{transform:scale(1)}}@keyframes preview-ring{from{opacity:.8;transform:scale(1)}to{opacity:0;transform:scale(2.2)}}.preview-card.is-done .preview-check{animation:preview-check-pop .4s var(--ease)}
.preview-note{margin:13px auto 0;color:var(--text3);font-size:12px}
@media(max-width:960px){.preview-macbar-side,.preview-sidebar{display:none}.preview-content{display:block}.preview-macbar-main{padding-left:14px}.preview-lane{flex:0 0 235px}.preview-columns{overflow-x:auto;scrollbar-width:none}.preview-columns::-webkit-scrollbar{display:none}}
@media(max-width:600px){.stagewrap{margin-top:38px}.board-preview{height:460px}.preview-toolbar-actions .search,.preview-toolbar-actions .focus,.preview-toolbar-actions .tool-icon{display:none}.preview-boardhead{flex-wrap:wrap}.preview-lane{flex:0 0 180px}}
@media(prefers-reduced-motion:reduce){.board-preview *{transition:none!important;animation:none!important}.preview-cursor{display:none}}
