:root {
  --bg: #101111;
  --sidebar: #151616;
  --surface: #1a1b1b;
  --surface-2: #202121;
  --surface-3: #292a29;
  --line: rgba(255,255,255,.08);
  --line-strong: rgba(255,255,255,.14);
  --text: #f5f5f2;
  --muted: #989b96;
  --subtle: #686c67;
  --coral: #ff765f;
  --coral-soft: rgba(255,118,95,.12);
  --coral-line: rgba(255,118,95,.34);
  --green: #71d3a4;
  --yellow: #efbd68;
  --blue: #7fa9ee;
  --purple: #b595ed;
  --shadow: 0 22px 60px rgba(0,0,0,.2);
  --radius: 12px;
  --radius-sm: 8px;
  --font: "DM Sans", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button { border: 0; cursor: pointer; background: none; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
svg { display: block; }
.app-shell { display: flex; min-height: 100vh; }

.sidebar { width: 250px; flex: 0 0 250px; display: flex; flex-direction: column; background: var(--sidebar); border-right: 1px solid var(--line); padding: 24px 16px 16px; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 8px; }
.brand-icon { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: #f7f7f3; overflow: hidden; }
.brand-icon img { width: 29px; height: 29px; object-fit: contain; }
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-size: 16px; letter-spacing: -.25px; }
.brand-copy span { color: var(--subtle); font-size: 10px; }
.workspace-switcher { margin: 28px 0 22px; padding: 10px; display: flex; align-items: center; gap: 9px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.workspace-switcher > div:nth-child(2) { min-width: 0; flex: 1; display: grid; gap: 3px; }
.workspace-name, .workspace-plan { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-name { font-size: 12px; font-weight: 600; }
.workspace-plan { font-size: 10px; color: var(--subtle); }
.avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; font-size: 11px; font-weight: 700; }
.avatar-coral { color: #32120c; background: #ff9c83; }
.avatar-blue { color: #102541; background: #86aef0; }
.icon-btn { width: 36px; height: 36px; border-radius: 8px; display: inline-grid; place-items: center; color: var(--muted); transition: .18s ease; }
.icon-btn:hover { color: var(--text); background: var(--surface-3); }
.icon-btn.compact { width: 24px; height: 24px; font-size: 16px; }
.main-nav { display: grid; gap: 3px; }
.nav-label { padding: 0 11px 8px; color: var(--subtle); font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.channel-label { margin-top: 25px; }
.nav-item { min-height: 40px; padding: 0 11px; display: flex; align-items: center; gap: 11px; border-radius: 8px; color: var(--muted); font-size: 13px; text-align: left; transition: .18s ease; }
.nav-item:hover { background: rgba(255,255,255,.045); color: var(--text); }
.nav-item.active { color: var(--text); background: var(--coral-soft); box-shadow: inset 2px 0 0 var(--coral); }
.nav-icon { width: 17px; height: 17px; display: grid; place-items: center; color: currentColor; }
.nav-item.active .nav-icon { color: var(--coral); }
.nav-hint { margin-left: auto; color: var(--subtle); font-size: 10px; }
.nav-count { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; display: grid; place-items: center; border-radius: 10px; background: var(--coral); color: #30120c; font-size: 10px; font-weight: 700; }
.channel-mark { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 5px; font-size: 12px; font-weight: 700; }
.douyin { background: #e7e6e1; color: #121313; }
.xhs { background: #d86e71; color: #fff; font-size: 10px; }
.connected-dot { width: 6px; height: 6px; margin-left: auto; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(113,211,164,.13); }
.soon { margin-left: auto; color: var(--subtle); font-size: 10px; }
.disabled-channel { opacity: .55; }
.sidebar-bottom { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.quota { padding: 0 5px 16px; }
.quota-top { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }
.quota-top b { color: var(--text); font-size: 11px; }
.quota-bar { height: 5px; margin: 9px 0 7px; background: var(--surface-3); border-radius: 5px; overflow: hidden; }
.quota-bar i { display: block; width: 68%; height: 100%; border-radius: inherit; background: var(--coral); }
.quota-note { color: var(--subtle); font-size: 10px; }
.side-action { width: 100%; min-height: 38px; display: flex; align-items: center; gap: 9px; padding: 0 10px; border-radius: 8px; color: var(--muted); font-size: 12px; text-align: left; }
.side-action:hover { color: var(--text); background: var(--surface); }
.side-action span { width: 16px; height: 16px; display: grid; place-items: center; }
.profile { margin-top: 10px; padding: 10px 3px 0; display: flex; align-items: center; gap: 9px; border-top: 1px solid var(--line); }
.profile > div:nth-child(2) { display: grid; gap: 2px; min-width: 0; flex: 1; }
.profile strong { font-size: 11px; }
.profile span { color: var(--subtle); font-size: 10px; overflow: hidden; text-overflow: ellipsis; }

.main { min-width: 0; flex: 1; background: #121313; }
.topbar { height: 76px; padding: 0 42px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; align-items: center; gap: 11px; color: var(--subtle); font-size: 12px; }
.breadcrumb i { color: var(--subtle); font-style: normal; }
.breadcrumb strong { color: var(--text); font-weight: 600; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.top-actions .icon-btn { position: relative; }
.top-actions .icon-btn em { position: absolute; width: 5px; height: 5px; right: 8px; top: 8px; border-radius: 50%; background: var(--coral); }
.new-post-btn { min-height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 15px; border-radius: 8px; background: var(--coral); color: #31120d; font-weight: 700; font-size: 12px; transition: .18s ease; }
.new-post-btn:hover { background: #ff8b76; transform: translateY(-1px); }
.new-post-btn span { width: 15px; height: 15px; }
.mobile-menu { display: none; }
.page { max-width: 1400px; margin: 0 auto; padding: 38px 42px 60px; }
.page-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; margin-bottom: 28px; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--coral); font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.page-title { margin: 9px 0 7px; color: var(--text); font-size: 28px; line-height: 1.2; letter-spacing: -.04em; }
.page-subtitle { max-width: 580px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.header-date { color: var(--muted); font-size: 12px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 13px; margin-bottom: 24px; }
.stat-card { min-height: 116px; padding: 17px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.stat-label { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 11px; }
.stat-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; color: var(--coral); background: var(--coral-soft); }
.stat-value { margin-top: 13px; font-size: 25px; font-weight: 700; letter-spacing: -.04em; }
.stat-foot { display: flex; align-items: center; gap: 6px; margin-top: 5px; color: var(--subtle); font-size: 10px; }
.stat-foot .up { color: var(--green); }
.content-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(300px,.75fr); gap: 18px; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.panel-head { min-height: 60px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.panel-head h2 { margin: 0; font-size: 14px; font-weight: 700; }
.panel-head p { margin: 4px 0 0; color: var(--subtle); font-size: 10px; }
.text-btn { display: inline-flex; align-items: center; gap: 5px; color: var(--coral); font-size: 11px; font-weight: 600; }
.text-btn:hover { color: #ff9a88; }
.schedule-list { padding: 5px 18px 12px; }
.schedule-item { position: relative; display: grid; grid-template-columns: 52px 10px 1fr auto; gap: 13px; align-items: center; min-height: 69px; border-bottom: 1px solid var(--line); }
.schedule-item:last-child { border-bottom: 0; }
.schedule-time { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.schedule-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px var(--coral-soft); }
.schedule-dot.blue { background: var(--blue); box-shadow: 0 0 0 4px rgba(127,169,238,.13); }
.schedule-dot.green { background: var(--green); box-shadow: 0 0 0 4px rgba(113,211,164,.13); }
.schedule-copy { min-width: 0; display: flex; align-items: center; gap: 10px; }
.mini-poster { width: 34px; height: 43px; flex: 0 0 auto; border-radius: 5px; overflow: hidden; position: relative; background: linear-gradient(150deg,#ffc687,#e7685c); }
.mini-poster::after { content: ""; position: absolute; inset: 15px 5px 4px; border-radius: 50% 50% 4px 4px; background: rgba(255,248,226,.62); }
.mini-poster.mint { background: linear-gradient(150deg,#8dd9c4,#507f81); }.mini-poster.violet { background: linear-gradient(150deg,#c3a1e6,#5b5f9e); }.mini-poster.blue { background: linear-gradient(150deg,#8eb3ea,#456789); }
.schedule-copy div { min-width: 0; display: grid; gap: 4px; }
.schedule-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 600; }
.schedule-copy span { color: var(--subtle); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.status-pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 6px; font-size: 10px; white-space: nowrap; }
.status-pill.ready { color: var(--green); background: rgba(113,211,164,.1); }.status-pill.draft { color: var(--yellow); background: rgba(239,189,104,.1); }.status-pill.published { color: var(--blue); background: rgba(127,169,238,.1); }
.ai-panel { overflow: hidden; }
.ai-hero { padding: 22px 20px 18px; background: linear-gradient(145deg, rgba(255,118,95,.14), rgba(181,149,237,.06) 70%); border-bottom: 1px solid var(--line); }
.ai-hero-top { display: flex; align-items: flex-start; justify-content: space-between; }.ai-mark { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 10px; color: var(--coral); background: rgba(255,118,95,.13); }.ai-model { padding: 5px 8px; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 5px; font-size: 10px; }
.ai-hero h2 { margin: 20px 0 7px; font-size: 17px; }.ai-hero p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.ai-suggestions { display: grid; gap: 8px; padding: 16px 20px 20px; }.suggestion { padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); text-align: left; font-size: 11px; line-height: 1.5; transition: .18s ease; }.suggestion:hover { color: var(--text); border-color: var(--coral-line); background: var(--coral-soft); }
.lower-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr); gap: 18px; margin-top: 18px; }.channel-strip { padding: 17px 18px; display: grid; gap: 14px; }.channel-row { display: flex; align-items: center; gap: 11px; }.channel-row + .channel-row { padding-top: 13px; border-top: 1px solid var(--line); }.channel-row .channel-mark { width: 30px; height: 30px; border-radius: 8px; font-size: 16px; }.channel-row > div:nth-child(2) { display: grid; gap: 3px; flex: 1; }.channel-row strong { font-size: 12px; }.channel-row span { color: var(--subtle); font-size: 10px; }.channel-row .text-btn { font-size: 10px; }.quick-card { padding: 18px; }.quick-card h2 { margin: 0 0 6px; font-size: 14px; }.quick-card p { margin: 0 0 17px; color: var(--muted); font-size: 11px; line-height: 1.55; }.quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }.quick-action { min-height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 11px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: 11px; text-align: left; }.quick-action:hover { color: var(--text); border-color: var(--line-strong); }.quick-action span { color: var(--coral); }

/* create view */
.create-layout { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(330px,.9fr); gap: 18px; align-items: start; }.form-panel { padding: 22px; }.form-section + .form-section { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }.form-section-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }.form-section-title h2 { margin: 0; font-size: 14px; }.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.field.full { grid-column: 1 / -1; }.field label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 11px; font-weight: 600; }.field textarea, .field input, .field select { width: 100%; min-height: 41px; padding: 10px 11px; background: var(--bg); border: 1px solid var(--line); border-radius: 7px; color: var(--text); font-size: 12px; }.field textarea { min-height: 93px; resize: vertical; line-height: 1.6; }.field input::placeholder, .field textarea::placeholder { color: var(--subtle); }.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--coral-line); box-shadow: 0 0 0 3px var(--coral-soft); outline: none; }.field-hint { margin-top: 6px; color: var(--subtle); font-size: 10px; }.select-wrap { position: relative; }.select-wrap::after { content: "⌄"; position: absolute; right: 12px; top: 11px; color: var(--subtle); pointer-events: none; }.select-wrap select { appearance: none; }
.model-row { display: flex; gap: 8px; }.model-chip { flex: 1; min-height: 43px; padding: 9px 11px; display: grid; gap: 4px; text-align: left; border: 1px solid var(--line); border-radius: 7px; }.model-chip.active { border-color: var(--coral-line); background: var(--coral-soft); }.model-chip strong { font-size: 11px; }.model-chip span { color: var(--subtle); font-size: 9px; }.model-chip.active strong { color: var(--coral); }.channel-select { display: flex; gap: 9px; }.channel-option { min-height: 41px; flex: 1; display: flex; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); text-align: left; }.channel-option.active { border-color: var(--coral-line); color: var(--text); background: var(--coral-soft); }.channel-option.disabled { opacity: .5; cursor: not-allowed; }.channel-option .channel-mark { width: 20px; height: 20px; }.field-actions { display: flex; align-items: center; gap: 9px; margin-top: 22px; }.primary-btn, .secondary-btn { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 7px; padding: 0 15px; font-size: 12px; font-weight: 700; }.primary-btn { background: var(--coral); color: #32120c; }.primary-btn:hover { background: #ff8b76; }.secondary-btn { color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); }.secondary-btn:hover { color: var(--text); border-color: var(--line-strong); }.form-actions-note { margin-left: auto; color: var(--subtle); font-size: 10px; }
.preview-panel { position: sticky; top: 24px; overflow: hidden; }.preview-header { min-height: 58px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }.preview-header h2 { margin: 0; font-size: 13px; }.preview-canvas { min-height: 470px; margin: 18px; position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 9px; background: linear-gradient(150deg,#efb06e 0%,#db6e67 40%,#5c5d83 100%); }.preview-canvas::before { content: ""; position: absolute; width: 165px; height: 230px; bottom: -16px; left: 50%; transform: translateX(-50%); border-radius: 52% 52% 10px 10px; background: linear-gradient(180deg,#fff8e7,#e6c28e 65%,#8f654a); box-shadow: 0 18px 25px rgba(34,21,18,.24); }.preview-canvas::after { content: "一口，刚刚好"; position: absolute; top: 68px; left: 0; right: 0; text-align: center; color: #fff8e5; font-size: 26px; font-weight: 800; letter-spacing: -.08em; text-shadow: 0 2px 13px rgba(59,27,24,.22); }.preview-empty { position: relative; z-index: 1; align-self: end; margin-bottom: 20px; padding: 8px 12px; border-radius: 5px; background: rgba(13,14,14,.48); color: rgba(255,255,255,.86); font-size: 10px; }.preview-meta { display: flex; align-items: center; justify-content: space-between; padding: 0 18px 18px; color: var(--subtle); font-size: 10px; }.preview-meta strong { color: var(--text); font-size: 11px; }
.copy-preview { margin: 0 18px 18px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }.copy-preview-label { color: var(--coral); font-size: 10px; font-weight: 700; }.copy-preview p { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; white-space: pre-line; }

/* calendar/library/channel views */
.calendar-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }.view-toggle { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 7px; }.view-toggle button { padding: 7px 11px; border-radius: 5px; color: var(--muted); font-size: 11px; }.view-toggle button.active { color: var(--text); background: var(--surface-3); }.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }.calendar-day { min-height: 142px; padding: 11px 9px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }.calendar-day:nth-child(7n) { border-right: 0; }.calendar-day:nth-last-child(-n+7) { border-bottom: 0; }.calendar-day.today { background: rgba(255,118,95,.045); }.day-name { color: var(--subtle); font-size: 10px; }.day-number { display: flex; align-items: center; gap: 6px; margin: 8px 0 10px; font-size: 12px; font-weight: 600; }.today .day-number { color: var(--coral); }.day-number i { width: 5px; height: 5px; border-radius: 50%; background: var(--coral); }.calendar-event { margin-top: 5px; padding: 7px 6px; border-left: 2px solid var(--coral); background: var(--coral-soft); border-radius: 0 5px 5px 0; color: var(--muted); font-size: 10px; line-height: 1.35; }.calendar-event.blue { border-color: var(--blue); background: rgba(127,169,238,.1); }.calendar-event.green { border-color: var(--green); background: rgba(113,211,164,.1); }.calendar-event b { display: block; color: var(--text); font-size: 10px; margin-bottom: 2px; }
.library-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 12px; }.search { min-height: 38px; width: 230px; padding: 0 11px 0 34px; position: relative; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--text); font-size: 11px; }.search::placeholder { color: var(--subtle); }.search-wrap { position: relative; }.search-wrap span { position: absolute; left: 11px; top: 11px; color: var(--subtle); }.asset-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; }.asset-card { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }.asset-image { aspect-ratio: 3/4; position: relative; overflow: hidden; background: linear-gradient(150deg,#e6ad7a,#c9686b 47%,#576080); }.asset-image.mint { background: linear-gradient(150deg,#a4d7c6,#577c78 55%,#273e4c); }.asset-image.violet { background: linear-gradient(150deg,#d6b5e5,#826b9e 52%,#353856); }.asset-image.blue { background: linear-gradient(150deg,#98b8e6,#527a9b 55%,#25394e); }.asset-image::before { content: ""; position: absolute; width: 60%; height: 44%; bottom: 0; left: 20%; border-radius: 50% 50% 6px 6px; background: rgba(255,246,224,.72); }.asset-image::after { content: "品牌海报"; position: absolute; top: 27px; left: 0; right: 0; text-align: center; color: rgba(255,249,228,.88); font-size: 17px; font-weight: 800; }.asset-card-info { padding: 11px; }.asset-card-info strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }.asset-card-info span { display: block; margin-top: 4px; color: var(--subtle); font-size: 10px; }.asset-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 9px; }.asset-tag { color: var(--coral); font-size: 9px; }.asset-more { color: var(--subtle); font-size: 16px; }
.channel-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }.channel-card { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }.channel-card.connected { border-color: rgba(113,211,164,.23); }.channel-card-top { display: flex; align-items: center; justify-content: space-between; }.channel-card .channel-mark { width: 42px; height: 42px; border-radius: 11px; font-size: 22px; }.channel-card h2 { margin: 21px 0 6px; font-size: 16px; }.channel-card p { min-height: 38px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }.connect-status { display: inline-flex; align-items: center; gap: 5px; color: var(--green); font-size: 10px; }.connect-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }.channel-card .secondary-btn { margin-top: 19px; width: 100%; }.channel-card.disabled { opacity: .56; }.channel-card.disabled .secondary-btn { cursor: not-allowed; }

/* modal and feedback */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 11px 15px; background: #2b2c2b; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--text); box-shadow: var(--shadow); font-size: 12px; transition: .22s ease; }.toast.show { opacity: 1; transform: translate(-50%,0); }.modal-backdrop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(7,8,8,.74); backdrop-filter: blur(6px); }.modal-card { width: min(520px,100%); max-height: 90vh; overflow: auto; padding: 22px; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 13px; box-shadow: var(--shadow); }.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }.modal-head h2 { margin: 0; font-size: 16px; }.modal-close { width: 30px; height: 30px; border-radius: 7px; color: var(--muted); font-size: 18px; }.modal-close:hover { background: var(--surface-3); color: var(--text); }.modal-card .field + .field { margin-top: 14px; }.modal-footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; }

@media (max-width: 1120px) { .sidebar { width: 220px; flex-basis: 220px; }.topbar, .page { padding-left: 28px; padding-right: 28px; }.content-grid, .create-layout, .lower-grid { grid-template-columns: 1fr; }.preview-panel { position: static; }.asset-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 780px) { .sidebar { position: fixed; z-index: 60; top: 0; bottom: 0; left: 0; transform: translateX(-102%); transition: transform .2s ease; box-shadow: var(--shadow); }.sidebar.open { transform: translateX(0); }.main { width: 100%; }.topbar { height: 64px; padding: 0 16px; }.mobile-menu { display: inline-grid; margin-right: 9px; }.breadcrumb { flex: 1; }.top-actions .icon-btn { display: none; }.new-post-btn { min-height: 36px; padding: 0 11px; }.page { padding: 27px 16px 48px; }.page-header { display: block; }.header-date { margin-top: 14px; }.page-title { font-size: 24px; }.stats-grid { grid-template-columns: 1fr 1fr; gap: 9px; }.stat-card { min-height: 104px; padding: 13px; }.stat-value { font-size: 21px; }.content-grid, .create-layout, .lower-grid { gap: 13px; }.schedule-item { grid-template-columns: 45px 8px 1fr; gap: 9px; }.schedule-item > .status-pill { grid-column: 3; justify-self: start; margin: -15px 0 9px 44px; }.field-grid { grid-template-columns: 1fr; }.field.full { grid-column: auto; }.model-row, .channel-select { display: grid; grid-template-columns: 1fr 1fr; }.form-actions-note { display: none; }.calendar-toolbar { display: block; }.calendar-toolbar .view-toggle { margin-top: 12px; }.calendar-grid { overflow-x: auto; grid-template-columns: repeat(7, minmax(128px,1fr)); }.asset-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }.channel-grid { grid-template-columns: 1fr; }.quick-actions { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
