:root{--gold: #ffc858;--charcoal: #323031;--deep-teal: #074b60;--teal: #197e88;--red: #d93b34;--surface: #fffdf7;--surface-2: #f5f3ec;--ink: #232021;--muted: #6a6260;--line: #ded8cb;--line-strong: #bdb4a6;--focus: #074b60;--app-bg: var(--deep-teal);--app-grid-x: rgba(255, 255, 255, .05);--app-grid-y: rgba(255, 255, 255, .04);--app-header-bg: var(--charcoal);--subsection-bg: rgba(255, 253, 247, .72);--control-bg: #ffffff;--control-text: var(--ink);--control-border: var(--line-strong);--utility-bg: #ffffff;--utility-text: var(--deep-teal);--control-muted-bg: #f7f3ea;--empty-bg: rgba(255, 255, 255, .72);--teal-soft-bg: rgba(25, 126, 136, .1);--selected-shadow: rgba(217, 59, 52, .28);--card-shadow: rgba(6, 26, 32, .14);--panel-shadow: rgba(6, 26, 32, .16);--gold-glow: rgba(255, 200, 88, .26);--teal-glow: rgba(25, 126, 136, .28);--glow-scale: 1;--danger-soft-bg: rgba(217, 59, 52, .1);--danger-soft-line: rgba(217, 59, 52, .32);--warning-text: #4d201d;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--ink);background:var(--app-bg);font-synthesis:none;text-rendering:optimizeLegibility}:root[data-theme=dark]{color-scheme:dark;--app-bg: #041016;--app-grid-x: rgba(255, 200, 88, .045);--app-grid-y: rgba(25, 126, 136, .08);--app-header-bg: #0d222b;--surface: #0d222b;--surface-2: #071923;--subsection-bg: rgba(18, 49, 60, .72);--ink: #f8f4e9;--muted: #c7d2d5;--line: #254b55;--line-strong: #3a6068;--focus: #ffc858;--control-bg: #16282f;--control-text: #f8f4e9;--control-border: #3a6068;--utility-bg: #12313c;--utility-text: #f8f4e9;--control-muted-bg: #071923;--empty-bg: rgba(13, 34, 43, .86);--teal-soft-bg: rgba(25, 126, 136, .2);--selected-shadow: rgba(255, 200, 88, .3);--card-shadow: rgba(0, 0, 0, .42);--panel-shadow: rgba(0, 0, 0, .46);--gold-glow: rgba(255, 200, 88, .24);--teal-glow: rgba(25, 126, 136, .34);--danger-soft-bg: rgba(217, 59, 52, .18);--danger-soft-line: rgba(217, 59, 52, .42);--warning-text: #ffd7d4}*,*:before,*:after{box-sizing:border-box}*{min-width:0}html{min-width:320px;max-width:100%;overflow-x:hidden;background:var(--app-bg);touch-action:manipulation;-webkit-text-size-adjust:100%;text-size-adjust:100%}body{margin:0;min-width:320px;max-width:100%;min-height:100vh;overflow-x:hidden;overflow-wrap:anywhere;background:linear-gradient(90deg,var(--app-grid-x) 1px,transparent 1px),linear-gradient(0deg,var(--app-grid-y) 1px,transparent 1px),var(--app-bg);background-size:28px 28px}#root{max-width:100%;overflow-x:hidden}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}button,input,select,textarea{max-width:100%;font:inherit;touch-action:manipulation}button,a,label,p,span,strong,small,h1,h2,h3,h4,h5,pre,textarea,input,select{overflow-wrap:anywhere}svg{flex-shrink:0}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(255,200,88,.9);outline-offset:2px}.app{width:min(100%,1220px);margin:0 auto;padding:max(16px,calc(env(safe-area-inset-top) + 12px)) 12px 166px}.app-header{display:grid;gap:14px;margin-bottom:14px;padding:16px;color:#fff;background:var(--app-header-bg);border:1px solid rgba(255,200,88,.45);border-radius:8px;box-shadow:0 20px 50px #00000047}.campaign-db-panel{display:grid;gap:14px;padding:12px;border:1px solid rgba(255,200,88,.38);border-radius:8px;background:linear-gradient(135deg,rgba(255,200,88,.08),transparent 34%),var(--control-muted-bg)}.campaign-db-toolbar,.campaign-row-selector{display:grid;gap:10px}.campaign-db-toolbar{align-items:center}.campaign-db-grid{display:grid;grid-template-columns:1fr;gap:10px}.campaign-db-cell{display:grid;gap:6px;min-width:0;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--control-bg)}.campaign-db-cell span{color:var(--muted);font-size:.72rem;font-weight:800;text-transform:uppercase}.campaign-db-cell strong{color:var(--control-text);font-size:.88rem;line-height:1.35}.campaign-db-overrides{display:grid;gap:12px}.campaign-db-hero-cta{display:grid;gap:10px;padding:12px;border:1px solid rgba(255,200,88,.52);border-radius:8px;background:linear-gradient(135deg,#ffc8581f,#197e881f),var(--control-bg)}.campaign-db-hero-cta-header,.campaign-db-hero-cta-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start;justify-content:space-between;min-width:0}.campaign-db-hero-cta-actions{justify-content:flex-start}.campaign-db-override{display:grid;gap:8px;padding:10px;border:1px solid rgba(25,126,136,.45);border-radius:8px;background:#197e8814}.error-text{margin:0;padding:10px;border:1px solid var(--danger-soft-line);border-radius:8px;color:var(--warning-text);background:var(--danger-soft-bg);font-size:.86rem;line-height:1.35}@media (min-width: 760px){.campaign-db-toolbar{grid-template-columns:1fr auto}.campaign-row-selector,.campaign-db-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.brand-lockup{display:grid;grid-template-columns:76px 1fr;gap:14px;align-items:center}.logo-shell{display:grid;place-items:center;min-width:76px;min-height:76px;background:var(--surface);border:2px solid var(--gold);border-radius:8px}.logo-shell img{display:block;width:64px;max-height:64px;object-fit:contain}.eyebrow{margin:0 0 4px;color:var(--gold);font-size:.73rem;font-weight:800;text-transform:uppercase;letter-spacing:0}h1,h2,h3,h4,p{overflow-wrap:anywhere}h1{margin:0;font-size:clamp(1.45rem,6vw,2.45rem);line-height:1.05;letter-spacing:0}.header-copy{margin:8px 0 0;color:#ffffffc7;line-height:1.45}.top-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.top-actions .utility-button{min-height:50px;padding-inline:6px;font-size:clamp(.68rem,2.8vw,.86rem);line-height:1.08;white-space:normal}.icon-only-action{display:inline-grid;place-items:center;aspect-ratio:auto;width:100%;max-width:100%;padding:0}.icon-only-action svg{margin:auto}.top-actions .icon-only-action,.bottom-bar .icon-only-action{justify-self:stretch}.app-layout{display:grid;gap:16px;max-width:100%;min-width:0}.compiler-form{display:grid;gap:12px;max-width:100%;min-width:0}.accordion-section,.compiled-panel,.subsection,.manual-link,.history-item,.modal,.history-drawer,.settings-drawer{max-width:100%;min-width:0;overflow-wrap:anywhere;background:var(--surface);border:1px solid var(--line);border-radius:8px}.accordion-section{position:relative;overflow:hidden;box-shadow:0 10px 26px var(--card-shadow)}.accordion-section:before{content:"";position:absolute;inset:0 auto 0 0;z-index:2;width:4px;background:linear-gradient(180deg,var(--gold),var(--teal),var(--red),var(--deep-teal));opacity:.82}.section-trigger{display:grid;grid-template-columns:42px 1fr 28px;align-items:center;width:100%;min-height:58px;padding:10px 12px;color:var(--ink);background:linear-gradient(90deg,rgba(255,200,88,.14),transparent 45%),var(--surface);border:0;border-bottom:1px solid var(--line);text-align:left;font-weight:850;overflow:hidden}.section-trigger>span{min-width:0;overflow:hidden;text-overflow:ellipsis}.section-number{display:inline-grid;place-items:center;width:32px;height:32px;color:var(--charcoal);background:var(--gold);border:1px solid rgba(50,48,49,.2);border-radius:999px;font-size:.9rem;box-shadow:0 0 0 3px #ffc8581f}.chevron{justify-self:end;transition:transform .18s ease}.chevron.open{transform:rotate(180deg)}.section-body{display:grid;gap:16px;padding:14px;background:var(--surface-2);min-width:0;max-width:100%}.subsection{position:relative;display:grid;gap:14px;padding:14px;background:var(--subsection-bg)}.subsection:before{content:"";position:absolute;inset:0 0 auto 0;height:3px;background:linear-gradient(90deg,var(--teal),var(--gold),var(--red));opacity:.72;border-radius:8px 8px 0 0;pointer-events:none}.subsection h3,.product-group h4{margin:0;color:var(--utility-text);font-size:1rem;letter-spacing:0}.field{display:grid;gap:7px;min-width:0;max-width:100%}.field-label{color:var(--ink);font-size:.92rem;font-weight:800}.field-label-row{position:relative;display:inline-flex;align-items:center;gap:6px;width:fit-content;max-width:100%;justify-content:flex-start}.field-label-row .field-label{min-width:0;overflow-wrap:anywhere}.info-button{display:inline-grid;place-items:center;width:44px;min-width:44px;height:44px;min-height:44px;margin:-11px -10px -11px -4px;padding:0;color:var(--utility-text);background:transparent;border:0;border-radius:999px}.field-action-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.na-button{display:inline-grid;place-items:center;min-width:44px;min-height:34px;padding:6px 10px;color:var(--utility-text);background:var(--control-bg);border:1px solid var(--line-strong);border-radius:999px;font-size:.72rem;font-weight:950;line-height:1;white-space:nowrap}.na-button.selected{color:var(--charcoal);background:var(--gold);border-color:#32303173;box-shadow:inset 0 0 0 2px #d93b3438}.info-button svg{width:16px;height:16px;padding:1px;background:#ffc85880;border:1px solid rgba(7,75,96,.22);border-radius:999px;box-sizing:content-box}.info-popover{position:absolute;display:none;top:calc(100% + 4px);left:0;z-index:30;width:min(280px,calc(100vw - 64px));padding:9px 10px;color:#fff;background:#323031f5;border:1px solid rgba(255,200,88,.5);border-radius:8px;box-shadow:0 12px 26px #00000047;font-size:.78rem;font-weight:650;line-height:1.35;opacity:0;pointer-events:none;transform:translateY(-4px);transition:opacity .16s ease,transform .16s ease}.info-popover.visible{display:block;opacity:1;transform:translateY(0)}.field-helper,.inline-note{margin:0;color:var(--muted);font-size:.9rem;line-height:1.35}input,select,textarea{width:100%;min-width:0;min-height:48px;padding:12px;color:var(--control-text);background:var(--control-bg);border:1px solid var(--control-border);border-radius:8px}input[type=date]{display:block;width:100%;inline-size:100%;min-width:0;min-inline-size:0;max-width:100%;max-inline-size:100%;-webkit-min-logical-width:0;overflow:hidden;text-overflow:ellipsis}.date-input{width:100%!important;inline-size:100%!important;min-width:0!important;min-inline-size:0!important;max-width:100%!important;max-inline-size:100%!important;font-size:clamp(.78rem,3vw,.95rem);line-height:1.2}input[type=date]::-webkit-date-and-time-value{min-width:0;text-align:left}.date-input::-webkit-calendar-picker-indicator{flex:0 0 auto;width:18px;max-width:18px;margin-left:2px;padding:0}select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--deep-teal) 50%),linear-gradient(135deg,var(--deep-teal) 50%,transparent 50%);background-position:calc(100% - 18px) 20px,calc(100% - 12px) 20px;background-size:6px 6px,6px 6px;background-repeat:no-repeat;padding-right:38px}textarea{min-height:112px;resize:vertical;line-height:1.4}.input-with-icon{position:relative;display:block}.input-with-icon svg{position:absolute;left:12px;top:14px;color:var(--teal)}.input-with-icon input{padding-left:40px}.field-grid,.toggle-grid{display:grid;gap:12px}.field-grid>*,.toggle-grid>*{min-width:0;max-width:100%}.toggle-grid .spreadsheet-cta-lock{grid-column:1 / -1}#field-coupon-expiration{grid-template-columns:minmax(0,1fr);max-width:100%;overflow:hidden}#field-coupon-expiration .field{min-width:0;max-width:100%;overflow:hidden}#field-coupon-expiration input,#field-coupon-expiration select{width:100%;min-width:0;max-width:100%}.chip-row,.chip-grid,.card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:8px;max-width:100%}.recipient-logo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-width:100%}.chip,.select-card,.none-button,.product-line-card,.helper-strip button,.add-button,.view-more-button,.primary-button,.utility-button,.danger-button,.text-button,.history-actions button,.icon-button,.segmented button,.manual-link-header button,.file-item button{min-height:44px;border-radius:8px;border:1px solid var(--line-strong)}.chip{display:inline-grid;grid-template-columns:18px minmax(0,1fr);gap:6px;align-items:center;justify-items:start;width:100%;min-width:0;min-height:52px;height:auto;max-width:100%;padding:8px 9px;color:var(--ink);background:var(--control-bg);text-align:left;font-size:clamp(.68rem,2.75vw,.88rem);font-weight:850;line-height:1.1}.chip>span:last-child,.select-card strong,.none-button span,.helper-strip button,.history-actions button,.segmented button,.settings-segmented button{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:normal}.chip>span:last-child,.select-card strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;line-height:1.08}.primary-button,.utility-button,.danger-button,.add-button{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:normal}.chip.selected,.select-card.selected,.none-button.selected,.product-line-card.selected,.product-tile.selected{border-color:var(--red);background:linear-gradient(135deg,#ffc85833,#197e881f 48%,#d93b3414),var(--control-bg);box-shadow:inset 0 0 0 2px var(--selected-shadow)}.chip-check,.checkmark{display:inline-grid;place-items:center;flex:0 0 auto;width:18px;height:18px;color:var(--charcoal);background:var(--control-muted-bg);border:1px solid var(--line-strong);border-radius:999px;font-size:.8rem;font-weight:900}.chip.selected .chip-check,.select-card.selected .checkmark{background:var(--gold);border-color:var(--charcoal)}.chip-badge,.badge{display:inline-flex;align-items:center;min-height:24px;width:fit-content;padding:3px 8px;color:var(--deep-teal);background:#ffc85852;border:1px solid rgba(7,75,96,.2);border-radius:999px;font-size:.76rem;font-weight:800}.chip-badge{margin-left:4px}.select-card{display:grid;grid-template-columns:20px minmax(0,1fr);gap:6px 8px;align-items:center;width:100%;min-width:0;min-height:54px;height:auto;padding:8px 10px;color:var(--ink);background:var(--control-bg);text-align:left}.recipient-logo-card{position:relative;display:grid;place-items:center;width:100%;min-height:74px;padding:9px;color:var(--ink);background:linear-gradient(135deg,rgba(255,200,88,.14),transparent 45%),var(--control-bg);border:1px solid var(--line-strong);border-radius:8px;overflow:hidden}.recipient-logo-card:after{content:"";position:absolute;inset:auto 0 0;height:3px;background:linear-gradient(90deg,var(--gold),var(--teal),var(--red));opacity:.65}.recipient-logo-card .checkmark{position:absolute;top:6px;left:6px;z-index:2}.recipient-logo-frame{display:grid;place-items:center;width:100%;min-height:52px}.recipient-logo-frame img{display:block;width:100%;max-width:104px;max-height:48px;object-fit:contain;filter:drop-shadow(0 4px 10px rgba(0,0,0,.12))}.recipient-logo-card.other{font-weight:950;text-transform:uppercase;letter-spacing:0}.recipient-logo-card.other.recipient-other-span-2{grid-column:span 2}.recipient-logo-card.other.recipient-other-span-3{grid-column:span 3}.recipient-logo-card.selected{border-color:var(--red);box-shadow:inset 0 0 0 2px var(--selected-shadow),0 0 0 1px #ffc85847}.recipient-logo-card.selected .checkmark{background:var(--gold);border-color:var(--charcoal)}.select-card strong{font-size:clamp(.68rem,2.7vw,.88rem);line-height:1.05}.select-card small{grid-column:2;color:var(--muted);line-height:1.35}.tall-scroll{max-height:280px;overflow-y:auto;padding-right:2px}.section-toggle,.checkbox-line{min-height:44px;display:flex;align-items:center;gap:10px;color:var(--ink);font-weight:750}.section-toggle label,.checkbox-line{display:inline-flex;align-items:center;gap:8px;line-height:1.2}.section-toggle input,.checkbox-line input{width:22px;height:22px;min-height:22px;margin:0;flex:0 0 auto}.helper-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.helper-strip button{width:100%;padding:8px 10px;color:var(--utility-text);background:var(--teal-soft-bg);font-size:clamp(.74rem,3.1vw,.88rem);font-weight:850}.empty-state{padding:14px;color:var(--muted);background:var(--empty-bg);border:1px dashed var(--line-strong);border-radius:8px;line-height:1.4}.upload-zone{display:grid;gap:6px;place-items:center;min-height:132px;padding:16px;color:var(--utility-text);background:var(--teal-soft-bg);border:2px dashed rgba(7,75,96,.45);border-radius:8px;text-align:center;font-weight:850}.upload-zone small{color:var(--muted);font-weight:600}.upload-zone input{position:absolute;width:1px;min-height:1px;opacity:0;pointer-events:none}.product-upload-panel{display:grid;gap:12px}.product-upload-panel>.inline-note{margin-top:2px}.file-list,.manual-link-list,.history-list,.history-group{display:grid;gap:10px}.history-group-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:6px 0 0;color:var(--utility-text);font-size:.86rem;text-transform:uppercase;letter-spacing:.04em}.history-group-title span{display:inline-grid;place-items:center;min-width:28px;min-height:24px;padding:2px 8px;color:var(--charcoal);background:var(--gold);border-radius:999px;font-size:.76rem}.file-item{display:grid;grid-template-columns:52px minmax(0,1fr) 44px;gap:10px;align-items:center;padding:9px;background:var(--control-bg);border:1px solid var(--line);border-radius:8px;min-width:0}.file-item img{width:52px;height:52px;object-fit:cover;border-radius:6px;border:1px solid var(--line)}.file-item strong,.file-item small{display:block}.file-meta{min-width:0}.file-meta strong,.file-meta small,.file-link{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-item small{color:var(--muted)}.file-link{display:block;color:var(--utility-text);font-size:.78rem;font-weight:800}.file-item button,.manual-link-header button,.icon-button{display:grid;place-items:center;width:44px;padding:0;color:var(--utility-text);background:var(--control-bg)}.toggle-grid{grid-template-columns:1fr}.segmented{display:grid;grid-template-columns:1fr 1fr;background:var(--control-bg);border:1px solid var(--line-strong);border-radius:8px;overflow:hidden}.segmented button{border:0;border-radius:0;background:transparent;color:var(--ink);padding-inline:8px;font-size:.9rem;font-weight:850}.segmented button.selected{background:var(--gold);box-shadow:inset 0 0 0 2px #32303129}.product-group{display:grid;gap:10px}.product-line-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-line-card{display:grid;grid-template-columns:54px 1fr;gap:6px 10px;align-items:center;min-height:76px;padding:8px;color:var(--ink);background:var(--control-bg);border:1px solid var(--line-strong);border-radius:8px;text-align:left}.product-line-card img{grid-row:1 / span 2;width:54px;height:54px;object-fit:contain;background:var(--control-muted-bg);border:1px solid var(--line);border-radius:6px}.product-line-card span{align-self:end;min-width:0;overflow:hidden;text-overflow:ellipsis;font-weight:900;line-height:1.15}.product-line-card small{align-self:start;color:var(--muted)}.product-line-panel{display:grid;gap:8px;padding:10px;background:var(--empty-bg);border:1px solid var(--line);border-radius:8px}.product-line-panel h5{margin:0;color:var(--ink);font-size:.9rem;letter-spacing:0}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.view-more-button{display:inline-grid;justify-self:center;gap:2px;width:min(100%,220px);padding:10px 14px;color:var(--utility-text);background:var(--control-bg);border:1px solid var(--line-strong);border-radius:8px;font-weight:900;line-height:1.1;text-align:center}.view-more-button span{color:var(--muted);font-size:.72rem;font-weight:800}.product-tile{display:grid;gap:8px;min-height:150px;padding:8px;color:var(--ink);background:var(--control-bg);border:1px solid var(--line-strong);border-radius:8px;overflow:hidden;text-align:left}.product-tile img{width:100%;aspect-ratio:1 / 1;object-fit:contain;background:var(--control-muted-bg);border-radius:6px}.product-tile span{min-width:0;overflow-wrap:break-word;overflow:hidden;font-weight:850}.product-tile small{min-width:0;overflow:hidden;text-overflow:ellipsis;color:var(--muted)}.asset-file-icon{display:grid;place-items:center;width:54px;height:54px;color:var(--teal);background:var(--control-muted-bg);border:1px solid var(--line);border-radius:6px}.asset-file-icon.large{width:100%;height:auto;aspect-ratio:1 / 1}.asset-tile span,.asset-line-card span{overflow-wrap:anywhere}.tall-scroll .chip{min-height:46px;height:46px}.tall-scroll .chip>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.none-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:9px 14px;color:var(--ink);background:var(--control-bg);font-size:.88rem;font-weight:850}.selected-products{display:grid;gap:8px;padding:12px;background:var(--control-bg);border:1px solid var(--line);border-radius:8px}.selected-product-list{display:flex;flex-wrap:wrap;gap:8px}.selected-product-list span{max-width:100%;padding:6px 9px;overflow:hidden;text-overflow:ellipsis;background:#ffc85838;border:1px solid rgba(50,48,49,.12);border-radius:999px;font-size:.86rem;font-weight:750}.selected-asset-list button{display:inline-flex;align-items:center;gap:6px;min-height:36px;max-width:100%;padding:6px 9px;color:var(--ink);background:#ffc85838;border:1px solid rgba(50,48,49,.12);border-radius:999px;font-size:.86rem;font-weight:750}.selected-asset-list button span{min-width:0;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:transparent;border:0;border-radius:0}.manual-link{display:grid;gap:12px;padding:12px;overflow:hidden}.manual-link-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.error-note{margin:0;color:var(--red);font-weight:750}.primary-button,.utility-button,.danger-button,.add-button,.text-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:0;padding:10px 12px;font-weight:900;text-decoration:none;line-height:1.05;text-align:center;white-space:normal}.icon-only-action{white-space:nowrap}.primary-button.icon-only-action,.utility-button.icon-only-action{display:inline-grid;place-items:center}.icon-only-action svg{stroke-width:2.6}.icon-accent-gold svg{color:var(--gold)}.icon-accent-red svg{color:var(--red)}.icon-accent-teal svg{color:var(--teal)}.icon-accent-deep svg{color:var(--deep-teal)}:root[data-theme=dark] .icon-accent-deep svg{color:var(--charcoal)}.primary-button svg,.utility-button svg,.danger-button svg,.add-button svg,.text-button svg{flex:0 0 auto}.primary-button{color:var(--charcoal);background:var(--gold);border-color:#32303173}.primary-button:disabled,.utility-button:disabled,.danger-button:disabled,.add-button:disabled,.text-button:disabled{cursor:wait;opacity:.68}.chip:disabled,.none-button:disabled,.product-tile:disabled,.segmented button:disabled,.settings-segmented button:disabled{cursor:not-allowed}.locked-control,.locked-field input:disabled,.locked-field select:disabled,.locked-field textarea:disabled{opacity:.82}.locked-control.selected,.chip.locked-control.selected,.product-tile.locked-control.selected{opacity:1}.locked-field input:disabled,.locked-field select:disabled,.locked-field textarea:disabled{border-style:dashed}.locked-note{margin:-2px 0 0;color:var(--muted);font-size:.84rem;font-weight:750;line-height:1.35}.locked-banner,.default-lock-card{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:10px;padding:10px 11px;color:var(--ink);background:#ffc8582e;border:1px solid rgba(255,200,88,.42);border-radius:8px;font-weight:800;line-height:1.35}.default-lock-card{justify-items:start}.locked-banner .badge,.default-lock-card .badge{display:inline-grid;place-items:center;min-width:0;max-width:116px;min-height:28px;padding:5px 8px;border-radius:8px;font-size:clamp(.58rem,2.7vw,.7rem);line-height:1.05;text-align:center;white-space:normal;overflow-wrap:normal;word-break:normal}.default-lock-card p,.locked-banner span{min-width:0;margin:0;color:var(--muted);font-size:clamp(.8rem,3.45vw,.9rem);font-weight:750;line-height:1.32;overflow-wrap:normal;word-break:normal}.utility-button,.add-button{color:var(--utility-text);background:var(--utility-bg);border-color:var(--line-strong)}.danger-button{color:#fff;background:var(--red);border-color:var(--red)}.text-button{width:fit-content;min-height:44px;padding-inline:0;color:var(--utility-text);background:transparent;border:0}.big-compile{width:100%;min-height:54px;font-size:1rem}.compiled-panel{display:grid;gap:12px;padding:14px;box-shadow:0 12px 28px var(--panel-shadow)}.compiled-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.compiled-header h2{margin:0;color:var(--utility-text);font-size:1.2rem}.compiled-text{min-height:420px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.82rem;line-height:1.45;white-space:pre-wrap;overflow-x:hidden;overflow-wrap:anywhere;word-break:break-word}.compiled-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.compiled-actions .primary-button{grid-column:1 / -1}.compiled-actions .utility-button{min-width:0;padding-inline:8px;font-size:clamp(.72rem,3vw,.86rem)}.export-review-panel{display:grid;gap:10px;padding:10px;background:var(--subsection-bg);border:1px solid var(--line);border-radius:8px}.export-review-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.export-review-header strong,.export-review-header span{display:block}.export-review-header strong{color:var(--utility-text);font-size:.9rem}.export-review-header span{margin-top:2px;color:var(--muted);font-size:.76rem;font-weight:760;line-height:1.25}.export-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:310px;overflow-y:auto;padding-right:2px}.export-review-item{position:relative;display:grid;gap:7px;min-width:0;padding:7px;background:var(--control-bg);border:1px solid var(--line-strong);border-radius:8px}.export-review-item img,.export-review-item>.asset-file-icon{width:100%;aspect-ratio:1 / 1;object-fit:contain;background:var(--control-muted-bg);border-radius:6px}.export-review-item strong,.export-review-item span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis}.export-review-item strong{color:var(--ink);font-size:.76rem;line-height:1.16}.export-review-item span{margin-top:2px;color:var(--muted);font-size:.68rem;font-weight:750;line-height:1.12}.export-review-item button{position:absolute;top:5px;right:5px;display:inline-grid;place-items:center;width:30px;height:30px;min-height:30px;padding:0;color:#fff;background:#d93b34f5;border:1px solid rgba(255,255,255,.4);border-radius:999px}.warning-box{display:grid;gap:4px;padding:10px;color:var(--warning-text);background:var(--danger-soft-bg);border:1px solid var(--danger-soft-line);border-radius:8px}.warning-box p{margin:0;font-weight:750}.mobile-output{display:grid;gap:12px}.preview-column{display:none}.bottom-bar{position:fixed;left:0;right:0;bottom:0;z-index:20;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:8px;padding-bottom:max(10px,env(safe-area-inset-bottom));background:#323031f5;border-top:1px solid rgba(255,200,88,.42);box-shadow:0 -12px 32px #00000040}.bottom-bar .utility-button,.bottom-bar .primary-button{min-width:0;min-height:48px;width:100%;gap:3px;padding-inline:3px;font-size:clamp(.58rem,2.2vw,.75rem);letter-spacing:0;white-space:nowrap}.bottom-bar .utility-button svg,.bottom-bar .primary-button svg{width:19px;height:19px}.next-question-button,.previous-question-button{position:fixed;right:14px;z-index:21;display:inline-grid;place-items:center;width:48px;height:48px;color:var(--charcoal);background:var(--gold);border:1px solid rgba(50,48,49,.45);border-radius:999px;box-shadow:0 14px 28px #00000047}.next-question-button{bottom:calc(76px + env(safe-area-inset-bottom))}.previous-question-button{bottom:calc(130px + env(safe-area-inset-bottom));color:#f8f4e9;background:var(--teal);border-color:#ffc85866}.next-question-button svg,.previous-question-button svg{pointer-events:none}.progress-dock{position:fixed;left:12px;right:74px;bottom:calc(76px + env(safe-area-inset-bottom));z-index:21;display:grid;gap:6px;min-height:48px;padding:8px 10px;color:#f8f4e9;background:linear-gradient(135deg,#ffc85829,#197e882e),#323031f5;border:1px solid rgba(255,200,88,.46);border-radius:8px;box-shadow:0 14px 30px #00000047;overflow:visible}.progress-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:.72rem;font-weight:950;line-height:1;text-transform:uppercase}.progress-meta span{color:var(--gold)}.progress-meta strong{color:#fff}.progress-track{position:relative;height:8px;overflow:hidden;background:#ffffff21;border:1px solid rgba(255,255,255,.12);border-radius:999px}.progress-track span{display:block;width:0;height:100%;background:linear-gradient(90deg,var(--gold),var(--teal),var(--red)),var(--gold);border-radius:inherit;box-shadow:0 0 14px #ffc85861;transition:width .52s cubic-bezier(.22,1,.36,1)}.progress-burst{position:absolute;right:10px;bottom:calc(100% + 8px);padding:7px 10px;color:var(--charcoal);background:var(--gold);border:1px solid rgba(50,48,49,.18);border-radius:999px;box-shadow:0 12px 22px #0000003d;font-size:.72rem;font-weight:950;text-transform:uppercase;pointer-events:none}.notice{position:sticky;top:8px;z-index:15;display:flex;align-items:center;gap:8px;margin-bottom:12px;padding:10px 12px;color:var(--charcoal);background:var(--gold);border:1px solid rgba(50,48,49,.24);border-radius:8px;font-weight:850;box-shadow:0 8px 24px #0003}.drawer-backdrop,.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:140;display:grid;background:#0000008a;overscroll-behavior:contain;touch-action:none}.history-drawer,.settings-drawer{width:min(100%,720px);height:100dvh;margin-left:auto;padding:calc(14px + env(safe-area-inset-top)) 14px calc(14px + env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;color:var(--ink);background:var(--surface);border-radius:0;border:0}.drawer-header{position:sticky;top:calc(-14px - env(safe-area-inset-top));z-index:4;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:calc(-14px - env(safe-area-inset-top)) -14px 12px;padding:calc(14px + env(safe-area-inset-top)) 14px 10px;background:var(--surface);border-bottom:1px solid var(--line)}.drawer-header h2{margin:0;color:var(--utility-text)}.history-item{display:grid;gap:12px;padding:12px}.history-item h3{margin:0 0 6px;color:var(--ink);font-size:1rem}.history-item p{margin:4px 0;color:var(--muted);font-size:.9rem;line-height:1.35}.history-group-controls{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:center;margin:10px 0 12px;padding:8px;background:var(--subsection-bg);border:1px solid var(--line);border-radius:8px}.history-group-controls>span{color:var(--muted);font-size:.78rem;font-weight:900;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}.history-group-toggle{display:grid;grid-template-columns:1fr 1fr;overflow:hidden;background:var(--control-bg);border:1px solid var(--line-strong);border-radius:8px}.history-group-toggle button{min-height:38px;color:var(--ink);background:transparent;border:0;font-size:.82rem;font-weight:900}.history-group-toggle button.selected{color:var(--charcoal);background:var(--gold)}.history-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.history-actions button{display:grid;place-items:center;color:var(--utility-text);background:var(--utility-bg);padding:0 4px;font-size:clamp(.68rem,2.45vw,.82rem);font-weight:850;line-height:1;white-space:nowrap}.modal-backdrop{place-items:center;padding:calc(16px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom))}.modal{width:min(100%,420px);padding:18px}.modal h2{margin:0 0 8px;color:var(--utility-text)}.modal p{margin:0;color:var(--muted);line-height:1.45}.settings-stack,.settings-panel,.theme-lab{display:grid;gap:14px}.settings-panel,.theme-lab{padding:14px;background:var(--surface-2);border:1px solid var(--line);border-radius:8px}.settings-section-header{display:flex;align-items:start;justify-content:space-between;gap:12px}.settings-section-header h3,.settings-card h4{margin:0;color:var(--utility-text)}.settings-card{display:grid;gap:12px;padding:12px;background:var(--subsection-bg);border:1px solid var(--line);border-radius:8px}.settings-card p{margin:5px 0 0;color:var(--muted);font-size:.9rem;line-height:1.4}.settings-segmented{display:grid;grid-template-columns:1fr 1fr;overflow:hidden;background:var(--control-bg);border:1px solid var(--line-strong);border-radius:8px}.settings-segmented button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:9px 10px;color:var(--ink);background:transparent;border:0;font-weight:900}.settings-segmented button.selected{color:var(--charcoal);background:var(--gold);box-shadow:inset 0 0 0 2px #32303129}.glow-slider{display:grid;gap:10px;padding:10px;background:var(--control-bg);border:1px solid var(--line);border-radius:8px}.glow-slider span{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--muted);font-size:.82rem;font-weight:850}.glow-slider strong{color:var(--utility-text)}.glow-slider input{width:100%;accent-color:var(--gold)}.glow-slider input:disabled{opacity:.5}.theme-swatch-grid{display:grid;grid-template-columns:1fr;gap:8px}.theme-swatch{display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;align-items:center;min-height:52px;padding:8px;background:var(--control-bg);border:1px solid var(--line);border-radius:8px}.theme-swatch-color{width:42px;height:34px;border:1px solid rgba(50,48,49,.2);border-radius:6px}.theme-swatch-color.gold{background:var(--gold)}.theme-swatch-color.charcoal{background:var(--charcoal)}.theme-swatch-color.deep-teal{background:var(--deep-teal)}.theme-swatch-color.teal{background:var(--teal)}.theme-swatch-color.red{background:var(--red)}.theme-swatch strong,.theme-swatch small{display:block}.theme-swatch small{margin-top:2px;color:var(--muted);font-size:.78rem;font-weight:800}.settings-preview-panel{display:grid;gap:10px;padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:8px}.settings-preview-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.settings-preview-row .primary-button,.settings-preview-row .utility-button{min-width:0}.settings-preview-field{display:grid;gap:6px}.settings-preview-input{min-height:48px;padding:12px;color:var(--muted);background:var(--control-bg);border:1px solid var(--control-border);border-radius:8px}.settings-chip-preview{display:inline-grid;grid-template-columns:18px auto;gap:7px;align-items:center;width:fit-content;max-width:100%;min-height:44px;padding:9px 12px;color:var(--ink);background:var(--control-bg);border:1px solid var(--red);border-radius:8px;box-shadow:inset 0 0 0 2px var(--selected-shadow);font-weight:850}.settings-alert-preview{padding:10px;color:var(--warning-text);background:var(--danger-soft-bg);border:1px solid var(--danger-soft-line);border-radius:8px;font-size:.9rem;font-weight:800}:root[data-theme=dark] .logo-shell{background:#fffffe;box-shadow:inset 0 0 0 1px #074b601a}:root[data-theme=dark] .badge,:root[data-theme=dark] .chip-badge{color:#f8f4e9;background:#0f5966;border-color:#56cdd38a;text-shadow:0 1px 1px rgba(0,0,0,.35)}:root[data-theme=dark] select{background-image:linear-gradient(45deg,transparent 50%,var(--gold) 50%),linear-gradient(135deg,var(--gold) 50%,transparent 50%)}:root[data-theme=dark] .info-popover{color:#f8f4e9;background:#041016fa;border-color:#ffc8589e}:root[data-theme=dark] .bottom-bar{background:#041016f7}:root[data-theme=dark][data-glow=on] .app-header,:root[data-theme=dark][data-glow=on] .settings-drawer,:root[data-theme=dark][data-glow=on] .history-drawer,:root[data-theme=dark][data-glow=on] .compiled-panel{box-shadow:0 0 0 1px #ffc8581f,0 18px 42px #0000006b,0 0 calc(34px * var(--glow-scale)) var(--teal-glow)}:root[data-theme=dark][data-glow=on] .primary-button,:root[data-theme=dark][data-glow=on] .settings-segmented button.selected,:root[data-theme=dark][data-glow=on] .segmented button.selected{box-shadow:inset 0 0 0 2px #32303129,0 0 calc(22px * var(--glow-scale)) var(--gold-glow)}:root[data-theme=dark][data-glow=on] .chip.selected,:root[data-theme=dark][data-glow=on] .select-card.selected,:root[data-theme=dark][data-glow=on] .recipient-logo-card.selected,:root[data-theme=dark][data-glow=on] .none-button.selected,:root[data-theme=dark][data-glow=on] .product-line-card.selected,:root[data-theme=dark][data-glow=on] .product-tile.selected,:root[data-theme=dark][data-glow=on] .settings-chip-preview{box-shadow:inset 0 0 0 2px var(--selected-shadow),0 0 calc(18px * var(--glow-scale)) var(--gold-glow)}:root[data-glow=off] .app-header,:root[data-glow=off] .accordion-section,:root[data-glow=off] .compiled-panel,:root[data-glow=off] .history-drawer,:root[data-glow=off] .settings-drawer,:root[data-glow=off] .primary-button,:root[data-glow=off] .settings-segmented button.selected,:root[data-glow=off] .segmented button.selected,:root[data-glow=off] .chip.selected,:root[data-glow=off] .select-card.selected,:root[data-glow=off] .recipient-logo-card.selected,:root[data-glow=off] .none-button.selected,:root[data-glow=off] .product-line-card.selected,:root[data-glow=off] .product-tile.selected,:root[data-glow=off] .settings-chip-preview{box-shadow:none}@media (prefers-reduced-motion: no-preference){.accordion-section:before{background-size:100% 260%;animation:vipxd-accent-flow 7s linear infinite}.chip,.select-card,.recipient-logo-card,.product-line-card,.product-tile,.primary-button,.utility-button,.danger-button,.add-button,.view-more-button,.na-button{transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease,background-color .15s ease}.chip:active,.select-card:active,.recipient-logo-card:active,.product-line-card:active,.product-tile:active,.primary-button:active,.utility-button:active,.danger-button:active,.add-button:active,.view-more-button:active,.na-button:active{transform:scale(.985)}.recipient-logo-card.selected,.chip.selected,.product-tile.selected,.product-line-card.selected{animation:selected-pop .18s ease-out}.next-question-button,.previous-question-button{animation:next-button-breathe 4.8s ease-in-out infinite}.progress-track span{position:relative;overflow:hidden}.progress-track span:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.42),transparent);transform:translate(-110%);animation:progress-shimmer 2.8s ease-in-out infinite}.progress-dock.celebrating{animation:progress-celebrate .76s ease-out}.progress-dock.celebrating .progress-track{animation:progress-track-flash .76s ease-out}.progress-burst{animation:progress-burst-pop .94s ease-out both}}@keyframes vipxd-accent-flow{0%{background-position:0 0}to{background-position:0 260%}}@keyframes selected-pop{0%{transform:scale(.98)}to{transform:scale(1)}}@keyframes next-button-breathe{0%,82%,to{transform:translateY(0)}90%{transform:translateY(-3px)}}@keyframes progress-shimmer{0%,48%{transform:translate(-110%)}78%,to{transform:translate(110%)}}@keyframes progress-celebrate{0%{box-shadow:0 14px 30px #00000047;transform:translateY(0)}40%{box-shadow:0 14px 30px #00000047,0 0 0 5px #ffc85833,0 0 28px #197e8857;transform:translateY(-2px)}to{box-shadow:0 14px 30px #00000047;transform:translateY(0)}}@keyframes progress-track-flash{0%,to{filter:saturate(1)}48%{filter:saturate(1.7)}}@keyframes progress-burst-pop{0%{opacity:0;transform:translateY(6px) scale(.92)}18%,76%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(-8px) scale(.96)}}.modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}@media (max-width: 700px){input,select,textarea,.date-input{font-size:16px!important;line-height:1.3}}@media (min-width: 560px){.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chip-row,.chip-grid,.card-grid,.recipient-logo-grid,.helper-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.field-grid,.toggle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#field-coupon-expiration,.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product-line-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-card{grid-template-columns:minmax(0,1fr) 220px;align-items:center}.theme-swatch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width: 900px){.app{width:min(100%,1440px);padding:24px 20px 40px}.app-header{grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:20px}.brand-lockup{grid-template-columns:96px minmax(0,1fr);align-items:center;min-width:0}.brand-lockup>div{min-width:0}.logo-shell{min-width:96px;min-height:96px}.logo-shell img{width:82px;max-height:82px}h1{max-width:100%;font-size:clamp(1.72rem,2.05vw,2.2rem);line-height:1.03;overflow:hidden;overflow-wrap:normal;text-overflow:ellipsis;white-space:nowrap}.header-copy{max-width:100%;font-size:.96rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-actions{align-self:center;grid-template-columns:repeat(3,64px);justify-content:end;min-width:0;width:220px}.top-actions .utility-button{display:grid;place-items:center;width:64px;height:64px;min-height:64px;padding:0;white-space:nowrap}.chip-row,.chip-grid,.card-grid,.helper-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.recipient-logo-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.chip,.select-card,.helper-strip button{min-height:48px;padding:8px 9px;font-size:.78rem;line-height:1.08}.chip>span:last-child,.select-card strong{-webkit-line-clamp:2;line-clamp:2}.segmented button,.settings-segmented button{min-height:46px;padding-inline:8px;font-size:.82rem;line-height:1.08}.badge,.chip-badge{font-size:.7rem;line-height:1}.recipient-logo-card.other{grid-column:4 / 5!important}.app-layout{grid-template-columns:minmax(0,1.06fr) minmax(360px,.94fr);align-items:start}.toggle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#field-product-photos-hero{grid-column:1 / -1}#field-product-photos-hero .chip-row{grid-template-columns:repeat(4,minmax(0,1fr))}#field-product-photos-hero .chip{min-height:46px;font-size:.72rem}#field-cta .chip-row,#field-links .chip-row{grid-template-columns:repeat(3,minmax(0,1fr))}#field-links .add-button,#field-previous-hero .helper-strip{width:100%}.field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#field-coupon-expiration{grid-template-columns:repeat(3,minmax(0,1fr))}.default-lock-card,.locked-banner{align-items:center;grid-template-columns:auto minmax(0,1fr)}.default-lock-card p,.locked-banner span{font-size:.78rem;line-height:1.28}.product-tile{min-height:134px;gap:6px;padding:7px}.product-tile img{aspect-ratio:1.12 / 1}.product-tile span{display:-webkit-box;min-height:0;font-size:.76rem;line-height:1.16;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}.product-tile small{font-size:.7rem;line-height:1.12}.asset-tile span,.asset-line-card span{font-size:.72rem;line-height:1.14}.product-line-card{min-height:68px;grid-template-columns:48px minmax(0,1fr);gap:5px 8px}.product-line-card img,.asset-file-icon{width:48px;height:48px}.product-line-card span{font-size:.78rem}.product-line-card small,.view-more-button span{font-size:.68rem}.preview-column{display:block;align-self:stretch}.sticky-preview{display:grid;gap:12px;position:sticky;top:18px}.mobile-output,.bottom-bar,.next-question-button,.previous-question-button,.progress-dock{display:none}.compiled-text{min-height:590px}.compiled-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.compiled-actions .primary-button{grid-column:auto}.compiled-actions .primary-button,.compiled-actions .utility-button{min-height:46px;padding-inline:8px;font-size:.76rem;line-height:1.05}}:root[data-layout-mode=focused],:root[data-layout-mode=focused] body,:root[data-layout-mode=focused] #root{height:100%;overflow:hidden}.app[data-layout-mode=focused]{display:flex;flex-direction:column;width:min(100%,1220px);height:100dvh;padding:max(8px,env(safe-area-inset-top)) 8px calc(196px + env(safe-area-inset-bottom));overflow:hidden}.app[data-layout-mode=focused] .app-header{flex:0 0 auto;grid-template-columns:minmax(0,1fr) 140px;gap:8px;margin-bottom:8px;padding:8px}.app[data-layout-mode=focused] .brand-lockup{grid-template-columns:52px minmax(0,1fr);gap:8px}.app[data-layout-mode=focused] .logo-shell{min-width:52px;min-height:52px}.app[data-layout-mode=focused] .logo-shell img{width:46px;max-height:46px}.app[data-layout-mode=focused] .app-header h1{overflow:hidden;font-size:clamp(1rem,4vw,1.35rem);text-overflow:ellipsis;white-space:nowrap}.app[data-layout-mode=focused] .app-header .eyebrow{margin-bottom:2px;font-size:.54rem}.app[data-layout-mode=focused] .header-copy{margin-top:3px;overflow:hidden;font-size:.62rem;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.app[data-layout-mode=focused] .top-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.app[data-layout-mode=focused] .top-actions .utility-button{min-height:48px}.focused-layout-shell,.focused-compiler-form{min-height:0;height:100%}.focused-layout-shell{flex:1 1 auto;display:block;overflow:hidden;overflow-anchor:none}.focused-compiler-form{display:grid;grid-template-rows:minmax(0,1fr);overflow:hidden;overflow-anchor:none}.focused-compiler-form>.focused-section,.focused-compiler-form>.focused-special-page,.focused-compiler-form>.focused-prompt-output{grid-area:1 / 1;min-width:0;min-height:0}.focused-section,.focused-special-page,.focused-prompt-output{height:100%;max-height:100%;overflow:hidden;background:var(--surface);border:1px solid var(--line);border-radius:8px;box-shadow:0 10px 26px var(--card-shadow)}.focused-section{display:grid;grid-template-rows:auto minmax(0,1fr)}.focused-section .section-trigger{position:relative;z-index:3;cursor:default}.focused-section .section-body{min-height:0;align-content:start;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.app[data-layout-mode=focused] .accordion-section[data-section-number="7"] .big-compile,.app[data-layout-mode=focused] .accordion-section[data-section-number="7"]>.section-body>.checkbox-line{display:none}.focused-special-page{display:grid;align-content:start;gap:14px;padding:14px}.focused-page-heading{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:10px}.focused-page-heading h2,.focused-page-heading p{margin:0}.focused-review-page{grid-template-rows:auto minmax(0,1fr)}.focused-review-list{display:grid;gap:8px}.compact-review-row{min-width:0;overflow:hidden;background:var(--subsection-bg);border:1px solid var(--line);border-radius:8px}.compact-review-summary{display:grid;grid-template-columns:minmax(0,1fr) 44px 48px;gap:6px;align-items:center;min-height:66px;padding:8px}.compact-review-copy{display:grid;min-width:0;gap:4px}.compact-review-copy>strong{color:var(--ink);font-size:.74rem;text-transform:uppercase}.compact-review-copy>span{overflow:hidden;color:var(--ink);font-size:.8rem;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.compact-review-copy>div{display:flex;gap:5px;align-items:center;min-width:0}.compact-review-row .source-badge{max-width:min(180px,60vw);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.review-value-state{color:var(--teal);font-size:10px;font-weight:800;white-space:nowrap}.review-value-state.missing{color:var(--muted)}.compact-review-info,.compact-review-edit,.preflight-expand{display:grid;place-items:center;min-width:44px;min-height:44px;padding:0;color:var(--utility-text);background:var(--utility-bg);border:1px solid var(--line-strong);border-radius:7px}.compact-review-edit{min-width:48px;padding-inline:4px;font-size:.68rem;font-weight:850}.compact-review-detail{display:grid;gap:6px;margin:0 8px 8px;padding:10px;color:var(--ink);background:var(--control-muted-bg);border:1px solid var(--line);border-radius:7px}.compact-review-detail p,.compact-review-detail span{margin:0;overflow-wrap:anywhere;font-size:.78rem;line-height:1.4}.review-return-button{position:sticky;top:8px;z-index:12;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:7px;color:var(--utility-text);background:var(--utility-bg);border:1px solid var(--teal)}.focused-compile-page{place-content:center;text-align:center}.focused-prompt-output{display:block}.focused-prompt-output:empty{display:none}.focused-prompt-output .compiled-panel{display:grid;grid-template-rows:auto minmax(0,1fr);height:100%;border:0}.focused-prompt-output .compiled-content{grid-template-rows:auto auto minmax(120px,1fr) auto auto;min-height:0;overflow:hidden}.focused-prompt-output .compiled-text{min-height:0;height:100%;resize:none;overflow-y:auto}.focused-navigation{position:fixed;left:8px;right:8px;bottom:calc(132px + env(safe-area-inset-bottom));z-index:23;display:grid;grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;gap:6px;padding:6px;background:#071923f5;border:1px solid rgba(255,200,88,.5);border-radius:8px;box-shadow:0 10px 26px #00000052}.mobile-workflow-dock{display:none}@media (max-width: 760px){.app[data-layout-mode=focused] .focused-navigation,.app[data-layout-mode=focused] .progress-dock,.app[data-layout-mode=focused] .bottom-bar,.app[data-layout-mode=focused] .next-question-button,.app[data-layout-mode=focused] .previous-question-button{display:none}.app[data-layout-mode=focused]{padding-bottom:calc(92px + env(safe-area-inset-bottom))}.app[data-layout-mode=focused] .selected-assets-tray{bottom:calc(82px + env(safe-area-inset-bottom))}.mobile-workflow-dock{position:fixed;left:8px;right:8px;bottom:max(8px,env(safe-area-inset-bottom));z-index:70;display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:8px;min-height:64px;padding:9px;color:#f8f4e9;background:#071f28f7;border:1px solid rgba(255,200,88,.58);border-radius:8px;box-shadow:0 12px 30px #0000006b;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.mobile-workflow-dock>button{width:48px;height:48px;min-width:48px;min-height:48px;display:grid;place-items:center;padding:0;color:#f8f4e9;background:#123947;border:1px solid #315f69;border-radius:6px}.mobile-workflow-dock>button.compile{color:#323031;background:#ffc858;border-color:#ffc858}.mobile-workflow-dock>button:disabled{opacity:.36}.mobile-workflow-dock>div:not(.mobile-dock-progress){min-width:0;display:grid;text-align:center;gap:2px}.mobile-workflow-dock strong,.mobile-workflow-dock div>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-workflow-dock strong{font-size:12px}.mobile-workflow-dock div>span{font-size:10px;opacity:.72}.mobile-dock-progress{position:absolute;left:9px;right:9px;top:4px;height:3px;overflow:hidden;background:#ffffff26}.mobile-dock-progress>span{display:block;height:100%;background:linear-gradient(90deg,#ffc858,#197e88);transition:width .25s ease}}.focused-pagination{display:flex;gap:4px;min-width:0;overflow-x:auto;scrollbar-width:none}.focused-pagination::-webkit-scrollbar{display:none}.focused-pagination button,.focused-nav-arrow{display:inline-grid;place-items:center;flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;color:var(--utility-text);background:var(--utility-bg);border:1px solid var(--line-strong);border-radius:6px;font-size:.68rem;font-weight:900}.focused-nav-arrow{width:44px;height:44px}.focused-pagination button.active{color:var(--charcoal);background:var(--gold);border-color:var(--gold)}.focused-pagination button.complete:not(.active){color:#fff;background:var(--teal);border-color:var(--teal)}.focused-pagination button.completion-motion{animation:completion-sweep .62s ease-out 1}@keyframes completion-sweep{0%{background:#ffc858;box-shadow:inset 0 0 #197e88}65%{background:#ffc858;box-shadow:inset 46px 0 #197e88}to{background:#197e88;box-shadow:inset 46px 0 #197e88}}.app[data-layout-mode=focused] .progress-dock{left:8px;right:8px;bottom:calc(76px + env(safe-area-inset-bottom))}@media (max-width: 430px){.cta-category summary{gap:3px;padding-inline:6px;font-size:.66rem}.cta-category summary .badge{padding-inline:5px;font-size:.6rem}}@media (max-width: 559px){.chip-row>.chip:last-child:nth-child(odd){grid-column:1 / -1}}@media (min-width: 900px){.app[data-layout-mode=focused]{width:min(100%,1120px);padding:14px 18px 124px}.app[data-layout-mode=focused] .app-header{grid-template-columns:minmax(0,1fr) 220px}.focused-navigation{left:50%;right:auto;bottom:16px;width:min(760px,calc(100vw - 36px));transform:translate(-50%)}.app[data-layout-mode=focused] .progress-dock{display:grid;left:50%;right:auto;bottom:64px;width:min(620px,calc(100vw - 36px));transform:translate(-50%)}.focused-prompt-output{display:block}.focused-prompt-output .compiled-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}.app-header{padding:12px}.app-header .brand-lockup{grid-template-columns:68px minmax(0,1fr);gap:11px}.app-header .logo-shell{min-width:68px;min-height:68px}.app-header .logo-shell img{width:58px;max-height:58px}.app-header .eyebrow{margin-bottom:2px;font-size:.58rem;line-height:1.1;white-space:nowrap}.app-header h1{max-width:100%;font-size:clamp(1rem,4.55vw,1.28rem);line-height:1.05;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-header .header-copy{margin-top:4px;font-size:.72rem;line-height:1.3}.subsection-header{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}.subsection-header h3{min-width:0}.subsection-add-button,.disclosure-info-button{flex:0 0 auto;width:44px;min-width:44px;height:44px;min-height:44px;padding:0}.collapsible-subsection-content{display:grid;gap:14px}.info-hint{position:relative;display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;min-width:30px}.info-hint .info-button{width:44px;min-width:44px;height:44px;min-height:44px;margin:-10px -10px -10px 0}.info-hint .info-popover{right:0;left:auto}.locked-status{display:flex;align-items:center;gap:2px;width:fit-content;max-width:100%}.required-label{display:inline-flex;align-items:center;gap:4px}.required-label svg{color:var(--red);stroke-width:3}.media-selection-counter{position:sticky;top:max(8px,env(safe-area-inset-top));z-index:12;display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:7px;background:color-mix(in srgb,var(--surface) 94%,transparent);border:1px solid rgba(255,200,88,.58);border-radius:8px;box-shadow:0 8px 18px var(--panel-shadow);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.media-selection-counter span{display:inline-flex;align-items:baseline;justify-content:center;gap:5px;min-width:0;padding:6px 7px;color:var(--muted);background:var(--control-bg);border:1px solid var(--line);border-radius:6px;font-size:.7rem;font-weight:800;line-height:1.1;white-space:nowrap}.media-selection-counter strong{color:var(--gold);font-size:.95rem}.media-scope-button{justify-self:end;min-height:38px;padding:6px 10px;color:var(--utility-text);background:transparent;border:1px solid var(--line-strong);border-radius:8px;font-size:.74rem;font-weight:900}.product-line-grid{gap:7px}.product-line-card{grid-template-columns:44px minmax(0,1fr);min-height:62px;gap:3px 8px;padding:6px}.product-line-card img,.product-line-card .asset-file-icon{width:44px;height:44px}.product-line-card span,.product-line-card small,.product-tile span,.product-tile small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-line-card span{font-size:.76rem}.product-line-card small{font-size:.65rem}.product-grid{gap:7px}.product-tile{align-content:start;min-height:126px;height:126px;gap:5px;padding:6px}.product-tile img,.asset-file-icon.large{width:100%;height:78px;aspect-ratio:auto;object-fit:contain}.product-tile span,.asset-tile span{font-size:.72rem;line-height:1.1}.product-tile small,.asset-tile small{font-size:.62rem;line-height:1.05}.cta-picker{display:grid;gap:9px}.cta-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.cta-category{min-width:0;background:var(--control-bg);border:1px solid var(--line-strong);border-radius:8px}.cta-category[open]{grid-column:1 / -1}.cta-category summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;min-height:44px;padding:8px 9px;color:var(--ink);font-size:clamp(.62rem,2.7vw,.78rem);font-weight:900;list-style:none;cursor:pointer;white-space:nowrap}.cta-category summary>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cta-category summary::-webkit-details-marker{display:none}.cta-category-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:0 8px 8px}.cta-special-row{display:grid;grid-template-columns:1fr 1fr;gap:7px}.optional-field-disclosure{overflow:hidden;background:var(--subsection-bg);border:1px solid var(--line);border-radius:8px}.optional-field-trigger{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-height:44px;padding:9px 11px;color:var(--ink);background:transparent;border:0;font-size:.84rem;font-weight:850;text-align:left}.optional-field-disclosure>.field{padding:0 11px 11px}.compiled-panel{gap:0;padding:0;overflow:hidden}.compiled-trigger{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:64px;padding:12px 14px;color:var(--ink);background:linear-gradient(90deg,rgba(255,200,88,.12),transparent 55%),var(--surface);border:0;text-align:left}.compiled-trigger h2{margin:0;color:var(--utility-text);font-size:1rem;line-height:1.16}.compiled-trigger-icons{display:inline-flex;align-items:center;gap:5px;color:var(--utility-text)}.compiled-content{display:grid;gap:12px;padding:0 14px 14px}.hero-destination{display:grid;gap:4px;padding:9px;background:var(--control-muted-bg);border:1px solid var(--line);border-radius:8px}.hero-destination span{color:var(--muted);font-size:.68rem;font-weight:900;text-transform:uppercase}.hero-destination code{overflow:hidden;color:var(--utility-text);font-size:.72rem;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.compiled-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.compiled-secondary-actions{grid-column:1 / -1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.compiled-secondary-actions .utility-button{width:100%;min-height:48px}.compiled-secondary-actions .product-backup-action{grid-column:1 / -1}.missing-shop-link{display:grid;grid-template-columns:minmax(0,1fr) minmax(84px,.32fr);align-items:center;gap:10px;padding:10px;background:var(--control-muted-bg);border:1px solid var(--line);border-radius:8px}.missing-shop-link div{display:grid;gap:3px;min-width:0}.missing-shop-link span{color:var(--muted);font-size:.72rem;line-height:1.3}.compiled-actions .copy-prompt-button,.compiled-actions .asset-pack-button{grid-column:1 / -1}.compiled-actions .asset-pack-button{min-height:52px;color:var(--charcoal);background:linear-gradient(90deg,var(--gold),#ffdb91);border-color:#32303175;font-size:.9rem}.history-group{gap:0;overflow:hidden;background:var(--surface-2);border:1px solid var(--line);border-radius:8px}.history-group-title{display:grid;grid-template-columns:minmax(0,1fr) auto 22px;width:100%;min-height:48px;margin:0;padding:9px 11px;color:var(--utility-text);background:var(--control-bg);border:0;text-align:left}.history-group-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-group .history-item{border-width:1px 0 0;border-radius:0}@media (min-width: 560px){.cta-category-options{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 900px){.app-header{padding:14px 16px}.app-header .brand-lockup{grid-template-columns:76px minmax(0,1fr)}.app-header .logo-shell{min-width:76px;min-height:76px}.app-header .logo-shell img{width:66px;max-height:66px}.app-header h1{font-size:clamp(1.5rem,2vw,2rem)}.app-header .eyebrow{font-size:.64rem}.app-header .header-copy{font-size:.82rem}.media-selection-counter{top:12px}.product-line-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.compiled-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.compiled-actions .copy-prompt-button,.compiled-actions .asset-pack-button{grid-column:1 / -1}}.source-status-shell{position:sticky;top:env(safe-area-inset-top,0px);z-index:45;margin:10px 0 14px;overflow:hidden;background:color-mix(in srgb,var(--surface, #ffffff) 96%,transparent);border:1px solid color-mix(in srgb,var(--gold, #ffc858) 62%,var(--line, #c9d6d8));border-radius:8px;box-shadow:0 8px 24px color-mix(in srgb,var(--deep-teal, #074b60) 13%,transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.source-status-shell:before{display:block;height:3px;background:linear-gradient(90deg,var(--gold, #ffc858),var(--teal, #197e88),var(--red, #d93b34));content:""}.source-status-bar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;min-height:54px;padding:5px 7px}.source-status-heading{display:grid;grid-template-columns:18px auto;align-items:center;gap:0 6px;min-width:82px;padding:0 4px;color:var(--utility-text, var(--text, #323031))}.source-status-heading svg{color:var(--gold, #ffc858);grid-row:1 / 3}.source-status-heading strong{font-size:.72rem;line-height:1.1;letter-spacing:0;text-transform:uppercase}.source-status-heading span{color:var(--muted, #637477);font-size:.55rem;line-height:1.1;white-space:nowrap}.source-status-track{display:flex;gap:5px;min-width:0;padding:1px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin}.source-status-chip,.source-status-undo{min-width:82px;min-height:44px;border:1px solid color-mix(in srgb,var(--line, #c9d6d8) 84%,transparent);border-radius:7px;background:color-mix(in srgb,var(--control-bg, var(--surface-raised, #fff)) 92%,transparent);color:var(--control-text, var(--ink, #323031));padding:5px 7px;display:flex;gap:6px;text-align:left;align-items:center;transition:border-color .15s ease,background-color .15s ease,transform .15s ease}.source-status-chip:hover,.source-status-chip[aria-expanded=true]{background:color-mix(in srgb,var(--teal, #197e88) 11%,var(--control-bg, #fff));border-color:color-mix(in srgb,var(--teal, #197e88) 72%,var(--line, #c9d6d8))}.source-status-chip[aria-expanded=true]{box-shadow:inset 0 -2px var(--gold, #ffc858)}.source-status-chip>span:first-child{flex:0 0 auto;width:8px;height:8px;border-radius:50%;background:#8a9699}.source-status-copy{display:grid;min-width:0;gap:1px}.source-status-copy strong,.source-status-copy small{overflow:visible;text-overflow:clip;white-space:nowrap}.source-status-copy strong{font-size:10px;line-height:1.1}.source-status-copy strong{color:var(--control-text, var(--ink, #323031))}.source-status-copy small{color:var(--muted, #637477);font-size:8px;line-height:1.1;text-transform:capitalize;opacity:1}.source-status-chip.state-connected>span:first-child,.source-status-chip.state-current>span:first-child,.source-status-chip.state-saved>span:first-child{background:#2aa684}.source-status-chip.state-loading>span:first-child{background:#ffc858;animation:source-pulse 1.2s ease-in-out infinite}.source-status-chip.state-stale>span:first-child,.source-status-chip.state-unsynced>span:first-child{background:#d8902e}.source-status-chip.state-missing>span:first-child,.source-status-chip.state-error>span:first-child{background:#d93b34}.source-status-actions{display:grid;grid-template-columns:repeat(2,44px);gap:5px}.source-status-undo{display:grid;place-items:center;width:44px;min-width:44px;padding:0;color:var(--teal, #197e88)}.source-status-undo:first-child{color:var(--red, #d93b34)}.source-status-undo:disabled{color:var(--muted, #637477);opacity:.52}.source-status-detail{border-top:1px solid color-mix(in srgb,var(--line, #c9d6d8) 78%,transparent);padding:8px 10px 9px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted, #637477);background:color-mix(in srgb,var(--deep-teal, #074b60) 5%,transparent);font-size:11px}.source-status-detail>div{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0}.source-status-detail strong{color:var(--utility-text, var(--ink, #323031))}.source-status-detail span{overflow-wrap:anywhere}.source-detail-dot{width:8px;height:8px;flex:0 0 auto;border-radius:50%;background:#8a9699}.source-detail-dot.state-connected,.source-detail-dot.state-current,.source-detail-dot.state-saved{background:#2aa684}.source-detail-dot.state-loading,.source-detail-dot.state-stale,.source-detail-dot.state-unsynced{background:var(--gold, #ffc858)}.source-detail-dot.state-missing,.source-detail-dot.state-error{background:var(--red, #d93b34)}.campaign-queue-card{position:relative;margin:14px 0;padding:12px;display:flex;align-items:center;justify-content:space-between;gap:14px;overflow:hidden;color:var(--ink);border:1px solid color-mix(in srgb,var(--gold, #ffc858) 54%,var(--line));border-left:4px solid var(--gold, #ffc858);border-radius:8px;background:linear-gradient(125deg,color-mix(in srgb,var(--gold, #ffc858) 12%,transparent),transparent 42%),color-mix(in srgb,var(--teal, #197e88) 9%,var(--surface));box-shadow:0 9px 22px color-mix(in srgb,var(--deep-teal, #074b60) 12%,transparent)}.campaign-queue-card>div{min-width:0;display:grid;gap:5px}.campaign-queue-card strong,.campaign-queue-card span{overflow-wrap:anywhere}.campaign-queue-card strong{color:var(--ink)}.campaign-queue-card span{color:var(--muted);font-size:12px}.prompt-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:14px;padding:12px;background:var(--surface, #f7faf9)}.prompt-summary>div{min-width:0}.prompt-summary h3{margin:0 0 7px;font-size:12px;color:var(--deep-teal, #074b60)}.prompt-summary dl,.prompt-summary ul,.prompt-summary p{margin:0}.prompt-summary dl{display:grid;gap:6px}.prompt-summary dl>div{display:grid;grid-template-columns:minmax(74px,.55fr) minmax(0,1fr);gap:3px 8px;align-items:start}.prompt-summary dt{font-size:10px;font-weight:800;opacity:.68}.prompt-summary dd{margin:0;font-size:11px;overflow-wrap:anywhere}.prompt-summary .source-badge{grid-column:2;justify-self:start}.prompt-summary li,.prompt-summary p{font-size:11px;line-height:1.45}.advanced-appearance{border:1px solid var(--line);background:var(--surface)}.advanced-appearance>summary{min-height:44px;display:flex;align-items:center;padding:10px 12px;cursor:pointer;color:var(--ink);font-weight:850}.advanced-appearance[open]>summary{border-bottom:1px solid var(--line)}.advanced-appearance>.settings-card,.advanced-appearance>.theme-lab{border:0;margin:0}.preflight-panel,.handoff-workspace{margin:18px 0;color:var(--ink);border:1px solid color-mix(in srgb,var(--teal, #197e88) 58%,var(--line, #c9d6d8));border-left:4px solid var(--teal, #197e88);border-radius:8px;background:linear-gradient(145deg,color-mix(in srgb,var(--teal, #197e88) 12%,transparent),transparent 48%),var(--surface-2);padding:14px;box-shadow:0 10px 24px color-mix(in srgb,var(--deep-teal, #074b60) 14%,transparent)}.preflight-panel .eyebrow,.handoff-workspace .eyebrow{color:var(--gold, #ffc858)}.preflight-panel h3,.handoff-workspace h2{color:var(--ink)}.preflight-heading,.handoff-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.preflight-heading h3,.handoff-heading h2{margin:2px 0 0}.preflight-counts{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px}.preflight-counts span,.source-badge{border-radius:999px;padding:3px 7px;font-size:10px;font-weight:800;line-height:1.2}.preflight-counts .blocker{color:#fff;background:#b82e29}.preflight-counts .warning{color:#323031;background:#ffc858}.preflight-counts .information{color:#fff;background:#197e88}.source-badge{display:inline-flex;margin-right:4px;color:var(--text, #323031);background:color-mix(in srgb,#197e88 18%,transparent)}.preflight-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:12px 0}.preflight-tabs button{min-width:0;min-height:44px;padding:6px 4px;border:1px solid var(--line, #c9d6d8);background:transparent;color:inherit;font-size:clamp(.64rem,2.7vw,.78rem);font-weight:850;line-height:1;letter-spacing:0;overflow:hidden;text-overflow:clip;white-space:nowrap}.preflight-tabs button.selected{background:#ffc858;color:#323031;border-color:#ffc858}.preflight-list{display:grid;gap:7px;max-height:350px;overflow:auto}.preflight-item{display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:9px;align-items:start;border-left:3px solid #197e88;padding:9px;background:color-mix(in srgb,var(--surface, #fff) 90%,#197e88 10%)}.preflight-item.blocker{border-left-color:#d93b34}.preflight-item.warning{border-left-color:#ffc858}.preflight-item>div{display:grid;gap:3px;min-width:0}.preflight-item>div>span,.preflight-item>div>small{overflow-wrap:anywhere}.preflight-item>button,.handoff-action{min-width:52px;min-height:44px;border:1px solid var(--line, #c9d6d8);background:transparent;color:inherit}.compile-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.compile-action-grid>button{width:100%;min-width:0}.stale-output-warning{padding:10px;border-left:4px solid #d93b34;background:color-mix(in srgb,#d93b34 14%,transparent)}.handoff-steps{list-style:none;margin:12px 0;padding:0;display:grid;gap:6px}.handoff-steps li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}.handoff-steps li>button:first-child{min-height:44px;border:1px solid var(--line, #c9d6d8);background:transparent;color:inherit;text-align:left;padding:7px 10px;display:flex;align-items:center;gap:9px}.handoff-steps li>button:first-child>span{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:color-mix(in srgb,#197e88 18%,transparent)}.handoff-steps li.complete>button:first-child{border-color:#197e88}.handoff-fields{display:grid;gap:9px}.handoff-fields label{display:grid;gap:5px;font-weight:800}.handoff-fields input{width:100%;min-width:0;min-height:44px;padding:9px 11px;border:1px solid var(--line, #c9d6d8);background:var(--input-bg, transparent);color:inherit}.asset-filter-panel{margin:10px 0;border:1px solid var(--line, #c9d6d8);background:color-mix(in srgb,var(--surface-raised, #fff) 94%,#197e88 6%)}.asset-filter-panel summary{min-height:44px;padding:9px 11px;display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:800}.asset-filter-panel summary::marker{content:""}.asset-filter-panel summary .badge{margin-left:auto}.asset-filter-grid{padding:0 10px 10px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.asset-filter-grid label{display:grid;gap:4px;min-width:0;font-size:11px;font-weight:800}.asset-filter-grid select{width:100%;min-width:0;min-height:44px;background:var(--input-bg, transparent);color:inherit;border:1px solid var(--line, #c9d6d8);padding:6px}.asset-filter-toggles{padding:0 10px 10px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.asset-filter-toggles label{min-height:44px;display:flex;align-items:center;gap:6px;border:1px solid var(--line, #c9d6d8);padding:7px;font-size:11px;font-weight:800}.active-filter-chips{padding:0 10px 10px;display:flex;flex-wrap:wrap;gap:5px}.active-filter-chips button{min-height:32px;border:1px solid #197e88;background:color-mix(in srgb,#197e88 14%,transparent);color:inherit;display:inline-flex;align-items:center;gap:5px;padding:4px 8px}.asset-choice-shell{position:relative;min-width:0}.asset-choice-shell>.product-tile{width:100%;height:100%}.favorite-asset-button{position:absolute;top:6px;right:6px;z-index:2;width:44px;height:44px;border-radius:50%;border:1px solid var(--line, #c9d6d8);background:color-mix(in srgb,var(--surface-raised, #fff) 90%,transparent);color:#ffc858;display:grid;place-items:center}.product-tile em{display:block;font-size:10px;font-style:normal;color:#d8902e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selected-assets-tray{position:sticky;bottom:112px;z-index:20;margin:14px 0;border:1px solid #197e88;background:color-mix(in srgb,var(--surface-raised, #fff) 96%,transparent);box-shadow:0 12px 28px #0003}.selected-assets-heading{min-height:48px;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;border-bottom:1px solid var(--line, #c9d6d8)}.selected-assets-heading>div{display:grid;min-width:0}.selected-assets-heading span{font-size:11px;opacity:.72}.selected-assets-heading button{min-height:44px;display:inline-flex;align-items:center;gap:5px;border:1px solid var(--line, #c9d6d8);background:transparent;color:inherit}.selected-assets-scroll{max-height:220px;overflow:auto;padding:7px;display:grid;gap:6px}.selected-assets-scroll article{display:grid;grid-template-columns:48px minmax(0,1fr) 44px;gap:8px;align-items:center;border:1px solid var(--line, #c9d6d8);padding:6px}.selected-assets-scroll img{width:48px;height:48px;object-fit:contain;background:#fff}.selected-assets-scroll article>div{min-width:0;display:grid;gap:2px}.selected-assets-scroll article strong,.selected-assets-scroll article span,.selected-assets-scroll article small,.selected-assets-scroll article em{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.selected-assets-scroll article span,.selected-assets-scroll article small{font-size:10px;opacity:.72}.selected-assets-scroll article em{font-size:10px;color:#d8902e;font-style:normal}.selected-assets-scroll article>button{width:44px;height:44px;display:grid;place-items:center;border:1px solid #d93b34;background:transparent;color:#d93b34}.safe-recovery{min-height:100dvh;display:grid;place-items:center;padding:calc(24px + env(safe-area-inset-top)) 22px calc(24px + env(safe-area-inset-bottom));background:#071f28;color:#fff}.safe-recovery>div{max-width:540px;border:1px solid #197e88;padding:24px;background:#0a2a34}.safe-recovery code{display:block;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:8px}@keyframes source-pulse{50%{opacity:.35}}@media (max-width: 760px){.source-status-shell{margin-inline:0}.source-status-bar{gap:5px;padding-inline:5px}.source-status-heading{min-width:42px;grid-template-columns:1fr;justify-items:center;padding:0}.source-status-heading svg{grid-row:auto}.source-status-heading strong{font-size:.58rem}.source-status-heading span{display:none}.source-status-chip{min-width:76px}.source-status-detail,.preflight-heading,.handoff-heading{align-items:stretch;flex-direction:column}.preflight-counts{justify-content:flex-start}.compile-action-grid{grid-template-columns:1fr}.asset-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.asset-filter-toggles{grid-template-columns:1fr}.campaign-queue-card{align-items:stretch;flex-direction:column}.prompt-summary{grid-template-columns:1fr}}@media (prefers-reduced-motion: reduce){.source-status-chip.state-loading>span:first-child{animation:none}.focused-pagination button.completion-motion{animation:none}}.app-header{position:relative;grid-template-columns:minmax(0,1fr) 48px;align-items:center;gap:9px;min-height:62px;margin-bottom:10px;padding:8px 9px}.app-header .brand-lockup{grid-template-columns:46px minmax(0,1fr);gap:9px}.app-header .logo-shell{min-width:46px;min-height:46px;border-width:1px}.app-header .logo-shell img{width:41px;max-height:41px}.app-header .eyebrow{margin:0 0 2px;font-size:clamp(.52rem,2.35vw,.66rem);line-height:1}.app-header h1{max-width:100%;margin:0;overflow:hidden;color:#fff;font-size:clamp(.9rem,3.75vw,1.28rem);line-height:1.08;overflow-wrap:normal;text-overflow:ellipsis;white-space:nowrap}.app-header .header-copy{display:none}.header-menu-shell{position:relative;z-index:82}.header-menu-button{display:grid;place-items:center;width:48px;min-width:48px;height:48px;min-height:48px;padding:0;color:#ffc858;background:#123947;border:1px solid #3a6068;border-radius:7px}.header-menu-button[aria-expanded=true]{color:#071923;background:#ffc858;border-color:#ffc858}.header-menu-popover{position:absolute;top:calc(100% + 8px);right:0;z-index:90;display:grid;width:min(280px,calc(100vw - 28px));padding:7px;color:var(--ink);background:var(--surface);border:1px solid var(--line-strong);border-radius:8px;box-shadow:0 18px 42px #0000006b}.header-menu-popover a,.header-menu-popover button{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:10px;min-height:46px;padding:8px 10px;color:var(--ink);background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;text-align:left;text-decoration:none;font-size:.82rem;font-weight:800}.header-menu-popover>:last-child{border-bottom:0}.header-menu-popover a:hover,.header-menu-popover button:hover{background:var(--teal-soft-bg)}.header-menu-popover button:disabled{opacity:.44}.source-status-shell{position:static;flex:0 0 auto;margin:0 0 10px}.source-status-bar{grid-template-columns:minmax(0,1fr) auto;min-height:44px;padding:5px 7px}.source-status-track{align-items:center;overflow-x:auto}.source-all-clear{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:6px 9px;color:#eafaf4;background:#0f594f;border:1px solid #2aa684;border-radius:7px;font-size:.72rem;font-weight:850}.source-attention-count{display:grid;place-items:center;min-width:28px;height:28px;color:#fff;background:#b82e29;border-radius:999px;font-size:.7rem;font-weight:900}.source-status-chip.state-stale,.source-status-chip.state-unsynced,.source-status-chip.state-missing,.source-status-chip.state-error{border-color:#d93b34b8}.source-status-chip.state-stale>span:first-child,.source-status-chip.state-unsynced>span:first-child,.source-status-chip.state-missing>span:first-child,.source-status-chip.state-error>span:first-child{background:#d93b34}.inline-label-with-info,.spreadsheet-cta-lock{display:inline-flex;align-items:center;gap:7px;max-width:100%}.inline-label-with-info .info-hint,.spreadsheet-cta-lock .info-hint,.field-label-row .info-hint{margin-left:0}.spreadsheet-cta-lock{min-height:44px;width:fit-content;padding:4px 6px 4px 9px;background:var(--control-muted-bg);border:1px solid var(--line);border-radius:7px}.source-badge{color:#f8f4e9;background:#0f5966}.preflight-counts .blocker,.preflight-counts .information,.source-badge{text-shadow:0 1px 1px rgba(0,0,0,.32)}.focused-review-page{grid-template-rows:auto minmax(0,1fr);overflow:hidden}.focused-review-scroll{min-height:0;max-width:100%;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:0 2px 12px}.focused-review-scroll>.preflight-panel{margin:16px 0 0}.focused-compile-page .focused-page-heading{display:grid;justify-items:center;gap:8px;width:100%;text-align:center}.focused-compile-page .focused-page-heading .section-number{position:static}.app[data-layout-mode=focused] .media-selection-counter{top:0;z-index:9;margin:0 0 10px}.app[data-layout-mode=focused] .selected-assets-tray{position:relative;bottom:auto;z-index:1}.app[data-layout-mode=focused] .focused-section,.app[data-layout-mode=focused] .section-body,.app[data-layout-mode=focused] .subsection,.app[data-layout-mode=focused] .field,.app[data-layout-mode=focused] .asset-filter-panel,.app[data-layout-mode=focused] .asset-filter-grid,.app[data-layout-mode=focused] .product-grid,.app[data-layout-mode=focused] .product-line-grid{width:100%;max-width:100%;min-width:0}.app[data-layout-mode=focused] .section-body,.app[data-layout-mode=focused] .asset-filter-panel{overflow-x:hidden}.asset-filter-panel{color:var(--ink);background:var(--control-muted-bg)}.asset-filter-grid select{color:var(--control-text);background:var(--control-bg)}@media (max-width: 760px){.app[data-layout-mode=focused]{padding:max(8px,env(safe-area-inset-top)) 8px calc(100px + env(safe-area-inset-bottom))}.app[data-layout-mode=focused] .app-header{grid-template-columns:minmax(0,1fr) 48px;min-height:60px;margin-bottom:7px;padding:6px 7px}.app[data-layout-mode=focused] .brand-lockup{grid-template-columns:44px minmax(0,1fr);gap:7px}.app[data-layout-mode=focused] .logo-shell{min-width:44px;min-height:44px}.app[data-layout-mode=focused] .logo-shell img{width:39px;max-height:39px}.app[data-layout-mode=focused] .app-header h1{font-size:clamp(.83rem,3.7vw,1rem);text-overflow:clip}.app[data-layout-mode=focused] .app-header .eyebrow{font-size:.5rem}.source-status-shell:before{height:2px}.source-status-bar{min-height:40px;padding:4px 6px}.source-status-chip{min-width:84px;min-height:36px}.source-all-clear{min-height:32px}.focused-section .section-body{padding-right:12px;padding-left:12px;scrollbar-gutter:auto}.focused-special-page,.preflight-panel{padding:12px}.preflight-tabs{gap:6px}.preflight-tabs button{min-height:46px;padding:7px 5px;font-size:clamp(.62rem,2.8vw,.72rem)}.preflight-item{grid-template-columns:19px minmax(0,1fr) 48px;gap:7px}.mobile-workflow-dock{left:8px;right:8px;bottom:max(8px,env(safe-area-inset-bottom));grid-template-columns:52px minmax(0,1fr) 52px;gap:10px;min-height:76px;padding:10px;isolation:isolate}.mobile-workflow-dock>button{width:52px;min-width:52px;height:52px;min-height:52px;touch-action:manipulation}.asset-filter-grid{grid-template-columns:1fr}.asset-filter-grid select{width:100%}}@media (min-width: 900px){.app-header{grid-template-columns:minmax(0,1fr) 48px}.app-header .brand-lockup{grid-template-columns:54px minmax(0,1fr)}.app-header .logo-shell{min-width:54px;min-height:54px}.app-header .logo-shell img{width:48px;max-height:48px}.app-header h1{font-size:1.35rem}}.app[data-layout-mode=focused] .focused-section .section-body{align-content:start;grid-auto-rows:max-content;gap:12px;padding:12px 12px 24px}.app[data-layout-mode=focused] .focused-section{align-self:start;height:auto;max-height:100%}.source-status-chip{flex:0 0 auto;width:max-content;min-width:max-content}.app[data-layout-mode=focused] .field{gap:8px}.app[data-layout-mode=focused] .field+.field,.app[data-layout-mode=focused] .field+.subsection,.app[data-layout-mode=focused] .subsection+.field{margin-top:0}.app[data-layout-mode=focused] .chip-row,.app[data-layout-mode=focused] .chip-grid,.app[data-layout-mode=focused] .card-grid{gap:8px}.app[data-layout-mode=focused] #field-secondary-purpose{padding-bottom:12px}.mobile-workflow-dock .dock-status{display:inline-flex;align-items:center;justify-content:center;gap:6px;color:#a9dfd2;overflow:visible;line-height:1.15;opacity:1;text-overflow:clip;white-space:normal}.mobile-workflow-dock .dock-status>span{width:7px;height:7px;flex:0 0 7px;background:#35b996;border-radius:999px;box-shadow:0 0 8px #35b99675}.mobile-workflow-dock .dock-status.attention{color:#ffd5d2}.mobile-workflow-dock .dock-status.attention>span{background:#d93b34;box-shadow:0 0 8px #d93b3485}.preflight-panel.compact{margin:12px 0 0;padding:10px}.preflight-panel.compact .preflight-heading{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;align-items:center}.preflight-panel.compact .preflight-counts{grid-column:1 / -1;grid-row:2;justify-content:flex-start}.preflight-panel.compact .preflight-expand{grid-column:2;grid-row:1}.preflight-detail-block{display:grid;min-width:0}@media (max-width: 760px){.drawer-backdrop,.modal-backdrop{z-index:140}.history-drawer,.settings-drawer{width:100%;background:var(--surface)}.focused-special-page{gap:12px}.focused-page-heading{grid-template-columns:36px minmax(0,1fr);gap:8px}.focused-page-heading .section-number{width:32px;height:32px}.focused-review-scroll{padding:0 0 18px}.compact-review-summary{grid-template-columns:minmax(0,1fr) 44px 48px}.focused-compile-page{place-content:center;gap:18px;padding-inline:18px}.focused-compile-page .focused-page-heading{grid-template-columns:1fr}.focused-compile-page>p{max-width:34ch;margin:0 auto;line-height:1.45}.focused-compile-page .compile-action-grid{width:100%}}
