@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap");

:root {
  --bg: #F4F1EA;
  --surface: #FFFDF8;
  --navy: #263647;
  --navy-soft: #33485D;
  --army: #405246;
  --army-soft: #53685A;
  --cream: #EFE6D2;
  --line: #DDD6CA;
  --text: #263238;
  --muted: #6E756F;
  --soft: #ECE7DE;
  --blue: #405246;
  --green: #4F7A5E;
  --red: #B85C5C;
  --red-soft: #F7EAEA;
  --shadow: 0 20px 55px rgba(55, 65, 81, .10);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  cursor: pointer;
  font-weight: 600;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

button:hover {
  background: var(--navy-soft);
  transform: translateY(-1px);
}

input,
select {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

input:focus,
select:focus {
  border-color: #94A3B8;
  box-shadow: 0 0 0 4px rgba(30, 41, 59, .08);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 600;
}

h1,
h2,
p {
  margin-top: 0;
}

p {
  color: var(--muted);
  line-height: 1.6;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 24px;
  background:
    radial-gradient(circle at 96% 8%, rgba(64, 82, 70, .16) 0 10%, transparent 10.5%),
    radial-gradient(circle at -4% 88%, transparent 0 12%, var(--army) 12.3% 20%, transparent 20.4%),
    linear-gradient(135deg, rgba(239, 230, 210, .72), transparent 40%),
    var(--bg);
}

.login-card {
  width: min(920px, 100%);
  min-height: 520px;
  padding: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(221, 214, 202, .86);
  border-radius: 10px;
  box-shadow: 0 26px 56px rgba(38, 52, 55, .16);
}

.split-login {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.login-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(64, 82, 70, .08), transparent 42%),
    var(--surface);
}

.login-visual::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(64, 82, 70, .12);
  transform: translate(-10px, -22px);
}

.visual-gear {
  position: absolute;
  border-radius: 50%;
  border: 28px solid #E6DED0;
}

.visual-gear::before {
  content: "";
  position: absolute;
  inset: -48px;
  border: 12px dashed #D7CEBF;
  border-radius: 50%;
}

.gear-one {
  width: 136px;
  height: 136px;
  top: 122px;
  left: 138px;
}

.gear-two {
  width: 70px;
  height: 70px;
  top: 122px;
  right: 126px;
  border-width: 16px;
}

.gear-two::before {
  inset: -29px;
  border-width: 7px;
}

.person {
  position: absolute;
  bottom: 118px;
  width: 104px;
  height: 166px;
}

.person-left {
  left: 118px;
}

.person-right {
  right: 112px;
}

.person .head {
  position: absolute;
  top: 7px;
  left: 39px;
  width: 31px;
  height: 35px;
  border-radius: 50% 50% 44% 44%;
  background: var(--army);
  box-shadow: inset -7px 0 0 rgba(255, 255, 255, .22);
}

.person .body {
  position: absolute;
  bottom: 0;
  left: 10px;
  width: 84px;
  height: 118px;
  border-radius: 52px 52px 16px 16px;
  background: var(--army);
}

.person .body::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 48px;
  width: 72px;
  height: 18px;
  border-radius: 999px;
  background: var(--army);
  transform: rotate(24deg);
}

.person .body::after {
  content: "";
  position: absolute;
  right: -28px;
  top: 48px;
  width: 72px;
  height: 18px;
  border-radius: 999px;
  background: var(--army);
  transform: rotate(-24deg);
}

.lock-badge {
  position: absolute;
  bottom: 148px;
  left: 50%;
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  border: 5px solid var(--army);
  border-radius: 50%;
  background: var(--surface);
  transform: translateX(-50%);
  box-shadow: 0 16px 30px rgba(64, 82, 70, .18);
}

.lock-badge span {
  position: relative;
  width: 34px;
  height: 30px;
  border-radius: 7px;
  background: var(--army);
}

.lock-badge span::before {
  content: "";
  position: absolute;
  left: 7px;
  top: -23px;
  width: 20px;
  height: 25px;
  border: 5px solid var(--army);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}

.visual-line {
  position: absolute;
  bottom: 112px;
  width: 330px;
  height: 8px;
  border-radius: 999px;
  background: var(--army);
  opacity: .16;
}

.login-panel {
  position: relative;
  min-height: 520px;
  display: grid;
  align-content: center;
  padding: 58px 76px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(239, 230, 210, .15), transparent 34%),
    var(--navy);
}

.login-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 90px 90px;
  pointer-events: none;
}

.login-copy,
.login-form,
.login-panel .alert {
  position: relative;
  z-index: 1;
}

.login-copy {
  margin-bottom: 20px;
}

.login-copy span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, .72);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.login-copy h1 {
  margin-bottom: 8px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

.login-copy p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .78);
}

.login-form {
  display: grid;
  gap: 14px;
}

.login-form label {
  gap: 7px;
  color: rgba(255, 255, 255, .78);
  font-size: .78rem;
}

.login-form label > span {
  padding-left: 16px;
}

.login-form input {
  min-height: 42px;
  padding: 10px 18px;
  color: var(--text);
  border: 0;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 9px 18px rgba(28, 38, 46, .18);
}

.login-form input::placeholder {
  color: #9A968B;
}

.login-form input:focus {
  box-shadow: 0 0 0 4px rgba(239, 230, 210, .28), 0 9px 18px rgba(28, 38, 46, .18);
}

.login-actions {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  margin-top: 4px;
}

.login-actions button {
  min-height: 40px;
  border-radius: 999px;
  font-size: .86rem;
}

.signin-btn {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(239, 230, 210, .86);
}

.signin-btn:hover {
  background: rgba(239, 230, 210, .14);
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  transition: grid-template-columns .24s ease;
}

.admin-shell.sidebar-collapsed {
  grid-template-columns: 86px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 18px;
  color: #E8E2D8;
  background: var(--navy);
}

.brand-lockup {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 4px 4px 18px;
  border-bottom: 1px solid rgba(239, 230, 210, .14);
}

.brand-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  padding: 5px;
  background: rgba(239, 230, 210, .12);
  border: 1px solid rgba(239, 230, 210, .18);
  border-radius: 14px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.brand-lockup strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

.brand-lockup span {
  display: block;
  margin-top: 3px;
  color: #B8B0A4;
  font-size: .82rem;
}

.sidebar-toggle {
  width: 34px;
  min-height: 34px;
  margin-left: auto;
  padding: 0;
  color: var(--cream);
  background: rgba(239, 230, 210, .1);
  border: 1px solid rgba(239, 230, 210, .16);
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 500;
}

.sidebar-toggle:hover {
  background: rgba(239, 230, 210, .18);
  transform: none;
}

.side-nav,
.side-bottom {
  display: grid;
  gap: 8px;
}

.side-bottom {
  margin-top: auto;
}

.nav-item {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 12px;
  color: #D8D1C5;
  background: transparent;
  border-radius: 8px;
  text-align: left;
  font-weight: 500;
}

.nav-item span {
  width: 24px;
  color: #B8B0A4;
  text-align: center;
}

.nav-item span img {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}

.nav-item:hover,
.nav-item.active {
  color: #fff;
  background: rgba(239, 230, 210, .12);
  transform: none;
}

.logout-link:hover {
  color: var(--red);
  background: rgba(247, 234, 234, .95);
}

.sidebar-collapsed .sidebar {
  padding-inline: 14px;
}

.sidebar-collapsed .brand-lockup {
  justify-content: center;
}

.sidebar-collapsed .brand-lockup > div:not(.brand-mark),
.sidebar-collapsed .nav-item:not(.logout-link) {
  white-space: nowrap;
}

.sidebar-collapsed .brand-lockup > div:not(.brand-mark),
.sidebar-collapsed .nav-item {
  overflow: hidden;
}

.sidebar-collapsed .brand-lockup > div:not(.brand-mark),
.sidebar-collapsed .nav-item {
  font-size: 0;
  gap: 0;
}

.sidebar-collapsed .nav-item span {
  width: 100%;
  font-size: 1rem;
}

.sidebar-collapsed .nav-item span img {
  margin: auto;
}

.sidebar-collapsed .sidebar-toggle {
  position: absolute;
  top: 78px;
  right: -15px;
  background: var(--navy);
}

.workspace {
  min-width: 0;
  padding: 30px;
}

.content-section {
  display: none;
}

.content-section.active {
  display: grid;
  gap: 22px;
}

.page-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
}

.page-heading span {
  color: var(--blue);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.page-heading h1 {
  margin: 6px 0 0;
  font-size: clamp(1.65rem, 2.5vw, 2.35rem);
  font-weight: 600;
  letter-spacing: 0;
}

.page-heading p {
  max-width: 520px;
  margin-bottom: 0;
}

.alert {
  padding: 14px 16px;
  color: #166534;
  background: #DCFCE7;
  border: 1px solid #BBF7D0;
  border-radius: 10px;
  font-weight: 600;
}

.alert.error {
  color: #991B1B;
  background: #FEE2E2;
  border-color: #FECACA;
}

.panel,
.kpi-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel {
  padding: 22px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.kpi-card {
  padding: 20px;
}

.kpi-card span,
.kpi-card small {
  display: block;
  color: var(--muted);
  font-weight: 500;
}

.kpi-card strong {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 12px 0 6px;
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1;
}

.pulse-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 rgba(79, 122, 94, .4);
  animation: pulse 1.4s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(79, 122, 94, .45); }
  70% { box-shadow: 0 0 0 10px rgba(79, 122, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 122, 94, 0); }
}

.analytics-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 16px;
}

.section-title {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-end;
  margin-bottom: 18px;
}

.section-title.compact {
  margin-bottom: 16px;
}

.section-title h2 {
  margin-bottom: 3px;
  font-size: 1.05rem;
  font-weight: 600;
}

.section-title p {
  margin-bottom: 0;
  font-size: .9rem;
}

.chart-card {
  min-height: 330px;
}

.donut-wrap {
  min-height: 238px;
  display: grid;
  place-items: center;
  gap: 18px;
}

.donut {
  width: 176px;
  height: 176px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--army) 0 var(--online-deg), #D6CEC0 var(--online-deg) 360deg);
  position: relative;
}

.donut::after {
  content: "";
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  background: var(--surface);
}

.donut span {
  position: relative;
  z-index: 1;
  font-size: 1.5rem;
  font-weight: 600;
}

.legend-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  color: var(--muted);
  font-weight: 500;
}

.legend {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border-radius: 999px;
}

.legend.online {
  background: var(--army);
}

.legend.offline {
  background: #D6CEC0;
}

.bar-chart {
  height: 236px;
  display: grid;
  grid-template-columns: repeat(7, minmax(38px, 1fr));
  gap: 14px;
  align-items: end;
  padding-top: 16px;
}

.bar-item {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 500;
}

.bar-item i {
  width: min(38px, 100%);
  display: block;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, var(--army), var(--navy-soft));
}

.bar-value {
  color: var(--text);
  font-size: .8rem;
}

.upload-card,
.settings-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.upload-card label:first-of-type,
.settings-grid label:nth-of-type(4),
.settings-grid label:nth-of-type(9) {
  grid-column: span 2;
}

#section-settings {
  gap: 24px;
}

.kanal-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  text-align: left;
}

.kanal-heading div {
  display: block;
}

.kanal-heading span:not(.info-dot) {
  color: var(--blue);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.kanal-heading h1 {
  margin: 6px 0 0;
  color: var(--text);
  font-size: clamp(1.65rem, 2.5vw, 2.35rem);
  font-weight: 600;
  line-height: 1.2;
}

.kanal-heading p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 500;
}

.info-dot {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  margin-right: 8px;
  color: #fff;
  background: #64748B;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 700;
  line-height: 1;
}

.kanal-panel {
  padding: 22px 24px 24px;
  background: rgba(255, 255, 255, .96);
  border-color: #C9CDD3;
  border-radius: 10px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, .12);
}

.kanal-panel .settings-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 20px;
  align-items: end;
}

.kanal-field,
.kanal-wide {
  grid-column: span 1;
}

.kanal-wide {
  grid-column: span 2;
}

.kanal-field {
  gap: 7px;
  color: #111827;
  font-size: .95rem;
  font-weight: 700;
}

.kanal-input {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  min-height: 44px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #8F969F;
  border-radius: 8px;
}

.kanal-icon {
  display: grid;
  place-items: center;
  min-width: 44px;
  background: linear-gradient(180deg, #F4F6F8, #E1E6EC);
  border-right: 1px solid #A8AFB7;
}

.kanal-icon img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

.kanal-input input {
  min-height: 42px;
  padding: 8px 14px;
  color: #111827;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: .98rem;
  font-weight: 500;
}

.kanal-input input:focus {
  box-shadow: none;
}

.kanal-input:focus-within {
  border-color: #0E2A44;
  box-shadow: 0 0 0 4px rgba(14, 42, 68, .08);
}

.kanal-submit {
  grid-column: span 2;
  min-height: 44px;
  color: #fff;
  background: #0E2A44;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
}

.kanal-submit:hover {
  background: #123956;
}

.check {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 42px;
}

.check input {
  width: 18px;
  min-height: 18px;
}

.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform .34s ease;
}

.story-page {
  min-width: 100%;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.story-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.story-thumb {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  background: var(--soft);
}

.story-thumb.video {
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--navy);
  font-weight: 600;
}

.story-edit-form {
  display: grid;
  gap: 8px;
}

.story-edit-form input,
.story-edit-form select {
  min-height: 36px;
  padding: 7px 9px;
  font-size: .82rem;
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr .75fr;
  gap: 8px;
}

.carousel-controls {
  display: flex;
  gap: 8px;
}

.carousel-controls button {
  width: 38px;
  min-height: 38px;
  padding: 0;
  color: var(--navy);
  background: var(--soft);
}

.carousel-controls button:hover {
  color: #fff;
  background: var(--army);
}

.carousel-dots,
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  min-height: 8px;
  padding: 0;
  border-radius: 999px;
  background: #D6CEC0;
}

.carousel-dots button.active {
  width: 22px;
  background: var(--army);
}

.empty-state {
  margin: 0;
  padding: 28px;
  text-align: center;
  background: var(--soft);
  border-radius: 8px;
}

.drop-zone {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.7fr .55fr .55fr auto;
  gap: 14px;
  align-items: end;
  padding: 18px;
  border: 1px dashed #CFC5B5;
  border-radius: 8px;
  background: #FBF8F1;
}

.drop-zone strong,
.drop-zone span {
  display: block;
}

.drop-zone span {
  margin-top: 5px;
  color: var(--muted);
  font-size: .88rem;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

tbody tr:nth-child(even) {
  background: rgba(236, 231, 222, .36);
}

tbody tr:hover {
  background: #F7F2E8;
}

td form {
  margin: 0;
}

td input,
td select {
  min-height: 38px;
}

.actions,
.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.inline-form select {
  width: 112px;
}

.status-pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
}

.status-pill.online {
  color: #315B3F;
  background: #E2EFE5;
}

.status-pill.offline {
  color: #6A6258;
  background: #EEE8DD;
}

.secondary-btn {
  color: var(--navy);
  background: var(--surface);
  border: 1px solid var(--line);
}

.secondary-btn:hover {
  color: #fff;
  background: var(--army);
}

.danger,
.ghost-danger {
  color: #fff;
  background: var(--red);
}

.ghost-danger {
  width: 100%;
  color: var(--red);
  background: var(--red-soft);
}

.danger:hover,
.ghost-danger:hover {
  color: #fff;
  background: #994A4A;
}

.pagination button {
  min-width: 38px;
  min-height: 38px;
  padding: 0 12px;
  color: var(--navy);
  background: var(--surface);
  border: 1px solid var(--line);
}

.pagination button.active,
.pagination button:hover {
  color: #fff;
  background: var(--army);
}

@media (max-width: 1120px) {
  .login-card {
    width: min(860px, 100%);
  }

  .login-panel {
    padding: 48px;
  }

  .admin-shell {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .admin-shell.sidebar-collapsed {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .workspace {
    padding: 22px;
  }

  .analytics-grid,
  .kpi-grid,
  .upload-card,
  .settings-grid,
  .drop-zone {
    grid-template-columns: 1fr;
  }

  .kanal-panel .settings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kanal-wide,
  .kanal-submit {
    grid-column: span 2;
  }

  .upload-card label:first-of-type,
  .settings-grid label:nth-of-type(4),
  .settings-grid label:nth-of-type(9) {
    grid-column: auto;
  }

  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .login-page {
    align-items: start;
    overflow: auto;
    padding: 18px;
  }

  .split-login {
    grid-template-columns: 1fr;
  }

  .login-card {
    min-height: 0;
  }

  .login-visual {
    min-height: 270px;
  }

  .login-visual::before {
    width: 150px;
    height: 150px;
  }

  .gear-one {
    width: 88px;
    height: 88px;
    top: 58px;
    left: 28%;
    border-width: 18px;
  }

  .gear-one::before {
    inset: -32px;
    border-width: 8px;
  }

  .gear-two {
    top: 58px;
    right: 24%;
  }

  .person {
    bottom: 58px;
    transform: scale(.62);
  }

  .person-left {
    left: 20%;
  }

  .person-right {
    right: 18%;
  }

  .lock-badge {
    bottom: 88px;
    width: 86px;
    height: 86px;
  }

  .visual-line {
    bottom: 62px;
    width: 240px;
  }

  .login-panel {
    min-height: 0;
    padding: 34px 24px 38px;
  }

  .login-actions {
    grid-template-columns: 1fr;
  }

  .admin-shell {
    display: block;
  }

  .sidebar-toggle {
    display: none;
  }

  .sidebar {
    position: static;
    min-height: auto;
  }

  .page-heading,
  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .kanal-heading {
    align-items: flex-start;
  }

  .kanal-panel .settings-grid {
    grid-template-columns: 1fr;
  }

  .kanal-wide,
  .kanal-submit {
    grid-column: auto;
  }

  .bar-chart {
    overflow-x: auto;
  }
}
