[data-theme="minimal-dark"]{color-scheme:dark;--bg:#17191c;--panel:#202327;--panel2:#292d31;--field:#1b1e21;--text:#e6e8e9;--label:#d4d7d9;--muted:#a0a6aa;--line:#3a3f44;--primary:#79bce8;--primary2:#9bcef0;--green:#80c99a;--orange:#e5ba70;--red:#ed918b;--sidebar:#1d2023;--sidebar-active:#343a3f;--shadow:rgba(0,0,0,.24)}
[data-theme="minimal-dark"] body{font-family:"Open Sans","Segoe UI",Arial,sans-serif;font-weight:400}
[data-theme="minimal-dark"] .sidebar{color:#d4d7d9}
[data-theme="minimal-dark"] .brand{font-weight:700}
[data-theme="minimal-dark"] .sidebar a{color:#c4cbd0;font-weight:500}
[data-theme="minimal-dark"] .nav-section,[data-theme="minimal-dark"] .nav-subsection{color:#a0a6aa;font-weight:600}
[data-theme="minimal-dark"] h1,[data-theme="minimal-dark"] h2,[data-theme="minimal-dark"] h3,[data-theme="minimal-dark"] th{font-weight:600}
[data-theme="minimal-dark"] strong,[data-theme="minimal-dark"] button,[data-theme="minimal-dark"] .button{font-weight:600}
[data-theme="minimal-dark"] label{color:#f0f2f3}
[data-theme="minimal-dark"] button,[data-theme="minimal-dark"] .button{border-color:#596168;background:#292e33;color:#f2f4f5}
[data-theme="minimal-dark"] button:hover,[data-theme="minimal-dark"] .button:hover{border-color:#82909a;background:#343b41;color:#fff}
[data-theme="minimal-dark"] .primary,[data-theme="minimal-dark"] .primary:hover{background:#245d80;border-color:#5aa4d2;color:#fff}
[data-theme="minimal-dark"] .danger,[data-theme="minimal-dark"] .danger:hover{background:#702d34;border-color:#dc727b;color:#fff}
[data-theme="minimal-dark"] .badge.green{background:#21422e;border:1px solid #477956;color:#b3f0c2}
[data-theme="minimal-dark"] .badge.orange{background:#4d391c;border:1px solid #80602d;color:#ffe0a0}
[data-theme="minimal-dark"] .badge.red{background:#4c2527;border:1px solid #854346;color:#ffc2bf}
[data-theme="minimal-dark"] .menu-count,[data-theme="minimal-dark"] .shortcut-count{background:#245d80;border-color:#75b9e2;color:#fff;text-shadow:none}
[data-theme="minimal-dark"] :is(button,.button,input,select,textarea,a):focus-visible{outline:2px solid #9bd8ff;outline-offset:2px}
.plate-copy-wrap{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.plate-copy-button,.plate-copy-button:hover{width:auto;height:auto;margin:0;padding:0;border:0;background:transparent;color:var(--primary);font:inherit;font-weight:650;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:3px}
[data-theme="minimal-dark"] .plate-copy-button,[data-theme="minimal-dark"] .plate-copy-button:hover{border:0;background:transparent;color:#9bd8ff}
.plate-copy-notice{position:fixed;z-index:9999;display:inline-flex;align-items:center;padding:5px 9px;border:1px solid color-mix(in srgb,var(--green) 50%,var(--line));border-radius:999px;background:var(--panel);color:var(--green);font-size:11px;font-weight:700;box-shadow:0 4px 14px var(--shadow);pointer-events:none;white-space:nowrap}
.plate-copy-notice[hidden]{display:none}
[data-theme="minimal-dark"] .login-shell{background:linear-gradient(135deg,#17191c,#292d31)}
[data-theme="minimal-dark"] .flash.success{background:#202c25;border-color:#80c99a;color:#a0e0b4}
[data-theme="minimal-dark"] .flash.error{background:#332221;border-color:#ed918b;color:#f2aaa5}
[data-theme="minimal-dark"] .sticky-note{background:#3d3823;color:#f0e6bc;border-color:#625938;box-shadow:3px 5px 12px rgba(0,0,0,.3)}
[data-theme="minimal-dark"] .sticky-note:nth-child(even){background:#464027}
[data-theme="minimal-dark"] .sticky-note-head{border-color:rgba(240,230,188,.2)}
[data-theme="minimal-dark"] .sticky-note-head a{color:#f4e9be}
[data-theme="minimal-dark"] .sticky-note-head span,[data-theme="minimal-dark"] .sticky-note small{color:#d2c58f}
[data-theme="minimal-dark"] .sticky-note.note-color-blue{background:#203944;border-color:#3c6575;color:#d9f3ff}
[data-theme="minimal-dark"] .sticky-note.note-color-green{background:#293c2b;border-color:#496d4a;color:#e0ffd9}
[data-theme="minimal-dark"] .sticky-note.note-color-pink{background:#432d38;border-color:#745064;color:#ffe1ec}
[data-theme="minimal-dark"] .sticky-note.note-color-orange{background:#493722;border-color:#765934;color:#ffe5c1}
[data-theme="minimal-dark"] .sticky-note-action{background:rgba(20,22,24,.82);border-color:rgba(255,255,255,.2);color:#f0e6bc}
.theme-choices{grid-template-columns:repeat(4,minmax(0,1fr))}
.mobile-shortcuts{display:none}
.mobile-page-actions{position:relative;flex:0 0 auto}
.mobile-page-actions>summary{display:flex;align-items:center;justify-content:center;list-style:none;width:40px;height:40px;border:1px solid var(--line);border-radius:7px;background:var(--panel);color:var(--text);font-size:24px;font-weight:700;cursor:pointer}
.mobile-page-actions>summary::-webkit-details-marker{display:none}
.mobile-page-actions-panel{position:absolute;right:0;top:calc(100% + 7px);z-index:12;display:grid;gap:6px;min-width:190px;max-height:min(65vh,480px);overflow:auto;padding:8px;border:1px solid var(--line);border-radius:9px;background:var(--panel);box-shadow:0 14px 35px var(--shadow)}
.mobile-page-actions-panel>a,.mobile-page-actions-panel>button,.mobile-page-actions-panel>form{width:100%}
.mobile-page-actions-panel>div{display:grid;gap:6px;width:100%}
.mobile-page-actions-panel>div>a,.mobile-page-actions-panel>div>button,.mobile-page-actions-panel>div>form{width:100%}
.mobile-page-actions-panel>form>button{width:100%}
@media(max-width:900px){
  .topbar{position:fixed;top:0;left:0;right:0;z-index:40;height:58px;padding:env(safe-area-inset-top) 12px 0;box-sizing:content-box}
  .sidebar{top:calc(58px + env(safe-area-inset-top));bottom:calc(72px + env(safe-area-inset-bottom));height:auto;max-height:none;overflow-y:auto!important;overflow-x:hidden!important;z-index:30}
  .sidebar .sidebar-scroll{height:auto!important;max-height:none;min-height:0;overflow:visible!important}
  .sidebar nav[data-menu-layout].is-collapsed{display:grid!important}
  .sidebar .menu-collapse-toggle{display:none}
  .main{padding-top:calc(58px + env(safe-area-inset-top));padding-bottom:calc(70px + env(safe-area-inset-bottom))}
  .content{padding:14px 12px 24px}
  .page-head{flex-direction:row;align-items:center;gap:8px;margin-bottom:14px}
  .dashboard-head{flex-wrap:wrap;align-items:flex-start}
  .dashboard-head>div:first-child{flex:1 0 100%;width:100%;min-width:0}
  .dashboard-head>.dashboard-head-actions{flex:1 0 100%;width:100%;justify-content:flex-end}
  .dashboard-head .dashboard-head-actions>.button{width:auto;height:42px;padding:10px 13px;overflow:visible;font-size:14px;gap:8px}
  .page-head>h1,.page-head>div:has(>h1),.page-head>div:has(>h2){flex:1;min-width:0}
  .page-head h1{font-size:clamp(19px,5vw,25px);line-height:1.2}
  .page-title-favorite{flex-wrap:wrap;gap:5px}
  .page-head>div:has(>a),.page-head>.button-group{justify-content:flex-end;flex:0 0 auto}
  .page-head>div:has(>a)>.button,.page-head>.button-group>.action-icon{width:38px;height:38px;padding:0;overflow:hidden;font-size:0;gap:0}
  .page-head>div:has(>a)>.button .icon,.page-head>.button-group>.action-icon .icon{width:18px;height:18px;flex-basis:18px}
  .mobile-shortcuts{position:fixed;left:0;right:0;bottom:0;z-index:25;display:flex;align-items:stretch;justify-content:space-around;gap:2px;padding:6px 5px calc(6px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:color-mix(in srgb,var(--panel) 94%,transparent);backdrop-filter:blur(14px)}
  .mobile-shortcuts>a,.mobile-shortcuts>button{display:flex;flex:1;min-width:0;min-height:48px;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:4px 2px;border:0;border-radius:7px;background:transparent;color:var(--muted);font-size:10px;font-weight:700}
  .mobile-shortcuts>a{position:relative}
  .mobile-shortcuts .shortcut-count{position:absolute;top:0;left:calc(50% + 1px);display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:16px;padding:0 4px;border:1px solid var(--panel);border-radius:999px;background:var(--red);color:#fff;font-size:9px;font-weight:800;line-height:1}
  [data-theme="minimal-dark"] .mobile-shortcuts .shortcut-count{background:#792e35;border-color:#ff9b9f;color:#fff;text-shadow:none;box-shadow:0 0 0 1px rgba(0,0,0,.4)}
  .mobile-shortcuts>a:hover,.mobile-shortcuts>button:hover{background:var(--panel2);color:var(--primary);text-decoration:none}
  .mobile-shortcuts .icon{width:19px;height:19px;flex-basis:19px}
  .mobile-shortcuts span{max-width:19vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .topbar>.theme-toggle{display:inline-flex!important;flex:0 0 38px;width:38px;height:38px}
}
