.admin-shell{width:min(100%,1120px);min-height:100dvh;padding:var(--space-8) var(--space-4) var(--space-12);margin:0 auto}.admin-shell--gate{place-items:center;display:grid}.admin-workbench{gap:var(--space-6);display:grid}.admin-panel{padding:var(--space-6) 0;background:0 0;border:0;border-radius:0}.admin-login{width:min(100%,420px)}.admin-section-head,.admin-actions,.admin-row,.admin-row__actions{gap:var(--space-3);display:flex}.admin-section-head{margin-bottom:var(--space-5);flex-wrap:wrap;justify-content:space-between}.admin-actions,.admin-row__actions{flex-wrap:wrap;align-items:center}.admin-muted,.admin-empty,.admin-row p,.admin-field small{color:var(--text-secondary);font-size:.875rem;line-height:1.5}.admin-form{gap:var(--space-4);display:grid}.admin-form--grid{grid-template-columns:minmax(0,1fr)}.admin-field{gap:var(--space-2);display:grid}.admin-field span{color:var(--text-secondary);letter-spacing:0;text-transform:uppercase;font-size:.75rem;font-weight:700}.admin-field input,.admin-field textarea{border:1px solid var(--border-default);background:var(--surface-elevated);width:100%;color:var(--text-primary);font:inherit;padding:var(--space-3);border-radius:6px}.admin-field input:focus,.admin-field textarea:focus,.admin-button:focus-visible{border-color:var(--accent-primary);outline:2px solid color-mix(in srgb, var(--accent-primary) 28%, transparent);outline-offset:2px}.admin-button{border:1px solid var(--border-default);background:var(--surface-secondary);min-height:40px;color:var(--text-primary);cursor:pointer;padding:var(--space-2) var(--space-4);border-radius:4px;transition:background .2s ease-in-out,border-color .2s ease-in-out,transform .12s ease-out}.admin-button:hover{border-color:var(--accent-primary)}.admin-button:active{transform:scale(.98)}.admin-button:disabled{cursor:not-allowed;opacity:.52}.admin-button--primary{border-color:var(--accent-primary);background:var(--accent-primary);color:var(--surface-secondary)}.admin-button--primary:hover{background:var(--accent-hover)}.admin-button--secondary{color:var(--text-secondary)}.admin-message{border:1px solid var(--border-default);padding:var(--space-3);border-radius:6px;font-size:.875rem;line-height:1.5}.admin-message--error{border-color:var(--status-error);color:var(--status-error)}.admin-message--info{border-color:var(--status-info);color:var(--status-info)}.admin-table{border-top:1px solid var(--border-subtle);display:grid}.admin-analytics{gap:var(--space-4);border-top:1px solid var(--border-subtle);border-bottom:1px solid var(--border-subtle);margin:var(--space-6) 0;padding:var(--space-5) 0;display:grid}.admin-analytics__head{justify-content:space-between;align-items:flex-start;gap:var(--space-3);flex-wrap:wrap;display:flex}.admin-analytics h2,.admin-analytics h3{color:var(--text-primary);margin:0}.admin-analytics h2{font-size:1.125rem;line-height:1.35}.admin-analytics h3{font-size:.875rem;line-height:1.4}.admin-metrics{column-gap:var(--space-6);border-top:1px solid var(--border-subtle);border-bottom:1px solid var(--border-subtle);grid-template-columns:repeat(2,minmax(0,1fr));row-gap:0;display:grid}.admin-metric{gap:var(--space-1);border-bottom:1px solid var(--border-subtle);min-width:0;padding:var(--space-3) 0;display:grid}.admin-metric span,.admin-analytics-card li span,.admin-log-row span{color:var(--text-secondary);font-size:.8125rem;line-height:1.4}.admin-metric strong{color:var(--text-primary);font-variant-numeric:tabular-nums;font-size:28px;line-height:1.1}.admin-metric:nth-last-child(-n+2){border-bottom:0}.admin-analytics__grid{gap:var(--space-4);grid-template-columns:minmax(0,1fr);display:grid}.admin-analytics-card{gap:var(--space-3);display:grid}.admin-analytics-card ul{gap:var(--space-2);margin:0;padding:0;list-style:none;display:grid}.admin-analytics-card li,.admin-log-row{align-items:center;gap:var(--space-3);border-top:1px solid var(--border-subtle);padding-top:var(--space-2);grid-template-columns:minmax(0,1fr) auto;display:grid}.admin-analytics-card li span,.admin-log-row span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.admin-analytics-card li strong,.admin-log-row strong{color:var(--text-primary);font-size:.875rem}.admin-log-table{gap:var(--space-2);display:grid}.admin-log-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.admin-row{border-bottom:1px solid var(--border-subtle);padding:var(--space-4) 0;flex-wrap:wrap;justify-content:space-between}.admin-row__main{gap:var(--space-1);display:grid}.admin-row h2{margin:0;font-size:1.125rem;line-height:1.4}.admin-status{background:var(--surface-hover);width:fit-content;color:var(--text-tertiary);padding:var(--space-1) var(--space-2);text-transform:uppercase;border:0;border-radius:2px;font-size:.75rem;font-weight:700}.admin-status--published{color:#276141;background:#e4f1e9}.admin-status--archived{color:var(--status-error)}@media (width>=720px){.admin-shell{padding-right:var(--space-6);padding-left:var(--space-6)}.admin-form--grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-metric:nth-last-child(-n+3){border-bottom:0}.admin-analytics__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-analytics-card--wide{grid-column:1/-1}.admin-log-row{grid-template-columns:minmax(8rem,.8fr) minmax(7rem,.7fr) minmax(0,1fr) minmax(7rem,.7fr)}.admin-field--wide{grid-column:1/-1}}.public-shell{width:min(100%,1240px);min-height:100dvh;padding:0 var(--space-4) var(--space-12);margin:0 auto}.gallery-masthead{border-bottom:1px solid var(--border-default);justify-content:space-between;align-items:center;gap:20px;min-height:88px;margin-bottom:44px;display:flex}.gallery-brand{color:var(--text-primary);align-items:center;gap:10px;font-size:30px;font-weight:800;text-decoration:none;display:inline-flex}.gallery-brand svg{color:var(--accent-primary)}.gallery-brand span{color:var(--text-secondary);margin-left:8px;font-size:12px;font-weight:500}.gallery-masthead__label{color:var(--text-tertiary);font-size:10px;font-weight:650}.gallery-count{color:var(--text-tertiary);font-variant-numeric:tabular-nums;margin-top:8px;font-size:13px;display:block}.state-panel p,.preview-panel p,.template-card__description{color:var(--text-secondary);font-size:.9375rem;line-height:1.6}.state-panel,.preview-panel{background:0 0;border:0;border-radius:0}.state-panel{padding:64px 0}.state-panel h2,.preview-panel h2,.section-heading h2{margin-bottom:var(--space-3);font-size:1.5rem;line-height:1.3}.state-panel--error{border-color:var(--status-error)}.state-skeleton{width:min(100%,360px);height:12px;margin-top:var(--space-5);background:var(--border-subtle);border-radius:4px;overflow:hidden}.state-skeleton:after{background:var(--surface-elevated);content:"";opacity:.8;width:40%;height:100%;animation:1.2s ease-in-out infinite skeleton-slide;display:block;transform:translate(-100%)}.maker-workbench{gap:var(--space-6);grid-template-columns:minmax(0,1fr);align-items:start;display:grid}.template-gallery__heading-row{gap:var(--space-3);margin-bottom:var(--space-6);display:grid}.maker-workbench--editor{width:min(100%,840px);margin:0 auto;padding-top:24px}.section-heading{margin-bottom:0}.section-label{margin-bottom:var(--space-2);color:var(--text-tertiary);letter-spacing:0;text-transform:uppercase;font-size:.75rem;font-weight:700}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 16px;display:grid}.template-filter{flex-wrap:wrap;gap:6px;margin:0 0 28px;padding:0;display:flex}.template-search{background:var(--surface-secondary);width:100%;min-height:44px;color:var(--text-tertiary);border:1px solid var(--border-default);border-radius:4px;align-items:center;gap:10px;padding:0 14px;display:flex}.template-search input{width:100%;color:var(--text-primary);font:inherit;background:0 0;border:0;border-radius:0;min-width:0;padding:10px 0}.template-search input:focus-visible{outline:none}.template-search:focus-within{outline:2px solid var(--accent-primary);outline-offset:2px}.template-search input::placeholder{color:var(--text-tertiary)}.template-filter__button{color:var(--text-secondary);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:4px;flex:none;min-height:40px;padding:8px 14px;font-size:13px;font-weight:600;line-height:1.6;transition:color .2s ease-in-out,border-color .2s ease-in-out,transform .12s ease-out}.template-filter__button:hover,.template-filter__button:focus-visible{background:var(--surface-hover);color:var(--text-primary)}.template-filter__button--selected,.template-filter__button--selected:hover{background:var(--text-primary);color:#fff}.template-filter__button:active{transform:translateY(1px)}.template-gallery__empty{margin-bottom:var(--space-4);color:var(--text-secondary);font-size:.9375rem}.template-card{align-content:start;gap:var(--space-2);width:100%;min-width:0;color:var(--text-primary);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:0;grid-template-rows:auto auto auto 1fr;padding:0;transition:color .18s;display:grid;position:relative}.template-card:hover,.template-card:focus-visible,.template-card--selected{color:var(--accent-primary)}.template-card:active{transform:scale(.99)}.template-thumb{aspect-ratio:4/3;background:#e9e9ee;border-radius:4px;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr);place-items:center;width:100%;margin-bottom:8px;padding:18px;display:grid;overflow:hidden}.template-card:nth-child(3n+2) .template-thumb{background:#e8eeec}.template-card:nth-child(3n) .template-thumb{background:#f1e9ed}.template-thumb img{object-fit:contain;width:100%;min-width:0;height:100%;min-height:0;transition:transform .22s}.template-card:hover .template-thumb img{transform:scale(1.035)}.template-card__arrow{color:var(--text-tertiary);position:absolute;bottom:0;right:0}.template-thumb__placeholder{border:1px solid var(--border-default);background:var(--surface-secondary);border-radius:6px;width:56%;height:56%}.template-card__tags{gap:var(--space-2);color:var(--text-tertiary);flex-wrap:wrap;font-size:.75rem;font-weight:500;line-height:1.4;display:flex}.template-card__title{word-break:keep-all;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:2.8em;font-size:.9375rem;font-weight:700;line-height:1.4;display:-webkit-box;overflow:hidden}.template-card__title-suffix{white-space:normal}.template-card__description{-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:3.2em;padding-right:24px;font-size:12px;display:-webkit-box;overflow:hidden}.preview-panel{gap:var(--space-4);padding:var(--space-6);display:grid}.preview-panel__back{width:36px;height:36px;color:var(--text-primary);cursor:pointer;text-align:left;background:0 0;border:0;padding:0;font-size:1.5rem;line-height:1}.preview-panel__back:focus-visible{color:var(--accent-primary);outline:none}.preview-panel--error{border-color:var(--status-error)}.preview-board{gap:var(--space-2);border:1px solid var(--border-subtle);background:var(--surface-primary);min-height:260px;padding:var(--space-3);border-radius:8px;grid-template-rows:repeat(4,1fr);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.preview-cell{border:1px solid var(--border-default);background:var(--surface-secondary);border-radius:6px;min-height:48px}.preview-cell--image{background:linear-gradient(135deg, transparent 49%, var(--border-subtle) 50%, transparent 51%), var(--surface-secondary)}.field-list{gap:var(--space-2);flex-wrap:wrap;display:flex}.field-chip{border:1px solid var(--border-subtle);padding:var(--space-1) var(--space-2);color:var(--text-secondary);border-radius:6px;font-size:.8125rem}.fill-button{border:1px solid var(--accent-primary);background:var(--accent-primary);width:fit-content;color:var(--surface-secondary);cursor:pointer;padding:var(--space-3) var(--space-5);border-radius:6px;transition:background .2s ease-in-out,transform .12s ease-out}.fill-button:hover,.fill-button:focus-visible{background:var(--accent-hover);outline:none}.fill-button:active{transform:scale(.98)}@media (width>=960px){.public-shell{padding-right:var(--space-6);padding-left:var(--space-6)}.template-gallery__heading-row{grid-template-columns:minmax(0,1fr) minmax(220px,320px);align-items:end}.template-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width>=600px){.template-grid{gap:36px 24px}.template-card{gap:var(--space-3);padding:0}.template-card__tags{display:flex}.template-card__title{font-size:1.125rem}.template-card__description{display:-webkit-box}}@media (width<=599px){.gallery-masthead{min-height:72px;margin-bottom:28px}.gallery-masthead__label{display:none}.template-thumb{padding:10px}.template-filter{scrollbar-width:thin;flex-wrap:nowrap;padding:4px 2px;overflow-x:auto}.template-card__tags{font-size:10px}.maker-workbench--editor{padding-top:8px}}@media (prefers-reduced-motion:reduce){.state-skeleton:after{animation:none}}@keyframes skeleton-slide{to{transform:translate(260%)}}.notice-backdrop{z-index:20;padding:var(--space-4);background:#18181e61;place-items:center;display:grid;position:fixed;inset:0}.notice-dialog{gap:var(--space-4);border:1px solid var(--border-default);background:var(--surface-secondary);width:min(100%,430px);box-shadow:var(--shadow-dialog);color:var(--text-primary);padding:var(--space-6);border-radius:8px;margin:0;display:grid;position:relative;inset:auto}.notice-close{top:var(--space-3);right:var(--space-3);width:36px;height:36px;color:var(--text-tertiary);cursor:pointer;background:0 0;border:0;border-radius:0;place-items:center;padding:0;transition:transform .14s ease-out;display:grid;position:absolute}.notice-close:hover,.notice-close:focus-visible{color:var(--text-primary);outline:2px solid var(--accent-primary);outline-offset:-8px}.notice-close:active{transform:scale(.94)}.notice-close-icon{fill:none;stroke:currentColor;stroke-linecap:round;stroke-width:1.8px;width:22px;height:22px}.notice-kicker{width:fit-content;color:var(--text-tertiary);letter-spacing:0;padding-right:var(--space-6);padding-bottom:var(--space-1);border-bottom:0;font-size:.75rem;font-weight:750;line-height:1.4}.notice-list{border-top:1px solid var(--border-default);margin:0;display:grid}.notice-list div{gap:var(--space-3);border-bottom:1px solid var(--border-default);padding:var(--space-3) 0;grid-template-columns:84px minmax(0,1fr);align-items:baseline;display:grid}.notice-list dt{color:var(--text-primary);font-size:.8125rem;font-weight:750;line-height:1.45}.notice-list dd{color:var(--text-secondary);margin:0;font-size:.9rem;line-height:1.55}.notice-check{gap:var(--space-2);width:fit-content;color:var(--text-secondary);cursor:pointer;align-items:center;font-size:.875rem;line-height:1.5;display:flex}.notice-check input{width:18px;height:18px;accent-color:var(--accent-primary)}@media (width<=520px){.notice-dialog{padding:var(--space-5)}.notice-list div{gap:var(--space-1);grid-template-columns:1fr}}.editor-panel{gap:var(--space-4);background:0 0;grid-template-columns:minmax(0,1fr);width:100%;min-width:0;padding:0;display:grid}.editor-heading{gap:var(--space-1);border-bottom:1px solid var(--border-subtle);background:var(--surface-secondary);width:100%;min-width:0;padding:16px 0;display:grid}.editor-heading__bar{gap:var(--space-2);grid-template-columns:36px minmax(0,1fr) auto;align-items:center;width:100%;min-width:0;display:grid}.editor-back-button{width:36px;height:36px;color:var(--text-primary);cursor:pointer;background:0 0;border:0;border-radius:0;flex:none;place-items:center;padding:0;font-size:1.75rem;line-height:1;transition:transform .12s ease-out;display:inline-grid}.editor-back-button:hover,.editor-back-button:focus-visible{color:var(--accent-primary);outline:none;transform:translate(-2px)}.editor-back-button:active{transform:translate(-3px)}.editor-heading__title{min-width:0}.editor-heading h2{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:1.125rem;line-height:1.25;overflow:hidden}.editor-click-hint{color:var(--text-tertiary);text-overflow:ellipsis;white-space:nowrap;font-size:.8125rem;line-height:1.4;overflow:hidden}.editor-heading__actions{gap:var(--space-1);flex:none;place-items:center end;margin-left:auto;display:flex}.editor-save-button,.editor-background-toggle button{min-height:32px;color:var(--text-primary);cursor:pointer;background:0 0;border:0;border-radius:0;place-items:center;transition:transform .12s ease-out;display:inline-grid}.editor-save-button{white-space:nowrap;width:40px;height:40px;padding:0;font-weight:650}.editor-background-toggle{gap:var(--space-1);background:0 0;border:0;align-items:center;padding:0;display:inline-flex}.editor-background-toggle-label{display:none}.editor-background-toggle button{width:40px;height:40px;min-height:40px;padding:0}.editor-save-button:hover,.editor-save-button:focus-visible,.editor-background-toggle button:hover,.editor-background-toggle button:focus-visible{color:var(--accent-primary);outline:none;transform:translateY(-1px)}.editor-save-button:active,.editor-background-toggle button:active{transform:translateY(1px)}.editor-background-toggle button[aria-pressed=true]{color:var(--accent-primary);box-shadow:none;background:var(--surface-hover)}.editor-background-swatch{border:1px solid #b5b6bd;border-radius:50%;width:20px;height:20px}.editor-background-swatch--light{background:#fff}.editor-background-swatch--dark{background:#202124}@media (width<=599px){.editor-heading h2{white-space:normal;overflow-wrap:anywhere;font-size:14px}.editor-heading__actions{gap:0}.editor-background-toggle button,.editor-save-button{width:32px}}.editor-background-icon{fill:none;stroke:currentColor;stroke-linecap:round;stroke-width:1.6px;width:22px;height:22px}.editor-background-icon__tile--light{fill:var(--board-background-light)}.editor-background-icon__tile--dark{fill:var(--board-background-dark)}.recovery-panel{gap:var(--space-3);border:1px solid var(--border-subtle);background:var(--surface-primary);padding:var(--space-4);border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;display:flex}.editor-layout{gap:var(--space-4);width:100%;min-width:0;padding:0 0 var(--space-4);grid-template-columns:minmax(0,1fr);display:grid}.editor-stage{grid-template-columns:minmax(0,1fr);min-width:0;display:grid;position:relative}.editor-board{border:1px solid var(--border-default);--editor-board-bg:var(--board-background-light);--editor-board-cell-bg:var(--board-cell-background);--editor-board-cell-border:var(--board-cell-border-light);--editor-board-text:var(--board-text-light);background:var(--editor-board-bg);border-radius:0;width:100%;min-width:0;transition:opacity .2s ease-in-out;position:relative;overflow:hidden;container-type:inline-size}.editor-board[data-board-background=dark]{--editor-board-bg:var(--board-background-dark);--editor-board-cell-border:var(--board-cell-border-dark);--editor-board-text:var(--board-text-dark)}.editor-cell{border:1px solid var(--editor-board-cell-border);background:var(--editor-board-cell-bg);color:var(--text-tertiary);cursor:pointer;text-align:center;border-radius:0;place-items:center;padding:0;font-size:.875rem;transition:transform .12s ease-out;display:grid;position:absolute;overflow:hidden}.editor-cell>span:not(.editor-cell-text-content){padding:var(--space-2)}.editor-cell:hover,.editor-cell:focus-visible,.editor-cell--selected{border-color:var(--accent-primary);outline:none}.editor-cell img{pointer-events:none;max-width:none;max-height:none;position:absolute}.editor-cell--text{z-index:1;color:var(--editor-board-text);cursor:default;background:0 0;border-color:#0000;padding:0;font-size:clamp(.625rem,2cqi,.875rem);font-weight:700;line-height:1.2}.editor-cell--text>span:not(.editor-cell-text-content){padding:0}.editor-cell--text:hover{border-color:#0000}.editor-cell--compact-text{font-size:clamp(.45rem,1.5cqi,.75rem);line-height:1}.editor-cell--legend{padding:0}.editor-cell>.editor-rating-legend{gap:0 var(--space-2);grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;width:100%;height:100%;padding:0;display:grid}.editor-rating-legend__item{white-space:nowrap;align-items:center;gap:.45em;min-width:0;font-size:clamp(.5rem,1.6cqi,.75rem);font-weight:700;line-height:1;display:flex}.editor-rating-legend__swatch{border-radius:50%;flex:none;width:.8em;height:.8em}@container (width<=480px){.editor-cell>.editor-rating-legend{gap:0 var(--space-1)}}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media (width>=960px){.editor-panel{grid-column:2}.maker-workbench--editor .editor-panel{grid-column:1}}.editor-cell-text-content{z-index:1;width:calc(100% - var(--space-4));max-height:calc(100% - var(--space-4));background:color-mix(in srgb, var(--editor-board-bg) 72%, transparent);color:var(--editor-board-text);overflow-wrap:anywhere;padding:var(--space-1) var(--space-2);white-space:pre-line;-webkit-line-clamp:5;border-radius:6px;-webkit-box-orient:vertical;place-self:center;font-weight:700;line-height:1.25;display:-webkit-box;position:absolute;top:50%;left:50%;overflow:hidden;transform:translate(-50%,-50%)}.editor-cell-text-content[data-size=small]{font-size:clamp(.75rem,2.1vw,1.25rem)}.editor-cell-text-content[data-size=normal]{font-size:clamp(.875rem,2.8vw,1.75rem)}.editor-cell-text-content[data-size=large]{font-size:clamp(1rem,3.6vw,2.5rem)}.cell-content-sheet{gap:var(--space-4);margin-top:var(--space-4);padding:var(--space-4) 0;background:0 0;border:0;border-radius:0;display:grid}.cell-content-sheet__heading{gap:var(--space-2);flex-wrap:wrap;justify-content:space-between;align-items:baseline;display:flex}.cell-content-sheet__heading strong,.editor-notice strong{color:var(--text-primary);font-size:1rem;line-height:1.4}.cell-content-sheet__heading span{color:var(--text-tertiary);font-size:.875rem}.cell-content-sheet__quick-actions,.cell-content-size{gap:var(--space-2);flex-wrap:wrap;display:flex}.cell-content-form{gap:var(--space-3);align-items:end;display:grid}.cell-content-form label{gap:var(--space-2);color:var(--text-secondary);font-size:.875rem;display:grid}.cell-content-form input,.cell-content-form textarea{border:1px solid var(--border-default);background:var(--surface-secondary);width:100%;color:var(--text-primary);font:inherit;padding:var(--space-3);border-radius:6px}.cell-content-form textarea{resize:vertical}.cell-content-form input:focus-visible,.cell-content-form textarea:focus-visible{border-color:var(--accent-primary);outline:2px solid var(--accent-primary);outline-offset:2px}.cell-content-sheet button{border:1px solid var(--accent-primary);background:var(--surface-secondary);width:fit-content;color:var(--accent-primary);cursor:pointer;padding:var(--space-2) var(--space-4);border-radius:6px;justify-content:center;align-items:center;transition:transform .12s ease-out;display:inline-flex}.cell-content-sheet button:hover,.cell-content-sheet button:focus-visible{border-color:var(--accent-hover);background:var(--surface-secondary);color:var(--accent-hover);outline:none;transform:translateY(-1px)}.cell-content-size{background:0 0;border:0;border-radius:0;padding:0}.cell-content-size button{padding:var(--space-2) var(--space-3);border-color:#0000}.cell-content-size button[aria-pressed=true]{border-color:var(--accent-primary);background:var(--accent-primary);color:var(--surface-secondary)}.editor-notice{gap:var(--space-1);padding:var(--space-3) 0;background:0 0;border:0;border-radius:0;display:grid}.editor-notice p{color:var(--text-secondary);margin:0;font-size:.875rem;line-height:1.5}@media (width>=720px){.cell-content-form{grid-template-columns:minmax(0,1fr) auto}.cell-content-size{grid-column:1/-1}}.editor-detail-panel{right:var(--space-5);bottom:calc(var(--space-5) + env(safe-area-inset-bottom,0px));z-index:20;max-width:min(calc(100vw - var(--space-8)), 340px);gap:var(--space-2);pointer-events:none;transform-origin:100% 100%;justify-items:end;transition:opacity .2s ease-in-out,transform .2s ease-in-out;display:grid;position:fixed;transform:translateY(0)scale(1)}.editor-detail-panel[data-state=closed]{transform:translateY(var(--space-2)) scale(.96)}.editor-detail-panel--open{right:var(--space-3);bottom:calc(var(--space-3) + env(safe-area-inset-bottom,0px));left:var(--space-3);transform-origin:bottom;justify-items:stretch;max-width:none}.editor-detail-panel>*{pointer-events:auto}.editor-detail-toggle{border:1px solid var(--border-default);background:var(--surface-secondary);width:48px;height:48px;color:var(--text-primary);cursor:pointer;border-radius:0;place-items:center;transition:transform .12s ease-out;display:inline-grid}.editor-detail-toggle:hover,.editor-detail-toggle:focus-visible{border-color:var(--accent-primary);color:var(--accent-primary);outline:none;transform:translateY(-1px)}.editor-detail-toggle:active{transform:translateY(1px)}.editor-detail-toggle--rating{border-color:var(--accent-primary);background:var(--accent-primary);color:var(--surface-secondary)}.editor-detail-toggle--rating:hover,.editor-detail-toggle--rating:focus-visible{background:var(--accent-hover);color:var(--surface-secondary)}.editor-detail-icon{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:22px;height:22px}.editor-controls{border:1px solid var(--border-default);background:var(--surface-secondary);width:100%;max-height:min(42dvh,280px);box-shadow:var(--shadow-dialog);padding:var(--space-3) var(--space-8) var(--space-3) var(--space-3);border-radius:0;transition:opacity .2s ease-in-out,transform .2s ease-in-out;display:block;position:relative;overflow:hidden;transform:translateY(0)}.editor-controls__close{top:var(--space-2);right:var(--space-2);z-index:1;position:absolute}.cell-controls{gap:var(--space-2);grid-template-columns:auto minmax(0,1fr);grid-template-areas:"position zoom""position text";align-items:start;display:grid}.cell-controls__group{gap:var(--space-2);align-content:start;min-width:120px;display:grid}.cell-controls__group--position{grid-area:position}.cell-controls__group--zoom{grid-area:zoom}.cell-controls__group--text{grid-area:text;min-width:0}.cell-controls__title{color:var(--text-tertiary);margin:0;font-size:.75rem;font-weight:650;line-height:1.4}.cell-controls label{gap:var(--space-2);color:var(--text-secondary);font-size:.875rem;display:grid}.cell-controls textarea{border:1px solid var(--border-default);background:var(--surface-secondary);width:100%;min-height:48px;color:var(--text-primary);font:inherit;padding:var(--space-2);resize:vertical;border-radius:0;line-height:1.45}.cell-controls textarea:focus-visible{border-color:var(--accent-primary);outline:2px solid var(--accent-primary);outline-offset:2px}.cell-controls input[type=range]{width:100%;accent-color:var(--accent-primary)}.editor-controls button,.recovery-panel button,.editor-count-action,.editor-primary-action,.editor-secondary-action,.editor-danger-action{border:1px solid var(--border-default);background:var(--accent-primary);width:fit-content;color:var(--surface-secondary);cursor:pointer;padding:var(--space-3) var(--space-4);border-radius:4px;justify-content:center;align-items:center;text-decoration:none;transition:transform .12s ease-out;display:inline-flex}.editor-controls button,.editor-count-action,.editor-secondary-action{background:var(--surface-primary);color:var(--text-primary)}.editor-danger-action{border-color:var(--status-error);background:var(--surface-secondary);color:var(--status-error)}.editor-controls button:disabled{border-color:var(--border-default);background:var(--border-subtle);color:var(--text-tertiary);cursor:not-allowed}.text-size-mode{gap:var(--space-1);grid-template-columns:repeat(2,minmax(0,1fr));padding:0;display:grid}.joystick-control{gap:var(--space-1);grid-template-rows:repeat(3,36px);grid-template-columns:repeat(3,36px);width:max-content;padding:0;display:grid}.joystick-control button,.zoom-control button,.editor-controls__close{place-items:center;width:36px;height:36px;padding:0;display:inline-grid}.editor-controls .editor-controls__close{width:24px;height:24px;color:var(--text-primary);background:0 0;border:0;padding:0;display:inline-grid}.zoom-control{gap:var(--space-1);grid-template-columns:36px minmax(48px,auto) 36px;align-items:center;padding:0;display:grid}.zoom-control span{color:var(--text-secondary);font-variant-numeric:tabular-nums;text-align:center;font-size:.8125rem}.text-size-mode button[aria-pressed=true]{background:var(--accent-hover);color:var(--surface-secondary)}.text-size-mode button,.cell-controls__save-text{width:100%;min-height:36px;padding:0 var(--space-2);font-size:.8125rem}.cell-controls__save-text{padding:0 var(--space-2)}.rating-controls{gap:var(--space-2);min-width:0;display:grid}.rating-controls__header{justify-content:space-between;align-items:baseline;gap:var(--space-3);min-width:0;display:flex}.rating-controls__status{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:.75rem;font-weight:700;overflow:hidden}.rating-controls__choices{gap:var(--space-1);border:0;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;margin:0;padding:0;display:grid}.editor-controls .rating-controls__choice,.editor-controls .rating-controls__clear{min-height:32px;padding:0 var(--space-2);font-size:.8125rem}.rating-controls__choice{justify-content:flex-start;align-items:center;gap:6px;min-width:0;transition:background-color .14s ease-out,border-color .14s ease-out,transform .14s ease-out;display:flex}.rating-controls__swatch{flex:none;width:12px;height:12px;display:inline-block}.editor-controls .rating-controls__choice[aria-pressed=true]{color:var(--text-primary);font-weight:750;transform:translateY(-1px);box-shadow:inset 0 0 0 1px}.rating-controls__check{width:1rem;height:1rem;color:var(--text-primary);flex:none;place-items:center;margin-left:auto;font-size:.75rem;font-weight:800;display:inline-grid}.editor-controls .rating-controls__clear{border-color:var(--border-default);color:var(--text-secondary)}@media (width>=600px){.rating-controls__choices{grid-template-columns:repeat(4,minmax(0,1fr))}}.control-icon{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9px;width:18px;height:18px}.editor-cell-rating-marker{z-index:1;pointer-events:none;display:block;position:absolute}.control-icon[data-direction=right]{transform:rotate(90deg)}.control-icon[data-direction=down]{transform:rotate(180deg)}.control-icon[data-direction=left]{transform:rotate(-90deg)}.recovery-panel button:hover,.recovery-panel button:focus-visible,.editor-primary-action:hover,.editor-primary-action:focus-visible{background:var(--accent-hover);color:var(--surface-secondary);outline:none}.editor-controls button:not(:disabled):hover,.editor-controls button:not(:disabled):focus-visible,.editor-count-action:hover,.editor-count-action:focus-visible,.editor-secondary-action:hover,.editor-secondary-action:focus-visible,.editor-danger-action:hover,.editor-danger-action:focus-visible{border-color:var(--accent-hover);background:var(--surface-primary);color:var(--accent-hover);outline:none;transform:translateY(-1px)}.editor-controls .editor-controls__close:not(:disabled):hover,.editor-controls .editor-controls__close:not(:disabled):focus-visible{color:var(--text-primary);background:0 0;border:0;outline:none}.text-size-mode button[aria-pressed=true]:hover,.text-size-mode button[aria-pressed=true]:focus-visible{background:var(--accent-hover);color:var(--surface-secondary)}@media (width>=720px){.editor-detail-panel--open{left:auto;right:var(--space-5);bottom:calc(var(--space-5) + env(safe-area-inset-bottom,0px));width:min(760px, calc(100vw - var(--space-10)))}.cell-controls{padding-bottom:var(--space-1);scroll-snap-type:x proximity;display:flex;overflow:auto hidden}.cell-controls__group{scroll-snap-align:start;flex:none}.cell-controls__group--text{min-width:260px;padding-left:var(--space-3);border-left:1px solid var(--border-subtle)}.text-size-mode{grid-template-columns:repeat(4,minmax(0,1fr))}}.editor-board-actions{background:0 0;border:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px 44px;align-items:center;gap:8px;width:100%;min-width:0;padding:16px 0;display:grid}.editor-board-actions[data-has-video=false]:not(.editor-board-actions--ready){grid-template-columns:minmax(0,1fr) 44px 44px}.editor-board-actions .editor-action-icon{background:0 0;border-color:#0000;width:44px}.editor-board-actions .editor-primary-action,.editor-board-actions .editor-secondary-action{border-radius:4px;gap:8px}.editor-board-actions .editor-primary-action{border-color:var(--text-primary);background:var(--text-primary)}.editor-board-actions>button,.editor-export-count-group>button,.editor-export-format-group>button{width:100%;min-width:0;min-height:44px;padding:var(--space-2) var(--space-1);white-space:nowrap;font-size:.8125rem}.editor-board-actions--ready{grid-template-columns:repeat(3,minmax(0,1fr))}.editor-export-ready-actions{gap:var(--space-1);grid-column:1/-1;min-width:0;display:grid}.editor-export-ready-actions>button{width:100%}.editor-export-preview-list{gap:var(--space-2);grid-column:1/-1;max-height:32vh;display:grid;overflow:auto}.editor-export-progress{min-height:44px;color:var(--text-secondary);grid-column:1/-1;align-items:center;gap:8px;font-size:.8125rem;display:flex}.editor-export-preview-image{border:1px solid var(--border-default);background:var(--surface-secondary);width:100%;height:auto;display:block}.editor-export-count-group{gap:var(--space-1);grid-template-columns:repeat(6,minmax(0,1fr));display:grid}.editor-export-ratio-group{grid-template-columns:repeat(2,minmax(0,1fr));max-width:240px}.editor-export-ratio-group>button{gap:8px}.editor-export-ratio-group>button[aria-pressed=true]{background:var(--text-primary);color:var(--surface-secondary);border-color:#0000}.editor-board-actions[data-poster=true] .editor-export-preview-list{gap:24px;max-height:none;overflow:visible}.editor-board-actions[data-poster=true] .editor-export-preview-image{border:0}.editor-export-poster{min-width:0;margin:0}.editor-export-poster figcaption{justify-content:space-between;align-items:center;gap:12px;min-height:44px;font-size:.875rem;display:flex}.editor-export-poster figcaption a{width:44px;height:44px;color:inherit;flex:0 0 44px;place-items:center;display:grid}.editor-export-poster figcaption a:hover{background:var(--surface-secondary)}.editor-export-format-group{gap:var(--space-2);grid-template-columns:90px minmax(0,1fr);display:grid}.editor-export-format-group select{background:var(--surface-secondary);min-width:0;min-height:44px;color:var(--text-primary);font:inherit;border:0;border-radius:0;padding:8px;font-size:.8125rem}.editor-export-error{flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:12px;font-size:.875rem;display:flex}.editor-count-action--selected{border-color:var(--border-default);color:var(--text-primary)}.editor-message{color:var(--text-secondary);flex-basis:100%;font-size:.875rem;line-height:1.5}.spotify-layout-controls{border-bottom:1px solid var(--border-subtle);background:0 0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 24px;min-width:0;padding:0 0 12px;display:flex}.spotify-layout-controls__group,.spotify-layout-controls__choices{align-items:center;min-width:0;display:flex}.spotify-layout-controls__choices{border:0;margin:0;padding:0}.spotify-layout-controls__group{gap:8px}.spotify-layout-controls__label{color:var(--text-tertiary);white-space:nowrap;font-size:12px;font-weight:700}.spotify-layout-controls button{min-width:0;min-height:44px;color:var(--text-secondary);cursor:pointer;font:inherit;background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;gap:6px;padding:6px 10px;font-size:13px;font-weight:700;display:inline-flex}.spotify-layout-controls button:hover,.spotify-layout-controls button:focus-visible,.spotify-layout-controls button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent-primary);outline:none}.spotify-layout-controls button:disabled{color:var(--text-tertiary);cursor:not-allowed;opacity:.42;border-bottom-color:#0000}.spotify-layout-controls__count{gap:4px}.spotify-layout-controls__count button{width:44px;padding:4px;font-size:20px;line-height:1}.spotify-layout-controls__count output{min-width:24px;color:var(--text-primary);text-align:center;font-size:13px;font-weight:800}.spotify-layout-controls__legend{display:none}.spotify-artist-cell{text-align:left}.spotify-artist-cell--empty{color:#667a84;justify-content:center;align-items:center;gap:10px;font-size:14px;font-weight:700;display:flex}.spotify-artist-cell__add-icon{border:0;border-radius:0;place-items:center;width:24px;height:24px;font-size:18px;line-height:1;display:grid;padding:0!important}.spotify-artist-cell--filled{cursor:default}.spotify-artist-cell--list{border-top:0;border-right:0;border-bottom:1px solid var(--editor-board-cell-border);background:0 0;border-left:0}.spotify-artist-cell--list.spotify-artist-cell--filled{grid-template-columns:26% minmax(0,1fr);place-items:stretch stretch;gap:3%;padding:2.6%;display:grid}.spotify-artist-cell--grid.spotify-artist-cell--filled{border:1px solid var(--editor-board-cell-border);grid-template-rows:minmax(0,1fr) auto;padding:0;display:grid}.spotify-artist-cell--grid.spotify-artist-cell--empty{flex-direction:column;gap:3px;font-size:11px}.spotify-artist-cell__select{z-index:0;cursor:pointer;background:0 0;border:0;width:100%;position:absolute;inset:0}.spotify-artist-cell__image-frame,.spotify-artist-cell__details{z-index:1;pointer-events:none;min-width:0;position:relative}.spotify-artist-cell__image-frame{background:#f1f3f4;place-self:stretch stretch;place-items:center;width:100%;height:100%;min-height:0;display:grid;overflow:hidden}.editor-cell .spotify-artist-cell__image-frame img{object-fit:contain;width:100%;max-width:100%;height:100%;max-height:100%;position:static}.spotify-artist-cell__image-retry,.spotify-artist-cell__image-loading{box-sizing:border-box;color:#59616a;background:#f1f3f4;border:0;place-items:center;width:100%;height:100%;padding:0;display:grid;position:absolute;inset:0}.spotify-artist-cell__image-retry{pointer-events:auto;cursor:pointer}.spotify-artist-cell__image-retry:hover{color:var(--accent-primary)}.artwork-spinner{animation:1s linear infinite artwork-spin}@keyframes artwork-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.artwork-spinner{animation:none}}.spotify-artist-cell__details{grid-template-rows:auto auto minmax(0,1fr);align-content:start;display:grid}.spotify-artist-cell__details a{z-index:2;color:inherit;pointer-events:auto;text-decoration:none;position:relative}.spotify-artist-cell__artist-link{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:18px;font-weight:850;line-height:1.08;display:-webkit-box;overflow:hidden}.spotify-artist-cell__artist-link:hover,.spotify-artist-cell__tracks a:hover{text-decoration:underline}.spotify-artist-cell__rating{color:#60747e;border-bottom:0;align-items:center;gap:5px;width:fit-content;margin-top:3px;font-size:12px;font-weight:700;display:flex}.spotify-artist-cell__rating:before{content:"";background:var(--spotify-accent);border-radius:50%;width:7px;height:7px}.spotify-artist-cell--grid .spotify-artist-cell__image-frame{grid-area:1/1/-1}.spotify-artist-cell--grid .spotify-artist-cell__details{color:#fff;text-align:center;background:#111111e0;padding:7px 8px 8px;display:block;position:absolute;bottom:0;left:0;right:0}.spotify-artist-cell--grid .spotify-artist-cell__artist-link{color:#fff;text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;font-size:12px;line-height:1.15;overflow:hidden}.spotify-artist-cell--grid .spotify-artist-cell__rating,.spotify-artist-cell--grid .spotify-artist-cell__tracks{display:none}.spotify-artist-cell__tracks{gap:2px;min-height:0;margin:7px 0 0;padding-left:18px;font-size:12px;line-height:1.15;display:grid}.spotify-artist-cell__tracks li{min-width:0}.spotify-artist-cell__tracks a{gap:5px;min-width:0;display:flex}.spotify-artist-cell__tracks strong,.spotify-artist-cell__tracks span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.spotify-artist-cell__tracks span{color:#526872}.editor-controls--spotify{max-height:min(70dvh,640px);padding:24px;overflow:hidden auto}.spotify-controls{gap:16px;min-width:0;display:grid}.spotify-controls__close{place-items:center;font-size:27px;line-height:1;position:absolute;top:9px;right:12px;color:#111!important;background:0 0!important;border:0!important;width:44px!important;min-width:44px!important;height:44px!important;padding:0!important;display:inline-grid!important}.spotify-controls__selected-tracks button:before{content:"";position:absolute;inset:-10px}.spotify-controls__close:focus-visible,.spotify-controls__selected-tracks button:focus-visible{outline-offset:3px;outline:2px solid var(--accent-primary)!important}.spotify-controls__heading,.spotify-controls__track-heading{justify-content:space-between;align-items:center;min-width:0;display:flex}.spotify-controls__heading strong{text-overflow:ellipsis;white-space:nowrap;font-size:20px;overflow:hidden}.spotify-controls__heading span{color:#168342;margin-right:36px;font-size:12px;font-weight:800}.spotify-controls__picker,.spotify-controls__editor{gap:8px;min-width:0;display:grid}.spotify-controls__artist-source{color:#168342;text-underline-offset:3px;align-items:center;width:fit-content;min-height:44px;font-size:12px;font-weight:800;text-decoration:underline;display:inline-flex}.spotify-controls label,.spotify-controls__track-heading strong{color:#526872;font-size:12px;font-weight:800}.spotify-controls input{border:1px solid var(--border-default);color:#172026;width:100%;height:44px;font:inherit;background:#fff;border-radius:4px;padding:0 10px}.spotify-controls input:focus{border-color:var(--accent-primary);outline:2px solid color-mix(in srgb, var(--accent-primary) 22%, transparent);outline-offset:0}.spotify-controls__search-input-row{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.spotify-controls .spotify-controls__search-submit{border:1px solid var(--accent-primary);background:var(--accent-primary);color:#fff;border-radius:0;width:auto;min-width:72px;min-height:44px;padding:0 14px;font-weight:800}.spotify-controls .spotify-controls__search-submit:disabled{color:#637780;cursor:not-allowed;background:#e4e9eb;border-color:#aebbc1}.spotify-controls p{color:#637780;font-size:12px}.spotify-controls__error{color:var(--status-error)!important}.spotify-search-results{max-height:280px;display:grid;overflow-y:auto}.spotify-search-row{border-bottom:1px solid var(--border-subtle);grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:4px;min-height:64px;padding:0;display:grid}.spotify-search-row img,.spotify-search-row__image-fallback{object-fit:contain;background:#eef1f2;width:44px;height:44px}.spotify-search-row__image-fallback{color:#fff;background:#181818;place-items:center;font-size:15px;font-weight:800;display:grid}.spotify-search-row .spotify-search-row__select{text-align:left;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:56px;display:grid;color:#172026!important;background:0 0!important;border:0!important;width:100%!important;min-width:0!important;padding:6px 4px 6px 0!important}.spotify-search-row .spotify-search-row__select:hover,.spotify-search-row .spotify-search-row__select:focus-visible{outline:2px solid var(--accent-primary);outline-offset:-2px;transform:none;background:var(--surface-primary)!important}.spotify-search-row__text{color:#172026;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600;overflow:hidden}.spotify-controls__track-heading button{min-height:44px;font-size:12px;font-weight:800;width:auto!important;min-width:44px!important;color:var(--accent-primary)!important;background:0 0!important;border:0!important;padding:6px!important}.spotify-search-row__select:disabled{cursor:not-allowed;opacity:.48;color:var(--text-tertiary)!important}.spotify-search-row--track{grid-template-columns:minmax(0,1fr) auto}.spotify-search-row--track .spotify-search-row__select{grid-template-columns:minmax(0,1fr) auto;padding-left:4px!important}.spotify-search-row--track .spotify-search-row__text{display:grid}.spotify-search-row--track .spotify-search-row__text span{color:#526872;text-overflow:ellipsis;font-size:11px;font-weight:500;overflow:hidden}.spotify-search-row__action{color:var(--accent-primary);font-size:12px;font-weight:800}.spotify-search-row__source{width:44px;height:44px;color:var(--text-secondary);place-items:center;font-size:18px;text-decoration:none;display:inline-grid}.spotify-search-row__source:hover,.spotify-search-row__source:focus-visible{color:var(--accent-primary);outline:2px solid var(--accent-primary);outline-offset:-2px}.spotify-search-skeleton{gap:6px;padding:4px 0;display:grid}.spotify-search-skeleton span{background:linear-gradient(90deg,#e4e9eb 25%,#f5f7f8 50%,#e4e9eb 75%) 0 0/200% 100%;height:10px;animation:1.1s linear infinite spotify-search-loading}.spotify-search-skeleton span:nth-child(2){width:82%}.spotify-search-skeleton span:nth-child(3){width:64%}@keyframes spotify-search-loading{to{background-position:-200% 0}}.spotify-controls__ratings{gap:4px;padding-bottom:3px;display:flex;overflow-x:auto}.spotify-controls__selected-tracks{gap:0;margin:0;padding:0 0 5px 18px;display:grid}.spotify-controls__selected-tracks li{border-bottom:1px solid var(--border-subtle);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px;min-width:150px;font-size:12px;display:grid}.spotify-controls__selected-tracks a{color:#24343b;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;overflow:hidden}.spotify-controls__selected-tracks button{height:44px;font-size:18px;position:relative;color:#8c241d!important;background:0 0!important;border:0!important;width:44px!important;min-width:44px!important;padding:2px!important}.spotify-controls__ratings button{flex:none;min-height:44px;font-size:11px;color:#52646c!important;background:0 0!important;border:0!important;border-radius:0!important;width:auto!important;min-width:44px!important;padding:6px 7px!important}.spotify-controls__ratings button[aria-pressed=true]{color:#fff!important;background:#172026!important}.spotify-controls__actions{justify-content:flex-end;display:flex}.spotify-controls .spotify-controls__done{border:1px solid var(--accent-primary);background:var(--accent-primary);color:#fff;border-radius:0;width:auto;min-width:88px;min-height:44px;padding:8px 18px;font-weight:800}@media (width<=719px){.spotify-controls input{font-size:16px}.editor-detail-panel--spotify.editor-detail-panel--open{top:env(safe-area-inset-top,0px);z-index:40;width:100%;max-width:none;bottom:0;left:0;right:0}.editor-detail-panel--spotify .editor-controls--spotify{overscroll-behavior:contain;border:0;width:100%;height:100%;max-height:none;padding:0;overflow:hidden}.editor-detail-panel--spotify .spotify-controls{grid-template-rows:auto minmax(0,1fr) auto;gap:0;height:100%}.editor-detail-panel--spotify .spotify-controls__heading{border-bottom:1px solid var(--border-subtle);min-height:56px;padding:0 60px 0 16px}.editor-detail-panel--spotify .spotify-controls__close{z-index:3;top:6px;right:8px}.editor-detail-panel--spotify .spotify-controls__picker,.editor-detail-panel--spotify .spotify-controls__editor{overscroll-behavior:contain;align-content:start;min-height:0;padding:12px 16px;overflow-y:auto}.editor-detail-panel--spotify .spotify-controls__search-bar{z-index:2;border-bottom:1px solid var(--border-subtle);background:var(--surface-secondary);align-content:start;gap:8px;padding:12px 0 10px;display:grid;position:sticky;top:-12px}.editor-detail-panel--spotify .spotify-search-results{max-height:none;overflow:visible}.editor-detail-panel--spotify .spotify-controls__actions{border-top:1px solid var(--border-subtle);background:var(--surface-secondary);padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px))}.spotify-layout-controls{flex-wrap:wrap;gap:8px;padding-left:12px;padding-right:12px}.spotify-layout-controls__group{gap:3px}.spotify-layout-controls button{padding-left:7px;padding-right:7px}.spotify-layout-controls__count .spotify-layout-controls__label{display:none}.spotify-layout-controls__legend{border-top:1px solid var(--border-subtle);scrollbar-width:none;flex-basis:100%;gap:6px 10px;padding-top:8px;display:flex;overflow-x:auto}.spotify-layout-controls__legend span{color:var(--text-secondary);white-space:nowrap;flex:none;align-items:center;gap:5px;padding-bottom:3px;font-size:12px;font-weight:700;display:inline-flex}.spotify-layout-controls__legend i{border-radius:50%;flex:none;width:7px;height:7px}.spotify-controls__ratings{grid-template-columns:repeat(4,minmax(0,1fr));display:grid;overflow:visible}.spotify-controls__ratings button{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;width:100%!important;padding:6px 2px!important}.spotify-artist-cell--list.spotify-artist-cell--filled{padding:2%}.spotify-artist-cell__artist-link{font-size:13px}.spotify-artist-cell__rating,.spotify-artist-cell__tracks{font-size:10px}.spotify-artist-cell__tracks{gap:0;margin-top:3px;padding-left:12px}.spotify-artist-cell__tracks span{display:none}.spotify-artist-cell--grid .spotify-artist-cell__artist-link{font-size:10px}}@media (prefers-reduced-motion:reduce){.spotify-search-skeleton span{animation:none}}:root{--surface-primary:#f5f5f6;--surface-secondary:#fff;--surface-elevated:#fff;--text-primary:#202124;--text-secondary:#585b63;--text-tertiary:#70737c;--border-default:#d6d7dc;--border-subtle:#e7e7eb;--accent-primary:#3156cf;--accent-hover:#2544ac;--accent-soft:#edf0ff;--surface-hover:#ededf0;--shadow-dialog:0 16px 64px #18181e29;--status-error:#b42318;--status-info:#236c9e;--board-background-light:#fff;--board-background-dark:#050505;--board-text-light:#172026;--board-text-dark:#fff;--board-cell-background:#fff;--board-cell-border-light:#d7dee2;--board-cell-border-dark:#fff;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-8:32px;--space-10:40px;--space-12:48px;color:var(--text-primary);background:var(--surface-primary);font-synthesis:none;-webkit-font-smoothing:antialiased;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;line-height:1.5}*{box-sizing:border-box;letter-spacing:0}body{margin:0}button{font:inherit}button,input,select,textarea,a{-webkit-tap-highlight-color:transparent}button svg,a svg{flex-shrink:0}:root :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid var(--accent-primary);outline-offset:3px}input,select,textarea{accent-color:var(--accent-primary)}button:disabled{cursor:not-allowed;opacity:.5}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}.app-shell{min-height:100dvh;padding:var(--space-6);place-items:center;display:grid}.app-panel{border:1px solid var(--border-default);background:var(--surface-secondary);width:min(100%,480px);padding:var(--space-6);border-radius:8px}.app-kicker{margin:0 0 var(--space-2);color:var(--text-secondary);text-transform:uppercase;font-size:.875rem;font-weight:700}h1{margin:0 0 var(--space-3);font-size:2rem;line-height:1.1}h2,h3,p{margin:0}
