:root {
  --ink: #182018;
  --muted: #6f776d;
  --line: #e4e7df;
  --paper: #f5f6f1;
  --card: #ffffff;
  --green: #1f6b45;
  --lime: #c8f04b;
  --lime-soft: #effbc9;
  --orange: #e47b42;
  --red: #b94d42;
  --shadow: 0 12px 34px rgba(28, 40, 25, .06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Noto Sans KR", sans-serif; font-size: 14px; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { min-height: 100vh; display: grid; grid-template-columns: 244px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 30px 20px 24px; background: #17271d; color: #f8fff1; }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 10px 34px; color: inherit; text-decoration: none; }
.brand b { display: block; font: 700 19px/1 "DM Sans", sans-serif; letter-spacing: -.3px; }
.brand small { display: block; margin-top: 6px; color: #9cae9d; font: 600 8px/1 "DM Sans", sans-serif; letter-spacing: 1.5px; }
.brand-mark { display: inline-flex; align-items: flex-end; justify-content: center; gap: 3px; width: 38px; height: 38px; padding: 8px; border-radius: 11px; background: var(--lime); }
.brand-mark i { display: block; width: 4px; border-radius: 4px; background: #183222; }
.brand-mark i:nth-child(1) { height: 9px; }.brand-mark i:nth-child(2) { height: 18px; }.brand-mark i:nth-child(3) { height: 13px; }
.brand-mark.large { width: 52px; height: 52px; margin-bottom: 14px; }
nav { display: grid; gap: 6px; }
.nav-item { width: 100%; display: flex; gap: 13px; align-items: center; padding: 12px 14px; border: 0; border-radius: 10px; background: transparent; color: #aebbad; text-align: left; cursor: pointer; transition: .2s; }
.nav-item span { width: 20px; text-align: center; font-size: 18px; }
.nav-item:hover { color: white; background: rgba(255,255,255,.05); }
.nav-item.active { color: #17271d; background: var(--lime); font-weight: 700; }
.sidebar-foot { margin-top: auto; padding: 18px 10px 0; border-top: 1px solid rgba(255,255,255,.1); }
.sidebar-foot p { margin: 16px 0 0; color: #809083; font-size: 11px; line-height: 1.6; }
.sidebar-legal { display: flex; flex-wrap: wrap; gap: 5px 11px; margin-top: 13px; }.sidebar-legal a { color: #9caf9f; font-size: 9px; text-decoration: none; }.sidebar-legal a:hover { color: white; }
.mini-status { display: flex; align-items: center; gap: 10px; }.mini-status div { min-width: 0; }.mini-status b,.mini-status small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-status b { font-size: 12px; }.mini-status small { color: #8fa091; margin-top: 3px; font-size: 10px; }
.dot { width: 8px; height: 8px; flex: none; border-radius: 99px; background: #718076; box-shadow: 0 0 0 4px rgba(255,255,255,.05); }.dot.on { background: var(--lime); box-shadow: 0 0 0 4px rgba(200,240,75,.12); }
main { min-width: 0; padding: 0 42px 70px; }
.topbar { min-height: 116px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.eyebrow { display: block; color: #768071; font: 700 9px/1.2 "DM Sans", sans-serif; letter-spacing: 1.7px; text-transform: uppercase; }
h1, h2 { margin: 0; letter-spacing: -.04em; }
h1 { margin-top: 7px; font-size: 26px; line-height: 1.25; }
h2 { margin-top: 6px; font-size: 19px; line-height: 1.35; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 0 17px; border: 1px solid transparent; border-radius: 9px; font-weight: 700; font-size: 13px; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.button:hover { transform: translateY(-1px); }.button:disabled { opacity: .55; cursor: wait; transform: none; }
.button.primary { background: #203e2c; color: white; }.button.primary:hover { background: #152d20; }
.button.secondary { background: white; color: var(--ink); border-color: var(--line); }.button.full { width: 100%; }
.badge { padding: 6px 10px; border-radius: 99px; font-size: 11px; font-weight: 700; }.badge.neutral { color: #626a60; background: #e9ece5; }.badge.live { color: #225634; background: var(--lime-soft); }.badge.danger { color: #8e3f37; background: #f9ddd7; }
.master-switch { display: flex; align-items: center; gap: 8px; padding: 7px 12px; background: white; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; }
.master-switch input, .mode-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.master-switch span { position: relative; width: 32px; height: 18px; border-radius: 99px; background: #c9cec6; transition: .2s; }.master-switch span:after { content: ""; position: absolute; width: 14px; height: 14px; top: 2px; left: 2px; border-radius: 50%; background: white; transition: .2s; box-shadow: 0 1px 3px #888; }
.master-switch input:checked + span { background: var(--green); }.master-switch input:checked + span:after { transform: translateX(14px); }.master-switch b { font-size: 12px; }
.page { display: none; padding-top: 30px; }.page.active { display: block; animation: fade .25s ease; }@keyframes fade { from { opacity: 0; transform: translateY(4px); } }
.setup-banner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 23px 25px; margin-bottom: 20px; border: 1px solid #dce5c0; border-radius: 14px; background: linear-gradient(100deg, #f2f9d9, #fbfff2); }
.setup-banner.connected { border-color: #d8e5d9; background: #f3f8f3; }.setup-banner.connected .setup-icon { background: #dcebdd; }
.setup-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--lime); font-size: 22px; font-weight: 700; }
.setup-banner h2 { font-size: 17px; }.setup-banner p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-bottom: 20px; }
.stat { position: relative; min-height: 130px; padding: 20px; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow); }
.stat:after { content: ""; position: absolute; width: 44px; height: 44px; right: -13px; bottom: -13px; border-radius: 50%; background: #eef0eb; }.stat.accent:after { background: var(--lime); }.stat.warning:after { background: #f3c3ac; }
.stat-label { display: block; color: var(--muted); font-size: 11px; font-weight: 600; }.stat strong { display: inline-block; margin-top: 15px; font: 700 36px/1 "DM Sans", sans-serif; letter-spacing: -2px; }.stat small { margin-left: 5px; color: var(--muted); }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(290px, .85fr); gap: 18px; margin-bottom: 18px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.flow-panel, .readiness-panel, .settings-card, .template-card, .danger-card { padding: 23px; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.flow { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 12px; margin: 32px 0 27px; }
.flow-step { display: flex; align-items: center; gap: 10px; }.flow-step div { white-space: nowrap; }.flow-step b,.flow-step small { display: block; }.flow-step b { font-size: 12px; }.flow-step small { color: var(--muted); margin-top: 4px; font-size: 10px; }
.step-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; font-size: 17px; }.step-icon.mail { background: #e7eee8; }.step-icon.wait { background: #f6e9da; }.step-icon.call { background: var(--lime-soft); }
.flow-line { height: 1px; min-width: 20px; background: repeating-linear-gradient(90deg, #c7cec4 0 5px, transparent 5px 9px); }
.safety-note { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding-top: 17px; border-top: 1px solid var(--line); }.safety-note b { margin-right: 5px; font-size: 11px; }.safety-note span { padding: 5px 8px; border-radius: 6px; color: #5c675a; background: #f1f3ef; font-size: 9px; }
.connection { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 18px 0; border-bottom: 1px solid var(--line); }.connection:last-of-type { border-bottom: 0; }.connection b,.connection small { display: block; }.connection b { font-size: 12px; }.connection small { margin-top: 4px; color: var(--muted); font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.service-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; font: 700 15px "DM Sans"; }.service-icon.gmail { color: #b34b3d; background: #f8e4df; }.service-icon.solapi { color: #275437; background: var(--lime-soft); }
.state-pill { padding: 4px 7px; border-radius: 99px; font-size: 9px; font-weight: 700; }.state-pill.on { color: #235936; background: #dff1e2; }.state-pill.off { color: #777; background: #eee; }
.text-button { padding: 0; border: 0; background: transparent; color: var(--green); font-size: 11px; font-weight: 700; cursor: pointer; }.readiness-panel>.text-button { margin-top: 12px; }.hidden { display: none !important; }
.recent-panel { padding: 23px; }.event-list { margin-top: 18px; }.event-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 13px; padding: 13px 0; border-top: 1px solid var(--line); }.event-item:first-child { border-top: 0; }.event-symbol { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #eef1eb; }.event-copy b,.event-copy small { display: block; }.event-copy b { font-size: 12px; }.event-copy small { color: var(--muted); margin-top: 3px; font-size: 10px; }.event-time { color: var(--muted); font-size: 10px; }
.section-lead { min-height: 50px; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }.section-lead p { color: var(--muted); margin: 2px 0 0; }
.table-panel { overflow: hidden; }.table-toolbar { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 20px; border-bottom: 1px solid var(--line); }.table-toolbar input { width: min(340px, 75%); }.table-toolbar span { color: var(--muted); font-size: 11px; }
.table-wrap { overflow-x: auto; }table { width: 100%; border-collapse: collapse; }th { padding: 12px 18px; color: #858b82; background: #fafbf8; font-size: 10px; text-align: left; font-weight: 700; white-space: nowrap; }td { padding: 16px 18px; border-top: 1px solid var(--line); vertical-align: middle; font-size: 12px; }td small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }.table-actions { display: flex; justify-content: flex-end; gap: 6px; }.mini-button { display:inline-flex; align-items:center; border: 1px solid var(--line); border-radius: 7px; padding: 5px 8px; background: white; color:var(--ink); font-size: 10px; text-decoration:none; cursor: pointer; white-space:nowrap; }.mini-button.danger { color: var(--red); }
input, select, textarea { width: 100%; border: 1px solid #dfe3db; border-radius: 8px; outline: none; background: #fbfcf9; color: var(--ink); transition: .15s; }input, select { height: 42px; padding: 0 12px; }textarea { padding: 12px; resize: vertical; line-height: 1.7; }input:focus,select:focus,textarea:focus { border-color: #7b9c84; box-shadow: 0 0 0 3px rgba(50,104,66,.08); background: white; }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }.settings-card label, dialog label { display: block; margin-top: 18px; color: #596057; font-size: 11px; font-weight: 600; }.settings-card label input,.settings-card label select,dialog label input { margin-top: 7px; }.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.input-with-unit { position: relative; }.input-with-unit input { padding-right: 45px; }.input-with-unit span { position: absolute; right: 13px; top: 19px; color: var(--muted); }.form-help { color: var(--muted); font-size: 10px; line-height: 1.7; }
.template-card { margin-top: 18px; }.template-card textarea { margin-top: 18px; }.token-help { color: var(--muted); font-size: 10px; }.preview { margin-top: 12px; padding: 14px; border-left: 3px solid var(--lime); border-radius: 0 8px 8px 0; background: #f7f9f2; }.preview span { color: var(--muted); font-size: 9px; font-weight: 700; }.preview p { margin: 5px 0 0; font-size: 11px; line-height: 1.7; }
.danger-card { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }.danger-card p { margin: 6px 0 0; color: var(--muted); font-size: 11px; }.mode-toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; white-space: nowrap; }.mode-toggle span { position: relative; width: 46px; height: 25px; border-radius: 99px; background: #dc825c; transition: .2s; }.mode-toggle span:after { content:""; position: absolute; width: 19px; height: 19px; left: 3px; top: 3px; border-radius: 50%; background: white; box-shadow: 0 1px 4px #999; transition: .2s; }.mode-toggle input:checked + span { background: var(--green); }.mode-toggle input:checked + span:after { transform: translateX(21px); }.form-actions { display: flex; justify-content: flex-end; padding-top: 18px; }
.empty-state { padding: 35px 20px; color: var(--muted); text-align: center; font-size: 11px; }.status-tag { display: inline-flex; padding: 5px 8px; border-radius: 99px; background: #ecefe9; color: #616960; font-size: 9px; font-weight: 700; }.status-tag.confirmed { background: var(--lime-soft); color: #285437; }.status-tag.failed { background: #fae2dd; color: #974b42; }.status-tag.scheduled,.status-tag.sent { background: #e2ebf5; color: #3c5e7a; }.status-tag.dry_run { background: #f5eadc; color: #805d34; }
.document-lead { align-items: center; }
.document-summary { display: grid; grid-template-columns: 1.35fr .85fr; gap: 18px; margin-bottom: 18px; }
.document-policy { padding: 22px 23px; }
.document-policy h2 { margin-bottom: 16px; }
.document-policy>p { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.muted-policy { background: #fafbf8; }
.policy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.policy-grid span { padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: #fbfcf9; }
.policy-grid b,.policy-grid small { display: block; }.policy-grid b { font-size: 10px; }.policy-grid small { margin-top: 5px; color: var(--muted); font-size: 9px; }
.status-tag.draft { background: #ecefe9; color: #616960; }.status-tag.issued { background: #e2ebf5; color: #3c5e7a; }.status-tag.cancelled { background: #f0e8e6; color: #8d625d; }
.document-dialog { width: min(1320px, calc(100vw - 30px)); max-width: none; max-height: calc(100vh - 30px); overflow: hidden; }
.document-dialog form { padding: 0; max-height: calc(100vh - 30px); overflow: auto; }
.document-dialog-head { position: sticky; z-index: 5; top: 0; padding: 22px 26px 18px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); }
.document-editor-layout { display: grid; grid-template-columns: minmax(430px, .85fr) minmax(530px, 1.15fr); gap: 24px; padding: 24px 26px; background: #f6f7f3; }
.document-fields { padding: 2px 22px 24px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.document-fields label { margin-top: 16px; }
.document-fields label small, dialog label small { display: block; margin-top: 6px; color: var(--muted); font-size: 9px; line-height: 1.6; font-weight: 400; }
.form-row.three { grid-template-columns: 1fr 1.25fr .85fr; }
.email-fields { margin-top: 25px; padding-top: 22px; border-top: 1px solid var(--line); }
.file-list { display: grid; gap: 7px; margin-top: 10px; }
.file-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 11px; border-radius: 7px; background: #f3f5f0; font-size: 10px; }
.file-item small { color: var(--muted); }.file-item button { border: 0; background: transparent; color: var(--red); cursor: pointer; }
.preview-column { min-width: 0; }
.preview-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 10px; color: var(--muted); font-size: 10px; }
.preview-caption span { color: var(--ink); font-weight: 700; }.preview-caption small { font-size: 9px; }
.official-preview { position: relative; width: min(100%, 680px); min-height: 960px; margin: 0 auto; padding: 50px 58px 42px; overflow: hidden; background: white; color: #111; box-shadow: 0 16px 45px rgba(22,31,23,.12); font-family: "Nanum Gothic", "Malgun Gothic", sans-serif; font-size: 12px; line-height: 1.8; }
.official-logo { width: 74px; height: auto; object-fit: contain; }
.official-preview h3 { margin: 38px 0 34px; text-align: center; font-size: 23px; letter-spacing: 0; }
.official-heading { display: grid; grid-template-columns: 52px minmax(0,1fr); row-gap: 1px; margin: 0; }
.official-heading dt,.official-heading dd { margin: 0; min-height: 22px; }.official-heading .underlined { border-bottom: 1px solid #333; }
.official-body { margin-top: 25px; }
.official-paragraph { display: grid; grid-template-columns: 28px minmax(0,1fr); margin: 0 0 9px; line-height: 1.85; }
.official-paragraph.level-1 { margin-left: 18px; }.official-paragraph.level-2 { margin-left: 36px; }.official-paragraph.level-3 { margin-left: 54px; }
.official-body table { margin: 12px 0 18px; font-size: 10px; }.official-body th,.official-body td { padding: 7px 8px; border: 1px solid #555; text-align: center; }.official-body th { background: #e7edf3; color: #111; }
.official-attachments { margin-top: 25px; line-height: 1.9; white-space: pre-line; }
.official-signature { position: absolute; left: 58px; right: 58px; bottom: 188px; font-size: 23px; font-weight: 700; text-align: center; }
.official-signature img { position: absolute; width: 67px; right: 117px; top: -19px; mix-blend-mode: multiply; }
.official-footer { position: absolute; left: 58px; right: 58px; bottom: 38px; padding-top: 8px; border-top: 4px solid #d5d8d4; font-size: 9px; line-height: 1.55; }
.official-footer>div { display: grid; grid-template-columns: 45px 80px 45px 80px 1fr 90px; align-items: center; min-height: 23px; }.official-footer>div:nth-child(2) { grid-template-columns: 36px 108px 92px 36px 1fr; }
.official-footer b { font-weight: 400; text-align: center; }.official-footer small { font-size: 9px; }.official-footer i { font-style: normal; }.official-footer p { margin: 1px 0; white-space: nowrap; }
.sticky-actions { position: sticky; z-index: 6; bottom: 0; margin: 0; padding: 15px 26px; border-top: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); }
.section-actions { display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.inbound-lead { align-items:center; }
.inbound-readiness { display:flex; align-items:center; flex-wrap:wrap; gap:16px; margin-bottom:18px; padding:13px 17px; border:1px solid var(--line); border-radius:10px; background:#f8faf5; font-size:10px; }
.inbound-readiness span { display:flex; align-items:center; gap:7px; }.inbound-readiness small { margin-left:auto; color:var(--muted); }
.action-summary { display:grid; gap:4px; max-width:420px; }.action-summary span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:10px; }.warning-text { color:var(--red)!important; }
.status-tag.review_required { color:#805d34; background:#f5eadc; }.status-tag.approved,.status-tag.parsing { color:#3c5e7a; background:#e2ebf5; }.status-tag.synced { color:#285437; background:var(--lime-soft); }
.inbound-review-dialog { width:min(980px,calc(100vw - 28px)); max-width:none; max-height:calc(100vh - 28px); overflow:hidden; }.inbound-review-dialog form { max-height:calc(100vh - 28px); overflow:auto; }
.inbound-review-dialog .file-item { color:var(--ink); text-decoration:none; }.review-warning { margin-top:16px; padding:12px 14px; border-radius:8px; color:#8e3f37; background:#f9e4df; font-size:10px; line-height:1.6; }
.parsed-document { margin-top:16px; border:1px solid var(--line); border-radius:9px; background:#fafbf8; }.parsed-document summary { padding:12px 14px; cursor:pointer; font-size:11px; font-weight:700; }.parsed-document pre { max-height:280px; margin:0; padding:14px; overflow:auto; border-top:1px solid var(--line); white-space:pre-wrap; color:#4f584f; font:10px/1.7 Consolas,monospace; }
.action-editor-head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:24px; }.action-editor-head h3 { margin-top:5px; font-size:17px; }.action-editor { display:grid; gap:12px; margin-top:14px; }.action-edit-row { padding:16px; border:1px solid var(--line); border-radius:10px; background:#fbfcf9; }.action-edit-top { display:flex; align-items:center; justify-content:space-between; }.action-edit-row label { margin-top:12px; }.source-evidence { margin:13px 0 0; padding:10px 12px; border-left:3px solid var(--lime); background:white; color:var(--muted); font-size:10px; line-height:1.6; }.source-evidence b { display:block; margin-bottom:4px; color:var(--ink); }.text-button.danger { color:var(--red); }
dialog { width: min(520px, calc(100vw - 28px)); padding: 0; border: 0; border-radius: 15px; color: var(--ink); box-shadow: 0 24px 80px rgba(12,24,15,.22); }dialog::backdrop { background: rgba(12,24,15,.46); backdrop-filter: blur(3px); }dialog form { padding: 25px; }.dialog-head { display: flex; justify-content: space-between; align-items: flex-start; }.icon-button { width: 32px; height: 32px; border: 0; border-radius: 8px; background: #f0f2ed; font-size: 21px; cursor: pointer; }.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 24px; }.check-label { display: flex !important; align-items: center; gap: 8px; }.check-label input { width: auto; height: auto; margin: 0; }.login-dialog { width: min(400px, calc(100vw - 28px)); text-align: center; }.login-dialog p { color: var(--muted); }.login-dialog label { text-align: left; margin-bottom: 18px; }
.login-legal { display: flex; justify-content: center; gap: 8px; margin-top: 17px; color: #9aa197; font-size: 10px; }.login-legal a { color: var(--muted); text-decoration: none; }.login-legal a:hover { color: var(--green); }
#toast-region { position: fixed; z-index: 100; right: 24px; bottom: 24px; display: grid; gap: 8px; }.toast { min-width: 270px; max-width: 420px; padding: 13px 16px; border-radius: 9px; background: #17271d; color: white; box-shadow: 0 12px 30px rgba(0,0,0,.18); font-size: 12px; animation: toast-in .2s ease; }.toast.error { background: #8b3d36; }@keyframes toast-in { from { transform: translateY(8px); opacity: 0; } }
@media (max-width: 1050px) { .shell { grid-template-columns: 80px minmax(0,1fr); }.sidebar { padding-inline: 12px; }.brand { justify-content:center; padding-inline: 0; }.brand>span:last-child,.nav-item:not(.active)::after,.nav-item { font-size: 0; }.nav-item { justify-content:center; }.nav-item span { font-size: 19px; }.sidebar-foot { display:none; }main { padding-inline: 26px; }.dashboard-grid { grid-template-columns: 1fr; }.stats-grid { grid-template-columns: repeat(2,1fr); }.document-summary { grid-template-columns: 1fr; }.document-editor-layout { grid-template-columns: 1fr; }.preview-column { order: -1; }.official-preview { transform-origin: top center; } }
@media (max-width: 720px) { .shell { display:block; }.sidebar { position:fixed; z-index:50; top:auto; bottom:0; width:100%; height:66px; padding:8px 8px; }.brand,.sidebar-foot { display:none; }.sidebar nav { display:grid; grid-template-columns:repeat(6,1fr); gap:3px; }.nav-item { display:flex; flex-direction:column; gap:1px; padding:5px 2px; font-size:8px !important; }.nav-item span { font-size:15px; }.nav-item.active { border-radius:8px; }main { padding:0 15px 90px; }.topbar { min-height:96px; align-items:flex-start; padding-top:22px; }.top-actions .badge,.top-actions .button { display:none; }h1 { font-size:21px; }.setup-banner { grid-template-columns:auto 1fr; }.setup-banner .button { grid-column:1/-1; }.stats-grid { gap:8px; }.stat { min-height:110px; padding:15px; }.stat strong { font-size:30px; }.flow { display:flex; flex-direction:column; align-items:flex-start; }.flow-line { width:1px; height:18px; margin-left:19px; background:repeating-linear-gradient(180deg,#c7cec4 0 5px,transparent 5px 9px); }.settings-grid { grid-template-columns:1fr; }.danger-card { align-items:flex-start; flex-direction:column; }.topbar { gap:10px; }.master-switch { padding:6px; }.master-switch b { display:none; }.policy-grid { grid-template-columns: repeat(2,1fr); }.document-editor-layout { padding: 14px; }.document-fields { padding-inline:14px; }.form-row.three { grid-template-columns:1fr; }.official-preview { width: 680px; transform: scale(.72); margin: 0 0 -269px -104px; }.preview-caption small { display:none; }.sticky-actions { flex-wrap:wrap; }.inbound-readiness small { width:100%; margin-left:0; }.section-actions { width:100%; justify-content:flex-start; }.inbound-review-dialog .form-row { grid-template-columns:1fr; } }
