.d53-theme-loading{padding:32px;color:var(--muted,#536b7c)}
.theme-active-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px;padding:16px 18px;border:1px solid #a9d9e8;border-left:5px solid #169fd6;border-radius:14px;background:linear-gradient(120deg,#f7fcff,#edf8fb);box-shadow:0 8px 24px rgba(10,61,102,.07)}.theme-active-summary span{color:#087da9;font-weight:800;letter-spacing:.12em}.theme-active-summary h4{margin:4px 0}.theme-active-summary p{margin:0;color:#536b7c}.theme-active-summary>strong{padding:7px 11px;border-radius:999px;background:#dff3ee;color:#087158;white-space:nowrap}
.theme-active-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px;padding:16px 18px;border:1px solid #a9d9e8;border-left:5px solid #169fd6;border-radius:14px;background:linear-gradient(120deg,#f7fcff,#edf8fb);box-shadow:0 8px 24px rgba(10,61,102,.07)}.theme-active-summary span{color:#087da9;font-weight:800;letter-spacing:.12em}.theme-active-summary h4{margin:4px 0}.theme-active-summary p{margin:0;color:#536b7c}.theme-active-summary>strong{padding:7px 11px;border-radius:999px;background:#dff3ee;color:#087158;white-space:nowrap}
.theme-studio-grid{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:16px}
.theme-library,.theme-editor,.theme-rollback{border:1px solid var(--line,#c9d7e1);border-radius:14px;background:var(--panel,#fff);box-shadow:0 8px 24px rgba(10,61,102,.07)}
.theme-library,.theme-editor{padding:18px}.theme-pane-title span,.theme-rollback span{color:#087da9;font-weight:800;letter-spacing:.12em}.theme-pane-title h4,.theme-rollback h4{margin:5px 0}.theme-pane-title p,.theme-rollback p{margin:0;color:var(--muted,#536b7c)}
.theme-list{display:grid;gap:8px;margin:18px 0}.theme-list-item{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:12px;text-align:left;border:1px solid #d5e1e9;border-radius:10px;background:#f8fafb}.theme-list-item span:first-child{display:grid;gap:3px}.theme-list-item small{color:#536b7c}.theme-list-item.active{border-color:#169fd6;box-shadow:0 0 0 2px rgba(22,159,214,.12)}.theme-list-item.baseline{border-left:4px solid #0a3d66}
.theme-state{display:inline-flex;padding:3px 7px;border-radius:999px;background:#e7edf2;color:#17324d;font-size:.75rem;font-weight:800}.theme-state-published{background:#d8f3ea;color:#087158}.theme-state-validated{background:#dff2fb;color:#086e98}.theme-state-approved{background:#e7e4fa;color:#5542a6}
.theme-position{display:inline-flex;margin-left:5px;padding:2px 5px;border-radius:999px;font-size:.58rem;letter-spacing:.08em;vertical-align:middle}.theme-position.current{background:#d8f3ea;color:#087158}.theme-position.previous{background:#dff2fb;color:#086e98}
.theme-upload{display:grid;gap:9px;padding-top:16px;border-top:1px solid #d5e1e9}.theme-upload label{display:grid;gap:6px;font-weight:700}.theme-upload input{max-width:100%}.theme-editor-tabs{display:flex;gap:4px;overflow:auto;margin:18px 0 12px;border-bottom:1px solid #d5e1e9}.theme-editor-tabs button{white-space:nowrap;border:0;border-bottom:3px solid transparent;background:transparent;padding:9px}.theme-editor-tabs button.active{border-color:#169fd6;color:#0a3d66;font-weight:800}.theme-detail{min-height:180px;padding:16px;border-radius:10px;background:#f4f7f8}.theme-detail dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}.theme-detail dl div{display:grid;gap:4px}.theme-detail dt{color:#536b7c}.theme-detail dd{margin:0;font-weight:700}.theme-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.theme-rollback{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:16px;padding:16px;border-left:4px solid #a86e18}
.theme-preview-dialog{width:min(1500px,94vw);max-width:none;border:0;border-radius:14px;padding:0}.theme-preview-dialog>header{display:flex;justify-content:space-between;align-items:center;padding:14px 18px;background:#0a3d66;color:#fff}.theme-preview-dialog>header span{color:#77d9ef;letter-spacing:.12em}.theme-preview-dialog>header h3{margin:4px 0;color:#fff}.theme-preview-dialog>header button{font-size:1.5rem;color:#fff;background:transparent;border:0}.theme-preview-controls{display:flex;gap:14px;padding:12px 18px;background:#f4f7f8}.theme-preview-controls label{display:grid;gap:3px}.theme-preview-canvas{display:grid;grid-template-columns:240px 1fr;min-height:560px;background:#f4f7fa}.theme-preview-canvas aside{display:grid;align-content:start;gap:8px;padding:18px;background:#082f55;color:#fff}.theme-preview-canvas aside img{width:180px;margin-bottom:20px;filter:brightness(0) invert(1)}.theme-preview-canvas aside :is(strong,span){padding:9px;border-radius:7px}.theme-preview-canvas main{padding:24px}.preview-notice{padding:8px;border:1px solid #a86e18;background:#fff8e8}.preview-command{margin:18px 0;padding:22px;border-radius:12px;background:linear-gradient(120deg,#0a3d66,#087b91);color:#fff}.preview-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.preview-cards article{min-height:110px;padding:16px;border:1px solid #c9d7e1;border-radius:14px;background:#fff;box-shadow:0 8px 20px rgba(23,50,77,.07)}.theme-preview-canvas.eye-comfort{background:#e7edf2;color:#17324d}.theme-preview-canvas.eye-comfort aside{background:#dfe9ef;color:#17324d}.theme-preview-canvas.eye-comfort aside img{filter:none}
@media(max-width:900px){.theme-active-summary{align-items:flex-start;flex-direction:column}.theme-studio-grid{grid-template-columns:1fr}.theme-preview-canvas{grid-template-columns:1fr}.theme-preview-canvas aside{display:none}.theme-detail dl{grid-template-columns:1fr}}
