:root{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;line-height:1.5;font-weight:400;color:#231711;background:radial-gradient(circle at top left,rgba(255,196,79,.34),transparent 30%),radial-gradient(circle at bottom right,rgba(255,109,62,.26),transparent 25%),linear-gradient(180deg,#fff7ef,#f2e9de);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--panel: rgba(255, 250, 245, .86);--stroke: rgba(84, 49, 25, .16);--accent: #b5431d;--accent-dark: #7f2b11;--text-soft: #6a584d;--success: #1b7f5f;--warning: #b7791f;--danger: #b93131}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;overflow:hidden}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}#root{min-height:100vh;height:100vh}.shell{position:relative;min-height:100vh;height:100vh;overflow:hidden}.shell-backdrop{position:absolute;border-radius:999px;filter:blur(16px)}.shell-backdrop-primary{top:-8rem;left:-6rem;width:20rem;height:20rem;background:#f68d5757}.shell-backdrop-secondary{right:-4rem;bottom:-4rem;width:18rem;height:18rem;background:#ffd25d47}.auth-card,.app-frame{position:relative;z-index:1}.auth-card{width:min(32rem,calc(100% - 2rem));margin:5rem auto;padding:2rem;border:1px solid var(--stroke);border-radius:6px;background:var(--panel);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:0 28px 80px #7a45211f}.eyebrow{margin:0 0 .4rem;font-size:.75rem;letter-spacing:.24em;text-transform:uppercase;color:var(--accent)}.section-title{margin:0 0 .4rem;font-size:.75rem;font-weight:400;letter-spacing:.24em;text-transform:uppercase;color:var(--accent)}.stack{display:grid;gap:1rem;min-width:0}.scheduler-editor{width:100%;overflow:visible}.scheduler-editor>*,.scheduler-editor .settings-grid,.scheduler-editor .tag-fieldset{max-width:100%}.auth-card h1,.section-title,.topbar h2,.hero-card h2,.sidebar-title,.stat-card strong{margin:0;font-family:inherit}label,fieldset{display:grid;gap:.45rem;min-width:0}.content-section>*,.stack>*{min-width:0}input,select,textarea{width:100%;padding:.85rem 1rem;border:1px solid var(--stroke);border-radius:6px;background:#fffdfa;color:inherit}.primary-button,.ghost-button,.file-button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.425rem .575rem;border-radius:6px;border:1px solid transparent}.primary-button{background:linear-gradient(135deg,var(--accent) 0%,#d86a2e 100%);color:#fff}.ghost-button,.file-button{background:#ffffffc2;border-color:var(--stroke)}.ghost-button.danger{color:var(--danger)}.app-frame{display:grid;grid-template-columns:280px minmax(0,1fr);gap:1.5rem;padding:1.5rem;height:100vh;overflow:hidden}.sidebar,.content-panel,.hero-card,.stat-card,.list-card{border:1px solid var(--stroke);background:var(--panel);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:0 18px 50px #7a45211a}.sidebar{display:flex;flex-direction:column;justify-content:space-between;min-height:calc(100vh - 3rem);max-height:calc(100vh - 3rem);padding:1.5rem;border-radius:6px;position:sticky;top:1.5rem;align-self:start;overflow:auto}.sidebar-user,.section-header p,.empty-state p,.hero-card p{color:var(--text-soft)}.sidebar-top,.sidebar-bottom{display:grid;gap:.75rem}.sidebar-mobile-bar{display:block}.sidebar-mobile-content{display:contents}.sidebar-menu-button{display:none}.sidebar-user-card,.sidebar-mode-indicator{display:grid;gap:.2rem;padding:.75rem;border:1px solid var(--stroke);border-radius:6px;background:#ffffff85}.sidebar-user-card strong,.sidebar-mode-indicator strong{color:var(--accent-dark);text-transform:uppercase;letter-spacing:.04em}.sidebar-user-card p,.sidebar-mode-indicator small{color:var(--text-soft)}.sidebar-user-card p{margin:0;word-break:break-word}.sidebar-mode-indicator.active{background:linear-gradient(135deg,#b5431d24,#ffffffb3);border-color:#b5431d52}.sidebar-mode-indicator.live{background:linear-gradient(135deg,#1b7f5f29,#ffffffb8);border-color:#1b7f5f52}.sidebar-mode-indicator.live strong{color:var(--success)}.sidebar-nav{gap:.2rem;margin:1rem 0;flex:1}.sidebar-nav-item-divider{margin-bottom:.45rem;padding-bottom:.45rem;border-bottom:1px solid rgba(84,49,25,.14)}.nav-link{display:flex;align-items:center;min-height:2.25rem;padding:.4rem .75rem;border-radius:6px;font-size:.95rem;line-height:1.2}.nav-link.active{background:linear-gradient(135deg,#b5431d24,#d86a2e2e);color:var(--accent-dark)}.content-panel{border-radius:6px;padding:1.5rem;width:min(100%,1200px);min-width:0;min-height:0;overflow:auto}.form-actions,.toolbar,.table-actions,.status-row{gap:.75rem;flex-wrap:wrap}.toolbar>*+*{margin-left:.75rem}.flash{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:.95rem 1rem;border-radius:6px;width:100%;border:1px solid var(--stroke);box-shadow:0 18px 40px #7a45212e;pointer-events:auto}.flash-stack{position:fixed;right:1.5rem;bottom:1.5rem;z-index:60;display:grid;gap:.75rem;width:50vw;pointer-events:none}.flash-success{background:#1b7f5feb;border-color:#1b7f5f3d;color:#fff}.flash-warning{background:#b7791feb;border-color:#b7791f47;color:#fff}.flash-error{background:#b93131eb;border-color:#b931313d;color:#fff}.page-grid,.dashboard-grid{display:grid;gap:1.25rem}.content-section{display:grid;gap:1rem}.tab-row{display:flex;gap:.5rem;flex-wrap:wrap}.tab-button{display:inline-flex;align-items:center;min-height:2.25rem;padding:.4rem .75rem;border:1px solid var(--stroke);border-radius:6px;background:#ffffff9e}.tab-button.active{background:linear-gradient(135deg,#b5431d24,#d86a2e2e);color:var(--accent-dark);border-color:#b5431d40}.hero-card,.list-card{padding:1.4rem;border-radius:6px}.dashboard-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.95fr);gap:1.25rem;align-items:stretch;overflow:hidden;position:relative}.dashboard-hero:after{content:"";position:absolute;inset:auto -3rem -4rem auto;width:14rem;height:14rem;border-radius:999px;background:radial-gradient(circle,#ffc35f6b,#ffc35f00 70%);pointer-events:none}.dashboard-hero-copy,.dashboard-hero-meta,.dashboard-panels,.dashboard-panel,.dashboard-panel-header,.dashboard-stat-row,.dashboard-subgrid,.dashboard-subcard,.dashboard-chart-card,.horizontal-bar-legend,.delivery-summary,.group-list,.donut-wrap,.donut-side{display:grid;gap:1rem}.dashboard-hero h2,.dashboard-panel h3,.dashboard-subcard h4{margin:0}.dashboard-hero-meta{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));align-content:start}.metric-badge{display:grid;gap:.35rem;padding:1rem;border-radius:6px;border:1px solid var(--stroke);background:#ffffff9e}.metric-badge span,.dashboard-panel-note,.dashboard-subcard>p:not(.section-title),.group-list-row span,.delivery-summary span,.donut-side small,.horizontal-bar-legend-item span{color:var(--text-soft)}.metric-badge strong{font-size:1.1rem}.metric-badge-success{background:#1b7f5f1f}.metric-badge-warning{background:#b7791f1f}.metric-badge-danger{background:#b931311f}.dashboard-panels{grid-template-columns:1fr}.dashboard-panel,.dashboard-subcard{padding:1.25rem;border:1px solid var(--stroke);border-radius:6px;background:#fffbf7c7}.dashboard-panel-header{grid-template-columns:1fr;align-items:start;gap:.5rem}.dashboard-stat-row{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.stat-card-compact{padding:1rem;background:#ffffffb3}.stat-card-compact strong{font-size:1.5rem}.dashboard-chart-card{gap:.85rem}.horizontal-bar-chart{display:flex;min-height:16px;overflow:hidden;border-radius:999px;background:#54311914}.horizontal-bar-segment{min-width:0}.tone-success{background:var(--success)}.tone-danger{background:var(--danger)}.tone-warning{background:var(--warning)}.tone-muted{background:#54311959}.horizontal-bar-legend{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem 1rem}.horizontal-bar-legend-item,.group-list-row,.donut-side-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.5rem}.legend-dot{width:.7rem;height:.7rem;border-radius:999px}.dashboard-subgrid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));align-items:stretch}.dashboard-subgrid-campaigns{grid-template-columns:minmax(260px,.85fr) minmax(320px,1.15fr)}.dashboard-highlight{background:linear-gradient(135deg,#b5431d1f,#fffc),#fffbf7d9}.dashboard-inline{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}.delivery-summary{grid-template-columns:repeat(auto-fit,minmax(110px,1fr))}.delivery-summary>div{display:grid;gap:.3rem;padding-top:.85rem;border-top:1px solid rgba(84,49,25,.12)}.group-list{gap:.65rem}.group-list-row strong{min-width:2.5rem;text-align:right}.donut-wrap{grid-template-columns:minmax(180px,220px) minmax(0,1fr);align-items:start;gap:1.25rem}.donut-chart{position:relative;width:180px;height:180px;margin:0 auto;border-radius:50%}.donut-core{position:absolute;inset:18px;display:grid;place-items:center;gap:.15rem;padding:1rem;border-radius:50%;background:#fffaf5f5;text-align:center}.donut-core strong{font-size:1.9rem}.donut-core span{color:var(--text-soft);font-size:.8rem}.donut-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.75rem}.donut-notes{display:grid;gap:.35rem}.donut-side{align-content:start}.dashboard-panel-note{max-width:42rem}.group-list-row{grid-template-columns:auto minmax(0,1fr) auto}.group-list-row span,.horizontal-bar-legend-item span,.donut-side-row span{min-width:0}.dashboard-mini-progress{grid-column:1 / -1;height:10px;overflow:hidden;border-radius:999px;background:#54311914}.dashboard-mini-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#f0a224,#b5431d)}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.stat-card{padding:1.25rem;border-radius:6px}.stat-card strong{font-size:2rem}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.settings-grid>*{min-width:0}.smtp-accounts-stack,.auth-settings-grid{display:grid;gap:1rem}.smtp-card{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:1rem}.smtp-card-body,.smtp-card-grid{display:grid;gap:1rem}.smtp-card-grid-single{grid-template-columns:minmax(0,1fr)}.smtp-card-grid-two{grid-template-columns:repeat(2,minmax(0,1fr))}.smtp-card-grid-three{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr)}.checkbox-field{display:inline-flex;align-items:center;gap:.65rem;color:var(--text);font-weight:600}.checkbox-field input{width:1rem;height:1rem;margin:0}.field-hint{margin:-.35rem 0 0;color:var(--text-soft);font-size:.92rem;line-height:1.5}.detail-prewrap{margin:0;white-space:pre-wrap;word-break:break-word}.auth-form-grid{display:grid;gap:1rem}.auth-form-grid-single{grid-template-columns:minmax(0,1fr)}.auth-form-grid-two{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-form-grid-password{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.auth-form-grid-password>label:first-child{grid-column:1 / 2}.auth-form-note,.settings-note{margin:0;color:var(--text-soft)}.scheduler-settings-note{align-self:end;padding-bottom:.85rem}.campaign-ready-warning{grid-column:1 / -1;display:flex;align-items:center;gap:.75rem;margin:0;padding:1rem 1.15rem;border:2px solid rgba(181,67,29,.55);border-left-width:8px;border-radius:6px;background:#fff1e4;color:#6f2b13;font-size:1rem;line-height:1.45;box-shadow:0 10px 24px #b5431d1f}.campaign-ready-warning strong{color:#9d3416;text-transform:uppercase;letter-spacing:.04em}.scheduler-mode-row{grid-column:1 / -1}.smtp-card-actions{display:flex;gap:.75rem;flex-wrap:wrap}.smtp-card input:disabled,.smtp-card select:disabled{background:linear-gradient(180deg,#54311914,#5431190a);border-color:#5431191a;color:#231711d1;opacity:1;cursor:default;box-shadow:inset 0 1px #ffffff73}.smtp-card input:not(:disabled),.smtp-card select:not(:disabled){background:#fffdfa;border-color:#b5431d47;box-shadow:0 0 0 3px #d86a2e14}.auth-settings-grid h3{margin:0}.settings-tab-actions{grid-column:1 / -1}.toggle-card{padding:1rem;border:1px solid var(--stroke);border-radius:6px;background:#ffffff80;cursor:pointer}.scheduler-mode-card{align-content:start}.scheduler-mode-card.active{background:linear-gradient(135deg,#b5431d24,#ffffffb8);border-color:#b5431d59}.scheduler-mode-layout{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1rem;align-items:stretch}.scheduler-mode-copy{display:grid;gap:.45rem;align-content:start}.scheduler-mode-copy span{font-weight:600}.scheduler-mode-side{display:grid;justify-items:end;align-content:space-between;gap:.75rem;min-width:12rem}.scheduler-mode-status{display:grid;gap:.25rem;justify-items:end;text-align:right}.scheduler-mode-status strong{color:var(--accent-dark);text-transform:uppercase;letter-spacing:.04em}.scheduler-mode-switch{position:relative;display:inline-flex;width:3.4rem;height:2rem;align-items:center;padding:.2rem;border-radius:999px;background:#5431192e;transition:background .2s ease}.scheduler-mode-knob{width:1.6rem;height:1.6rem;border-radius:999px;background:#fffdfa;box-shadow:0 4px 12px #2317112e;transition:transform .2s ease}.scheduler-mode-card:has(input[type=checkbox]:checked) .scheduler-mode-switch{background:linear-gradient(135deg,var(--accent) 0%,#d86a2e 100%)}.scheduler-mode-card:has(input[type=checkbox]:checked) .scheduler-mode-knob{transform:translate(1.4rem)}.tag-fieldset{border:1px solid var(--stroke);border-radius:6px;padding:1rem}.multi-select{position:relative}.multi-select-trigger{width:100%;min-height:3rem;display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.75rem .9rem;border:1px solid var(--stroke);border-radius:6px;background:#fffdfa;text-align:left}.multi-select-trigger.open{border-color:#d86a2ecc}.multi-select-summary{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.multi-select-caret{flex:none;color:var(--text-soft)}.multi-select-menu{position:fixed;z-index:40;max-height:18rem;overflow:auto;border:1px solid var(--stroke);border-radius:6px;background:#fffdfa;box-shadow:0 18px 40px #7a452124}.multi-select-menu.dropup{box-shadow:0 -18px 40px #7a452124}.multi-select-option{display:grid;grid-template-columns:1.25rem 1fr;align-items:center;gap:.9rem;padding:.85rem .9rem;cursor:pointer}.multi-select-option+.multi-select-option{border-top:1px solid rgba(84,49,25,.08)}.multi-select-option.checked{background:#8296ad47}.multi-select-option input{width:1rem;height:1rem;margin:0}.chips{display:flex;gap:.7rem;flex-wrap:wrap}.scheduler-dual-list{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:1rem;align-items:stretch}.scheduler-dual-list-column{display:grid;gap:.75rem;min-width:0}.scheduler-dual-list-box{display:block;height:24rem;overflow:auto;border:1px solid var(--stroke);border-radius:6px;background:#ffffff9e}.scheduler-dual-list-item{display:grid;grid-template-columns:1.1rem minmax(0,1fr);gap:.75rem;align-items:center;min-height:3.2rem;padding:.8rem .9rem;cursor:pointer;width:100%}.scheduler-dual-list-item+.scheduler-dual-list-item{border-top:1px solid rgba(84,49,25,.08)}.scheduler-dual-list-item input{width:1rem;height:1rem;margin:0}.scheduler-dual-list-item span{overflow:hidden;text-overflow:ellipsis}.scheduler-dual-list-item.disabled{background:#5431190f;color:var(--text-soft);cursor:not-allowed}.scheduler-dual-list-item.disabled input{cursor:not-allowed}.scheduler-dual-list-actions{display:grid;gap:.75rem;align-content:center}.scheduler-dual-list-empty{min-height:3.2rem;padding:.8rem .9rem;display:flex;align-items:center;color:var(--text-soft)}.chip{display:inline-flex;align-items:center;gap:.45rem;padding:.55rem .8rem;border-radius:6px;background:#ffffffb8;border:1px solid var(--stroke);cursor:pointer}.toggle-card input[type=checkbox],.chip input[type=checkbox]{position:absolute;opacity:0;pointer-events:none}.toggle-card:has(input[type=checkbox]:checked),.chip:has(input[type=checkbox]:checked){background:#b5431d24;border-color:#b5431d66;color:var(--accent-dark)}.table-wrap{overflow:auto}.bulk-actions-panel{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;padding:1rem;border:1px solid rgba(181,67,29,.22);border-radius:6px;background:linear-gradient(135deg,#b5431d1a,#ffffffc7)}.contacts-filter-bar{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap}.contacts-filter-field{min-width:18rem}.bulk-actions-copy{display:grid;gap:.2rem}.bulk-actions-copy span{color:var(--text-soft)}.bulk-actions-controls{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap}.bulk-select-field{min-width:15rem}.table-wrap .chips{gap:.4rem}.icon-actions{align-items:center}.inline-edit-actions{white-space:nowrap}.inline-edit-actions .icon-button{width:2.6rem;min-width:2.6rem;padding-left:0;padding-right:0;font-size:0}.inline-edit-actions .icon-button:before{font-size:.82rem;line-height:1}.inline-edit-actions .icon-button:nth-child(1):before{content:"OK"}.inline-edit-actions .icon-button:nth-child(2):before{content:"X"}.inline-edit-actions .icon-button:nth-child(3):before{content:"Del"}.icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:2.25rem;height:2.25rem;padding:.45rem .65rem;border:1px solid var(--stroke);border-radius:6px;background:#ffffffc2;font-size:1rem;line-height:1}.icon-button.confirm{color:var(--success)}.icon-button.danger{color:var(--danger)}.icon-button.filled-danger{background:#b9313129;border-color:#b9313157}td .ghost-button,td .icon-button{min-height:1.8rem;height:1.8rem;padding-top:.25rem;padding-bottom:.25rem}td .chip{cursor:default}.editing-row td .icon-button,.editing-row td .ghost-button{min-height:revert;height:revert;padding-top:revert;padding-bottom:revert}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:.45rem .5rem;border-bottom:1px solid rgba(84,49,25,.08);vertical-align:top}.checkbox-cell{width:2.5rem}.checkbox-cell input,th input[type=checkbox]{width:1rem;height:1rem;margin:0}.editing-row td{background:#b5431d14;vertical-align:middle}.status-badge{display:inline-flex;padding:.32rem .7rem;border-radius:6px;margin-right:.45rem;background:#54311914}.status-badge.success{background:#1b7f5f24;color:var(--success)}.status-badge.warning{background:#b7791f24;color:var(--warning)}.status-badge.error{background:#b9313124;color:var(--danger)}.status-badge.neutral{background:#54311914;color:inherit}.inline-form{display:flex;gap:.75rem;margin-bottom:1rem}.list-grid{display:grid;gap:1rem}.template-name-cell strong{display:inline-block;min-width:12rem}.template-link-chips{gap:.4rem}.template-link-chip{padding:.3rem .55rem}.template-empty-link{color:var(--text-soft)}.template-assets-block{display:grid;gap:.75rem}.template-assets-grid{display:flex;flex-wrap:wrap;gap:.75rem}.template-asset-card{display:inline-flex;align-items:center;justify-content:center;width:150px;height:150px;padding:.35rem;border:1px solid var(--stroke);border-radius:6px;background:#ffffffb8}.template-asset-card img{max-width:100%;max-height:100%;object-fit:contain;display:block}.template-actions-cell{white-space:nowrap}.list-card{display:flex;justify-content:space-between;gap:1rem}.list-card.vertical{flex-direction:column}.scheduler-name-cell,.scheduler-message-cell,.scheduler-date-cell,.scheduler-status-cell{min-width:0}.scheduler-name-cell strong,.scheduler-message-cell strong,.scheduler-date-cell strong{display:block}.scheduler-row-actions{margin-top:.6rem}.scheduler-actions-cell{white-space:nowrap}.scheduler-recipient-details{margin-top:.6rem}.scheduler-recipient-details summary{cursor:pointer}.scheduler-date-cell small,.scheduler-status-cell small{display:block;margin-top:.4rem;color:var(--text-soft)}.scheduler-status-cell .error-text{color:var(--danger)}.editor-shell{width:min(100%,var(--editor-email-width, 720px));margin:0 auto;border:1px solid var(--stroke);border-radius:6px;overflow:visible}.editor-controls{position:sticky;top:0;z-index:20;background:#fffdfa;box-shadow:0 1px #7a452124}.editor-toolbar{display:flex;gap:.45rem;flex-wrap:wrap;padding:.8rem;background:#ffffffa6;border-bottom:1px solid var(--stroke);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.editor-toolbar button,.editor-toolbar select{border:1px solid var(--stroke);background:#fff;border-radius:6px;padding:.25rem .4rem}.editor-toolbar button.active{background:#1b7f5f2e;border-color:#1b7f5f66;color:var(--success)}.editor-toolbar-group{display:flex;gap:.45rem;flex-wrap:wrap;align-items:center}.editor-color-control{display:inline-flex;align-items:center;justify-content:center;width:2.2rem;height:2rem;padding:0;border:1px solid var(--stroke);border-radius:6px;background:#fff;position:relative;overflow:hidden}.editor-font-icon{font-weight:700;line-height:1}.editor-font-icon.filled{padding:0 .25rem;border-radius:4px;background:#54311924}.editor-color-control input{position:absolute;inset:0;width:100%;min-width:100%;height:100%;padding:0;border:0;background:transparent;opacity:0;cursor:pointer}.editor-strike-icon{text-decoration:line-through}.editor-link-panel,.editor-image-panel{display:block;padding:.55rem .8rem;border-bottom:1px solid var(--stroke);background:#ffffff94;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.editor-link-row,.editor-image-row{display:flex;align-items:center;gap:.5rem;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}.editor-image-icon{display:inline-flex;align-items:center;justify-content:center;width:2rem;min-width:2rem;height:2rem;border:1px solid var(--stroke);border-radius:6px;background:#fffc;font-size:.9rem}.editor-link-row input{width:16rem;min-width:16rem;padding:.5rem .65rem}.editor-image-row>select,.editor-image-row>button{width:auto;flex:0 0 auto}.editor-image-row>select{min-width:4.5rem;padding:.5rem 2rem .5rem .7rem}.editor-image-inline-field{display:flex;align-items:center;gap:.35rem;margin:0;flex:0 0 auto;white-space:nowrap}.editor-image-inline-field input{width:5.25rem;min-width:5.25rem;padding:.5rem .65rem}.editor-image-field-icon{display:inline-flex;align-items:center;justify-content:center;width:1.1rem;color:var(--accent-dark);font-size:.95rem}.editor-image-icon-button{min-width:2rem;width:2rem;padding-left:0;padding-right:0}.editor-image-icon-button.active{background:#1b7f5f2e;border-color:#1b7f5f66;color:var(--success)}.editor-image-icon-button.inactive{background:#5431191a;border-color:#54311933;color:var(--text-soft)}.editor-image-icon-button:disabled{background:#5431191a;border-color:#54311933;color:var(--text-soft)}.editor-image-apply{min-width:5.75rem}.editor-content-wrap{padding:0;background:#fffdfa}.editor-surface{min-height:240px;padding:1rem;background:#fffdfa}.editor-surface a{color:#1d4ed8;text-decoration:underline}.editor-surface img.editor-selected-image{outline:2px solid var(--accent);outline-offset:2px}.editor-source{display:block;min-height:320px;padding:1rem;width:100%;max-width:100%;border:0;border-top:1px solid rgba(122,69,33,.14);border-radius:0 0 6px 6px;background:#fffdfa;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;line-height:1.45;resize:vertical}.debug-console-card{gap:.75rem}.debug-console-path{color:var(--text-soft);word-break:break-all}.debug-console-output{margin:0;padding:1rem;min-height:22rem;max-height:65vh;overflow:auto;border:1px solid var(--stroke);border-radius:6px;background:#fffdfa;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:.88rem;line-height:1.5;white-space:pre-wrap;word-break:break-word}.file-button input{display:none}.modal-overlay{position:fixed;inset:0;z-index:30;display:flex;align-items:flex-start;justify-content:center;overflow-y:auto;padding:1rem;background:#2317116b}.modal-dialog{position:relative;display:flex;flex-direction:column;width:min(34rem,calc(100vw - 2rem));max-width:calc(100vw - 2rem);max-height:calc(100vh - 2rem);overflow:visible;padding:1rem;border:1px solid var(--stroke);border-radius:6px;background:#fffaf5;box-shadow:0 18px 50px #7a45212e;margin:0}.modal-dialog.preview-modal{width:min(calc(var(--preview-email-width, 720px) + 4rem),calc(100vw - 2rem));max-height:none}.modal-body{min-width:0;overflow-y:auto;overflow-x:visible}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}.modal-header h3{margin:0}.modal-file-button{width:fit-content}.preview-body{width:min(100%,var(--preview-email-width, 720px));margin:0 auto;background:#fff}.preview-modal .modal-body{overflow:visible}.inline-chip{margin-top:.5rem}.selection-summary,.error-text{color:var(--accent-dark)}.details-card{border-top:1px solid rgba(84,49,25,.1);padding-top:1rem}.campaign-evaluation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.campaign-evaluation-field{display:grid;gap:.35rem;min-width:0;padding:.9rem 1rem;border:1px solid var(--stroke);border-radius:6px;background:#ffffff85}.campaign-evaluation-field span{color:var(--text-soft)}.campaign-evaluation-field strong{word-break:break-word}.sidebar-logout{width:100%;margin-top:0}@media(max-width:1100px){.app-frame{grid-template-columns:1fr;height:auto;min-height:100vh;align-content:start;overflow:auto}.sidebar{min-height:auto;max-height:none;position:static;top:auto;padding:1rem;overflow:hidden}.sidebar-mobile-bar{display:flex;align-items:center;justify-content:space-between;gap:1rem}.sidebar-mobile-bar .eyebrow{margin:0}.campaign-evaluation-grid{grid-template-columns:1fr}.sidebar-menu-button{display:inline-flex;flex-direction:column;justify-content:center;gap:.28rem;width:2.5rem;height:2.5rem;padding:.55rem;border:1px solid var(--stroke);border-radius:6px;background:#ffffffc2}.sidebar-menu-button span{display:block;width:100%;height:2px;border-radius:999px;background:var(--accent-dark);transition:transform .18s ease,opacity .18s ease}.sidebar-menu-button.open span:nth-child(1){transform:translateY(6px) rotate(45deg)}.sidebar-menu-button.open span:nth-child(2){opacity:0}.sidebar-menu-button.open span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}.sidebar-mobile-content{display:none;padding-top:1rem}.sidebar-mobile-content.open{display:grid;gap:1rem}.stats-grid,.settings-grid{grid-template-columns:1fr 1fr}.dashboard-hero,.dashboard-subgrid-campaigns,.donut-wrap{grid-template-columns:1fr}.dashboard-hero-meta{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:720px){.app-frame,.content-panel{padding:1rem}.stats-grid,.settings-grid,.dashboard-stat-row,.delivery-summary,.horizontal-bar-legend,.dashboard-hero-meta,.dashboard-subgrid,.dashboard-subgrid-campaigns,.donut-wrap,.donut-stats,.smtp-card-grid-two,.smtp-card-grid-three{grid-template-columns:1fr}.metric-badge,.dashboard-panel,.dashboard-subcard,.stat-card-compact{padding:.95rem}.scheduler-dual-list{grid-template-columns:1fr}.scheduler-dual-list-actions{justify-items:stretch}.inline-form,.bulk-actions-panel,.contacts-filter-bar{display:grid}.bulk-select-field,.contacts-filter-field{min-width:100%}.editor-image-panel{padding-left:.55rem;padding-right:.55rem}}
