/* Shared restrained scrollbar theme and compact operation popovers. */
*{scrollbar-width:thin;scrollbar-color:#a8b1be transparent}
::-webkit-scrollbar{width:5px!important;height:5px!important}
::-webkit-scrollbar-thumb{background:#a8b1be!important;border-radius:8px!important;border:1px solid transparent;background-clip:padding-box!important}
::-webkit-scrollbar-thumb:hover{background:#778496!important}
::-webkit-scrollbar-track,::-webkit-scrollbar-corner{background:transparent!important}
.dark *,[data-theme="dark"] *{scrollbar-color:#526078 transparent}
.dark ::-webkit-scrollbar-thumb,[data-theme="dark"] ::-webkit-scrollbar-thumb{background:#526078!important}
.cc-floating-menu{padding:4px;width:240px}
.cc-floating-menu header{padding:5px 8px}
.cc-floating-menu header b{font-size:11px;line-height:16px}
.cc-floating-menu header small{font-size:9px;line-height:13px;margin-top:0}
.cc-floating-menu section{padding:2px}
.cc-floating-menu h3{font-size:9px;line-height:12px;margin:2px 6px}
.cc-floating-menu button{height:25px;min-height:25px;padding:2px 7px;font-size:11px;line-height:16px}
.uc-floating-menu header{padding:4px 8px}
.uc-floating-menu section{padding:2px}
.uc-floating-menu h3{line-height:12px;margin:2px 6px}
.uc-floating-menu button{height:25px;min-height:25px;padding:2px 7px;line-height:16px}

 .mars-profile-menu{min-height:0!important;max-height:none!important;padding:4px!important;border-radius:14px!important}.mars-profile-menu .mega-item{min-height:39px!important;height:39px!important;padding:7px 10px!important;font-size:13px!important}
@media (max-width: 767px) {
  button[title="دستیار هوشمند"] { bottom: calc(88px + env(safe-area-inset-bottom)) !important; left: max(12px, env(safe-area-inset-left)) !important; z-index: 60 !important; }
  button[title="دستیار هوشمند"] + .pop { bottom: calc(152px + env(safe-area-inset-bottom)) !important; left: 12px !important; right: 12px !important; width: auto !important; height: min(520px, calc(100dvh - 180px)) !important; max-height: calc(100dvh - 180px) !important; z-index: 60 !important; }
}

/* Readability layer for the site's existing dark theme. Keep the brand header
   and intentional status/button colors intact; normalize neutral content. */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b1020;
  --surface: #141c2b;
  --ink: #eef2f8;
  --muted: #aebbd0;
  --ring: rgb(255 42 111 / 28%);
  --dark-line: #344155;
  --dark-soft: #1a2536;
  --dark-raised: #202d40;
}

html[data-theme="dark"] body {
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 92% -10%, rgb(255 15 91 / 13%), transparent 60%),
    radial-gradient(800px 500px at 0 100%, rgb(83 126 255 / 10%), transparent 58%),
    var(--bg);
}

html[data-theme="dark"] main { color: var(--ink) !important; }
html[data-theme="dark"] main {
  background:
    radial-gradient(900px 520px at 92% -10%, rgb(255 15 91 / 9%), transparent 60%),
    radial-gradient(800px 500px at 0 100%, rgb(83 126 255 / 7%), transparent 58%),
    var(--bg) !important;
}

/* Neutral Tailwind surfaces often survive in light colors inside dark pages. */
html[data-theme="dark"] main :is(
  [class~="bg-white"], [class*="bg-white/"],
  [class~="bg-slate-50"], [class*="bg-slate-50/"],
  [class~="bg-slate-100"], [class*="bg-slate-100/"],
  [class~="bg-gray-50"], [class*="bg-gray-50/"],
  [class~="bg-gray-100"], [class*="bg-gray-100/"],
  [class~="bg-zinc-50"], [class~="bg-zinc-100"],
  [class~="bg-neutral-50"], [class~="bg-neutral-100"]
) {
  background-color: var(--surface) !important;
  border-color: var(--dark-line) !important;
}

html[data-theme="dark"] main :is(
  [class~="text-slate-900"], [class~="text-slate-800"], [class~="text-slate-700"],
  [class~="text-gray-900"], [class~="text-gray-800"], [class~="text-gray-700"],
  [class~="text-zinc-900"], [class~="text-zinc-800"], [class~="text-zinc-700"],
  [class~="text-neutral-900"], [class~="text-neutral-800"], [class~="text-neutral-700"]
) { color: #eef2f8 !important; }

html[data-theme="dark"] main :is(
  [class~="text-slate-600"], [class~="text-slate-500"], [class~="text-slate-400"],
  [class~="text-gray-600"], [class~="text-gray-500"], [class~="text-gray-400"],
  [class~="text-zinc-600"], [class~="text-zinc-500"], [class~="text-zinc-400"],
  [class~="text-neutral-600"], [class~="text-neutral-500"], [class~="text-neutral-400"]
) { color: #b6c2d4 !important; }

html[data-theme="dark"] main :is(input, select, textarea, [role="combobox"]) {
  color-scheme: dark;
  background-color: #101827 !important;
  color: #eef2f8 !important;
  border-color: var(--dark-line) !important;
}
html[data-theme="dark"] main input::placeholder,
html[data-theme="dark"] main textarea::placeholder { color: #91a0b6 !important; opacity: 1; }
html[data-theme="dark"] main option { background: #141c2b; color: #eef2f8; }

/* Portals place dialogs outside <main>; give their neutral surfaces the same theme. */
html[data-theme="dark"] body [class*="fixed"][class*="inset-0"] :is(
  [class~="bg-white"], [class*="bg-white/"], [class~="bg-slate-50"],
  [class~="bg-slate-100"], [class~="bg-gray-50"], [class~="bg-gray-100"]
) { background-color: #141c2b !important; border-color: #344155 !important; }
html[data-theme="dark"] body [class*="fixed"][class*="inset-0"] :is(
  [class*="bg-[#f5f7fb]"], [class*="bg-[#f8fafc]"], [class*="bg-[#f7f8fc]"]
) { background-color: #141c2b !important; border-color: #344155 !important; }
html[data-theme="dark"] body [class*="fixed"][class*="inset-0"] :is(
  [class~="text-slate-900"], [class~="text-slate-800"], [class~="text-slate-700"],
  [class~="text-slate-600"], [class~="text-slate-500"], [class~="text-slate-400"],
  [class~="text-gray-900"], [class~="text-gray-800"], [class~="text-gray-700"],
  [class~="text-gray-600"], [class~="text-gray-500"], [class~="text-gray-400"]
) { color: #c5cfdd !important; }
html[data-theme="dark"] body [class*="fixed"][class*="inset-0"] :is(input, select, textarea) {
  color-scheme: dark; color: #eef2f8 !important; background: #101827 !important; border-color: #40516b !important;
}

/* Soft status chips retain their semantic color while gaining dark contrast. */
html[data-theme="dark"] main [class*="bg-emerald-50"],
html[data-theme="dark"] main [class*="bg-green-50"] { background-color: #12352f !important; border-color: #276455 !important; }
html[data-theme="dark"] main [class*="text-emerald-"],
html[data-theme="dark"] main [class*="text-green-"] { color: #6ee7b7 !important; }
html[data-theme="dark"] main [class*="bg-amber-50"],
html[data-theme="dark"] main [class*="bg-yellow-50"] { background-color: #352a17 !important; border-color: #65502a !important; }
html[data-theme="dark"] main [class*="text-amber-"],
html[data-theme="dark"] main [class*="text-yellow-"] { color: #fcd34d !important; }
html[data-theme="dark"] main [class*="bg-rose-50"],
html[data-theme="dark"] main [class*="bg-pink-50"] { background-color: #3b1d2b !important; border-color: #71334e !important; }
html[data-theme="dark"] main [class*="text-rose-"],
html[data-theme="dark"] main [class*="text-pink-"] { color: #fda4af !important; }
html[data-theme="dark"] main [class*="bg-sky-50"],
html[data-theme="dark"] main [class*="bg-blue-50"] { background-color: #172b43 !important; border-color: #345578 !important; }
html[data-theme="dark"] main [class*="text-sky-"],
html[data-theme="dark"] main [class*="text-blue-"] { color: #93c5fd !important; }
html[data-theme="dark"] main [class*="bg-violet-50"],
html[data-theme="dark"] main [class*="bg-purple-50"] { background-color: #29213e !important; border-color: #514071 !important; }
html[data-theme="dark"] main [class*="text-violet-"],
html[data-theme="dark"] main [class*="text-purple-"] { color: #c4b5fd !important; }

/* Neutral white-to-pink gradients are card headers, not dark-mode overlays. */
html[data-theme="dark"] main [class*="from-white"],
html[data-theme="dark"] main [class*="via-white"] {
  background-image: none !important;
  background-color: var(--surface) !important;
}
html[data-theme="dark"] main [class*="border-slate-100"],
html[data-theme="dark"] main [class*="border-slate-200"],
html[data-theme="dark"] main [class*="ring-slate-100"] { border-color: var(--dark-line) !important; }

/* Zebra rows were keeping white/gray Tailwind fills over dark text. */
html[data-theme="dark"] main table tbody tr[class*="odd:bg-"],
html[data-theme="dark"] main table tbody tr[class*="even:bg-"] {
  color: #e7edf6 !important;
  background-color: #141c2b !important;
}
html[data-theme="dark"] main table tbody tr[class*="odd:bg-"]:nth-child(even),
html[data-theme="dark"] main table tbody tr[class*="even:bg-"]:nth-child(even) {
  background-color: #192435 !important;
}
html[data-theme="dark"] main table tbody tr[class*="odd:bg-"]:hover,
html[data-theme="dark"] main table tbody tr[class*="even:bg-"]:hover {
  background-color: #223149 !important;
}
html[data-theme="dark"] main table tbody tr[aria-selected="true"] {
  color: #fff1f6 !important;
  background-color: #482039 !important;
}
html[data-theme="dark"] main table th { color: #c3cede !important; background-color: #1b2638 !important; }
html[data-theme="dark"] main table :is(th, td) { border-color: #344155 !important; }

/* The fixed student/people workspace has its own compact CSS colors. */
html[data-theme="dark"] .uc-workspace {
  color: #e7edf6 !important;
  background: #0e1624 !important;
  border: 1px solid #344155;
  box-shadow: 0 18px 50px rgb(0 0 0 / 24%);
}
html[data-theme="dark"] .uc-workspace [class*="bg-[#fff0f5]"] {
  color: #fda4af !important;
  background: #321b2a !important;
  border-color: #71334e !important;
  --tw-ring-color: #71334e !important;
}
html[data-theme="dark"] .uc-workspace [class*="text-[#FF0F5B]"],
html[data-theme="dark"] .uc-workspace [class*="text-[#d61150]"] { color: #ff9bbd !important; }
html[data-theme="dark"] .uc-workspace :is(h1, h2, h3, td, th) { color: #e7edf6; }
html[data-theme="dark"] .uc-workspace :is(label, p) { color: #b6c2d4; }
html[data-theme="dark"] .uc-workspace :is(.text-slate-800, .text-slate-700) { color: #eef2f8 !important; }
html[data-theme="dark"] .uc-workspace :is(.text-slate-600, .text-slate-500, .text-slate-400) { color: #b6c2d4 !important; }
html[data-theme="dark"] .uc-workspace > :first-child,
html[data-theme="dark"] .uc-card,
html[data-theme="dark"] .uc-card > :first-child,
html[data-theme="dark"] .uc-card > :nth-child(2),
html[data-theme="dark"] .uc-grid,
html[data-theme="dark"] .uc-selection,
html[data-theme="dark"] .uc-floating-menu {
  color: #e7edf6 !important;
  background: #141c2b !important;
  border-color: #344155 !important;
}
html[data-theme="dark"] .uc-card > :first-child { background-image: none !important; }
html[data-theme="dark"] .uc-grid thead,
html[data-theme="dark"] .uc-grid thead tr,
html[data-theme="dark"] .uc-grid th { color: #c3cede !important; background: #1b2638 !important; }
html[data-theme="dark"] .uc-grid tbody tr { color: #e7edf6 !important; background: #141c2b !important; }
html[data-theme="dark"] .uc-grid tbody tr:nth-child(even) { background: #192435 !important; }
html[data-theme="dark"] .uc-grid tbody tr:hover { background: #223149 !important; }
html[data-theme="dark"] .uc-grid tr[aria-selected="true"] { color: #fff1f6 !important; background: #482039 !important; }
html[data-theme="dark"] .uc-grid :is(th, td) { border-color: #344155 !important; }
html[data-theme="dark"] .uc-grid td:last-child button,
html[data-theme="dark"] .uc-floating-menu button,
html[data-theme="dark"] .uc-chips span {
  color: #dbe5f2 !important;
  background: #202d40 !important;
  border-color: #40516b !important;
}
html[data-theme="dark"] .uc-floating-menu section { border-color: #344155 !important; }
html[data-theme="dark"] .uc-floating-menu h3,
html[data-theme="dark"] .uc-floating-menu small,
html[data-theme="dark"] .uc-selection small { color: #aebbd0 !important; }
html[data-theme="dark"] .uc-workspace [class*="text-emerald-"],
html[data-theme="dark"] .uc-workspace [class*="text-green-"] { color: #6ee7b7 !important; }
html[data-theme="dark"] .uc-workspace [class*="text-rose-"],
html[data-theme="dark"] .uc-workspace [class*="text-pink-"] { color: #fda4af !important; }
html[data-theme="dark"] .uc-floating-menu button:hover { background: #2b3a50 !important; }

/* Class-code management uses a compact fixed panel with its own light palette. */
html[data-theme="dark"] .cc-workspace {
  color: #e7edf6 !important;
  background: #0e1624 !important;
  border: 1px solid #344155;
  box-shadow: 0 18px 50px rgb(0 0 0 / 24%);
}
html[data-theme="dark"] .cc-workspace :is(.cc-toolbar, .cc-grid, .cc-selection, .cc-floating-menu) {
  color: #e7edf6 !important;
  background: #141c2b !important;
  border-color: #344155 !important;
}
html[data-theme="dark"] .cc-workspace :is(.cc-toolbar, .cc-selection, .cc-count, .cc-tabs span, .cc-empty) { color: #b6c2d4 !important; }
html[data-theme="dark"] .cc-toolbar input,
html[data-theme="dark"] .cc-filters input {
  color: #eef2f8 !important;
  background: #101827 !important;
  border-color: #40516b !important;
}
html[data-theme="dark"] .cc-toolbar button,
html[data-theme="dark"] .cc-tabs button:not([aria-selected="true"]),
html[data-theme="dark"] .cc-action,
html[data-theme="dark"] .cc-actions details button,
html[data-theme="dark"] .cc-detail-actions button,
html[data-theme="dark"] .cc-chips span {
  color: #dbe5f2 !important;
  background: #202d40 !important;
  border-color: #40516b !important;
}
html[data-theme="dark"] .cc-grid :is(thead, thead tr, th, td, .cc-operations) {
  border-color: #344155 !important;
}
html[data-theme="dark"] .cc-grid thead,
html[data-theme="dark"] .cc-grid thead tr,
html[data-theme="dark"] .cc-grid thead th,
html[data-theme="dark"] .cc-grid thead .cc-operations { color: #c3cede !important; background: #1b2638 !important; }
html[data-theme="dark"] .cc-grid tbody tr,
html[data-theme="dark"] .cc-grid tbody td.cc-operations { color: #e7edf6 !important; background: #141c2b !important; }
html[data-theme="dark"] .cc-grid tbody tr:nth-child(even),
html[data-theme="dark"] .cc-grid tbody tr:nth-child(even) td.cc-operations { background: #192435 !important; }
html[data-theme="dark"] .cc-grid tbody tr:hover,
html[data-theme="dark"] .cc-grid tbody tr:hover td.cc-operations { background: #223149 !important; }
html[data-theme="dark"] .cc-grid tbody tr.cc-selected,
html[data-theme="dark"] .cc-grid tbody tr.cc-selected td.cc-operations { color: #fff1f6 !important; background: #482039 !important; }
html[data-theme="dark"] .cc-class-title { color: #ff8fb8 !important; }
html[data-theme="dark"] .cc-state { color: #6ee7b7 !important; background: #12352f !important; }
html[data-theme="dark"] .cc-state.draft { color: #fcd34d !important; background: #352a17 !important; }
html[data-theme="dark"] .cc-selection strong { color: #eef2f8 !important; }
html[data-theme="dark"] .cc-selection small,
html[data-theme="dark"] .cc-floating-menu small,
html[data-theme="dark"] .cc-floating-menu h3 { color: #aebbd0 !important; }
html[data-theme="dark"] .cc-floating-menu section { border-color: #344155 !important; }
html[data-theme="dark"] .cc-floating-menu button { color: #dbe5f2 !important; background: #141c2b !important; }
html[data-theme="dark"] .cc-floating-menu button:hover { background: #2b3a50 !important; }

@media (prefers-reduced-transparency: reduce) {
  html[data-theme="dark"] main .glass { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
}

/* Compact, self-contained term transfer workspace. */
.ct-page.ct-page{position:fixed;top:calc(var(--mars-header-height,78px) + 8px);bottom:var(--ct-toolbar-offset,60px);inset-inline:12px;max-width:1500px;margin:0 auto;padding:9px;display:flex;flex-direction:column;gap:6px;min-height:0;overflow:hidden;background:var(--ct-bg);border:1px solid var(--ct-line);border-radius:14px;z-index:10;font-size:11px;box-sizing:border-box}
.ct-page.ct-page>*{flex-shrink:0;margin-block:0}
.ct-page .ct-heading{gap:8px;padding-inline-start:72px;margin:0}
.ct-page .ct-heading h1{font-size:17px;margin:1px 0}
.ct-page .ct-heading p{font-size:10px;line-height:1.6;margin:0}
.ct-page .ct-eyebrow{display:none}
.ct-page .ct-heading a{font-size:10px}
.ct-page .ct-terms{padding:6px 9px;gap:8px;border-radius:9px;grid-template-columns:1fr 28px 1fr}
.ct-page .ct-terms label{gap:3px;font-size:10px}
.ct-page .ct-terms small{display:none}
.ct-page .ct-arrow{font-size:22px}
.ct-page input:not([type=checkbox]),.ct-page select,.ct-page button{padding:4px 7px;min-height:26px;font-size:10px;border-radius:6px}
.ct-page input[type=checkbox]{width:14px;height:14px}
.ct-page .ct-tools{gap:6px;margin:0}
.ct-page .ct-tools label,.ct-page .ct-bulk label{font-size:10px}
.ct-page .ct-bulk{padding:5px 8px;gap:10px;margin:0;border-radius:8px;min-height:30px}
.ct-page .ct-column-head{padding:3px 9px;gap:10px;font-size:10px}
.ct-page .ct-list{flex:1 1 0%;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;display:block;border:1px solid var(--ct-line);border-radius:10px;padding:5px;background:var(--ct-soft);scrollbar-gutter:stable}
.ct-page .ct-row{margin-bottom:5px;border-radius:8px}
.ct-page .ct-row:last-child{margin-bottom:0}
.ct-page .ct-source,.ct-page .ct-destination{padding:6px 8px}
.ct-page .ct-class-choice{gap:6px}
.ct-page .ct-class-choice>div{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px}
.ct-page .ct-class-choice strong,.ct-page .ct-level{font-size:12px;line-height:1.6;margin:0}
.ct-page .ct-index{width:21px;height:21px;font-size:10px}
.ct-page .ct-source>p{font-size:10px;margin:3px 0 1px;line-height:1.6}
.ct-page small{font-size:9px;line-height:1.6}
.ct-page .ct-student-actions{margin-top:4px;gap:6px}
.ct-page .ct-student-actions label{font-size:10px}
.ct-page .ct-student-actions button{font-size:9px;min-height:23px;padding:3px 6px}
.ct-page .ct-level-inputs{gap:7px}
.ct-page .ct-destination label{font-size:9px;gap:2px}
.ct-page .ct-dates{gap:7px;margin:4px 0 0;grid-template-columns:minmax(100px,1fr) 68px 1fr}
.ct-page .ct-carry{display:none}
.ct-page .ct-warning{font-size:9px;margin-top:3px}
.ct-page .ct-students{padding:6px;gap:4px}
.ct-page .ct-students label{font-size:10px;padding:4px 6px;border-radius:5px}
.ct-page .ct-footer{position:static;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:6px 9px;margin:0;border-radius:9px;box-shadow:none;min-height:42px}
.ct-page .ct-footer b{font-size:11px}
.ct-page .ct-footer small{font-size:9px;margin-top:2px}
.ct-page .ct-footer .ct-primary{width:auto;padding:7px 12px;font-size:11px;min-height:32px}
.ct-page .ct-error,.ct-page .ct-success{padding:5px 9px;margin:0;max-height:50px;overflow:auto;font-size:10px}
.ct-page .ct-confirm{font-size:12px}
.ct-page .ct-confirm .ct-primary{padding:9px 14px;font-size:12px}
@media(max-width:700px){
 .ct-page.ct-page{inset-inline:5px;top:calc(var(--mars-header-height,72px) + 6px);padding:6px;gap:5px;border-radius:10px}
 .ct-page .ct-heading{padding-inline-start:39px;gap:4px}
 .ct-page .ct-heading h1{font-size:14px;line-height:1.6}
 .ct-page .ct-heading p,.ct-page .ct-heading a{display:none}
 .ct-page .ct-terms{padding:5px;gap:4px;grid-template-columns:1fr 18px 1fr}
 .ct-page .ct-terms label{font-size:9px;gap:2px}
 .ct-page .ct-terms select{font-size:10px;height:27px}
 .ct-page .ct-tools{gap:4px;display:grid;grid-template-columns:minmax(0,1fr) 85px 62px}
 .ct-page .ct-tools>input{min-width:0;grid-column:1/3}
 .ct-page .ct-tools>select{grid-column:1/2;grid-row:2}
 .ct-page .ct-tools>button{grid-column:3;grid-row:1}
 .ct-page .ct-tools>label{grid-column:2/4;grid-row:2;font-size:9px;gap:4px;justify-content:flex-end}
 .ct-page .ct-bulk{gap:4px 8px;padding:4px 6px;font-size:10px}
 .ct-page .ct-bulk>span{width:100%}
 .ct-page .ct-bulk label{font-size:9px;flex:1}
 .ct-page .ct-bulk button{font-size:9px;padding:3px 5px}
 .ct-page .ct-list{padding:3px}
 .ct-page .ct-source,.ct-page .ct-destination{padding:5px 6px}
 .ct-page .ct-class-choice strong,.ct-page .ct-level{font-size:11px}
 .ct-page .ct-level-inputs{gap:5px}
 .ct-page .ct-dates{grid-template-columns:minmax(0,1fr) 60px;gap:4px}
 .ct-page .ct-dates>small{grid-column:1/-1;display:block}
 .ct-page .ct-dates>small br{display:none}
 .ct-page .ct-footer{gap:5px;padding:5px;min-height:36px}
 .ct-page .ct-footer small{display:none}
 .ct-page .ct-footer b{font-size:10px}
 .ct-page .ct-footer .ct-primary{font-size:10px;padding:6px 8px;min-height:28px}
}

/* Two-row controls: term pair + search, then bulk selection. */
.ct-page .ct-controls{display:grid;grid-template-columns:minmax(420px,1fr) minmax(500px,1.15fr);gap:5px 8px;flex-shrink:0}
.ct-page .ct-controls .ct-heading,.ct-page .ct-controls .ct-column-head{display:none}
.ct-page .ct-controls .ct-terms{grid-column:1;grid-row:1;padding:4px 6px;gap:5px;grid-template-columns:1fr 20px 1fr}
.ct-page .ct-controls .ct-terms label{display:flex;align-items:center;gap:5px;white-space:nowrap;font-size:9px}
.ct-page .ct-controls .ct-terms select{flex:1;width:100%;min-width:80px;height:27px}
.ct-page .ct-controls .ct-tools{grid-column:2;grid-row:1;display:flex;flex-wrap:nowrap;gap:5px;min-width:0}
.ct-page .ct-controls .ct-tools>input{min-width:80px;flex:1}
.ct-page .ct-controls .ct-tools>select{max-width:95px}
.ct-page .ct-controls .ct-tools>label{font-size:9px;white-space:nowrap;gap:4px}
.ct-page .ct-controls .ct-bulk{grid-column:1/-1;grid-row:2;padding:3px 7px;min-height:27px}
.ct-page .ct-controls .ct-error,.ct-page .ct-controls .ct-success{grid-column:1/-1;grid-row:3}
@media(max-width:1100px){.ct-page .ct-controls{grid-template-columns:1fr}.ct-page .ct-controls .ct-terms{grid-column:1;grid-row:1}.ct-page .ct-controls .ct-tools{grid-column:1;grid-row:2}.ct-page .ct-controls .ct-bulk{grid-row:3}.ct-page .ct-controls .ct-error,.ct-page .ct-controls .ct-success{grid-row:4}}
@media(max-width:700px){.ct-page .ct-controls .ct-terms label{display:grid;gap:2px}.ct-page .ct-controls .ct-tools{display:grid;grid-template-columns:minmax(0,1fr) 85px 62px}.ct-page .ct-controls .ct-tools>label{white-space:normal}.ct-page .ct-controls .ct-terms select{min-width:0}.ct-page .ct-controls .ct-bulk{gap:3px 6px}.ct-page .ct-controls .ct-bulk>span{width:auto;flex:1}.ct-page .ct-controls .ct-bulk label{flex-basis:100%}.ct-page .ct-controls .ct-bulk button{margin-inline-start:auto}}
.ct-page .ct-controls .ct-tools{padding-left:74px}@media(max-width:700px){.ct-page .ct-controls .ct-tools{padding-left:0}.ct-page .ct-controls .ct-terms{padding-left:42px}}
