:root{--ops-bg: #f4f5f2;--ops-surface: #ffffff;--ops-surface-muted: #eef1ed;--ops-ink: #1d2320;--ops-muted: #62706a;--ops-border: #d6ddd7;--ops-accent: #166f68;--ops-accent-strong: #0f4f4a;--ops-danger: #b33a3a;--ops-warning: #a26317;--ops-ok: #2f7d47;color:var(--ops-ink);background:var(--ops-bg);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;letter-spacing:0}body{margin:0;min-width:320px;background:var(--ops-bg)}button,input,select,textarea{font:inherit}button{min-height:2.25rem;border:1px solid var(--ops-border);border-radius:6px;background:var(--ops-surface);color:var(--ops-ink);cursor:pointer}button svg{width:1rem;height:1rem}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--ops-accent);outline-offset:2px}.ops-login-shell{display:grid;min-height:100vh;place-items:center;padding:1rem}.ops-login-panel,.ops-panel{border:1px solid var(--ops-border);border-radius:8px;background:var(--ops-surface)}.ops-login-panel{display:grid;width:min(100%,25rem);gap:1rem;padding:1.25rem}.ops-login-panel label,.editor-form label,.ops-select-label{display:grid;gap:.4rem;font-size:.9rem}input,select,textarea{min-height:2.25rem;border:1px solid var(--ops-border);border-radius:6px;padding:.55rem .7rem;background:var(--ops-surface);color:var(--ops-ink)}textarea{min-height:6rem;resize:vertical;font-family:SFMono-Regular,Consolas,monospace;font-size:.88rem}.ops-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.ops-brand,.ops-sidebar-header,.ops-topbar,.ops-panel-header,.ops-panel-header>div,.button-row,.mode-switch,.check-row,.tenant-chip{display:flex;align-items:center;gap:.75rem}.ops-brand{gap:.85rem}.ops-brand svg{width:2rem;height:2rem;color:var(--ops-accent)}.ops-brand h1,.ops-brand p,.ops-topbar h2,.ops-topbar p,.ops-panel-header h3{margin:0}.ops-brand p,.ops-topbar p,.ops-panel-header span,td span,.resource-list span,.stat-cell span{color:var(--ops-muted)}.mode-switch{padding:.25rem;border-radius:8px;background:var(--ops-surface-muted)}.mode-switch button,.ops-nav button{border-color:transparent}.mode-switch button.is-active,.ops-nav button.is-active,.resource-list button.is-active{border-color:var(--ops-accent);background:#e4f0ee;color:var(--ops-accent-strong)}.ops-login-panel>button,.ops-topbar button,.editor-form button[type=submit]{background:var(--ops-accent);color:#fff}.ops-login-panel>.text-button{border-color:transparent;background:transparent;color:var(--ops-muted)}.ops-shell{display:grid;min-height:100vh;grid-template-columns:15.5rem minmax(0,1fr)}.ops-sidebar{display:grid;align-content:start;gap:1rem;padding:1rem;border-right:1px solid var(--ops-border);background:var(--ops-surface)}.ops-sidebar-header{justify-content:space-between}.ops-sidebar-header h1{margin:0;font-size:1.05rem}.ops-sidebar-header button,.ops-topbar button{display:grid;width:2.25rem;place-items:center}.ops-nav{display:grid;gap:.35rem}.ops-nav button{display:flex;justify-content:flex-start;gap:.6rem}.tenant-chip{min-width:0;padding:.65rem;border-radius:8px;background:var(--ops-surface-muted)}.tenant-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ops-main{display:grid;align-content:start;gap:1rem;min-width:0;padding:1rem}.ops-topbar,.ops-panel-header{justify-content:space-between}.ops-topbar{min-height:3.5rem}.ops-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem}.ops-summary section,.stat-cell{display:grid;gap:.35rem;min-height:4.5rem;padding:.8rem;border:1px solid var(--ops-border);border-radius:8px;background:var(--ops-surface)}.ops-summary strong,.stat-cell strong{font-size:1.35rem}.ops-grid{display:grid;grid-template-columns:minmax(42rem,1fr) minmax(24rem,.9fr);gap:1rem}.authoring-grid{display:grid;grid-template-columns:minmax(15rem,.7fr) minmax(0,1.3fr) minmax(20rem,.9fr);gap:1rem}.ops-grid-lists{grid-template-columns:minmax(24rem,.9fr) minmax(0,1.1fr)}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.single-column,.stack,.editor-form,.resource-list,.timeline,.detail-grid{display:grid;gap:.75rem}.ops-panel{overflow:hidden}.ops-panel-header{flex-wrap:wrap;min-height:3rem;padding:.75rem .9rem;border-bottom:1px solid var(--ops-border)}.ops-panel-header h3{font-size:1rem}.panel-body{padding:.9rem}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.plain-table{width:100%;min-width:42rem;border-collapse:collapse;font-size:.92rem}.subscriber-table{min-width:56rem}.subscriber-table th:first-child,.subscriber-table td:first-child{min-width:16rem}.plain-table th,.plain-table td{padding:.65rem;border-bottom:1px solid var(--ops-border);text-align:left;vertical-align:top;word-break:break-word}.plain-table tr.is-selected,.plain-table tbody tr:hover{background:var(--ops-surface-muted)}.table-scroll{width:100%;overflow-x:auto}.plain-table td strong,.plain-table td span{display:block}.resource-list button,.resource-row,.timeline article{display:grid;gap:.25rem;width:100%;padding:.75rem;border:1px solid var(--ops-border);border-radius:8px;text-align:left}.resource-row{grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center}.status{display:inline-flex;width:fit-content;align-items:center;min-height:1.6rem;padding:0 .55rem;border-radius:999px;background:var(--ops-surface-muted);color:var(--ops-muted);font-size:.78rem;font-weight:700}.status-active,.status-ready,.status-verified,.status-sent,.status-delivered{background:#e4f4e8;color:var(--ops-ok)}.status-failed,.status-blocked,.status-bounced,.status-complained{background:#f8e8e8;color:var(--ops-danger)}.status-draft,.status-unverified,.status-unconfirmed{background:#fff2dc;color:var(--ops-warning)}.preview-frame{width:100%;min-height:42rem;border:1px solid var(--ops-border);border-radius:8px;background:#fff}.form-error{margin:0;color:var(--ops-danger);font-weight:700}.empty-state{margin:0;color:var(--ops-muted)}.compact-list{margin:0;padding-left:1.2rem}.checklist{display:grid;gap:.35rem;padding:.75rem;border:1px solid var(--ops-border);border-radius:8px}.checklist h4,.checklist p{margin:0}@media(max-width:1050px){.ops-shell,.ops-grid,.authoring-grid,.settings-grid{grid-template-columns:1fr}.ops-sidebar{border-right:0;border-bottom:1px solid var(--ops-border)}.ops-summary,.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.ops-main,.ops-sidebar{padding:.75rem}.ops-summary,.form-grid,.resource-row{grid-template-columns:1fr}}
