@font-face{font-family:StudioUI;src:url('/assets/252b8799-6259-4c5c-8022-d4d176496f2b.woff2?v=4ba7d3d096695818fe0686be4f1e82c6b05134e18a22260336130335027462dd')}*{box-sizing:border-box}body{margin:0;color:#2b2239;background:#fff;font:14px StudioUI,system-ui,sans-serif}button,input,select,textarea{font:inherit;color:inherit}button,a.button{cursor:pointer;border:1px solid #e1dce8;border-radius:9px;background:white;padding:9px 13px;font-weight:600;text-decoration:none}button:hover,a.button:hover{background:#f1ecf8;border-color:#bfaad9}button:disabled{opacity:.5;cursor:not-allowed}button.primary,a.primary{background:#6841a0;color:white;border-color:#6841a0}a{color:#6841a0}input,textarea,select{padding:9px 10px;border:1px solid #d9d3e0;border-radius:7px;background:#fff;width:100%;min-width:0}textarea{resize:vertical;min-height:80px}input[type=color]{height:37px;padding:3px}input[type=checkbox]{width:auto}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,canvas:focus-visible{outline:2px solid #8660b5;outline-offset:3px;box-shadow:none}label{display:grid;gap:5px;font-size:12px;font-weight:600}h1{font-size:32px;letter-spacing:-1px;margin:7px 0 10px}h2{font-size:18px;margin:0}p{line-height:1.55}small,.hint{font-size:12px;color:#766a85}.shell{height:72px;display:flex;align-items:center;gap:35px;padding:0 30px;border-bottom:1px solid #eeeaf3}.logo{display:flex;align-items:center;gap:12px;text-decoration:none;color:#342348;white-space:nowrap}.logo img{width:75px;height:38px;object-fit:contain}.logo span{font-size:17px;border-left:1px solid #ddd;padding-left:15px}.shell nav{display:flex;gap:8px;align-self:stretch;align-items:center;flex:1}.shell nav a,.shell nav button{border:0;background:none;color:#70677b;font-weight:600;text-decoration:none;padding:22px 12px;border-radius:0}.shell nav [aria-current]{color:#6841a0;box-shadow:inset 0 -3px #8660b5}.shell #account{font-size:12px;color:#796d87;max-width:180px}.context{padding:10px 30px;display:flex;justify-content:space-between;background:#faf8fc;border-bottom:1px solid #efeaf5;color:#7c6b8e;font-size:11px}#home,#projects{max-width:1380px;margin:auto;padding:30px}.intro{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}.intro p{margin:0;color:#7b6f84}.intro .eyebrow{font-size:10px;color:#8c6fa8;letter-spacing:2px;font-weight:700}.quiet{white-space:nowrap}.starts{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:26px}.start{text-align:left;display:grid;grid-template-columns:42px 1fr;gap:5px 12px;padding:19px;background:#fcfbfe}.start .icon{grid-row:span 2;font-size:27px;color:#8051b6}.start strong{font-size:15px}.start small{font-weight:400}.start.selected{background:#f5effc;border-color:#c6b1df}.filters{display:flex;align-items:end;flex-wrap:wrap;gap:12px;padding:16px 0;border-top:1px solid #eee}.filters label{min-width:145px}.filters #custom-size{display:flex;gap:8px}.filters #custom-size[hidden]{display:none}.filters #custom-size label{min-width:80px;width:85px}.catalog-title{display:flex;align-items:center;justify-content:space-between;margin:20px 0 0}.catalog-title span{color:#80718c;font-size:12px}.gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 18px}.template-card{text-align:left;border:0;padding:0;overflow:hidden;border-radius:12px;background:#f7f4fa}.template-card canvas{width:100%;height:220px;object-fit:contain;padding:12px;background:#efebf3}.template-card .caption{padding:12px 14px;display:grid;gap:5px}.template-card small{font-weight:400}.handoff{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:30px;padding:20px;background:#faf8fc;border-radius:12px;font-size:12px}.handoff p{flex:1}.project-card{border:1px solid #e5ddec;border-radius:12px;overflow:hidden}.project-card img{width:100%;height:190px;object-fit:contain;background:#f1edf5}.project-card .caption{padding:13px}.project-card h2{font-size:15px;margin-bottom:6px}.project-card .actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.project-card .actions button{font-size:11px;padding:6px 8px}#notice:empty{display:none}#notice{background:#faf4e7;border:1px solid #e3cb97;color:#5f4522;padding:12px 25px;white-space:pre-line}#editor{height:calc(100vh - 109px);min-height:600px;display:flex;flex-direction:column}#editor[hidden],section[hidden]{display:none}.editor-top{min-height:72px;padding:10px 20px;display:flex;align-items:center;gap:10px;border-bottom:1px solid #e9e3ef}.editor-top a{font-size:12px;white-space:nowrap;text-decoration:none}.project-name{max-width:270px;flex:1;font-size:10px}.project-name input{border:0;font-weight:700;font-size:15px;padding:5px 0}.editor-top #save-state{font-size:11px;color:#83738e;flex:1}.studio-layout{display:grid;grid-template-columns:235px minmax(250px,1fr) 265px;min-height:0;flex:1}.tools{border-right:1px solid #e4ddeb;overflow:auto;background:#fff}.tool-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:12px 7px;border-bottom:1px solid #eae5ef}.tool-tabs button{border:0;font-size:21px;padding:8px 1px;display:grid;gap:4px}.tool-tabs span{font-size:9px;font-weight:500}.tool-tabs button.active{background:#f0e8fa;color:#6841a0}#tool-content{padding:14px}#tool-content h3{font-size:14px;margin:4px 0 13px}#tool-content button{margin:0 4px 7px 0}#tool-content .layer-button{display:flex;justify-content:space-between;align-items:center;text-align:left;width:100%;font-size:12px;padding:8px}#tool-content .layer-button.selected{background:#eee5f9;border-color:#a682d0}.mini-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.mini-grid button{font-size:11px;text-align:left;margin:0!important}.asset-button img{width:100%;height:80px;object-fit:contain}.work-area{background:#f0edf4;display:flex;flex-direction:column;min-width:0;overflow:hidden;padding:14px}.canvas-info,.canvas-bottom{display:flex;align-items:center;gap:9px;justify-content:space-between;color:#897a93;font-size:10px}.canvas-info{padding:0 6px 12px}.canvas-bottom{justify-content:center;padding-top:12px}.canvas-bottom button{padding:6px 8px;font-size:11px}.canvas-bottom output{min-width:45px;text-align:center}#canvas-scroll{overflow:auto;flex:1;min-height:160px;display:grid;place-items:center;padding:24px;align-items:start}#canvas-stage{position:relative;box-shadow:0 5px 25px #3f265520;flex-shrink:0}#art{display:block;touch-action:none;cursor:default}#selection{position:absolute;border:1.5px solid #8963bc;pointer-events:none;transform-origin:center}#selection button{position:absolute;right:-6px;bottom:-6px;width:12px;height:12px;padding:0;border:2px solid #8963bc;border-radius:3px;background:#fff;pointer-events:auto;cursor:nwse-resize;touch-action:none}.properties{border-left:1px solid #e4ddeb;padding:16px;overflow:auto;background:#fff}.property-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.property-title h2{font-size:14px}.property-title button{padding:4px 8px}#properties{display:grid;gap:12px}.prop-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}.prop-actions{display:flex;flex-wrap:wrap;gap:5px}.prop-actions button{font-size:11px;padding:7px}.properties details{font-size:11px;margin-top:18px;padding-top:12px;border-top:1px solid #eee}.warning{color:#9c492b;font-size:12px;white-space:pre-line;margin:5px 0}.warning:empty{display:none}.properties #assistant-host{margin-top:16px;max-width:220px}#floating-assistant{position:fixed;right:14px;bottom:12px;width:170px;z-index:10}#floating-assistant:empty{display:none}dialog{border:1px solid #e4daed;border-radius:18px;padding:26px;max-width:480px;width:calc(100vw - 32px);color:inherit;box-shadow:0 20px 80px #24113940}dialog::backdrop{background:#24113955}dialog label{margin:14px 0}.dialog-close{float:right;border:0;padding:3px 8px;font-size:20px}.dialog-actions{display:flex;gap:10px}.check{display:flex;align-items:center;margin:20px 0}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip{position:fixed;top:-100px;left:10px}.skip:focus{top:10px;background:white;z-index:100;padding:12px}.guided [data-help],.guided [data-tool]{outline:1px dashed #8963bc;outline-offset:2px}.template-card:hover{transform:translateY(-2px);box-shadow:0 6px 20px #41265c12}.template-card{transition:transform .18s,box-shadow .18s}
@media(max-width:1100px){.shell{gap:12px;padding:0 15px}.shell .logo span{display:none}.studio-layout{grid-template-columns:180px minmax(240px,1fr) 235px}.gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.editor-top #save-state{display:none}.editor-top{gap:6px;padding:8px}.properties{padding:12px}}
@media(max-width:750px){.shell{height:auto;min-height:70px;flex-wrap:wrap;padding:10px 14px;gap:3px}.shell nav{order:3;flex-basis:100%;justify-content:space-between;overflow:auto}.shell nav a,.shell nav button{padding:12px 7px;font-size:12px;white-space:nowrap}.shell #account{margin-left:auto}.context{padding:9px 15px}.context span:last-child{display:none}#home,#projects{padding:22px 16px}.intro{align-items:start}.intro h1{font-size:26px}.intro button{font-size:10px;padding:8px}.starts{grid-template-columns:1fr;gap:8px}.start{padding:12px 14px}.filters{gap:8px}.filters label{min-width:120px;flex:1}.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.template-card canvas{height:165px;padding:7px}.template-card .caption{padding:9px;font-size:12px}.catalog-title h2{font-size:16px}.handoff{display:block}.handoff a{display:block;margin:12px 0}.editor-top{flex-wrap:wrap;gap:6px}.project-name{max-width:none}.editor-top button{padding:8px;font-size:11px}.editor-top #save-state{display:inline;flex:0;white-space:nowrap}.studio-layout{display:flex;flex-direction:column}.tools{order:2;border:0;overflow:visible}.tool-tabs{display:flex;overflow:auto}.tool-tabs button{min-width:55px;flex:1}#tool-content{max-height:220px;overflow:auto}.work-area{order:1;min-height:430px;padding:10px}.properties{order:3;border:0;border-top:1px solid #ddd;padding:18px}#editor{height:auto;min-height:0}.canvas-info span:last-child{display:none}#canvas-scroll{min-height:330px}.properties #assistant-host{max-width:190px}#floating-assistant{width:130px;bottom:5px}.prop-pair{grid-template-columns:1fr 1fr}.canvas-bottom{gap:5px}.canvas-bottom button{font-size:10px}.project-card img{height:150px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

#family-studio-actions{max-width:100%;padding:10px}#family-studio-actions[hidden]{display:none}#family-studio-actions details[open]{display:grid;gap:10px}#family-studio-actions summary{cursor:pointer;font-weight:700}#family-studio-actions select,#family-studio-actions button{width:100%;max-width:100%;white-space:normal;padding:9px;border-radius:7px}#family-studio-actions p{font-size:13px;line-height:1.5}

.pocket-assistant{--pa-ink:#342b38;--pa-pink:#be3b72;position:relative;width:max-content;max-width:min(240px,calc(100vw - 32px));color:var(--pa-ink);font:13px/1.5 system-ui,sans-serif;isolation:isolate}
.pocket-assistant *{box-sizing:border-box}.pocket-assistant [hidden]{display:none!important}
.pocket-assistant .pa-work-scene{display:none;width:180px;max-width:100%;margin:0 0 8px auto;border:1px solid #e8ddce;background:#fff7e8;border-radius:12px;overflow:hidden}
.pocket-assistant[data-state=working] .pa-work-scene{display:block}
.pocket-assistant .pa-stage{display:block;width:100%;height:auto}
.pocket-assistant .pa-scene-label{display:block;font-size:10px;letter-spacing:.04em;text-align:center;color:#766455;padding:0 8px 7px}
.pocket-assistant .pa-status{display:flex;align-items:flex-start;gap:7px;margin:0 0 8px auto;padding:9px 11px;max-width:240px;background:#fff;border:1px solid #e2dce3;border-radius:10px;font-weight:500;box-shadow:0 3px 12px #30283708;overflow-wrap:anywhere}
.pocket-assistant[data-state=idle] .pa-status,.pocket-assistant[data-state=help] .pa-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.pocket-assistant .pa-dot{width:6px;height:6px;flex:0 0 auto;margin-top:6px;border-radius:50%;background:#806e87}
.pocket-assistant[data-state=working] .pa-dot{background:#b27622}.pocket-assistant[data-state=ready] .pa-dot{background:#298261}.pocket-assistant[data-state=error] .pa-dot{background:#b52336}.pocket-assistant[data-state=uncertain] .pa-dot{background:#9a752b}
.pocket-assistant .pa-caption{font-size:11px;color:#6b586f;margin:8px 0}.pocket-assistant .pa-controls{display:flex;justify-content:flex-end;align-items:center;gap:6px;flex-wrap:wrap}
.pocket-assistant button{font:inherit;color:var(--pa-ink);background:#fff;border:1px solid #d8d0da;border-radius:9px;padding:7px 11px;cursor:pointer;min-height:44px}
.pocket-assistant button:hover{background:#fff6fa}.pocket-assistant button:focus-visible{outline:3px solid #825491;outline-offset:3px}
.pocket-assistant .pa-open{display:flex;align-items:center;gap:7px;height:44px;padding:3px 13px 3px 4px;border-radius:24px;font-size:12px;font-weight:600;box-shadow:0 3px 12px #3028370b}
.pocket-assistant .pa-avatar{display:block;width:34px;height:34px;border-radius:50%;object-fit:cover;object-position:center}
.pocket-assistant .pa-pause{font-size:11px;padding:6px 9px;border-color:transparent;background:transparent;min-height:44px}
.pocket-assistant .pa-help{position:fixed;z-index:1800;width:min(390px,calc(100vw - 24px));max-height:min(640px,calc(100dvh - 32px));overflow:auto;overscroll-behavior:contain;background:#fffefa;border:1px solid #ded7df;border-radius:16px;box-shadow:0 12px 45px #35233a26;padding:20px;color:#342b38;animation:pa-open .18s ease-out}
.pocket-assistant .pa-help-header{display:flex;align-items:center;gap:10px;margin-bottom:12px}.pocket-assistant .pa-help-avatar{width:42px;height:42px;flex:0 0 auto;border-radius:50%;object-fit:cover;object-position:50% 30%;border:1px solid #eadce5}
.pocket-assistant .pa-help h3{font-size:18px;line-height:1.25;margin:0}.pocket-assistant .pa-help h4{font-size:12px;margin:16px 0 5px}.pocket-assistant .pa-help p{margin:8px 0}.pocket-assistant .pa-help ul{padding-left:21px;margin:6px 0 14px}.pocket-assistant .pa-help li+li{margin-top:8px}
.pocket-assistant .pa-help .pa-close{margin-left:auto;align-self:start;min-width:44px;font-size:20px}.pocket-assistant .pa-inline{font-weight:600}.pocket-assistant .pa-eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#796b7b}.pocket-assistant .pa-speech-link{height:2px;background:linear-gradient(90deg,#d387a6,transparent);margin:12px 0;border-radius:3px}
.pocket-assistant .pa-help-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.pocket-assistant .pa-primary{background:#523d5c;color:white;border-color:#523d5c}.pocket-assistant .pa-primary:hover{background:#654b70}
[data-pocket-help-target]{outline:3px solid #b94e87!important;outline-offset:4px}
@keyframes pa-open{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){.pocket-assistant .pa-help{left:12px!important;right:12px;bottom:12px;top:auto!important;max-height:75dvh;padding:16px}.pocket-assistant button{min-height:44px}.pocket-assistant .pa-help-actions button{flex:1 1 auto}}
@media(prefers-reduced-motion:reduce){.pocket-assistant .pa-help{animation:none}}

:root{--ink:#24252c;--muted:#747680;--line:#e7e7ec;--panel:#fff;--work:#f1f2f4;--accent:#7753aa;--soft:#f2edf9;--radius:8px}body{color:var(--ink)}a{color:var(--accent)}button,input,select,textarea{border-color:var(--line)}button:hover{background:var(--soft)}button.primary,a.primary{background:#7753aa;border-color:#7753aa}.shell{height:64px;border-color:var(--line)}.context{background:#fafafa;color:var(--muted)}.template-card canvas{background:#eeeff1;padding:14px}.template-card{background:#fff;border:1px solid var(--line)}.template-card .caption{padding:13px 15px}.gallery{gap:24px}.start{background:#fafafa}.start.selected{background:var(--soft)}.editing>.shell,.editing>.context{display:none}.editing #editor{height:100dvh;min-height:480px}.editing #notice{position:fixed;top:64px;left:50%;transform:translateX(-50%);max-width:700px;z-index:35;border-radius:10px;box-shadow:0 4px 18px #0001}.editor-top{height:64px;min-height:64px;padding:8px 18px;gap:12px;background:#fff;border-color:var(--line);z-index:5}.editor-top #back{color:var(--ink);padding-right:12px;border-right:1px solid var(--line)}.editor-mode{font-size:10px;color:var(--muted);border:1px solid var(--line);border-radius:4px;padding:4px 7px;white-space:nowrap}.project-name{max-width:280px}.project-name input{font-size:14px}.editor-top button{padding:8px 12px;font-size:12px;border-radius:7px}.editor-top #save-state{color:var(--muted);font-size:11px}.studio-layout{grid-template-columns:72px 250px minmax(260px,1fr) 260px}.tool-rail{display:flex;flex-direction:column;gap:5px;padding:14px 6px;border:0;border-right:1px solid var(--line);overflow:auto;background:#fafafb}.tool-rail button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:59px;font-size:23px;font-weight:500;flex-shrink:0;border:0;border-radius:8px;background:transparent}.tool-rail span{font-size:10px}.tool-rail button.active{background:#eee7f8;color:var(--accent)}.tools{position:relative;border-color:var(--line);overflow:hidden;display:flex;flex-direction:column}.library-heading{display:flex;justify-content:space-between;align-items:center;padding:13px 16px;font-size:12px;font-weight:600;border-bottom:1px solid var(--line)}.library-heading button,.property-title button{border:0;background:none;color:var(--muted);font-size:16px;padding:0 5px}#tool-content{padding:18px 14px;overflow:auto;flex:1}#tool-content h3{font-size:15px;margin:0 0 12px}#tool-content .hint{font-size:11px;line-height:1.5}.library-closed .studio-layout{grid-template-columns:72px minmax(260px,1fr) 260px}.library-closed .tools{display:none}.inspector-closed .studio-layout{grid-template-columns:72px 250px minmax(260px,1fr)}.inspector-closed .properties{display:none}.library-closed.inspector-closed .studio-layout{grid-template-columns:72px minmax(260px,1fr)}.properties{padding:17px 15px;border-color:var(--line)}.property-title{gap:8px;margin-bottom:16px}.property-title h2{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.properties label{font-size:11px;font-weight:500}.properties input,.properties select,.properties textarea{padding:8px;border-radius:6px;font-size:12px}.properties details{margin-top:5px;padding-top:12px;border-color:var(--line);font-size:12px}.properties summary{cursor:pointer;font-weight:600;margin-bottom:12px}.prop-pair{gap:10px}.prop-actions{gap:6px}.prop-actions button{font-size:10px}.segmented,.alignment-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}.segmented button,.alignment-grid button{font-size:10px;padding:7px 3px}.segmented [aria-pressed=true]{background:var(--soft);border-color:#b9a4d3}.alignment-grid{margin:10px 0}.work-area{padding:0;background:var(--work);position:relative}.context-toolbar{height:49px;min-height:49px;display:flex;align-items:center;gap:7px;padding:8px 16px;background:#fff;border-bottom:1px solid var(--line);overflow:auto}.context-toolbar .selection-kind{font-size:11px;white-space:nowrap;color:var(--muted);margin-right:auto}.context-toolbar button{padding:6px 9px;font-size:11px;white-space:nowrap}.canvas-info{padding:13px 20px 0;font-size:10px;color:var(--muted)}.canvas-info span:last-child{display:none}#canvas-scroll{padding:28px;align-items:center;min-height:140px}#canvas-stage{box-shadow:0 3px 18px #20253519}#selection{border:1.5px solid var(--accent)}#selection button{width:9px;height:9px;border:1.5px solid var(--accent);border-radius:2px;right:auto;bottom:auto}#selection [data-handle=nw]{left:-5px;top:-5px;cursor:nwse-resize}#selection [data-handle=n]{left:calc(50% - 4px);top:-5px;cursor:ns-resize}#selection [data-handle=ne]{right:-5px;top:-5px;cursor:nesw-resize}#selection [data-handle=e]{right:-5px;top:calc(50% - 4px);cursor:ew-resize}#selection [data-handle=se]{right:-5px;bottom:-5px;cursor:nwse-resize}#selection [data-handle=s]{left:calc(50% - 4px);bottom:-5px;cursor:ns-resize}#selection [data-handle=sw]{left:-5px;bottom:-5px;cursor:nesw-resize}#selection [data-handle=w]{left:-5px;top:calc(50% - 4px);cursor:ew-resize}#selection #rotate-handle{left:calc(50% - 10px);top:-33px;width:20px;height:20px;border-radius:50%;font-size:15px;cursor:grab;line-height:15px}.selection-label{position:absolute;bottom:-24px;left:0;max-width:230px;overflow:hidden;white-space:nowrap;font-size:10px;line-height:16px;background:var(--accent);color:#fff;padding:0 5px;border-radius:3px}.canvas-guide{position:absolute;pointer-events:none;z-index:2;background:#ab71d7}.canvas-guide.x{left:50%;top:0;bottom:0;width:1px}.canvas-guide.y{top:50%;left:0;right:0;height:1px}.canvas-guide[hidden]{display:none}.canvas-bottom{padding:11px 14px;justify-content:flex-end;background:#fff;border-top:1px solid var(--line);gap:6px}.canvas-bottom button{border:0;font-size:10px;padding:6px}.canvas-bottom [aria-pressed=true]{background:var(--soft);color:var(--accent)}.warning{padding:0 14px;background:#fff9ef;margin:0}.inline-text{position:absolute;z-index:5;resize:none;min-height:0;padding:0;border:1px solid var(--accent);border-radius:0;line-height:1.22;background:#fffffff2;transform-origin:center;outline:2px solid #7753aa55;outline-offset:0}.layer-row{display:flex;align-items:center;border:1px solid transparent;border-radius:7px;margin-bottom:5px;gap:2px;min-width:0}.layer-row.selected{background:var(--soft);border-color:#d2c2e5}.layer-row>button{border:0!important;background:transparent!important;margin:0!important;padding:6px!important;font-size:11px;flex-shrink:0}.layer-row .layer-button{flex:1;min-width:0;gap:8px;justify-content:flex-start!important}.layer-row .layer-button span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.layer-thumb{width:28px;height:28px;display:grid;place-items:center;background:#fff;border:1px solid var(--line);border-radius:4px;flex-shrink:0;font-size:16px}.model-grid{gap:10px}.model-grid button{padding:0;border:1px solid var(--line);overflow:hidden;display:grid}.model-grid canvas{width:100%;height:100px;object-fit:contain;background:#eeeef1;padding:6px}.model-grid span{padding:7px;font-size:10px;line-height:1.4}.shape-grid button{display:flex;flex-direction:column;align-items:center;gap:10px;padding:15px 6px;font-size:10px;text-align:center}.shape-preview{width:44px;height:34px;background:#80818a;display:block}.shape-circle{width:36px;height:36px;border-radius:50%}.shape-round,.shape-pill,.shape-roundRect{border-radius:12px}.shape-triangle{clip-path:polygon(50% 0,100% 100%,0 100%)}.shape-diamond{clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}.shape-line{height:3px;margin:16px 0}.shape-arch{border-radius:24px 24px 0 0}.assistant-dock{position:fixed;right:278px;bottom:59px;z-index:12}.inspector-closed .assistant-dock{right:18px}#floating-assistant{width:auto;right:18px;bottom:18px}.page-dimensions{font-size:12px;border:1px solid var(--line);padding:12px;border-radius:8px;text-align:center}#crop-dialog{max-width:650px}#crop-surface{position:relative;touch-action:none;width:max-content;max-width:100%;margin:15px auto;background:#f1f2f4;cursor:crosshair;overflow:hidden}#crop-image{display:block;max-width:100%;max-height:45vh;pointer-events:none;user-select:none}#crop-box{position:absolute;pointer-events:none;border:2px solid #fff;outline:1px solid #7753aa;box-shadow:0 0 0 999px #19182466}#crop-fields{grid-template-columns:repeat(4,1fr)}.team-entry{max-width:850px;margin:70px auto;padding:32px;border:1px solid var(--line);border-radius:16px}.team-entry h1{font-size:32px}.team-entry a{display:inline-flex;margin:15px 15px 0 0;padding:12px 18px;border:1px solid var(--line);border-radius:8px;text-decoration:none}
.shape-ellipse{border-radius:50%}.shape-hexagon{clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%)}.shape-pentagon{clip-path:polygon(50% 0,100% 38%,82% 100%,18% 100%,0 38%)}.shape-star{clip-path:polygon(50% 0,61% 35%,100% 38%,70% 62%,80% 100%,50% 76%,20% 100%,30% 62%,0 38%,39% 35%)}.shape-chevron{clip-path:polygon(0 0,65% 0,100% 50%,65% 100%,0 100%,35% 50%)}.shape-parallelogram{clip-path:polygon(25% 0,100% 0,75% 100%,0 100%)}
@media(max-width:1200px){.studio-layout{grid-template-columns:65px 210px minmax(230px,1fr) 230px}.library-closed .studio-layout{grid-template-columns:65px minmax(230px,1fr) 230px}.inspector-closed .studio-layout{grid-template-columns:65px 210px minmax(230px,1fr)}.library-closed.inspector-closed .studio-layout{grid-template-columns:65px minmax(230px,1fr)}.assistant-dock{right:245px}.editor-mode{display:none}.editor-top #save-state{display:inline;max-width:130px;flex:1}.editor-top{gap:8px}.properties{padding:14px 12px}}
@media(max-width:750px){.editing #editor{height:100dvh;min-height:420px}.editor-top{height:90px;min-height:90px;flex-wrap:wrap;padding:8px 10px;gap:5px}.editor-top #back{font-size:11px;padding-right:6px}.project-name{flex:1;max-width:calc(100% - 80px)}.project-name input{font-size:13px}.editor-top #save-state{font-size:9px;flex:1;max-width:none}.editor-top button{font-size:10px;padding:6px 9px}.studio-layout,.library-closed .studio-layout,.inspector-closed .studio-layout,.library-closed.inspector-closed .studio-layout{display:flex;flex-direction:column;position:relative}.work-area{order:0;min-height:0;flex:1;padding:0}.tool-rail{order:3;display:flex;flex-direction:row;justify-content:space-around;padding:3px 5px;border:0;border-top:1px solid var(--line);height:64px;min-height:64px;overflow:auto;z-index:16}.tool-rail button{font-size:20px;min-height:55px;min-width:43px;padding:4px;flex:1}.tool-rail span{font-size:9px}.tools,.properties{position:absolute;bottom:64px;left:0;right:0;max-height:42%;height:auto;z-index:15;border:1px solid var(--line);border-radius:14px 14px 0 0;box-shadow:0 -5px 25px #0001;background:#fff}.tools{display:flex;order:1}.properties{order:2;overflow:auto;padding:12px 16px;max-height:60%;min-height:170px}.library-closed .tools,.inspector-closed .properties{display:none}.library-heading{padding:9px 16px}#tool-content{padding:12px;max-height:none}.canvas-info{padding:8px 12px 0}.context-toolbar{height:40px;min-height:40px;padding:6px 10px}.context-toolbar button{font-size:10px}.canvas-bottom{padding:7px;justify-content:center;flex-wrap:wrap;gap:3px}.canvas-bottom button{font-size:9px;padding:4px}#canvas-scroll{min-height:0;padding:20px}.assistant-dock,.inspector-closed .assistant-dock{right:12px;bottom:111px}.gallery{gap:12px}.gallery canvas{height:170px}.editing #notice{top:88px;width:calc(100% - 20px);font-size:12px}.team-entry{margin:25px 16px;padding:22px}#crop-fields{grid-template-columns:1fr 1fr}}
.leave-actions{flex-wrap:wrap;margin-top:20px}.leave-actions button{min-height:44px}.project-card .project-quota{font-size:11px;line-height:1.45;margin:7px 0;color:var(--muted,#766a85)}.project-card .delete-reason{font-size:11px;margin:5px 0;color:var(--muted,#766a85)}
@media(max-width:750px){.editor-top{display:grid;grid-template-columns:64px 28px 28px minmax(70px,1fr) 64px 40px;grid-template-rows:34px 30px;gap:5px;height:84px;min-height:84px}.editor-top #back{grid-column:1;grid-row:1;border:0;padding:0}.editor-top .project-name{grid-column:2/7;grid-row:1;max-width:none;font-size:0;display:block}.project-name input{font-size:14px;width:100%;padding:6px}.editor-top #save-state{grid-column:1;grid-row:2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px}.editor-top #undo{grid-column:2;grid-row:2}.editor-top #redo{grid-column:3;grid-row:2}.editor-top #save{grid-column:4;grid-row:2}.editor-top #export{grid-column:5;grid-row:2}.editor-top #guided{grid-column:6;grid-row:2}.editor-top button{padding:5px 2px;font-size:10px;white-space:nowrap}.editor-top .project-name label{font-size:0}}
.assistant-dock{z-index:30}
.layer-row .layer-trash{color:#a12d50!important;font-size:15px!important;min-width:30px;min-height:30px;border-radius:6px!important}
.layer-row .layer-trash:hover,.layer-row .layer-trash:focus-visible{background:#fce7ed!important;outline:2px solid #a12d50;outline-offset:-2px}
.layer-row .layer-trash:disabled{color:var(--muted)!important;opacity:.45;cursor:not-allowed}

body:has(#media-dialog[open]){overflow:hidden}.media-card{padding:16px;border:1px solid #dedde5;border-radius:12px;background:#fff;margin:12px 0}.media-card h4{margin:0 0 8px}.media-card p{font-size:13px;line-height:1.55;color:#5c6170}.media-card button{width:100%}.media-kicker{color:#5a4e89;font-size:11px;letter-spacing:.12em;font-weight:700}.tool-rail [data-tool=communications] span{font-size:10px}
#media-dialog{width:min(1060px,94vw);max-width:1060px;padding:0;border:1px solid #d9dbe2;border-radius:16px;color:#222735;background:#fff;max-height:92dvh}#media-dialog::backdrop{background:#1515218c}.media-head{display:flex;justify-content:space-between;gap:20px;padding:22px 26px;border-bottom:1px solid #e9e8ee}.media-head h2{margin:4px 0;font-size:23px}.media-head p{margin:5px 0 0;color:#646b79;font-size:13px}.media-head button{align-self:flex-start}.media-layout{display:grid;grid-template-columns:1.1fr 1fr}.media-fields{padding:22px 26px;min-width:0}.media-fields h3{font-size:14px;margin:0 0 12px}.media-fields label{display:flex;flex-direction:column;font-size:12px;font-weight:600;gap:6px;margin-bottom:13px}.media-fields input,.media-fields select,.media-fields textarea{width:100%;box-sizing:border-box;min-height:39px;background:#fff;border:1px solid #d4d6df;border-radius:7px;padding:9px;color:#222735;font:inherit}.media-fields input[type=color]{padding:3px}.media-fields input[type=checkbox]{width:17px;min-height:17px;flex:0 0 17px}.media-fields label.media-confirm{flex-direction:row;align-items:flex-start;font-weight:400;line-height:1.5}.media-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.media-fields .hint{margin:-5px 0 15px;font-size:12px;line-height:1.5}.media-fields hr{border:0;border-top:1px solid #ecebf0;margin:19px 0}.media-preview{background:#f1f2f5;padding:22px;display:flex;flex-direction:column;align-items:center;gap:16px;border-left:1px solid #e6e7ed;min-width:0}.media-preview canvas{max-width:100%;max-height:490px;width:auto;height:auto;box-shadow:0 12px 26px #17202f20;border-radius:4px}.media-preview .media-stage{width:100%;display:flex;justify-content:center;min-height:220px;align-items:center}.media-preview textarea{width:100%;box-sizing:border-box;min-height:170px;border:1px solid #d4d6df;border-radius:7px;padding:12px;font:12px/1.6 inherit;background:white}.media-preview label{width:100%;font-size:12px;font-weight:600}.media-preview .hint{font-size:12px;line-height:1.6;margin:0}.media-footer{padding:16px 26px;display:flex;align-items:center;gap:12px;border-top:1px solid #e6e7ed;background:#fff;position:sticky;bottom:0}.media-footer p{margin:0;flex:1;font-size:12px;color:#5e6570}#media-status{font-size:13px;line-height:1.5;padding:0 26px;color:#8b2835}#media-status:empty{display:none}.media-preview-meta{width:100%;display:flex;justify-content:space-between;font-size:11px;color:#596171}.media-caption-editor{width:100%;min-height:160px;font-size:12px;line-height:1.6;box-sizing:border-box}.media-safety{padding:10px;background:#f6f4fa;border-radius:8px}.media-header-link{margin-left:auto}
#media-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;height:min(940px,92dvh);overflow:hidden}#media-dialog [hidden]{display:none!important}.media-layout{overflow:auto}.media-preview{position:sticky;top:0;align-self:start;gap:12px}.media-preview canvas{max-height:min(40dvh,490px)}.media-preview textarea{min-height:110px;height:110px}.media-preview .hint{font-size:11px}.media-fields :is(input,select,textarea):focus-visible{outline:2px solid #8774b5;outline-offset:2px;box-shadow:none}.media-footer{position:static}
@media(max-width:760px){#media-dialog{width:96vw;max-height:96dvh}#media-dialog[open]{height:96dvh}.media-layout{grid-template-columns:1fr}.media-fields{padding:18px}.media-preview{position:static;border-left:0;border-top:1px solid #e6e7ed;padding:18px}.media-head{padding:16px}.media-head h2{font-size:20px}.media-footer{padding:12px;flex-wrap:wrap}.media-footer p{flex-basis:100%}.media-preview canvas{max-height:390px}.media-row{gap:8px}}

/* Studio chrome only. The canvas is rendered from the composition master and
   never receives a theme filter or inherited color. */
#media-dialog{
 --media-surface:#211729;--media-panel:#2b2036;--media-stage:#191522;
 --media-field:#30253c;--media-border:#645371;--media-text:#f6f2fa;
 --media-muted:#d7cddd;--media-kicker:#ffb7d0;--media-focus:#ff9dbf;
 --media-primary:#ff9dbf;--media-primary-text:#271a2d;--media-error:#ffc5cc;
 background:var(--media-surface);border-color:var(--media-border);
 color:var(--media-text);color-scheme:dark;
}
:root[data-studio-theme="day"] #media-dialog{
 --media-surface:#fff9f7;--media-panel:#fffdfb;--media-stage:#f7edf3;
 --media-field:#fffdfb;--media-border:#927486;--media-text:#35233a;
 --media-muted:#604e64;--media-kicker:#75406c;--media-focus:#825491;
 --media-primary:#6841a0;--media-primary-text:#fff;--media-error:#8b2835;
 color-scheme:light;
}
#media-dialog .media-head,#media-dialog .media-footer{border-color:var(--media-border);background:var(--media-surface)}
#media-dialog .media-head p,#media-dialog .media-footer p,#media-dialog .media-preview-meta,#media-dialog .hint{color:var(--media-muted)}
#media-dialog .media-kicker{color:var(--media-kicker)}
#media-dialog .media-fields{background:var(--media-panel)}
#media-dialog .media-fields hr{border-color:var(--media-border)}
#media-dialog .media-preview{background:var(--media-stage);border-color:var(--media-border)}
#media-dialog .media-safety{background:var(--media-stage);border:1px solid var(--media-border)}
#media-dialog :is(input,select,textarea){background:var(--media-field);border-color:var(--media-border);color:var(--media-text)}
#media-dialog :is(input,select,textarea)::placeholder{color:var(--media-muted);opacity:1}
#media-dialog input[type=checkbox]{accent-color:var(--media-primary)}
#media-dialog :is(button,input,select,textarea):focus-visible{outline:3px solid var(--media-focus);outline-offset:2px;box-shadow:none}
#media-dialog button{background:var(--media-field);border-color:var(--media-border);color:var(--media-text)}
#media-dialog button:hover:not(:disabled){border-color:var(--media-focus)}
#media-dialog button.primary{background:var(--media-primary);border-color:var(--media-primary);color:var(--media-primary-text)}
#media-dialog button.primary:hover:not(:disabled){filter:brightness(1.08)}
#media-dialog button:disabled{opacity:.55}
#media-dialog #media-status{color:var(--media-error)}

:root:not([data-studio-theme="day"]) .media-card{background:#2b2036;border-color:#645371;color:#f6f2fa}
:root:not([data-studio-theme="day"]) .media-card p{color:#d7cddd}
:root:not([data-studio-theme="day"]) .media-kicker{color:#ffb7d0}
:root[data-studio-theme="day"] .media-card{background:#fff9f7;border-color:#e4cedb;color:#35233a}
:root[data-studio-theme="day"] .media-card p{color:#604e64}
:root[data-studio-theme="day"] .media-kicker{color:#75406c}

/* Studio chrome only. Night follows the original CMS #100b1b plum base
   and #f52c78 rose action; Day extends Camis's #be3b72 rose and #523d5c plum.
   Artwork canvases, logos and user images are never filtered or recolored.
   Day and Night contrast is checked by the scoped theme tests. */
:root {
  --studio-theme-rose: #be3b72;
  --studio-theme-plum: #523d5c;
}

.studio-theme-toggle {
  flex: 0 0 auto;
  white-space: nowrap;
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid #c9bbd6;
  border-radius: 999px;
  background: #faf8fc;
  color: #4d3568;
  font-size: 12px;
  line-height: 1.2;
}
.studio-theme-toggle:hover { background: #f1eafa; border-color: #8660b5; }
.studio-theme-toggle:active { background: #e8dcf5; }
.studio-theme-toggle:focus-visible {
  outline: 3px solid #6841a0;
  outline-offset: 2px;
}
.shell .studio-theme-toggle { align-self: center; }
.editor-top .studio-theme-toggle {
  margin-left: auto;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
}

:root[data-studio-theme="night"] {
  color-scheme: dark;
  --ink: #f6f2fa;
  --muted: #b9afc9;
  --line: #76627f;
  --panel: #171128;
  --work: #21172b;
  --accent: #f52c78;
  --soft: #39203a;
  --studio-night-bg: #100b1b;
  --studio-night-field: #24172e;
  --studio-night-hover: #35213e;
  --studio-night-active: #4a2b49;
  --studio-night-focus: #ff9dbf;
  --studio-night-error: #ffc69f;
}

:root[data-studio-theme="night"] body {
  background: var(--studio-night-bg);
  color: var(--ink);
}
:root[data-studio-theme="night"] a { color: var(--studio-night-focus); }
:root[data-studio-theme="night"] .skip:focus {
  background: var(--panel);
  color: var(--studio-night-focus);
  border: 2px solid var(--studio-night-focus);
  border-radius: 7px;
}
:root[data-studio-theme="night"] :is(.hint, small, .intro p, .catalog-title span, .canvas-info, .canvas-bottom, .editor-top #save-state) {
  color: var(--muted);
}
:root[data-studio-theme="night"] :is(button, a.button) {
  background: var(--panel);
  border-color: var(--line);
  color: var(--ink);
}
:root[data-studio-theme="night"] :is(button, a.button):hover {
  background: var(--studio-night-hover);
  border-color: var(--studio-night-focus);
}
:root[data-studio-theme="night"] :is(button, a.button):active { background: var(--studio-night-active); }
:root[data-studio-theme="night"] :is(button.primary, a.primary) {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--studio-night-bg);
}
:root[data-studio-theme="night"] :is(button.primary, a.primary):hover {
  background: #ff78a5;
  border-color: #ff78a5;
  color: var(--studio-night-bg);
}
:root[data-studio-theme="night"] :is(button.primary, a.primary):active {
  background: #ff9dbf;
  border-color: #ff9dbf;
}
:root[data-studio-theme="night"] :is(input, textarea, select) {
  background: var(--studio-night-field);
  border-color: var(--line);
  color: var(--ink);
}
:root[data-studio-theme="night"] :is(input, textarea)::placeholder {
  color: var(--muted);
  opacity: 1;
}
:root[data-studio-theme="night"] :is(button, a, input, textarea, select, canvas, summary):focus-visible {
  outline: 3px solid var(--studio-night-focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--studio-night-bg);
}
:root[data-studio-theme="night"] button:disabled { opacity: .55; }

:root[data-studio-theme="night"] .shell {
  background: #130f1d;
  border-color: var(--line);
}
:root[data-studio-theme="night"] .logo { color: var(--ink); }
:root[data-studio-theme="night"] .shell nav :is(a, button) { color: var(--muted); background: transparent; }
:root[data-studio-theme="night"] .shell nav :is(a, button):hover { color: var(--ink); background: var(--soft); }
:root[data-studio-theme="night"] .shell nav [aria-current] { color: var(--studio-night-focus); box-shadow: inset 0 -3px var(--accent); }
:root[data-studio-theme="night"] .shell #account { color: var(--muted); }
:root[data-studio-theme="night"] .context {
  background: #21172b;
  border-color: var(--line);
  color: var(--muted);
}
:root[data-studio-theme="night"] .studio-theme-toggle {
  background: #35213e;
  border-color: var(--line);
  color: var(--ink);
}
:root[data-studio-theme="night"] .studio-theme-toggle:hover { background: var(--studio-night-hover); }
:root[data-studio-theme="night"] .studio-theme-toggle:active { background: var(--studio-night-active); }
:root[data-studio-theme="night"] .intro .eyebrow { color: var(--studio-night-focus); }
:root[data-studio-theme="night"] .start {
  background: var(--panel);
  border-color: var(--line);
}
:root[data-studio-theme="night"] .start .icon { color: var(--studio-night-focus); }
:root[data-studio-theme="night"] .start.selected {
  background: var(--soft);
  border-color: var(--accent);
}
:root[data-studio-theme="night"] .filters { border-color: var(--line); }
:root[data-studio-theme="night"] :is(.template-card, .project-card) {
  background: var(--panel);
  border-color: var(--line);
}
:root[data-studio-theme="night"] :is(.template-card canvas, .model-grid canvas, .project-card img) {
  background: #21172b;
}
:root[data-studio-theme="night"] .handoff { background: #21172b; }
:root[data-studio-theme="night"] #notice {
  background: #362419;
  border-color: #c49663;
  color: #ffe4c0;
}
:root[data-studio-theme="night"] .editor-top {
  background: #130f1d;
  border-color: var(--line);
}
:root[data-studio-theme="night"] .editor-top #back { color: var(--studio-night-focus); border-color: var(--line); }
:root[data-studio-theme="night"] .editor-top .project-name input { background: transparent; }
:root[data-studio-theme="night"] .editor-mode { color: var(--muted); border-color: var(--line); }
:root[data-studio-theme="night"] :is(.tool-rail, .tools, .properties) {
  background: var(--panel);
  border-color: var(--line);
}
:root[data-studio-theme="night"] .tool-rail { background: #130f1d; }
:root[data-studio-theme="night"] .tool-rail button { background: transparent; }
:root[data-studio-theme="night"] .tool-rail button:hover { background: var(--soft); }
:root[data-studio-theme="night"] .tool-rail button.active {
  background: var(--soft);
  color: var(--studio-night-focus);
}
:root[data-studio-theme="night"] :is(.library-heading, .properties details, .context-toolbar, .canvas-bottom) {
  border-color: var(--line);
}
:root[data-studio-theme="night"] :is(.context-toolbar, .canvas-bottom) { background: var(--panel); }
:root[data-studio-theme="night"] .work-area { background: var(--work); }
:root[data-studio-theme="night"] :is(.layer-row.selected, .segmented [aria-pressed="true"], .canvas-bottom [aria-pressed="true"]) {
  background: var(--soft);
  border-color: var(--accent);
  color: var(--studio-night-focus);
}
:root[data-studio-theme="night"] .layer-thumb { background: #21172b; border-color: var(--line); }
:root[data-studio-theme="night"] .selection-label { color: var(--studio-night-bg); }
:root[data-studio-theme="night"] .canvas-guide { background: var(--accent); }
:root[data-studio-theme="night"] .page-dimensions { border-color: var(--line); }
:root[data-studio-theme="night"] .warning { background: #3b1f2d; color: var(--studio-night-error); }
:root[data-studio-theme="night"] #crop-surface { background: var(--work); }
:root[data-studio-theme="night"] dialog:not(#media-dialog) {
  background: var(--panel);
  border-color: var(--line);
  color: var(--ink);
}
:root[data-studio-theme="night"] dialog:not(#media-dialog)::backdrop { background: #100b1bbd; }
:root[data-studio-theme="night"] .pocket-assistant .pa-status {
  background: var(--panel);
  border-color: var(--line);
  color: var(--ink);
}
:root[data-studio-theme="night"] .pocket-assistant .pa-help {
  background: #21172b;
  border-color: var(--line);
  color: var(--ink);
}
:root[data-studio-theme="night"] .pocket-assistant :is(.pa-caption, .pa-eyebrow, .pa-scene-label) { color: var(--muted); }
:root[data-studio-theme="night"] .pocket-assistant button:not(.pa-primary) {
  background: var(--panel);
  border-color: var(--line);
  color: var(--ink);
}
:root[data-studio-theme="night"] .pocket-assistant button:not(.pa-primary):hover { background: var(--soft); }
:root[data-studio-theme="night"] .pocket-assistant .pa-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--studio-night-bg);
}
:root[data-studio-theme="night"] .pocket-assistant button:focus-visible {
  outline: 3px solid var(--studio-night-focus);
  outline-offset: 3px;
}

/* Media's native dark plum tokens live in studio-media.css. Do not override
   them with the artwork's blue palette. Its composition canvas is untouched. */
:root[data-studio-theme="night"] .media-card {
  background: var(--panel);
  border-color: var(--line);
  color: var(--ink);
}
:root[data-studio-theme="night"] .media-card p { color: var(--muted); }
:root[data-studio-theme="night"] .media-kicker { color: var(--studio-night-focus); }

:root[data-studio-theme="day"] {
  color-scheme: light;
  --ink: #352839;
  --muted: #6c5965;
  --line: #94798a;
  --panel: #fffdf9;
  --work: #f5ede9;
  --accent: #8c2857;
  --soft: #f9e8ef;
  --studio-day-bg: #fffaf5;
  --studio-day-hover: #f8e7ed;
  --studio-day-active: #f1d5e1;
  --studio-day-error: #963249;
}

:root[data-studio-theme="day"] body {
  background: var(--studio-day-bg);
  color: var(--ink);
}
:root[data-studio-theme="day"] a { color: var(--accent); }
:root[data-studio-theme="day"] :is(.hint, small, .intro p, .catalog-title span, .canvas-info, .canvas-bottom, .editor-top #save-state) {
  color: var(--muted);
}
:root[data-studio-theme="day"] :is(button, a.button) {
  background: var(--panel);
  border-color: var(--line);
  color: var(--ink);
}
:root[data-studio-theme="day"] :is(button, a.button):hover {
  background: var(--studio-day-hover);
  border-color: #bd839d;
}
:root[data-studio-theme="day"] :is(button, a.button):active { background: var(--studio-day-active); }
:root[data-studio-theme="day"] :is(button.primary, a.primary) {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
:root[data-studio-theme="day"] :is(button.primary, a.primary):hover {
  background: #762047;
  border-color: #762047;
  color: #fff;
}
:root[data-studio-theme="day"] :is(button.primary, a.primary):active {
  background: #661b3b;
  border-color: #661b3b;
}
:root[data-studio-theme="day"] :is(input, textarea, select) {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
:root[data-studio-theme="day"] :is(button, a, input, textarea, select, canvas, summary):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--studio-day-bg);
}
:root[data-studio-theme="day"] button:disabled { opacity: .55; }

:root[data-studio-theme="day"] .shell {
  background: var(--panel);
  border-color: var(--line);
}
:root[data-studio-theme="day"] .logo { color: var(--studio-theme-plum); }
:root[data-studio-theme="day"] .shell nav :is(a, button) { color: var(--muted); background: transparent; }
:root[data-studio-theme="day"] .shell nav :is(a, button):hover { color: var(--accent); background: var(--soft); }
:root[data-studio-theme="day"] .shell nav [aria-current] { color: var(--accent); box-shadow: inset 0 -3px var(--accent); }
:root[data-studio-theme="day"] .shell #account { color: var(--muted); }
:root[data-studio-theme="day"] .context {
  background: #f8eff0;
  border-color: var(--line);
  color: var(--muted);
}
:root[data-studio-theme="day"] .studio-theme-toggle {
  color: var(--accent);
  background: #fff2f5;
  border-color: var(--line);
}
:root[data-studio-theme="day"] .studio-theme-toggle:hover { background: var(--studio-day-hover); }
:root[data-studio-theme="day"] .studio-theme-toggle:active { background: var(--studio-day-active); }
:root[data-studio-theme="day"] .intro .eyebrow { color: var(--accent); }
:root[data-studio-theme="day"] .start {
  background: var(--panel);
  border-color: var(--line);
}
:root[data-studio-theme="day"] .start .icon { color: var(--accent); }
:root[data-studio-theme="day"] .start.selected {
  background: var(--soft);
  border-color: #bd839d;
}
:root[data-studio-theme="day"] .filters { border-color: var(--line); }
:root[data-studio-theme="day"] :is(.template-card, .project-card) {
  background: var(--panel);
  border-color: var(--line);
}
:root[data-studio-theme="day"] .handoff { background: #faeff1; }
:root[data-studio-theme="day"] #notice {
  background: #fff1df;
  border-color: #d6ab71;
  color: #663d22;
}
:root[data-studio-theme="day"] .editor-top {
  background: var(--panel);
  border-color: var(--line);
}
:root[data-studio-theme="day"] .editor-top #back { color: var(--accent); border-color: var(--line); }
:root[data-studio-theme="day"] .editor-top .project-name input { background: transparent; }
:root[data-studio-theme="day"] .editor-mode { color: var(--muted); border-color: var(--line); }
:root[data-studio-theme="day"] :is(.tool-rail, .tools, .properties) {
  background: var(--panel);
  border-color: var(--line);
}
:root[data-studio-theme="day"] .tool-rail { background: #fbf5f2; }
:root[data-studio-theme="day"] .tool-rail button { background: transparent; }
:root[data-studio-theme="day"] .tool-rail button:hover { background: var(--soft); }
:root[data-studio-theme="day"] .tool-rail button.active {
  background: var(--soft);
  color: var(--accent);
}
:root[data-studio-theme="day"] :is(.library-heading, .properties details, .context-toolbar, .canvas-bottom) {
  border-color: var(--line);
}
:root[data-studio-theme="day"] :is(.context-toolbar, .canvas-bottom) { background: var(--panel); }
:root[data-studio-theme="day"] .work-area { background: var(--work); }
:root[data-studio-theme="day"] :is(.layer-row.selected, .segmented [aria-pressed="true"], .canvas-bottom [aria-pressed="true"]) {
  background: var(--soft);
  border-color: #dcb9c9;
  color: var(--accent);
}
:root[data-studio-theme="day"] .layer-thumb { background: #fff; border-color: var(--line); }
:root[data-studio-theme="day"] .page-dimensions { border-color: var(--line); }
:root[data-studio-theme="day"] .warning { background: #fff1e8; color: var(--studio-day-error); }
:root[data-studio-theme="day"] dialog:not(#media-dialog) {
  background: var(--panel);
  border-color: var(--line);
  color: var(--ink);
}
:root[data-studio-theme="day"] .pocket-assistant .pa-status {
  background: var(--panel);
  border-color: var(--line);
  color: var(--ink);
}
:root[data-studio-theme="day"] .pocket-assistant .pa-help {
  background: #fffcf6;
  border-color: var(--line);
  color: var(--ink);
}
:root[data-studio-theme="day"] .pocket-assistant :is(.pa-caption, .pa-eyebrow) { color: var(--muted); }
:root[data-studio-theme="day"] .pocket-assistant button:not(.pa-primary) {
  background: var(--panel);
  color: var(--ink);
  border-color: var(--line);
}
:root[data-studio-theme="day"] .pocket-assistant button:not(.pa-primary):hover { background: var(--soft); }
:root[data-studio-theme="day"] .pocket-assistant .pa-primary {
  background: var(--studio-theme-plum);
  border-color: var(--studio-theme-plum);
  color: #fff;
}
:root[data-studio-theme="day"] .pocket-assistant button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 750px) {
  .shell .studio-theme-toggle { font-size: 11px; padding: 6px 9px; }
  .editor-top .project-name { grid-column: 2/5; }
  .editor-top .studio-theme-toggle {
    grid-column: 5/7;
    grid-row: 1;
    margin: 0;
    min-width: 0;
    padding: 5px 4px;
    font-size: 10px;
  }
}

:root,[data-theme="light"]{--piece-pending-stroke:var(--pink,var(--accent));--piece-pending-bg:var(--panel,var(--soft));--piece-pending-ink:var(--text,var(--ink))}

/* 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}

.brand-kit{min-width:0}.kit-intro,.kit-note{color:var(--muted,#83758f);font-size:12px;line-height:1.7}.kit-intro{margin-bottom:20px}.kit-form{display:grid;grid-template-columns:minmax(0,1fr);gap:22px}.kit-form section{padding:18px;border:1px solid var(--border,var(--line,#d8cde3));border-radius:12px;min-width:0}.kit-form h3{margin:0 0 16px;font-size:15px}.kit-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.kit-form label{display:flex;flex-direction:column;gap:7px;font-size:12px;min-width:0}.kit-form input,.kit-form select,.kit-form textarea{box-sizing:border-box;width:100%;min-width:0;max-width:100%;font:inherit;padding:10px;border:1px solid var(--border,var(--line,#d8cde3));border-radius:8px;background:var(--panel2,var(--panel,#fff));color:var(--text,var(--ink,#2b2239))}.kit-form input[type=color]{height:43px;padding:3px}.kit-form input[type=file]{font-size:11px}.kit-logos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.kit-logo-card{padding:12px;background:var(--panel2,var(--panel,#fff));border:1px solid var(--border,var(--line,#d8cde3));border-radius:10px;min-width:0}.kit-logo-card h4{font-size:12px;margin:0 0 8px}.kit-logo-card img{display:block;width:100%;height:92px;object-fit:contain;margin-bottom:10px}.kit-logo-card p{font-size:12px;min-height:92px;display:flex;align-items:center;justify-content:center;color:var(--muted,#83758f)}.kit-logo-card button{margin-top:10px;white-space:normal}.kit-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap}.brand-kit .error{color:var(--danger,#ff8a9f)}.kit-duplicate{display:inline-block;background:var(--warning-soft,#4d3d24);color:var(--warning,#e6ba66);font-size:11px;padding:4px 8px;border-radius:6px;margin-top:6px}#brand-dialog.kit-dialog{max-width:900px;width:min(900px,calc(100vw - 28px));max-height:90dvh;overflow:auto;box-sizing:border-box}#brand-kit-client{margin-top:18px}.kit-preview{border:1px solid var(--border,var(--line,#d8cde3));border-radius:8px;padding:10px;font-size:12px;margin:10px 0}.kit-preview p{margin:5px 0}@media(max-width:700px){.kit-logos{grid-template-columns:1fr}.kit-fields{grid-template-columns:minmax(0,1fr)}.kit-form section{padding:14px}.kit-logo-card img{height:100px}.kit-actions>*{flex:1;white-space:normal}#brand-dialog.kit-dialog{padding:18px}}
.kit-logo-card img[hidden]{display:none}.kit-file-choice{display:grid;gap:8px;min-width:0}.kit-file-name{font-size:12px;color:var(--muted);line-height:1.5;overflow-wrap:anywhere}.kit-file-choice button,.kit-logo-card>button{min-height:44px;width:100%;margin:0}.kit-logo-card>button{margin-top:12px}.kit-form input[type=color]{min-height:44px}.kit-logo-card h4{font-size:13px}.kit-form input[hidden]{display:none}
.brand-kit .kit-logo-card>button,.brand-kit .kit-file-choice button{min-height:44px;font-size:12px}.brand-kit .kit-form input:not([type=file]),.brand-kit .kit-form select,.brand-kit .kit-form textarea{font-size:13px;min-height:44px}.brand-kit .kit-form label{font-size:13px}
.kit-logo-card img[data-kit-preview="primary"],.kit-logo-card img[data-kit-preview="icon"]{background:#f3f5fa;border-radius:6px}.kit-logo-card img[data-kit-preview="dark"]{background:#172034;border-radius:6px}

.atelier-heading{display:flex;align-items:center;gap:10px;margin-bottom:16px}.atelier-heading>img{width:44px;height:44px;border-radius:50%}.atelier-heading h3{margin:0}.atelier-heading p{margin:3px 0 0;font-size:12px;color:var(--muted)}.atelier-grid{display:grid;gap:8px}.atelier-card{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--border,var(--line));border-radius:12px;background:var(--panel2,var(--panel));min-width:0}.atelier-card strong{display:block;font-size:13px}.atelier-card small{display:block;font-size:12px;line-height:1.5;color:var(--muted);margin-top:4px}.atelier-mascot{position:relative;display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;flex:0 0 64px}.atelier-mascot img{position:relative;width:64px;height:64px;max-width:none}.atelier-card[data-state="sem-uso"] .atelier-mascot{opacity:.45}.atelier-phrase{font-size:12px;line-height:1.65;color:var(--muted);margin-top:15px}.atelier-chip{display:inline-flex;align-items:center;gap:8px;padding:3px 10px;border:1px solid var(--border,var(--line));border-radius:10px;font-size:12px;max-width:100%;background:var(--panel2,var(--panel));color:var(--text,var(--ink))}.atelier-chip .atelier-mascot,.atelier-chip .atelier-mascot img{width:36px;height:36px;flex-basis:36px}.atelier-chip[data-state="sem-uso"] .atelier-mascot{opacity:.45}.atelier-chip[hidden]{display:none}:root[data-theme="light"] .atelier-card,:root[data-studio-theme="day"] .atelier-card{background:var(--panel3,var(--panel))}.atelier-card.atelier-revisor,:root[data-theme="light"] .atelier-card.atelier-revisor,:root[data-studio-theme="day"] .atelier-card.atelier-revisor{background:#2b2037;color:#fbf6ff}.atelier-revisor small{color:#dacde6}@media(max-width:600px){.atelier-mascot:before{content:"";position:absolute;inset:3px;border-radius:50%;background:color-mix(in srgb,var(--agent-color) 18%,transparent)}.atelier-card{padding:10px}.atelier-chip{width:100%}}

body.editing.studio-v5,body.editing.studio-v5.cms-team-studio{display:block;min-width:0}body.editing.studio-v5 .cms-team-sidebar{display:none}body.editing.studio-v5 #editor{display:flex;flex-direction:column;height:100dvh;min-height:520px}body.editing.studio-v5 #editor[hidden]{display:none}body.editing.studio-v5 #main{padding:0;margin:0;max-width:none}body.editing.studio-v5 .editor-top{height:auto;min-height:76px;flex:0 0 auto;display:flex;flex-wrap:wrap;gap:10px;padding:12px 18px;align-items:center;z-index:12}body.editing.studio-v5 .editor-top #back{border:0;padding:8px 0;white-space:nowrap}.studio-mark{width:30px;height:30px;flex:0 0 30px}.studio-v5 .editor-mode{display:none}.studio-v5 .project-name{flex:1 1 230px;max-width:none;min-width:180px;font-size:10px}.studio-v5 .project-name input{width:100%;font-size:14px;text-overflow:clip}.studio-v5 #studioMetadata{display:block;white-space:normal;font-size:11px;line-height:1.5;color:var(--muted)}.studio-v5 #save-state{max-width:160px;white-space:normal!important}.studio-history-actions,.studio-main-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.studio-history-actions{border-right:1px solid var(--line);padding-right:10px}.studio-v5 .editor-top button,.studio-v5 .editor-top a.button,.studio-v5 .studio-send{font-size:12px;min-height:40px;white-space:normal!important;max-width:100%;overflow-wrap:anywhere}.studio-v5 .editor-top #save{background:#cb2469;border-color:#cb2469;color:#fff;order:3}.studio-v5 .studio-send{order:4;color:var(--ink);text-decoration:none;border:1px solid var(--line);border-radius:8px;padding:10px 12px;line-height:1.4}.studio-v5 [aria-disabled=true]{opacity:.55;cursor:not-allowed}.studio-v5 #piece-pending-button{border:1px solid #bc8734;background:color-mix(in srgb,#d5a544 14%,var(--panel));color:var(--ink)}#studioCamis{display:flex;align-items:center;gap:6px}#studioCamis img{border-radius:50%}.studio-more{position:relative;flex:0 0 auto}.studio-more>summary{list-style:none;cursor:pointer;border:1px solid var(--line);border-radius:8px;padding:8px 14px;font-size:20px}.studio-more>summary::-webkit-details-marker{display:none}.studio-more-actions{position:absolute;right:0;top:calc(100% + 6px);width:270px;max-width:calc(100vw - 32px);display:flex;flex-direction:column;align-items:stretch;gap:5px;padding:12px;background:var(--panel);border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 36px #0003;max-height:75dvh;overflow:auto}.studio-more-actions>*{text-align:left;padding:10px!important;white-space:normal!important}.studio-more-actions>*[hidden]{display:none}.studio-v5 .studio-layout,.studio-v5.library-closed .studio-layout{display:grid!important;grid-template-columns:76px minmax(0,1fr) 290px;position:relative;flex:1;min-height:0;overflow:hidden}.studio-v5.inspector-closed .studio-layout,.studio-v5.library-closed.inspector-closed .studio-layout{grid-template-columns:76px minmax(0,1fr)}.studio-v5 .tool-rail{grid-column:1;grid-row:1;display:flex;flex-direction:column;width:76px;min-width:0;padding:8px 3px;overflow-y:auto;overflow-x:hidden;height:auto}.studio-v5 .tool-rail button{width:100%;min-height:66px;flex:0 0 auto}.studio-v5 .tool-rail span{font-size:11px;white-space:normal;word-break:normal;overflow:visible;line-height:1.3}.studio-v5 .tool-rail [hidden]{display:none!important}.studio-v5 .work-area{grid-column:2;grid-row:1;min-width:0;min-height:0;background:var(--canvas-bg,var(--work));display:flex;flex-direction:column}.studio-v5 .tools{display:flex;position:absolute;z-index:9;left:76px;top:0;bottom:0;width:min(290px,calc(100% - 76px));background:var(--panel);box-shadow:8px 0 24px #0002}.studio-v5.library-closed .tools{display:none}.studio-v5 .properties{display:block;grid-column:3;grid-row:1;min-width:0;width:290px;max-width:310px;padding:12px;overflow:auto}.studio-v5.inspector-closed .properties{display:none}.studio-v5 .studio-panel-tabs{display:flex;gap:3px;border-bottom:1px solid var(--line);margin-bottom:8px}.studio-panel-tabs button{padding:10px 6px;font-size:12px;border:0;border-bottom:2px solid transparent;border-radius:0}.studio-panel-tabs [aria-selected=true]{border-color:var(--accent);color:var(--ink);font-weight:700}.studio-panel-collapse{display:block;margin:0 0 15px auto;font-size:11px}.studio-v5 .property-title h2{white-space:normal;overflow-wrap:anywhere;text-overflow:clip}.studio-v5 .layer-button{min-width:0}.studio-v5 .layer-button span:last-child{white-space:normal;overflow-wrap:anywhere;text-overflow:clip;overflow:visible}.studio-v5 #studioPanel-camadas .layer-list{display:block}.studio-original{border-top:1px solid var(--line);margin-top:20px;padding-top:15px;display:grid;gap:12px;font-size:12px}.studio-kit-colors{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.studio-kit-colors button{width:28px;height:28px;border:1px solid var(--line);border-radius:7px}.studio-kit-offer{position:absolute;right:18px;bottom:62px;z-index:4;width:min(340px,calc(100% - 36px));padding:14px;border:1px solid var(--line);background:var(--panel);border-radius:12px;box-shadow:0 6px 22px #0002;font-size:12px}.studio-kit-offer p{margin:0 0 10px;line-height:1.5}.studio-kit-offer button{margin-right:8px;font-size:12px;min-height:36px}.studio-v5 #canvas-scroll{flex:1;min-width:0;min-height:160px}.studio-v5 .canvas-bottom{display:flex;flex-wrap:wrap;flex:0 0 auto;gap:7px;min-height:46px;padding:8px 12px}.studio-v5 .canvas-bottom .atelier-chip{font-size:11px;width:auto}.studio-v5 .properties .prop-pair{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-v5 #studioPanel-camadas .layer-row{display:flex;flex-wrap:wrap;gap:5px}.studio-v5 #studioPanel-camadas .layer-button{flex:1 1 150px}.studio-v5 .studio-more:not([open])>.studio-more-actions{display:none}.studio-v5 .assistant-dock{right:12px;bottom:100px}
@media(max-width:750px){body.editing.studio-v5 #editor{min-height:560px;height:100dvh}body.editing.studio-v5 .editor-top{padding:8px 10px;gap:8px}.studio-v5 .project-name{flex:1 1 calc(100% - 140px);min-width:140px}.studio-v5 #save-state{font-size:10px;max-width:none;flex:1 1 100px}.studio-main-actions{gap:6px;flex:1 1 100%;order:5}.studio-history-actions{margin-left:auto}.studio-more{order:4}.studio-v5 .editor-top .studio-send{padding:8px;font-size:11px}.studio-v5 .studio-layout,.studio-v5.library-closed .studio-layout,.studio-v5.inspector-closed .studio-layout,.studio-v5.library-closed.inspector-closed .studio-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) 66px}.studio-v5 .work-area{grid-column:1;grid-row:1}.studio-v5 .tool-rail{grid-column:1;grid-row:2;flex-direction:row;width:100%;height:66px;min-height:66px;justify-content:space-around;padding:3px 0;overflow:visible}.studio-v5 .tool-rail button{min-width:0;width:16.66%;flex:0 1 16.66%;min-height:58px;padding:2px;font-size:21px}.studio-v5 .tool-rail span{font-size:10px}.studio-v5 .properties{position:absolute;right:0;top:0;bottom:66px;z-index:10;width:min(310px,100%);max-height:none;background:var(--panel);box-shadow:-8px 0 24px #0002}.studio-v5 .tools{left:0;bottom:66px;width:min(310px,100%)}.studio-v5 .studio-more-actions{position:fixed;top:140px;left:12px;right:12px;width:auto;max-width:none;max-height:calc(100dvh - 160px)}.studio-v5 .studio-kit-offer{bottom:58px;right:8px;width:calc(100% - 16px);padding:10px}.studio-v5 .canvas-bottom{gap:5px;padding:6px;font-size:11px}.studio-v5 .canvas-bottom button{font-size:11px;padding:6px}.studio-v5 .canvas-info{padding:8px 12px}.studio-v5 .context-toolbar{min-height:40px;height:auto;padding:5px 8px;flex-wrap:wrap;overflow:visible}.studio-v5 #canvas-scroll{padding:16px}.studio-v5 .canvas-bottom .atelier-chip{display:inline-flex;width:auto}}

.studio-original-dialog{width:min(980px,calc(100vw - 28px));max-height:90dvh;overflow:auto}.studio-original-dialog .team-compare-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.studio-original-dialog canvas,.studio-original-dialog img{width:100%;height:auto}.studio-original-dialog h3{font-size:14px}@media(max-width:750px){.studio-original-dialog .team-compare-grid{grid-template-columns:1fr}}

.studio-v5 .studio-project-title{display:block;white-space:normal;overflow-wrap:anywhere;font-size:14px;line-height:1.5}.studio-v5 .studio-project-title[hidden],.studio-v5 .studio-title-readonly{display:none!important}@media(max-width:750px){body.editing.studio-v5 .editor-top{display:grid;grid-template-columns:30px 66px minmax(0,1fr) 32px 32px 44px;gap:6px}.studio-v5 .studio-mark{grid-column:1;grid-row:1}.studio-v5 .editor-top #back{grid-column:2;grid-row:1}.studio-v5 .project-name{grid-column:1/-1;grid-row:2;min-width:0;max-width:none;width:100%;font-size:0}.studio-v5 .project-name input{font-size:14px}.studio-v5 .studio-history-actions{display:contents}.studio-v5 #undo{grid-column:4;grid-row:1}.studio-v5 #redo{grid-column:5;grid-row:1}.studio-v5 .studio-more{grid-column:6;grid-row:1}.studio-v5 .studio-main-actions{grid-column:1/-1;grid-row:3}.studio-v5 #save-state{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}.studio-v5 #studioMetadata{line-height:1.4}.studio-v5 .canvas-bottom{padding-bottom:8px}}

body.editing.studio-v5 .pa-open{display:none}
.studio-page-color{min-width:0}.studio-page-color-value{display:flex;align-items:center;gap:12px;min-height:48px}.studio-page-color input[type=color]{width:56px;min-width:56px;height:44px;padding:3px;cursor:pointer}.studio-page-color output{font-size:14px;font-variant-numeric:tabular-nums}.studio-page-color p{font-size:12px;margin:12px 0 8px}.studio-send-group{display:grid;gap:4px;min-width:0;max-width:240px}.studio-send-group .studio-send-reason{font-size:12px;line-height:1.4;max-width:220px;white-space:normal;color:var(--muted,var(--st-muted))}.studio-send-reason[hidden]{display:none}.studio-v5 .studio-send-group a[aria-disabled=true]{opacity:1;color:var(--muted,var(--st-muted));border-style:dashed}.studio-v5 #notice[data-until-edit=true]{position:static;grid-column:1/-1;width:auto;max-width:none;margin:0;padding:12px 16px;font-size:13px;line-height:1.5}@media(max-width:600px){.studio-send-group{max-width:100%;flex:1 1 100%}.studio-send-group .studio-send-reason{max-width:none}.studio-v5 .studio-kit-colors button{min-width:44px;min-height:44px}.studio-page-color-value{flex-wrap:wrap}}
.studio-v5 #editor button{min-width:44px;min-height:44px;font-size:12px}.studio-v5 .studio-project-meta,.studio-v5 #save-state,.studio-v5 .canvas-bottom,.studio-v5 .context-toolbar{font-size:12px}.studio-v5 .canvas-bottom{overflow-x:auto}.studio-v5 .studio-kit-colors{flex-wrap:wrap}.studio-v5 .studio-page-color input[type=color]{width:56px;min-width:56px;min-height:44px}

body.editing.studio-v5 #editor>#notice{position:static;transform:none;inset:auto;flex:0 0 auto;align-self:stretch;width:auto;max-width:none;margin:0;padding:12px 16px;border-radius:0;z-index:auto;font-size:13px;line-height:1.5}body.editing.studio-v5 #editor>#notice:empty{display:none}
@media(max-width:430px){body.editing.studio-v5 .editor-top{grid-template-rows:auto auto auto}}

.catalog-library{min-width:0}.catalog-library-heading em{font-family:Georgia,serif;font-weight:400;background:linear-gradient(110deg,var(--catalog-warm),var(--catalog-rose));background-clip:text;-webkit-background-clip:text;color:transparent}:root{--catalog-warm:#ff9b87;--catalog-rose:#ffa7cd}.catalog-filters{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0}.catalog-filters label{display:grid;gap:6px;flex:1 1 170px;font-size:12px;color:var(--muted)}.catalog-filters input{align-self:end;flex:2 1 220px;min-height:44px}.catalog-filters select{width:100%;min-height:44px;font-size:13px}.catalog-preview-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:14px}.catalog-preview-heading img{width:44px;height:44px;object-fit:contain}.catalog-preview-heading img[hidden]{display:none}.catalog-preview-heading button{margin-left:auto;min-height:44px;border:1px solid var(--border,var(--line));border-radius:8px;padding:8px 12px}.catalog-status,.catalog-note{font-size:12px;color:var(--muted);line-height:1.6;margin:12px 0}.catalog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(215px,1fr));gap:18px;min-width:0}.catalog-card{border:1px solid var(--border,var(--line));background:var(--panel);border-radius:14px;overflow:hidden;min-width:0}.catalog-figure{aspect-ratio:4/5;background:var(--panel3,var(--work));display:flex;align-items:center;justify-content:center;min-width:0}.catalog-figure canvas{display:block;width:100%;height:auto;max-height:100%;object-fit:contain}.catalog-card-copy{padding:14px;display:grid;gap:8px}.catalog-card-copy h3{font-family:inherit;font-size:14px;line-height:1.45;overflow-wrap:anywhere}.catalog-card-copy p,.catalog-card-copy small{font-size:12px;color:var(--muted);line-height:1.5;overflow-wrap:anywhere;margin:0}.catalog-card-copy button{min-height:44px;border:1px solid var(--border,var(--line));border-radius:8px;padding:10px;background:var(--panel2,var(--panel));font-size:12px;white-space:normal}.catalog-card-copy button:disabled{opacity:.5}.catalog-team-models{margin-top:30px;border-top:1px solid var(--border,var(--line));padding-top:22px}.catalog-team-models h2{font-size:19px}.catalog-team-models p{font-size:12px;line-height:1.6;color:var(--muted);max-width:650px}.catalog-chips{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.catalog-chips button{min-height:44px;font-size:13px;padding:8px 14px;border:1px solid var(--line,var(--border));border-radius:22px;background:var(--panel);color:var(--ink,var(--text))}.catalog-chips [aria-pressed=true]{border-color:var(--accent,var(--pink));background:var(--soft,var(--pink-soft))}#gallery.catalog-grid .template-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:14px;background:var(--panel);padding:0;min-width:0;text-align:left;overflow:hidden}#gallery.catalog-grid .template-card>canvas{width:100%;height:auto;aspect-ratio:4/5;object-fit:contain;padding:0}#gallery.catalog-grid .caption{padding:12px;display:grid;gap:6px;min-width:0}#gallery.catalog-grid .caption strong{font-size:14px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}#gallery.catalog-grid .caption small{font-size:12px;line-height:1.5;white-space:normal;color:var(--muted)}.catalog-client-brand{font-size:13px;color:var(--muted);margin-top:12px}.catalog-client-brand img{width:36px;height:36px;vertical-align:middle;object-fit:contain;margin-right:8px}.catalog-client-brand img[hidden]{display:none}#choice.catalog-choice{width:min(720px,calc(100vw - 28px));max-height:90dvh;overflow:auto}.catalog-choice-preview{width:min(240px,100%);margin:16px auto}.catalog-choice-preview canvas{width:100%;height:auto;display:block}.catalog-choice-controls{display:grid;gap:12px}.catalog-choice-controls select{min-height:44px}.catalog-choice-note{font-size:12px;color:var(--muted);line-height:1.5}
@media(max-width:600px){.catalog-filters{gap:10px}.catalog-filters label,.catalog-filters input{flex-basis:100%;min-width:0}.catalog-grid,#gallery.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.catalog-card-copy{padding:10px;gap:7px}.catalog-card-copy h3,#gallery.catalog-grid .caption strong{font-size:13px}.catalog-card-copy p,.catalog-card-copy small,#gallery.catalog-grid .caption small{font-size:12px}.catalog-preview-heading strong{flex:1 1 180px}.catalog-preview-heading button{margin-left:0}.catalog-library-heading h1{font-size:25px}.catalog-chips{gap:6px}.catalog-chips button{font-size:12px;padding:8px 12px}#gallery.catalog-grid .caption{padding:10px}}

body.catalog-client-page:not(.editing) #floating-assistant{position:static!important;right:auto;bottom:auto;width:auto;margin:12px 0}body.catalog-client-page:not(.editing) #floating-assistant .pocket-assistant{margin-left:auto}body.catalog-client-page:not(.editing) #floating-assistant .pa-open{min-width:44px;min-height:44px}
.catalog-team-heading{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap}.catalog-team-heading h2{flex:1;margin:0}.catalog-team-help{max-width:650px}.catalog-team-help summary{display:flex;align-items:center;justify-content:center;width:44px;height:44px;cursor:pointer;border:1px solid var(--border,var(--line));border-radius:10px;font-size:16px;list-style:none}.catalog-team-help[open]{flex:1 1 100%;padding:0 0 8px}.catalog-team-models{padding-bottom:24px}.catalog-team-models p{font-size:12px}.catalog-team-models .catalog-card-copy p{color:var(--muted)}

@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url("/assets/team-fonts/Inter-latin.woff2?v=3cc523f2d24980de0a8eadd2cda3c4b6d04a37605c83b0d5884e3de9ea8940e2") format("woff2")}
:root{--bg:#100c18;--side:#120c18;--panel:#1a1325;--panel2:#22192e;--panel3:#2b2037;--text:#f5f1fa;--muted:#aca0bd;--subtle:#a090b0;--border:#34283f;--pink:#f13b86;--pink-soft:#432137;--lav:#c2abf5;--input:#15101f;--green:#83d8b9;--shadow:0 16px 52px #0003;--canvas-bg:#241c2e;--radius:16px;--color-blue:#9cbaff;--danger:#ffa2aa;--hero:linear-gradient(118deg,#332035 0%,#28182f 60%,#332132 100%);--amber:#ffc98a;--button-main:#d6266f;--on-main:#fff}
:root[data-theme=light]{--bg:#f7f5f9;--side:#fff;--panel:#fff;--panel2:#f4f0f7;--panel3:#ebe4f1;--text:#261e31;--muted:#71617e;--subtle:#796784;--border:#e6deed;--pink:#bb215f;--pink-soft:#f9e4ee;--lav:#7149a9;--input:#fcfbfd;--green:#257b5e;--shadow:0 16px 50px #29113e0a;--canvas-bg:#e9e4ee;--color-blue:#466ba6;--danger:#b92b3c;--hero:linear-gradient(115deg,#ffedf0,#f5eefd 60%,#faedf5);--amber:#855005;--button-main:#d6266f;--on-main:#fff}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,"Segoe UI",Arial,sans-serif;background:var(--bg);color:var(--text);font-size:14px;line-height:1.45}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}button{border:0;background:none}a{color:var(--lav)}svg{display:block}.icon{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--pink);outline-offset:4px}input:focus,select:focus,textarea:focus{outline:2px solid var(--lav);outline-offset:2px;border-color:transparent}[hidden]{display:none!important}.skip{position:fixed;top:-80px;left:12px;z-index:100;background:var(--panel);padding:12px}.skip:focus{top:8px}h1,h2,h3,p{margin:0}h1{font-size:29px;line-height:1.2;letter-spacing:-1px;font-weight:650}h2{font-size:20px;letter-spacing:-.45px}h3{font-size:15px}small{font-size:12px}.muted{color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:700;color:var(--pink);text-transform:uppercase}.app{min-height:100vh;display:grid;grid-template-columns:230px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;background:var(--side);border-right:1px solid var(--border);padding:28px 17px 16px;display:flex;flex-direction:column;z-index:21}.brand{display:flex;align-items:center;text-align:left;gap:10px;padding:0 8px}.brand img{width:42px;height:45px;object-fit:cover;border-radius:10px}.brand strong{font-size:26px;letter-spacing:-.8px;line-height:1}.brand-dot{color:#fa7284}.brand small{display:block;font-size:6.5px;letter-spacing:1.15px;margin-top:6px;color:var(--muted);white-space:nowrap}.space-switch{margin:31px 1px 28px;display:flex;gap:10px;align-items:center;background:var(--panel2);border:1px solid var(--border);border-radius:11px;padding:12px}.space-symbol{color:#fa688e;font-size:22px}.space-switch strong{font-size:12px}.space-switch small{display:block;color:var(--muted);font-size:10px;margin-top:2px}.nav-caption{font-size:9px;font-weight:650;letter-spacing:1.8px;color:var(--subtle);padding:0 12px 9px}.nav-btn{display:flex;align-items:center;gap:11px;width:100%;padding:12px 13px;margin:4px 0;border-radius:10px;color:var(--muted);font-weight:500;text-align:left;position:relative}.nav-btn:hover{background:var(--panel2);color:var(--text)}.nav-btn.active{background:var(--pink-soft);color:var(--text)}.nav-btn.active:before{content:"";width:3px;position:absolute;left:0;top:13px;bottom:13px;background:var(--pink);border-radius:3px}.nav-btn.active .icon{color:var(--pink)}.nav-count{margin-left:auto;font-size:10px;background:var(--panel3);padding:1px 6px;border-radius:5px;color:var(--muted)}.sidebar-bottom{margin-top:auto}.side-tip{display:flex;align-items:center;gap:9px;width:100%;text-align:left;padding:12px 8px;border-radius:13px;background:var(--hero);margin-bottom:20px}.side-tip img{width:37px;height:37px;object-fit:cover;border-radius:50%}.side-tip strong{font-size:11px}.side-tip small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.local-note{display:flex;gap:7px;align-items:center;color:var(--subtle);font-size:10px;padding:0 10px 17px}.live-dot{height:5px;width:5px;display:inline-block;border-radius:50%;background:var(--green);flex-shrink:0}.profile{border-top:1px solid var(--border);display:flex;align-items:center;width:100%;text-align:left;padding:15px 2px 0;gap:9px}.user-avatar,.tiny-avatar{width:32px;height:32px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:650;background:#b190bb;color:#27192e;flex-shrink:0}.profile strong{font-size:11px}.profile small{display:block;font-size:8.5px;color:var(--muted);margin-top:3px}.profile>span:last-child{margin-left:auto;color:var(--muted)}.workspace{min-width:0}.topbar{height:72px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 30px;gap:15px;background:var(--bg)}.breadcrumb{color:var(--muted);font-size:12px;display:flex;align-items:center;gap:11px}.breadcrumb span:last-child{color:var(--text)}.breadcrumb .crumb-sep{color:var(--subtle);font-size:15px}.top-actions{display:flex;align-items:center;gap:12px}.save-indicator{color:var(--subtle);font-size:10px;display:flex;gap:6px;align-items:center;margin-right:6px}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:33px;height:33px;border:1px solid var(--border);border-radius:9px;background:var(--panel);flex-shrink:0}.icon-btn:hover{background:var(--panel3)}.icon-btn .icon{width:16px;height:16px}.mobile-menu{display:none}#main{padding:30px;outline:0;max-width:1850px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px}.page-heading p{color:var(--muted);font-size:13px;margin-top:7px}.page-heading .eyebrow{margin-bottom:7px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--border);background:var(--panel);padding:10px 15px;min-height:39px;border-radius:9px;font-size:12px;font-weight:550;white-space:nowrap;transition:background .15s,transform .15s}.btn:hover{background:var(--panel3)}.btn.primary{background:#cb2469;border-color:#cb2469;color:white;box-shadow:0 4px 13px #ed3e8320}.btn.primary:hover{filter:brightness(1.07)}.btn.soft{background:var(--pink-soft);color:var(--pink);border-color:transparent}.btn.ghost{background:transparent;border-color:transparent}.btn.small{padding:6px 10px;min-height:30px;font-size:11px}.btn .icon{width:16px;height:16px}.btn.danger{color:var(--danger)}.actions{display:flex;gap:9px;align-items:center}.hero{background:var(--hero);border:1px solid var(--border);border-radius:16px;display:flex;align-items:center;justify-content:space-between;padding:20px 25px;margin-bottom:25px;position:relative;overflow:hidden}.hero h2{font-size:19px}.hero p{color:var(--muted);max-width:550px;font-size:12px;margin-top:6px}.hero-copy{position:relative;z-index:2}.hero-aside{display:flex;gap:20px;align-items:center;position:relative;z-index:2}.hero .spark{color:var(--pink);font-size:36px;opacity:.6;margin:0 10px}.hero-steps{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:10px;margin-top:14px}.step-dot{height:5px;width:5px;background:var(--pink);border-radius:50%}.hero-steps b{font-weight:500;color:var(--text)}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px}.filters{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.input-wrap{position:relative;min-width:190px}.input-wrap>.icon{position:absolute;left:11px;top:11px;width:15px;height:15px;color:var(--subtle)}input,select,textarea{color:var(--text);background:var(--input);border:1px solid var(--border);border-radius:8px;padding:10px 12px;min-width:0}input::placeholder,textarea::placeholder{color:var(--subtle)}.input-wrap input{padding-left:34px;width:100%;font-size:12px}.filters select{font-size:11px;max-width:175px;height:38px}.segmented{display:inline-flex;border:1px solid var(--border);border-radius:9px;background:var(--input);padding:3px;gap:3px}.segmented button{display:flex;gap:6px;align-items:center;padding:6px 11px;border-radius:6px;font-size:11px;color:var(--muted)}.segmented button.active{color:var(--text);background:var(--panel3)}.segmented .icon{width:15px;height:15px}.stats-line{display:flex;align-items:center;gap:18px;font-size:11px;color:var(--muted);margin-bottom:22px}.stats-line strong{color:var(--text);font-size:14px;margin-right:4px}.stats-line .divider{height:13px;width:1px;background:var(--border)}.stats-line .right{margin-left:auto}.link-btn{color:var(--muted);font-size:11px;display:inline-flex;align-items:center;gap:6px}.link-btn:hover{color:var(--pink)}.kanban{display:grid;grid-template-columns:repeat(5,minmax(185px,1fr));gap:13px;overflow-x:auto;min-height:520px;padding:0 0 16px}.column{background:color-mix(in srgb,var(--panel) 55%,transparent);border:1px solid var(--border);border-radius:12px;padding:11px;min-height:475px}.column.drag-over{border-color:var(--pink);background:var(--pink-soft)}.column-head{display:flex;align-items:center;gap:7px;padding:4px 0 15px;font-size:11px;font-weight:600}.status-dot{width:7px;height:7px;border-radius:50%;background:var(--col,#be9dea)}.column-head .count{color:var(--muted);font-size:10px;background:var(--panel3);padding:1px 6px;border-radius:5px}.column-head .icon-btn{margin-left:auto;width:22px;height:22px;border:0;background:none}.ticket-card{position:relative;background:var(--panel2);border:1px solid var(--border);border-radius:10px;margin-bottom:10px;padding:12px;cursor:pointer;transition:border-color .15s,transform .15s;box-shadow:0 3px 8px #00000008}.ticket-card:hover{border-color:var(--lav);transform:translateY(-2px)}.ticket-card[draggable=true]{cursor:grab}.ticket-thumb{width:100%;aspect-ratio:1.6;overflow:hidden;background:var(--panel3);border-radius:7px;margin-bottom:12px}.ticket-thumb svg{width:100%;height:100%;object-fit:cover}.ticket-top{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-bottom:8px}.tag{border-radius:5px;padding:3px 6px;font-size:9px;line-height:1.2;display:inline-flex;align-items:center;gap:4px;background:var(--panel3);color:var(--muted)}.tag.pink{background:var(--pink-soft);color:var(--pink)}.tag.purple{background:color-mix(in srgb,var(--lav) 14%,transparent);color:var(--lav)}.tag.green{background:color-mix(in srgb,var(--green) 13%,transparent);color:var(--green)}.tag.amber{background:#c5944a1b;color:#c79752}:root[data-theme=light] .tag.amber{color:#926013}.ticket-id{font-size:9px;color:var(--subtle)}.ticket-card h3{font-size:12px;font-weight:600;line-height:1.45;margin-bottom:7px}.card-client{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:6px}.mini-dot{width:6px;height:6px;border-radius:2px;display:inline-block;background:var(--lav)}.card-line{height:1px;background:var(--border);margin:12px 0 9px}.card-bottom{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:9px;gap:5px}.card-bottom .icon{width:12px;height:12px}.due{display:flex;gap:5px;align-items:center}.assignee{width:22px;height:22px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:8px;background:#9b7ab1;color:#fff}.col-add{display:flex;align-items:center;gap:6px;width:100%;padding:6px;color:var(--subtle);font-size:10px}.col-add:hover{color:var(--pink)}.empty{padding:45px 18px;text-align:center;border:1px dashed var(--border);border-radius:12px;color:var(--muted)}.empty .icon{margin:0 auto 14px;width:26px;height:26px;color:var(--lav)}.empty h3{color:var(--text);margin-bottom:6px}.empty p{font-size:12px}.empty .btn{margin-top:15px}.table-wrap{border:1px solid var(--border);border-radius:13px;overflow:auto;background:var(--panel)}table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}th{font-size:10px;color:var(--muted);font-weight:550;white-space:nowrap;background:var(--panel2)}td,th{padding:14px 17px;border-bottom:1px solid var(--border)}tr:last-child td{border-bottom:0}tbody tr:hover{background:var(--panel2)}td .sub{display:block;font-size:10px;color:var(--muted);margin-top:3px}td .title-button{font-weight:550;text-align:left;padding:0}td .title-button:hover{color:var(--pink)}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:20px 0 15px}.section-heading h2{font-size:17px}.client-layout{display:grid;grid-template-columns:265px minmax(0,1fr);gap:20px}.client-list{display:flex;flex-direction:column;gap:8px}.client-row{border:1px solid var(--border);border-radius:11px;text-align:left;display:flex;align-items:center;gap:11px;padding:14px;background:var(--panel);width:100%}.client-row.active{border-color:var(--pink);background:var(--pink-soft)}.client-logo{height:39px;width:39px;border-radius:11px;display:inline-flex;justify-content:center;align-items:center;font-size:13px;font-weight:700;color:white;background:var(--client-color,#8f64c3);flex-shrink:0}.client-row strong{font-size:12px}.client-row small{display:block;margin-top:3px;color:var(--muted);font-size:10px}.client-row>.icon{width:14px;height:14px;color:var(--subtle);margin-left:auto}.profile-panel{background:var(--panel);border:1px solid var(--border);border-radius:15px;overflow:hidden}.client-banner{padding:23px 24px 19px;display:flex;gap:13px;align-items:center}.client-banner .client-logo{width:52px;height:52px;border-radius:13px;font-size:19px}.client-banner h2{font-size:21px}.client-banner p{font-size:11px;color:var(--muted);margin-top:4px}.client-banner .actions{margin-left:auto}.tabs{display:flex;gap:23px;border-bottom:1px solid var(--border);padding:0 24px;overflow:auto}.tabs button{white-space:nowrap;color:var(--muted);padding:13px 0;position:relative;font-size:11px}.tabs button.active{color:var(--text)}.tabs button.active:after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--pink)}.tab-content{padding:25px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.detail-item small{display:block;color:var(--muted);font-size:10px;margin-bottom:6px}.detail-item p{font-size:13px}.client-summary{margin-top:25px;padding:17px;background:var(--panel2);border-radius:11px;display:flex;align-items:center;justify-content:space-between;gap:12px}.client-summary h3{font-size:12px}.client-summary p{font-size:11px;color:var(--muted);margin-top:4px}.info-note{border:1px solid var(--border);background:var(--panel2);border-radius:10px;padding:13px;color:var(--muted);font-size:11px;line-height:1.6}.inline-notice{display:flex;gap:8px;color:var(--muted);font-size:10px;align-items:center}.inline-notice .icon{width:14px;height:14px}.brand-swatches{display:flex;align-items:center;gap:7px}.swatch{width:26px;height:26px;border-radius:8px;border:1px solid #ffffff20}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field.full{grid-column:1/-1}.field label,.field-label{font-size:11px;color:var(--muted)}.field input,.field textarea,.field select{width:100%;font-size:12px}.field textarea{resize:vertical;min-height:83px}.field-help{display:inline-flex;vertical-align:middle;margin-left:4px;color:var(--lav);padding:0}.field-help .icon{width:13px;height:13px}.form-actions{display:flex;gap:8px;justify-content:flex-end;padding-top:21px}.subnav{margin-bottom:22px}.subnav .tabs{padding:0;gap:26px}.chip-row{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:20px}.chip{border:1px solid var(--border);padding:6px 11px;border-radius:20px;color:var(--muted);font-size:11px;background:var(--panel)}.chip.active{color:var(--pink);background:var(--pink-soft);border-color:var(--pink)}.grid-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:17px}.design-card{border:1px solid var(--border);border-radius:12px;overflow:hidden;background:var(--panel);transition:border-color .15s;min-width:0}.design-card:hover{border-color:var(--lav)}.design-cover{aspect-ratio:1.3;background:var(--panel2);padding:18px;position:relative;cursor:pointer;width:100%;display:block}.design-cover svg{width:100%;height:100%;filter:drop-shadow(0 8px 10px #0002)}.design-cover .hover-action{position:absolute;left:50%;top:50%;transform:translate(-50%,-30%);background:var(--panel);border:1px solid var(--border);border-radius:8px;padding:8px 12px;opacity:0;transition:.15s;white-space:nowrap;font-size:11px}.design-cover:hover .hover-action,.design-cover:focus .hover-action{opacity:1;transform:translate(-50%,-50%)}.design-meta{padding:13px 15px}.design-meta strong{font-size:12px;display:block}.design-meta small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.design-meta .meta-row{display:flex;justify-content:space-between;align-items:center;margin-top:12px}.design-meta .icon-btn{width:25px;height:25px}.gallery-file{aspect-ratio:1.4;display:flex;align-items:center;justify-content:center;background:var(--panel2);padding:15px}.gallery-file img{max-width:100%;max-height:150px;object-fit:contain}.gallery-file .icon{width:40px;height:40px;color:var(--lav)}dialog{color:var(--text);background:var(--panel);border:1px solid var(--border);border-radius:19px;padding:0;width:min(920px,calc(100vw - 32px));max-height:calc(100dvh - 42px);box-shadow:0 35px 120px #0009;overflow:auto}dialog::backdrop{background:#090614b3;backdrop-filter:blur(5px)}dialog.small-dialog{width:min(540px,calc(100vw - 28px))}dialog.mid-dialog{width:min(720px,calc(100vw - 28px))}.dialog-head{padding:21px 24px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.dialog-head h2{font-size:22px;margin-top:7px}.dialog-head p{color:var(--muted);font-size:11px;margin-top:6px}.dialog-body{padding:24px}.dialog-foot{border-top:1px solid var(--border);padding:17px 24px;display:flex;gap:9px;justify-content:space-between;align-items:center;background:var(--panel)}.dialog-foot .right{display:flex;gap:8px}.detail-split{display:grid;grid-template-columns:minmax(0,1fr) 280px}.ticket-detail-main{padding:23px;border-right:1px solid var(--border)}.ticket-detail-side{padding:22px;background:var(--panel2);display:flex;flex-direction:column;gap:17px}.ticket-detail-side .field select{background:var(--panel)}.brief-copy{font-size:13px;line-height:1.8;white-space:pre-wrap}.brief-title{font-size:10px;color:var(--muted);margin:0 0 7px}.ticket-art{margin:18px 0 14px;padding:20px;background:var(--panel2);border:1px solid var(--border);border-radius:12px;display:flex;justify-content:center}.ticket-art svg{max-height:235px;max-width:100%;filter:drop-shadow(0 6px 12px #0003)}.timeline{display:flex;flex-direction:column;gap:15px}.timeline-item{position:relative;padding-left:18px;font-size:11px}.timeline-item:before{content:"";position:absolute;left:0;top:5px;width:6px;height:6px;border-radius:50%;background:var(--lav)}.timeline-item small{display:block;color:var(--muted);font-size:9px;margin-top:4px}.comment-compose{margin-top:20px;display:flex;gap:8px}.comment-compose input{flex:1;font-size:11px}.help-title{display:flex;align-items:center;gap:13px;margin-bottom:16px}.help-title img{width:59px;height:59px;border-radius:17px}.help-title small{color:var(--pink);font-size:10px}.help-title h2{font-size:21px;margin-top:4px}.help-copy{font-size:13px;line-height:1.8;color:var(--muted)}.help-example{padding:15px 16px;border-left:2px solid var(--pink);background:var(--panel2);border-radius:0 10px 10px 0;font-size:13px;line-height:1.7;margin:17px 0}.help-example strong{display:block;font-size:10px;color:var(--pink);margin-bottom:7px}.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,20px);background:var(--text);color:var(--bg);border-radius:12px;padding:13px 21px;box-shadow:var(--shadow);font-size:12px;z-index:120;max-width:calc(100vw - 32px);opacity:0;pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}.camis-busy{position:fixed;right:22px;bottom:22px;display:flex;gap:13px;align-items:center;padding:10px 18px 10px 9px;border:1px solid var(--border);background:var(--panel);border-radius:16px;z-index:130;box-shadow:var(--shadow)}.camis-busy strong{font-size:12px}.camis-busy small{display:block;margin-top:4px;color:var(--muted);font-size:10px}.painting{width:104px;border-radius:10px;overflow:hidden}.painting .paint-arm{transform-origin:166px 181px;animation:brush 1.7s ease-in-out infinite}.painting .paint-line{stroke-dasharray:100;stroke-dashoffset:100;animation:ink 1.7s ease-in-out infinite}.painting-demo{display:flex;justify-content:center;margin:18px 0}.painting-demo .painting{width:200px}.motion-paused .paint-arm,.motion-paused .paint-line{animation-play-state:paused}@keyframes brush{0%,100%{transform:rotate(-12deg)}50%{transform:rotate(12deg)}}@keyframes ink{0%{stroke-dashoffset:100}50%,100%{stroke-dashoffset:0}}
/* Studio: same tools for the team, not a separate simplified editor. */
#main.editor-main{padding:0;max-width:none}.editor-top{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);padding:14px 21px;gap:12px;background:var(--panel)}.editor-heading{display:flex;align-items:center;gap:13px;min-width:0}.editor-heading h2{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:370px}.editor-heading small{color:var(--muted);font-size:10px}.editor-title-stack{min-width:0}.back-link{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:11px;white-space:nowrap;padding-right:13px;border-right:1px solid var(--border)}.editor-strip{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 22px;font-size:10px;background:var(--bg);border-bottom:1px solid var(--border)}.editor-grid{display:grid;grid-template-columns:206px minmax(250px,1fr) 216px;min-height:calc(100vh - 181px)}.editor-left,.editor-right{background:var(--panel);padding:16px;border-right:1px solid var(--border);min-width:0}.editor-right{border-right:0;border-left:1px solid var(--border)}.editor-left h3,.editor-right h3{font-size:11px;margin-bottom:12px}.editor-tools{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:20px}.tool-btn{display:flex;align-items:center;flex-direction:column;gap:5px;padding:9px 3px;border:1px solid var(--border);background:var(--panel2);border-radius:8px;font-size:9px;color:var(--muted)}.tool-btn:hover{color:var(--pink);border-color:var(--pink)}.tool-btn .icon{width:17px;height:17px}.layer-list{display:flex;flex-direction:column;gap:3px}.layer-row{display:flex;align-items:center;gap:6px;padding:9px 6px;border:1px solid transparent;border-radius:7px;font-size:10px;color:var(--muted);cursor:pointer}.layer-row.active{background:var(--pink-soft);color:var(--text);border-color:color-mix(in srgb,var(--pink) 40%,transparent)}.layer-row>.icon{width:13px;height:13px}.layer-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.layer-action{font-size:11px;width:22px;height:22px;display:flex;align-items:center;justify-content:center}.layer-action .icon{width:13px;height:13px}.layer-divider{border-top:1px solid var(--border);margin-top:18px;padding-top:16px}.version-btn{display:flex;align-items:center;gap:8px;padding:10px;background:var(--panel2);width:100%;text-align:left;margin-bottom:7px;border-radius:7px;font-size:10px}.version-btn.active{outline:1px solid var(--pink)}.version-btn small{color:var(--muted);display:block;font-size:9px;margin-top:2px}.editor-workarea{background:var(--canvas-bg);display:flex;flex-direction:column;min-width:0;overflow:hidden}.canvas-toolbar{display:flex;align-items:center;justify-content:center;gap:6px;padding:11px;border-bottom:1px solid var(--border);background:var(--panel2);flex-wrap:wrap}.canvas-toolbar .icon-btn{height:28px;width:28px;border-color:transparent}.canvas-toolbar .tool-sep{height:17px;width:1px;background:var(--border);margin:0 5px}.canvas-host{flex:1;display:flex;align-items:center;justify-content:center;padding:32px;min-height:400px;position:relative;background-image:radial-gradient(var(--border) .7px,transparent .7px);background-size:16px 16px}.canvas-wrap{width:min(100%,550px);aspect-ratio:1;box-shadow:0 10px 34px #0002;position:relative;flex-shrink:0}.canvas-wrap>svg{width:100%;height:100%;touch-action:none;overflow:hidden}.canvas-wrap [data-layer]{cursor:move}.canvas-wrap .selection-box{pointer-events:none;stroke:#c066b8;fill:none;stroke-width:1.4;stroke-dasharray:5 3}.canvas-wrap .handle{fill:#fff;stroke:#b24b9b;stroke-width:2;cursor:nwse-resize}.canvas-bottom{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;border-top:1px solid var(--border);font-size:10px;color:var(--muted);background:var(--panel2)}.prop-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}.prop-grid .field{gap:4px}.prop-grid .field label{font-size:9px}.prop-grid input,.prop-grid select{padding:8px;font-size:11px;width:100%}.prop-grid textarea{min-height:75px;font-size:12px}.prop-grid input[type=color]{padding:3px;height:34px;cursor:pointer}.prop-grid input[type=range]{padding:0}.prop-subtitle{font-size:9px;color:var(--subtle);letter-spacing:1px;margin:19px 0 12px;text-transform:uppercase}.editor-right .btn{width:100%;margin-top:8px}.editor-hint{font-size:10px;color:var(--muted);line-height:1.6;margin-top:15px}.compare-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.compare-grid .art-box{padding:14px;background:var(--panel2);border:1px solid var(--border);border-radius:10px}.compare-grid svg{width:100%;height:auto}.compare-grid h3{margin-bottom:8px;font-size:12px}.compare-grid small{color:var(--muted);font-size:10px}.full-width{width:100%}.motion-toggle{display:flex;align-items:center;gap:8px;margin-top:18px;color:var(--muted);font-size:12px}.divider-line{height:1px;background:var(--border);margin:20px 0}.note-list p{font-size:12px;color:var(--muted);margin-bottom:12px;line-height:1.7}.hint-box{display:flex;align-items:center;gap:10px;padding:12px;background:var(--pink-soft);border-radius:10px;color:var(--text);font-size:11px}.hint-box img{width:37px;border-radius:50%}
@media(min-width:1650px){.kanban{gap:18px}.ticket-card{padding:15px}.ticket-card h3{font-size:13px}.ticket-thumb{aspect-ratio:1.8}}
@media(max-width:1200px){.app{grid-template-columns:205px minmax(0,1fr)}.sidebar{padding:24px 12px 14px}#main{padding:23px}.topbar{padding:0 23px}.hero-aside .spark{display:none}.hero{padding:19px}.kanban{grid-template-columns:repeat(5,205px)}.editor-grid{grid-template-columns:175px minmax(220px,1fr) 190px}.editor-left,.editor-right{padding:12px}.canvas-host{padding:24px}.editor-top{flex-wrap:wrap}.editor-heading h2{max-width:290px}.client-layout{grid-template-columns:225px minmax(0,1fr)}.client-banner{padding:20px 18px}.tabs{gap:18px;padding:0 18px}.tab-content{padding:20px}.save-indicator{display:none}}
@media(max-width:900px){.app{grid-template-columns:76px minmax(0,1fr)}.sidebar{padding:23px 9px 13px}.brand{padding:0 5px}.brand>span,.space-switch,.nav-caption,.nav-label,.nav-count,.side-tip,.local-note,.profile>span:not(:first-child){display:none}.nav-btn{justify-content:center;padding:15px 10px}.nav-btn .icon{width:23px;height:23px}.nav-btn.active:before{top:12px;bottom:12px}.brand{margin-bottom:33px}.profile{justify-content:center}.editor-grid{grid-template-columns:146px minmax(250px,1fr)}.editor-right{grid-column:1/-1;border-top:1px solid var(--border);border-left:0;display:block}.editor-right .prop-grid{grid-template-columns:repeat(4,1fr)}.editor-right .prop-grid .full{grid-column:span 2}.editor-workarea{min-height:520px}.editor-right>.btn{width:auto;margin-right:8px}.editor-grid{min-height:0}.hero-steps{display:none}.hero-aside{gap:4px}.client-layout{grid-template-columns:1fr}.client-list{flex-direction:row;overflow:auto;padding:2px 2px 9px}.client-row{min-width:215px;max-width:215px}.client-banner{flex-wrap:wrap}.breadcrumb{font-size:11px}.toolbar{align-items:flex-start}.filters{gap:7px}.filters select{max-width:150px}.input-wrap{min-width:170px}.detail-split{grid-template-columns:minmax(0,1fr) 240px}}
@media(max-width:600px){.app{display:block}.sidebar{display:none;position:fixed;width:230px;height:100dvh;top:0;left:0;padding:25px 15px;box-shadow:0 0 0 100vmax #0008}.sidebar.open{display:flex}.sidebar.open .brand>span,.sidebar.open .nav-label,.sidebar.open .nav-count,.sidebar.open .local-note,.sidebar.open .space-switch,.sidebar.open .side-tip,.sidebar.open .profile>span{display:initial}.sidebar.open .space-switch,.sidebar.open .side-tip{display:flex}.sidebar.open .nav-btn{justify-content:flex-start}.sidebar.open .brand{margin-bottom:0}.sidebar.open .profile{justify-content:flex-start}.mobile-menu{display:inline-flex}.topbar{height:61px;padding:0 16px;gap:8px}.breadcrumb .workspace-crumb,.breadcrumb .first-sep{display:none}.top-actions{gap:7px}.tiny-avatar{display:none}#main{padding:21px 16px}.page-heading{align-items:flex-start;margin-bottom:18px}.page-heading h1{font-size:25px}.page-heading p{font-size:11px;max-width:235px}.page-heading .btn{padding:8px 10px;font-size:10px}.page-heading .btn .icon{display:none}.hero{padding:16px;margin-bottom:20px}.hero h2{font-size:16px}.hero p{font-size:11px}.hero-aside{display:none}.stats-line{gap:10px;font-size:9px;flex-wrap:wrap}.stats-line strong{font-size:12px}.stats-line .right{width:100%;margin-left:0}.toolbar{flex-direction:column}.filters{width:100%}.input-wrap{width:100%}.filters select{flex:1;max-width:none}.segmented{align-self:flex-end}.kanban{grid-template-columns:repeat(5,238px);min-height:430px}.column{min-height:400px}.ticket-card h3{font-size:13px}.ticket-thumb{aspect-ratio:1.7}.detail-grid{gap:19px 10px}.client-banner .actions{margin-left:0;width:100%;margin-top:5px}.client-banner h2{font-size:18px}.tabs{gap:20px;padding:0 18px}.tab-content{padding:18px}.client-summary{align-items:flex-start;flex-direction:column}.grid-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.design-cover{padding:10px}.design-meta{padding:10px}.design-meta strong{font-size:11px}.design-meta small{font-size:9px}.design-meta .btn{font-size:9px;padding:5px}.detail-split{grid-template-columns:1fr}.ticket-detail-main{border-right:0}.ticket-detail-side{border-top:1px solid var(--border)}.dialog-head,.dialog-body{padding:19px}.dialog-head h2{font-size:19px}.dialog-foot{flex-wrap:wrap;padding:15px 19px}.dialog-foot .right{margin-left:auto}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.editor-top{padding:13px}.editor-top .actions{gap:5px;width:100%;justify-content:flex-end}.editor-heading h2{max-width:215px}.editor-strip{padding:9px 13px;align-items:flex-start}.editor-strip .inline-notice{display:none}.editor-grid{display:flex;flex-direction:column}.editor-left{order:2;border-top:1px solid var(--border);border-right:0}.editor-left .layer-list{max-height:200px;overflow:auto}.editor-tools{display:flex;flex-wrap:wrap;margin-bottom:14px}.tool-btn{min-width:47px;padding:9px}.editor-workarea{order:1;min-height:410px}.editor-right{order:3}.editor-right .prop-grid{grid-template-columns:1fr 1fr}.canvas-host{padding:22px;min-height:310px}.canvas-wrap{max-width:370px}.canvas-bottom{font-size:9px}.compare-grid{grid-template-columns:1fr}.camis-busy{right:12px;bottom:12px}.editor-heading{gap:8px}.back-link{font-size:10px}.editor-heading h2{font-size:13px}.editor-top .btn{font-size:10px;padding:7px 10px}.profile-panel{border-radius:12px}.tabs button{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}.painting .paint-line{stroke-dashoffset:0}}

/* Integration-only: server facts, compact forms, no duplicated editor. */
.flash-error{color:var(--danger);margin:12px 0;font-size:12px}.loading{opacity:.7}.title-link{color:inherit;text-decoration:none}.client-summary{flex-wrap:wrap}.ticket-card h3{overflow-wrap:anywhere}.ticket-card small{overflow-wrap:anywhere}.content-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.panel{border:1px solid var(--border);background:var(--panel);padding:20px;border-radius:14px}.ticket-detail-side pre{white-space:pre-wrap}.visual-note{font-size:11px;color:var(--muted);line-height:1.6}.empty-column{padding:25px 4px;color:var(--subtle);font-size:11px}.ticket-art canvas{width:100%;height:auto;max-height:420px;object-fit:contain}.brand .brand-symbol{color:var(--pink);font-size:28px}.busy-avatar{width:54px;height:54px;border-radius:13px;animation:team-paint 1.4s ease-in-out infinite}.busy-brush{height:3px;background:var(--pink);margin-top:7px;animation:team-stroke 1.4s ease-in-out infinite;transform-origin:left}.scope-pill{font-size:10px;color:var(--muted);padding:8px;border:1px solid var(--border);border-radius:8px}.form-grid textarea{width:100%}.safe-link{display:inline-block;padding:9px 0}.awaiting{opacity:.75;pointer-events:none}@keyframes team-paint{0%,100%{transform:rotate(-3deg)}50%{transform:rotate(3deg)}}@keyframes team-stroke{0%{transform:scaleX(.3)}50%,100%{transform:scaleX(1)}}@media(prefers-reduced-motion:reduce){.busy-avatar,.busy-brush{animation:none}}

#teamBusyAssistant{position:fixed;right:20px;bottom:20px;z-index:150}#teamBusyAssistant .pa-open{display:none}.design-cover canvas{width:100%;height:100%;object-fit:contain}.design-meta>.btn{margin-top:13px}.card{margin-top:20px;padding:15px;border:1px solid var(--border);border-radius:12px}.card h2{font-size:16px;margin-bottom:10px}.card a{font-size:12px}.history{margin:12px 0;font-size:12px}

/* Board drag state (integration): existing transitions only; the grid re-renders from server data on cancel or error. */
.ticket-card.dragging{opacity:.5}.column[data-column]{min-width:0}.kanban>.visual-note{grid-column:1/-1;margin:0 0 4px}

/* Production banner: same approved Camis, grid/orbits and gentle movement as the client dashboard.
   Scoped to this banner: no editor, requests, global theme or loading-state changes. */
.hero.production-hero{isolation:isolate;min-height:196px;padding:28px 32px;border-radius:14px;background:radial-gradient(ellipse at 85% 65%,#c3336a30,transparent 58%),linear-gradient(115deg,#17101f,#2c192e);--hero-ink:#fff2f7;--hero-muted:#d8c4d5;--hero-coral:#ff9b87;--hero-petal:#ffa7cd;--hero-line:#eeacd31c}
.production-hero .production-hero-grid{position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:linear-gradient(to right,var(--hero-line) 1px,transparent 1px),linear-gradient(to bottom,var(--hero-line) 1px,transparent 1px);background-size:32px 32px;opacity:.45}
.production-hero .production-hero-orbit{position:absolute;width:330px;height:330px;right:20px;top:-68px;border:1px solid var(--hero-line);border-radius:50%;pointer-events:none;z-index:-1}
.production-hero .production-hero-orbit::after{content:'';position:absolute;inset:28px -28px -28px 28px;border:1px solid var(--hero-line);border-radius:50%}
.production-hero .hero-copy{max-width:calc(100% - 230px)}
.production-hero h2{font-size:clamp(23px,2.3vw,32px);line-height:1.2;color:var(--hero-ink);letter-spacing:-.6px}
.production-hero h2 span{font-family:Georgia,serif;font-style:italic;font-weight:400;color:var(--hero-petal);background:linear-gradient(110deg,var(--hero-coral),var(--hero-petal));background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.production-hero p{color:var(--hero-muted);line-height:1.65;margin-top:10px;font-size:12px}
.production-hero .hero-steps{display:flex;flex-wrap:wrap;margin-top:16px;gap:9px;color:var(--hero-petal)}
.production-hero .hero-steps b{color:var(--hero-muted)}
.production-hero .production-hero-art{position:absolute;right:20px;bottom:-44px;width:248px;height:248px;pointer-events:none;z-index:1}
.production-hero .production-hero-camis{display:block;width:100%;height:100%;object-fit:contain;border-radius:50%;mask-image:radial-gradient(ellipse at 50% 48%,#000 42%,#000d 57%,transparent 72%);-webkit-mask-image:radial-gradient(ellipse at 50% 48%,#000 42%,#000d 57%,transparent 72%);animation:team-banner-float 5s ease-in-out infinite;transform-origin:50% 80%}
@keyframes team-banner-float{50%{transform:translateY(-7px) rotate(1.5deg)}}
.production-hero .production-hero-motion{position:absolute;top:10px;right:12px;z-index:3;background:#231629d9;border:1px solid #95607a70;color:var(--hero-muted);border-radius:6px;font:inherit;font-size:10px;padding:5px 8px;cursor:pointer}
.production-hero .production-hero-motion:focus-visible{outline:2px solid var(--hero-petal);outline-offset:3px}
.production-hero.motion-paused .production-hero-camis{animation-play-state:paused}
:root[data-theme=light] .hero.production-hero{background:radial-gradient(ellipse at 85% 65%,#f5a99a40,transparent 58%),linear-gradient(115deg,#fff7eb,#f9e9f1);--hero-ink:#322238;--hero-muted:#674b60;--hero-coral:#a43940;--hero-petal:#a42861;--hero-line:#9b497b22}
:root[data-theme=light] .production-hero .production-hero-motion{background:#fff7f2e8;border-color:#d7b6c8}
@media(max-width:600px){.hero.production-hero{min-height:232px;padding:22px 18px 42px}.production-hero .hero-copy{max-width:calc(100% - 96px)}.production-hero h2{font-size:24px;max-width:235px}.production-hero h2 span{display:block}.production-hero p{font-size:11px}.production-hero .hero-steps{gap:5px;font-size:9px;margin-top:12px}.production-hero .production-hero-art{width:148px;height:148px;right:-30px;bottom:-20px}.production-hero .production-hero-orbit{width:220px;height:220px;right:-62px;top:18px}.production-hero .production-hero-motion{top:auto;bottom:10px;left:18px;right:auto}}
@media(prefers-reduced-motion:reduce){.production-hero .production-hero-camis{animation:none}.production-hero .production-hero-motion{display:none}}
/* Request action hierarchy: presentation only, independent of permission/state logic. */
.ticket-detail-side,#detail{--request-primary:var(--pink);--request-on-primary:var(--bg);--request-surface:var(--panel2);--request-soft:var(--pink-soft);--request-ink:var(--text);--request-border:var(--lav);--request-focus:var(--lav)}
.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}}


:root,[data-theme="light"]{--piece-pending-stroke:var(--pink,var(--accent));--piece-pending-bg:var(--panel,var(--soft));--piece-pending-ink:var(--text,var(--ink))}

/* Compact mobile navigation; account links stay in the hamburger menu. */
/* Keep the client picker readable without a horizontal track behind the menu. */
@media(max-width:600px){.client-layout .client-list{flex-direction:column;overflow:visible}.client-layout .client-row{min-width:0;width:100%}.client-row>span{min-width:0;overflow-wrap:anywhere}}
.mobile-account-nav,.mobile-back{display:none}#mugOrdersPilotLink{white-space:nowrap}@media(max-width:600px){.top-actions>.desktop-account,.top-actions>a[href="/mug-orders.html"]{display:none}.mobile-account-nav{display:block;margin-top:18px;border-top:1px solid var(--border);padding-top:10px}.mobile-account-nav .nav-btn{font-size:12px}.mobile-back{display:inline-flex;flex-shrink:0}.breadcrumb{min-width:0;flex:1}.breadcrumb>span:not(#crumb){display:none}.breadcrumb #crumb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-actions{flex-shrink:0}.topbar>.mobile-menu{flex-shrink:0}}
/* Rodada 02/11: medidas dos controles e leitura nas telas da equipe. */
:root{--avatar-bg:#8055ad}:root[data-theme="light"]{--avatar-bg:#8055ad;--catalog-warm:#9c3153;--catalog-rose:#a72764}
#main button,#main .btn,.topbar button,.sidebar button{min-width:44px;min-height:44px}#main .btn.small{font-size:12px}#main small{font-size:12px}body .sidebar small{font-size:12px}body .sidebar .brand small{font-size:11px;letter-spacing:.1px;white-space:normal;line-height:1.35}#main input:not([type=checkbox]):not([type=radio]):not([type=file]),#main select{min-height:44px;font-size:13px}#main .client-logo{background:var(--avatar-bg);color:#fff}#main .client-tabs button{padding:10px 12px;min-width:44px}

.client-presentation{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:16px 20px;border-bottom:1px solid var(--border);font-size:14px}.client-presentation select,.client-presentation button{min-height:44px}.client-presentation label{font-weight:600}
/* N4.2: one touch target for the production animation control at every width. */
.production-hero-motion{min-width:44px;min-height:44px;box-sizing:border-box}

@media(min-width:601px){
  .app{background:var(--side)}
  .workspace{background:var(--bg);border-left:1px solid var(--border)}
  .sidebar{border-right:0}
}

/* Four-step client journey, using the existing product shell and original banner. */
.flow-team-context{display:flex;align-items:center;gap:12px;margin:8px 0 14px;min-width:0}.flow-team-context>p{min-width:0;overflow-wrap:anywhere;flex:1;margin:0;font-size:13px;color:var(--flow-muted)}.flow-team-context>details{position:relative;flex:none}.flow-team-context>details>summary{padding:0 12px;list-style:none;display:grid;place-items:center;min-width:44px;min-height:44px;border:1px solid var(--flow-line);border-radius:12px;cursor:pointer}.flow-team-context>details[open]{max-width:min(340px,80vw);padding:10px;background:var(--flow-panel);border:1px solid var(--flow-line);border-radius:12px}.flow-team-context a{display:block;white-space:normal}.flow-recipe>img{max-height:300px;object-fit:contain}.flow-recipe-state{font-size:13px;color:var(--flow-muted)}.flow-quick-drafts>summary{min-height:44px;cursor:pointer}
:root{--flow-bg:#100c18;--flow-panel:#1a1325;--flow-panel2:#22192e;--flow-text:#f5f1fa;--flow-muted:#b9acc8;--flow-line:#493b58;--flow-pink:#ff8bb9;--flow-green:#91ddbd;--flow-amber:#ffd18e}
:root[data-theme=light]{--flow-bg:#faf7fb;--flow-panel:#fff;--flow-panel2:#f3edf8;--flow-text:#2a2134;--flow-muted:#6e5b7d;--flow-line:#d3c4df;--flow-pink:#af1c58;--flow-green:#236f54;--flow-amber:#805007}
 .flow-simple-entry{max-width:48rem;display:grid;gap:12px}.flow-simple-entry label,.flow-simple-missing{display:grid;gap:8px}.flow-simple-entry textarea{width:100%;min-height:7rem}.flow-simple-entry .flow-primary{justify-self:start} .flow-simplified [data-product-section="classic"]{display:none!important}.flow-simple-home>.flow-secondary{margin-top:12px}.flow-simple-home h2{margin-top:26px}.flow-simple-home .flow-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:48rem}.flow-simple-home .flow-shortcuts button{text-align:left;white-space:normal;min-height:44px}
 .flow-arts-grid .flow-order{display:flex;flex-direction:column;min-width:0}.flow-arts-grid .flow-art-thumb{display:grid;place-items:center;position:relative;aspect-ratio:4/3;background:var(--flow-bg);border-radius:9px;overflow:hidden;color:var(--flow-muted);margin-bottom:12px}.flow-art-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.flow-arts-grid .flow-order h3{margin-bottom:14px}.flow-arts-actions{margin-top:auto;display:grid;gap:8px}.flow-arts-actions:is(div)>:is(a,button){display:flex;justify-content:center;align-items:center;width:100%;min-height:44px;box-sizing:border-box;margin:0;text-align:center}
body.flow-active{background:var(--flow-bg);color:var(--flow-text);padding-bottom:90px}.flow-active .product-context,.flow-active .product-home-hero,.flow-active #floating-assistant,.flow-active .assistant-activity,.flow-active .context{display:none!important}#client-flow{max-width:1200px;margin:auto;padding:12px 0 100px;font-size:14px;line-height:1.6;min-width:0}#client-flow:has(.flow-footer){padding-bottom:150px}#client-flow h1{font-size:clamp(25px,3vw,38px);font-family:Inter,'Segoe UI',sans-serif;line-height:1.2;letter-spacing:-.6px;margin:10px 0 24px}#client-flow h1 em{font-family:Georgia,serif;font-weight:400;color:var(--flow-pink)}#client-flow h2{font-size:20px;margin:30px 0 16px}#client-flow h3{font-size:17px;margin:8px 0}#client-flow p{margin:10px 0}#client-flow button,#client-flow a.flow-link{font:inherit;color:var(--flow-text);background:var(--flow-panel2);border:1px solid var(--flow-line);border-radius:12px;min-height:48px;min-width:44px;padding:10px 18px;cursor:pointer;white-space:normal;line-height:1.4;text-decoration:none}#client-flow button:disabled{opacity:.5;cursor:not-allowed}#client-flow button:focus-visible,#client-flow a:focus-visible{outline:2px solid var(--flow-pink);outline-offset:3px}#client-flow .flow-primary{background:#d6266f;border-color:#d6266f;color:#fff;font-weight:700}#client-flow .flow-home-create{min-height:58px;width:100%;font-size:17px}#client-flow .flow-status{background:var(--flow-panel2);border-radius:10px;padding:12px;border:1px solid var(--flow-line);overflow-wrap:anywhere}#client-flow .flow-status:empty{display:none}.flow-heading{display:flex;gap:12px;align-items:center;justify-content:space-between}.flow-heading span{font-size:13px;color:var(--flow-muted)}.flow-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0;list-style:none;margin:20px 0 30px}.flow-steps li{display:flex;gap:8px;align-items:center;justify-content:center;border:1px solid var(--flow-line);border-radius:12px;padding:10px;font-size:13px;color:var(--flow-muted);min-width:0}.flow-steps img{flex-shrink:0;object-fit:contain}.flow-steps [data-state=atual]{color:var(--flow-text);border:2px solid var(--flow-pink);background:var(--flow-panel2)}.flow-steps [data-state=feito]{color:var(--flow-green)}.flow-steps [data-state=proximo] img{opacity:.45}.flow-shortcuts,.flow-known{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.flow-choice[aria-pressed=true]{outline:2px solid var(--flow-pink);background:var(--flow-panel2)!important}.flow-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.flow-choices button{min-height:94px!important;text-align:left;font-size:17px!important}.flow-choices button:last-child:nth-child(odd){grid-column:1/-1}.flow-tag{font-size:12px;color:var(--flow-muted);background:var(--flow-panel2);padding:6px 10px;border-radius:8px}.flow-tag[data-known=true]{color:var(--flow-green)}.flow-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.flow-order,.flow-empty{background:var(--flow-panel);border:1px solid var(--flow-line);border-radius:18px;padding:20px;min-width:0;overflow-wrap:anywhere}.flow-order>img{width:100%;max-height:240px;object-fit:contain;border-radius:10px;background:var(--flow-panel2)}.flow-order button{width:100%;margin-top:12px}.flow-order p,.flow-empty p,.flow-hint{font-size:13px;color:var(--flow-muted)}.flow-empty img{display:block;object-fit:contain}.flow-footer{position:fixed;bottom:0;left:230px;right:0;z-index:25;display:flex;justify-content:flex-end;align-items:center;gap:12px;background:var(--flow-bg);border-top:1px solid var(--flow-line);padding:16px 30px}.flow-step-body{position:relative}.flow-step-body label{display:grid;gap:10px;font-weight:600;max-width:650px}.flow-step-body textarea,.flow-step-body select{background:var(--flow-panel);color:var(--flow-text);font:inherit;font-size:16px;border:1px solid var(--flow-line);border-radius:12px;padding:14px;width:100%;min-height:48px}.flow-step-body textarea{resize:vertical}.flow-live-preview{width:32%;max-height:400px;object-fit:contain;display:block;margin:24px 0;background:var(--flow-panel);border-radius:14px}.flow-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.flow-option{border:1px solid var(--flow-line);border-radius:18px;padding:14px;background:var(--flow-panel);min-width:0}.flow-option[data-selected=true]{border:2px solid var(--flow-pink)}.flow-option canvas{display:block;width:100%;height:auto;max-height:390px;object-fit:contain;border-radius:10px}.flow-option button{width:100%;margin-top:14px}.flow-review{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px}.flow-review>canvas{width:100%;max-height:540px;object-fit:contain}.flow-check{padding:12px 16px;background:var(--flow-panel);border:1px solid var(--flow-line);border-radius:12px;color:var(--flow-amber)}.flow-check[data-ok=true]{color:var(--flow-green)}.flow-check button{margin:8px}.flow-step-body summary{min-height:44px;padding:10px 0;cursor:pointer}.flow-bottom{display:none}.flow-dialog{max-width:530px;width:calc(100% - 32px);max-height:calc(100dvh - 40px);overflow:auto;background:var(--flow-panel);color:var(--flow-text);border:1px solid var(--flow-line);border-radius:20px;padding:26px}.flow-dialog::backdrop{background:#0009}.flow-dialog button,.flow-dialog summary{min-height:44px;min-width:44px;font:inherit;border:1px solid var(--flow-line);padding:10px 14px;border-radius:10px;background:var(--flow-panel2);color:var(--flow-text);margin:5px 5px 5px 0;cursor:pointer}.flow-dialog input,.flow-dialog textarea{width:100%;font:inherit;font-size:16px;min-height:48px;background:var(--flow-bg);color:var(--flow-text);border:1px solid var(--flow-line);border-radius:10px;padding:12px}.flow-dialog label{display:block}.flow-dialog h2{font-size:23px}.flow-help-face{width:64px;height:64px;object-fit:contain}.flow-dialog p{line-height:1.7}.flow-dialog form{display:flex;gap:8px}.flow-dialog form input{min-width:0}.flow-timeline{line-height:2}
@media(min-width:1000px){.flow-step-body:has(.flow-live-preview){padding-right:40%;min-height:470px}.flow-live-preview{position:absolute;right:0;top:0;width:35%;margin:0}.flow-active .product-sidebar{width:230px}.flow-active .product-main{padding-bottom:100px}}
@media(max-width:767px){body.flow-active{padding-bottom:78px}#client-flow{padding-top:0}#client-flow h1{font-size:27px}.flow-heading{gap:8px}.flow-heading button{font-size:12px!important;padding:8px 10px!important}.flow-heading span{font-size:12px;white-space:nowrap}.flow-steps{gap:6px;margin:18px 0}.flow-steps li{font-size:0;padding:6px;min-height:10px;height:10px}.flow-steps img{display:none}.flow-steps [data-state=atual]{background:var(--flow-pink)}.flow-steps [data-state=feito]{background:var(--flow-green)}.flow-choices{grid-template-columns:1fr;gap:12px}.flow-choices button{min-height:70px!important}.flow-cards{grid-template-columns:1fr}.flow-options{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding:3px 3px 16px;gap:14px}.flow-option{flex:0 0 83%;scroll-snap-align:center}.flow-review{grid-template-columns:1fr;gap:16px}.flow-review>canvas{max-height:330px}.flow-footer{left:0;bottom:76px;justify-content:space-between;padding:12px 16px}.flow-footer>.flow-primary{flex:1;min-height:52px!important}.flow-bottom{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;left:0;right:0;bottom:0;z-index:26;min-height:76px;align-items:center;padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:var(--flow-bg);border-top:1px solid var(--flow-line)}.flow-bottom button{background:transparent;border:0;color:var(--flow-text);font:inherit;font-size:11px;padding:8px 2px;min-height:52px;min-width:0;line-height:1.25}.flow-bottom .flow-new{height:54px;width:54px;min-width:54px;justify-self:center;border-radius:50%;background:#d6266f;color:#fff;font-weight:700;transform:translateY(-10px)}body:not(.flow-active)>.flow-bottom{display:none}.flow-live-preview{width:180px;max-height:220px;margin:16px auto}.flow-shortcuts{gap:8px}.flow-shortcuts button{flex:1 1 auto;padding:10px 12px!important;font-size:13px!important}.flow-step-body>h1{font-size:25px!important}#client-flow .production-hero .production-hero-art{width:148px}.flow-empty{padding:20px}}
@media(prefers-reduced-motion:reduce){#client-flow *,#client-flow *::before,#client-flow *::after,.flow-dialog *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Menu movement is immediate in the guided flow, so resizing never leaves an inert drawer over content. */
.flow-active .product-sidebar{transition:none!important}.flow-active>header.shell>nav[aria-label="Principal"],.flow-active>header.shell>#account{display:none}.flow-active>header.shell{min-height:66px;height:auto;flex-wrap:nowrap;padding:10px 18px;gap:10px}.flow-active>header.shell .product-breadcrumb{min-width:0;flex:1}.flow-active>header.shell .product-breadcrumb-root{display:none}.flow-active>header.shell .studio-theme-toggle{min-height:44px;white-space:nowrap}.flow-active .product-sidebar .product-brand{min-height:50px}
@media(max-width:767px){.flow-active>header.shell .product-breadcrumb-divider{display:none}.flow-active>header.shell .product-breadcrumb-current{font-size:14px}.flow-active .product-sidebar{width:min(280px,85vw)}.flow-active.product-menu-open .product-sidebar{transform:translateX(0)}}

.flow-active>header.shell>nav[aria-label="Principal"]{display:none!important}

#client-flow .flow-order>canvas{width:100%;height:230px;object-fit:contain}.flow-model-search{width:100%;min-height:48px;background:var(--flow-panel);color:var(--flow-text);border:1px solid var(--flow-line);border-radius:12px;padding:12px;font:inherit;font-size:16px;margin-bottom:24px}.product-logout{min-height:44px;margin:12px 16px;border:1px solid var(--flow-line,#706078);border-radius:10px;background:transparent;color:inherit;cursor:pointer}

/* N4: keep the four short progress labels readable on a real phone viewport. */
@media(max-width:700px){#client-flow .flow-steps li{font-size:11px!important;height:auto;min-height:36px;padding:6px 2px;line-height:1.2;color:var(--flow-text)!important;background:var(--flow-panel2)!important}}
/* Values keep all fixed text read-only; numeric controls remain usable on phones. */
.flow-values-dialog{box-sizing:border-box}.flow-values-dialog label{margin:16px 0;font-weight:600}.flow-values-dialog input{box-sizing:border-box;display:block;margin-top:6px;min-width:0}.flow-values-preview{margin:20px 0;padding:14px;border:1px solid var(--flow-line);border-radius:12px;background:var(--flow-bg);overflow-wrap:anywhere}.flow-values-preview h3{font-size:15px}.flow-values-preview p{white-space:pre-wrap}.flow-values-dialog button:disabled{opacity:.5;cursor:not-allowed}

/* Keep the cast visible alongside the short step names at every width. */
#client-flow .flow-steps img{display:block!important;width:18px;height:18px;flex:0 0 18px}
@media(max-width:767px){#client-flow .flow-steps li{font-size:11px!important;height:auto;min-height:44px;padding:6px 2px;gap:4px;line-height:1.2;color:var(--flow-text)!important;background:var(--flow-panel2)!important}}

/* Only the plan list scrolls. The active plan preview and actions stay visible. */
dialog.flow-values-dialog{width:calc(100vw - 24px);max-width:1060px;height:min(820px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);padding:0;overflow:hidden}
dialog.flow-values-dialog[open]{display:flex;flex-direction:column}
.flow-values-header{flex:none;padding:18px 20px 8px}.flow-values-header h2{margin:0;font-size:22px}.flow-values-header p{margin:6px 0;font-size:13px;line-height:1.4}
.flow-values-dialog .flow-values-preview{flex:none;margin:0 20px 12px;padding:10px 14px;max-height:24dvh;overflow:auto}.flow-values-preview h3{margin:0 0 4px}.flow-values-dialog .flow-values-preview p{margin:4px 0;line-height:1.4}
.flow-values-preview-current{position:sticky;top:0;background:var(--flow-bg);font-weight:700;z-index:1}
.flow-values-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 20px 14px}.flow-values-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.flow-value-group{min-width:0;margin:0;padding:12px;border:1px solid var(--flow-line);border-radius:12px}.flow-value-group legend{padding:0 6px;font-weight:700}.flow-value-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.flow-value-controls:has(>label:only-child){grid-template-columns:minmax(0,1fr)}.flow-values-dialog .flow-value-controls label{margin:0;font-size:13px;min-width:0}.flow-value-controls input{width:100%;min-width:0}.flow-values-all-texts{margin:14px 0 0}.flow-values-all-texts summary{font-size:13px}.flow-values-all-texts p{white-space:pre-wrap;overflow-wrap:anywhere}
.flow-values-actions{position:sticky;bottom:0;flex:none;padding:10px 20px;background:var(--flow-panel);border-top:1px solid var(--flow-line);z-index:1}.flow-values-actions>.flow-hint{margin:0 0 8px;font-size:12px;line-height:1.4}.flow-values-actions>div{display:flex;justify-content:flex-end;gap:10px}.flow-values-actions button{min-height:44px;margin:0}.flow-values-actions button:last-child{background:#d6266f;border-color:#d6266f;color:#fff;font-weight:700}
@media(min-width:1000px){.flow-values-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.flow-values-header{padding:14px 14px 8px}.flow-values-dialog .flow-values-preview{margin:0 14px 10px}.flow-values-scroll{padding:0 14px 12px}.flow-values-actions{padding:10px 14px}.flow-values-actions>div>button{flex:1}}

@media(max-width:480px){.flow-team-context{align-items:flex-start;flex-wrap:wrap}.flow-team-context>p{flex-basis: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}}

.flow-option>img{display:block;width:100%;height:auto;max-height:430px;object-fit:contain;border-radius:10px}.flow-option h2{font-size:19px!important;margin:0 0 8px}.flow-art-blocked{display:grid;place-content:center;min-height:270px;background:var(--flow-panel2);border:1px dashed var(--flow-line);border-radius:10px;text-align:center;padding:18px}.flow-step-body input{box-sizing:border-box;width:100%;min-height:48px;padding:12px;border:1px solid var(--flow-line);border-radius:10px;background:var(--flow-panel);color:var(--flow-text);font:inherit}.flow-step-body label{margin-bottom:18px}.flow-dialog ol{padding-left:24px;overflow-wrap:anywhere;line-height:1.8}.flow-dialog select{width:100%;min-height:48px;background:var(--flow-bg);color:var(--flow-text);border:1px solid var(--flow-line);font:inherit}.full-art-team{max-width:1100px;min-width:0;margin:24px 0;display:grid;gap:18px}.full-art-team-option{display:grid;grid-template-columns:minmax(220px,.75fr) minmax(0,1.25fr);gap:16px;padding:20px;border:1px solid var(--border);border-radius:16px;background:var(--panel);min-width:0}.full-art-team-option>h3,.full-art-team-option>p,.full-art-team-option>form{grid-column:1/-1}.full-art-team-option>img{width:100%;max-height:450px;object-fit:contain;min-width:0}.full-art-review-report{overflow-wrap:anywhere;min-width:0}.full-art-team-option label{display:grid;gap:8px}.full-art-team-option textarea{box-sizing:border-box;width:100%;min-height:90px;background:var(--input);color:var(--text);border:1px solid var(--border);border-radius:8px;padding:12px;font:inherit}.full-art-team-option button{background:var(--panel2);color:var(--text);border:1px solid var(--border);border-radius:8px;font:inherit;min-height:44px;padding:10px 14px;margin:12px 10px 0 0;cursor:pointer}.full-art-team-option button:disabled{opacity:.6;cursor:default}.full-art-team-option [role=status]{overflow-wrap:anywhere}.full-art-team button:focus-visible,.flow-step-body input:focus-visible{outline:3px solid var(--lav,#d381ff);outline-offset:3px}@media(max-width:650px){.full-art-team-option{grid-template-columns:1fr;padding:14px}.flow-art-blocked{min-height:230px}}

.full-art-team-preview{min-width:0}.full-art-team-preview>img{display:block;width:100%;max-height:600px;object-fit:contain}.full-art-team>nav{display:flex;gap:12px}.full-art-team>nav>button{min-height:44px;padding:10px 18px}

/* Eligible options fill the space; unfinished directions never reserve a card. */
.flow-options[data-count]{display:grid;overflow:visible;scroll-snap-type:none;max-width:100%;padding:0;align-items:start}.flow-options[data-count="0"],.flow-options[data-count="1"]{grid-template-columns:minmax(0,1fr)}.flow-options[data-count="1"]{max-width:780px;margin:0 auto}.flow-options[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}.flow-options[data-count] .flow-option{width:100%;flex:none;scroll-snap-align:none}.flow-options[data-count="1"] .flow-option>img{max-height:680px}.flow-options-waiting{padding:28px;border:1px solid var(--flow-line);border-radius:18px;background:var(--flow-panel)}.flow-more-options{text-align:center;color:var(--flow-muted)}
#flow-checklist{list-style:none;padding:0;display:grid;gap:12px;min-width:0}#flow-checklist li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px;padding:12px;border:1px solid var(--flow-line);border-radius:12px;background:var(--flow-panel);overflow-wrap:anywhere}#flow-checklist label{display:flex;align-items:flex-start;gap:10px;margin:0;min-width:0;font-weight:500}#flow-checklist input[type=checkbox]{flex:0 0 24px;width:24px;height:24px;min-height:24px;margin:2px 0;accent-color:#d6266f}#flow-checklist button{font-size:13px;padding:8px 10px;min-height:44px}.flow-offer-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(110px,.5fr);gap:8px;margin-bottom:10px}.flow-dialog fieldset{min-width:0;border:1px solid var(--flow-line);border-radius:10px;margin:16px 0;padding:12px}.flow-dialog fieldset input{min-width:0}.full-art-review-report>p{margin:6px 0}.full-art-review-report details{margin:8px 0}.full-art-review-report summary,.full-art-technical summary{cursor:pointer;min-height:36px;padding:6px 0}.full-art-technical{grid-column:1/-1;color:var(--muted);font-size:12px;overflow-wrap:anywhere}.full-art-technical>p{margin:6px 0}
@media(max-width:767px){.flow-options[data-count]{grid-template-columns:minmax(0,1fr);gap:18px}.flow-options[data-count="1"] .flow-option>img{max-height:560px}.flow-options[data-count] .flow-option{min-width:0}#flow-checklist li{grid-template-columns:minmax(0,1fr)}#flow-checklist button{justify-self:start}.flow-review{gap:20px}}

#flow-checklist .flow-check-group-content{grid-column:1/-1;font-size:14px}#flow-checklist .flow-check-group-content>p{margin:5px 0}#flow-checklist li>button[data-correct-group]{grid-column:2;grid-row:1}#flow-checklist .flow-fixed-texts{color:var(--flow-muted);margin-top:8px}#flow-checklist .flow-fixed-texts summary{padding:6px 0;min-height:36px}.full-art-reading-confirmation{border-top:1px solid var(--border);padding-top:16px}.full-art-reading-confirmation[hidden]{display:none}.full-art-reading-confirmation>label:has(input[type=checkbox]){display:flex;align-items:flex-start;gap:10px;margin:10px 0}.full-art-reading-confirmation input[type=checkbox]{flex:0 0 24px;width:24px;height:24px;margin:0;accent-color:var(--pink)}.full-art-reading-confirmation h4{margin:0;font-size:17px}
@media(max-width:767px){#flow-checklist li>button[data-correct-group]{grid-column:1;grid-row:auto}#flow-checklist .flow-check-group-content{grid-row:2}}
.full-art-legacy-price-warning{padding:12px 16px;border:1px solid #a8894f;border-radius:12px;line-height:1.6}.full-art-review-report details[open]{padding-bottom:12px}.full-art-review-report details>p{white-space:pre-wrap;overflow-wrap:anywhere}
.full-art-awaiting-team{margin:18px 0;padding:14px;border:1px solid var(--border);border-radius:14px}.full-art-awaiting-team>h3{margin:0 0 6px}.full-art-awaiting-team>p{line-height:1.6}.full-art-awaiting-team>.full-art-team-option{margin-top:14px}
