@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');
:root{--bg:#f4f6fa;--ink:#192438;--muted:#748095;--line:#e3e8f0;--accent:#345fc3;--accent-soft:#edf2ff;--radius:12px;font-family:'DM Sans',Inter,system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--ink);background:var(--bg);font-size:14px;font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}button,input,textarea,select{font:inherit}button{transition:background .15s,border-color .15s,transform .15s}button:active{transform:translateY(1px)}.app-shell{min-height:100vh;display:flex}.sidebar{width:248px;flex:none;position:sticky;top:0;height:100vh;padding:24px 16px;background:rgba(255,255,255,.72);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-right:1px solid rgba(210,219,232,.75);display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;color:var(--ink);padding:0 8px 31px}.brand:hover{text-decoration:none}.brand-text{display:flex;flex-direction:column;gap:3px;white-space:nowrap}.brand-text b{font-size:14px;letter-spacing:-.25px}.brand small{font-size:11px;color:var(--muted)}.logo{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:9px;background:#345fc3;color:#fff;font-size:20px;font-weight:700;box-shadow:0 6px 14px rgba(52,95,195,.17)}.nav-caption{font-size:10px;font-weight:700;letter-spacing:1.45px;color:#97a0b1;margin:6px 12px 12px}.side-nav{display:grid;gap:5px}.nav-item{display:flex;align-items:center;gap:12px;color:#617087;padding:11px 12px;border-radius:8px;font-weight:600;font-size:13px}.nav-item:hover{background:rgba(234,239,249,.7);text-decoration:none;color:#233b67}.nav-item.active{background:rgba(227,235,253,.88);color:#2854b2}.nav-icon{width:20px;font-size:19px;text-align:center;line-height:1}.side-foot{margin-top:auto;padding:14px 12px;border-top:1px solid var(--line);font-size:12px;color:#637087}.side-foot small{display:block;margin:6px 0 0 15px;color:#98a1b1;font-size:11px}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#42aa83;margin-right:8px}.main-shell{min-width:0;flex:1;display:flex;flex-direction:column}.top{height:70px;flex:none;padding:0 39px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(220,227,238,.75);background:rgba(255,255,255,.48);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.top-breadcrumb{font-size:10px;letter-spacing:1.15px;font-weight:700;color:#748198}.top-breadcrumb span{margin:0 9px;color:#c3c9d5}.top-actions{display:flex;gap:15px;align-items:center}.local-pill{font-size:11px;color:#607389}.container{width:100%;max-width:1210px;margin:0 auto;padding:37px 38px 72px;flex:1}h1{font-size:29px;letter-spacing:-.95px;line-height:1.2;margin:8px 0 12px;font-weight:700}h2{font-size:16px;letter-spacing:-.35px;line-height:1.35;margin:0 0 12px}p{line-height:1.58}.eyebrow{color:#4769b6;letter-spacing:1.5px;font-weight:700;font-size:10px}.intro{margin:0 0 24px}.muted{color:var(--muted)}.card{background:rgba(255,255,255,.82);border:1px solid rgba(221,228,239,.96);box-shadow:0 6px 24px rgba(36,55,90,.035),inset 0 1px 0 rgba(255,255,255,.96);border-radius:var(--radius);padding:24px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:25px 0 19px}.stats .card{min-height:128px;padding:21px 22px}.stats strong{display:block;font-size:32px;letter-spacing:-1.5px;line-height:1.15;margin-top:13px;color:#172338}.stats small{display:block;font-size:11px;color:#8a96a9;margin-top:9px}.columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.review{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}.step{display:inline-grid;place-items:center;background:#eef2fd;color:#3a60b4;border-radius:6px;width:31px;height:29px;margin-right:7px;font-size:13px}.card p{margin-top:8px}.card form label{font-size:12px;display:block;font-weight:650;margin-top:18px;color:#34425a}input:not([type=checkbox]),select,textarea{display:block;width:100%;margin-top:8px;background:rgba(255,255,255,.92);border:1px solid #dce3ee;color:#23324a;border-radius:8px;padding:11px 12px;outline:0;min-height:43px;transition:border-color .15s,box-shadow .15s}input:focus,textarea:focus,select:focus{border-color:#7798e2;box-shadow:0 0 0 3px rgba(52,95,195,.10)}input::placeholder,textarea::placeholder{color:#9ca6b6}textarea{resize:vertical}.primary{display:inline-flex;align-items:center;justify-content:center;background:#345fc3;border:1px solid #345fc3;color:#fff;border-radius:8px;padding:10px 16px;min-height:40px;font-weight:700;font-size:12px;cursor:pointer;margin-top:20px}.primary:hover{background:#2b53af;text-decoration:none}.subtle{border:1px solid #dee5ef;border-radius:8px;background:rgba(255,255,255,.88);color:#586980;padding:8px 14px;cursor:pointer;font-size:12px}.subtle:hover{background:#f5f7fb}.danger{background:#fff3f4;border:1px solid #f8e4e7;color:#b24e60;border-radius:7px;padding:7px 11px;font-size:12px;cursor:pointer}.danger:hover{background:#fce7ea}.space{margin-top:17px}.sectionhead{display:flex;align-items:center;justify-content:space-between;gap:14px}.sectionhead h2{margin:0}.tablewrap{overflow:auto;margin-top:13px}table{width:100%;border-collapse:collapse;text-align:left}th{color:#8290a6;font-size:11px;font-weight:700;border-bottom:1px solid var(--line);padding:12px 10px}td{border-bottom:1px solid #edf0f5;padding:14px 10px;vertical-align:middle;font-size:12px}tbody tr:last-child td{border-bottom:0}td small{display:block;margin-top:5px;color:#929daf;font-size:11px}.break{overflow-wrap:anywhere}.chip{display:inline-block;border-radius:6px;padding:5px 9px;font-size:11px;white-space:nowrap;background:#fff3df;color:#96671e}.chip.ready{background:#e9f6ef;color:#2b7655}.btnlink{font-size:12px;font-weight:700}.empty{background:#fafbfe;padding:25px;border:1px dashed #dbe3ef;text-align:center;color:#8793a6;border-radius:8px}.auth{width:min(100%,440px);margin:10vh auto 0;padding:32px}.full{width:100%}.alert{padding:12px;border-radius:8px;background:#fff0f0;color:#ae344d}.success{background:#e9f7f0;color:#266e4e;padding:11px;border-radius:8px}.fieldstatus{float:right;font-size:11px;font-weight:600;color:#258658}.fieldstatus.missing{color:#b1782c}.preview{display:block;width:100%;max-height:290px;object-fit:contain;border-radius:8px;background:#f2f5fa}.placeholder{padding:55px 12px;text-align:center;background:#f4f6fa;color:#8793a8;border-radius:8px}.notice{background:#f3f6fb;border:1px solid #e9edf5;border-radius:8px;padding:15px;margin:19px 0;color:#617088;font-size:12px;line-height:1.65}.choice{display:flex!important;align-items:center;gap:9px;padding:11px 12px;border:1px solid var(--line);border-radius:8px;margin:7px 0!important;font-weight:500!important;background:rgba(255,255,255,.64)}.choice input{width:15px;height:15px;accent-color:var(--accent);flex:none}.choice:hover{background:#f8faff}footer{padding:22px;text-align:center;font-size:11px;color:#9aa5b5;border-top:1px solid rgba(221,228,239,.8)}.logout{margin:0}a:focus-visible,button:focus-visible{outline:3px solid rgba(52,95,195,.28);outline-offset:3px}
@media(max-width:1100px){.sidebar{width:214px}.container{padding:30px 24px 60px}.top{padding:0 24px}}
@media(max-width:780px){.app-shell{display:block}.sidebar{width:100%;height:auto;position:relative;padding:14px 18px 8px;border-right:0;border-bottom:1px solid var(--line)}.brand{padding:0 0 12px}.nav-caption,.side-foot{display:none}.side-nav{display:flex;gap:7px}.nav-item{padding:9px 12px}.top{height:51px;padding:0 18px}.container{padding:25px 17px 50px}.columns,.review,.stats{grid-template-columns:1fr}.stats{gap:10px}.stats .card{min-height:110px}.card{padding:19px}h1{font-size:26px}.local-pill{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}

/* v0.4 campaign filters and restrained edit panel */
.filters{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin:18px 0}.filters label{min-width:170px;flex:1}.filters .primary{height:40px}.inline-edit{margin-top:9px;max-width:320px}.inline-edit summary{font-size:12px;color:#355ec1;cursor:pointer}.inline-edit form{padding:12px 0;display:grid;gap:8px}.inline-edit input{width:100%}.inline-edit label{font-size:12px}.inline-edit button{width:max-content}

/* v0.5: lightweight group selector, restrained surfaces */
.groupbox {border:1px solid #dce5f1;border-radius:9px;padding:14px 16px;margin:14px 0;background:rgba(248,250,255,.7)}
.groupbox .muted{margin:6px 0 12px;font-size:13px}
.groupbox .choice{display:inline-flex;margin:0 20px 10px 0;padding:4px 0;align-items:center}

/* v0.6 campaign bulk review: restrained layout */
.filters{align-items:end;flex-wrap:wrap}.filters>label{min-width:165px;flex:1}.bulk-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-top:16px}.bulk-actions .muted{margin-right:auto;font-size:13px}input[type=checkbox]{accent-color:#3460c3}td:has(>input.draft-select),th:has(>input#choose-all){width:36px}

/* Publishing Studio v1.5 */
.studio-image{display:block;max-width:420px;width:100%;height:210px;object-fit:cover;border-radius:8px;border:1px solid #e2e7f0;margin:14px 0}.tablewrap select{min-width:160px}.tablewrap label{display:block;margin:5px 0}

/* v1.6 restrained publishing history */
.history-pages{display:flex;justify-content:flex-end;align-items:center;gap:15px;padding:15px 5px;color:#7b8799;font-size:12px}.history-pages a{font-weight:650}

/* v2.2 guided setup — restrained glass and small radii */
.guide-summary{margin-bottom:16px}.guide-summary .primary{margin-top:4px}.guide-track{height:7px;background:#e7ecf5;border-radius:7px;overflow:hidden;margin:18px 0}.guide-track>div{height:100%;background:#345fc3;border-radius:7px}.guide-list{display:grid;gap:12px}.guide-step{display:flex;align-items:center;gap:18px;padding:19px 22px}.guide-number{display:grid;place-items:center;flex:none;width:35px;height:35px;border-radius:8px;background:#edf2ff;color:#345fc3;font-weight:700}.guide-copy{flex:1;min-width:0}.guide-copy h2{margin:0}.guide-copy p{margin:8px 0 5px}.guide-copy small{font-size:11px}.guide-action{font-size:12px;font-weight:700;white-space:nowrap;border:1px solid #d9e3f4;border-radius:8px;padding:11px}.guide-current{border-color:#a6bce7}.guide-locked{opacity:.65}.guide-wait{font-size:11px;color:#8290a6;text-align:right;max-width:135px}
@media(max-width:850px){.guide-step{align-items:flex-start;flex-wrap:wrap}.guide-action,.guide-wait{margin-left:53px}.guide-copy{flex-basis:calc(100% - 55px)}}

/* v2.3 guided Studio entry */
.studio-quick-import{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.studio-quick-import label{flex:1;min-width:270px}.studio-quick-import button{margin-bottom:0}.studio-import{border-color:#d7e2f2}

/* v2.4 inline destination editor */
.studio-editor{border:1px solid #dce4f1;border-radius:10px;padding:20px;margin-top:15px;background:rgba(255,255,255,.62)}.studio-editor h3{font-size:14px;margin:0}.studio-editor-cols{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(190px,1fr);gap:22px;margin-top:14px}.studio-editor textarea{min-height:135px}.studio-media{padding:13px;border-radius:8px;background:#f5f7fc;display:flex;flex-direction:column;align-items:flex-start;gap:9px}.studio-media img{width:100%;max-height:220px;object-fit:contain;border-radius:6px}.studio-media small{line-height:1.5}.studio-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}@media(max-width:780px){.studio-editor-cols{grid-template-columns:1fr}.studio-editor{padding:14px}}

/* v2.5 template/group UI */
.template-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:14px;margin-top:16px}.studio-groups{padding:15px;margin:12px 0;border:1px solid #dce4f2;background:rgba(244,247,252,.68);border-radius:9px}.studio-groups .choice{display:inline-flex;margin:5px 12px 5px 0}.template-grid textarea{min-height:125px}

/* v2.6 compact readiness review */
.readiness-items{display:grid;gap:10px}.readiness-item{border-top:1px solid #e4e8ef;padding:16px 0}.readiness-item .sectionhead{align-items:start}.readiness-item p{margin:5px 0}.readiness-issue,.readiness-warning{border-radius:8px;padding:10px 14px;margin:10px 0;background:#fff2ef;color:#764339}.readiness-warning{background:#fff9e8;color:#735e34}.readiness-item ul{margin:6px 0 0;padding-left:20px}.readiness-item li{margin:3px 0;font-size:13px}

/* v2.7 | restrained premium UI refinement, presentation only */
:root{--bg:#f5f7fa;--ink:#17253a;--muted:#69778a;--line:#e1e7ef;--accent:#315bc0;--accent-soft:#eef2fd;--radius:10px}
body{background:linear-gradient(145deg,#f5f7fb 0%,#f4f6fa 60%,#f8f9fc 100%);-webkit-font-smoothing:antialiased}
.sidebar{width:244px;padding:22px 13px;background:rgba(252,253,255,.93);border-right:1px solid #e4e8ef;backdrop-filter:blur(14px)}
.brand{gap:11px;padding:1px 9px 31px}.brand-text b{font-size:13px;font-weight:700;letter-spacing:-.23px}.brand small{font-size:10.5px;letter-spacing:.05px}.logo{width:35px;height:35px;border-radius:8px;box-shadow:0 5px 13px #214caa24}
.nav-caption{font-size:9px;letter-spacing:1.55px;margin:4px 13px 13px;color:#8b96a8}.side-nav{gap:3px}.nav-item{font-size:12px;min-height:40px;padding:9px 12px;gap:11px;font-weight:600;border:1px solid transparent;border-radius:7px;color:#607086;transition:background .14s,color .14s,border-color .14s}
.nav-item:hover{background:#f0f3fa;color:#283f67}.nav-item.active{background:#e9effd;border-color:#e2e9fa;color:#2a53ae}.nav-icon{width:19px;height:19px;display:inline-flex;align-items:center;justify-content:center;flex:none}.nav-svg{display:block;stroke:currentColor}
.side-foot{font-size:11px;color:#728093;padding:15px 10px}.side-foot small{font-size:10px}.top{height:64px;background:rgba(255,255,255,.7);border-color:#e6ebf2;padding:0 38px}.top-breadcrumb{font-size:9.5px;letter-spacing:1.05px;color:#718096}.top-actions{gap:13px}.container{max-width:1160px;padding:37px 36px 64px}h1{font-size:27px;line-height:1.23;letter-spacing:-.85px;font-weight:700;color:#132239;margin:7px 0 12px}h2{font-size:15px;letter-spacing:-.27px;color:#1c2a40;font-weight:700}.eyebrow{font-size:9px;letter-spacing:1.55px;color:#4a69b2}.muted{color:#728098;line-height:1.62}p{line-height:1.62}
.card{background:rgba(255,255,255,.9);border:1px solid #e2e8f1;box-shadow:0 3px 18px rgba(27,49,85,.025);border-radius:10px;padding:23px}.columns{gap:15px}.stats{gap:13px}.stats .card{min-height:121px}.stats strong{font-size:31px;color:#14243b}
input:not([type=checkbox]),select,textarea{border:1px solid #dce4ef;border-radius:7px;background:#fff;min-height:42px;color:#1f314c;font-size:12px;padding:11px 12px}input:focus,select:focus,textarea:focus{border-color:#7394d5;box-shadow:0 0 0 3px #315bc014}.card form label{font-size:11.5px;color:#34455e;font-weight:650}.primary,.subtle{border-radius:7px;min-height:38px;font-size:11.5px}.primary{background:#315bc0;border-color:#315bc0;padding:10px 15px}.primary:hover{background:#294faa}.subtle{color:#425570}
.chip{font-size:10.5px;font-weight:650;padding:5px 9px;border-radius:5px}.notice{background:#f6f8fc;border-color:#e7ecf4;color:#596b83;border-radius:8px}.readiness-item{padding:16px 0 18px;border-color:#e8edf4}.readiness-item .sectionhead{gap:16px}.readiness-issue,.readiness-warning{border:1px solid #f0e4e1;border-radius:7px;background:#fff9f7;color:#78544d;padding:11px 13px}.readiness-warning{border-color:#efe9d7;background:#fcfbf5;color:#7a6c4d}.readiness-item li{font-size:12px}.readiness-item ul{margin:7px 0 0}.readiness-item h2{font-size:13px}
th{font-size:10.5px;color:#7b899f;font-weight:650}td{font-size:11.8px}.btnlink{font-size:11.5px}.empty{background:#fafbfe}footer{font-size:10px;color:#a1abbb;padding:19px}
@media(max-width:1100px){.sidebar{width:216px}.container{padding:28px 23px 54px}}
@media(max-width:780px){.sidebar{width:100%;padding:13px 16px}.side-nav{display:flex;flex-wrap:wrap;gap:5px}.nav-item{min-height:36px;padding:8px 10px}.top{height:50px;padding:0 17px}.container{padding:23px 16px 50px}.card{padding:19px}h1{font-size:24px}}

/* Contextual next step: compact, calm, only one recommended action. */
.workflow-next{margin-top:22px;display:flex;align-items:center;gap:16px;padding:20px 23px;border-radius:10px;border:1px solid #d7e2f2;background:linear-gradient(110deg,rgba(250,252,255,.95),rgba(241,245,253,.91));box-shadow:0 4px 14px rgba(20,40,80,.035)}
.workflow-next-mark{display:grid;place-items:center;flex:none;width:36px;height:36px;background:#e7efff;color:#315dc1;border-radius:8px}.workflow-next-copy{flex:1;min-width:0}.workflow-next-eyebrow{font-size:10px;letter-spacing:.12em;font-weight:750;color:#4b66a0}.workflow-next-copy h2{font-size:15px;line-height:1.35;margin:4px 0 6px;color:#17253e}.workflow-next-copy p{font-size:12px;line-height:1.6;margin:0;color:#67778e}.workflow-next-link{display:inline-flex;align-items:center;gap:8px;flex:none;text-decoration:none;font-size:12px;font-weight:700;color:#315dc1;background:white;border:1px solid #d6e2f5;padding:11px 13px;border-radius:7px}.workflow-next-link:hover{background:#f3f7ff}.workflow-next-link:focus-visible{outline:2px solid #315dc1;outline-offset:2px}@media(max-width:750px){.workflow-next{align-items:flex-start;flex-wrap:wrap;padding:17px}.workflow-next-link{margin-left:52px}}
