@font-face{font-family:MiHub;src:url('/assets/252b8799-6259-4c5c-8022-d4d176496f2b.woff2?v=4ba7d3d096695818fe0686be4f1e82c6b05134e18a22260336130335027462dd')}*{box-sizing:border-box}body{margin:0;background:#100b1b;color:#f6f2fa;font:15px MiHub,system-ui,sans-serif}a{color:#ff9dbf}button,input,textarea,select{font:inherit}button,.button{cursor:pointer;border:1px solid #6e4b69;background:#24172e;color:#f6f2fa;border-radius:12px;padding:11px 15px;min-height:44px;text-decoration:none}button:hover,.button:hover{border-color:#ff9dbf}button:disabled{opacity:.5;cursor:wait}.primary{background:#f52c78;border-color:#f52c78;color:white}input,textarea,select{width:100%;background:#171128;color:#f6f2fa;border:1px solid #655273;border-radius:10px;padding:12px;min-height:44px}textarea{min-height:100px;resize:vertical}label{display:block;margin:16px 0 6px;color:#d2c6dc}header{border-bottom:1px solid #3b2948;padding:18px 28px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.brand{display:flex;gap:12px;align-items:center}.symbol{position:relative;display:inline-block;flex:none;width:38px;height:38px;overflow:hidden;border-radius:8px}.symbol img{position:absolute;width:357.222222%;max-width:none;height:auto;left:-127.222222%;top:-50.555556%}.avatar{width:56px;height:56px;border-radius:50%;object-fit:cover;background:#fff2d7}.muted,small{color:#b9afc9;line-height:1.6}main{max-width:1240px;margin:auto;padding:28px}.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.spread{justify-content:space-between}h1{font-size:32px;margin:5px 0 12px}h2{font-size:22px}h3{font-size:17px}.notice{padding:12px 16px;background:#271a2d;border:1px solid #614252;border-radius:12px;margin:16px 0;line-height:1.6}.grid{display:grid;grid-template-columns:minmax(260px,360px) minmax(0,1fr);gap:24px}.card{border:1px solid #443050;background:#171128;border-radius:18px;padding:20px;margin-bottom:14px;overflow-wrap:anywhere}.ticket{width:100%;text-align:left;display:block;margin-bottom:12px}.ticket.selected{border-color:#ff9dbf;background:#2d1b34}.pill{display:inline-block;padding:5px 9px;border-radius:9px;background:#35213e;color:#ffb7d0;font-size:12px}.high{color:#ffbd96}.pre{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}details{margin:14px 0;border-top:1px solid #3b2c48;padding-top:14px}summary{cursor:pointer;min-height:32px}.history{padding:12px 0;border-bottom:1px solid #382642}.login{max-width:500px;margin:8vh auto}.error{color:#ffc69f;white-space:pre-wrap}.success{color:#9ee3bf}#status{min-height:24px}.stats{display:flex;gap:12px;margin:24px 0}.stats .card{flex:1;margin:0}.stats strong{font-size:28px;display:block}.filters{display:flex;gap:12px;margin:16px 0;flex-wrap:wrap}.filters>*{flex:1;min-width:140px}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #ff9dbf;outline-offset:3px}@media(max-width:760px){main{padding:18px 14px}.grid{grid-template-columns:1fr}header{padding:14px}h1{font-size:26px}.stats{gap:6px}.stats .card{padding:12px}.card{padding:16px}.login{margin:24px auto}.actions button{flex:1}.brand small{display:none}}

.form-page{max-width:940px}.request-form fieldset{border:0;border-top:1px solid #3b2c48;margin:18px 0;padding:18px 0 0}.request-form legend{font-size:18px;font-weight:700;padding-right:12px}.form-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.consent-check{display:flex;gap:10px;align-items:flex-start;padding:14px;border:1px solid #6e4b69;border-radius:12px}.consent-check input{width:20px;min-height:20px;margin:2px 0;flex:none}@media(max-width:760px){.form-columns{grid-template-columns:1fr}}
.camis-turns{list-style:none;padding:0;margin:20px 0;display:grid;gap:24px}.camis-turn{min-width:0}.camis-bubble{padding:14px 16px;border-radius:16px;margin-top:8px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.camis-bubble p{margin:6px 0}.camis-user{margin-left:12%;background:#35213e}.camis-answer{margin-right:6%;background:#21172e;border:1px solid #584365}.camis-reviewed{border-left:3px solid #9ee3bf;padding-left:10px;color:#b7efd0;font-size:13px}.camis-conversation form{margin:16px 0 24px}.camis-conversation form button{margin-top:10px}.camis-bubble details{white-space:normal}@media(max-width:760px){.camis-user{margin-left:6%}.camis-answer{margin-right:0}.camis-bubble{padding:12px}.camis-conversation form button{width:100%}}
.start-intent{border-color:#a967a8;background:#21172e}.start-intent p{line-height:1.6}.camis-working[hidden]{display:none}.camis-working{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px;padding:12px;border:1px solid #765370;border-radius:14px;background:#271a2d;line-height:1.5}.camis-working-avatar{width:42px;height:42px;border-radius:50%;object-fit:cover;background:#fff2d7}.camis-working>span:nth-of-type(2){flex:1;min-width:180px}.camis-working button{min-height:40px;margin:0!important}.camis-brush{display:inline-block;width:30px;height:8px;border-radius:8px;background:linear-gradient(90deg,#f52c78,#ffb7d0);transform-origin:left center;animation:camis-brush 1.5s ease-in-out infinite alternate}.camis-working[data-paused="true"] .camis-brush{animation-play-state:paused}@keyframes camis-brush{from{transform:translateX(0) scaleX(.55);opacity:.55}to{transform:translateX(12px) scaleX(1);opacity:1}}@media(prefers-reduced-motion:reduce){.camis-brush{animation:none;transform:none}.camis-working *{scroll-behavior:auto}}@media(max-width:760px){.camis-working>span:nth-of-type(2){min-width:100%}.camis-working button{width:auto!important}}
input:focus-visible,textarea:focus-visible,select:focus-visible,#detail:focus-visible{outline:3px solid #ff9dbf;outline-offset:3px}
/* Request action hierarchy: presentation only, independent of permission/state logic. */
.ticket-detail-side,#detail{--request-primary:var(--product-pink,#f52c78);--request-on-primary:var(--product-bg,#100b1b);--request-surface:var(--product-raised,#24172e);--request-soft:var(--product-soft,#35213e);--request-ink:var(--product-ink,#f6f2fa);--request-border:var(--product-focus,#ff9dbf);--request-focus:var(--product-focus,#ff9dbf)}
.request-next{display:grid;gap:12px;min-width:0;padding:18px;margin:0 0 20px;border:2px solid var(--request-primary);border-radius:14px;background:var(--request-soft);color:var(--request-ink)}
.request-next>strong{font-size:16px;line-height:1.5}.request-next>p{margin:0;line-height:1.6}
.request-next .request-state{justify-self:start;max-width:100%;padding:6px 10px;border-radius:8px;background:var(--request-surface);color:var(--request-ink);font-size:13px;font-weight:750;overflow-wrap:anywhere}
.request-next .request-delivery-note{font-size:13px;color:var(--request-ink)}
.request-comments,.request-support-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}
.request-comments:empty,.request-support-actions:empty{display:none}
.request-destructive{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px;padding-top:18px;border-top:1px solid #a66570}
.request-destructive>strong{width:100%;font-size:13px;color:inherit}
#detail .request-action,.ticket-detail-side .request-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;max-width:100%;padding:12px 16px;border:2px solid var(--request-border);border-radius:10px;font-size:14px;font-weight:650;line-height:1.45;text-align:center;white-space:normal;overflow-wrap:anywhere;text-decoration:none;box-sizing:border-box;background:var(--request-surface);color:var(--request-ink)}
#detail .action-next,.ticket-detail-side .action-next{background:var(--request-primary);border-color:var(--request-primary);color:var(--request-on-primary)}
#detail .action-approval,.ticket-detail-side .action-approval{background:var(--request-primary);border-color:var(--request-primary);color:var(--request-on-primary)}
#detail .action-adjustment,.ticket-detail-side .action-adjustment{background:#fbbf24;border-color:#fcd34d;color:#241500}
#detail .action-navigation,.ticket-detail-side .action-navigation{background:var(--request-surface);border-color:var(--request-border);color:var(--request-ink)}
#detail .action-destructive,.ticket-detail-side .action-destructive{background:#991b1b;border-color:#fca5a5;color:#fff}
#detail .request-action-main,.ticket-detail-side .request-action-main{width:100%;font-size:16px;font-weight:750;min-height:48px;box-shadow:0 3px 0 color-mix(in srgb,var(--request-primary) 25%,transparent)}
#detail .request-action:focus-visible,.ticket-detail-side .request-action:focus-visible{outline:3px solid var(--request-focus);outline-offset:4px}
#detail .request-action:hover:not(:disabled),.ticket-detail-side .request-action:hover:not(:disabled){text-decoration:underline;filter:none}
#detail .request-action:disabled,.ticket-detail-side .request-action:disabled{opacity:.5;cursor:not-allowed;box-shadow:none;filter:none}
.ticket-detail-side{min-width:0}.ticket-detail-side>.action-navigation{width:100%;margin:6px 0}
@media(max-width:600px){.request-next{padding:14px}.request-comments,.request-support-actions,.request-destructive{flex-direction:column}#detail .request-action,.ticket-detail-side .request-action{width:100%;min-width:0}.ticket-detail-side .request-next{position:static}}


/* Keep text approval proportional without changing other request actions. */
#detail .request-action[data-action="approve"],
.ticket-detail-side .request-action[data-action="approve"] {
  width: fit-content;
  justify-self: start;
  min-height: 44px;
  padding: 10px 16px;
  font-size: 14px;
  line-height: 1.35;
  box-shadow: none;
}

/* Approved icon replaces the unavailable legacy sprite; keep the existing mark box. */
body .product-mark img[src$="cms-logo-approved.png"],body .symbol img[src$="cms-logo-approved.png"]{width:100%!important;height:100%!important;max-width:100%!important;left:0!important;top:0!important;object-fit:contain}

.ux-shell{border-bottom:1px solid #423249;background:#130f1d;padding:8px max(18px,calc((100vw - 1240px)/2));position:sticky;top:0;z-index:30}.ux-shell-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.ux-nav{display:flex;gap:5px;flex-wrap:wrap}.ux-nav a{color:#d7cbdc;text-decoration:none;padding:8px 12px;border-radius:9px;border:1px solid transparent;min-height:38px;display:inline-flex;align-items:center}.ux-nav a[aria-current="page"]{color:#fff;background:#342238;border-color:#a6709a}.ux-nav a:hover{background:#291b31}.ux-mode{font-size:12px;color:#e7cae1;background:#372536;border:1px solid #72526f;border-radius:999px;padding:6px 11px}.ux-trail{display:flex;align-items:center;gap:9px;max-width:1240px;margin:0 auto;padding:8px 18px;color:#bbafc6;font-size:12px}.ux-trail a{color:#d7cbdc}.ux-back{padding:4px 8px;min-height:30px;border-radius:7px;text-decoration:none}.ux-trail [aria-current="page"]{color:#f6f2fa}.ux-help-toggle{position:fixed;right:18px;bottom:18px;z-index:45;border-radius:999px;background:#372540;border-color:#9d6b9c;box-shadow:0 8px 32px #0008}.ux-help{position:fixed;right:18px;bottom:72px;z-index:44;width:min(340px,calc(100vw - 28px));max-height:min(540px,calc(100vh - 90px));overflow:auto;background:#21192c;border:1px solid #765b82;border-radius:16px;padding:16px;box-shadow:0 18px 40px #0009}.ux-help[hidden]{display:none}.ux-help h2{font-size:18px;margin:0 0 8px}.ux-help p,.ux-help li{line-height:1.5}.ux-help ul{padding-left:18px}.ux-help a{display:inline-block;margin-top:5px}.ux-field-help{font-size:12px;margin-left:8px;min-height:24px;padding:2px 7px;border-radius:999px}.ux-example{display:block;margin:5px 0 0;color:#cbbad3;font-size:12px;line-height:1.45}.ux-shell a:focus-visible,.ux-help-toggle:focus-visible,.ux-field-help:focus-visible{outline:2px solid #bca0ca;outline-offset:2px}@media(max-width:760px){.ux-shell{position:static;padding:7px 12px}.ux-nav{width:100%;display:grid;grid-template-columns:repeat(3,1fr)}.ux-nav a{justify-content:center;font-size:13px;padding:6px}.ux-mode{order:-1}.ux-trail{padding:7px 12px}.ux-help-toggle{right:10px;bottom:10px}}

/* Local UX pass: preserve the approved dark mark and tone, reduce visual load. */
header{padding:10px 22px}header .brand small{font-size:11px}header nav.row{gap:6px}header nav.row .button,header nav.row button{padding:7px 11px;min-height:36px;font-size:12px}
main{padding:20px 24px;max-width:1280px}h1{font-size:27px;margin:3px 0 7px}h2{font-size:19px;margin:0 0 10px}h3{font-size:16px}.avatar{width:42px;height:42px}.card{padding:15px;border-radius:14px;margin-bottom:10px}.notice{padding:10px 13px;margin:11px 0}.grid{grid-template-columns:minmax(230px,305px) minmax(0,1fr);gap:15px}.stats{gap:8px;margin:13px 0}.stats .card{padding:11px 14px}.stats strong{font-size:22px}.filters{margin:12px 0;gap:8px}.ticket{margin-bottom:7px}.ticket h3{margin:7px 0 4px}.ticket p{margin:5px 0}.actions{gap:7px;margin:11px 0}.actions .button,.actions button{padding:8px 11px;min-height:38px}.history{padding:8px 0}details{margin:10px 0;padding-top:10px}.camis-turns{gap:12px;margin:11px 0}.camis-bubble{padding:10px 12px}.start-intent{padding:14px;border-left:3px solid #b97caf}.start-intent p{margin:7px 0}
input,textarea,select{padding:10px 12px;line-height:1.45}textarea{min-height:84px}label{margin:11px 0 5px}input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #b398c9;outline-offset:1px;border-color:#b398c9;box-shadow:0 0 0 3px #b398c924}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #b398c9;outline-offset:2px}input::placeholder,textarea::placeholder{color:#a99eb5;opacity:1}#detail:focus-visible{outline:2px solid #b398c9;outline-offset:2px}
.ux-nav [hidden],.ux-help[hidden],[hidden]{display:none!important}.ux-help-toggle{font-size:13px;min-height:40px;padding:8px 12px}.ux-help{font-size:14px}.ux-help a{color:#edb4d0}
@media(max-width:760px){header{padding:9px 12px}main{padding:12px}.grid{grid-template-columns:1fr;gap:11px}.stats{display:grid;grid-template-columns:repeat(3,1fr)}.stats .card{padding:8px}.stats strong{font-size:19px}.card{padding:12px}.filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.filters>*{min-width:0}.filters input{grid-column:1/-1}h1{font-size:24px}h2{font-size:18px}header nav.row{width:100%}.actions .button,.actions button{flex:1 1 auto}}

/* The global shell owns section navigation. Keep account utilities in the legacy header. */
body>header nav a.button:not([href="/senha"]){display:none!important}
body>header nav a#back{display:none!important}
body>header nav{margin-left:auto}
body>header .brand{min-width:185px}
.ux-trail a:hover,.ux-help a:hover{text-decoration:underline}
@media(max-width:760px){body>header nav.row{width:auto;margin-left:auto}body>header nav.row span{font-size:11px}.ux-trail{white-space:nowrap;overflow-x:auto}.ux-help-toggle{box-shadow:0 4px 18px #000a}}

/* Legacy product controls only. Never select the artwork, its layers or images. */
body.product-legacy :is(.card,.notice,.editor-panel,.editor-toolbar,.camis-answer,.camis-working,.ux-help) {
  background:var(--product-surface); color:var(--product-ink); border-color:var(--product-border);
}
body.product-legacy :is(button,.button,input,textarea,select) {
  background:var(--product-surface); color:var(--product-ink); border-color:var(--product-border);
}
body.product-legacy :is(label,.muted,small,.ux-example,.stage-meta,.eyebrow,.entry-number),
body.product-legacy :is(.entry,.quick-intro,.template-gallery) p,
body.product-legacy .brand-card summary span {color:var(--product-muted)}
body.product-legacy :is(input,textarea)::placeholder {color:var(--product-muted);opacity:1}
body.product-legacy a:not(.button):not(.entry):not(.product-nav-link):not(.product-brand) {color:var(--product-pink)}
body.product-legacy :is(.primary,.pill,.entry.selected,.ticket.selected,.camis-user),
body.product-legacy :is(.template-options,.layer-row) button[aria-pressed=true] {
  background:var(--product-soft);border-color:var(--product-pink);color:var(--product-ink);
}
body.product-legacy :is(details,.history,.request-form fieldset,.template-gallery){border-color:var(--product-border)}
body.product-legacy :is(input,textarea,select,button,a,summary):focus-visible {
  outline:2px solid var(--product-focus);outline-offset:3px;box-shadow:none;
}
body.product-legacy :is(button,.button):hover {border-color:var(--product-pink)}
body.product-legacy .ux-help-toggle {background:var(--product-raised);color:var(--product-ink);border-color:var(--product-pink)}
body.product-legacy .camis-reviewed {color:#9ee3bf;border-color:#9ee3bf}
:root[data-studio-theme=day] body.product-legacy .camis-reviewed,
:root[data-studio-theme=day] body.product-legacy .success {color:#176241;border-color:#176241}
:root[data-studio-theme=day] body.product-legacy :is(.error,.high){color:#913809}
body.product-legacy .editor-panel .layer-row button {background:var(--product-raised)}
body.product-legacy .editor-panel .layer-row button[aria-pressed=true]{background:var(--product-soft)}
/* Only the stage mat changes; canvas pixels and export remain untouched. */
body.product-legacy .stage-scroll {background-color:var(--product-raised);border-color:var(--product-border)}

/* Lovable f1b614d reference translated to the existing DOM, not its demo data/controller. */
@font-face{font-family:ProductOutfit;src:url('/assets/studio-fonts/Outfit-600.ttf?v=8900df5726b5a6f23e723594f11d5ea27e695bd85c884f18d88ed080544fe205') format('truetype');font-weight:600;font-display:swap}
@font-face{font-family:ProductDM;src:url('/assets/studio-fonts/DMSans-400.ttf?v=b0ae3e89a7d3ef2b1838bb4b1ceb0b17cc3435af061eee809d76aa623ff116e9') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:ProductDM;src:url('/assets/studio-fonts/DMSans-600.ttf?v=b79a2ea7a38f33fd96a282fadb9ce97626bb0724a44d21075859f0e50239993a') format('truetype');font-weight:600 700;font-display:swap}
:root body.product-shell .product-sidebar,
:root body.product-shell.product-home .product-welcome{font-family:ProductDM,system-ui,sans-serif;--reference-bg:oklch(.17 .025 315);--reference-ink:oklch(.97 .012 340);--reference-card:oklch(.215 .029 316);--reference-muted:oklch(.73 .025 320);--reference-accent:oklch(.34 .065 348);--reference-primary:oklch(.66 .24 4);--reference-petal:oklch(.84 .12 354);--reference-coral:oklch(.73 .19 31);--reference-border:oklch(.39 .035 315 / 55%)}
:root[data-studio-theme="day"] body.product-shell .product-sidebar,
:root[data-studio-theme="day"] body.product-shell.product-home .product-welcome{--reference-bg:oklch(.98 .012 55);--reference-ink:oklch(.19 .026 314);--reference-card:white;--reference-muted:oklch(.48 .025 315);--reference-accent:oklch(.94 .04 348);--reference-primary:oklch(.51 .2 4);--reference-petal:oklch(.43 .17 4);--reference-coral:oklch(.43 .14 30);--reference-border:oklch(.86 .02 328)}
:root body.product-shell .product-sidebar{background:var(--reference-bg);border-color:var(--reference-border)}
:root body.product-shell .product-sidebar .product-nav{gap:4px}
:root body.product-shell .product-sidebar .product-nav-link{position:relative;min-height:44px;border:0;border-radius:6px;padding:12px;gap:12px;color:var(--reference-muted);font-size:13px;font-weight:400}
:root body.product-shell .product-sidebar .product-nav-link svg{width:16px;height:16px;flex-basis:16px}
:root body.product-shell .product-sidebar .product-nav-link:hover{background:var(--reference-card);color:var(--reference-ink)}
:root body.product-shell .product-sidebar .product-nav-link[aria-current="page"]{background:var(--reference-accent);color:var(--reference-ink);font-weight:600;box-shadow:none}
:root body.product-shell .product-sidebar .product-nav-link[aria-current="page"]::before{content:'';position:absolute;inset:8px auto 8px 0;width:3px;border-radius:99px;background:var(--reference-primary)}
:root body.product-shell .product-sidebar .product-nav-link[aria-current="page"]>svg{color:var(--reference-primary)}
:root body.product-shell .product-sidebar svg.product-nav-chevron{margin-left:auto;width:12px;height:12px;flex-basis:12px;color:var(--reference-petal)}
:root body.product-shell.product-home .product-welcome .product-greeting{margin-bottom:24px}
:root body.product-shell.product-home .product-welcome .product-kicker{color:var(--reference-petal);font-size:11px;letter-spacing:.16em;font-weight:700}
:root body.product-shell.product-home .product-welcome .product-hero{position:relative;display:block;min-height:390px;padding:48px;border-radius:6px;border:1px solid var(--reference-border);color:var(--reference-ink);background:radial-gradient(ellipse at 80% 55%,color-mix(in oklch,var(--reference-primary) 25%,transparent),transparent 51%),linear-gradient(120deg,oklch(.145 .025 314),var(--reference-card));isolation:isolate}
:root[data-studio-theme="day"] body.product-shell.product-home .product-welcome .product-hero{background:linear-gradient(120deg,oklch(.98 .025 80),var(--reference-accent))}
:root body.product-shell.product-home .product-welcome .product-hero-grid{position:absolute;inset:0;opacity:.6;pointer-events:none;background-image:linear-gradient(to right,color-mix(in oklch,var(--reference-ink) 5%,transparent) 1px,transparent 1px),linear-gradient(to bottom,color-mix(in oklch,var(--reference-ink) 5%,transparent) 1px,transparent 1px);background-size:31px 31px}
:root body.product-shell.product-home .product-welcome .product-hero-orbit{position:absolute;right:64px;top:-64px;width:450px;height:450px;border-radius:50%;border:1px solid color-mix(in oklch,var(--reference-petal) 15%,transparent);pointer-events:none}
:root body.product-shell.product-home .product-welcome .product-hero-orbit-two{right:16px;top:48px}
:root body.product-shell.product-home .product-welcome .product-hero-copy{position:relative;z-index:2;padding:0;max-width:610px;pointer-events:none}
:root body.product-shell.product-home .product-welcome .product-hero-copy a{pointer-events:auto}
:root body.product-shell.product-home .product-welcome .product-hero-badge{display:inline-flex;align-items:center;gap:8px;margin:0 0 20px;border:1px solid color-mix(in oklch,var(--reference-petal) 30%,transparent);background:color-mix(in oklch,var(--reference-card) 50%,transparent);padding:6px 12px;border-radius:99px;color:var(--reference-petal);font-size:10px;letter-spacing:0;text-transform:uppercase;font-weight:600}
:root body.product-shell.product-home .product-welcome .product-hero-badge::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--reference-coral)}
:root body.product-shell.product-home .product-welcome .product-hero h1{font:600 70px/1.05 ProductOutfit,system-ui,sans-serif;letter-spacing:normal;margin:0;color:var(--reference-ink)}
:root body.product-shell.product-home .product-welcome .product-hero h1 span{font-family:ui-serif,Georgia,Cambria,'Times New Roman',serif;font-weight:400;font-style:italic;background:linear-gradient(110deg,var(--reference-coral),var(--reference-primary),var(--reference-petal));background-clip:text;color:transparent}
:root body.product-shell.product-home .product-welcome .product-hero-description{max-width:410px;margin:20px 0 28px;font-size:16px;line-height:1.625;color:var(--reference-muted)}
:root body.product-shell.product-home .product-welcome a.product-cta{min-height:44px;padding:10px 20px;border-radius:6px;background:var(--reference-primary);border:0;color:oklch(.99 .01 340);font:600 14px ProductDM,system-ui,sans-serif;gap:12px;transition:transform .2s}
:root body.product-shell.product-home .product-welcome a.product-cta:hover{transform:translateY(-4px);background:var(--reference-primary)}
:root body.product-shell.product-home .product-welcome .product-hero-visual{position:absolute;inset:0;display:block;padding:0;margin:0;max-height:none;pointer-events:none;overflow:visible;z-index:1}
:root body.product-shell.product-home .product-welcome .product-mascot{position:absolute;bottom:-112px;right:16px;width:460px;max-width:none;height:auto;border-radius:0;box-shadow:none;animation:product-float-paint 4s ease-in-out infinite}
@keyframes product-float-paint{50%{transform:translateY(-8px) rotate(2deg)}}
:root body.product-shell.product-home .product-welcome .product-motion{position:absolute;right:12px;top:12px;z-index:3;border:1px solid var(--reference-border);border-radius:6px;padding:5px 8px;background:var(--reference-card);color:var(--reference-muted);font:400 10px ProductDM,system-ui,sans-serif;cursor:pointer}
:root body.product-shell.product-home .product-welcome .product-motion-paused .product-mascot{animation-play-state:paused}
/* Compact widths retain the reference hierarchy without mascot/text collisions. */
@media(max-width:1180px) and (min-width:901px){
 :root body.product-shell.product-home .product-welcome .product-hero{padding:36px 30px}
 :root body.product-shell.product-home .product-welcome .product-hero h1{font-size:54px}
 :root body.product-shell.product-home .product-welcome .product-hero-description{max-width:340px;font-size:14px}
 :root body.product-shell.product-home .product-welcome .product-mascot{width:350px;right:-20px;bottom:-84px}
}
@media(max-width:767px){
 :root body.product-shell.product-home .product-welcome .product-hero{padding:36px 24px;min-height:390px}
 :root body.product-shell.product-home .product-welcome .product-hero h1{font-size:60px}
 :root body.product-shell.product-home .product-welcome .product-hero-description{font-size:14px}
 :root body.product-shell.product-home .product-welcome .product-mascot{width:350px;right:0;bottom:-96px}
 :root body.product-shell.product-home .product-welcome .product-hero-orbit{width:288px;height:288px;right:-56px}
 :root body.product-shell.product-home .product-welcome .product-hero-orbit-two{right:-96px}
}
@media(max-width:639px){
 :root body.product-shell.product-home .product-welcome .product-hero{min-height:440px}
 :root body.product-shell.product-home .product-welcome .product-hero h1{font-size:42px}
 :root body.product-shell.product-home .product-welcome .product-hero-description{max-width:225px}
 :root body.product-shell.product-home .product-welcome .product-mascot{width:140px;right:-20px;bottom:-32px;opacity:.85}
 :root body.product-shell.product-home .product-welcome .product-motion{top:auto;bottom:8px;right:8px}
}
:root body.product-shell.product-home .product-welcome{container:product-welcome / inline-size}
@container product-welcome (min-width:500px) and (max-width:900px){
 :root body.product-shell.product-home .product-welcome .product-hero{padding:36px 28px;min-height:390px}
 :root body.product-shell.product-home .product-welcome .product-hero h1{font-size:48px}
 :root body.product-shell.product-home .product-welcome .product-hero-description{max-width:300px;font-size:14px}
 :root body.product-shell.product-home .product-welcome .product-mascot{width:290px;bottom:-72px;right:-8px}
}
@container product-welcome (min-width:500px) and (max-width:680px){
 :root body.product-shell.product-home .product-welcome .product-hero h1{font-size:42px}
 :root body.product-shell.product-home .product-welcome .product-mascot{width:200px;bottom:-50px;right:-12px}
}
@media(prefers-reduced-motion:reduce){
 :root body.product-shell.product-home .product-welcome .product-mascot{animation:none}
 :root body.product-shell.product-home .product-welcome .product-motion{display:none}
 :root body.product-shell.product-home .product-welcome a.product-cta{transition:none;transform:none}
}

/* Product chrome only: no artwork, composition, image filters or renderer overrides. */
body.product-shell {
  --product-sidebar: 232px;
  --product-bg: #130f1b;
  --product-surface: #1d1625;
  --product-raised: #251c2f;
  --product-ink: #f8f1f6;
  --product-muted: #c0b0c2;
  --product-border: #48344e;
  --product-pink: #ff80a7;
  --product-focus: #ffa7c4;
  --product-soft: #392336;
  min-height: 100dvh;
  padding-left: var(--product-sidebar);
  background: var(--product-bg);
  color: var(--product-ink);
}
:root[data-studio-theme="day"] body.product-shell {
  --product-bg: #fcf8f5;
  --product-surface: #fffdfa;
  --product-raised: #f6eee9;
  --product-ink: #392b40;
  --product-muted: #756276;
  --product-border: #e4d7df;
  --product-pink: #9c2858;
  --product-focus: #a22f62;
  --product-soft: #fae9ef;
}
body.product-shell .product-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 65;
  display: flex;
  flex-direction: column;
  width: var(--product-sidebar);
  padding: 30px 18px 20px;
  overflow-y: auto;
  background: #211728;
  border-right: 1px solid #3c2943;
  color: #eee4f0;
}
body.product-shell .product-sidebar-head { display: flex; align-items: center; gap: 8px; }
body.product-shell .product-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: #fff5ee; }
body.product-shell .product-mark { position: relative; display: block; flex: 0 0 40px; height: 40px; overflow: hidden; border-radius: 9px; }
body.product-shell .product-mark img { display:block;width:100%;height:100%;object-fit:contain; }
body.product-shell .product-wordmark { display: grid; gap: 3px; }
body.product-shell .product-wordmark strong { font-size: 24px; line-height: 1.1; letter-spacing: -.8px; }
body.product-shell .product-wordmark > span { font-size: 8px; font-weight: 600; letter-spacing: 1.3px; color: #cdbad2; }
body.product-shell .product-mode { display: block; align-self: flex-start; margin: 24px 0 30px; border: 1px solid #59415e; padding: 6px 10px; border-radius: 6px; color: #e0cee3; font-size: 11px; }
body.product-shell .product-nav-label { padding: 0 13px; margin: 0 0 12px; font-size: 9px; font-weight: 700; letter-spacing: 1.6px; color: #b19bb9; }
body.product-shell .product-nav { display: grid; align-content: start; gap: 6px; }
body.product-shell .product-nav-link { display: flex; gap: 13px; align-items: center; padding: 12px 14px; min-height: 45px; color: #d3c5d7; font-size: 13px; font-weight: 500; text-decoration: none; border: 1px solid transparent; border-radius: 9px; transition: background-color .15s, color .15s; }
body.product-shell .product-nav-link svg { flex: 0 0 19px; width: 19px; height: 19px; }
body.product-shell .product-nav-link:hover { background: #342239; color: #fff5fa; }
body.product-shell .product-nav-link[aria-current="page"] { background: #ef7599; color: #31162a; border-color: #ef7599; font-weight: 700; box-shadow: 0 5px 20px #0804091f; }
body.product-shell .product-sidebar-foot { display: flex; gap: 8px; align-items: center; margin-top: auto; padding: 45px 12px 2px; font-size: 10px; color: #bba8c3; }
body.product-shell .product-foot-dot { width: 5px; height: 5px; border-radius: 50%; background: #f38f9d; }
body.product-shell > header.product-topbar {
  min-height: 76px;
  height: auto;
  padding: 15px 36px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid var(--product-border);
  background: var(--product-surface);
  color: var(--product-ink);
}
body.product-shell > header.product-topbar > :is(.brand, .logo) { display: none; }
body.product-shell > header.product-topbar > nav.product-breadcrumb { display: flex; flex: 1; align-items: center; gap: 10px; align-self: center; min-width: 170px; margin: 0 auto 0 0; padding: 0; font-size: 12px; }
body.product-shell .product-breadcrumb-root { color: var(--product-muted); }
body.product-shell .product-breadcrumb-divider { color: var(--product-muted); opacity: .7; }
body.product-shell .product-breadcrumb-current { color: var(--product-ink); font-weight: 600; }
body.product-shell > header.product-topbar > nav:not(.product-breadcrumb) { display: flex; flex: 0 1 auto; align-self: center; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
body.product-shell > header.product-topbar :is(button, a.button, nav a) { min-height: 36px; padding: 8px 11px; border: 1px solid var(--product-border); border-radius: 8px; color: var(--product-ink); background: var(--product-surface); font-size: 11px; font-weight: 500; text-decoration: none; box-shadow: none; }
body.product-shell > header.product-topbar nav a.button:not([hidden]),
body.product-shell > header.product-topbar nav a#back:not([hidden]) { display: inline-flex !important; align-items: center; }
body.product-shell > header.product-topbar nav a.product-route-duplicate:not([hidden]) { display: none !important; }
body.product-shell > header.product-topbar :is(button, a.button):hover { background: var(--product-soft); border-color: var(--product-pink); }
body.product-shell > header.product-topbar #account { max-width: 200px; color: var(--product-muted); font-size: 11px; overflow-wrap: anywhere; }
body.product-shell > header.product-topbar .studio-theme-toggle { border-radius: 999px; color: var(--product-pink); white-space: nowrap; }
body.product-shell > header.product-topbar :is(button, a.button).primary { background: var(--product-soft); border-color: var(--product-pink); color: var(--product-pink); }
body.product-shell > :is(.ux-shell, .ux-trail, .context) { display: none; }
body.product-shell > main { max-width: 1440px; width: 100%; margin: 0 auto; padding: 32px 36px 60px; }
body.product-shell > main.login { max-width: 620px; padding-top: 52px; }
body.product-shell #home, body.product-shell #projects { max-width: none; margin: 0; padding: 0; }
body.product-shell .product-welcome { max-width: 1300px; margin: 0 auto 48px; }
body.product-shell .product-greeting { margin-bottom: 23px; }
body.product-shell .product-kicker { margin: 0 0 6px; color: var(--product-muted); font-size: 9px; letter-spacing: 1.8px; font-weight: 700; }
body.product-shell .product-greeting h1 { margin: 0; color: var(--product-ink); font-size: clamp(22px, 2.1vw, 30px); font-weight: 600; letter-spacing: -.8px; }
body.product-shell .product-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(240px, 1fr); overflow: hidden; border: 1px solid #efd8c8; border-radius: 20px; min-height: 365px; background: #ffedd2; color: #3d2443; }
body.product-shell .product-hero-copy { position: relative; z-index: 1; padding: 43px 0 43px 42px; align-self: center; }
body.product-shell .product-hero-badge { display: inline-block; margin-bottom: 20px; border: 1px solid #cbb49e; border-radius: 999px; padding: 6px 10px; color: #6c4863; font-size: 8px; letter-spacing: 1px; font-weight: 700; }
body.product-shell .product-hero h2 { margin: 0 0 18px; font-size: clamp(34px, 3.7vw, 57px); line-height: 1.08; font-weight: 700; letter-spacing: -2px; color: #3d2443; }
body.product-shell .product-hero h2 span { color: #ad3565; }
body.product-shell .product-hero-description { max-width: 360px; margin: 0 0 26px; color: #6d4e61; font-size: 13px; line-height: 1.75; }
body.product-shell .product-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 17px; }
body.product-shell a.product-cta { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 44px; padding: 12px 18px; background: #4e294c; border: 1px solid #4e294c; color: #fff8f2; font-size: 12px; font-weight: 600; border-radius: 8px; text-decoration: none; }
body.product-shell a.product-cta:hover { background: #6a345c; }
body.product-shell .product-cta svg { width: 17px; height: 17px; }
body.product-shell a.product-hero-link { color: #704460; text-underline-offset: 4px; font-size: 11px; font-weight: 600; }
body.product-shell .product-hero-visual { display: flex; align-items: center; justify-content: center; overflow: hidden; }
body.product-shell .product-mascot { display: block; width: 100%; height: auto; max-width: 435px; object-fit: contain; }
body.product-shell .product-shortcuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-top: 20px; }
body.product-shell .product-shortcut { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 19px 16px; border: 1px solid var(--product-border); border-radius: 12px; background: var(--product-surface); color: var(--product-ink); text-decoration: none; }
body.product-shell .product-shortcut:hover { border-color: var(--product-pink); background: var(--product-raised); }
body.product-shell .product-shortcut-icon { display: grid; flex: 0 0 36px; height: 36px; place-items: center; border-radius: 9px; background: var(--product-soft); color: var(--product-pink); }
body.product-shell .product-shortcut svg { width: 18px; height: 18px; flex-shrink: 0; }
body.product-shell .product-shortcut > svg { width: 14px; margin-left: auto; color: var(--product-muted); }
body.product-shell .product-shortcut-copy { display: grid; gap: 6px; }
body.product-shell .product-shortcut strong { font-size: 12px; font-weight: 600; }
body.product-shell .product-shortcut small { color: var(--product-muted); font-size: 10px; line-height: 1.5; }
body.product-shell .product-menu-toggle, body.product-shell .product-sidebar-close, body.product-shell .product-backdrop { display: none; }
body.product-shell .product-skip { position: fixed; top: -100px; left: 12px; z-index: 100; padding: 12px 18px; color: var(--product-ink); background: var(--product-surface); }
body.product-shell .product-skip:focus { top: 12px; }
body.product-shell :is(.product-sidebar, .product-topbar, .product-welcome) :is(a, button):focus-visible { outline: 3px solid var(--product-focus); outline-offset: 3px; box-shadow: none; }
body.product-shell .product-sidebar :is(a, button):focus-visible { outline-color: #ffb3cb; }
body.product-shell .product-hero a:focus-visible { outline-color: #9d2859; }

/* The two approved palettes change the surrounding chrome, never the asset files. */
:root[data-studio-theme="night"] body.product-shell .product-hero {
  border-color: #51334f;
  background-color: #29172e;
  background-image: radial-gradient(ellipse at 88% 42%, #c645753d, transparent 60%), linear-gradient(#d199bc09 1px, transparent 1px), linear-gradient(90deg, #d199bc09 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
  color: #fff3f5;
}
:root[data-studio-theme="night"] body.product-shell .product-hero-badge { border-color: #a7688a; background: #402139; color: #f4bdd3; }
:root[data-studio-theme="night"] body.product-shell .product-hero h2 { color: #fff3f5; }
:root[data-studio-theme="night"] body.product-shell .product-hero h2 span { color: #ff92b4; }
:root[data-studio-theme="night"] body.product-shell .product-hero-description { color: #ddc8d9; }
:root[data-studio-theme="night"] body.product-shell a.product-cta { background: #f38ca9; border-color: #f38ca9; color: #371c31; }
:root[data-studio-theme="night"] body.product-shell a.product-cta:hover { background: #ffacc3; border-color: #ffacc3; }
:root[data-studio-theme="night"] body.product-shell a.product-hero-link { color: #f2c7dc; }
:root[data-studio-theme="night"] body.product-shell .product-hero-visual { padding: 26px; }
:root[data-studio-theme="night"] body.product-shell .product-mascot { max-width: 325px; border-radius: 50%; box-shadow: 0 0 60px #e7629129; }
:root[data-studio-theme="night"] body.product-shell .product-hero a:focus-visible { outline-color: #ffb6cf; }

:root[data-studio-theme="day"] body.product-shell .product-sidebar { background: #fff9ef; border-color: #e6dace; color: #49364d; }
:root[data-studio-theme="day"] body.product-shell .product-brand { color: #432b43; }
:root[data-studio-theme="day"] body.product-shell .product-wordmark > span { color: #785c70; }
:root[data-studio-theme="day"] body.product-shell .product-mode { border-color: #d8c3c9; background: #fcf1ea; color: #78506b; }
:root[data-studio-theme="day"] body.product-shell .product-nav-label { color: #7f697b; }
:root[data-studio-theme="day"] body.product-shell .product-nav-link { color: #655166; }
:root[data-studio-theme="day"] body.product-shell .product-nav-link:hover { background: #f8e8e9; color: #603049; }
:root[data-studio-theme="day"] body.product-shell .product-nav-link[aria-current="page"] { background: #f8dce6; border-color: #e9bdce; color: #832a51; box-shadow: none; }
:root[data-studio-theme="day"] body.product-shell .product-sidebar-foot { color: #7b6477; }
:root[data-studio-theme="day"] body.product-shell .product-foot-dot { background: #b94772; }
:root[data-studio-theme="day"] body.product-shell .product-sidebar-close { border-color: #c8adb9; background: #fff9ef; color: #70415f; }
:root[data-studio-theme="day"] body.product-shell .product-sidebar :is(a, button):focus-visible { outline-color: #9c2858; }

/* A fullscreen editor is still the existing editor, including every panel and action. */
body.product-shell.editing { padding-left: 0; }
body.product-shell.editing > :is(.product-sidebar, .product-topbar, .product-backdrop),
body.product-shell.editing > :is(.ux-shell, .ux-trail, .context) { display: none; }
body.product-shell.editing > main { max-width: none; margin: 0; padding: 0; }
body.product-shell.editing .product-welcome { display: none; }
body.product-shell.product-legacy-editor { padding-left: 0; }
body.product-shell.product-legacy-editor > .product-sidebar { display: none; }
body.product-shell.product-legacy-editor > main { max-width: none; padding: 20px 24px; }
body.product-shell.product-legacy-editor .product-menu-toggle { display: none; }

@media (min-width: 901px) and (max-width: 1180px) {
  body.product-shell { --product-sidebar: 204px; }
  body.product-shell .product-sidebar { padding-inline: 12px; }
  body.product-shell > header.product-topbar { padding-inline: 24px; }
  body.product-shell > main { padding-inline: 24px; }
  body.product-shell .product-hero-copy { padding: 30px 0 30px 28px; }
  body.product-shell .product-hero { min-height: 320px; grid-template-columns: minmax(0, 1.25fr) minmax(210px, 1fr); }
  body.product-shell .product-shortcut { gap: 9px; padding: 15px 12px; }
  body.product-shell .product-shortcut > svg { display: none; }
}
@media (max-width: 900px) {
  body.product-shell { padding-left: 0; }
  body.product-shell .product-sidebar { width: 260px; max-width: calc(100vw - 48px); transform: translateX(-100%); transition: transform .2s ease; }
  body.product-shell.product-menu-open .product-sidebar { transform: translateX(0); box-shadow: 16px 0 50px #130b2044; }
  body.product-shell.product-menu-open { overflow: hidden; }
  body.product-shell .product-sidebar-close { display: grid; place-items: center; padding: 8px; min-height: 36px; margin-left: auto; border: 1px solid #61496a; border-radius: 7px; background: transparent; color: #f9eafa; }
  body.product-shell .product-sidebar-close svg { width: 16px; height: 16px; }
  body.product-shell > header.product-topbar { gap: 10px; padding: 14px 22px; }
  body.product-shell > header.product-topbar .product-menu-toggle { display: grid; place-items: center; padding: 8px; }
  body.product-shell .product-menu-toggle svg { width: 19px; height: 19px; }
  body.product-shell .product-backdrop:not([hidden]) { position: fixed; inset: 0; display: block; z-index: 60; border: 0; border-radius: 0; background: #100b1b88; }
  body.product-shell > main { padding: 26px 24px 48px; }
  body.product-shell .product-hero-copy { padding: 30px 0 30px 28px; }
  body.product-shell .product-hero { min-height: 310px; }
  body.product-shell .product-hero h2 { font-size: clamp(35px, 5.5vw, 48px); }
  body.product-shell.product-legacy-editor > header.product-topbar .product-menu-toggle { display: none; }
}
@media (max-width: 600px) {
  body.product-shell > header.product-topbar { padding: 12px 16px; gap: 8px; }
  body.product-shell > header.product-topbar > nav.product-breadcrumb { min-width: 0; gap: 7px; font-size: 10px; }
  body.product-shell .product-breadcrumb-root { max-width: 85px; }
  body.product-shell > header.product-topbar > nav:not(.product-breadcrumb) { flex-basis: 100%; order: 3; margin: 2px 0 0; }
  body.product-shell > header.product-topbar #account { max-width: 100%; font-size: 10px; }
  body.product-shell > header.product-topbar :is(button, a.button) { font-size: 10px; padding: 8px 9px; }
  body.product-shell > main { padding: 24px 16px 40px; }
  body.product-shell .product-greeting { margin-bottom: 19px; }
  body.product-shell .product-kicker { font-size: 8px; letter-spacing: 1.2px; }
  body.product-shell .product-hero { grid-template-columns: 1fr; border-radius: 16px; }
  body.product-shell .product-hero-copy { padding: 28px 25px 9px; }
  body.product-shell .product-hero-badge { margin-bottom: 18px; font-size: 7px; }
  body.product-shell .product-hero h2 { font-size: 41px; letter-spacing: -1.8px; }
  body.product-shell .product-hero-description { max-width: 340px; margin-bottom: 20px; font-size: 12px; }
  body.product-shell .product-hero-actions { gap: 16px; }
  body.product-shell .product-hero-visual { max-height: 225px; margin-top: 3px; }
  body.product-shell .product-mascot { width: 235px; }
  :root[data-studio-theme="night"] body.product-shell .product-hero-visual { max-height: none; padding: 18px 26px 24px; }
  :root[data-studio-theme="night"] body.product-shell .product-mascot { width: 210px; }
  body.product-shell .product-shortcuts { grid-template-columns: 1fr; gap: 9px; margin-top: 14px; }
  body.product-shell .product-shortcut { padding: 14px 16px; }
  body.product-shell .product-welcome { margin-bottom: 34px; }
  body.product-shell.product-legacy-editor > main { padding: 16px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  body.product-shell :is(.product-sidebar, .product-nav-link, .product-shortcut) { transition: none; }
}

/* Guided navigation: the current page is text, without an orphan divider. */
body.product-shell .product-breadcrumb-current{display:inline!important;text-decoration:none!important;color:var(--product-ink);pointer-events:none}body.product-shell .product-breadcrumb-divider{display:none}body.product-shell .product-nav-link[aria-current=page]{background:var(--product-active-bg,#ed3e8324);color:var(--product-text,inherit)}
@media(max-width:767px){body.product-shell .product-breadcrumb-root{display:none}body.product-shell .studio-theme-toggle{min-width:44px;min-height:44px;font-size:20px}}
body.product-shell .product-breadcrumb-current{box-shadow:none!important;color:var(--flow-text,var(--product-ink))!important}

/* Approved icon replaces the unavailable legacy sprite; keep the existing mark box. */
body .symbol img[src*="cms-logo-approved.png"]{width:100%!important;height:100%!important;max-width:100%!important;left:0!important;top:0!important;object-fit:contain}

.piece-dialog{width:min(720px,calc(100% - 32px));max-height:85vh;overflow:auto;border:1px solid var(--border,var(--st-border));border-radius:var(--radius,16px);background:var(--panel,var(--st-panel));color:var(--text,var(--st-text));padding:24px}.piece-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.piece-fields label{display:grid;gap:6px;min-width:0;font-size:14px}.piece-fields textarea{min-height:64px;width:100%;box-sizing:border-box}.piece-fields small,.piece-summary p{font-size:13px}.piece-dialog button,.piece-summary a,.editor-top #piece-pending-button{min-height:44px}.piece-dialog form>button{margin:12px 8px 0 0}.piece-overlay{position:absolute;pointer-events:none;z-index:4}.piece-overlay-tag{position:absolute;border:2px dashed var(--piece-pending-stroke);background:var(--piece-pending-bg);color:var(--piece-pending-ink);padding:4px 8px;font-size:12px;max-width:70%;box-sizing:border-box}.piece-summary{padding:16px;border:1px solid var(--border,var(--st-border));border-radius:var(--radius,16px);margin-bottom:16px}.piece-summary [aria-disabled=true],.editor-top a[aria-disabled=true]{opacity:.55;cursor:not-allowed}.visual-proof-image{display:block;max-width:100%;max-height:60vh;object-fit:contain;margin:16px auto}@media(max-width:600px){.piece-fields{grid-template-columns:1fr}.piece-dialog{padding:16px}}
.visual-confirm{box-sizing:border-box;width:min(680px,calc(100% - 32px));max-height:90vh;overflow:auto;padding:24px;border-radius:16px;border:1px solid var(--border,#65516e);background:var(--panel,#191229);color:var(--text,#fff)}.visual-confirm button{min-height:44px;margin:8px 8px 0 0}.visual-confirm::backdrop,.piece-dialog::backdrop{background:#08040cb8}
@media(max-width:750px){.cms-team-studio .editor-top{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.cms-team-studio .editor-top .project-name{flex:1;min-width:100px}.cms-team-studio .editor-top :is(button,a.button){min-height:44px;flex-shrink:0}.cms-team-studio .editor-top #piece-pending-button{max-width:100%}}

/* Shared mobile finish. No business rule, permission or provider mode is changed. */
@media(max-width:767px){
 body{min-width:0}main,.workspace,.product-workspace,.grid,.card,section,article,form,dialog{min-width:0}img,video,canvas{max-width:100%}button,.button,.btn,[role=button],summary,select,input:not([type=checkbox]):not([type=radio]):not([type=hidden]){min-height:44px}button,.button,.btn,[role=button]{min-width:44px;white-space:normal;overflow-wrap:normal;word-break:normal;flex-shrink:0}input:not([type=checkbox]):not([type=radio]),textarea,select{font-size:16px;max-width:100%}input[type=checkbox],input[type=radio]{flex-shrink:0}label:has(>input[type=checkbox]),label:has(>input[type=radio]){min-height:44px;display:flex;align-items:center;gap:10px}small,.muted,.hint,.help-text,.tag,.eyebrow,.pill,.badge,.nav-caption,.nav-count,.project-meta,.pa-caption,.pa-pause{font-size:12px!important;line-height:1.5}p,dd,dt,h1,h2,h3,small{overflow-wrap:break-word}dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto}dialog::backdrop{background:#0009}dialog .actions,.dialog-actions,.filters,.toolbar,.content-actions{flex-wrap:wrap}.actions>*,.filters>*{max-width:100%}.row{flex-wrap:wrap}.grid{grid-template-columns:1fr!important}main.login{max-width:100%;padding:20px}.login .brand img{max-width:72px}.product-topbar{min-width:0;gap:8px;flex-wrap:wrap}.product-breadcrumb{min-width:0;flex:1}.product-topbar #account{font-size:12px;max-width:100%;overflow-wrap:anywhere}.product-sidebar{max-width:85vw;overflow-x:clip}.product-sidebar .product-nav a,.product-sidebar button,.product-sidebar-close{min-height:44px}.product-menu-open .product-sidebar{overflow-y:auto}.product-nav a{font-size:14px}.product-sidebar .product-wordmark span{font-size:10px}.top-actions{gap:8px}.topbar{padding:10px 14px}.icon-btn{min-width:44px;min-height:44px}.breadcrumb{min-width:0}.breadcrumb span{overflow-wrap:anywhere}.btn.small{min-height:44px}.tabs{display:flex;max-width:100%;overflow-x:auto;gap:6px;padding-bottom:6px;flex-wrap:nowrap}.tabs button{white-space:nowrap;flex:0 0 auto;min-height:44px}.tag{white-space:normal}.editor .editor-top,.editor-top{gap:8px}.context-toolbar,.tool-tabs,.studio-tabs,.editor-tools{max-width:100%;overflow-x:auto;flex-wrap:nowrap;align-items:center;gap:6px}.context-toolbar>*,.tool-tabs>*,.studio-tabs>*,.editor-tools>*{flex-shrink:0;min-height:44px}.context-toolbar button,.studio-tabs button{white-space:nowrap}.studio-more summary{min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center}.studio-inspector select,.studio-inspector input{max-width:100%}.properties,.inspector,.library{min-width:0}.kit-form input,.kit-form select,.kit-form textarea{min-width:0}.kit-file-choice{flex-wrap:wrap}.kit-file-name{max-width:100%;overflow-wrap:anywhere}.kit-logo-card{min-width:0}.pa-controls{gap:4px}.pocket-assistant .pa-open{min-height:44px;height:44px;font-size:12px;padding:4px 10px 4px 4px}.pocket-assistant .pa-avatar{width:28px;height:28px}.pocket-assistant .pa-status{position:fixed;left:12px;right:12px;top:12px;bottom:auto;width:auto;max-width:none;z-index:1900;font-size:12px}.pocket-assistant[data-state=idle] .pa-status,.pocket-assistant[data-state=help] .pa-status{position:absolute;width:1px;height:1px;left:auto;top:auto;padding:0;clip-path:inset(50%)}.pocket-assistant .pa-work-scene{display:none!important}.pocket-assistant .pa-controls{position:fixed;right:12px;bottom:92px;z-index:1800}.pocket-assistant .pa-pause{font-size:12px;max-width:105px}.pocket-assistant .pa-help{inset:auto 12px 145px auto!important;max-height:calc(100dvh - 170px);max-width:calc(100vw - 24px);font-size:14px}.pocket-assistant .pa-help .pa-eyebrow{font-size:12px}.pocket-assistant .pa-open{touch-action:none}.flow-active .pocket-assistant{display:none}.flow-active .flow-footer{padding-bottom:12px}.flow-active .flow-bottom button{min-height:52px;font-size:12px}.flow-active .flow-steps li{font-size:0!important}.flow-active .flow-step-body{padding-bottom:36px}.flow-active .flow-footer .flow-primary{white-space:normal}.login-page .login-access{padding:26px 20px}.login-page .login-welcome{padding:20px}.login-page .production-hero-motion{min-height:44px;font-size:12px}.login-page .hero.production-hero{min-height:244px;padding-bottom:64px}#client-flow .production-hero-motion{min-height:44px;font-size:12px}#client-flow .hero.production-hero{min-height:250px;padding-bottom:64px}.hero-steps{font-size:12px!important}.production-hero .production-hero-camis{max-width:none}#toast,.toast{left:12px;right:12px;top:10px;bottom:auto;transform:none;max-width:calc(100vw - 24px);font-size:13px}.notice{overflow-wrap:anywhere}table.portal-cards,table.portal-cards tbody,table.portal-cards tr,table.portal-cards td{display:block;width:100%}table.portal-cards thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}table.portal-cards tbody{display:grid;gap:14px}table.portal-cards tbody tr{border:1px solid var(--border,#ab9db4);border-radius:14px;padding:12px;background:var(--panel,transparent)}table.portal-cards td{border:0;padding:8px 0;overflow-wrap:anywhere}table.portal-cards td[data-label]::before{content:attr(data-label);display:block;font-size:12px;font-weight:600;color:inherit;opacity:.85;margin-bottom:4px}.request-next,.request-delivery-note,.request-next p,.piece-human-field{max-width:100%}.production-table td{white-space:normal}.camis-panel-head{flex-wrap:wrap}.camis-panel-head>button{margin-left:auto}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.mug-buyer #buyer-panels button{background:var(--panel2);color:var(--text);border:1px solid var(--border)}.mug-buyer #buyer-panels button[aria-pressed=true]{background:#d6266f;color:#fff;border-color:#d6266f}

@media(max-width:767px){.editing .editor-top .button,.editing .editor-top>a,.editor-top>a{min-height:44px!important;display:inline-flex;align-items:center;justify-content:center}.editing .studio-send{min-height:44px!important}}

@media(max-width:767px){a.secondary{display:inline-flex;align-items:center;justify-content:center;min-height:44px!important;padding:10px 14px}.flow-dialog .flow-help-face{width:64px;height:64px}}

@media(max-width:767px){button,.button,.btn,[role=button],body.product-shell>header.product-topbar :is(button,a.button,nav a){min-height:44px!important;min-width:44px!important;font-size:12px}a[href]{min-height:44px!important;display:inline-flex;align-items:center}body.product-shell>header.product-topbar :is(button,a.button,nav a){font-size:12px}.ux-help-toggle{min-height:44px!important;font-size:12px;max-width:120px;right:12px;bottom:92px;touch-action:none}.ux-help{bottom:146px;max-height:calc(100dvh - 175px)}}

@media(max-width:767px){a[href]{min-width:44px!important}body:has(#cms-server-bar) .sc-interp{font-size:12px!important;line-height:1.5}#cms-server-bar{height:auto!important;min-height:54px;flex-wrap:wrap;padding-top:6px!important;padding-bottom:6px!important}}

@media(max-width:767px){body:has(#cms-server-bar) header{gap:8px!important;padding-left:12px!important;padding-right:12px!important}body:has(#cms-server-bar) header>div:last-child{flex:0 1 auto!important;min-width:0;gap:6px!important}body:has(#cms-server-bar) header>div:last-child>span{max-width:112px;min-width:0;white-space:normal!important;line-height:1.3}}

@media(max-width:767px){body.portal-status-visible:not(.editing){padding-top:var(--portal-status-space)!important}body.editing.portal-status-visible .editor-top{padding-top:calc(var(--portal-status-space) + 10px)!important}}
