.library-overview{display:flex;align-items:center;flex-wrap:wrap;gap:8px 24px;padding:9px 24px;background:#edf3ed;border-bottom:1px solid var(--line);flex-shrink:0;font-size:12px}
.theme-emblem{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;flex-shrink:0;border-radius:7px;font-size:17px;overflow:hidden}.theme-emblem svg{width:19px;height:19px}.theme-appearance-editor{border:1px solid var(--line);border-radius:10px;padding:14px;display:grid;gap:12px}.theme-appearance-editor label{display:flex;align-items:center;justify-content:space-between;gap:12px}.theme-appearance-editor input,.theme-appearance-editor select{max-width:60%;min-height:44px}.theme-appearance-editor input[type=color]{width:64px;padding:4px}
.library-overview strong{font-variant-numeric:tabular-nums;color:var(--green);font-size:17px}.library-overview p{flex:1;color:var(--muted);font-size:12px}.library-overview .button{min-height:34px;padding:6px 12px}
#theme-search{margin:0 0 10px;font-size:13px;min-height:40px}.themes{display:flex;flex-direction:column;gap:3px}.theme-group-title{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);margin:8px 0}
#theme-favorites-section{border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:10px}
.theme-row{display:flex;align-items:center;gap:1px;padding-left:min(calc(var(--theme-depth,0)*12px),48px);min-width:0}
.theme-row .theme-button{flex:1;min-width:0;gap:4px;padding:6px!important;border-color:transparent;background:transparent}.theme-row .theme-button[aria-pressed=true]{background:var(--soft);border-color:#bed2c3}
.theme-row .theme-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.theme-row .theme-unseen{flex-shrink:0;font-size:10px;min-width:18px;padding:1px 4px}
.theme-row .icon-button,.theme-star{min-width:26px;width:26px;min-height:36px;padding:0;font-size:18px;background:transparent;border:0;border-radius:6px;flex-shrink:0}
.theme-row .theme-fold{width:18px;min-width:18px;font-size:16px}.theme-fold:disabled{opacity:.25}.theme-star{color:var(--muted)}.theme-star[aria-pressed=true]{color:#886b20}.theme-star:hover,.theme-row .icon-button:hover{background:var(--soft)}
#theme-editor{display:flex;flex-direction:column;gap:10px;margin-top:16px}#theme-editor label{margin-bottom:0}.theme-editor-actions{justify-content:flex-start;flex-wrap:wrap;gap:8px}.theme-editor-actions .button{font-size:12px;padding:8px 12px}#new-theme-parent{margin-bottom:8px}
.notebook-tab-item{display:inline-flex;align-items:center;max-width:100%;min-width:0}#notebook-tabs .notebook-tab{border-radius:7px 0 0 7px}#notebook-tabs .notebook-tab[readonly]{cursor:pointer}#notebook-tabs .notebook-tab[readonly]:focus{background:var(--soft);color:var(--green)}
.notebook-tab-remove{border:1px solid var(--line);border-left:0;border-radius:0 7px 7px 0;background:var(--soft);min-height:34px;padding:3px 8px;font-size:16px}#notebook-archives{font-size:11px;min-height:34px;padding:5px}#notebook-empty{display:block!important}#notebook-empty[hidden]{display:none!important}
.archive-row,.usage-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px}.archive-row span,.usage-row strong{overflow-wrap:anywhere;min-width:0}.archive-row button{flex-shrink:0}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}
.usage-totals{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:24px 0}.usage-totals>div{padding:18px;background:var(--soft);border-radius:12px}.usage-totals strong{display:block;font-size:28px;font-variant-numeric:tabular-nums;color:var(--green)}.usage-totals span{font-size:12px;color:var(--muted)}.usage-row span{white-space:nowrap;font-variant-numeric:tabular-nums}.usage-row strong{font-weight:500}
@media(max-width:760px){.library-overview{padding:10px 19px;gap:6px 12px}.library-overview p{flex-basis:100%;order:3}.library-overview .button{margin-left:auto}.theme-row .icon-button,.theme-star{min-width:36px;min-height:44px}.theme-row .theme-fold{min-width:24px}.usage-totals strong{font-size:23px}}
