.admin-app {
  --admin-bg: #e6ebf2;
  --admin-text: #1e293b;
  --admin-muted: #64748b;
  --admin-border: #cbd5e1;
  --admin-primary: #3b7ddd;
  min-height: 100vh;
  padding: 0;
  color: var(--admin-text);
  background: var(--admin-bg);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
}

.admin-app *,
.admin-app *::before,
.admin-app *::after { box-sizing: border-box; }

.admin-layout { min-height: 100vh; }

.admin-sidebar {
  position: fixed;
  z-index: 30;
  inset: 0 auto 0 0;
  display: flex;
  width: 260px;
  flex-direction: column;
  overflow-y: auto;
  color: #d1d8df;
  background: #222e3c;
  transition: transform .25s ease;
}

.admin-brand {
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 11px;
  padding: 0 23px;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.04em;
  text-decoration: none;
}

.admin-brand:hover { color: #fff; text-decoration: none; }
.admin-brand small { margin-left: 5px; color: #aab6c2; font-size: 9px; letter-spacing: .12em; }
.admin-brand-mark { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 7px; color: #fff; background: var(--admin-primary); font-size: 18px; }

.admin-nav { padding: 8px 14px 20px; }
.admin-nav-heading { margin: 20px 10px 8px; color: #8a98a7; font-size: 10px; font-weight: 700; letter-spacing: .09em; }
.admin-nav-heading:first-child { margin-top: 7px; }
.admin-nav a {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 12px;
  margin: 2px 0;
  padding: 9px 11px;
  border-radius: 4px;
  color: #c2cbd4;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color .15s ease, background .15s ease;
}
.admin-nav a:hover { color: #fff; background: rgb(255 255 255 / .07); text-decoration: none; }
.admin-nav a.active { color: #fff; background: #3b7ddd; }
.admin-nav-icon { display: grid; width: 18px; place-items: center; color: #aeb9c4; font-size: 17px; line-height: 1; }
.admin-nav a.active .admin-nav-icon { color: #fff; }
.admin-sidebar-footer { display: flex; align-items: center; gap: 9px; margin-top: auto; padding: 18px 24px; border-top: 1px solid rgb(255 255 255 / .1); color: #b3bec8; font-size: 12px; }
.admin-status-dot { display: inline-block; width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: #1cbb8c; }

.admin-main { min-width: 0; min-height: 100vh; margin-left: 260px; }
.admin-topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 30px;
  border-bottom: 1px solid var(--admin-border);
  background: #fff;
}
.admin-topbar-context { display: flex; align-items: center; gap: 11px; color: #8a929a; font-size: 13px; }
.admin-topbar-context strong { color: #343a40; font-weight: 600; }
.admin-topbar-actions { display: flex; align-items: center; gap: 22px; }
.admin-topbar-actions form { margin: 0; }
.admin-view-site { color: #59636d; font-size: 13px; font-weight: 500; text-decoration: none; }
.admin-view-site:hover { color: var(--admin-primary); text-decoration: none; }
.admin-view-site span { margin-left: 3px; }
.admin-logout {
  padding: 7px 12px !important;
  border: 1px solid #d8dee6 !important;
  border-radius: 4px !important;
  color: #495057 !important;
  background: #fff !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}
.admin-logout:hover { border-color: #b8c5d3 !important; background: #f8f9fa !important; }
.admin-menu-toggle { display: none; }

.admin-content { width: min(100%, 1440px); margin: 0 auto; padding: 29px 30px 40px; }
.admin-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 23px; }
.admin-breadcrumb { margin: 0 0 6px; color: #9aa2aa; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.admin-breadcrumb span { margin: 0 5px; color: #c2c8ce; }
.admin-page-heading h1 { margin: 0; color: #343a40; font-size: 24px; font-weight: 600; letter-spacing: -.03em; line-height: 1.25; }
.admin-page-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid #e2e9e8; border-radius: 4px; color: #63736e; background: #fff; font-size: 11px; font-weight: 500; }

.admin-section {
  margin: 0 0 24px;
  padding: 22px 24px 26px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 2px 6px rgb(15 23 42 / .05);
}
.admin-section h2 { margin: 0 0 17px !important; padding-bottom: 12px; border-bottom: 2px solid #e2e8f0; color: #0f172a; font-size: 16px !important; font-weight: 700; line-height: 1.4; }
.admin-section h2:not(:first-child) { margin-top: 30px !important; }
.admin-section > p { color: #475569; font-size: 13px; line-height: 1.65; }
.admin-section > p.muted { margin: -4px 0 16px; color: #64748b; }
.admin-section a { color: var(--admin-primary); }

.admin-card-list { display: grid; gap: 12px; }
.admin-card-item {
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #f8fafc;
  box-shadow: 0 1px 3px rgb(15 23 42 / .04);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.admin-card-item:hover { border-color: #94a3b8; }
.admin-card-item[open] {
  border-color: #64748b;
  box-shadow: 0 4px 12px rgb(15 23 42 / .08);
}
.admin-card-item summary {
  display: flex;
  min-height: 52px;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 13px 16px;
  color: #1e293b;
  font-size: 13px;
  font-weight: 600;
  background: #f1f5f9;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  user-select: none;
  transition: background .15s ease;
}
.admin-card-item summary::before { color: #64748b; }
.admin-card-item summary:hover { background: #e2e8f0; }
.admin-card-item[open] summary {
  background: #e2e8f0;
  border-bottom: 1px solid #cbd5e1;
}
.admin-card-item summary .muted { color: #64748b; font-size: 12px; font-weight: 500; }
.admin-card-item summary .tag { display: inline-block; padding: 3px 8px; border-radius: 4px; color: #7a5a12; background: #fef3c7; border: 1px solid #fde68a; font-size: 10px; font-weight: 700; }
.admin-card-item summary .tag.tag-subject { color: #1e429f; background: #e0e7ff; border: 1px solid #c7d2fe; font-size: 11px; font-weight: 600; }
.admin-card-item .card-form, .admin-card-item .inline-form {
  margin: 0;
  border-top: 1px solid #cbd5e1;
  background: #f8fafc;
}
.student-table-wrap { overflow-x: auto; border: 1px solid #cbd5e1; border-radius: 6px; background: #fff; }
.student-table { width: 100%; border-collapse: collapse; font-size: 13px; color: #1e293b; }
.student-table th,
.student-table td { padding: 9px 12px; text-align: left; vertical-align: middle; border-bottom: 1px solid #e2e8f0; }
.student-table thead th { position: sticky; top: 0; background: #f1f5f9; border-bottom: 1px solid #cbd5e1; font-size: 12px; font-weight: 700; white-space: nowrap; }
.student-table thead th[data-sort-key] { cursor: pointer; user-select: none; }
.student-table thead th[data-sort-key]:hover { background: #e2e8f0; }
.student-table thead th[data-sort-key]::after { content: ' \2195'; color: #94a3b8; font-weight: 400; }
.student-table thead th[aria-sort="ascending"]::after { content: ' \25B2'; color: #1e293b; font-size: 10px; }
.student-table thead th[aria-sort="descending"]::after { content: ' \25BC'; color: #1e293b; font-size: 10px; }
.student-table .student-row:hover { background: #f8fafc; }
.student-table .student-row.is-open { background: #e2e8f0; }
.student-table .tag { display: inline-block; margin: 1px 2px 1px 0; padding: 3px 8px; border-radius: 4px; color: #7a5a12; background: #fef3c7; border: 1px solid #fde68a; font-size: 10px; font-weight: 700; }
.student-table .tag.tag-subject { color: #1e429f; background: #e0e7ff; border: 1px solid #c7d2fe; font-size: 11px; font-weight: 600; }
.student-table .tag.tag-ok { color: #065f46; background: #ecfdf5; border: 1px solid #a7f3d0; }
.student-table .tag.tag-warn { color: #92400e; background: #fef3c7; border: 1px solid #fde68a; }
.student-table .col-hidden { display: none; }
.column-picker { position: relative; display: inline-block; }
.column-picker > summary { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; font-size: 12px; font-weight: 600; cursor: pointer; list-style: none; border: 1px solid #cbd5e1; border-radius: 4px; background: #f1f5f9; }
.column-picker > summary::-webkit-details-marker { display: none; }
.column-picker-menu { position: absolute; z-index: 20; top: calc(100% + 4px); left: 0; min-width: 220px; display: grid; gap: 6px; padding: 12px; border: 1px solid #cbd5e1; border-radius: 6px; background: #fff; box-shadow: 0 8px 24px rgb(15 23 42 / .15); }
.column-picker-menu .checkbox { font-weight: 500 !important; font-size: 13px; }
.student-table .student-detail > td { padding: 14px; background: #f8fafc; }
.student-table .student-detail .card-form,
.student-table .student-detail .inline-form { margin: 0 0 12px; }
.swatch { width: 18px; height: 18px; border-radius: 3px; border: 1px solid rgba(0, 0, 0, .15); }

.admin-app .card-form,
.admin-app .login form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 18px;
  margin-top: 0;
  padding: 20px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #f1f5f9;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.admin-app .login form { grid-template-columns: 1fr; margin-top: 22px; background: #ffffff; }
.admin-app .card-form label,
.admin-app .login label { display: grid; min-width: 0; gap: 6px; color: #1e293b; font-size: 12px; font-weight: 600; }
.admin-app .card-form label.full { grid-column: 1 / -1; }
.admin-app input:not([type="checkbox"]):not([type="file"]),
.admin-app select,
.admin-app textarea,
.admin-app #student-filter {
  width: 100%;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  outline: 0;
  color: #0f172a;
  background: #ffffff;
  font: inherit;
  font-size: 13px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.admin-app textarea { min-height: 100px; resize: vertical; }
.admin-app input:focus,
.admin-app select:focus,
.admin-app textarea:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgb(59 130 246 / .18); background: #ffffff; }
.admin-app input[readonly] { color: #475569; background: #e2e8f0; border-color: #cbd5e1; }
.admin-app input[type="file"] { width: 100%; color: #334155; font: inherit; font-size: 12px; }
.admin-app input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--admin-primary); }
.admin-app .card-form .checkbox,
.admin-app .login .checkbox { display: flex; align-items: center; gap: 8px; align-self: center; }
.admin-app .card-form .checkbox input { flex: 0 0 auto; }
.admin-app .card-form button,
.admin-app .login form button {
  justify-self: start;
  align-self: end;
  min-height: 38px;
  padding: 9px 16px;
  border: 1px solid var(--admin-primary);
  border-radius: 4px;
  color: #fff;
  background: var(--admin-primary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease;
}
.admin-app .card-form button:hover,
.admin-app .login form button:hover { background: #2f68bb; }
.admin-app button:disabled { cursor: wait; opacity: .65; }
.inline-form { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 12px 16px; background: #f8fafc; }
.admin-app .btn-danger { border-color: #dc3545 !important; border-radius: 4px; color: #fff !important; background: #dc3545 !important; font-size: 12px; }
.admin-app .btn-danger:hover { background: #bd2938 !important; }
.admin-app .btn-ghost { border: 1px solid #cbd5e1 !important; border-radius: 4px; color: #1e293b !important; background: #ffffff !important; }
.admin-app .btn-ghost:hover { background: #f1f5f9 !important; border-color: #94a3b8 !important; }
.admin-app .muted { color: #64748b; font-size: 12px; }
.admin-app .form-error,
.admin-app .form-success { padding: 11px 13px; border-radius: 4px; font-size: 13px; }
.admin-app .form-error { border: 1px solid #fecaca; color: #991b1b; background: #fee2e2; }
.admin-app .form-success { border: 1px solid #a7f3d0; color: #065f46; background: #ecfdf5; }
.student-toolbar { background: #f1f5f9 !important; border: 1px solid #cbd5e1 !important; border-radius: 6px !important; }
.admin-stat-card { background: #f1f5f9 !important; border: 1px solid #cbd5e1 !important; border-radius: 6px !important; }
.student-filters-grid { display: grid; grid-template-columns: 1fr minmax(180px, 240px) minmax(180px, 240px); gap: 12px; margin-bottom: 14px; }
.student-filters-grid-4 { grid-template-columns: 1fr repeat(3, minmax(160px, 220px)); }
.student-filters-grid-5 { grid-template-columns: 1fr repeat(4, minmax(150px, 200px)); }
.student-subjects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px 14px; padding: 10px 0; }
.student-subjects-grid .checkbox { font-weight: 500 !important; }
.tw-color-picker { min-width: 0; }
.tw-color-toolbar { display: flex; min-height: 38px; align-items: center; justify-content: space-between; gap: 10px; }
.tw-color-selection { display: inline-flex; min-width: 0; align-items: center; gap: 8px; color: #6c757d; font-size: 11px; font-weight: 500; }
.tw-color-current { width: 16px; height: 16px; flex: 0 0 16px; border: 1px solid rgb(0 0 0 / .14); border-radius: 2px; }
.tw-color-value { overflow: hidden; color: #495057; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; font-weight: 600; text-overflow: ellipsis; }
.tw-color-actions { display: flex; align-items: center; gap: 6px; }
.tw-color-toggle { padding: 5px 9px !important; border: 1px solid #d8dee6 !important; border-radius: 3px !important; color: #495057 !important; background: #fff !important; font-size: 11px !important; font-weight: 600 !important; white-space: nowrap; }
.tw-color-toggle:hover,
.tw-color-toggle[aria-expanded="true"] { border-color: #9bbbe7 !important; color: #2863b5 !important; background: #f4f8fe !important; }
.tw-color-toggle-native:hover { border-color: #1cbb8c !important; color: #0b4b38 !important; background: #e8f9f4 !important; }
.tw-native-color-input { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; padding: 0; margin: 0; border: 0; }

.tw-color-dialog { width: 320px !important; max-width: calc(100vw - 24px) !important; margin: auto !important; padding: 0 !important; border: 1px solid #dce2e9 !important; border-radius: 8px !important; box-shadow: 0 20px 48px rgb(15 23 42 / .28) !important; background: #ffffff !important; color: #343a40 !important; box-sizing: border-box !important; }
.tw-color-dialog::backdrop { background: rgb(15 23 42 / .55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.tw-color-dialog[open] { display: flex !important; flex-direction: column !important; overflow: hidden !important; }
.tw-color-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #edf1f6; background: #fbfcfe; }
.tw-color-dialog-title { margin: 0; font-size: 13px; font-weight: 700; color: #1e293b; }
.tw-color-dialog-close { display: inline-flex !important; align-items: center !important; justify-content: center !important; width: 26px !important; height: 26px !important; min-width: 26px !important; min-height: 26px !important; padding: 0 !important; border: 1px solid #d8dee6 !important; border-radius: 4px !important; color: #64748b !important; background: #fff !important; font-size: 18px !important; line-height: 1 !important; cursor: pointer !important; }
.tw-color-dialog-close:hover { color: #0f172a !important; border-color: #94a3b8 !important; background: #f1f5f9 !important; }

.tw-color-dialog-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.tw-color-panel-header { display: flex; flex-direction: column; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid #edf1f6; }
.admin-app .tw-color-search-input,
.tw-color-search-input { width: 100% !important; min-height: 32px !important; padding: 6px 10px !important; border: 1px solid #cbd5e1 !important; border-radius: 4px !important; background: #ffffff !important; color: #334155 !important; font-size: 12px !important; box-sizing: border-box !important; }
.admin-app .tw-color-search-input:focus,
.tw-color-search-input:focus { border-color: #3b82f6 !important; outline: none !important; box-shadow: 0 0 0 3px rgb(59 130 246 / .15) !important; }
.tw-color-preview-badge { display: flex; align-items: center; gap: 8px; padding: 5px 9px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 4px; font-size: 11px; font-weight: 600; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #334155; }
.tw-color-preview-swatch { width: 14px; height: 14px; flex: 0 0 14px; border-radius: 2px; border: 1px solid rgba(0, 0, 0, .2); background: transparent; }
.tw-color-preview-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tw-color-shades-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 4px 5px; border-bottom: 1px solid #edf1f6; user-select: none; }
.tw-color-header-name { width: 60px; flex: 0 0 60px; font-size: 10px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .04em; }
.tw-color-shades-labels { display: grid !important; grid-template-columns: repeat(11, 15px) !important; gap: 1px !important; width: 175px !important; min-width: 175px !important; flex: 0 0 175px !important; }
.tw-color-shades-labels span { display: block; width: 15px; font-size: 7.5px; font-weight: 700; color: #94a3b8; text-align: center; line-height: 1; }

.tw-color-rows { display: flex !important; flex-direction: column !important; gap: 2px !important; max-height: 350px !important; overflow-y: auto !important; overflow-x: hidden !important; padding: 2px 2px 2px 0 !important; }
.tw-color-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 4px; border-radius: 3px; transition: background .1s ease; }
.tw-color-row:hover { background: #f1f5f9; }
.tw-color-name { width: 60px; flex: 0 0 60px; font-size: 11px; color: #475569; font-weight: 600; text-transform: capitalize; user-select: none; }
.tw-color-shades { display: grid !important; grid-template-columns: repeat(11, 15px) !important; gap: 1px !important; width: 175px !important; min-width: 175px !important; flex: 0 0 175px !important; }
.tw-color-dot { display: block !important; width: 15px !important; height: 15px !important; min-width: 15px !important; min-height: 15px !important; max-width: 15px !important; max-height: 15px !important; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: inset 0 0 0 1px #ffffff !important; cursor: pointer !important; box-sizing: border-box !important; flex: 0 0 15px !important; position: relative !important; transform: none !important; outline: none !important; justify-self: auto !important; }
.tw-color-dot:hover { box-shadow: inset 0 0 0 1px #000000 !important; transform: none !important; outline: none !important; z-index: 1 !important; }
.tw-color-dot.is-selected { box-shadow: inset 0 0 0 2px #000000, inset 0 0 0 3px #ffffff !important; outline: none !important; transform: none !important; z-index: 2 !important; }

.tw-color-dialog-foot { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 10px 14px; border-top: 1px solid #edf1f6; background: #f8fafc; }

.admin-modal { max-width: 440px; width: calc(100% - 32px); padding: 22px; border: 1px solid #e5e9ef; border-radius: 5px; box-shadow: 0 12px 40px rgb(33 37 41 / .2); }
.admin-modal::backdrop { background: rgb(34 46 60 / .5); }
.admin-modal[open] { display: grid; gap: 18px; }
.admin-modal p { margin: 0; color: #495057; font-size: 14px; line-height: 1.6; }
.admin-modal button { justify-self: end; }

.admin-auth-wrap { display: grid; min-height: 100vh; place-items: center; padding: 24px; background: linear-gradient(135deg, #f5f7fb, #eaf0f8); }
.admin-app .login.admin-login { width: min(100%, 430px); max-width: none; margin: 0; padding: 34px; border: 1px solid #e7ebf0; border-radius: 5px; box-shadow: 0 8px 30px rgb(33 37 41 / .08); }
.admin-login-brand { margin: 0 0 34px; padding: 0; color: #343a40; }
.admin-login-brand:hover { color: #343a40; }
.admin-login-brand small { color: #89939d; }
.admin-kicker { margin: 0 0 7px; color: #89939d; font-size: 10px; font-weight: 700; letter-spacing: .11em; }
.admin-app .login h1 { margin: 0; color: #343a40; font-size: 25px; font-weight: 600; }
.admin-login-copy { margin: 8px 0 0; color: #7a838c; font-size: 13px; line-height: 1.6; }

.admin-sidebar-backdrop { display: none; }

@media (max-width: 900px) {
  .admin-sidebar { transform: translateX(-100%); }
  .admin-app.admin-sidebar-open .admin-sidebar { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .admin-menu-toggle { display: grid; width: 36px; height: 36px; place-items: center; padding: 0; border: 1px solid #e0e5eb; border-radius: 4px; color: #495057; background: #fff; font-size: 16px; }
  .admin-sidebar-backdrop { position: fixed; z-index: 25; inset: 0; background: rgb(25 35 45 / .42); }
  .admin-app.admin-sidebar-open .admin-sidebar-backdrop { display: block; }
  .admin-topbar { justify-content: flex-start; padding: 0 20px; }
  .admin-topbar-actions { margin-left: auto; gap: 12px; }
}

@media (max-width: 600px) {
  .admin-topbar { min-height: 58px; gap: 11px; padding: 0 13px; }
  .admin-topbar-context { display: grid; gap: 1px; font-size: 10px; }
  .admin-topbar-context strong { font-size: 12px; }
  .admin-topbar-actions { gap: 9px; }
  .admin-view-site { font-size: 11px; }
  .admin-logout { padding: 6px 8px !important; font-size: 11px !important; }
  .admin-content { padding: 22px 13px 30px; }
  .admin-page-heading { align-items: flex-start; margin-bottom: 16px; }
  .admin-page-heading h1 { font-size: 21px; }
  .admin-page-badge { padding: 6px 8px; font-size: 10px; }
  .admin-section { padding: 17px 14px; }
  .student-filters-grid,
  .student-filters-grid-4,
  .student-filters-grid-5 { grid-template-columns: 1fr; gap: 8px; }
  .admin-app .card-form { grid-template-columns: 1fr; gap: 13px; padding: 14px; }
  .admin-app .card-form label.full { grid-column: auto; }
  .tw-color-rows { grid-template-columns: 1fr; max-height: 230px; }
  .tw-color-panel-header { flex-direction: column; align-items: stretch; }
  .admin-app .tw-color-search-input { width: 100%; }
  .admin-app .login.admin-login { padding: 27px 22px; }
  .admin-card-item summary { flex-wrap: wrap; padding: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .admin-sidebar,
  .admin-nav a,
  .admin-app input,
  .admin-app select,
  .admin-app textarea { transition: none; }
}
