:root {
  color-scheme: light;
  --paper: #f6f7f2;
  --white: #fff;
  --ink: #1c2722;
  --muted: #78827b;
  --line: #e5e9e1;
  --green: #cbf27a;
  --green-dark: #54812b;
  --coral: #e96851;
  --font: "DM Sans", "Trebuchet MS", sans-serif;
  --display: "Space Grotesk", "Trebuchet MS", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 14px; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.login-screen { min-height: 100vh; display: grid; grid-template-columns: minmax(400px, 1fr) minmax(380px, 0.9fr); background: #fff; }
.login-panel { width: min(460px, calc(100% - 64px)); margin: auto; padding: 46px 0; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 19px; font-weight: 700; }
.brand-mark { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 9px 9px 9px 2px; background: var(--green); font-size: 19px; }
.brand-light { color: #7b877e; font-weight: 500; }
.login-panel .eyebrow { margin-top: 70px; }
.eyebrow, .workspace-label, .breadcrumbs, .stat-top, .queue-end, .sidebar-footer { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 1.2px; }
.login-panel h1 { margin: 14px 0; font: 600 38px/1.12 var(--display); letter-spacing: 0; }
.login-copy { margin: 0 0 32px; color: var(--muted); line-height: 1.7; }
.login-panel form { display: grid; gap: 9px; }
.login-panel label, .composer form > label, .caption-label label { color: #424d46; font-size: 12px; font-weight: 700; }
.login-panel input, .composer input[type="datetime-local"], .composer textarea { width: 100%; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--ink); outline: none; }
.login-panel input { height: 46px; padding: 0 13px; }
.login-panel input:focus, .composer input:focus, .composer textarea:focus { border-color: #9ab568; box-shadow: 0 0 0 3px #cbf27a45; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 14px; min-height: 41px; border: 0; border-radius: 5px; padding: 0 16px; font-weight: 700; transition: transform .16s ease, background .16s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--green); color: #25311f; }
.button-primary:hover { background: #bce96a; }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: #35423a; }
.login-button { margin-top: 8px; justify-content: space-between; min-height: 47px; }
.form-message, .setup-note { color: var(--coral); font-size: 12px; line-height: 1.5; }
.setup-note { padding: 12px; background: #fff1ed; border-radius: 5px; }
.login-art { position: relative; overflow: hidden; min-height: 100vh; background-color: #b6e877; background-image: linear-gradient(135deg, transparent 49.8%, #8ec353 50%, transparent 50.2%), linear-gradient(45deg, transparent 49.8%, #d2f29b 50%, transparent 50.2%); background-size: 74px 74px; }
.login-art:before { content: ""; position: absolute; width: 300px; height: 390px; left: 50%; top: 50%; transform: translate(-50%,-50%) rotate(8deg); background: #f6f7f2; border: 1px solid #293528; box-shadow: 15px 14px 0 #31402a; }
.login-art:after { content: ""; position: absolute; width: 195px; height: 195px; left: 50%; top: 50%; transform: translate(-50%,-62%) rotate(-7deg); border-radius: 50%; background: radial-gradient(circle at 35% 33%, #f8a77f 0 13%, #ec6e51 14% 33%, #a4ca6b 34% 53%, #d7edaa 54%); border: 1px solid #32402c; }
.art-label, .art-stamp, .art-caption, .art-number { position: absolute; z-index: 1; font-family: var(--display); font-weight: 700; }
.art-label { top: 28px; left: 30px; font-size: 11px; line-height: 1.4; letter-spacing: 1px; }
.art-stamp { top: calc(50% - 158px); left: calc(50% + 73px); padding: 9px; border: 1px solid; border-radius: 50%; font-size: 10px; text-align: center; transform: rotate(12deg); }
.art-caption { left: calc(50% - 128px); top: calc(50% + 114px); font-size: 22px; line-height: 1.05; }
.art-number { right: 30px; bottom: 28px; font-size: 12px; }
.app-shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; padding: 28px 17px 18px; border-right: 1px solid var(--line); background: #fff; }
.sidebar > .brand { margin: 0 10px 49px; }
.workspace-label { margin: 0 10px 13px; font-size: 9px; }
.account-chip { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 6px; }
.account-avatar { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: #f4a185; color: #482b23; font: 700 11px var(--display); }
.account-chip strong, .account-chip small { display: block; }
.account-chip strong { font-size: 12px; }
.account-chip small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.status-dot, .footer-dot { width: 7px; height: 7px; margin-left: auto; border-radius: 50%; background: #abb3ad; }
.status-dot.online, .footer-dot { background: #7db747; }
.main-nav { display: grid; gap: 5px; margin-top: 29px; }
.nav-link { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 41px; border: 0; border-radius: 5px; padding: 0 11px; background: transparent; color: #647069; text-align: left; font-size: 12px; font-weight: 600; }
.nav-link.active { background: #eff6e7; color: #3b5f25; }
.nav-icon { width: 17px; color: #70816e; font-size: 17px; text-align: center; }
.nav-count { display: grid; place-items: center; min-width: 22px; height: 20px; margin-left: auto; border-radius: 11px; background: #e8eee4; font-size: 10px; }
.sidebar-bottom { margin-top: auto; }
.sidebar-tip { margin: 0 3px 18px; padding: 15px 14px; border-radius: 6px; background: #f3f6ee; }
.tip-spark { display: block; margin-bottom: 12px; color: #749d40; font-size: 19px; }
.sidebar-tip strong { font-size: 12px; }
.sidebar-tip p { margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.logout-button { margin-bottom: 17px; }
.sidebar-footer { display: flex; align-items: center; gap: 7px; padding: 15px 6px 0; border-top: 1px solid var(--line); font-size: 8px; letter-spacing: .8px; }
.sidebar-footer span:last-child { margin-left: auto; }
.main-content { min-width: 0; padding: 0 38px 0; }
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 72px; border-bottom: 1px solid var(--line); }
.breadcrumbs { font-size: 9px; }
.breadcrumbs span { margin: 0 7px; color: #b7c0b7; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.today-label { color: #6d786f; font-size: 11px; }
.icon-button { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: #47564a; font-size: 19px; }
.top-add { min-height: 36px; font-size: 11px; }
.top-add span { font-size: 17px; }
.page-heading { display: flex; align-items: center; justify-content: space-between; padding: 34px 0 25px; }
.page-heading .eyebrow { margin: 0 0 10px; }
.page-heading h1 { margin: 0; font: 600 31px/1.15 var(--display); letter-spacing: 0; }
.page-heading h1 span { color: #879385; }
.page-subtitle { margin: 9px 0 0; color: var(--muted); font-size: 12px; }
.heading-mark { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #dfe5da; border-radius: 50%; color: #527a35; font-size: 21px; transform: rotate(0deg); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { min-height: 119px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.stat-green { border-color: #c7e894; background: #eaf5d9; }
.stat-top { display: flex; align-items: center; justify-content: space-between; font-size: 9px; letter-spacing: .8px; }
.stat-icon { color: #56753b; font-size: 17px; }
.stat-alert { display: grid; place-items: center; width: 18px; height: 18px; border: 1px solid #e8a18e; border-radius: 50%; color: var(--coral); font-size: 11px; }
.stat strong { display: block; margin-top: 12px; font: 600 27px/1 var(--display); }
.stat small { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(315px, .75fr); align-items: start; gap: 25px; padding-top: 33px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; min-height: 44px; margin-bottom: 17px; }
.section-heading .eyebrow, .composer .eyebrow { margin: 0 0 7px; }
.section-heading h2, .composer h2 { margin: 0; font: 600 19px/1.2 var(--display); letter-spacing: 0; }
.filter-wrap select { height: 32px; border: 1px solid var(--line); border-radius: 4px; padding: 0 26px 0 9px; background: #fff; color: #566259; font-size: 10px; }
.queue-list { display: grid; gap: 9px; }
.post-card { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; align-items: center; gap: 13px; min-height: 91px; padding: 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; animation: appear .28s ease both; }
.post-thumb { display: block; width: 74px; height: 68px; border-radius: 4px; background: #e8ede5; object-fit: cover; }
.post-info { min-width: 0; }
.post-time { margin-bottom: 6px; color: #52723c; font-size: 10px; font-weight: 700; }
.post-caption { display: -webkit-box; overflow: hidden; color: #3d4841; font-size: 11px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.post-filename { display: block; overflow: hidden; margin-top: 5px; color: #929b93; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.post-actions { display: grid; justify-items: end; gap: 8px; }
.post-status { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border-radius: 12px; background: #eef5e5; color: #507739; font-size: 9px; font-weight: 700; white-space: nowrap; }
.post-status:before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.post-status.published { background: #edf2f2; color: #607679; }
.post-status.failed { background: #fff0ec; color: #c45642; }
.post-status.publishing { background: #fff5dc; color: #9a6d13; }
.post-action-button { border: 0; padding: 2px 0; background: transparent; color: #7f8a81; font-size: 10px; text-decoration: underline; text-underline-offset: 2px; }
.post-action-button:hover { color: var(--coral); }
.loading-state, .empty-state { padding: 27px; border: 1px dashed #d8dfd6; border-radius: 6px; color: #7a857c; text-align: center; font-size: 12px; line-height: 1.7; }
.empty-state strong { display: block; margin-bottom: 5px; color: #455148; font: 600 15px var(--display); }
.queue-end { display: flex; align-items: center; gap: 10px; margin: 18px 0; font-size: 8px; letter-spacing: 1px; }
.queue-end span { height: 1px; flex: 1; background: var(--line); }
.composer { padding: 19px; border: 1px solid #e4e9df; border-radius: 6px; background: #fff; }
.composer-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 19px; }
.composer-spark { color: #739c46; font-size: 22px; }
.composer form { display: grid; }
.composer form > label:not(.media-drop) { margin: 0 0 7px; }
.composer input[type="datetime-local"] { height: 39px; padding: 0 10px; font-size: 11px; }
.field-hint { margin: 6px 0 16px; color: #98a099; font-size: 9px; }
.media-drop { display: grid; justify-items: center; gap: 7px; min-height: 143px; margin-bottom: 17px; border: 1px dashed #cbd6c3; border-radius: 5px; padding: 14px; background: #fafbf8; text-align: center; cursor: pointer; transition: background .15s, border-color .15s; }
.media-drop:hover, .media-drop.dragging { border-color: #83a95b; background: #f4f9ec; }
.media-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #eaf2df; color: #5e8339; font-size: 19px; }
.media-drop strong { font-size: 11px; }
.media-drop small { color: #7f8a81; font-size: 9px; }
.media-drop .file-types { color: #a0a9a0; }
.file-preview { display: flex; align-items: center; gap: 9px; margin: -7px 0 16px; padding: 7px; border: 1px solid var(--line); border-radius: 5px; color: #627067; font-size: 10px; }
.file-preview img, .file-preview video { width: 42px; height: 42px; border-radius: 3px; object-fit: cover; }
.file-preview span { overflow: hidden; flex: 1; text-overflow: ellipsis; white-space: nowrap; }
.file-preview button { border: 0; background: transparent; color: #758078; font-size: 18px; }
.caption-label { display: flex; justify-content: space-between; margin-bottom: 7px; }
.caption-label span { color: #9aa39b; font-size: 9px; }
.composer textarea { min-height: 102px; resize: vertical; padding: 10px; font-size: 11px; line-height: 1.6; }
.composer textarea::placeholder { color: #a1aaa2; }
.form-error { min-height: 0; color: #c45642; font-size: 10px; line-height: 1.5; }
.form-error:not(:empty) { padding-top: 7px; }
.schedule-button { justify-content: space-between; margin-top: 8px; min-height: 41px; font-size: 11px; }
.schedule-button:disabled { opacity: .65; cursor: wait; }
.composer-foot { display: flex; align-items: center; gap: 7px; margin-top: 14px; padding-top: 13px; border-top: 1px solid #edf0eb; color: #8c978e; font-size: 9px; }
.secure-icon { color: #729549; font-size: 14px; }
.page-footer { display: flex; justify-content: space-between; margin-top: 21px; padding: 17px 0 19px; border-top: 1px solid var(--line); color: #9aa39a; font-size: 8px; font-weight: 700; letter-spacing: .8px; }
.page-footer b { color: #81a653; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 10; max-width: min(370px, calc(100vw - 32px)); padding: 12px 16px; border-radius: 5px; background: var(--ink); color: #fff; box-shadow: 0 6px 22px #17221c28; font-size: 12px; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.visible { opacity: 1; transform: translateY(0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@keyframes appear { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1080px) {
  .app-shell { grid-template-columns: 212px minmax(0, 1fr); }
  .main-content { padding-right: 25px; padding-left: 25px; }
  .content-grid { grid-template-columns: minmax(0, 1fr) minmax(290px, .78fr); gap: 16px; }
  .post-card { grid-template-columns: 61px minmax(0,1fr) auto; gap: 9px; }
  .post-thumb { width: 61px; height: 62px; }
}
@media (max-width: 800px) {
  .app-shell { display: block; }
  .sidebar { position: relative; z-index: 2; flex-direction: row; align-items: center; width: 100%; height: auto; min-height: 62px; padding: 10px 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .sidebar > .brand { margin: 0 auto 0 0; font-size: 17px; }
  .workspace-label, .account-chip, .sidebar-bottom, .main-nav .nav-icon { display: none; }
  .main-nav { display: flex; gap: 4px; margin: 0; }
  .nav-link { width: auto; min-height: 36px; padding: 0 10px; font-size: 10px; }
  .nav-count { min-width: 18px; height: 18px; }
  .main-content { padding: 0 22px; }
  .content-grid { grid-template-columns: minmax(0, 1fr); }
  .composer { grid-row: 1; }
  .queue-section { grid-row: 2; }
}
@media (max-width: 540px) {
  .login-screen { display: block; min-height: 100svh; }
  .login-panel { width: calc(100% - 42px); min-height: 100svh; padding: 33px 0; }
  .login-panel .eyebrow { margin-top: 56px; }
  .login-panel h1 { font-size: 32px; }
  .login-art { display: none; }
  .sidebar { padding: 9px 12px; }
  .sidebar > .brand { gap: 6px; font-size: 15px; }
  .brand-mark { width: 28px; height: 28px; }
  .main-nav { gap: 0; }
  .nav-link { padding: 0 8px; font-size: 9px; }
  .main-content { padding: 0 15px; }
  .topbar { min-height: 58px; }
  .breadcrumbs { font-size: 8px; }
  .topbar-actions { gap: 7px; }
  .today-label { display: none; }
  .icon-button { width: 32px; height: 32px; }
  .top-add { min-height: 32px; padding: 0 10px; font-size: 10px; }
  .page-heading { padding: 27px 0 19px; }
  .page-heading h1 { max-width: 270px; font-size: 25px; }
  .page-heading .eyebrow { font-size: 8px; }
  .heading-mark { width: 37px; height: 37px; }
  .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .stat { min-height: 102px; padding: 11px 9px; }
  .stat-top { align-items: flex-start; min-height: 24px; font-size: 7px; letter-spacing: .35px; }
  .stat-icon { font-size: 13px; }
  .stat-alert { width: 15px; height: 15px; font-size: 9px; }
  .stat strong { margin-top: 9px; font-size: 23px; }
  .stat small { font-size: 8px; line-height: 1.3; }
  .content-grid { padding-top: 23px; }
  .composer { padding: 15px; }
  .section-heading h2, .composer h2 { font-size: 17px; }
  .post-card { grid-template-columns: 54px minmax(0,1fr); min-height: 78px; padding: 8px; }
  .post-thumb { grid-row: span 2; width: 54px; height: 58px; }
  .post-info { align-self: end; }
  .post-actions { display: flex; align-items: center; justify-content: space-between; grid-column: 2; justify-items: initial; }
  .post-caption { font-size: 10px; }
  .post-filename { display: none; }
  .post-status { padding: 4px 6px; font-size: 8px; }
  .page-footer { font-size: 7px; letter-spacing: .4px; }
}
/* ── Recurrence toggle ──────────────────────────────────────────────────────── */
.recurrence-toggle-label { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; cursor: pointer; color: #424d46; font-size: 12px; font-weight: 600; }
.recurrence-toggle-label input[type="checkbox"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.recurrence-toggle-knob { position: relative; flex-shrink: 0; width: 34px; height: 20px; border-radius: 10px; background: #d4dbd0; transition: background .15s; }
.recurrence-toggle-knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .15s; }
.recurrence-toggle-label input:checked + .recurrence-toggle-knob { background: var(--green-dark); }
.recurrence-toggle-label input:checked + .recurrence-toggle-knob::after { transform: translateX(14px); }
#recurrence-fields { display: grid; padding: 14px; margin-bottom: 12px; border: 1px solid #e0ead8; border-radius: 6px; background: #f8fbf4; }
#recurrence-fields label { margin: 0 0 6px; color: #424d46; font-size: 12px; font-weight: 700; }
#recurrence-fields label:not(:first-child) { margin-top: 12px; }
#recurrence-fields select, #recurrence-fields input[type="time"], #recurrence-fields input[type="number"] { width: 100%; height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--ink); font: inherit; font-size: 11px; outline: none; }
#recurrence-fields select:focus, #recurrence-fields input:focus { border-color: #9ab568; box-shadow: 0 0 0 3px #cbf27a45; }

/* ── Schedules page ──────────────────────────────────────────────────────────── */
.schedules-list { display: grid; gap: 9px; padding-top: 8px; padding-bottom: 33px; }
.schedule-card { opacity: 1; }
.schedule-inactive { opacity: .55; }
.schedule-inactive .post-status { background: #f0f2ed; color: #7a857c; }

/* ── Post type selector ─────────────────────────────────────────────────────── */
.type-selector { display: flex; gap: 7px; margin-bottom: 16px; }
.type-option { display: flex; align-items: center; cursor: pointer; }
.type-option input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.type-option span { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border: 1px solid var(--line); border-radius: 20px; background: #fff; color: #556259; font-size: 11px; font-weight: 600; transition: background .13s, border-color .13s, color .13s; }
.type-option input:checked + span { border-color: #9ab568; background: #eaf5d9; color: #3b5f25; }
.type-option:hover span { border-color: #9ab568; }
.story-note { display: flex; align-items: center; gap: 7px; margin-bottom: 14px; padding: 10px 12px; border-radius: 5px; background: #f0f4fd; color: #3d5491; font-size: 10px; line-height: 1.5; }
.story-note-icon { color: #6487cc; font-size: 14px; flex-shrink: 0; }

/* ── Post type / video badge ─────────────────────────────────────────────────── */
.post-type-badge { display: inline-flex; align-items: center; margin-left: 7px; padding: 2px 6px; border-radius: 10px; background: #e8eef8; color: #3d5491; font-size: 8px; font-weight: 700; letter-spacing: .4px; vertical-align: middle; }
.video-badge { background: #f0ebe8; color: #7a4a36; }
.video-thumb { display: grid; place-items: center; width: 74px; height: 68px; border-radius: 4px; background: #2a2a2a; color: #fff; font-size: 20px; }

/* ── Settings page ───────────────────────────────────────────────────────────── */
.settings-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); align-items: start; gap: 25px; padding-top: 33px; }
.settings-card { padding: 22px; border: 1px solid #e4e9df; border-radius: 6px; background: #fff; }
.settings-card-head { margin-bottom: 20px; }
.settings-card-head .eyebrow { margin: 0 0 7px; }
.settings-card-head h2 { margin: 0; font: 600 19px/1.2 var(--display); }
.settings-card form { display: grid; }
.settings-card form > label { margin: 0 0 7px; color: #424d46; font-size: 12px; font-weight: 700; }
.settings-card input[type="text"],
.settings-card input[type="url"],
.settings-card input[type="password"] { width: 100%; height: 39px; padding: 0 10px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--ink); font-size: 11px; outline: none; }
.settings-card input:focus { border-color: #9ab568; box-shadow: 0 0 0 3px #cbf27a45; }
.settings-card .field-hint { margin: 5px 0 15px; color: #98a099; font-size: 9px; }
.settings-card .field-hint code { background: #f0f2ed; border-radius: 3px; padding: 1px 4px; font-family: monospace; font-size: 9px; }
.input-with-action { display: flex; gap: 7px; margin-bottom: 0; }
.input-with-action input { flex: 1; min-width: 0; }
.input-action-btn { flex-shrink: 0; height: 39px; padding: 0 12px; border: 1px solid var(--line); border-radius: 5px; background: #f4f6f2; color: #556259; font-size: 10px; font-weight: 600; white-space: nowrap; }
.input-action-btn:hover { background: #eaf2df; border-color: #9ab568; }
.settings-aside { display: grid; gap: 14px; }
.settings-info-card { padding: 18px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.settings-info-card .eyebrow { margin: 0 0 6px; }
.settings-info-card h3 { margin: 0 0 14px; font: 600 15px/1.2 var(--display); }
.connection-info { display: grid; gap: 10px; }
.connection-item { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid #f0f2ed; }
.connection-item:last-child { padding-bottom: 0; border-bottom: 0; }
.connection-label { color: var(--muted); font-size: 10px; font-weight: 600; flex-shrink: 0; }
.connection-val { color: var(--ink); font-size: 10px; text-align: right; word-break: break-all; }
.settings-conn-url { font-size: 9px; }
.settings-source-note { margin: 12px 0 0; color: #8c9a8e; font-size: 9px; }
.settings-help-list { margin: 0; padding: 0 0 0 16px; color: #556259; font-size: 11px; line-height: 1.85; }
.settings-help-list strong { color: var(--ink); }
.settings-help-list em { font-style: normal; color: #566259; }
.settings-help-list code { background: #f0f2ed; border-radius: 3px; padding: 1px 4px; font-family: monospace; font-size: 9px; }
@media (max-width: 1080px) {
  .settings-grid { grid-template-columns: minmax(0, 1fr) minmax(230px, .6fr); gap: 16px; }
}
@media (max-width: 800px) {
  .settings-grid { grid-template-columns: minmax(0, 1fr); }
  .settings-aside { grid-row: 1; }
  .settings-form-wrap { grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }