.studio-topbar-tools{display:flex;align-items:center;gap:20px}.studio .theme-toggle{border-radius:5px;font-size:12px;letter-spacing:0;font-family:'DM Sans',sans-serif}

/* The same appearance preference also applies to the portfolio manager. */
html[data-theme=dark] .studio{--studio-bg:#101315;--studio-panel:#191d20;--studio-muted:#a5afb5;--studio-border:#323a40;background:var(--studio-bg);color:var(--ink)}
html[data-theme=dark] .studio-sidebar{background:#0c0f11;border-color:var(--studio-border)}html[data-theme=dark] .studio-sidebar nav button{color:#b8c1c7}html[data-theme=dark] .studio-sidebar nav button:hover{background:#20282e}
html[data-theme=dark] .studio-sidebar nav button.active{background:var(--lime);color:#111315}html[data-theme=dark] .studio-account,html[data-theme=dark] .studio-visit{border-color:#343d43}
html[data-theme=dark] .studio-button{background:#252d33;border-color:#414c54;color:var(--ink)}html[data-theme=dark] .studio-button:hover{background:#323c44}
html[data-theme=dark] .studio-button.primary{background:var(--lime);border-color:var(--lime);color:#111315}html[data-theme=dark] .studio-button.primary:hover{background:#d4ec43}
html[data-theme=dark] .studio-button.danger{background:#33201f;color:#ffb3a7;border-color:#754841}html[data-theme=dark] .studio-text-button{color:#b8c5cc}
html[data-theme=dark] .studio-panel input:not([type=checkbox]):not([type=radio]):not([type=file]),html[data-theme=dark] .studio-panel textarea,html[data-theme=dark] .studio-panel select{background:#111619;border-color:#414c54;color:var(--ink)}
html[data-theme=dark] .studio-panel input::placeholder,html[data-theme=dark] .studio-panel textarea::placeholder{color:#96a3ac}html[data-theme=dark] .studio-dropzone{background:#11181c;border-color:#56676f}html[data-theme=dark] .studio-dropzone>svg{color:#aebc9b}
html[data-theme=dark] .studio-project-row:hover{background:#20272c}html[data-theme=dark] .studio-thumb,html[data-theme=dark] .editor-media-preview,html[data-theme=dark] .library-card .media-view{background:#252c30}
html[data-theme=dark] .list-toolbar .studio-search{background:#111619}html[data-theme=dark] .row-order button,html[data-theme=dark] .row-position,html[data-theme=dark] .drag-handle{color:#a4b0b8}
html[data-theme=dark] .row-order button:hover:not(:disabled),html[data-theme=dark] .media-item-actions button:hover{background:#33414a}html[data-theme=dark] .studio-edit-button{color:var(--ink)}
html[data-theme=dark] .status-pill.published{background:#263725;color:#c7e0b8;border-color:#425f3a}html[data-theme=dark] .status-pill.draft{background:#342d21;color:#e7cf9c;border-color:#695636}
html[data-theme=dark] .feature-button{color:#9eabb3}html[data-theme=dark] .feature-button.featured{color:var(--lime);background:#e2fa5c0f}
html[data-theme=dark] .studio-feedback{background:#203420;border-color:#486344;color:#d5ebc8}html[data-theme=dark] .studio-feedback.error{background:#3d2321;border-color:#83544a;color:#ffbcad}
html[data-theme=dark] .upload-progress{background:#223029;border-color:#446553}html[data-theme=dark] .studio-modal{background:var(--studio-panel);color:var(--ink)}
html[data-theme=dark] .library-picker>button{background:#252d33;color:var(--ink)}html[data-theme=dark] .studio-modal .panel-heading button{color:var(--ink)}
html[data-theme=dark] .homepage-slots>span{background:#e2fa5c0d;border-color:#e2fa5c30;color:#dce8ad}
.studio-list-controls{flex-wrap:wrap}.studio-collection-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}.studio-collection-tabs button{min-height:44px;padding:10px 18px;border:1px solid var(--studio-border);border-radius:5px;background:var(--studio-panel);color:var(--ink);font-size:13px;font-weight:600}.studio-collection-tabs button.active{background:var(--lime);color:#171717;border-color:var(--lime)}
.category-help{margin-bottom:22px}.category-manager-list{display:flex;flex-direction:column}.category-manager-row{display:flex;align-items:center;gap:18px;padding:20px 0;border-top:1px solid var(--studio-border)}.category-position{font:500 12px/1 'Space Grotesk',sans-serif;color:var(--studio-muted);width:24px;flex-shrink:0}.category-manager-name{min-width:0;flex:1}.category-manager-name strong{font-size:16px;display:block}.category-manager-name small{display:block;font-size:12px;color:var(--studio-muted);margin-top:4px}.category-manager-name label{margin:0}.category-manager-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.category-manager-actions>button:not(.studio-button):not(.studio-text-button){width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--studio-border);border-radius:5px;background:transparent;color:var(--ink)}
.new-category-form{display:flex;align-items:end;gap:14px;padding-top:26px;border-top:1px solid var(--studio-border);margin-top:10px}.new-category-form>label{flex:1;margin:0}.new-category-form>button{flex-shrink:0}.category-manager{max-width:1000px}
.studio-project-row{grid-template-columns:42px 72px minmax(110px,1fr) 86px 44px 44px 56px}.row-order{gap:2px}.row-order button{height:44px;width:44px;border:1px solid var(--studio-border)}.feature-button{width:44px;height:44px}.drag-handle{min-width:24px;min-height:44px}
@media(max-width:1100px){.list-toolbar{align-items:start;flex-direction:column}.studio-list-controls{width:100%;justify-content:flex-start}}
@media(max-width:800px){.studio-topbar-tools{gap:8px}.studio .theme-toggle>span{display:none}.category-manager-row{gap:10px;flex-wrap:wrap}.category-manager-actions{margin-left:34px;width:calc(100% - 34px);justify-content:flex-end}.category-manager-name input{width:100%}.new-category-form{align-items:stretch;flex-direction:column}.new-category-form>button{align-self:flex-start}}
@media(max-width:600px){.studio-project-row{grid-template-columns:26px 52px minmax(0,1fr) 44px;gap:9px;padding:16px 14px}.studio-project-row .row-order{grid-column:2;grid-row:2;flex-direction:row}.studio-project-row .status-pill{grid-column:3;grid-row:2;justify-self:start}.studio-project-row .studio-edit-button{grid-column:4;grid-row:2}.studio-project-row .feature-button{grid-column:4;grid-row:1}.studio-thumb{width:52px;height:52px}.studio-project-row .row-position{grid-column:1;grid-row:1}.studio-project-row .row-title{grid-column:3;grid-row:1}.studio-project-row .row-position>span{display:none}.category-manager-actions{flex-wrap:wrap}.studio-topbar .storage-connected{display:none}}
