@font-face{font-family:Studio;src:url('/site/fonts/schibsted-grotesk-latin-400-normal.woff2');font-display:swap}
@font-face{font-family:Studio;src:url('/site/fonts/schibsted-grotesk-latin-600-normal.woff2');font-weight:600 800;font-display:swap}
:root{color-scheme:light;--ink:#171c26;--muted:#647083;--muted-light:#8993a3;--line:#dfe4eb;--soft:#f3f5f8;--white:#fff;--orange:#ef8a35;--orange-dark:#ad510f;--navy:#1b2230;--green:#25806f;--body:Studio,system-ui,sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:32px}
body{margin:0;background:#f5f6f8;color:var(--ink);font:14px/1.6 var(--body);-webkit-font-smoothing:antialiased}
button,input,select{font:inherit}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--orange);outline-offset:3px}
[hidden]{display:none!important}
.app-header{min-height:76px;background:#161b24;color:#f6f7fa;padding:13px max(24px,calc((100vw - 1240px)/2));display:flex;align-items:center;gap:26px;border-bottom:1px solid #ffffff15}
.brand{display:inline-flex;align-items:baseline;font-size:25px;font-weight:700;line-height:1;letter-spacing:-1.2px;white-space:nowrap}/* Znak marki: oba człony tym samym kolorem i grubością, kolor tylko w okrągłej kropce. */.brand-kropka{display:inline-block;width:.35em;height:.35em;margin:0 .07em;border-radius:50%;background:linear-gradient(135deg,#b80050,#d4400f)}
.header-context{display:flex;align-items:center;gap:10px;font-size:9px;letter-spacing:.17em;color:#aeb7c4}.header-context i,.eyebrow>span{width:6px;height:6px;border-radius:50%;background:var(--orange);display:inline-block;flex:none}
.client-picker{margin-left:auto;display:grid;grid-template-columns:auto minmax(135px,220px);align-items:center;gap:10px;color:#c1c8d2;font-size:10px}.client-picker select{width:100%;padding:8px 30px 8px 11px;min-height:38px;border:1px solid #485162;border-radius:7px;background:#252c38;color:#fff;font-size:11px}
.header-login{margin-left:auto;min-height:41px;padding:9px 15px;border:1px solid #505a6b;border-radius:7px;background:#272f3c;color:white;font-size:11px;font-weight:600;white-space:nowrap}.client-picker:not([hidden])~.header-login{margin-left:0}.header-login:hover{border-color:#f0a66b;background:#303947}
main{width:min(1120px,calc(100% - 48px));margin:0 auto;padding:55px 0 86px}
.eyebrow{display:flex;align-items:center;gap:9px;margin:0 0 13px;font-size:9px;font-weight:600;letter-spacing:.16em;color:#778294}
h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.12;letter-spacing:-.045em}h1{font-size:clamp(42px,5vw,67px);font-weight:600;margin-bottom:20px}h1 em{font-style:normal;color:var(--orange-dark)}h2{font-size:29px;font-weight:600;margin-bottom:0}h3{font-size:18px;font-weight:600;margin-bottom:8px}p{color:var(--muted)}
.dashboard-head{display:grid;grid-template-columns:1.2fr .8fr;gap:50px;align-items:center;padding:20px 0 49px}.welcome-copy{max-width:620px}.welcome-copy .lead{max-width:560px;margin:0;font-size:15px;line-height:1.8;color:#5e697b}
.start-card{padding:27px 29px 28px;background:var(--navy);border:1px solid #353e4c;border-radius:12px;color:#fff;box-shadow:0 18px 35px #19212e12}.start-card-index{display:block;font-size:8px;letter-spacing:.16em;color:#bac1cd}.start-card strong{display:block;margin-top:13px;font-size:21px;letter-spacing:-.035em}.start-card p{margin:9px 0 19px;color:#bdc5d1;font-size:12px;line-height:1.65}
.primary,.secondary,.text-button,.quiet{border:1px solid transparent;border-radius:7px;font-size:12px;font-weight:600;transition:transform .18s ease,background .18s ease,border-color .18s ease}.primary:hover,.secondary:hover{transform:translateY(-1px)}.primary{display:inline-flex;justify-content:center;align-items:center;gap:16px;min-height:45px;padding:11px 17px;background:var(--orange);color:#1a1d23}.primary:hover{background:#ffa352}.primary:disabled{opacity:.46;cursor:not-allowed;transform:none}.primary span{font-size:16px;line-height:1}.create-cta{min-width:164px}.secondary{min-height:42px;padding:10px 14px;border-color:#cbd2dc;background:#fff;color:var(--ink)}.secondary:hover{border-color:#a3adbb;background:#fafbfc}.text-button{padding:8px 0;border:0;background:transparent;color:var(--orange-dark)}.text-button:hover{text-decoration:underline;text-underline-offset:3px}
.howto{padding:25px 0 38px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.section-kicker{display:flex;align-items:center;gap:13px;margin-bottom:22px}.section-kicker>span{font:600 9px var(--body);color:var(--orange-dark);letter-spacing:.12em}.section-kicker h2{font-size:17px;letter-spacing:-.02em}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding:0;margin:0;list-style:none}.steps li{display:flex;align-items:flex-start;gap:13px}.steps li>span{display:grid;place-items:center;width:28px;height:28px;flex:none;border:1px solid #d5dbe3;border-radius:50%;background:white;color:var(--orange-dark);font-size:10px;font-weight:600}.steps b{font-size:12px}.steps p{margin:5px 0 0;font-size:11px;line-height:1.55}
.projects-section{padding-top:53px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:21px}.section-heading .eyebrow{margin-bottom:10px}.section-heading h2{font-size:26px}.project-count{color:var(--muted-light);font-size:10px}.projects-list{border-top:1px solid var(--line)}.project-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto auto;align-items:center;gap:16px;padding:17px 4px;border-bottom:1px solid var(--line)}.project-icon{display:grid;place-items:center;width:39px;height:39px;border-radius:10px;background:#e8edf3;color:#4e6078;font-size:15px;font-weight:600}.project-details{display:grid;gap:4px;min-width:0}.project-details strong{overflow-wrap:anywhere;font-size:13px}.project-details>span{font-size:10px;color:var(--muted)}.project-state{padding:5px 8px;border-radius:20px;background:#e8f2ef;color:#287866;font-size:9px;white-space:nowrap}.project-state.is-error{background:#fbecea;color:#a2392b}.empty-projects{display:flex;align-items:center;gap:19px;padding:24px 22px;border:1px solid #dce2e9;border-radius:10px;background:#fff}.empty-mark{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:12px;background:#fff2e6;color:var(--orange-dark);font-size:23px}.empty-projects>div{flex:1}.empty-projects h3{font-size:14px;margin:0 0 5px}.empty-projects p{margin:0;font-size:11px}.dashboard-footer{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:20px;font-size:10px;color:var(--muted)}.dashboard-footer .text-button{font-size:10px}
.flow-section{max-width:1020px;margin:0 auto}.back-button{display:inline-flex;align-items:center;gap:9px;padding:0;border:0;background:transparent;color:#536174;font-size:11px;font-weight:600}.back-button:hover{color:var(--orange-dark)}.back-button>span:first-child{font-size:16px}.flow-topline{display:flex;justify-content:space-between;align-items:center;margin:42px 0 15px}.flow-topline .eyebrow{margin:0}.step-indicator{display:flex;align-items:center;gap:12px;color:#738092;font-size:9px;letter-spacing:.08em}.step-track{width:88px;height:4px;border-radius:10px;background:#e1e5eb;overflow:hidden}.step-track i{display:block;width:50%;height:100%;border-radius:10px;background:var(--orange);transition:width .2s ease}.flow-heading{max-width:700px;margin-bottom:28px}.flow-heading h1{font-size:clamp(36px,4.4vw,55px);margin-bottom:10px}.flow-heading p{margin:0;font-size:13px}
.type-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.type-choice{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-height:156px;padding:18px;border:1px solid #dce2e9;border-radius:10px;background:#fff;color:var(--ink);text-align:left;transition:transform .18s,border-color .18s,box-shadow .18s}.type-choice:hover{transform:translateY(-2px);border-color:#efa66b;box-shadow:0 8px 22px #1821300b}.type-number{margin-bottom:auto;color:#af5a1d;font-size:9px;letter-spacing:.1em}.type-choice strong{display:block;margin:20px 0 5px;font-size:15px;letter-spacing:-.025em}.type-description{display:block;max-width:100%;color:var(--muted);font-size:10px;line-height:1.5}.type-arrow{position:absolute;right:16px;top:14px;color:#97a0ae;font-size:13px}
.template-step{padding-top:19px}.picked-type{display:flex;align-items:center;gap:10px;margin:0 0 28px;padding:10px 13px;border:1px solid var(--line);border-radius:8px;background:#fff}.picked-type-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:7px;background:#fff1e6;color:var(--orange-dark)}.picked-type #pickedTypeLabel{font-weight:600;font-size:12px}.picked-type .text-button{margin-left:auto;font-size:10px}.template-heading{align-items:end;margin-bottom:17px}.template-heading h2{font-size:24px}.template-heading>p{max-width:340px;margin:0;font-size:10px}.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.template-choice{position:relative;display:flex;flex-direction:column;min-height:153px;overflow:hidden;border:1px solid #dce2e9;border-radius:9px;background:#fff;transition:border-color .18s,box-shadow .18s}.template-choice.is-selected{border-color:var(--orange);box-shadow:0 0 0 2px #ef8a352b}.template-pick{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:7px;width:100%;padding:16px 16px 11px;border:0;background:transparent;text-align:left;color:var(--ink)}.template-pick:focus-visible{outline-offset:-4px}.template-name{font-size:13px;font-weight:600}.template-description{color:var(--muted);font-size:10px;line-height:1.5}.template-select-label{margin-top:auto;color:var(--orange-dark);font-size:9px;font-weight:600}.template-preview{align-self:flex-start;margin:0 12px 10px;padding:3px 0;border:0;background:transparent;color:#697589;font-size:9px;text-decoration:underline;text-underline-offset:2px}.template-preview:hover{color:var(--orange-dark)}.blank-choice{display:flex;align-items:center;gap:13px;width:100%;margin-top:13px;padding:14px 16px;border:1px dashed #bdc6d2;border-radius:9px;background:#fbfcfd;color:var(--ink);text-align:left}.blank-choice:hover,.blank-choice.is-selected{border-color:var(--orange);background:#fffaf5}.blank-icon{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:8px;background:#fff0e2;color:var(--orange-dark);font-size:18px}.blank-choice>span:nth-child(2){display:grid;gap:3px;flex:1}.blank-choice b{font-size:12px}.blank-choice small{color:var(--muted);font-size:10px}.choice-indicator{width:15px;height:15px;border:1px solid #c4cbd5;border-radius:50%;flex:none}.blank-choice.is-selected .choice-indicator{border:5px solid var(--orange)}.create-footer{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-top:20px;padding-top:20px;border-top:1px solid var(--line)}.project-name{display:grid;gap:6px;width:min(100%,430px);font-size:10px;font-weight:600}.project-name input,.toolbar input,.toolbar select{width:100%;min-width:0;min-height:43px;padding:10px 12px;border:1px solid #ccd4de;border-radius:7px;background:#fff;color:var(--ink);font-size:12px}.project-name input::placeholder,.toolbar input::placeholder{color:#9aa3b0}.create-footer .primary{min-width:220px}
.catalog-section{padding-top:5px}.catalog-intro{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:34px}.catalog-intro>div{max-width:650px}.catalog-intro h1{font-size:clamp(42px,5vw,62px);margin-bottom:12px}.catalog-intro p:last-child{margin:0;font-size:13px}.return-dashboard{flex:none}.toolbar{display:grid;grid-template-columns:minmax(190px,.7fr) minmax(260px,1fr) auto;align-items:end;gap:15px;margin-bottom:20px;padding:15px;border:1px solid var(--line);border-radius:9px;background:#fff}.toolbar label{display:grid;gap:6px;color:#536174;font-size:10px;font-weight:600}.toolbar>span{padding:0 3px 12px;color:var(--muted-light);font-size:10px;white-space:nowrap}.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.catalog-card{overflow:hidden;border:1px solid #dfe4eb;border-radius:10px;background:#fff}.catalog-art{position:relative;display:grid;place-items:center;height:126px;overflow:hidden;background:var(--wash);color:var(--color)}.catalog-art>small{position:absolute;top:12px;left:14px;color:#667386;font-size:8px;letter-spacing:.1em;text-transform:uppercase}.motif{display:grid;grid-template-columns:repeat(3,34px);gap:6px;margin-top:18px;transform:perspective(500px) rotateX(20deg) rotateZ(-12deg)}.motif span{display:grid;place-items:center;width:34px;height:34px;border-radius:7px;background:var(--color);color:#fff;font-size:19px;box-shadow:0 3px color-mix(in srgb,var(--color) 65%,#000)}.motif span:nth-child(2n){background:white;color:var(--color);box-shadow:0 3px #0002}.card-body{padding:15px}.card-body>small{color:#6d7889;font-size:9px}.card-body h3{margin:5px 0 7px;font-size:16px}.card-body p{min-height:43px;margin:0 0 14px;font-size:10px;line-height:1.55}.actions{display:flex;gap:7px}.actions button{flex:1;min-height:38px;padding:8px;font-size:10px}.empty-catalog{grid-column:1/-1;padding:25px;border:1px dashed var(--line);border-radius:8px;text-align:center}.resume-banner,.error-banner{display:flex;align-items:center;gap:12px;margin:27px 0 0;padding:14px 16px;border:1px solid #dce2e9;border-radius:8px;background:white;font-size:11px}.resume-copy{flex:1}.resume-banner .secondary{min-height:37px;font-size:10px}.status-message{color:#a2392b;font-size:11px}.error-banner{color:#9d382b}
.modal{width:min(970px,calc(100vw - 28px));max-height:min(92dvh,900px);padding:0;overflow:auto;border:1px solid #d9e0e8;border-radius:14px;background:#f5f6f8;color:var(--ink);box-shadow:0 24px 80px #1017224d}.modal::backdrop{background:#10151db8;backdrop-filter:blur(4px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 22px;border-bottom:1px solid #dce2eb;background:white}.dialog-head .eyebrow{margin-bottom:5px}.dialog-head h2{font-size:20px}.quiet{display:grid;place-items:center;width:36px;height:36px;flex:none;border-color:#e0e4eb;background:white;color:#536174}.quiet:hover{background:#f4f6f8}.preview-body{padding:15px 22px;background:#1b2230;color:#c8d0dc}.preview-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px}.preview-tools button{min-height:34px;padding:6px 11px;border-color:#4a5567;background:transparent;color:#e0e5ed;font-size:10px}.formats{display:flex;gap:5px}.formats button[aria-pressed=true]{background:#f5f6f8;color:#222a37}.preview-stage{display:flex;justify-content:center;height:min(53dvh,520px);min-height:220px}.preview-stage iframe{width:min(100%,310px);height:100%;border:5px solid #3b4556;border-radius:16px;background:white}.preview-stage[data-format=tablet] iframe{width:100%;max-width:800px;border-radius:10px}.preview-body>p{margin:10px 0 0;text-align:center;color:#aeb8c7;font-size:9px}.dialog-foot{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:16px 22px;background:white}.dialog-foot p{max-width:430px;margin:0;font-size:11px}.dialog-foot button{flex:none}.login-modal,.creating-modal{max-width:450px}.login-modal form{display:grid;gap:15px;padding:21px 22px}.login-modal form>p{margin:0;color:var(--muted);font-size:11px}.login-modal label{display:grid;gap:6px;font-size:10px;font-weight:600}.login-modal input{width:100%;min-height:43px;padding:10px 12px;border:1px solid #cbd3de;border-radius:7px;background:white;font-size:12px}.login-modal form>.primary{width:100%}.creation-content{padding:35px;text-align:center}.creation-content .eyebrow{justify-content:center}.creation-content h2{margin-bottom:11px;font-size:24px}.creation-content>p:not(.eyebrow){font-size:12px}.creation-content>button{width:100%;margin-top:10px}.spinner{display:block;width:32px;height:32px;margin:0 auto 18px;border:3px solid #d9dfe7;border-top-color:var(--orange);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:900px){main{width:min(100% - 40px,760px);padding-top:40px}.dashboard-head{grid-template-columns:1fr .85fr;gap:25px}.type-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.template-grid,.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-row{grid-template-columns:42px minmax(0,1fr) auto}.project-state{grid-column:2;grid-row:2;width:max-content}.project-row>.secondary{grid-column:3;grid-row:1/3}.toolbar{grid-template-columns:1fr 1.2fr auto}}
@media(max-width:620px){.app-header{min-height:65px;padding:11px 17px;gap:13px}.brand{font-size:21px}.header-context{font-size:8px;letter-spacing:.12em}.client-picker{grid-template-columns:1fr;gap:3px;margin-left:auto;max-width:130px}.client-picker>span{font-size:8px}.client-picker select{min-height:33px;padding:6px 7px;font-size:10px}.header-login{min-height:38px;padding:8px 11px;font-size:10px}.client-picker:not([hidden])~.header-login{margin-left:0}main{width:calc(100% - 34px);padding:32px 0 58px}.dashboard-head{grid-template-columns:1fr;gap:22px;padding:10px 0 32px}.dashboard-head h1{font-size:45px}.welcome-copy .lead{font-size:13px}.start-card{padding:21px}.start-card strong{font-size:19px}.start-card p{max-width:420px}.howto{padding:21px 0 25px}.section-kicker{align-items:flex-start}.section-kicker h2{font-size:15px}.steps{grid-template-columns:1fr;gap:15px}.steps li{align-items:center}.steps p{font-size:10px}.projects-section{padding-top:35px}.section-heading h2{font-size:23px}.project-row{grid-template-columns:36px minmax(0,1fr) auto;gap:10px;padding:13px 0}.project-icon{width:34px;height:34px}.project-details strong{font-size:11px}.project-details>span{font-size:9px}.project-state{font-size:8px}.project-row>.secondary{min-height:36px;padding:8px;font-size:9px}.empty-projects{align-items:flex-start;flex-wrap:wrap;padding:17px;gap:12px}.empty-projects h3{font-size:13px}.empty-projects p{font-size:10px}.empty-projects .secondary{margin-left:54px}.dashboard-footer{justify-content:space-between;gap:8px;font-size:9px}.dashboard-footer .text-button{font-size:9px}.flow-topline{margin:30px 0 12px}.step-indicator{font-size:8px}.step-track{width:55px}.flow-heading{margin-bottom:20px}.flow-heading h1{font-size:37px}.flow-heading p{font-size:11px}.type-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.type-choice{min-height:142px;padding:14px}.type-choice strong{font-size:13px}.type-description{font-size:9px}.template-step{padding-top:14px}.picked-type{margin-bottom:23px}.template-heading{align-items:flex-start;flex-direction:column;gap:8px}.template-heading h2{font-size:22px}.template-heading>p{max-width:100%}.template-grid{grid-template-columns:1fr;gap:8px}.template-choice{min-height:112px}.template-pick{padding:13px}.template-name{font-size:12px}.template-description{font-size:9px}.template-preview{margin:0 13px 8px}.blank-choice{padding:12px}.blank-choice small{font-size:9px}.create-footer{align-items:stretch;flex-direction:column;gap:12px}.project-name{width:100%}.create-footer .primary{width:100%;min-width:0}.catalog-intro{align-items:flex-start;flex-direction:column;gap:16px;margin-bottom:23px}.catalog-intro h1{font-size:44px}.catalog-intro p:last-child{font-size:11px}.catalog-intro .return-dashboard{min-height:37px}.toolbar{grid-template-columns:1fr;gap:9px;padding:12px}.toolbar label{font-size:9px}.toolbar>span{padding:0 0 2px}.catalog-grid{grid-template-columns:1fr;gap:12px}.catalog-art{height:112px}.card-body{padding:14px}.card-body p{min-height:0}.actions button{font-size:10px}.resume-banner,.error-banner{align-items:flex-start;flex-wrap:wrap}.resume-copy{flex-basis:100%}.modal{width:calc(100vw - 20px);border-radius:12px}.dialog-head{padding:14px}.preview-body{padding:11px}.preview-tools{gap:5px}.preview-tools button{padding:6px 8px;font-size:9px}.dialog-foot{align-items:stretch;flex-direction:column;gap:10px;padding:14px}.dialog-foot p{font-size:10px}.dialog-foot button{width:100%}.creation-content{padding:28px 22px}}
@media(max-width:380px){.app-header{gap:9px}.header-context{letter-spacing:.08em}.header-login{padding-inline:8px}.client-picker{max-width:105px}.type-choice{min-height:132px;padding:12px}.type-choice strong{font-size:12px}.dashboard-head h1{font-size:41px}.project-row{grid-template-columns:33px minmax(0,1fr)}.project-state{grid-column:2;grid-row:auto}.project-row>.secondary{grid-column:2;grid-row:auto;width:max-content}.dashboard-footer{align-items:flex-start;flex-direction:column}}

/* A focused preview frame: compact header/footer, a real device stage, and controls that never collapse vertically. */
#preview.modal[open]{width:min(1120px,calc(100vw - 40px));height:min(90dvh,940px);max-height:calc(100dvh - 24px);display:flex;flex-direction:column;overflow:hidden;border:1px solid #ffffff45;border-radius:20px;background:#fbfaf8;box-shadow:0 32px 100px #080c14a8}
#preview .dialog-head{flex:none;padding:17px 24px;background:linear-gradient(110deg,#fff 0%,#fffaf5 100%)}
#preview .dialog-head h2{font-size:23px;letter-spacing:-.04em}
#preview .dialog-head .eyebrow{color:#9a5a2d}
#preview .preview-body{flex:1;min-height:0;display:flex;flex-direction:column;padding:14px 24px 12px;background:radial-gradient(ellipse at 50% 48%,#2e394a 0%,#1b2230 58%);}
#preview .preview-tools{flex:none;margin:0 0 10px}
#preview .preview-tools button{flex:none;white-space:nowrap;border-radius:9px}
#preview .preview-tools>.quiet{display:flex;width:auto;min-width:112px;align-items:center;justify-content:center;white-space:nowrap}
#preview .formats{padding:3px;border:1px solid #ffffff18;border-radius:11px;background:#11172255}
#preview .formats button{min-width:78px;border-color:transparent;border-radius:8px}
#preview .formats button[aria-pressed=true]{background:#fff;color:#242a35;box-shadow:0 2px 8px #0002}
#preview .preview-stage{flex:1;min-height:280px;height:min(51dvh,560px);align-items:center}
#preview .preview-stage iframe{width:min(100%,350px);height:100%;border:6px solid #3b4556;border-radius:23px;box-shadow:0 14px 36px #070b1280}
#preview .preview-stage[data-format=tablet] iframe{width:min(100%,900px);border-radius:14px}
#preview .preview-body>p{flex:none;margin:9px 0 0;font-size:10px}
#preview .dialog-foot{flex:none;padding:16px 24px;background:linear-gradient(110deg,#fff 0%,#fffaf5 100%)}
#preview .dialog-foot p{color:#697486;line-height:1.55}
#preview .dialog-foot .primary{min-height:48px;border-radius:10px;box-shadow:0 4px 12px #ef8a3533}
.studio-game-art{background:radial-gradient(ellipse at 50% 120%,#343b48,#191c23 72%);box-shadow:inset 0 -2px var(--color,#ef8a35)}
.wheel-art-label{position:absolute;left:50%;top:calc(100% + 12px);transform:translateX(-50%);white-space:nowrap;color:#c6ccd6;font:600 7px var(--mono);letter-spacing:.16em}
.wheel-classic .wheel-disc{background:repeating-conic-gradient(from 0deg,#ef8a35 0deg 44deg,#fff1e4 44deg 45deg,#ffd19e 45deg 89deg,#fff1e4 89deg 90deg,#242a34 90deg 134deg,#fff1e4 134deg 135deg,#4a5260 135deg 179deg,#fff1e4 179deg 180deg)}
.wheel-premium .wheel-disc{border-color:#d7b56d;background:repeating-conic-gradient(from 0deg,#d7b56d 0deg 44deg,#493821 44deg 45deg,#f1d58d 45deg 89deg,#493821 89deg 90deg,#9d7837 90deg 134deg,#493821 134deg 135deg,#f5dfa2 135deg 179deg,#493821 179deg 180deg)}
.wheel-energy .wheel-disc{background:repeating-conic-gradient(from 0deg,#ff9d42 0deg 44deg,#342638 44deg 45deg,#ff593b 45deg 89deg,#342638 89deg 90deg,#f4cb48 90deg 134deg,#342638 134deg 135deg,#ce4b9a 135deg 179deg,#342638 179deg 180deg)}
.wheel-holiday .wheel-disc{background:repeating-conic-gradient(from 0deg,#b3301c 0deg 44deg,#f5d58a 44deg 45deg,#f5d58a 45deg 89deg,#8d2119 89deg 90deg,#a9281c 90deg 134deg,#f5d58a 134deg 135deg,#f5d58a 135deg 179deg,#8d2119 179deg 180deg)}
.wheel-opening .wheel-disc{background:repeating-conic-gradient(from 0deg,#ef8a35 0deg 44deg,#fff 44deg 45deg,#ffe4ca 45deg 89deg,#ef8a35 89deg 90deg,#f9b34a 90deg 134deg,#fff 134deg 135deg,#fff5e9 135deg 179deg,#f9b34a 179deg 180deg)}
.wheel-stage .wheel-disc{background:repeating-conic-gradient(from 0deg,#17202e 0deg 44deg,#ef8a35 44deg 45deg,#f5f6f8 45deg 89deg,#ef8a35 89deg 90deg,#17202e 90deg 134deg,#ef8a35 134deg 135deg,#f5f6f8 135deg 179deg,#ef8a35 179deg 180deg)}
@media(max-width:620px){#preview.modal[open]{width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:15px}#preview .dialog-head{padding:12px 14px}#preview .dialog-head h2{font-size:19px}#preview .preview-body{padding:10px 12px}#preview .preview-stage{min-height:250px;height:auto}#preview .preview-stage iframe{width:min(100%,330px);border-width:5px;border-radius:20px}#preview .dialog-foot{padding:12px 14px;gap:9px}#preview .dialog-foot .primary{min-height:44px;font-size:11px}}
@media(max-width:380px){#preview .preview-tools button{padding-inline:7px;font-size:9px}#preview .formats button{min-width:68px}}

.type-choice .studio-game-art{width:100%;height:72px;margin:0 0 9px;border:0;border-radius:6px}
.type-choice strong{margin:0 0 5px}
.type-choice .type-number{margin-bottom:3px}
.template-live-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,340px);align-items:center;gap:18px;margin:0 0 16px;padding:12px;border:1px solid #dce2e9;border-radius:9px;background:#fff}
.template-live-card .eyebrow{margin-bottom:4px;font-size:8px}
.template-live-card strong{font-size:13px}
.template-live-card .studio-game-art{width:100%;height:105px;border:0;border-radius:7px}
.template-choice{min-width:0}
.template-pick{gap:6px}
.template-thumb{width:100%;height:72px!important;min-height:0;margin:0 0 2px;border:0;border-radius:6px;pointer-events:none}
.template-thumb .preview{scale:.58}
.template-thumb .slide-puzzle{scale:.55}
.template-thumb .quiz-art{scale:.55}
.template-thumb .mini-deck{scale:.58}
.template-thumb .wheel-art,.template-thumb .mosaic-art,.template-thumb .lights-art,.template-thumb .puzzle-art,.template-thumb .emblem-art{scale:.58}
.template-thumb *{animation-play-state:paused!important;transition:none!important}
.template-preview{font-size:10px;padding:5px 0}
@media(max-width:620px){.template-live-card{grid-template-columns:1fr;gap:8px}.template-live-card .studio-game-art{height:92px}.type-choice .studio-game-art{height:64px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.spinner{animation:none}}
.blank-choice:disabled{cursor:not-allowed;opacity:.62}.blank-unavailable{margin:8px 0 0;color:#8b541e;font-size:10px}
/* Template catalog: real game scenes, clear browsing controls and readable cards. */
.catalog-section{padding-top:0}
.catalog-intro{margin-bottom:29px;align-items:center}
.catalog-intro>div{max-width:720px}
.catalog-intro .eyebrow{margin-bottom:15px}
.catalog-intro h1{font-size:clamp(43px,5vw,61px);line-height:1.02;margin-bottom:15px}
.catalog-intro>div>p:last-child{max-width:620px;font-size:15px;line-height:1.7;color:#596577}
.toolbar{grid-template-columns:minmax(190px,.55fr) minmax(280px,1.2fr) minmax(130px,.4fr);gap:15px;padding:14px 16px;margin-bottom:22px;border-radius:11px;box-shadow:0 5px 18px #17233308}
.toolbar label{gap:7px;color:#4d5868;font-size:11px}
.toolbar input,.toolbar select{min-height:47px;padding:11px 13px;border-color:#d7dde5;border-radius:8px;font-size:13px}
.toolbar input:focus,.toolbar select:focus{border-color:#dc8434}
.catalog-result{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-height:47px}
.catalog-result #count{padding:0;color:#687486;font-size:12px;font-weight:600;white-space:nowrap}
.clear-filters{padding:7px 0;border:0;background:transparent;color:#a65417;font-size:11px;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.clear-filters:hover{color:#713509}
.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.catalog-card{display:flex;min-width:0;flex-direction:column;border:1px solid #e0e4ea;border-radius:13px;box-shadow:0 4px 16px #17233308;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.catalog-card:hover{transform:translateY(-3px);border-color:#d1d6df;box-shadow:0 12px 30px #17233312}
.catalog-art{height:170px;flex:none;border:0;border-bottom:1px solid #e7e9ed;background:var(--wash,#f2f1ed)}
.catalog-art:has(.preview){background:#191c23}
.catalog-art .preview{width:min(220px,80%);height:140px;scale:.78}
.catalog-art .guess-preview,.catalog-art .reflex-preview{scale:.78}
.catalog-art .quiz-art{scale:.72}
.catalog-art .mini-deck{scale:.7}
.catalog-art .wheel-art,.catalog-art .mosaic-art,.catalog-art .lights-art,.catalog-art .puzzle-art,.catalog-art .emblem-art{scale:.72}
.catalog-art .slide-puzzle{scale:.66}
.card-body{display:flex;flex:1;flex-direction:column;padding:19px 19px 17px}
.card-category{align-self:flex-start;margin-bottom:10px;padding:4px 8px;border-radius:999px;background:#f3f4f6;color:#5f6979;font-size:10px;font-weight:600}
.card-body h3{margin:0 0 8px;font-size:20px;line-height:1.2;letter-spacing:-.035em}
.card-body p{min-height:54px;margin:0 0 19px;color:#626e7e;font-size:13px;line-height:1.55}
.actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:auto}
.actions button{min-height:43px;padding:9px 10px;border-radius:8px;font-size:12px}
.actions .primary{background:#f39a4a;color:#24201b}
.actions .primary:hover{background:#ffae66}
.actions .secondary{border-color:#d6dce4;background:#fff;color:#344052}
.actions .secondary:hover{border-color:#efa66b;background:#fffaf5}
.empty-catalog{display:flex;min-height:270px;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:32px;border:1px dashed #cfd6df;border-radius:13px;background:#fbfcfd;text-align:center}
.empty-catalog-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#fff1e5;color:#b45b1d;font-size:25px}
.empty-catalog h2{margin:2px 0 0;font-size:20px}
.empty-catalog p{max-width:390px;margin:0 0 6px;font-size:13px}
.empty-catalog .secondary{min-height:41px}
@media(max-width:900px){.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-intro h1{font-size:54px}.toolbar{grid-template-columns:minmax(160px,.65fr) minmax(220px,1fr) auto}}
@media(max-width:620px){.catalog-intro{gap:14px;margin-bottom:22px}.catalog-intro h1{font-size:44px}.catalog-intro>div>p:last-child{font-size:13px;line-height:1.6}.toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:10px;padding:12px;margin-bottom:16px}.catalog-result{grid-column:1/-1;justify-content:space-between;min-height:30px}.toolbar input,.toolbar select{min-height:44px;padding:9px;font-size:11px}.catalog-grid{grid-template-columns:1fr;gap:13px}.catalog-art{height:160px}.catalog-art .preview{scale:.72}.catalog-art .guess-preview,.catalog-art .reflex-preview,.catalog-art .quiz-art,.catalog-art .mini-deck,.catalog-art .wheel-art,.catalog-art .mosaic-art,.catalog-art .lights-art,.catalog-art .puzzle-art,.catalog-art .emblem-art,.catalog-art .slide-puzzle{scale:.68}.card-body{padding:16px}.card-body h3{font-size:18px}.card-body p{min-height:0;margin-bottom:15px;font-size:12px}.actions{grid-template-columns:1fr 1fr}.actions button{min-height:42px;font-size:11px}}
@media(max-width:360px){.toolbar{grid-template-columns:1fr}.catalog-result{grid-column:auto}.catalog-intro h1{font-size:40px}.actions{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.catalog-card{transition:none}}
.type-arrow{display:none}
.type-choice .studio-game-art{height:72px}
.type-choice .studio-game-art .preview{scale:.48}
.type-choice .mini-deck,.type-choice .wheel-art,.type-choice .mosaic-art,.type-choice .lights-art,.type-choice .puzzle-art,.type-choice .emblem-art{scale:.48}
.type-choice .quiz-art{scale:.48}
.type-choice .slide-puzzle{scale:.48}
.template-live-card .studio-game-art .preview{scale:.58}
.template-live-card .mini-deck,.template-live-card .wheel-art,.template-live-card .mosaic-art,.template-live-card .lights-art,.template-live-card .puzzle-art,.template-live-card .emblem-art,.template-live-card .quiz-art,.template-live-card .slide-puzzle{scale:.54}
.template-thumb .preview{scale:.43}
.template-thumb .slide-puzzle,.template-thumb .quiz-art,.template-thumb .mini-deck,.template-thumb .wheel-art,.template-thumb .mosaic-art,.template-thumb .lights-art,.template-thumb .puzzle-art,.template-thumb .emblem-art{scale:.43}
.type-choice .studio-game-art{height:94px}
.type-choice .studio-game-art .preview,.type-choice .mini-deck,.type-choice .wheel-art,.type-choice .mosaic-art,.type-choice .lights-art,.type-choice .puzzle-art,.type-choice .emblem-art,.type-choice .slide-puzzle{scale:.58}
.type-choice .quiz-art{scale:.5}
@media(max-width:620px){.type-choice .studio-game-art{height:88px}.type-choice .studio-game-art .preview,.type-choice .mini-deck,.type-choice .wheel-art,.type-choice .mosaic-art,.type-choice .lights-art,.type-choice .puzzle-art,.type-choice .emblem-art,.type-choice .slide-puzzle{scale:.52}}
/* Studio workspace: projects are the main working surface. */
body{background:#f6f4ef}
main{padding-top:36px}
.dashboard-head{grid-template-columns:minmax(0,1fr) minmax(240px,340px);gap:36px;padding:0 0 28px;border-bottom:1px solid var(--line)}
.dashboard-head h1{font-size:clamp(38px,4vw,54px);margin-bottom:10px}
.dashboard-head .eyebrow{margin-bottom:9px}
.welcome-copy .lead{font-size:14px;line-height:1.6;max-width:450px}
.start-card{padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;color:var(--ink);text-align:right}
.start-card .primary{min-width:170px}
.start-card #creationAllowance{font-size:12px;line-height:1.5;color:#596577;margin:10px 0 0}
.start-card #accountQuota{font-size:11px;line-height:1.6;color:#647083;margin:6px 0 0}
#accountQuota a{display:inline-block;color:var(--orange-dark);text-decoration:underline;text-underline-offset:3px;min-height:28px}
.projects-section{padding-top:28px}
.project-count{font-size:13px;color:#596577}
.project-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,.4fr);gap:16px;margin-bottom:20px}
.project-tools label{display:grid;gap:6px;font-size:12px;font-weight:600;color:#596577}
.project-tools input,.project-tools select{width:100%;min-width:0;min-height:46px;padding:10px 12px;border:1px solid #ccd4de;border-radius:7px;background:#fff;font-size:14px;color:var(--ink)}
.project-details strong{font-size:15px}.project-details>span{font-size:12px}.project-state{font-size:11px}.project-row{padding:18px 4px}.project-row>.secondary{font-size:13px;min-height:44px}
.project-matches{padding:22px;border:1px dashed #cbd2dc;border-radius:8px;background:white;font-size:14px}
.dashboard .howto{margin-top:30px;padding:0;border:1px solid var(--line);border-radius:9px;background:#fff}
.howto summary{cursor:pointer;min-height:48px;padding:14px 18px;font-size:13px;font-weight:600;color:#596577}
.howto .steps{padding:6px 18px 22px}.steps b{font-size:13px}.steps p{font-size:12px}
.dashboard-footer,.dashboard-footer .text-button{font-size:13px}
.catalog-type .card-body>.secondary{margin-top:auto;min-height:46px;text-align:left}
.catalog-type .card-body p{min-height:62px}
.catalog-intro h1{font-size:clamp(38px,4.7vw,58px)}
.catalog-card{box-shadow:none;border-radius:10px}.catalog-card:hover{box-shadow:0 6px 18px #1723330b}
.catalog-art.studio-game-art{height:180px;border-radius:0;background:#20242c}
.template-preview{display:inline-flex;align-items:center;min-height:44px;margin:0 16px 12px;padding:8px 0;font-size:14px;font-weight:600;color:var(--orange-dark)}
.template-name{font-size:15px}.template-description{font-size:13px;line-height:1.6}.template-select-label{font-size:12px}.template-heading>p{font-size:13px}.flow-heading p{font-size:14px}.type-description{font-size:12px;line-height:1.6}.type-choice strong{font-size:17px}.type-number{display:none}
.template-pick .template-thumb{height:136px!important;min-height:136px!important;display:flex;align-items:center;justify-content:center;margin-bottom:10px}
.template-pick .template-thumb .wheel-art{scale:.62}
.template-pick .template-thumb .preview{scale:.65}
.template-live-card .studio-game-art{height:160px}
.template-live-card strong{font-size:16px}
.type-choice .studio-game-art{height:126px;min-height:126px}
.type-choice .studio-game-art .wheel-art{scale:.62}
.project-name{font-size:13px}.project-name input{font-size:15px}.picked-type .text-button{font-size:13px}.back-button{min-height:44px;font-size:13px}.blank-choice b{font-size:14px}.blank-choice small{font-size:13px}.quiet{min-width:44px;min-height:44px}.toolbar label{font-size:12px}.status-message{font-size:13px}
#preview .preview-tools button{font-size:13px;min-height:44px}#preview .dialog-foot .primary{font-size:13px}#preview .preview-body>p{font-size:12px}#preview .preview-body{background:#1b2230}#preview .dialog-foot{background:#fff}
@media(max-width:620px){
 main{width:calc(100% - 32px);padding-top:26px}
 .app-header{flex-wrap:wrap;gap:12px}.header-context{font-size:9px}.header-login{min-height:44px;font-size:12px}.client-picker{order:3;max-width:none;width:100%;grid-template-columns:auto 1fr}.client-picker>span{font-size:11px}.client-picker select{font-size:14px;min-height:44px}
 .dashboard-head{grid-template-columns:1fr;gap:20px;padding-bottom:24px}.dashboard-head h1{font-size:40px}.start-card{text-align:left}.start-card .primary{width:100%;font-size:15px}.start-card #creationAllowance{font-size:13px}.start-card #accountQuota{font-size:12px}
 .projects-section{padding-top:25px}.section-heading{gap:10px}.section-heading h2{font-size:23px}.project-tools{grid-template-columns:1fr;gap:12px}.project-tools input,.project-tools select{font-size:16px}
 .project-row{grid-template-columns:36px minmax(0,1fr);gap:8px 12px;padding:17px 0}.project-icon{grid-row:1/3}.project-details strong{font-size:15px}.project-details>span{font-size:12px}.project-state{grid-column:2;grid-row:2;font-size:11px}.project-row>.secondary{grid-column:2;grid-row:3;justify-self:start;min-height:44px;font-size:14px;padding:10px 14px;margin-top:4px}.project-count{font-size:12px}
 .howto .steps{gap:20px}.steps b{font-size:13px}.steps p{font-size:12px}.dashboard-footer{flex-wrap:wrap;justify-content:flex-start;font-size:12px;gap:0}.dashboard-footer .text-button{min-height:44px;font-size:14px}
 .type-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.type-choice{padding:12px;min-width:0}.type-choice strong{font-size:15px}.type-description{font-size:12px}.type-choice .studio-game-art{height:112px;min-height:112px}.type-choice .studio-game-art .wheel-art{scale:.55}
 .template-pick{padding:16px}.template-name{font-size:16px}.template-description{font-size:14px}.template-select-label{font-size:13px}.template-preview{min-height:44px;font-size:14px;margin:0 16px 12px}.template-heading>p,.flow-heading p{font-size:14px}.template-live-card .studio-game-art{height:160px}.template-live-card .eyebrow{font-size:10px}
 .catalog-intro>div>p:last-child{font-size:14px}.toolbar{grid-template-columns:1fr}.toolbar label{font-size:12px}.toolbar input,.toolbar select{font-size:16px;min-height:46px}.clear-filters{font-size:13px;min-height:44px}.catalog-result{grid-column:auto}.actions button{min-height:46px;font-size:14px}.card-body p{font-size:14px}.catalog-type .card-body p{min-height:0}.catalog-type .card-body>.secondary{font-size:14px}.catalog-intro .return-dashboard{min-height:44px;font-size:13px}
 .project-name,.blank-choice small{font-size:13px}.project-name input{font-size:16px}.create-footer .primary{min-height:48px;font-size:14px}.flow-heading h1{font-size:35px}.flow-topline{margin-top:24px}.back-button{font-size:14px}.picked-type .text-button{min-height:44px;font-size:13px}
 #preview .preview-tools{flex-wrap:wrap;gap:8px}#preview .preview-tools button{min-height:44px;font-size:13px}#preview .formats button{min-width:70px}#preview .preview-tools>.quiet{min-width:132px}#preview .dialog-foot .primary{font-size:14px;min-height:46px}#preview .dialog-foot p{font-size:13px}#preview .preview-body>p{font-size:12px}.empty-projects h3{font-size:15px}.empty-projects p{font-size:13px}.empty-projects .secondary{font-size:13px;min-height:44px}.resume-banner,.error-banner{font-size:13px}.resume-banner .secondary{min-height:44px;font-size:13px}
}
.project-state.is-pending{background:#f5ead7;color:#805311}
/* Keep the scene centered inside its viewport even when its unscaled layout is taller. */
body .game-art{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);place-items:center}
body .game-art>div{margin-top:0;flex-shrink:0}

.template-live-card #templateLiveDescription{margin:10px 0 0;color:var(--muted);font-size:14px;line-height:1.65}
.template-choice.is-selected .template-select-label{color:#287866;font-weight:700}
.template-choice.is-selected{border-width:2px;background:#fffdf9}

/* v1.15 — narzędzia konta w nagłówku, zespół, marki, powiadomienia, wyszukiwarka */
.account-tools{display:flex;align-items:center;gap:8px;margin-left:auto}
.account-tools:not([hidden])~.header-login{margin-left:0}
.header-tool{position:relative;display:inline-flex;align-items:center;gap:8px;min-height:44px;min-width:44px;justify-content:center;padding:8px 12px;border:1px solid #505a6b;border-radius:9px;background:#272f3c;color:#fff;font:600 12px var(--body);cursor:pointer}
.header-tool:hover{border-color:#f0a66b;background:#303947}
.header-tool svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.header-tool kbd{font:11px ui-monospace,Menlo,monospace;border:1px solid #5b6577;border-radius:5px;padding:1px 5px;color:#d4d8e0}
.tool-badge{position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#b80050;color:#fff;font-size:11px;line-height:20px;text-align:center;font-weight:700}
.small-modal{max-width:560px}
.small-modal[open],.palette-modal[open]{height:auto!important}
.small-body{display:grid;gap:12px;padding:18px 22px 22px;background:#fff}
.small-muted{color:var(--muted);font-size:12.5px;margin:0;overflow-wrap:anywhere}
.menu-row{display:grid;gap:2px;text-align:left;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);cursor:pointer;font:inherit}
.menu-row:hover{border-color:#c4c9d2;background:#f6f7f9}.menu-row b{font-size:14px}.menu-row span{font-size:12.5px;color:var(--muted)}
.plain-list{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.list-title{margin:6px 0 0;font-size:12px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
.list-row{display:flex;align-items:center;gap:12px;padding:10px 4px;border-top:1px solid #eceef2}
.list-row:first-child{border-top:0}.list-row.is-unread .list-main b::before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;background:#b80050;margin-right:8px;vertical-align:1px}
.list-main{display:grid;gap:2px;flex:1;min-width:0}.list-main b{font-size:14px}
.inline-form{display:grid;gap:12px;padding-top:12px;border-top:1px solid #eceef2}
.inline-form label{display:grid;gap:6px;font-size:12.5px;font-weight:600}
.inline-form input,.inline-form select{min-height:44px;padding:9px 12px;border:1px solid #cbd3de;border-radius:9px;background:#fff;font:14px var(--body)}
.inline-form input[type=color]{padding:4px;width:100%}
.color-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.form-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.brand-swatch{flex:none;width:40px;height:40px;border-radius:10px;background:linear-gradient(135deg,var(--a) 50%,var(--b) 50%);border:1px solid #e3e6ec}
.text-button{min-height:44px}
.forgot-row{margin:-6px 0 0;padding:0 22px 18px}.forgot-row .text-button{padding:0;background:none;color:var(--orange-dark);font-size:12.5px;min-height:44px}
.palette-modal{max-width:640px;margin-top:12vh;border-radius:16px;background:#fff}
.palette-box{display:flex;flex-direction:column;max-height:min(70dvh,560px)}
.palette-input{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid var(--line)}
.palette-input svg{width:20px;height:20px;fill:none;stroke:#4a505c;stroke-width:1.8;stroke-linecap:round;flex:none}
.palette-input input{flex:1;min-width:0;border:0;outline:0;font:16px var(--body);min-height:40px;background:transparent}
.palette-input kbd{font:11px ui-monospace,Menlo,monospace;border:1px solid #d3d8e1;border-radius:5px;padding:1px 6px;color:var(--muted)}
#paletteList{list-style:none;margin:0;padding:6px;overflow:auto}
.palette-group{padding:10px 10px 4px;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.palette-item{display:grid;gap:1px;padding:10px 12px;border-radius:10px;cursor:pointer}.palette-item b{font-size:14px}.palette-item span{font-size:12.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.palette-item.is-active,.palette-item:hover{background:#fff1f6}.palette-item.is-active b{color:#99003f}
.palette-empty{padding:18px 12px;color:var(--muted);font-size:13px}
.project-meta{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:4px}
.meta-chip{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:7px;background:#1b2230;color:#fff;font-size:11px;font-weight:600}
.meta-chip.is-pending{background:#fff4e0;color:#8f4a00}.meta-chip.is-error{background:#fdecec;color:#9b1c2e}.meta-chip.is-live{background:#fff1f6;color:#b80050}
.meta-text{font-size:11.5px;color:var(--muted)}
@media(max-width:620px){.tool-label,.header-tool kbd{display:none}.header-tool{padding:8px;min-width:44px}.account-tools{gap:6px}.color-row{grid-template-columns:1fr 1fr 1fr;gap:6px}.palette-modal{margin-top:8px}.app-header{flex-wrap:wrap}}
@media(max-width:380px){.header-context{display:none}}
