:root{--bg:#fafbfc;--surface:#fff;--surface-alt:#fbfcfe;--border:#dde3ee;--border-soft:#e2e7f0;--text:#172033;--text-muted:#61708a;--text-subtle:#78869c;--navy:#071f53;--navy-ink:#14213d;--action:#c44400;--action-hover:#b83e00;--accent:#ff6500;--danger:#b42318;--disabled-bg:#b7c0cc;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:focus-visible{outline:2px solid var(--action);outline-offset:2px;border-radius:4px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0}summary{cursor:pointer;list-style:none}summary::-webkit-details-marker{display:none}summary:after{content:"+";color:#61708a;font-weight:900}details[open]>summary:after{content:"-"}.login-shell{background:#eef2f7;place-items:center;min-height:100vh;display:grid}.login-panel{background:#fff;border:1px solid #dde3ee;border-radius:8px;width:min(420px,100vw - 32px);padding:32px;box-shadow:0 24px 60px #14213d1f}.login-panel h1{margin:18px 0 10px;font-size:28px;line-height:1.1}.login-panel p,.topbar p,.detail-drawer p,.surface p{color:#61708a;line-height:1.5}.google-button-slot{min-height:44px;margin:18px 0 10px}.login-panel button,.topbar button,.surface button,.detail-drawer button{background:var(--action);color:#fff;border-radius:7px;align-items:center;gap:8px;min-height:40px;padding:0 14px;font-weight:700;display:inline-flex}.login-panel button:hover:not(:disabled),.topbar button:hover:not(:disabled),.surface button:hover:not(:disabled),.detail-drawer button:hover:not(:disabled){background:var(--action-hover)}.login-panel button:disabled,.topbar button:disabled,.detail-drawer button:disabled,.surface button:disabled{cursor:not-allowed;background:#b7c0cc}.detail-drawer .secondary-button,.surface .secondary-button,.topbar .secondary-button{color:#14213d;background:#eef2f7}.brand-mark{color:#ff6500;background:#071f53;border-radius:8px;place-items:center;width:46px;height:46px;font-weight:900;display:grid}.brand-mark.small{width:32px;height:32px;font-size:13px}label{color:#3f4e66;gap:8px;margin:14px 0;font-size:13px;font-weight:700;display:grid}input,select,textarea{color:#14213d;background:#fff;border:1px solid #d7deea;border-radius:7px;width:100%;padding:10px 11px}textarea{resize:vertical;min-height:180px}.error-text,.warning{color:#b42318}.app-shell{background:#fafbfc;grid-template-rows:auto 1fr;min-height:100vh;display:grid}.topbar-main{align-items:center;gap:10px;display:flex}.topnav{gap:2px;display:flex}.topnav .nav-button{color:#526078;background:0 0;border-radius:0;min-height:30px;padding:0 9px;font-size:13px;font-weight:750}.topnav .nav-button.active,.topnav .nav-button:hover{color:#071f53;background:0 0;box-shadow:inset 0 -2px #ff6500}.workspace{min-width:0}.status-banner{color:#526078;background:#fff;border:1px solid #d7deea;border-radius:8px;margin:12px 16px 0;padding:10px 12px;font-size:13px;font-weight:700}.topbar{background:#fff;border-bottom:1px solid #dde3ee;justify-content:space-between;align-items:center;gap:16px;padding:8px 14px;display:flex}.topbar h1{margin:0;font-size:18px;line-height:1.15}.topbar p{margin:5px 0 0}.topbar-actions{align-items:center;gap:10px;display:flex}.user-chip{text-overflow:ellipsis;white-space:nowrap;max-width:150px;color:var(--text-muted);font-size:13px;font-weight:700;overflow:hidden}.board-page{min-width:0;padding:0}.kanban{align-items:flex-start;gap:0;min-width:0;padding-bottom:10px;display:flex;overflow-x:auto}.column{background:0 0;border-right:1px solid #e6ebf2;flex:0 0 220px;align-content:start;gap:10px;min-height:calc(100vh - 50px);padding:14px 10px;transition:border-color .12s,background-color .12s;display:grid}.column.drop-ready{background:#fff6ef;box-shadow:inset 0 0 0 1px #ff6500}.column header{border-bottom:1px solid #e8edf5;justify-content:space-between;align-items:center;min-height:24px;padding:0 2px 8px;display:flex}.column h2{color:#334155;margin:0;font-size:13px;font-weight:850}.column header span,.workflow-card small{color:var(--text-muted);font-size:12px;font-weight:700}.card-stack{gap:8px;display:grid}.workflow-card{text-align:left;color:#172033;width:100%;min-height:58px;box-shadow:none;background:#fff;border:1px solid #e1e7f0;border-radius:6px;gap:5px;padding:10px 11px;display:grid}.workflow-card.selected{border-color:#ff6500;box-shadow:inset 3px 0 #ff6500}.workflow-card.dragging{opacity:.32}.workflow-card.drag-preview{z-index:30;pointer-events:none;opacity:.98;cursor:grabbing;position:fixed;transform:rotate(-1deg);box-shadow:0 18px 42px #17203338,0 2px 8px #1720331f}.workflow-card.processing{opacity:.7;pointer-events:none}.workflow-card .card-processing{color:#1849a9;font-weight:600}.workflow-card .card-pending{color:#667085;font-weight:600}.workflow-card .card-processing:before{content:"";vertical-align:middle;background:#1849a9;border-radius:50%;width:8px;height:8px;margin-right:5px;animation:1s ease-in-out infinite st-card-pulse;display:inline-block}@keyframes st-card-pulse{0%,to{opacity:.3}50%{opacity:1}}.workflow-card strong{color:#172033;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:13px;line-height:1.3;display:-webkit-box;overflow:hidden}.workflow-card span,.workflow-card small{color:#61708a;font-size:11px;line-height:1.2}.workflow-card .card-alert{color:#b42318;font-weight:900}.detail-drawer,.surface{background:#fff;border:1px solid #dde3ee;border-radius:8px}.detail-overlay{z-index:20;background:#1720332e;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.detail-drawer{border-radius:8px;width:min(980px,100vw - 48px);min-width:0;max-height:min(780px,100vh - 48px);padding:18px;overflow:auto;box-shadow:0 24px 70px #1720332e}.detail-header{justify-content:space-between;align-items:start;gap:12px;margin-bottom:12px;display:flex}.detail-header div{gap:3px;display:grid}.detail-header span{color:var(--text-muted);font-size:12px;font-weight:700}.detail-header strong{font-size:16px;line-height:1.25}.detail-drawer .icon-button{color:#14213d;background:#eef2f7;border-radius:6px;justify-content:center;width:32px;min-height:32px;padding:0}.detail-fields{grid-template-columns:1fr 140px;gap:10px;display:grid}.detail-layout{grid-template-columns:minmax(0,1fr) 190px;align-items:start;gap:18px;display:grid}.detail-main{min-width:0}.detail-rail{border-left:1px solid #e7edf5;gap:12px;padding-left:16px;display:grid;position:sticky;top:0}.detail-rail label{margin:0}.detail-rail button{justify-content:center;width:100%}.detail-rail .approve-button{background:#071f53}.detail-rail .approve-button:disabled{color:#61708a;background:#dbe3ef}.delete-rail-button{justify-content:center;width:100%;margin-top:8px}.danger-zone{margin-top:8px}.danger-button{color:#b42318;border-color:#f2c4be;align-items:center;gap:6px;display:inline-flex}.danger-button:hover{background:#fef3f2;border-color:#b42318}.run-log-row,.compact-run-row{cursor:pointer}.run-log-row>summary,.compact-run-row>summary{cursor:pointer;justify-content:space-between;align-items:center;list-style:none;display:flex}.run-log-row>summary::-webkit-details-marker{display:none}.compact-run-row>summary::-webkit-details-marker{display:none}.run-output{white-space:pre-wrap;background:#f6f8fb;border:1px solid #e3e8ef;border-radius:6px;max-height:320px;margin:8px 0 0;padding:10px;font-size:12px;line-height:1.5;overflow:auto}.run-output-empty{color:#61708a;margin:8px 0 0;font-size:12px}.secondary-prompt{max-width:520px}.secondary-prompt-field{color:#475467;flex-direction:column;gap:6px;margin:12px 0;font-size:13px;display:flex}.secondary-prompt-field textarea{min-height:140px}.secondary-prompt-actions{flex-wrap:wrap;gap:8px;display:flex}.pull-quote-picker{margin-top:16px}.pull-quote-options{flex-direction:column;gap:8px;display:flex}.pull-quote-option{cursor:pointer;color:#3a4357;border:1px solid #e3e8ef;border-radius:6px;align-items:flex-start;gap:8px;padding:8px 10px;font-size:14px;line-height:1.4;display:flex}.pull-quote-option input{margin-top:3px}.cta-fields{margin-top:16px}.cta-fields .detail-fields{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px}.muted{color:#61708a;margin:0 0 8px;font-size:12px}.date-row{grid-template-columns:minmax(0,160px)}.people-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-fields label,.title-field{margin-top:0}.newsletter-article-boxes{gap:12px;margin-top:14px;display:grid}.newsletter-article-box{background:#fbfcfe;border:1px solid #e2e7f0;border-radius:8px;gap:8px;padding:12px;display:grid}.newsletter-article-box>span{color:#c44400;text-transform:uppercase;font-size:12px;font-weight:900}.newsletter-article-box label,.article-two-field{margin:0}.article-two-field,.article-two-choice-group{gap:8px;display:grid}.field-label{color:var(--text);font-size:13px;font-weight:800}.article-two-choice{background:#fff;border:1px solid #e2e7f0;border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:9px;margin:0;padding:9px 10px;display:grid}.article-two-choice span{gap:2px;min-width:0;display:grid}.article-two-choice-select span{gap:7px}.article-two-choice select{width:100%;min-width:0}.article-two-choice strong{color:var(--text);font-size:13px}.article-two-choice em{color:var(--text-muted);font-size:12px;font-style:normal;line-height:1.35}.article-editor{min-height:380px;line-height:1.6}.brief-editor{min-height:150px;line-height:1.5}.drawer-actions{align-items:center;gap:10px;margin-bottom:8px;display:flex}.drawer-actions span{color:#61708a;font-size:12px;font-weight:800}.activity-log{gap:10px;display:grid}.activity-log span{color:#78869c;font-size:12px}.activity-log p{margin:3px 0 0}.series-editor{gap:10px;display:grid}.series-editor label{margin:0}.series-editor textarea{min-height:120px}.series-toggle{justify-content:start}.mailjet-handoff{gap:10px;display:grid}.mailjet-handoff p{margin:0}.mailjet-preview{background:#fbfcfe;border:1px solid #e2e7f0;border-radius:8px;gap:12px;padding:12px;display:grid}.mailjet-preview dl{grid-template-columns:minmax(0,130px) minmax(0,1fr);gap:8px;margin:0;display:grid}.mailjet-preview dl div{display:contents}.mailjet-preview dt{color:var(--text-muted);font-size:12px;font-weight:700}.mailjet-preview dd{color:#172033;margin:0;font-size:13px;font-weight:750}.mailjet-preview section{gap:5px;display:grid}.mailjet-preview h4{color:#334155;margin:0;font-size:12px;font-weight:900}.mailjet-preview p{white-space:pre-wrap;max-height:180px;overflow:auto}.mailjet-settings-preview{gap:12px;display:grid}.mailjet-settings-preview label{margin:0}.mailjet-strip{background:#fbfcfe;border:1px solid #e2e7f0;border-radius:8px;gap:10px;margin:12px 0 4px;padding:12px;display:grid}.mailjet-strip summary{justify-content:space-between;align-items:center;gap:12px;display:flex}.mailjet-strip div{gap:3px;display:grid}.mailjet-strip span{color:var(--text-muted);font-size:12px;font-weight:700}.panel-page{padding:16px}.two-column-page{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:18px;display:grid}.surface{padding:18px}.surface h2{margin:0 0 8px;font-size:20px}.stack-list,.grid-list{gap:10px;display:grid}.grid-list,.settings-form-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.settings-form-grid{gap:12px;display:grid}.list-row,.provider-card{background:#fbfcfe;border:1px solid #e2e7f0;border-radius:8px;padding:12px}.list-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.list-row.tall{display:grid}.list-row pre,.resolved-prompt{white-space:pre-wrap;color:#edf3ff;background:#071f53;border-radius:7px;padding:14px;overflow:auto}.provider-card{gap:8px;display:grid}.provider-card span,.provider-card em,.provider-card code,.settings-editor span{color:#61708a;font-size:13px}.settings-editor{background:#fbfcfe;border:1px solid #e2e7f0;border-radius:8px;display:block;overflow:hidden}.settings-editor summary,.toggle-row{justify-content:space-between;align-items:center;gap:10px;display:flex}.settings-editor summary{padding:12px}.settings-editor summary div{gap:3px;display:grid}.settings-editor form{border-top:1px solid #e2e7f0;gap:10px;padding:12px;display:grid}.settings-editor label{margin:0}.inline-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.provider-key-editor form{grid-template-columns:max-content minmax(260px,1fr) auto;align-items:center;gap:10px;display:grid}.provider-key-editor label{white-space:nowrap;margin:0}.provider-key-editor button{white-space:nowrap;justify-content:center;min-width:92px}.toggle-row{color:#3f4e66;font-size:13px;font-weight:700}.toggle-row input{width:auto}.prompt-editor textarea{min-height:300px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.5}.prompt-editor form{border-top:0}.settings-grid{grid-template-columns:320px minmax(0,1fr);gap:18px;display:grid}.settings-page{gap:14px;display:grid}.simple-settings{max-width:1120px;margin:0 auto}.settings-tabbar{border-bottom:1px solid var(--border);align-items:center;gap:4px;display:flex;overflow-x:auto}.settings-tabbar .settings-tab{min-height:38px;color:var(--text-muted);white-space:nowrap;background:0 0;border-radius:0;padding:0 12px;font-size:13px;font-weight:800}.settings-tabbar .settings-tab:hover,.settings-tabbar .settings-tab.active{color:var(--navy);box-shadow:inset 0 -2px 0 var(--accent);background:0 0}.settings-tab-panel{gap:14px;min-width:0;display:grid}.settings-basics{justify-content:space-between;align-items:center;gap:18px;display:flex}.settings-basics p{margin-bottom:0}.compact-setting{min-width:210px;margin:0}.workflow-settings{gap:16px;display:grid}.settings-heading-row{justify-content:space-between;align-items:center;gap:14px;display:flex}.settings-heading-row h2,.settings-heading-row p{margin:0}.button-row{align-items:center;gap:8px;display:flex}.automation-defaults{gap:10px;display:grid}.automations-panel{gap:16px}.automation-control-grid{grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);align-items:start;gap:14px;display:grid}.automation-table-card,.automation-detail-card,.automation-prompt-editor{border:1px solid var(--border-soft);background:var(--surface-alt);border-radius:8px}.automation-table-card{overflow:hidden}.automation-table-header,.automation-table-row{grid-template-columns:minmax(110px,.85fr) minmax(140px,1fr) 102px minmax(150px,1.15fr) minmax(110px,.95fr);align-items:center;gap:10px;display:grid}.automation-table-header{color:var(--text-muted);padding:12px 14px 8px;font-size:12px;font-weight:800}.automation-table-rows{gap:8px;padding:0 10px 10px;display:grid}.surface .automation-table-row{border:1px solid var(--border-soft);width:100%;min-height:58px;color:var(--text);text-align:left;background:#fff;border-radius:8px;padding:10px 12px}.surface .automation-table-row:hover,.surface .automation-table-row.selected{border-color:var(--accent);color:var(--text);background:#fff6ef}.automation-table-row strong{color:var(--text);font-size:14px}.automation-table-row span{min-width:0;color:var(--text-muted);text-overflow:ellipsis;font-size:12px;font-weight:700;line-height:1.35;overflow:hidden}.automation-detail-card{background:#fff;gap:14px;padding:14px;display:grid}.automation-detail-heading{justify-content:space-between;align-items:start;gap:14px;display:flex}.automation-detail-heading h3,.automation-detail-heading p{margin:0}.automation-detail-heading h3{font-size:20px}.automation-detail-heading p{color:var(--text-muted);font-size:13px;line-height:1.4}.automation-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.automation-detail-grid label{margin:0}.readonly-setting{border:1px solid var(--border-soft);background:var(--surface-alt);min-height:40px;color:var(--text);border-radius:7px;align-items:center;padding:0 10px;font-size:13px;font-weight:800;display:flex}.automation-prompt-editor{gap:12px;padding:12px;display:grid}.automation-prompt-heading{justify-content:space-between;align-items:start;gap:12px;display:flex}.automation-prompt-heading h4,.automation-prompt-heading span{margin:0}.automation-prompt-heading h4{font-size:16px}.automation-prompt-heading span{color:var(--text-muted);margin-top:3px;font-size:12px;font-weight:800;display:block}.automation-prompt-editor form{border-top:0;gap:10px;padding-top:0;display:grid}.automation-prompt-editor textarea{min-height:260px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.5}.automation-runtime-preview{border-top:1px solid var(--border-soft);gap:10px;padding-top:12px;display:grid}.automation-row{background:#fbfcfe;border:1px solid #e2e7f0;border-radius:8px;grid-template-columns:150px minmax(0,1fr) 150px;align-items:end;gap:10px;padding:12px;display:grid}.automation-row strong{align-self:center}.automation-row label{margin:0}.synthesis-models{border-top:1px solid var(--border-soft);grid-column:2/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-top:10px;display:grid}.synthesis-models label{margin:0}.column-settings-heading,.column-settings-row{grid-template-columns:minmax(150px,1fr) 140px 140px 140px 80px 70px 90px;align-items:center;column-gap:12px;padding-inline:14px;display:grid}.column-settings-heading{color:var(--text-muted);padding-block:0 8px;font-size:12px;font-weight:700}.column-settings-row{border:1px solid var(--border-soft);background:var(--surface-alt);border-radius:8px;padding-block:12px}.column-settings-row span{color:var(--text-muted);white-space:nowrap;font-size:12px;font-weight:600}.mailjet-config-panel{gap:16px}.mailjet-config-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:start;gap:14px;display:grid}.mailjet-config-card{border:1px solid var(--border-soft);background:var(--surface-alt);border-radius:8px;gap:14px;padding:14px;display:grid}.mailjet-config-card-heading{justify-content:space-between;align-items:start;gap:12px;display:flex}.mailjet-config-card-heading h3,.mailjet-config-card-heading p{margin:0}.mailjet-config-card-heading h3{font-size:17px}.mailjet-config-card-heading p{color:var(--text-muted);font-size:13px;line-height:1.4}.mailjet-list-stats,.mailjet-schedule-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.mailjet-readout{border:1px solid var(--border-soft);background:#fff;border-radius:8px;gap:4px;min-height:68px;padding:12px;display:grid}.mailjet-readout span{color:var(--text-muted);font-size:12px;font-weight:800}.mailjet-readout strong{color:var(--text);font-size:17px}.product-prompt-overlay{z-index:30}.product-prompt-modal{width:min(860px,100vw - 48px)}.product-prompt-modal h3{margin:0;font-size:20px}.product-prompt-modal textarea{min-height:min(520px,100vh - 260px);font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:13px;line-height:1.5}.product-prompt-actions{justify-content:flex-end}.segmented-control{border:1px solid var(--border-soft);background:#fff;border-radius:8px;grid-template-columns:repeat(2,minmax(120px,1fr));width:min(320px,100%);padding:3px;display:inline-grid}.surface .segmented-control button,.surface .weekday-strip button{min-height:34px;color:var(--text-muted);background:0 0;border-radius:6px;justify-content:center;font-size:13px;font-weight:850}.surface .segmented-control button.active,.surface .weekday-strip button.active{color:#fff;background:#071f53}.surface .segmented-control button:hover:not(:disabled),.surface .weekday-strip button:hover:not(:disabled){color:var(--navy);background:#fff6ef}.surface .segmented-control button.active:hover,.surface .weekday-strip button.active:hover{color:#fff;background:#071f53}.mailjet-schedule-fields label{margin:0}.disabled-field{opacity:.58}.weekday-strip{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;display:grid}.surface .weekday-strip button:disabled{color:var(--text-subtle);cursor:not-allowed;background:#eef2f7}.product-signals-panel{gap:16px}.product-signals-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:14px;display:grid}.product-event-row{flex-wrap:wrap;gap:12px;display:flex}.product-model-field,.product-sort-field{gap:6px;display:grid}.product-prompt-button{justify-self:start;min-height:28px;padding:0 10px;font-size:12px}.product-sort-field{min-width:150px;color:var(--text-muted);font-size:12px;font-weight:800}.product-source-list,.product-suggestion-list{gap:8px;display:grid}.product-source-row{border:1px solid var(--border-soft);background:#fff;border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;margin:0;padding:10px;display:grid}.product-source-row span{gap:2px;min-width:0;display:grid}.product-source-row strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.product-source-row em,.product-source-row small{color:var(--text-muted);font-size:12px;font-style:normal;font-weight:700}.product-suggestion-card{grid-column:span 2}.product-suggestion{border:1px solid var(--border-soft);background:#fff;border-radius:8px;gap:8px;padding:12px;display:grid}.product-suggestion>div:first-child{justify-content:space-between;gap:12px;display:flex}.product-suggestion h4,.product-suggestion p{margin:0}.product-suggestion h4{color:var(--text);font-size:15px}.product-suggestion strong{color:#fff;text-align:center;background:#071f53;border-radius:999px;min-width:44px;font-size:12px;line-height:24px}.product-source-links{flex-wrap:wrap;gap:8px;display:flex}.signal-fill-list{flex-wrap:wrap;gap:8px;margin:8px 0 0;display:flex}.signal-fill-list button{border:1px solid var(--border-soft);min-height:30px;color:var(--text-muted);background:#fff;border-radius:999px;padding:0 10px;font-size:12px;font-weight:800}.signal-fill-list button.active{color:#fff;background:#071f53}.approval-toggle{justify-content:flex-start;align-items:center;margin:0;display:flex}.approval-toggle input{width:auto}.prompt-settings{grid-template-columns:minmax(210px,.38fr) minmax(0,1fr);align-items:start;gap:14px;display:grid}.prompt-settings-panel{gap:16px}.prompt-card-list{gap:10px;display:grid}.prompt-library-card{border:1px solid var(--border-soft);background:var(--surface-alt);border-radius:8px;overflow:hidden}.prompt-library-card.expanded{border-color:var(--accent);background:#fff}.surface .prompt-card-header{width:100%;min-height:58px;color:var(--text);text-align:left;background:0 0;border-radius:0;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 14px;display:grid}.surface .prompt-card-header:hover{color:var(--text);background:#fff6ef}.stage-number{width:28px;height:28px;color:var(--navy);background:#eef2f7;border-radius:6px;place-items:center;font-size:12px;font-weight:900;display:grid}.prompt-card-title,.prompt-card-meta{gap:3px;display:grid}.prompt-card-title strong{color:var(--text);font-size:14px}.prompt-card-title small,.prompt-card-meta span{color:var(--text-muted);font-size:12px;font-weight:700}.prompt-card-meta{justify-items:end}.prompt-card-meta em{color:var(--navy-ink);white-space:nowrap;background:#eef2f7;border-radius:999px;padding:3px 8px;font-size:11px;font-style:normal;font-weight:800}.prompt-card-body{border-top:1px solid var(--border-soft);gap:14px;padding:14px;display:grid}.prompt-card-tabs{border-bottom:1px solid var(--border-soft);gap:4px;display:flex}.surface .prompt-card-tabs button{min-height:34px;color:var(--text-muted);background:0 0;border-radius:0;padding:0 10px;font-size:13px;font-weight:800}.surface .prompt-card-tabs button:hover,.surface .prompt-card-tabs button.active{color:var(--navy);box-shadow:inset 0 -2px 0 var(--accent);background:0 0}.prompt-card-edit{grid-template-columns:minmax(0,1fr) minmax(240px,.36fr);align-items:start;gap:14px;display:grid}.runtime-assembly-card{border:1px solid var(--border-soft);background:var(--surface-alt);border-radius:8px;gap:10px;padding:14px;display:grid}.runtime-assembly-card h3{margin:0;font-size:15px}.runtime-assembly-card dl{gap:10px;margin:0;display:grid}.runtime-assembly-card div{gap:3px;display:grid}.runtime-assembly-card dt{color:var(--text-muted);font-size:12px;font-weight:800}.runtime-assembly-card dd{color:var(--text);margin:0;font-size:13px;line-height:1.35}.prompt-versions-panel{gap:10px;display:grid}.version-row{border:1px solid var(--border-soft);background:var(--surface-alt);border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.version-row div{gap:3px;display:grid}.version-row span{color:var(--text-muted);font-size:13px;font-weight:700}.prompt-stage-list,.prompt-workbench{gap:10px;display:grid}.surface .prompt-stage-button{border:1px solid var(--border-soft);background:var(--surface-alt);min-height:44px;color:var(--text);text-align:left;border-radius:7px;justify-content:space-between;align-items:center;gap:10px;padding:0 12px;display:flex}.surface .prompt-stage-button:hover,.surface .prompt-stage-button.active{border-color:var(--accent);color:var(--text);background:#fff6ef}.surface .prompt-stage-button span{color:var(--text-muted);font-size:12px;font-weight:700}.prompt-preview-block{gap:8px;display:grid}.preview-heading{gap:4px;display:grid}.preview-heading h3,.preview-heading p{margin:0}.preview-heading h3{font-size:15px}.preview-heading p{color:var(--text-muted);font-size:13px;line-height:1.4}.single-preview-selector{grid-template-columns:minmax(0,1fr)}.settings-details{padding:0;overflow:hidden}.settings-details summary{justify-content:space-between;align-items:center;gap:14px;padding:15px 18px;display:flex}.settings-details summary span{font-weight:900}.settings-details summary small{color:#61708a;text-align:right;font-size:12px;font-weight:800}.settings-details-body{border-top:1px solid #e2e7f0;padding:16px 18px}.detail-drawer .settings-details{margin-top:10px}.detail-drawer .settings-details-body p,.detail-subsection p{white-space:pre-wrap;margin:0}.detail-more{background:0 0;border:0;margin-top:12px}.detail-more-body{gap:16px;display:grid}.detail-subsection{border-top:1px solid #edf1f7;gap:10px;padding-top:14px;display:grid}.detail-subsection:first-child{border-top:0;padding-top:0}.detail-subsection h3{letter-spacing:0;margin:0;font-size:13px}.compact-run-row{padding:10px}.compact-run-row em{color:var(--text-muted);text-align:right;font-size:12px;font-style:normal;font-weight:700}.empty-state{color:var(--text-muted);border:1px dashed #cfd8e6;border-radius:8px;padding:16px}.column-empty{color:var(--text-subtle);text-align:center;border:1px dashed #dde3ee;border-radius:6px;padding:10px 4px;font-size:12px;font-weight:600}.preview-selectors{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.preview-selectors label{margin:0}.notifications-menu{position:relative}.notifications-button{width:36px;min-height:36px;color:var(--navy-ink);background:0 0;border-radius:7px;justify-content:center;align-items:center;padding:0;display:inline-flex;position:relative}.notifications-button:hover{background:var(--surface-alt)}.notifications-badge{background:var(--action);color:#fff;border:2px solid #fff;border-radius:9px;justify-content:center;align-items:center;min-width:18px;height:18px;padding:0 5px;font-size:11px;font-weight:700;display:inline-flex;position:absolute;top:-4px;right:-4px}.notifications-panel{z-index:30;background:var(--surface);border:1px solid var(--border);border-radius:8px;width:min(360px,100vw - 32px);max-height:min(440px,100vh - 80px);padding:10px;position:absolute;top:calc(100% + 8px);right:0;overflow:auto;box-shadow:0 18px 50px #1720332e}.notifications-panel-header{border-bottom:1px solid var(--border-soft);justify-content:space-between;align-items:center;padding:4px 6px 8px;display:flex}.notifications-panel-header span{color:var(--text-muted);font-size:12px;font-weight:700}.notifications-empty{color:var(--text-muted);margin:0;padding:16px 6px;font-size:13px}.notifications-list{gap:4px;margin:0;padding:0;list-style:none;display:grid}.notification-item{border-radius:6px;justify-content:space-between;align-items:flex-start;gap:10px;padding:10px 6px;display:flex}.notification-item:not(.read){background:#fff6ef}.notification-item p{color:var(--text);margin:0;font-size:13px;line-height:1.4}.notification-item small{color:var(--text-muted);font-size:11px}.notification-item button{flex-shrink:0;min-height:28px;padding:0 10px;font-size:12px}.replay-panel{gap:16px}.replay-layout{grid-template-columns:minmax(180px,.3fr) minmax(360px,.74fr) minmax(320px,.62fr);align-items:stretch;gap:14px;display:grid}.replay-run-list,.replay-main,.replay-output-panel,.replay-ab-panel{border:1px solid var(--border-soft);background:var(--surface-alt);border-radius:8px}.replay-run-list{align-content:start;gap:10px;padding:12px;display:grid}.replay-section-heading h3,.replay-output-heading h3,.replay-ab-toolbar h3{margin:0}.compact-stack{gap:8px}.surface .replay-run-item{border:1px solid var(--border-soft);width:100%;min-height:70px;color:var(--text);text-align:left;background:#fff;border-radius:8px;place-items:start;gap:5px;padding:10px;display:grid}.surface .replay-run-item:hover,.surface .replay-run-item.selected{border-color:var(--accent);color:var(--text);background:#fff6ef}.replay-run-item strong,.replay-run-item span{text-overflow:ellipsis;min-width:0;max-width:100%;overflow:hidden}.replay-run-item strong{font-size:13px;line-height:1.3}.replay-run-item span{color:var(--text-muted);font-size:12px;font-weight:750}.replay-main{background:#fff;align-items:center;padding:16px;display:grid}.replay-stage-timeline{grid-template-columns:repeat(5,minmax(70px,1fr));align-items:start;gap:8px;display:grid;position:relative}.replay-stage-timeline:before{content:"";background:var(--border-soft);height:2px;position:absolute;top:22px;left:42px;right:42px}.surface .replay-stage-node{z-index:1;min-height:112px;color:var(--text);text-align:center;background:0 0;border:1px solid #0000;border-radius:8px;align-content:start;justify-items:center;gap:7px;padding:0 6px 8px;display:grid;position:relative}.surface .replay-stage-node:hover,.surface .replay-stage-node.active{border-color:var(--accent);color:var(--text);background:#fff6ef}.stage-dot{border:2px solid var(--border);background:#fff;border-radius:50%;place-items:center;width:44px;height:44px;display:grid;box-shadow:0 0 0 6px #fff}.stage-dot:after{content:"";background:var(--border);border-radius:50%;width:14px;height:14px}.replay-stage-node.active .stage-dot{border-color:var(--accent)}.replay-stage-node.active .stage-dot:after{background:var(--accent)}.replay-stage-node strong{font-size:13px;line-height:1.2}.replay-stage-node em{color:var(--text-muted);font-size:11px;font-style:normal;font-weight:750}.replay-output-panel{background:#fff;grid-template-rows:auto auto minmax(260px,1fr);gap:10px;padding:12px;display:grid}.replay-output-heading{justify-content:space-between;align-items:start;gap:10px;display:flex}.replay-output-heading span,.replay-ab-toolbar span,.replay-lane-meta span{color:var(--text-muted);font-size:12px;font-weight:750}.replay-output-meta{flex-wrap:wrap;gap:6px;display:flex}.replay-output-meta span,.replay-lane-cost{border:1px solid var(--border-soft);background:var(--surface-alt);min-height:24px;color:var(--text-muted);border-radius:999px;align-items:center;padding:0 8px;font-size:11px;font-weight:800;display:inline-flex}.replay-output-text,.replay-lane-output{white-space:pre-wrap;border:1px solid var(--border-soft);color:var(--text);background:#fff;border-radius:8px;margin:0;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.5;overflow:auto}.replay-output-text{max-height:360px;padding:12px}.replay-ab-panel{background:#fff;gap:12px;padding:12px;display:grid}.replay-ab-toolbar{justify-content:space-between;align-items:center;gap:14px;display:flex}.replay-ab-lanes{grid-template-columns:repeat(4,minmax(180px,1fr));gap:10px;display:grid}.replay-lane,.surface .replay-add-lane{border:1px solid var(--border-soft);background:var(--surface-alt);border-radius:8px;min-height:320px}.replay-lane{grid-template-rows:auto auto auto minmax(170px,1fr);gap:10px;padding:10px;display:grid}.replay-lane label{margin:0}.replay-lane-meta{justify-content:space-between;align-items:center;gap:8px;display:flex}.replay-lane-meta strong{font-size:13px}.replay-error{color:var(--danger);background:#fff5f4;border:1px solid #f0b8b2;border-radius:8px;padding:10px 12px;font-size:13px;font-weight:800;line-height:1.4}.replay-lane-output{max-height:210px;padding:10px}.surface .replay-add-lane{color:var(--text-muted);background:#fff;align-content:center;place-items:center;gap:8px;font-weight:850;display:grid}.surface .replay-add-lane:hover{border-color:var(--accent);color:var(--text);background:#fff6ef}@media (width<=980px){.board-page,.two-column-page,.settings-grid,.product-signals-grid,.prompt-settings,.prompt-card-edit,.automation-control-grid,.automation-detail-grid,.synthesis-models,.replay-layout,.replay-ab-lanes,.inline-fields,.detail-fields,.automation-row,.column-settings-row{grid-template-columns:1fr}.product-suggestion-card{grid-column:auto}.column-settings-heading{display:none}.column-settings-row{padding-block:10px}.synthesis-models{grid-column:1}.automation-table-card{overflow:visible}.automation-table-header{display:none}.automation-table-row{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;min-width:0}.automation-table-row strong{grid-column:1/-1}.automation-table-row span{text-overflow:clip;white-space:normal;overflow:visible}.automation-detail-heading,.automation-prompt-heading,.replay-output-heading,.replay-ab-toolbar{flex-direction:column;align-items:stretch}.replay-stage-timeline{grid-template-columns:repeat(5,minmax(82px,1fr));overflow-x:auto}.replay-stage-timeline:before{left:48px;right:48px}.topbar{flex-direction:column;align-items:stretch}.topnav{overflow-x:auto}.detail-overlay{align-items:stretch;padding:12px}.detail-drawer{width:100%;max-height:calc(100vh - 24px)}.detail-layout{grid-template-columns:1fr}.detail-rail{border-top:1px solid #e7edf5;border-left:0;padding:14px 0 0;position:static}.mailjet-strip{flex-direction:column;align-items:stretch}.mailjet-preview dl{grid-template-columns:1fr}}
