:root {
  --bg:#0f111a; --ink:#eff2f6; --muted:#9fa6bc; --line:#373e53;
  --green:#3874ff; --light:#1c2231; --sidebar:#141824; color-scheme:dark;
}
body { background:var(--bg); color:var(--ink); font-family:'Nunito Sans',system-ui,sans-serif; }
.material-symbols-rounded { font-family:'Material Symbols Rounded'; font-weight:400; font-style:normal; font-size:28px; line-height:1; letter-spacing:normal; text-transform:none; display:inline-block; white-space:nowrap; word-wrap:normal; direction:ltr; -webkit-font-feature-settings:'liga'; -webkit-font-smoothing:antialiased; font-feature-settings:'liga'; font-variation-settings:'FILL' 0,'wght' 400,'GRAD' 0,'opsz' 24; }
button { background:#222834; border-color:#373e53; color:var(--ink); box-shadow:none; transition:background-color .15s ease,border-color .15s ease,color .15s ease; }
button:hover { background:#31374a; border-color:#525b75; color:#fff; }
.primary { background:#3874ff; border-color:#3874ff; color:#fff; box-shadow:none; }
.primary:hover { background:#4e82ff; border-color:#4e82ff; color:#fff; }
a { color:#85a9ff; }
input:not([type=checkbox]), textarea, select { background:#141824; border-color:#373e53; color:var(--ink); }
input::placeholder, textarea::placeholder { color:#8a94ad; }
input[type=checkbox] { accent-color:#3874ff; }
.sidebar { width:260px; padding:24px 12px 32px; background:#141824; border-right:1px solid #373e53; transition:width .2s ease,padding .2s ease; }
.sidebar .brand { min-height:46px; padding:5px 48px 5px 8px; display:flex !important; align-items:center; gap:11px; color:#f3f7ff; font-size:20px; font-weight:700; letter-spacing:-.4px; }
.brand-icon { float:none !important; margin:0 !important; font-size:32px !important; line-height:1 !important; color:#3874ff; text-shadow:none; }
.sidebar .brand .brand-name { min-width:0; margin:0 !important; float:none !important; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:19px !important; line-height:1.2 !important; letter-spacing:-.35px; }
.workspace { margin:20px 8px 18px; }
.workspace select { background:#141824; border-color:#373e53; }
.workspace-heading { min-height:28px; display:flex; align-items:center; justify-content:space-between; gap:8px; }
.workspace-heading small { margin:0; }
.workspace-add { width:28px; height:28px; padding:0; display:grid; place-items:center; border:1px solid #373e53; border-radius:9px; background:#1c2231; color:#85a9ff; font-size:20px; }
.workspace-picker { position:relative; margin-top:6px; }
.workspace-trigger { width:100%; height:42px; padding:0 10px 0 12px; display:flex; align-items:center; justify-content:space-between; gap:8px; border:1px solid #373e53; border-radius:8px; background:#141824; color:var(--ink); text-align:left; }
.workspace-trigger > span:first-child { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.workspace-trigger .material-symbols-rounded { flex:0 0 auto; font-size:25px; transition:transform .15s ease; }
.workspace-picker.open .workspace-trigger .material-symbols-rounded { transform:rotate(180deg); }
.workspace-menu { position:absolute; top:calc(100% + 7px); left:0; right:0; z-index:40; display:none; padding:6px; border:1px solid #373e53; border-radius:8px; background:#141824; box-shadow:none; }
.workspace-picker.open .workspace-menu { display:block; }
.workspace-option { min-height:42px; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; border-radius:8px; }
.workspace-option:hover,.workspace-option:focus-within { background:#222834; }
.workspace-option.active { background:#1c2231; }
.workspace-select { min-width:0; min-height:42px; padding:7px 8px; display:flex; align-items:center; justify-content:space-between; gap:6px; border:0; background:transparent; color:var(--ink); text-align:left; }
.workspace-select > span:first-child { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.workspace-check { font-size:18px; color:#3874ff; }
.workspace-option-actions { display:flex; gap:2px; padding-right:4px; opacity:0; pointer-events:none; transition:opacity .15s ease; }
.workspace-option:hover .workspace-option-actions,.workspace-option:focus-within .workspace-option-actions { opacity:1; pointer-events:auto; }
.workspace-option-actions button { width:30px; height:30px; padding:0; display:grid; place-items:center; border:0; border-radius:7px; background:transparent; color:#85a9ff; font-size:19px; }
.workspace-option-actions button:hover { background:#31374a; color:#fff; }
.workspace-option-actions .delete { color:#ff657b; }
.workspace-option-actions .delete:hover { background:#3a1b28; color:#ff8b9d; }
.workspace small, nav a, .sidebar-bottom { color:#9fa6bc; }
nav a { display: flex; align-items: center; gap: 13px; min-height: 44px; }
nav a.active, nav a:hover { background:#1c2231; color:#85a9ff; }
.nav-icon { width:30px; text-align:center; color:#9fa6bc; font-size:25px; line-height:1; flex:0 0 30px; }
nav a.active .nav-icon,nav a:hover .nav-icon { color:#3874ff; }
.dot { background:#3874ff; box-shadow:none; }
.profile-menu { position:relative; }
.profile-trigger { min-height:58px; padding:9px 8px; display:grid; grid-template-columns:38px minmax(0,1fr) 24px; align-items:center; gap:10px; border:1px solid transparent; border-radius:10px; cursor:pointer; list-style:none; transition:background-color .15s ease,border-color .15s ease; }
.profile-trigger::-webkit-details-marker { display:none; }
.profile-trigger:hover,.profile-menu[open] .profile-trigger { background:#1c2231; border-color:#373e53; }
.profile-avatar { width:38px; height:38px; display:grid; place-items:center; border-radius:50%; background:#31374a; color:#85a9ff; font-size:24px; }
.profile-copy { min-width:0; }
.profile-copy b,.profile-popup-head b { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--ink); font-size:13px; }
.profile-copy small,.profile-popup-head small { display:block; margin:2px 0 0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#9fa6bc; font-size:10px; }
.profile-copy .dot { margin-right:6px; }
.profile-chevron { font-size:22px; color:#9fa6bc; transition:transform .15s ease; }
.profile-menu[open] .profile-chevron { transform:rotate(180deg); }
.profile-popup { position:absolute; left:0; right:0; bottom:calc(100% + 10px); z-index:30; padding:8px; border:1px solid #373e53; border-radius:11px; background:#141824; box-shadow:none; }
.profile-popup-head { display:grid; grid-template-columns:38px minmax(0,1fr); align-items:center; gap:10px; padding:7px 8px 12px; margin-bottom:5px; border-bottom:1px solid var(--line); }
.profile-popup form { margin:0; }
.profile-action { width:100%; min-height:42px; padding:8px 10px; display:flex; align-items:center; gap:10px; border:0; border-radius:7px; background:transparent; color:var(--ink); font-size:13px; font-weight:600; text-align:left; }
.profile-action .material-symbols-rounded { font-size:25px; color:#85a9ff; }
.profile-action:hover { background:#222834; color:#fff; }
.profile-logout,.profile-logout .material-symbols-rounded { color:#ff657b; }
.profile-logout:hover { background:#3a1b28; color:#ff8b9d; }
.shell { transition: margin-left .2s ease; }
header { position:sticky; top:0; z-index:20; height:80px; background:#141824; border-color:var(--line); }
.header-start { display: flex; align-items: center; gap: 15px; }
.sidebar-toggle { position:static; flex:0 0 36px; width:36px; height:36px; padding:0; display:grid; place-items:center; border-radius:8px; font-size:22px; line-height:1; background:transparent; border:1px solid #373e53; color:#85a9ff; box-shadow:none; overflow:hidden; }
.sidebar-toggle:hover { background:#31374a; border-color:#525b75; color:#fff; }
.shell { margin-left:260px; }
.theme-toggle { width:46px; min-width:46px; height:44px; padding:0; display:grid; place-items:center; }
.theme-toggle span:first-child { font-size: 25px; line-height: 1; }
.form-grid.three { grid-template-columns:repeat(3,1fr); }
.switch-row { display:flex; align-items:center; gap:10px; font-weight:500; }
.switch-row input { flex:0 0 auto; }
.package-drop { min-height:180px; display:grid; place-items:center; align-content:center; }
.package-drop strong { font-size:22px; }
.media-card video { width:100%; height:145px; object-fit:cover; border-radius:5px; background:#05080f; }
.media-strip video { width:65px; height:65px; object-fit:cover; border-radius:6px; background:#05080f; }
.social-preview video { width:100%; display:block; background:#05080f; }
.stat, .panel, .table-wrap, .media-card { background:#141824; border-color:#373e53; box-shadow:none; }
.stat strong { color: #f0f6ff; }
.notice { border-color:#3874ff; background:#1c2231; color:#85a9ff; }
.eyebrow { color:#85a9ff; }
table, .calendar { background:#141824; }
table { font-size:13px; }
th, .calendar .day-label { background:#1c2231; color:#9fa6bc; }
th { padding:13px 16px; font-size:12px; font-weight:700; line-height:1.35; letter-spacing:.1px; vertical-align:middle; }
td { padding:15px 16px; line-height:1.4; vertical-align:middle; }
td, th { border-color:#373e53; }
tr:hover td { background:#1c2231; }
.thumb-placeholder { background: #18253a; color: #7890b4; }
.badge { min-height:34px; padding:6px 10px; display:inline-flex; align-items:center; justify-content:center; border-radius:8px; background:#1c273a; color:#b2bfd1; font-size:12px; font-weight:700; line-height:1; vertical-align:middle; white-space:nowrap; }
.badge.SCHEDULED, .badge.WAITING, .badge.WAITING_META, .badge.NATIVE_SCHEDULED, .badge.Ready, .badge.CONNECTED, .badge.READY { background:#1c3264; color:#85a9ff; }
.badge.PUBLISHED, .badge.Imported, .badge.COMPLETED { background:#1c3264; color:#85a9ff; }
.badge.FAILED, .badge.Error, .badge.REVIEW, .badge.INVALID, .badge.EXPIRED { background: #401e2a; color: #ff9aa9; }
.badge.RETRY, .badge.PROCESSING, .badge.PARTIALLY_PUBLISHED { background: #3d3018; color: #f8cb70; }
.network { min-height:34px; padding:6px 10px; margin:3px; display:inline-flex; align-items:center; justify-content:center; gap:7px; border-radius:8px; border-color:#373e53; background:#1c2231; font-size:12px; font-weight:600; line-height:1; vertical-align:middle; }
.network .network-icon { margin:0; color:#4e82ff; font-size:22px; vertical-align:0; }
.drop-zone { border-color:#525b75; background:#141824; color:#85a9ff; }
.drop-zone:hover, .drop-zone.dragging { background:#1c2231; border-color:#3874ff; }
.media-strip button { background:#222834; }
.calendar-cell { border-color:#373e53; }
.calendar-cell.today { background:#1c2231; }
.calendar-post { background:#222834; border-left-color:#3874ff; color:#eff2f6; }
dialog { background:#141824; color:var(--ink); box-shadow:none; border:1px solid #373e53; }
dialog::backdrop { background: #020611cc; }
.dialog-head, .dialog-actions { border-color: var(--line); }
.dialog-head h2 { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.preview-panel { background:#0f111a; }
.tabs button.active, .social-preview { background:#141824; border-color:#373e53; box-shadow:none; }
.avatar { background:#31374a; color:#85a9ff; }
#toast { background:#3874ff; color:white; }
.login { min-height:100vh; padding:32px 20px; background:#0f111a; }
.login-card { width:min(520px,100%); padding:48px 50px 46px; background:#141824; border-color:#373e53; border-radius:16px; box-shadow:none; }
.login-card .brand { min-height:42px; margin:0 0 38px; display:flex; align-items:center; gap:12px; color:#85a9ff; font-size:14px; font-weight:800; line-height:1; letter-spacing:2px; }
.login-card .brand-icon { width:28px; flex:0 0 28px; display:grid; place-items:center; font-size:30px !important; }
.login-card h1 { margin:0 0 12px; color:#f3f7ff; font-size:36px; font-weight:700; line-height:1.28; letter-spacing:-1px; }
.login-card > .muted { margin:0 0 26px; font-size:15px; line-height:1.55; }
.login-card form { margin:0; }
.login-card form > p { margin:0 0 20px; }
.login-card form label { margin:0 0 9px; color:#f3f7ff; font-size:15px; font-weight:700; line-height:1.35; }
.login-card form input { min-height:50px; padding:12px 14px; border-radius:9px; font-size:15px; line-height:1.4; }
.login-card form button { min-height:50px; margin-top:2px; display:flex; align-items:center; justify-content:center; font-size:15px; font-weight:800; }
.login-card .errorlist { margin:0 0 24px; padding:14px 16px; list-style:none; border:1px solid #743044; border-radius:9px; background:#2b1921; color:#ff9aaa; font-size:14px; line-height:1.5; }
.login-card .errorlist li { margin:0; padding:0; }
.login-card .errorlist + p { margin-top:0; }
.login-card input:-webkit-autofill,.login-card input:-webkit-autofill:hover,.login-card input:-webkit-autofill:focus { -webkit-text-fill-color:#eff2f6; box-shadow:0 0 0 1000px #1c2231 inset; caret-color:#eff2f6; }
.progress { background:#31374a; }
.progress > div { background:#3874ff; }
.step { background:#1c3264; color:#85a9ff; }
.error-text, .danger, .login-card .errorlist { color: #ff8b9d; }
body.sidebar-collapsed .sidebar { width: 76px; padding-left: 14px; padding-right: 14px; }
body.sidebar-collapsed .shell { margin-left: 76px; }
body.sidebar-collapsed .brand { visibility:visible; min-height:46px; padding:5px; justify-content:center; }
body.sidebar-collapsed .brand-name, body.sidebar-collapsed .workspace,
body.sidebar-collapsed .nav-label, body.sidebar-collapsed .sidebar-bottom { display: none; }
body.sidebar-collapsed nav { margin-top: 24px; }
body.sidebar-collapsed nav a { justify-content: center; padding: 12px; }
body.sidebar-collapsed .nav-icon { font-size: 27px; }
body.sidebar-collapsed .sidebar-toggle { position:static; }
.empty .symbol { font-size:52px; line-height:1; color:#3874ff; }
.step { width:32px; height:32px; font-size:15px; font-weight:800; }
.icon-button { font-size:29px; min-width:46px; min-height:46px; padding:0; display:grid; place-items:center; }
.button-icon { font-size:25px; margin-right:8px; vertical-align:-6px; }
.network-icon { font-size:23px; vertical-align:-6px; margin-right:5px; color:#3874ff; }
.upload-icon { font-size:48px; color:#3874ff; margin-bottom:8px; }
.drop-zone { display:grid; place-items:center; align-content:center; gap:6px; }
.drop-zone input[type=file] { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; overflow: hidden; pointer-events: none; }
.drop-zone::after { content:'Обрати файл'; display:inline-flex; margin:16px auto 0; padding:10px 18px; border-radius:8px; background:#3874ff; color:#fff; font-weight:700; box-shadow:none; transition:background-color .15s ease; }
.drop-zone:hover::after { background:#4e82ff; }
.button-link { display:inline-flex; align-items:center; gap:5px; min-height:46px; padding:11px 18px; border-radius:9px; font-weight:700; color:white; }
.button-link:hover { color:white; background:#4e82ff; }
.export-actions { display:inline-flex; align-items:center; gap:12px; }
.export-actions a { display:block; }
.export-actions button { min-height:44px; padding:10px 17px; }
.nav-primary { border:1px solid #373e53; }
.workflow-strip { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:0 0 18px; }
.workflow-strip > div { display:grid; grid-template-columns:34px 1fr; column-gap:10px; align-items:center; padding:15px 17px; border:1px solid var(--line); border-radius:10px; background:#141824; }
.workflow-strip span { grid-row:1/3; display:grid; place-items:center; width:34px; height:34px; border-radius:50%; background:#31374a; color:#85a9ff; font-weight:800; }
.workflow-strip b { font-size:13px; }
.workflow-strip small { color:var(--muted); }
.import-layout { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:20px; align-items:stretch; }
.import-layout > * { min-width:0; }
.import-card { min-width:0; margin-bottom:20px; }
.import-card h2 { display:flex; align-items:center; margin-bottom:8px; }
.import-card .drop-zone { min-height:250px; margin-top:22px; }
.import-card .form-grid { grid-template-columns:repeat(2,minmax(0,1fr)); align-items:end; gap:15px; }
.import-card .form-grid label { min-width:0; margin-bottom:16px; display:grid; grid-template-rows:minmax(42px,auto) 42px; align-items:end; }
.import-card .form-grid input { min-width:0; height:42px; margin-top:7px; }
.file-summary { display:flex; align-items:center; min-height:32px; gap:5px; margin:12px 0 0; color:var(--muted); font-size:12px; }
.format-help { margin:4px 0 20px; color:var(--muted); }
.format-help summary,.import-history summary { cursor:pointer; font-weight:700; color:var(--ink); }
.format-help p { margin:10px 0 0; font-size:12px; }
.import-action { display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin-top:24px; }
.import-card .progress { display:none; }
.large-action { min-height:46px; padding:11px 19px; display:inline-flex; align-items:center; justify-content:center; }
.publish-panel { border-color:#373e53; }
.publish-actions { display:flex; align-items:center; justify-content:flex-end; gap:10px; flex-wrap:wrap; margin-top:22px; padding-top:20px; border-top:1px solid var(--line); }
.publish-actions > div { margin-right:auto; }
.publish-actions b,.publish-actions small { display:block; }
.publish-actions small { color:var(--muted); margin-top:3px; }
.import-history { padding:17px 22px; }
.import-history[open] summary { margin-bottom:14px; }
.connection-guide > summary,.backup-panel > summary { cursor:pointer; font-size:17px; font-weight:700; }
.connection-guide[open] > summary,.backup-panel[open] > summary { margin-bottom:28px; }
.guide-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(420px,1fr); gap:42px; align-items:start; }
.guide-grid > div,.guide-grid > form { min-width:0; }
.guide-grid h3 { margin:0 0 18px; font-size:18px; line-height:1.35; }
.guide-grid ol { display:grid; gap:12px; margin:0; padding-left:24px; color:var(--muted); line-height:1.55; }
.guide-grid li { margin:0; padding-left:2px; }
.guide-grid .notice { margin:22px 0 0; padding:14px 17px; font-size:13px; line-height:1.55; }
.guide-grid form { display:grid; gap:18px; align-content:start; }
.guide-grid form label { display:grid; gap:8px; margin:0; line-height:1.35; }
.guide-grid form label > small { color:var(--muted); font-weight:500; line-height:1.45; }
.guide-grid form input { height:48px; margin:0; }
.guide-grid form button { min-height:48px; width:max-content; max-width:100%; margin-top:2px; display:inline-flex; align-items:center; justify-content:center; gap:8px; }
.guide-grid form button .button-icon { margin:0; }
.guide-grid form > .muted { display:block; min-height:20px; margin:0; line-height:1.55; overflow-wrap:anywhere; }
.backup-row { display:grid; grid-template-columns:1fr auto auto; gap:10px; align-items:end; }
.backup-row label { margin:0; }
.backup-explanation { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:4px 0 22px; }
.backup-explanation > div { padding:16px 18px; border:1px solid var(--line); border-radius:12px; background:#1c2231; }
.backup-explanation b { display:flex; align-items:center; gap:8px; margin-bottom:7px; font-size:14px; }
.backup-explanation b .material-symbols-rounded { color:#85a9ff; font-size:24px; }
.backup-explanation p { margin:0; line-height:1.5; }
.compatible-backups { margin-top:22px; padding-top:20px; border-top:1px solid var(--line); }
.compatible-backups h3 { margin-bottom:12px; }
.backup-list-item { min-height:64px; padding:9px 10px 9px 14px; display:flex; align-items:center; justify-content:space-between; gap:15px; border:1px solid var(--line); border-radius:11px; background:#141824; }
.backup-list-item + .backup-list-item { margin-top:8px; }
.backup-list-item > div { min-width:0; display:flex; align-items:center; gap:11px; }
.backup-list-item > div > .material-symbols-rounded { flex:0 0 auto; color:#85a9ff; font-size:28px; }
.backup-list-item span { min-width:0; }
.backup-list-item b,.backup-list-item small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.backup-list-item b { font-size:13px; }
.backup-list-item small { margin-top:3px; color:var(--muted); font-size:11px; }
.backup-list-item button { flex:0 0 auto; }
.full-backup-note { margin:20px 0 0; line-height:1.55; }
.full-backup-note code,.backup-panel code { color:#cbd7ea; overflow-wrap:anywhere; }
.restore-backup { margin-top:22px; padding-top:20px; display:grid; grid-template-columns:minmax(220px,1fr) auto auto; align-items:end; gap:12px; border-top:1px solid var(--line); }
.restore-backup h3 { margin:0 0 5px; }
.restore-backup p { margin:0; max-width:620px; }
.backup-file-button { min-height:44px; margin:0; padding:9px 14px; display:inline-flex; align-items:center; justify-content:center; gap:8px; border:1px solid #373e53; border-radius:9px; background:#222834; color:var(--ink); font-size:13px; font-weight:700; cursor:pointer; }
.backup-file-button:hover { background:#31374a; border-color:#525b75; color:#fff; }
.backup-file-button input { position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
.backup-file-button .button-icon,.restore-button .button-icon { margin:0; }
.restore-button { min-height:44px; display:inline-flex; align-items:center; justify-content:center; gap:8px; border-color:#743044; color:#ff9aaa; }
.restore-button:hover { background:#401e2a; border-color:#a94660; color:#fff; }
.media-card-actions { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.media-card-actions .icon-button { min-width:36px; min-height:36px; padding:4px; }
.media-card-tools { display:flex; align-items:center; gap:6px; }
.media-card-usage { display:grid; gap:7px; margin-top:12px; padding-top:10px; border-top:1px solid var(--line); }
.media-post-link { min-width:0; display:flex; align-items:flex-start; gap:7px; padding:5px 0; text-align:left; border:0; background:transparent; color:var(--ink); font-size:12px; line-height:1.4; }
.media-post-link:hover { color:#85a9ff; }
.media-post-link .material-symbols-rounded { flex:0 0 auto; color:#85a9ff; font-size:18px; }
.media-post-link span:last-child { min-width:0; overflow-wrap:anywhere; }
.media-card-unused { margin:12px 0 0; color:var(--muted); font-size:12px; }
.dialog-actions button span { margin-right:0; font-size:inherit; }
.dialog-actions button .material-symbols-rounded { margin-right:8px; font-size:25px; }
.pager { min-height:46px; }
.pager-button,.calendar-nav { width:46px; height:44px; padding:0; display:grid; place-items:center; }
.pager-icon { font-size:30px; line-height:1; }
.page-info { min-width:62px; text-align:center; color:var(--ink); font-size:13px; font-weight:700; }
.calendar-toolbar .calendar-nav { flex:0 0 46px; }
.activity-meta { max-width:520px; overflow-wrap:anywhere; color:var(--muted); }
.target-panel { margin:0; padding:18px 20px; }
.target-head { min-height:42px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.target-identity { min-width:0; display:flex; align-items:baseline; gap:9px; }
.target-head b { font-size:14px; line-height:1.3; }
.target-network { color:var(--muted); font-size:12px; line-height:1; }
.target-panel .error-text { margin:8px 0 12px; }
.target-controls { flex:0 0 auto; display:flex; align-items:center; justify-content:flex-end; gap:9px; flex-wrap:wrap; }
.target-controls .badge,.target-action-button,.target-controls button { min-height:40px; margin:0; display:inline-flex; align-items:center; justify-content:center; gap:7px; }
.target-controls .badge { padding:7px 12px; border-radius:9px; font-size:11px; }
.target-action-button { padding:8px 13px; border:1px solid #373e53; border-radius:9px; background:#222834; color:var(--ink); font-size:13px; font-weight:700; white-space:nowrap; }
.target-action-button:hover { border-color:#525b75; background:#31374a; color:#fff; }
.target-action-button .button-icon,.target-controls button .button-icon { margin:0; font-size:20px; }
.target-meta { margin-top:12px; padding-top:12px; display:flex; align-items:center; gap:8px 20px; flex-wrap:wrap; border-top:1px solid var(--line); color:var(--muted); font-size:11px; }
.target-meta span { min-width:0; overflow-wrap:anywhere; }
.target-meta b { color:var(--muted); font-size:inherit; font-weight:700; }
#detail { width:min(980px,calc(100vw - 32px)); }
.detail-head { align-items:center; }
.detail-title { min-width:0; display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.detail-title h2 { margin:0; }
.detail-body { padding:24px 26px 26px; }
.detail-caption { margin:0 0 16px; white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.65; }
.detail-schedule { margin:4px 0 18px; display:flex; align-items:center; gap:7px; color:var(--muted); font-size:13px; }
.detail-schedule .button-icon { margin:0; color:#85a9ff; font-size:20px; }
.detail-targets { display:grid; gap:12px; }
.detail-actions { margin-top:18px; padding-top:18px; display:flex; align-items:center; justify-content:flex-end; gap:10px; flex-wrap:wrap; border-top:1px solid var(--line); }
.detail-actions button { min-height:42px; margin:0; }
.visually-hidden { position:absolute; left:0; top:0; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); clip-path:inset(50%); white-space:nowrap; border:0; }
.posts-table { min-width:900px; table-layout:fixed; }
.posts-table .post-select-cell { width:5%; text-align:center; }
.posts-table .post-select-cell input { margin:0; }
.posts-table .post-content-cell { width:36%; }
.posts-table .post-date-cell { width:21%; white-space:nowrap; }
.posts-table .post-networks-cell { width:10%; }
.posts-table .post-status-cell { width:17%; white-space:nowrap; }
.posts-table .post-action-cell { width:10%; text-align:right; }
.posts-table tbody tr { min-height:76px; }
.posts-table tbody td { min-height:76px; padding-top:10px; padding-bottom:10px; vertical-align:middle; }
.posts-table .post-cell { max-width:none; }
.posts-table .post-cell b { max-width:100%; color:var(--ink); font-size:13px; font-weight:700; line-height:1.35; }
.posts-table .post-cell small { display:block; margin-top:3px; line-height:1.3; }
.posts-table .badge { line-height:1; }
.post-networks-cell { overflow:hidden; }
.post-networks-list { width:100%; min-width:0; max-width:100%; display:flex; align-items:center; justify-content:flex-start; flex-wrap:wrap; gap:8px; overflow:visible; white-space:normal; }
.network-logo { width:34px; height:34px; flex:0 0 34px; display:inline-flex; align-items:center; justify-content:center; border:0; border-radius:50%; background:#1c2231; color:#4e82ff; }
.network-logo .network-icon { margin:0; color:inherit; font-size:21px; vertical-align:0; }
.target-status-list { display:flex; align-items:center; gap:5px; flex-wrap:nowrap; min-width:0; max-width:100%; overflow-x:auto; overflow-y:hidden; scrollbar-width:thin; }
.target-status-list > span { min-width:max-content; flex:0 0 auto; }
.target-status-list .badge { max-width:none; white-space:nowrap; text-align:center; }
.calendar-post .badge { margin-top:3px; }
.account-option { min-height:40px; padding:9px 13px; display:inline-flex; align-items:center; border-radius:9px; font-size:13px; }
.dashboard-heading { align-items:flex-start; gap:28px; }
.dashboard-heading > div:first-child { min-width:0; }
.dashboard-heading h1 { line-height:1.2; }
.dashboard-heading p { max-width:760px; line-height:1.55; }
.dashboard-heading .button-link { flex:0 0 auto; min-height:48px; margin-top:0; align-items:center; }
.dashboard-stats .stat { min-height:134px; display:flex; flex-direction:column; justify-content:center; }
.dashboard-stats .stat span { min-height:20px; display:flex; align-items:center; line-height:1.35; }
.dashboard-stats .stat strong { line-height:1; }
.dashboard-layout { grid-template-columns:minmax(0,2fr) minmax(300px,1fr); align-items:start; }
.dashboard-layout .panel-head { min-height:32px; gap:18px; }
.dashboard-layout .panel-head h2,.dashboard-layout .panel h3 { line-height:1.3; }
.dashboard-layout .panel-head a { flex:0 0 auto; line-height:1.3; }
.dashboard-posts-table { min-width:800px; table-layout:fixed; }
.dashboard-posts-table .post-content-cell { width:31%; }
.dashboard-posts-table .post-date-cell { width:26%; white-space:nowrap; }
.dashboard-posts-table .post-networks-cell { width:27%; white-space:nowrap; overflow:hidden; }
.dashboard-posts-table .post-action-cell { width:16%; text-align:right; }
.dashboard-posts-table .post-action-cell button { min-width:72px; padding-left:10px; padding-right:10px; }
.dashboard-posts-table tbody tr { height:82px; }
.dashboard-posts-table .post-cell { max-width:none; }
.dashboard-posts-table .post-cell b { max-width:100%; }
.dashboard-posts-table .post-networks-list { width:100%; max-width:100%; display:flex; align-items:center; flex-wrap:wrap; gap:6px; overflow:visible; }
.dashboard-posts-table .network-logo { width:30px; height:30px; flex-basis:30px; }
.account-event { min-height:64px; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.account-event .account-name { min-width:0; display:flex; align-items:center; gap:8px; }
.account-event .account-name .network-icon { margin:0; flex:0 0 auto; vertical-align:0; }
.account-event .account-name b { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13px; }
.account-event .badge { flex:0 0 auto; }
.dashboard-notifications-panel > h3 { margin-bottom:14px; }
.dashboard-notifications-panel .panel-head h3 { margin:0; }
.dashboard-plan-panel > .pager,.dashboard-notifications-panel > .pager { margin-top:16px; padding-top:14px; justify-content:center; border-top:1px solid var(--line); }
.dashboard-plan-panel > .pager .pager-button,.dashboard-notifications-panel > .pager .pager-button { width:40px; height:40px; }
@media (max-width:1100px) { .dashboard-heading { flex-direction:column; } .dashboard-layout { grid-template-columns:1fr; } }
.posts-table .post-action-cell button { min-width:76px; padding-left:11px; padding-right:11px; }
.wait-state { margin-top:5px; display:flex; align-items:center; gap:4px; color:#85a9ff; font-size:10px; font-weight:700; white-space:nowrap; }
.wait-state-icon { margin:0; font-size:15px; }
.target-wait-note { margin:12px 0; padding:10px 12px; display:flex; align-items:center; gap:7px; border:1px solid #385ea8; border-radius:10px; background:#16233e; color:#a9c3ff; font-size:12px; }
.target-wait-note .button-icon { margin:0; font-size:20px; }
.post-filters { display:grid; grid-template-columns:minmax(170px,1fr) 136px 116px 165px 150px 150px max-content max-content minmax(88px,max-content); align-items:center; gap:9px; overflow:visible; padding-bottom:4px; }
.post-filters input,.post-filters select,.post-filters button { height:42px; margin:0; }
.post-filters input,.post-filters select { width:100%; max-width:none; }
.post-filters button { display:inline-flex; align-items:center; justify-content:center; white-space:nowrap; }
.post-filters .spacer { display:none; }
.post-filters #post-total { min-width:88px; line-height:1.35; text-align:right; white-space:nowrap; }
.post-filters .filter-date { min-width:0; height:42px; margin:0; display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:7px; color:var(--muted); font-size:12px; font-weight:700; white-space:nowrap; }
.post-filters .date-trigger { width:100%; min-width:0; height:42px; padding:0 8px 0 10px; display:flex; align-items:center; justify-content:space-between; gap:5px; border-radius:12px; color:var(--muted); font-size:12px; font-weight:600; }
.post-filters .date-trigger.has-value { color:var(--ink); }
.date-trigger-value { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.date-trigger-icon { flex:0 0 auto; margin:0; color:var(--muted); font-size:20px; }
.post-filters .secondary-filter { background:transparent; }
.date-picker {
  position:fixed;
  z-index:160;
  width:330px;
  max-width:calc(100vw - 24px);
  padding:16px;
  border:1px solid #373e53;
  border-radius:16px;
  background:#111827;
  color:var(--ink);
  box-shadow:0 18px 48px #0008;
}
.date-picker[hidden] { display:none; }
.date-picker-head { min-height:42px; display:grid; grid-template-columns:38px 1fr 38px; align-items:center; gap:8px; margin-bottom:10px; }
.date-picker-head strong { text-align:center; font-size:14px; }
.date-picker-head button { width:38px; height:38px; padding:0; display:grid; place-items:center; border-radius:10px; }
.date-picker-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:4px; }
.date-picker-weekday { height:29px; display:grid; place-items:center; color:var(--muted); font-size:11px; font-weight:700; }
.date-picker-pad { min-height:36px; }
.date-picker .date-picker-day { width:100%; height:38px; min-width:0; padding:0; display:grid; place-items:center; border-color:transparent; border-radius:10px; background:transparent; color:var(--ink); font-size:12px; }
.date-picker .date-picker-day:hover { border-color:#4e82ff; background:#1c273a; }
.date-picker .date-picker-day.today { border-color:#4e82ff; color:#7da2ff; }
.date-picker .date-picker-day.selected { border-color:#3874ff; background:#3874ff; color:#fff; }
.date-picker-actions { display:flex; justify-content:space-between; gap:10px; margin-top:12px; padding-top:12px; border-top:1px solid #373e53; }
.date-picker-actions button { min-height:38px; padding:7px 11px; font-size:12px; }
@media (max-width:1250px) {
  .post-filters { grid-template-columns:minmax(190px,1fr) 142px 120px 172px; }
  .post-filters #post-total { text-align:left; }
}
@media (max-width:1550px) {
  body:not(.sidebar-collapsed) .post-filters { grid-template-columns:minmax(190px,1fr) 142px 120px 172px; }
  body:not(.sidebar-collapsed) .post-filters #post-total { text-align:left; }
}
.bulk-delete-bar { min-height:58px; margin:-6px 0 14px; padding:9px 12px 9px 16px; display:flex; align-items:center; justify-content:space-between; gap:16px; border:1px solid #373e53; border-radius:10px; background:#141824; }
.bulk-delete-bar[hidden] { display:none; }
.bulk-delete-bar > span { color:var(--ink); font-size:13px; font-weight:700; }
.format-example { margin:14px 0; padding:15px 17px; overflow:auto; border:1px solid #373e53; border-radius:9px; background:#0f111a; color:#cbd7ea; font:12px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace; white-space:pre; }
.sample-plan-link { min-height:42px; padding:9px 13px; display:inline-flex; align-items:center; gap:7px; border:1px solid #373e53; border-radius:9px; font-size:13px; font-weight:700; }
.sample-plan-link .button-icon { margin:0; }
.sample-plan-link:hover { background:#222834; color:#fff; }
.import-preview-image { width:58px; height:58px; margin:2px; object-fit:cover; border:1px solid #373e53; border-radius:8px; }
select {
  min-height:42px;
  padding-right:42px !important;
  border-radius:12px !important;
  appearance:none;
  -webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%239fa6bc' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") !important;
  background-repeat:no-repeat !important;
  background-position:right 12px center !important;
  background-size:18px 18px !important;
}

/* One rounded shape for the complete calendar and every custom popup list. */
.calendar-card {
  padding:20px;
  border:1px solid #373e53;
  border-radius:16px;
  background:#141824;
}
.calendar-card .calendar-toolbar { margin-bottom:16px; }
.calendar-card .calendar-toolbar h2 { margin:0 15px; }
.calendar-card .calendar-help { margin:15px 0 0; }
.calendar {
  overflow:hidden;
  border:1px solid #373e53;
  border-radius:14px;
  gap:1px;
  background:#373e53;
  isolation:isolate;
}
.calendar-cell { border:0; background:#141824; }
.calendar-post { border-radius:8px; }
.calendar-toolbar select { min-width:130px; }
.workspace-trigger { border-radius:12px; }
.workspace-menu {
  overflow:hidden;
  border-radius:14px;
}
.workspace-option { border-radius:10px; }
.profile-popup { border-radius:14px; }

main img,dialog:not(.image-preview-dialog) img {
  cursor:zoom-in;
  transition:outline-color .15s ease,transform .15s ease;
}
main img:hover,dialog:not(.image-preview-dialog) img:hover {
  outline:2px solid #4e82ff;
  outline-offset:2px;
}
.image-preview-dialog {
  width:min(1180px,calc(100vw - 40px));
  height:min(900px,calc(100vh - 40px));
  max-width:none;
  max-height:none;
  padding:0;
  overflow:auto;
  border:1px solid #525b75;
  border-radius:16px;
  background:#05080f;
}
.image-preview-layout { min-height:100%; padding:58px 28px 24px; display:flex; flex-direction:column; align-items:center; gap:14px; }
.image-preview-dialog figure {
  position:relative;
  width:100%;
  min-height:0;
  margin:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:14px;
}
.image-preview-dialog img {
  display:block;
  max-width:100%;
  max-height:min(62vh,620px);
  object-fit:contain;
  border-radius:10px;
}
.image-preview-dialog figcaption {
  min-height:20px;
  color:#d7dceb;
  font-size:13px;
  text-align:center;
}
.image-preview-close {
  position:absolute;
  top:14px;
  right:14px;
  z-index:2;
  width:44px;
  height:44px;
  padding:0;
  display:grid;
  place-items:center;
  border:1px solid #525b75;
  border-radius:50%;
  background:#141824;
  color:#fff;
  font-size:28px;
}
.image-preview-close:hover { background:#31374a; }
.image-preview-nav { position:absolute; top:calc(50% - 10px); z-index:3; width:46px; height:54px; display:grid; place-items:center; padding:0; transform:translateY(-50%); border:1px solid #525b75; border-radius:12px; background:#141824d9; color:#fff; font-size:34px; }
.image-preview-nav[hidden] { display:none; }
.image-preview-nav:hover { background:#31374a; }
.image-preview-prev { left:14px; }
.image-preview-next { right:14px; }
.image-preview-details { width:min(100%,760px); padding:16px 18px; border:1px solid #373e53; border-radius:12px; background:#141824; }
.image-preview-details[hidden] { display:none; }
.image-preview-details h3 { margin:0 0 10px; font-size:15px; }
.image-preview-actions { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:9px; margin:0; }
.image-preview-actions .button-link { min-height:42px; display:inline-flex; align-items:center; justify-content:center; gap:7px; margin:0; }
.image-replace-button { position:relative; overflow:hidden; cursor:pointer; }
.image-replace-button input { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; }
@media(max-width:720px){
  .image-preview-dialog { width:calc(100vw - 20px); height:calc(100dvh - 20px); border-radius:13px; }
  .image-preview-layout { padding:56px 14px 18px; }
  .image-preview-dialog img { max-height:48vh; }
  .image-preview-details { padding:13px; }
  .image-preview-actions > * { flex:0 1 auto; }
  .image-preview-close { top:9px; right:9px; }
  .image-preview-nav { width:42px; height:48px; }
  .image-preview-prev { left:8px; }
  .image-preview-next { right:8px; }
}
.workspace-dialog { width:min(480px,calc(100vw - 32px)); }
.workspace-dialog .dialog-body { padding:24px 28px 8px; }
.app-popup { width:min(520px,calc(100vw - 32px)); padding:0; overflow:hidden; }
.app-popup form { margin:0; }
.app-popup-heading { display:flex; align-items:center; gap:14px; }
.app-popup-heading > .material-symbols-rounded { width:42px; height:42px; display:grid; place-items:center; flex:0 0 42px; border-radius:50%; background:#1c3264; color:#85a9ff; font-size:25px; }
.app-popup-heading small { display:block; margin-bottom:3px; color:#85a9ff; font-size:10px; font-weight:800; letter-spacing:1.4px; }
.app-popup-heading h2 { margin:0; }
.app-popup-body { padding:24px 28px 8px; }
.app-popup-body p { margin:0 0 18px; color:var(--muted); font-size:14px; line-height:1.6; }
.app-popup-body label { margin:0 0 16px; }
.app-popup-body label[hidden] { display:none; }
.app-popup-body input { width:100%; margin-top:8px; }
.app-popup .dialog-actions { padding:18px 28px 22px; }
.app-popup.is-danger .app-popup-heading > .material-symbols-rounded { background:#401e2a; color:#ff8b9d; }
.danger-primary { background:#c62842 !important; border-color:#c62842 !important; color:#fff !important; }
.danger-primary:hover { background:#df3852 !important; border-color:#df3852 !important; color:#fff !important; }
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible { outline:2px solid #3874ff; outline-offset:2px; }

:root[data-theme="light"] { --bg:#f5f7fa; --ink:#31374a; --muted:#525b75; --line:#cbd0dd; --green:#3874ff; --light:#eff2f6; --sidebar:#fff; color-scheme:light; }
:root[data-theme="light"] body { background:#f5f7fa; color:var(--ink); }
:root[data-theme="light"] .sidebar { background:#fff; border-color:#cbd0dd; }
:root[data-theme="light"] .workspace small,:root[data-theme="light"] nav a,:root[data-theme="light"] .sidebar-bottom { color:#525b75; }
:root[data-theme="light"] nav a.active,:root[data-theme="light"] nav a:hover { background:#eff2f6; color:#3874ff; }
:root[data-theme="light"] .nav-icon { color:#525b75; }
:root[data-theme="light"] nav a.active .nav-icon,:root[data-theme="light"] nav a:hover .nav-icon { color:#3874ff; }
:root[data-theme="light"] header { background:#fff; border-color:#cbd0dd; }
:root[data-theme="light"] body { color:#31374a; }
:root[data-theme="light"] .muted { color:#525b75; }
:root[data-theme="light"] a { color:#3874ff; }
:root[data-theme="light"] .stat strong { color:#141824; }
:root[data-theme="light"] button { background:#fff; border-color:#cbd0dd; color:#31374a; box-shadow:none; }
:root[data-theme="light"] button:hover { background:#eff2f6; border-color:#8a94ad; color:#141824; }
:root[data-theme="light"] .primary,:root[data-theme="light"] .drop-zone::after,:root[data-theme="light"] .button-link { background:#3874ff; border-color:#3874ff; color:#fff; }
:root[data-theme="light"] .primary:hover,:root[data-theme="light"] .drop-zone:hover::after,:root[data-theme="light"] .button-link:hover { background:#4e82ff; border-color:#4e82ff; color:#fff; }
:root[data-theme="light"] input:not([type=checkbox]),:root[data-theme="light"] textarea,:root[data-theme="light"] select { background:#fff; border-color:#cbd0dd; color:#31374a; }
:root[data-theme="light"] .date-picker { background:#fff; border-color:#cbd0dd; color:#31374a; box-shadow:0 18px 48px #17232826; }
:root[data-theme="light"] .date-picker-actions { border-color:#cbd0dd; }
:root[data-theme="light"] .date-picker .date-picker-day { color:#31374a; }
:root[data-theme="light"] .date-picker .date-picker-day:hover { border-color:#3874ff; background:#eff2f6; }
:root[data-theme="light"] .date-picker .date-picker-day.today { border-color:#3874ff; color:#245fc7; }
:root[data-theme="light"] .date-picker .date-picker-day.selected { background:#3874ff; color:#fff; }
:root[data-theme="light"] input::placeholder,:root[data-theme="light"] textarea::placeholder { color:#8a94ad; opacity:1; }
:root[data-theme="light"] .stat,:root[data-theme="light"] .panel,:root[data-theme="light"] .table-wrap,:root[data-theme="light"] .media-card,:root[data-theme="light"] table,:root[data-theme="light"] .calendar { background:#fff; }
:root[data-theme="light"] .calendar-card { background:#fff; border-color:#cbd0dd; }
:root[data-theme="light"] .stat,:root[data-theme="light"] .panel,:root[data-theme="light"] .table-wrap,:root[data-theme="light"] .media-card { border-color:#cbd0dd; box-shadow:none; }
:root[data-theme="light"] th,:root[data-theme="light"] .calendar .day-label { background:#eff2f6; color:#525b75; }
:root[data-theme="light"] td,:root[data-theme="light"] th { border-color:#cbd0dd; }
:root[data-theme="light"] tr:hover td { background:#f5f7fa; }
:root[data-theme="light"] .notice { background:#eff2f6; border-color:#85a9ff; color:#31374a; }
:root[data-theme="light"] .drop-zone { background:#fff; border-color:#8a94ad; color:#3874ff; }
:root[data-theme="light"] dialog { background:#fff; color:#31374a; border-color:#cbd0dd; box-shadow:none; }
:root[data-theme="light"] dialog::backdrop { background:#0f1d3355; }
:root[data-theme="light"] .preview-panel { background:#f5f7fa; }
:root[data-theme="light"] .tabs button.active,:root[data-theme="light"] .social-preview { background:#fff; border-color:#cbd0dd; }
:root[data-theme="light"] .login { background:#f5f7fa; }
:root[data-theme="light"] .login-card { background:#fff; border-color:#cbd0dd; box-shadow:none; }
:root[data-theme="light"] .login-card h1,:root[data-theme="light"] .login-card form label { color:#141824; }
:root[data-theme="light"] .login-card .errorlist { border-color:#f2a5b2; background:#fff0f3; color:#9f1239; }
:root[data-theme="light"] .login-card input:-webkit-autofill,:root[data-theme="light"] .login-card input:-webkit-autofill:hover,:root[data-theme="light"] .login-card input:-webkit-autofill:focus { -webkit-text-fill-color:#31374a; box-shadow:0 0 0 1000px #fff inset; caret-color:#31374a; }
:root[data-theme="light"] .backup-file-button { background:#fff; border-color:#cbd0dd; color:#31374a; }
:root[data-theme="light"] .backup-file-button:hover { background:#eff2f6; border-color:#8a94ad; color:#141824; }
:root[data-theme="light"] .restore-button { background:#fff; border-color:#f2a5b2; color:#a91f38; }
:root[data-theme="light"] .restore-button:hover { background:#fde8ec; border-color:#c62842; color:#8c1630; }
:root[data-theme="light"] .bulk-delete-bar { background:#fff; border-color:#cbd0dd; }
:root[data-theme="light"] .format-example { background:#f5f7fa; border-color:#cbd0dd; color:#31374a; }
:root[data-theme="light"] .sample-plan-link { background:#fff; border-color:#cbd0dd; }
:root[data-theme="light"] .sample-plan-link:hover { background:#eff2f6; color:#141824; }
:root[data-theme="light"] .import-preview-image { border-color:#cbd0dd; }
:root[data-theme="light"] .workflow-strip > div { background:#fff; }
:root[data-theme="light"] .workflow-strip span { background:#e5edff; color:#3874ff; }
:root[data-theme="light"] .workspace-add { background:#fff; border-color:#cbd0dd; color:#3874ff; }
:root[data-theme="light"] .workspace-trigger { background:#fff; border-color:#cbd0dd; color:#31374a; }
:root[data-theme="light"] .workspace-menu { background:#fff; border-color:#cbd0dd; box-shadow:none; }
:root[data-theme="light"] .workspace-option:hover,:root[data-theme="light"] .workspace-option:focus-within { background:#eff2f6; }
:root[data-theme="light"] .workspace-option.active { background:#e5edff; }
:root[data-theme="light"] .workspace-select { color:#31374a; }
:root[data-theme="light"] .workspace-option-actions button:hover { background:#e5edff; color:#141824; }
:root[data-theme="light"] .workspace-option-actions .delete:hover { background:#fde8ec; color:#a91f38; }
:root[data-theme="light"] .sidebar-toggle { background:transparent; border-color:#cbd0dd; color:#3874ff; box-shadow:none; }
:root[data-theme="light"] .sidebar-toggle:hover { background:#eff2f6; border-color:#8a94ad; color:#141824; }
:root[data-theme="light"] .profile-trigger:hover,:root[data-theme="light"] .profile-menu[open] .profile-trigger { background:#eff2f6; border-color:#cbd0dd; }
:root[data-theme="light"] .profile-avatar { background:#e5edff; color:#3874ff; }
:root[data-theme="light"] .profile-copy b,:root[data-theme="light"] .profile-popup-head b { color:#141824; }
:root[data-theme="light"] .profile-copy small,:root[data-theme="light"] .profile-popup-head small,:root[data-theme="light"] .profile-chevron { color:#525b75; }
:root[data-theme="light"] .profile-popup { background:#fff; border-color:#cbd0dd; box-shadow:none; }
:root[data-theme="light"] .profile-action { color:#31374a; }
:root[data-theme="light"] .profile-action:hover { background:#eff2f6; color:#141824; }
:root[data-theme="light"] .profile-logout,:root[data-theme="light"] .profile-logout .material-symbols-rounded { color:#c62842; }
:root[data-theme="light"] .profile-logout:hover { background:#fde8ec; color:#a91f38; }
:root[data-theme="light"] .backup-explanation > div,:root[data-theme="light"] .backup-list-item { background:#fff; border-color:#cbd0dd; }
:root[data-theme="light"] .backup-explanation b .material-symbols-rounded,:root[data-theme="light"] .backup-list-item > div > .material-symbols-rounded { color:#3874ff; }
:root[data-theme="light"] .full-backup-note code,:root[data-theme="light"] .backup-panel code { color:#34445a; }
:root[data-theme="light"] .network { background:#f5f7fa; border-color:#cbd0dd; color:#31374a; }
:root[data-theme="light"] .network .network-icon { color:#3874ff; }
:root[data-theme="light"] .badge { background:#e5eaf1; color:#34445a; }
:root[data-theme="light"] .badge.SCHEDULED,:root[data-theme="light"] .badge.WAITING,:root[data-theme="light"] .badge.WAITING_META,:root[data-theme="light"] .badge.NATIVE_SCHEDULED,:root[data-theme="light"] .badge.CONNECTED,:root[data-theme="light"] .badge.READY { background:#dbeafe; color:#174b91; }
:root[data-theme="light"] .wait-state { color:#245fc7; }
:root[data-theme="light"] .target-wait-note { background:#eff5ff; border-color:#85a9ff; color:#174b91; }
:root[data-theme="light"] .target-action-button { border-color:#cbd0dd; background:#fff; color:#31374a; }
:root[data-theme="light"] .target-action-button:hover { border-color:#8a94ad; background:#eff2f6; color:#141824; }
:root[data-theme="light"] .detail-schedule .button-icon { color:#245fc7; }
:root[data-theme="light"] .badge.PUBLISHED,:root[data-theme="light"] .badge.COMPLETED { background:#dcfce7; color:#166534; }
:root[data-theme="light"] .badge.FAILED,:root[data-theme="light"] .badge.REVIEW,:root[data-theme="light"] .badge.INVALID,:root[data-theme="light"] .badge.EXPIRED { background:#fee2e2; color:#991b1b; }
:root[data-theme="light"] .badge.RETRY,:root[data-theme="light"] .badge.PROCESSING,:root[data-theme="light"] .badge.PARTIALLY_PUBLISHED { background:#fef3c7; color:#854d0e; }
:root[data-theme="light"] .app-popup-heading > .material-symbols-rounded { background:#e5edff; color:#3874ff; }
:root[data-theme="light"] .app-popup.is-danger .app-popup-heading > .material-symbols-rounded { background:#fde8ec; color:#c62842; }
:root[data-theme="light"] .calendar-cell { border-color:#cbd0dd; }
:root[data-theme="light"] .calendar { border-color:#cbd0dd; background:#cbd0dd; }
:root[data-theme="light"] .calendar-cell { border:0; background:#fff; }
:root[data-theme="light"] .calendar-cell.today { background:#eff2f6; }
:root[data-theme="light"] .calendar-post { background:#e5edff; border-left-color:#3874ff; color:#31374a; }
:root[data-theme="light"] footer { border-color:#cbd0dd; color:#525b75; }
:root[data-theme="light"] .oauth-error-card code { background:#f5f7fa; border-color:#cbd0dd; color:#31374a; }
:root[data-theme="light"] .page-heading h1,:root[data-theme="light"] h2,:root[data-theme="light"] h3,:root[data-theme="light"] .panel,:root[data-theme="light"] .stat { color:#141824; }
:root[data-theme="light"] .file-summary,:root[data-theme="light"] .publish-actions small,:root[data-theme="light"] .workflow-strip small { color:#525b75; }
@media (max-width:900px) { .import-layout,.guide-grid,.backup-explanation { grid-template-columns:1fr; } .backup-row,.restore-backup { grid-template-columns:1fr; } .workflow-strip { grid-template-columns:1fr; } .form-grid.three { grid-template-columns:1fr; } .theme-toggle { min-width:auto; } .theme-toggle #theme-label { display:none; } }
@media (max-width:720px) { .calendar-card { padding:12px; border-radius:14px; } .calendar-card .calendar-toolbar h2 { width:100%; margin:4px 0 0; } }
@media (max-width: 1050px) and (min-width: 721px) {
  body.sidebar-collapsed .sidebar { width: 72px; }
  body.sidebar-collapsed .shell { margin-left: 72px; }
}
@media (max-width: 720px) {
  .sidebar { position:fixed; width:210px; padding:20px 14px; border-right:1px solid #373e53; border-bottom:0; }
  .sidebar .brand { display:none !important; }
  .sidebar .workspace { display:block; }
  .sidebar .sidebar-bottom { display:block; }
  .sidebar nav { display:grid; overflow:visible; }
  .shell { margin-left:210px; }
  body.sidebar-collapsed .sidebar { width:68px; padding:18px 10px; }
  body.sidebar-collapsed .shell { margin-left:68px; }
  body.sidebar-collapsed nav { margin-top:28px; display:grid; overflow:visible; }
  body.sidebar-collapsed .nav-label { display:none; }
  body.sidebar-collapsed .workspace, body.sidebar-collapsed .sidebar-bottom { display:none; }
  body.sidebar-collapsed nav a { padding:10px; }
  .sidebar-toggle { display:grid; position:static; }
  body.sidebar-collapsed .sidebar-toggle { position:static; }
  header { padding:0 14px; }
  header #breadcrumb { display:none; }
  #create-top { font-size:0; min-width:44px; padding:8px; }
  #create-top .button-icon { margin:0; font-size:25px; }
  main#main { padding:22px 14px; }
  .page-heading { align-items:flex-start; gap:15px; }
  .page-heading .button-link { font-size:0; min-width:46px; padding:10px; }
  .page-heading .button-link .button-icon { font-size:26px; margin:0; }
  .publish-actions { align-items:stretch; }
  .publish-actions > * { width:100%; }
  .large-action { width:100%; }
  .post-filters { width:100%; }
}
.credentials-actions { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.credentials-actions button { margin:0; }
.guide-grid form input[readonly] { background:#1c2231; border-color:#373e53; color:#cbd5e1; cursor:default; }
:root[data-theme="light"] .guide-grid form input[readonly] { background:#eff2f6; border-color:#cbd3e1; color:#31374a; }

/* Dashboard import history and proportional navigation affordances. */
.recent-uploads { display:grid; gap:0; }
.upload-summary { padding:16px 0; border-top:1px solid var(--line); }
.upload-summary:first-child { padding-top:0; border-top:0; }
.upload-summary:last-child { padding-bottom:0; }
.upload-summary-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:7px; }
.upload-summary-heading strong { min-width:0; overflow-wrap:anywhere; }
.upload-summary p { margin:4px 0; font-size:13px; }
.inline-arrow { display:inline-block; font-size:1.5em; line-height:1; vertical-align:middle; margin-left:5px; }
.arrow-link { display:inline-flex; align-items:center; white-space:nowrap; }
.pager-icon { font-size:34px; }
.profile-chevron { font-size:26px; }
select { background-size:16px 16px !important; padding-right:38px !important; }
.schedule-queue-guide { margin:-4px 0 18px; padding:14px 16px; display:flex; align-items:flex-start; gap:12px; border:1px solid #385ea8; border-radius:12px; background:#111c33; color:#b7c9ef; }
.schedule-queue-guide > .button-icon { flex:0 0 auto; margin:0; font-size:25px; color:#6f9cff; }
.schedule-queue-guide div { display:grid; gap:3px; }
.schedule-queue-guide b { color:var(--ink); }
.schedule-queue-guide span { font-size:12px; line-height:1.45; }
.post-date-cell strong { display:block; font-size:12px; white-space:nowrap; }
.publish-time-note { margin-top:5px; display:flex; align-items:center; gap:4px; color:#85a9ff; font-size:10px; font-weight:700; white-space:nowrap; }
.publish-time-note .material-symbols-rounded { font-size:15px; }
.publish-time-note.is-past { color:var(--muted); }
:root[data-theme="light"] .schedule-queue-guide { background:#eff5ff; border-color:#85a9ff; color:#34445a; }
:root[data-theme="light"] .schedule-queue-guide > .button-icon,
:root[data-theme="light"] .publish-time-note { color:#245fc7; }
/* Style the expanded menu itself, rather than only its closed trigger. */
@supports (appearance:base-select) {
  select, select::picker(select) { appearance:base-select; }
  select { background-image:none !important; padding-right:14px !important; align-items:center; gap:12px; white-space:nowrap; }
  select::picker-icon { content:""; display:block; flex:0 0 14px; width:14px; height:14px; margin-left:auto; background:currentColor; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; transition:rotate .15s; }
  select:open::picker-icon { rotate:180deg; }
  select::picker(select) { border:1px solid var(--line); border-radius:14px; padding:6px; margin-top:6px; background:var(--bg); color:var(--ink); box-shadow:0 12px 32px #0005; max-height:320px; overflow:auto; }
  select option { padding:10px 12px; border-radius:9px; min-height:40px; }
  select option + option { margin-top:4px; }
  select option:focus-visible { outline:2px solid var(--blue, #3874ff); outline-offset:-2px; }
  select option:hover, select option:focus-visible { background:#3874ff26; }
  select option:checked { background:#3874ff35; }
}
.workspace-menu,.profile-popup { border-radius:14px; overflow:hidden; }
@media(max-width:600px) { .dashboard-plan-panel .panel-head { align-items:flex-start; gap:12px; flex-wrap:wrap; } .upload-summary-heading { align-items:flex-start; } }

summary::marker { font-size:1.3em; }
.environment-badge { display:inline-flex; align-items:center; min-height:32px; padding:6px 11px; border:1px solid #b7791f; border-radius:999px; background:#3d3018; color:#f8cb70; font-size:11px; font-weight:800; letter-spacing:.04em; white-space:nowrap; }
:root[data-theme="light"] .environment-badge { background:#fef3c7; border-color:#d69e2e; color:#854d0e; }

/* Responsive application shell, tablet layouts and phone card views. */
.sidebar-backdrop { display:none; }
.calendar-scroll,#post-table,.dashboard-layout > *,.dashboard-layout > * > * { min-width:0; max-width:100%; }
.calendar-scroll { overflow-x:auto; border-radius:14px; overscroll-behavior-inline:contain; scrollbar-gutter:stable; }
.table-wrap { max-width:100%; overscroll-behavior-inline:contain; }

@media (max-width:1024px) {
  main#main { max-width:none; padding:26px 24px; }
  .stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .dashboard-layout { grid-template-columns:1fr; }
  .dashboard-layout > div { min-width:0; }
  .editor-columns { grid-template-columns:1fr; }
  .preview-panel { display:block; }
  .guide-grid { grid-template-columns:1fr; gap:28px; }
  .post-filters { grid-template-columns:minmax(180px,1fr) repeat(3,minmax(130px,.7fr)); }
  .media-grid { grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); }
}

@media (max-width:800px) {
  html,body { width:100%; max-width:100%; overflow-x:hidden; }
  body { min-height:100dvh; }
  .sidebar {
    z-index:60; width:min(300px,calc(100vw - 44px)); padding:18px 14px 24px;
    transform:translateX(0); box-shadow:18px 0 48px #02061180;
    transition:transform .2s ease;
  }
  .sidebar .brand { display:flex !important; padding-right:8px; }
  .sidebar .workspace,.sidebar .sidebar-bottom { display:block; }
  .sidebar nav { display:grid; overflow:visible; }
  .sidebar .nav-label { display:inline; }
  body.sidebar-collapsed .sidebar { width:min(300px,calc(100vw - 44px)); padding:18px 14px 24px; transform:translateX(-105%); }
  body.sidebar-collapsed .brand { display:flex !important; justify-content:flex-start; padding:5px 8px; }
  body.sidebar-collapsed .brand-name,body.sidebar-collapsed .workspace,body.sidebar-collapsed .nav-label,body.sidebar-collapsed .sidebar-bottom { display:block; }
  body.sidebar-collapsed nav { margin-top:0; }
  body.sidebar-collapsed nav a { justify-content:flex-start; padding:12px 14px; }
  .sidebar-backdrop { position:fixed; inset:0; z-index:55; width:100%; height:100%; padding:0; border:0; border-radius:0; background:#02061199; }
  body:not(.sidebar-collapsed) .sidebar-backdrop { display:block; }
  .shell,body.sidebar-collapsed .shell { width:100%; margin-left:0; }
  header { height:64px; padding:0 12px; }
  header > div { gap:8px; }
  header #breadcrumb,.environment-badge { display:none; }
  .header-start { gap:8px; }
  .sidebar-toggle { width:42px; height:42px; flex-basis:42px; }
  .theme-toggle { width:42px; min-width:42px; height:42px; padding:0; }
  .theme-toggle #theme-label { display:none; }
  #create-top { width:42px; min-width:42px; height:42px; padding:0; font-size:0; }
  #create-top .button-icon { margin:0; font-size:25px; }
  main#main { width:100%; min-width:0; padding:18px 12px 28px; }
  footer { padding:16px 12px; }
  footer span { display:none; }
  h1 { font-size:26px; line-height:1.2; }
  h2 { font-size:19px; }
  .page-heading,.dashboard-heading { margin-bottom:20px; flex-direction:row; align-items:flex-start; flex-wrap:wrap; gap:12px; }
  .page-heading > div:first-child { flex:1 1 210px; }
  .page-heading p { margin-bottom:0; }
  .page-heading .button-link { min-width:44px; padding:9px 12px; font-size:0; }
  .page-heading .button-link .button-icon { margin:0; }
  .export-actions { gap:8px; }
  .export-actions button { min-width:68px; min-height:42px; padding:8px 10px; }
  .stats { gap:10px; margin:18px 0; }
  .stat,.dashboard-stats .stat { min-height:108px; padding:16px; }
  .stat strong { margin-top:9px; font-size:30px; }
  .panel { padding:16px; margin-bottom:14px; }
  .panel-head { align-items:flex-start; gap:10px; }
  .panel-head h2 { font-size:17px; }
  .dashboard-layout { display:grid; gap:0; }
  .dashboard-posts-panel .table-wrap { overflow:visible; border:0; background:transparent; }
  .dashboard-posts-table { display:block; width:100%; min-width:0; }
  .dashboard-posts-table tbody { display:grid; gap:10px; }
  .dashboard-posts-table tbody tr { height:auto; min-height:0; }
  .dashboard-posts-table tbody td { height:auto; }
  .dashboard-posts-table tr { height:auto; padding:12px; display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"content content" "date network" "action action"; gap:10px 8px; border:1px solid var(--line); border-radius:11px; background:var(--bg); }
  .dashboard-posts-table td { width:auto !important; height:auto; padding:0; border:0; background:transparent !important; text-align:left; white-space:normal; }
  .dashboard-posts-table .post-content-cell { grid-area:content; }
  .dashboard-posts-table .post-date-cell { grid-area:date; }
  .dashboard-posts-table .post-networks-cell { grid-area:network; justify-self:end; }
  .dashboard-posts-table .post-action-cell { grid-area:action; justify-self:end; }
  .dashboard-posts-table .post-cell { align-items:flex-start; }
  .dashboard-posts-table .post-cell div { min-width:0; }
  .dashboard-posts-table .post-cell b { white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
  .dashboard-posts-table .post-date-cell strong { white-space:normal; }
  .dashboard-posts-table .publish-time-note { white-space:normal; }
  .account-event { min-height:58px; }
  .schedule-queue-guide { padding:13px; }
  .post-filters { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
  .post-filters #search,.post-filters #sort-filter,.post-filters #post-total { grid-column:1/-1; }
  .post-filters .filter-date { display:block; height:42px; }
  .post-filters .filter-date-label { display:none; }
  .post-filters .date-trigger { padding-left:12px; padding-right:12px; }
  .post-filters #filter,.post-filters #reset-filters { width:100%; }
  .post-filters #post-total { min-height:24px; text-align:center; }
  #post-pager { width:100%; }
  .pager { width:100%; justify-content:center; }
  .date-picker { width:calc(100vw - 24px); padding:14px; }
  #post-table > .table-wrap { overflow:visible; border:0; background:transparent; }
  .posts-table { display:block; width:100%; min-width:0; }
  .posts-table thead { display:none; }
  .posts-table tbody { display:grid; gap:10px; }
  .posts-table tbody tr { height:auto; min-height:0; }
  .posts-table tr { height:auto; padding:12px; display:grid; grid-template-columns:26px minmax(0,1fr); grid-template-areas:"select content" "date date" "network status" "action action"; gap:10px 8px; border:1px solid var(--line); border-radius:11px; background:#141824; }
  .posts-table td { width:auto !important; height:auto !important; padding:0; border:0; background:transparent !important; text-align:left; white-space:normal; }
  .posts-table .post-select-cell { grid-area:select; align-self:start; }
  .posts-table .post-content-cell { grid-area:content; }
  .posts-table .post-date-cell { grid-area:date; }
  .posts-table .post-networks-cell { grid-area:network; }
  .posts-table .post-status-cell { grid-area:status; justify-self:end; align-self:center; }
  .posts-table .post-action-cell { grid-area:action; }
  .posts-table .post-action-cell button { width:100%; }
  .posts-table .post-cell { align-items:flex-start; }
  .posts-table .post-cell div { min-width:0; }
  .posts-table .post-cell b { white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
  .posts-table .publish-time-note { white-space:normal; }
  .bulk-delete-bar { align-items:stretch; flex-direction:column; }
  .bulk-delete-bar button { width:100%; }
  .calendar-card { padding:12px; overflow:hidden; }
  .calendar-toolbar { display:grid; grid-template-columns:44px 1fr 44px; gap:8px; }
  .calendar-toolbar #cal-today { width:100%; }
  .calendar-toolbar h2 { grid-column:1/-1; grid-row:2; width:100%; margin:4px 0 !important; text-align:center; }
  .calendar-toolbar .spacer { display:none; }
  .calendar-toolbar select { grid-column:1/-1; width:100%; }
  .calendar-scroll { width:100%; }
  .calendar:not(.single) { min-width:700px; }
  .calendar.single { min-width:0; }
  .calendar-cell { min-height:110px; }
  .calendar.week .calendar-cell { min-height:280px; }
  .workflow-strip { gap:8px; }
  .workflow-strip > div { padding:12px; }
  .import-card .drop-zone { min-height:190px; }
  .import-card .form-grid,.form-grid,.form-grid.three { grid-template-columns:1fr; }
  .account-options { display:grid; grid-template-columns:1fr; }
  .account-option { width:100%; }
  .sample-plan-link { width:100%; justify-content:center; text-align:center; }
  .publish-actions { align-items:stretch; }
  .publish-actions > * { width:100%; }
  .guide-grid { gap:22px; }
  .connection-guide > summary,.backup-panel > summary { font-size:15px; }
  .guide-grid ol { padding-left:20px; }
  .guide-grid form button,.credentials-actions button { width:100%; }
  .backup-row,.restore-backup,.backup-explanation { grid-template-columns:1fr; }
  .backup-list-item { align-items:stretch; flex-direction:column; }
  .backup-list-item button { width:100%; }
  .media-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .media-card img,.media-card video { height:120px; }
  dialog:not(.image-preview-dialog) { width:calc(100vw - 16px); max-width:none; max-height:calc(100dvh - 16px); margin:auto; border-radius:13px; overflow:auto; }
  .dialog-head { padding:16px; }
  .dialog-head h2 { font-size:18px; }
  .editor-columns { padding:16px; }
  .dialog-actions { padding:14px 16px; align-items:stretch; flex-direction:column; }
  .dialog-actions > button { width:100%; }
  .dialog-actions > span { width:100%; margin:0; }
  .preview-panel { display:none; }
  #detail { width:calc(100vw - 16px); }
  .detail-body { padding:16px; }
  .detail-title { gap:8px; }
  .target-panel { padding:14px; }
  .target-head { align-items:stretch; flex-direction:column; gap:12px; }
  .target-identity { align-items:center; flex-wrap:wrap; }
  .target-controls { width:100%; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .target-controls > * { width:100%; min-width:0; text-align:center; }
  .target-controls > :only-child { grid-column:1/-1; }
  .target-meta { align-items:flex-start; flex-direction:column; gap:5px; }
  .detail-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .detail-actions button { width:100%; }
  .detail-actions > :only-child { grid-column:1/-1; }
  #toast { left:12px; right:12px; bottom:12px; max-width:none; }
}

@media (max-width:380px) {
  main#main { padding-left:10px; padding-right:10px; }
  .stats { grid-template-columns:1fr; }
  .media-grid { grid-template-columns:1fr; }
  .post-filters { grid-template-columns:1fr; }
  .post-filters > *,.post-filters #search,.post-filters #sort-filter,.post-filters #post-total { grid-column:1; }
  .dashboard-posts-table tr { grid-template-columns:1fr; grid-template-areas:"content" "date" "network" "action"; }
  .dashboard-posts-table .post-networks-cell,.dashboard-posts-table .post-action-cell { justify-self:stretch; }
  .dashboard-posts-table .post-action-cell button { width:100%; }
}

.app-language-toggle{min-width:46px;height:44px;padding:0 12px;border:1px solid #373e53;border-radius:10px;background:#1b2030;color:#b9c9ff;font:inherit;font-size:14px;font-weight:700;line-height:1;cursor:pointer}.app-language-toggle:hover{border-color:#7f96ff;color:#fff}.network-icon-svg{display:inline-block;width:20px;height:20px;flex:0 0 20px;vertical-align:middle}.network .network-icon-svg{margin:0 5px 0 0}.network-logo .network-icon-svg{width:19px;height:19px;flex-basis:19px}.account-option .network-icon-svg{margin-right:5px}.manual-task-network{display:inline-flex;align-items:center;gap:6px}.manual-task-network:before{content:none!important}@media(max-width:720px){.app-language-toggle{min-width:42px;height:42px;padding:0 10px}}

/* Keep the primary create-post label readable and aligned beside its icon. */
header #create-top { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:46px; padding:10px 18px; font-size:15px; line-height:1.2; white-space:nowrap; }
header #create-top .button-icon { margin:0; font-size:22px; line-height:1; }
@media (max-width:720px) {
  header #create-top { width:auto; min-width:0; height:42px; padding:0 12px; font-size:14px; gap:6px; }
  header #create-top .button-icon { font-size:20px; }
}

.admin-shortcut,.stop-impersonation button { display:inline-flex; align-items:center; justify-content:center; min-height:42px; padding:8px 14px; border:1px solid #39435c; border-radius:10px; background:#1c2334; color:#dfe6ff; font-size:14px; font-weight:700; text-decoration:none; white-space:nowrap; }
.admin-shortcut:hover,.stop-impersonation button:hover { background:#27334e; }
.stop-impersonation { margin:0; }
.subscription-expired-banner { margin:14px 28px 0; padding:14px 18px; border:1px solid #94703b; border-radius:12px; background:#352b1a; color:#ffe1a2; font-size:15px; font-weight:650; }
body[data-subscription-expired="true"] .sidebar nav a:not(:first-child),body[data-subscription-expired="true"] #create-top,body[data-subscription-expired="true"] #manual-bell,body[data-subscription-expired="true"] #add-workspace,body[data-subscription-expired="true"] #workspace-trigger { display:none !important; }
