.admin-header.header,.admin-header.top {
 display:flex;align-items:center;justify-content:flex-start;gap:12px;
 height:64px;padding:0 clamp(12px,2vw,24px);background:#001529;
 position:relative;overflow:visible;z-index:100;isolation:isolate;flex-shrink:0;
}
.admin-header.admin-sticky{position:sticky;top:0}
.admin-header .nav-toggle{display:none}
.admin-header .admin-shortcuts {
 display:flex;align-items:center;gap:4px;flex-shrink:0;
 color:#e1ebf4;font-size:14px;
}
.admin-shortcuts>a,.admin-shortcuts summary {
 display:flex;align-items:center;gap:6px;min-height:36px;padding:0 9px;
 border-radius:6px;color:inherit;text-decoration:none;white-space:nowrap;cursor:pointer;
}
.admin-shortcuts summary::-webkit-details-marker,.schedule-account summary::-webkit-details-marker{display:none}
.admin-shortcuts summary::after,.schedule-account summary::after{content:"▾";font-size:.8em}
.admin-shortcuts summary:hover,.admin-shortcuts details[open]>summary,
.admin-shortcuts summary.admin-current,.admin-shortcuts>a[aria-current]{background:#ffffff17;color:#fff}
.admin-shortcut-panel {
 position:absolute;top:100%;left:clamp(12px,2vw,24px);margin-top:6px;
 width:min(600px,calc(100% - 2 * clamp(12px,2vw,24px)));
 display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;
 padding:12px;border:1px solid #dce5ed;border-radius:10px;
 background:#fff;color:#20384d;box-shadow:0 8px 24px #0015292e;
 max-height:calc(100dvh - 76px);overflow:auto;z-index:2;
}
.admin-shortcut-panel section{min-width:0}
.admin-shortcut-panel h2{margin:0 0 4px;padding:6px 8px;font-size:12px;color:#52677a}
.admin-shortcuts .admin-shortcut-panel a {
 display:flex;align-items:center;min-height:36px;padding:5px 8px;border-radius:5px;
 color:inherit;text-decoration:none;font-size:14px;white-space:normal;
}
.admin-shortcuts .admin-shortcut-panel a:hover,.admin-shortcuts .admin-shortcut-panel a[aria-current]{background:#edf5fc;color:#155e9b}
.admin-shortcuts :focus-visible,.schedule-account :focus-visible{outline:2px solid #4499d9;outline-offset:1px}
.admin-header .header-actions{margin-left:auto;gap:8px;min-width:0;flex-shrink:1}
.admin-header .user-dropdown{min-width:0}
.admin-header .user-dropdown-trigger{display:block;max-width:140px;overflow:hidden;text-overflow:ellipsis}
.admin-header [data-admin-download]::before{content:"📁"}
.admin-header [data-admin-download]{display:flex;align-items:center;gap:6px}
.schedule-header .header-actions{display:flex;align-items:center}
.schedule-header [data-admin-download] {
 min-height:34px;padding:0 10px;border:1px solid #ffffff33;border-radius:6px;
 color:#fff;background:#ffffff17;font-size:14px;
}
.schedule-account{position:relative}
.schedule-account summary{display:flex;align-items:center;gap:5px;cursor:pointer;min-height:36px;font-size:14px}
.schedule-account-actions {
 position:absolute;right:0;top:100%;width:126px;padding:5px;border:1px solid #dce5ed;
 border-radius:8px;background:#fff;color:#20384d;box-shadow:0 8px 24px #0015292e;
}
.schedule-account-actions button{display:block;width:100%;padding:8px;border:0;background:none;text-align:left}
.schedule-account-actions button:hover{background:#edf5fc}
.schedule-file-row{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:9px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.schedule-file-row small{display:block;color:var(--muted)}
@media(max-width:660px) {
 .admin-header.header,.admin-header.top{height:52px;padding:0 8px;gap:5px}
 .admin-header .logo,.admin-header .brand{font-size:14px;gap:5px}
 .admin-header .logo-icon,.admin-header .brand img{width:24px;height:24px}
 .admin-header .admin-shortcuts{gap:0;font-size:13px}
 .admin-shortcuts>a,.admin-shortcuts summary{padding:0 5px}
 .admin-shortcut-panel{grid-template-columns:repeat(2,minmax(0,1fr));max-height:calc(100dvh - 64px)}
 .admin-shortcut-panel a{min-height:40px}
 .admin-header [data-admin-download]{min-height:32px;padding:0 7px}
 .admin-header [data-admin-download] span{display:none}
 .admin-header .header-actions{gap:3px}
 .admin-header .user-dropdown-trigger,.schedule-account summary{font-size:12px;max-width:62px;padding:0 2px}
 .schedule-account #userName{overflow:hidden;text-overflow:ellipsis}
}
@media(max-width:380px){
 .admin-header .logo,.admin-header .brand{font-size:12px}
 .admin-header .admin-shortcuts{font-size:12px}
 .admin-shortcuts>a,.admin-shortcuts summary{padding-inline:3px}
 .admin-header .user-dropdown-trigger,.schedule-account summary{max-width:54px}
}
