/* Reference-inspired public front · anti-slop: P4 H5 E4 S5 R4 V4 */
:root{--ocean:#2563eb;--ocean-bright:#06a7df;--ocean-ink:#14243d;--ocean-muted:#677b94;--ocean-line:#e1eaf5;--ocean-soft:#eff6ff;--ocean-white:#fff;--ocean-bg:#fbfdff;--ocean-glow:#dff4ff;--ocean-shadow:#1e58a112;--ocean-grid:#3279dc12}
[hidden]{display:none!important}body .primary,body a.primary{background:linear-gradient(110deg,var(--ocean-bright),var(--ocean));color:var(--ocean-white);border-radius:10px;box-shadow:0 7px 18px var(--ocean-shadow)}body .primary:hover{filter:brightness(1.06)}body .secondary{background:var(--ocean-white);border:1px solid var(--ocean-line);color:var(--ocean-ink)}body .public-brand,body .public-links{display:none}body .login-gate{max-width:760px;margin:60px auto;padding:65px 32px;text-align:center}body .login-gate h2{font-size:30px;color:var(--ocean-ink);margin:20px 0 15px}body .login-gate p{color:var(--ocean-muted);line-height:1.9;margin-bottom:28px}.gate-mark{width:64px;height:64px;display:grid;place-items:center;border-radius:18px;background:var(--ocean-soft);color:var(--ocean);font-size:36px;margin:0 auto 25px}.gate-home{display:block;margin-top:22px;color:var(--ocean-muted);font-size:13px}.login-gate .notice{margin-top:40px}
body.public-mode{background:var(--ocean-bg);color:var(--ocean-ink)}body.public-mode .sidebar{display:none}body.public-mode .shell{margin-left:0;width:100%}body.public-mode header{height:82px;position:sticky;top:0;z-index:20;display:flex;align-items:center;padding:0 max(5vw,24px);background:var(--ocean-white);border-bottom:1px solid var(--ocean-line);gap:30px}body.public-mode .breadcrumb,body.public-mode .cloud-badge{display:none}body.public-mode .public-brand{display:flex;align-items:center;gap:10px;white-space:nowrap}.public-logo{width:39px;height:39px;display:grid;place-items:center;background:linear-gradient(135deg,var(--ocean-bright),var(--ocean));color:var(--ocean-white);border-radius:12px;font-size:23px}.public-brand strong{font-size:20px;letter-spacing:-.7px}.public-brand small{background:var(--ocean-soft);color:var(--ocean);padding:6px 10px;border-radius:20px;font-size:10px}body.public-mode .public-links{display:flex;margin:auto;gap:28px;padding:0}body.public-mode .public-links a{font-size:13px;color:var(--ocean-muted);padding:10px 0}body.public-mode .header-right{margin-left:auto;gap:16px}body.public-mode .user-button{border:0;background:transparent;padding:10px;color:var(--ocean-ink)}body.public-mode header .primary{padding:11px 22px}body.public-mode main{max-width:none;padding:0;margin:0}body.public-mode footer{max-width:1160px;margin:0 auto;padding:30px 24px;border-top:1px solid var(--ocean-line);color:var(--ocean-muted)}
.landing-hero{text-align:center;padding:88px 24px 64px;background:radial-gradient(ellipse at 50% 0,var(--ocean-glow),transparent 66%),linear-gradient(180deg,var(--ocean-soft),var(--ocean-bg));overflow:hidden}.landing-kicker{display:inline-block;padding:8px 17px;border:1px solid var(--ocean-line);border-radius:30px;background:var(--ocean-white);color:var(--ocean);font-size:12px;letter-spacing:1px}.landing-hero h1{font-size:clamp(38px,5.3vw,70px);line-height:1.25;letter-spacing:-2px;font-weight:800;margin:30px 0 22px}.landing-hero h1 span{background:linear-gradient(110deg,var(--ocean-bright),var(--ocean));color:transparent;background-clip:text}.landing-lead{font-size:16px;color:var(--ocean-muted);line-height:1.9;margin:0 auto;max-width:760px}.landing-actions{display:flex;align-items:center;justify-content:center;gap:16px;margin:30px 0 22px}.landing-actions .primary,.landing-actions .secondary{padding:15px 30px;min-width:176px;display:inline-block;font-size:14px}.landing-actions .primary span{margin-left:16px}.landing-note{font-size:11px;color:var(--ocean-muted);letter-spacing:.5px}.design-strip{max-width:810px;margin:46px auto 0;display:grid;grid-template-columns:1fr 48px 1fr 48px 1fr;align-items:center;text-align:left}.design-strip>div:not(.strip-plus){height:216px;border:1px solid var(--ocean-line);background:var(--ocean-white);padding:18px 22px;border-radius:15px;box-shadow:0 12px 32px var(--ocean-shadow);overflow:hidden}.design-strip span{font-size:9px;letter-spacing:1.7px;color:var(--ocean-muted);display:block}.design-strip strong{display:block;font-size:15px;margin-top:9px}.fabric-pattern{height:128px;border-radius:7px;margin-top:15px;background:repeating-radial-gradient(ellipse at 30% 20%,var(--ocean-bright) 0 8px,var(--ocean-soft) 9px 18px,var(--ocean) 19px 25px,var(--ocean-glow) 26px 38px)}.sample-pattern svg{display:block;width:135px;height:137px;margin:5px auto}.design-strip .sample-result{background:linear-gradient(145deg,var(--ocean-soft),var(--ocean-white))!important}.sample-result p{color:var(--ocean);line-height:1.8;margin:17px 0 8px;font-size:14px}.sample-result small{font-size:9px;color:var(--ocean-muted)}.strip-plus{text-align:center;color:var(--ocean);font-size:25px}
.landing-section{max-width:1160px;margin:0 auto;padding:75px 28px;scroll-margin-top:75px}.landing-section-title{text-align:center;margin-bottom:40px}.landing-section-title>span{font-size:10px;letter-spacing:2px;color:var(--ocean)}.landing-section-title h2{font-size:30px;line-height:1.4;margin:13px 0 12px;letter-spacing:-.8px}.landing-section-title p{font-size:13px;color:var(--ocean-muted);line-height:1.8}.landing-benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}.landing-benefits article{border:1px solid var(--ocean-line);padding:27px 23px;border-radius:14px;background:var(--ocean-white)}.benefit-number{font-size:18px;color:var(--ocean);background:var(--ocean-soft);width:42px;height:42px;display:grid;place-items:center;border-radius:12px}.landing-benefits h3{font-size:16px;margin:23px 0 10px}.landing-benefits p,.landing-steps p{font-size:12px;line-height:1.9;color:var(--ocean-muted)}.landing-tools{border-top:1px solid var(--ocean-line);border-bottom:1px solid var(--ocean-line)}body.public-mode .design-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}body.public-mode .design-card{background:var(--ocean-white);border:1px solid var(--ocean-line);border-radius:13px;padding:25px;min-height:190px}body.public-mode .card-icon{color:var(--ocean);background:var(--ocean-soft)}body.public-mode .design-card .tag{color:var(--ocean);background:var(--ocean-soft)}body.public-mode .design-card p{color:var(--ocean-muted);line-height:1.8}body.public-mode .design-card:hover{border-color:var(--ocean);transform:translateY(-3px)}.landing-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:36px}.landing-steps article{border-top:1px solid var(--ocean-line);padding-top:23px}.landing-steps article>span{font-size:32px;color:var(--ocean);font-weight:300}.landing-steps h3{font-size:15px;margin:20px 0 10px}body.public-mode .plans{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}body.public-mode .plan{position:relative;background:var(--ocean-white);border:1px solid var(--ocean-line);padding:35px 28px;border-radius:15px}body.public-mode .plan.featured{border:2px solid var(--ocean);background:var(--ocean-soft)}body.public-mode .price{font-size:43px;color:var(--ocean-ink);margin:22px 0 16px}body.public-mode .price small{font-size:22px;margin-right:3px}body.public-mode .plan h3{font-size:18px}body.public-mode .plan ul{list-style:none;padding:0;line-height:2.9;font-size:12px;color:var(--ocean-muted);margin:24px 0}body.public-mode .plan li:before{content:'✓';color:var(--ocean);margin-right:10px}.plan-label{position:absolute;top:-13px;left:50%;transform:translateX(-50%);background:var(--ocean);color:var(--ocean-white);border-radius:20px;font-size:10px;padding:6px 17px;white-space:nowrap}.pricing-footnote{text-align:center;color:var(--ocean-muted);font-size:11px;margin-top:27px;line-height:2}.landing-final{text-align:center;padding:64px 24px 76px;background:linear-gradient(130deg,var(--ocean-soft),var(--ocean-glow))}.landing-final h2{font-size:30px;margin:0 0 15px}.landing-final p{color:var(--ocean-muted);font-size:13px;margin-bottom:27px}.landing-final button{padding:15px 25px}body.public-mode .page-heading{max-width:1160px;margin:40px auto;padding:0 28px}button:focus-visible,a:focus-visible{outline:3px solid var(--ocean-bright);outline-offset:4px}
@media(min-width:1600px){.landing-hero{padding-top:100px}}@media(max-width:900px){body.public-mode .public-links{display:none}body.public-mode .public-brand small{display:none}.landing-benefits,.landing-steps{grid-template-columns:repeat(2,1fr)}body.public-mode .design-grid{grid-template-columns:repeat(2,1fr)}.landing-section{padding:50px 24px}.landing-hero{padding-top:56px}}@media(max-width:600px){body.public-mode header{height:70px;padding:0 16px;gap:8px}.public-brand strong{font-size:15px}.public-logo{width:32px;height:32px;font-size:19px}body.public-mode .header-right{gap:4px}body.public-mode header .primary{padding:10px 12px;font-size:11px}.landing-hero{padding:48px 19px 40px}.landing-hero h1{letter-spacing:-1.5px}.landing-lead{font-size:13px}.landing-lead br{display:none}.landing-kicker{font-size:10px}.landing-actions{gap:10px}.landing-actions .primary,.landing-actions .secondary{min-width:0;padding:13px 19px;font-size:12px}.landing-note{font-size:9px}.design-strip{grid-template-columns:1fr 20px 1fr 20px 1fr;margin-top:34px}.design-strip>div:not(.strip-plus){height:154px;padding:12px 9px;border-radius:9px}.design-strip span{font-size:6px;letter-spacing:.3px}.design-strip strong{font-size:10px}.strip-plus{font-size:16px}.fabric-pattern{height:89px;margin-top:10px}.sample-pattern svg{width:85px;height:96px;margin:0 auto}.sample-result p{font-size:11px;line-height:1.6;margin:12px 0}.sample-result small{font-size:7px}.landing-section{padding:42px 20px}.landing-section-title h2,.landing-final h2{font-size:24px}.landing-benefits{gap:12px}.landing-benefits article{padding:19px 15px}.landing-benefits h3{font-size:13px}.landing-benefits p{font-size:11px}.landing-steps{gap:22px}body.public-mode .plans,body.public-mode .design-grid{grid-template-columns:1fr}body.public-mode .design-card{min-height:170px}body.public-mode .plan{padding:28px}.landing-final{padding:45px 20px}.landing-gate{margin:30px 15px}body.public-mode .login-gate{margin:30px 16px;padding:45px 20px}body.public-mode footer{font-size:9px}body.public-mode footer span{display:block;margin-top:10px}}
:root{font-family:Inter,"Microsoft YaHei",sans-serif;color:#26343c;background:#f7f8fa;font-synthesis:none;font-size:14px;--teal:#137d75;--line:#e7ecee;--muted:#859198}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a.primary{cursor:pointer}button{border:0;background:transparent;color:inherit}button:disabled{opacity:.55;cursor:wait}input,textarea,select{border:1px solid #dfe6e8;border-radius:9px;padding:11px 13px;background:white;color:#26343c;outline:none;width:100%}input:focus,textarea:focus,select:focus{border-color:#399c93;box-shadow:0 0 0 3px #e1f3ef}textarea{resize:vertical;line-height:1.8}label{display:block;font-weight:600;font-size:13px;margin-bottom:18px}label input,label select,label textarea{display:block;margin-top:9px;font-weight:400}.sidebar{position:fixed;width:246px;top:0;bottom:0;background:#fff;border-right:1px solid var(--line);padding:32px 20px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;font-size:18px;font-weight:700;letter-spacing:.3px;padding:0 9px 35px}.brand-icon{height:39px;width:39px;display:grid;place-items:center;background:#157e77;color:white;border-radius:12px;font-family:Georgia,serif;font-size:28px;font-style:italic}.brand small{display:block;font-size:8px;letter-spacing:1.8px;color:#99a3aa;font-weight:500;margin-top:5px}.nav-label{font-size:10px;color:#a0aab1;letter-spacing:1px;margin:22px 14px 12px}nav a{display:flex;align-items:center;gap:12px;padding:13px 14px;border-radius:9px;color:#839098;margin:5px 0;font-size:17px}nav a span{font-size:13px}nav a.active{background:#eaf5f1;color:#127c72;font-weight:600}nav a:hover{background:#f4f7f7}nav b{font-size:8px;font-weight:500;padding:3px 5px;background:#d7eee4;border-radius:4px;margin-left:auto}.sidebar-footer{margin-top:auto;padding:20px 10px 0;font-size:11px;color:#6d8284}.sidebar-footer small{display:block;color:#a2adb3;font-size:10px;padding-top:8px}.status-dot{display:inline-block;width:6px;height:6px;background:#33a387;border-radius:50%;margin-right:7px}.shell{margin-left:246px}header{height:82px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px}.breadcrumb{font-size:12px;color:#9aa5ad}.breadcrumb span{margin:0 14px;color:#ced6da}.breadcrumb strong{color:#55636a;font-weight:500}.header-right{display:flex;gap:20px;align-items:center}.cloud-badge{font-size:10px;border:1px solid #dcebe5;padding:5px 9px;border-radius:16px;color:#6e9b8b}.user-button{font-size:12px;padding:8px 12px;background:#f3f6f6;border-radius:8px}main{padding:36px 42px;min-height:calc(100vh - 145px);max-width:1600px;margin:auto}footer{padding:22px 42px;color:#b3bec3;font-size:9px;letter-spacing:1.2px;border-top:1px solid var(--line);display:flex;justify-content:space-between}footer span{letter-spacing:.5px}.eyebrow{font-size:10px;letter-spacing:1.4px;color:#81a49c}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px}h1{font-size:25px;font-weight:600;margin:8px 0 11px;letter-spacing:.3px}h2{font-size:20px;font-weight:600;margin:10px 0}h3{font-size:15px;font-weight:600;margin:0}.muted{font-size:12px;color:#89969e;line-height:1.8}.primary{display:inline-block;background:#157f76;color:#fff;border:1px solid #157f76;padding:11px 20px;border-radius:8px;font-size:12px;font-weight:600;text-align:center}.primary:hover{background:#0c6c64}.secondary{background:#fff;border:1px solid #dce5e8;border-radius:8px;padding:10px 16px;font-size:12px}.secondary:hover{background:#f4f8f7}.text-button{font-size:12px;color:#33867d;padding:10px}.icon-button{font-size:25px;color:#83969e}.full{width:100%;margin-top:8px}.hero{background:#eaf2ef;border:1px solid #dceae4;border-radius:14px;padding:29px 32px;display:flex;min-height:190px;position:relative;overflow:hidden;align-items:center;justify-content:space-between}.hero:after{content:"";position:absolute;width:290px;height:290px;border:45px solid #d4e7df77;border-radius:50%;right:115px;top:30px;transform:rotate(-20deg)}.hero-content{position:relative;z-index:1}.hero h2{font-size:25px;line-height:1.6}.hero p{color:#78958c;font-size:12px}.hero .primary{margin-top:10px}.hero-art{position:relative;width:220px;height:120px;z-index:1;margin-right:10px}.swatch{position:absolute;width:80px;height:114px;border-radius:6px;background:#dbe6d8;box-shadow:0 10px 18px #54836c20;transform:rotate(-18deg);left:40px;top:8px;border:4px solid white}.swatch:nth-child(2){background:repeating-linear-gradient(45deg,#9ebbb5 0 6px,#d9e5dd 6px 12px);transform:rotate(3deg);left:92px;top:0}.swatch:nth-child(3){background:radial-gradient(ellipse at 10px 20px,#da9e7e 3px,transparent 4px),radial-gradient(ellipse at 30px 40px,#70928a 5px,transparent 6px),#f1e8d8;background-size:40px 50px;transform:rotate(20deg);left:145px;top:10px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin:23px 0 31px}.stat{background:white;border:1px solid var(--line);border-radius:11px;padding:21px 23px}.stat-label{color:#92a0a7;font-size:11px}.stat-number{font-size:27px;font-weight:600;letter-spacing:.5px;margin:14px 0 9px}.stat-number small{font-size:10px;color:#b0bbc1;font-weight:400;margin-left:7px}.stat-note{font-size:10px;color:#a0aeb6}.section-head{display:flex;align-items:center;justify-content:space-between;margin:28px 0 17px}.section-head p{margin:6px 0 0}.design-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.design-card{border:1px solid var(--line);background:white;border-radius:12px;padding:22px;transition:transform .2s,border .2s;min-height:182px;position:relative}.design-card:hover{transform:translateY(-3px);border-color:#9ec9bd}.design-card .card-icon{width:39px;height:39px;border-radius:10px;display:grid;place-items:center;background:#edf6f1;color:#3e9582;font-size:22px;margin-bottom:20px}.design-card:nth-child(2) .card-icon{background:#f7f0e7;color:#b39268}.design-card:nth-child(3) .card-icon{background:#eeeef7;color:#8984ae}.design-card:nth-child(4) .card-icon{background:#edf3f8;color:#7f9eb6}.design-card:nth-child(5) .card-icon{background:#f7eff1;color:#c092a3}.design-card h3{font-size:14px}.design-card p{font-size:11px;color:#9ba6ac;line-height:1.8;margin:10px 0 0}.tag{font-size:9px;padding:4px 7px;border-radius:5px;background:#ecf7ef;color:#539d7d;position:absolute;right:20px;top:23px}.tag.pending{background:#f4f5f7;color:#a6aeb4}.design-card .arrow{position:absolute;right:22px;bottom:22px;color:#96b3aa}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:25px;margin-bottom:22px}.notice{padding:14px 18px;background:#f0f7f4;border:1px solid #e0eee7;color:#79968b;font-size:11px;line-height:1.8;border-radius:8px;margin:18px 0}.work-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:0}.work-layout>section{min-width:0}.uploads{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:22px 0}.upload{border:1px dashed #c6d9d3;border-radius:10px;padding:25px 15px;text-align:center;background:#fafcfb;min-height:190px;cursor:pointer;position:relative;overflow:hidden}.upload strong{display:block;font-size:12px;margin:12px 0 8px}.upload p{font-size:10px;color:#9baaa8}.upload input{position:absolute;inset:0;opacity:0;cursor:pointer}.upload img{width:100%;height:130px;object-fit:contain}.upload-symbol{font-size:30px;color:#9abdb0}.row{display:flex;gap:14px;align-items:end}.row label{flex:1}.row .primary{margin-bottom:18px}.empty-state{min-height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#a0adb3}.empty-symbol{font-size:43px;color:#c6d8d3;margin-bottom:15px}.empty-state h3{color:#839a92;font-size:14px;margin-bottom:10px}.empty-state p{font-size:11px;line-height:1.9}.plans{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.plan{padding:27px;border:1px solid var(--line);border-radius:12px;background:#fff}.plan.featured{border-color:#7bb5a7;box-shadow:0 4px 25px #39877208}.price{font-size:31px;font-weight:600;margin:23px 0;color:#267d6f}.price small{font-size:12px;margin-right:4px}.plan ul{padding-left:18px;color:#94a29f;font-size:12px;line-height:2.5}.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.image-card{border:1px solid var(--line);padding:13px;border-radius:10px}.image-placeholder{background:#f0f5f3;height:155px;display:grid;place-items:center;color:#99b3a9;border-radius:7px}.image-card small{display:block;margin:10px 0;font-size:10px;color:#97a7a0}.pager{display:flex;gap:12px;justify-content:flex-end;align-items:center;margin:20px 0}.pager select{width:100px}.tabs{display:flex;border-bottom:1px solid var(--line);gap:22px;margin-bottom:25px;flex-wrap:wrap}.tabs button{padding:12px 2px;color:#98a7a6;font-size:12px;border-bottom:2px solid transparent}.tabs button.active{border-color:var(--teal);color:var(--teal)}table{width:100%;border-collapse:collapse;font-size:11px;line-height:1.8}th{text-align:left;background:#f7f9f8;color:#98a6a2;font-weight:500}td,th{padding:13px;border-bottom:1px solid var(--line);word-break:break-all}.table-wrap{overflow:auto}.input-action{display:flex;gap:9px;align-items:center}.input-action button{white-space:nowrap}.input-action input{margin-top:0}dialog{border:1px solid var(--line);border-radius:16px;padding:30px;width:min(440px,94vw);box-shadow:0 20px 120px #344a5630}dialog::backdrop{background:#203e4559;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center}#image-dialog{width:min(900px,95vw)}#large-image{width:100%;max-height:70vh;object-fit:contain;display:block;margin:18px 0}.hint{font-size:11px;color:#9ba8a6;line-height:1.8}.error{color:#c46c60;font-size:12px;line-height:1.8;min-height:12px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);max-width:90vw;background:#28473f;color:white;font-size:12px;padding:14px 23px;border-radius:9px;box-shadow:0 8px 30px #253f3a20;z-index:100}.code-list{font-family:monospace;white-space:pre-wrap;word-break:break-all;background:#f3f7f5;padding:18px;font-size:12px;line-height:2}.loading{color:#8da89d;font-size:12px;padding:50px;text-align:center}[hidden]{display:none!important}@media(min-width:1500px){.design-grid{grid-template-columns:repeat(5,1fr)}}@media(max-width:1050px){.sidebar{width:205px;padding:26px 12px}.shell{margin-left:205px}header{padding:0 26px}main{padding:28px 26px}.brand{font-size:15px}.stats{gap:10px}.stat{padding:18px 14px}.design-grid{grid-template-columns:repeat(2,1fr)}.work-layout{grid-template-columns:1fr}.gallery{grid-template-columns:repeat(3,1fr)}.hero-art{display:none}}@media(max-width:720px){.sidebar{position:relative;width:100%;height:auto;padding:20px}.brand{padding:0 0 18px}.sidebar>.nav-label,.sidebar-footer{display:none}nav{display:flex;gap:5px;overflow:auto}nav .nav-label{display:none}nav a{flex-shrink:0;padding:10px;font-size:14px}nav a span{font-size:11px}nav b{display:none}.shell{margin:0}header{height:60px;padding:0 20px}.cloud-badge{display:none}.header-right{gap:6px}.breadcrumb{font-size:10px}main{padding:25px 20px}h1{font-size:22px}.page-heading{gap:12px}.page-heading>.primary{font-size:10px;padding:10px}.hero{padding:23px}.hero h2{font-size:20px}.stats{grid-template-columns:repeat(2,1fr);margin-bottom:23px}.stat-number{font-size:24px}.design-grid{gap:12px}.design-card{padding:18px;min-height:190px}.design-card p{font-size:10px}.tag{top:20px;right:13px;font-size:8px}.plans{grid-template-columns:1fr}.gallery{grid-template-columns:repeat(2,1fr)}.panel{padding:20px}.uploads{gap:10px}.upload{padding:22px 8px}.row{flex-wrap:wrap}footer{padding:20px}footer span{display:none}.tabs{gap:13px}}

#nav .connection-badge{margin-left:auto;white-space:nowrap;font-size:9px;padding:2px 4px;border-radius:4px;background:#edf1f5;color:#627082}#nav .connection-badge[data-state="connected"]{background:#def3e9;color:#237050}#nav .connection-badge[data-state="error"]{background:#fff0ee;color:#b83e35}

.uploads.free-create-uploads{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}.free-create-uploads>.upload{min-width:0}.free-create-uploads .upload p{overflow-wrap:anywhere}

.single-create-editor{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start;margin-bottom:20px}.single-create-editor>div{min-width:0;display:grid;grid-template-rows:20px 190px;gap:18px}.single-create-reference .section-head{margin:0;min-height:20px}.single-create-editor h3{margin:0;line-height:20px}.single-create-reference .uploads{grid-template-columns:minmax(0,1fr);margin:0;height:190px}.single-create-reference .upload{margin:0;height:190px;min-height:0}.single-create-reference .eyebrow,.single-create-supplement>p.muted:empty{display:none}.single-create-supplement textarea{display:block;margin:0;height:190px;min-height:190px;max-height:190px;resize:none}@media(max-width:600px){.single-create-editor{grid-template-columns:minmax(0,1fr);gap:20px}}

.free-create-actions{display:flex;flex-wrap:nowrap;align-items:center;gap:14px;margin-bottom:18px}.row .free-create-actions>.primary{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:96px;height:40px;padding:0 20px;margin:0;white-space:nowrap}

/* Single-line account metrics; dashboard cards remain unchanged. */
body:not(.public-mode) header{gap:18px;padding:14px 24px;min-height:72px;height:auto;flex-wrap:wrap}body:not(.public-mode) header .breadcrumb{flex:0 0 auto;white-space:nowrap}body:not(.public-mode) header .header-right{flex:0 0 auto;gap:10px;margin-left:auto}body:not(.public-mode) header .cloud-badge{display:none}.header-account-stats{display:flex;align-items:center;gap:8px;flex:1 1 540px;min-width:0;max-width:800px;overflow-x:auto;scrollbar-width:thin}.header-account-stats .stat{display:flex;align-items:center;gap:8px;flex:1 0 auto;padding:9px 12px;border:1px solid var(--ocean-line);border-radius:8px;background:var(--ocean-soft);white-space:nowrap;min-width:0}.header-account-stats .stat-label{font-size:11px;line-height:20px;color:var(--ocean-muted);white-space:nowrap}.header-account-stats .stat-number{font-size:17px;line-height:20px;margin:0;color:var(--ocean-ink);font-variant-numeric:tabular-nums;white-space:nowrap}.header-account-stats .stat-number small{font-size:10px;margin-left:4px;color:var(--ocean-muted)}.header-account-stats .stat-note{display:none}@media(max-width:1250px){body:not(.public-mode) header{gap:10px}.header-account-stats{order:3;flex-basis:100%;max-width:none}}@media(max-width:720px){body:not(.public-mode) header{padding:12px 20px}.header-account-stats{gap:6px}.header-account-stats .stat{padding:8px 10px;gap:6px}.header-account-stats .stat-label{font-size:10px}.header-account-stats .stat-number{font-size:16px}}

.job-image-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:16px 0 12px}.job-image-toolbar>span{margin-right:auto}.job-images{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px;margin-bottom:16px}.job-image-card{background:white;border:1px solid var(--ocean-line);border-radius:10px;padding:10px;min-width:0}.job-image-preview{display:flex;flex-direction:column;width:100%;gap:6px;color:var(--ocean-muted);font-size:10px}.job-image-preview img{width:100%;height:150px;object-fit:contain;background:var(--ocean-soft);border-radius:6px}.job-image-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}.job-image-controls label{display:flex;align-items:center;gap:5px;margin:0;font-size:11px;white-space:nowrap}.job-image-controls input{width:15px;height:15px;margin:0}.job-image-controls .secondary{font-size:11px;padding:7px 10px}@media(max-width:480px){.job-images{grid-template-columns:repeat(2,minmax(0,1fr))}.job-image-controls{flex-wrap:wrap}.job-image-preview img{height:120px}}

/* Gallery lists use private WebP thumbnails; originals are loaded on explicit preview only. */
.gallery .image-card{min-width:0}.gallery-image-preview{display:block;width:100%;padding:0;border-radius:8px;overflow:hidden;background:#f1f6f9;cursor:zoom-in}.gallery-image-preview img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;color:#718391;font-size:12px}.gallery-image-preview:focus-visible{outline:3px solid #438de6;outline-offset:3px}

/* Mobile layout: contain intrinsic widths instead of hiding page overflow. */
.shell,main,.panel,.notice,#admin-content,#job-list,#gallery-content{min-width:0}
.gallery,.stats,.plans,.design-grid,.uploads{min-width:0}
.gallery{grid-template-columns:repeat(4,minmax(0,1fr))}
.gallery>*,.stats>*,.plans>*,.design-grid>*,.uploads>*{min-width:0}
.notice,.image-card small,.panel p,.code-list{overflow-wrap:anywhere}
.table-wrap{max-width:100%;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
@media(max-width:1050px) and (min-width:721px){.gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){
 body:not(.public-mode) .sidebar{position:relative;inset:auto;width:100%;padding:16px 20px 10px;border-right:0;border-bottom:1px solid var(--line)}
 body:not(.public-mode) .sidebar .brand{padding:0 0 12px;font-size:17px}
 body:not(.public-mode) .sidebar>.nav-label,body:not(.public-mode) .sidebar-footer{display:none}
 /* Workspace links are visible in a four-column grid, without horizontal scrolling. */
 #nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:6px;max-width:100%;width:100%;overflow:visible;padding:0}
 #nav .nav-label{display:none}
 #nav>a{min-width:0;white-space:normal;margin:0;padding:9px 4px;min-height:62px;gap:5px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;font-size:18px;line-height:1.1;border:1px solid var(--ocean-line);border-radius:10px;background:#f8fafc;color:var(--ocean-muted)}
 #nav>a span{font-size:12px;line-height:1.4;white-space:nowrap}
 #nav>a:hover{background:var(--ocean-soft)}
 #nav>a.active{background:#e8f2ff;border-color:#a8c9f5;color:var(--ocean);font-weight:600;box-shadow:inset 0 0 0 1px #d3e5fc}
 #nav>a:focus-visible{outline:2px solid var(--ocean);outline-offset:2px}
 #nav #admin-nav{grid-column:1/-1;flex-direction:row;min-height:44px;gap:8px}
 #nav .connection-badge{display:none}
 body:not(.public-mode) .shell{margin-left:0;width:100%}
 body:not(.public-mode) header{padding:12px 20px}
 .single-create-editor{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:720px){
 body{width:100%;min-width:0}body:not(.public-mode) main{padding:22px 14px;min-height:60vh}
 body:not(.public-mode) .sidebar{padding:14px 14px 8px}
 body:not(.public-mode) header{padding:10px 14px;gap:8px}
 body:not(.public-mode) header .header-right{gap:5px}
 .header-account-stats{flex:1 1 100%;width:100%;max-width:100%;padding-bottom:3px}
 .header-account-stats .stat{flex:0 0 auto;padding:8px 10px}
 .page-heading{flex-wrap:wrap;align-items:flex-start;gap:12px;margin-bottom:20px}.page-heading>div{min-width:0;max-width:100%}
 h1{font-size:22px;line-height:1.45;overflow-wrap:anywhere}h2{line-height:1.5}h3{line-height:1.5}
 .panel{padding:16px;margin-bottom:16px;border-radius:11px}.section-head{gap:10px;flex-wrap:wrap;margin:18px 0 14px}
 .section-head h3{min-width:0}.section-head .eyebrow{font-size:9px}
 .primary,.secondary,.user-button,.text-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;line-height:1.4}
 input,select,textarea{font-size:16px;max-width:100%;min-width:0}input,select{min-height:44px}textarea{line-height:1.65}
 .row{display:flex;flex-wrap:wrap;gap:12px;align-items:stretch}.row>label{flex:1 1 100%;min-width:0;margin-bottom:0}
 .row>.primary,.row>.secondary{flex:1 1 100%;margin:0 0 8px}.row select,.row input{width:100%}
 .row .free-create-actions{display:flex;flex:1 1 100%;gap:10px;margin:0 0 8px;min-width:0}
 .row .free-create-actions>.primary{flex:1 1 0;min-width:0;min-height:44px;height:auto;padding:11px 8px}
 .uploads{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.upload{margin:0;min-width:0;padding:20px 10px;min-height:170px}.upload p{line-height:1.8}
 .uploads.free-create-uploads{grid-template-columns:repeat(2,minmax(0,1fr))}.free-create-uploads>.upload:last-child{grid-column:1/-1}
 .single-create-editor{gap:18px}.single-create-editor>div{grid-template-rows:auto 190px;gap:12px}.single-create-editor h3{line-height:22px}
 .notice{padding:13px 12px;font-size:12px}.muted{font-size:13px}.notice p{margin:8px 0}
 .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0 24px}.stat{padding:16px 12px}.stat-number{font-size:25px}.stat-note{line-height:1.6}
 .design-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.design-card{padding:17px;min-height:190px}.design-card h3{padding-right:0}.design-card .tag{position:static;display:inline-block;margin-bottom:10px}.design-card .card-icon{margin-bottom:12px}
 .plans{grid-template-columns:minmax(0,1fr);gap:14px}.plan{padding:24px}.hero{padding:22px}.hero h2{font-size:23px}.hero:after{pointer-events:none}
 .gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gallery .image-card{padding:8px;border-radius:9px}.gallery-image-preview{border-radius:6px}.gallery-image-preview img{width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}
 .image-card small{line-height:1.6;font-size:11px;margin:8px 0}.image-card>.secondary{font-size:12px;padding:9px 6px}
 .job-images{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.job-image-card{padding:8px}.job-image-preview{padding:0}.job-image-preview img{height:auto;aspect-ratio:3/2;object-fit:contain}
 .job-image-controls{display:flex;flex-wrap:wrap;gap:6px}.job-image-controls label{min-height:40px;font-size:12px}.job-image-controls input{width:20px;height:20px;min-height:0}.job-image-controls .secondary{width:100%;font-size:12px;padding:8px 5px}
 .job-image-toolbar{gap:8px}.job-image-toolbar>span{flex:1 1 100%}.job-image-toolbar>button{flex:1 1 auto;padding:10px;font-size:12px;white-space:normal}
 .pager{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-width:100%;margin:20px 0 4px}.pager>label{flex:1 1 100%;order:-1;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 4px!important}.pager label select{width:120px;margin:0}.pager>span{font-size:12px;white-space:normal;text-align:center;overflow-wrap:anywhere}.pager>button{padding:10px 12px;min-width:72px}
 .tabs{flex-wrap:nowrap;max-width:100%;overflow-x:auto;gap:16px;overscroll-behavior-x:contain;scrollbar-width:thin}.tabs>button{flex:0 0 auto;min-height:44px;white-space:nowrap;font-size:13px}
 .table-wrap{width:100%;min-width:0;border:1px solid var(--line);border-radius:8px}.table-wrap table{min-width:620px;font-size:12px}.table-wrap th,.table-wrap td{padding:12px 10px;word-break:normal;overflow-wrap:anywhere}.table-wrap button{white-space:nowrap}
 .input-action{flex-wrap:wrap;gap:10px}.input-action input{flex:1 1 100%}.input-action button{flex:1 1 100%}.code-list{white-space:pre-wrap;max-width:100%;padding:12px}
 dialog{width:calc(100vw - 24px);max-width:calc(100vw - 24px);padding:20px 16px;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain;border-radius:12px}
 .dialog-heading{gap:10px;align-items:flex-start}.dialog-heading>div{min-width:0}.dialog-heading .icon-button{flex:0 0 44px;min-height:44px;margin-top:-7px;margin-right:-7px}
 #image-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);padding:14px 10px}#large-image{display:block;width:100%;max-width:100%;height:auto;max-height:calc(100vh - 170px);max-height:calc(100dvh - 170px);object-fit:contain;margin:12px 0}#download-image{width:100%}
 footer{padding:18px 14px;padding-bottom:max(18px,env(safe-area-inset-bottom))}#toast{bottom:max(18px,env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 28px);overflow-wrap:anywhere}
 body.public-mode header{padding:0 12px;gap:6px}body.public-mode .public-brand{gap:6px;min-width:0}.public-brand strong{font-size:15px}body.public-mode .header-right{gap:2px}body.public-mode header .primary{padding:10px;font-size:12px}
 .landing-actions{flex-wrap:wrap}.design-strip{grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr) 14px minmax(0,1fr)}.design-strip>div:not(.strip-plus){min-width:0;padding:12px 6px}.sample-pattern svg{max-width:100%}
 .landing-benefits,.landing-steps{grid-template-columns:repeat(2,minmax(0,1fr))}body.public-mode .login-gate{margin:22px 12px;padding:30px 16px}
}
@media(max-width:480px){
 .uploads,.uploads.free-create-uploads{grid-template-columns:minmax(0,1fr)}.free-create-uploads>.upload:last-child{grid-column:auto}.upload{min-height:160px}.upload img{height:140px}
 .page-heading>.primary{width:100%}.job-image-toolbar>button{flex-basis:100%}
}
@media(max-width:360px){
 #nav>a span{font-size:11px}
 .design-grid{grid-template-columns:minmax(0,1fr)}.job-images{grid-template-columns:minmax(0,1fr)}
 .landing-benefits,.landing-steps{grid-template-columns:minmax(0,1fr)}body.public-mode .public-logo{display:none}.public-brand strong{font-size:14px}.pager>span{flex-basis:100%;order:3}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Gallery actions retain three equal buttons on phone and desktop. */
.gallery-top-actions{display:flex;gap:8px;flex-wrap:wrap}.gallery-results{min-width:0}.gallery-toolbar{margin-top:0}.gallery-select{display:flex;align-items:center;gap:7px;margin:0 0 9px;font-size:12px;min-height:32px}.gallery-select input{width:18px;height:18px;min-height:0;margin:0}.gallery-card-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:10px}.gallery-card-actions .secondary{padding:9px 3px;font-size:11px;min-width:0;white-space:nowrap;min-height:40px}.gallery-card-actions .gallery-delete{color:#b74840;border-color:#edd8d5}.gallery-card-actions button:focus-visible{outline:2px solid #438de6;outline-offset:2px}
@media(max-width:720px){.gallery-card-actions{gap:3px}.gallery-card-actions .secondary{padding:9px 1px;font-size:10px;min-height:44px;letter-spacing:-.3px}.gallery-select{min-height:36px}.gallery-top-actions{width:100%}.gallery-top-actions button{flex:1}.gallery-toolbar>button{flex:1 1 auto}}
@media(max-width:360px){.gallery-results .gallery{grid-template-columns:minmax(0,1fr)}.gallery-card-actions .secondary{font-size:12px;letter-spacing:0}}

.gallery-select-row{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap;margin-bottom:9px}.gallery-select-row .gallery-select{margin:0}.gallery-download-count{margin-left:auto;font-size:11px;line-height:1.5;color:#718391;white-space:nowrap;font-variant-numeric:tabular-nums}@media(max-width:720px){.gallery-select-row{gap:4px}.gallery-select-row .gallery-select{font-size:11px;gap:4px}.gallery-download-count{font-size:10px}}

.gallery-category-tabs{display:flex;gap:6px;flex:1 1 auto;align-items:center;min-width:0;overflow-x:auto;padding:3px 0;scrollbar-width:thin}.gallery-category-tabs .secondary{flex:0 0 auto;white-space:nowrap;padding:9px 12px;font-size:12px}.gallery-category-tabs .active{background:#e4f1ff;border-color:#5f9ede;color:#2467a8;font-weight:600}.gallery-category-tabs button:focus-visible{outline:2px solid #438de6;outline-offset:1px}@media(max-width:900px){.gallery-category-tabs{flex-basis:100%;order:3;max-width:100%;overscroll-behavior-x:contain}.gallery-category-tabs .secondary{min-height:44px}.gallery-top-actions{margin-left:auto}}

/* Leave breathing room between gallery totals and category controls. */
#gallery-total{flex:0 0 auto;margin-right:28px}.gallery-category-tabs{gap:10px;padding:5px 0}.gallery-category-tabs .secondary{padding:10px 15px}@media(max-width:900px){#gallery-total{margin-right:0}.gallery-category-tabs{margin-top:10px;gap:9px;padding:5px 0 8px}} 

.support-qr-preview{display:flex;align-items:center;justify-content:center;min-height:180px;margin:20px 0;text-align:center;color:#718391;background:#fff}.support-qr-preview img{display:block;width:auto;height:auto;max-width:100%;max-height:320px;object-fit:contain}#support-dialog .muted{overflow-wrap:anywhere}#support-dialog .icon-button{min-width:44px;min-height:44px}

.hero-auto-copy{position:relative;z-index:1;flex:1 1 320px;max-width:460px;margin:0 34px;padding:16px 0 16px 30px;border-left:1px solid #c9dedc}.hero-auto-copy h3{font-size:22px;line-height:1.5;color:#234654;margin:12px 0}.hero-auto-copy p{font-size:14px;line-height:1.9;margin:10px 0;color:#64828a}.hero-auto-copy .hero-auto-contact{font-size:13px;color:#287b92}.hero-content{min-width:0}.hero-art{flex:0 0 220px}@media(max-width:1200px){.hero-auto-copy{margin:0 0 0 24px;padding-left:24px;flex-basis:240px}.hero-auto-copy h3{font-size:20px}.hero-art{display:none}}@media(max-width:720px){.hero{flex-direction:column;align-items:stretch;gap:22px}.hero-auto-copy{flex:auto;max-width:none;margin:0;padding:20px 0 0;border-left:0;border-top:1px solid #c9dedc}.hero-auto-copy h3{font-size:20px}.hero-auto-copy p{font-size:14px}.hero-auto-copy p br{display:none}.hero-auto-copy .hero-auto-contact br{display:initial}}

#public-contact{white-space:nowrap;font-size:12px;padding:10px 12px}body.public-mode .header-right{flex-wrap:wrap}@media(max-width:600px){body.public-mode header{height:auto;min-height:70px;flex-wrap:wrap;padding:10px 12px}body.public-mode .header-right{gap:4px;justify-content:flex-end}#public-contact{min-height:44px;padding:10px 8px}}@media(max-width:380px){body.public-mode .header-right{flex-basis:100%;margin-left:0;justify-content:flex-end}}

/* Public header actions share the registration button appearance. */
body.public-mode header #public-contact,body.public-mode header #auth-open{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:11px 22px;border:1px solid var(--ocean);border-radius:10px;background:linear-gradient(110deg,var(--ocean-bright),var(--ocean));color:#fff;font-size:12px;font-weight:600;line-height:1.4;white-space:nowrap;box-shadow:0 8px 18px var(--ocean-shadow)}
body.public-mode header #public-contact:hover,body.public-mode header #auth-open:hover{filter:brightness(.96)}
@media(max-width:720px){body.public-mode header #public-contact,body.public-mode header #auth-open,body.public-mode header #public-signup{min-height:44px;padding:10px 12px;font-size:12px}}

/* Mobile account overview: all four values remain visible without swiping. */
@media(max-width:900px){
 body:not(.public-mode) .header-account-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:8px;order:3;flex:1 1 100%;width:100%;max-width:none;min-width:0;overflow:visible;padding:0}
 .header-account-stats .stat{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;min-width:0;min-height:76px;padding:10px 12px;margin:0;white-space:normal}
 .header-account-stats .stat-label{font-size:12px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
 .header-account-stats .stat-number{max-width:100%;font-size:21px;line-height:1.3;white-space:normal;overflow-wrap:anywhere;word-break:normal}
 .header-account-stats .stat-number small{font-size:11px;margin-left:5px;white-space:nowrap}
}

/* Gallery-only phone controls; desktop styling and handlers remain unchanged. */
@media(max-width:720px){
 .gallery-panel>.section-head{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:0 0 18px}
 .gallery-panel #gallery-total{flex:1 1 100%;margin:0;font-size:16px}
 .gallery-panel .gallery-top-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;margin:0;order:1}
 .gallery-panel .gallery-top-actions button{min-height:44px;border-radius:9px;font-size:13px;padding:10px 8px}
 .gallery-panel .gallery-category-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;flex:1 1 100%;width:100%;max-width:100%;overflow:visible;margin:0;padding:0;order:2}
 .gallery-panel .gallery-category-tabs .secondary{min-width:0;min-height:44px;padding:10px 6px;border-radius:9px;font-size:12px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
 .gallery-panel .gallery-category-tabs .active{background:#e8f2ff;border-color:#8bb6ef;color:#245ba8;box-shadow:inset 0 0 0 1px #d3e5fc}
 .gallery-panel .gallery-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px;background:#f4f8fc;border:1px solid var(--ocean-line);border-radius:10px;margin:0 0 16px}
 .gallery-panel .gallery-toolbar>span{grid-column:1/-1;font-size:12px;line-height:1.6;margin:0;color:var(--ocean-muted)}
 .gallery-panel .gallery-toolbar>button{min-width:0;width:100%;min-height:46px;margin:0;padding:10px 6px;font-size:12px;line-height:1.5;white-space:normal;border-radius:8px}
 .gallery-panel .gallery-select-row{gap:2px 6px;margin-bottom:8px;align-items:center}
 .gallery-panel .gallery-select{min-height:44px;font-size:11px;gap:5px;cursor:pointer}
 .gallery-panel .gallery-select input{width:20px;height:20px;min-height:0;accent-color:var(--ocean)}
 .gallery-panel .gallery-download-count{font-size:11px;line-height:1.5}
 .gallery-panel .gallery-card-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:10px}
 .gallery-panel .gallery-card-actions .secondary{display:flex;align-items:center;justify-content:center;min-width:0;min-height:48px;padding:7px 3px;font-size:12px;line-height:1.45;letter-spacing:0;white-space:normal;word-break:normal;border-radius:7px;background:#f3f7fc;color:#375979;border-color:#d8e3ef}
 .gallery-panel .gallery-card-actions [data-download-image]{background:#eaf3ff;color:#2563b8;border-color:#bcd6f5}
 .gallery-panel .gallery-card-actions .gallery-delete{background:#fff5f4;color:#b54740;border-color:#efd1cd}
 .gallery-panel .gallery-card-actions [data-gallery-change]:not(.gallery-delete){background:#edf8f3;color:#28764f;border-color:#c5e5d4}
 .gallery-panel>.pager{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr) minmax(0,1fr);gap:10px 8px;margin:20px 0 0;align-items:center}
 .gallery-panel>.pager>label{grid-column:1/-1;order:-1;display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid var(--ocean-line);font-size:13px}
 .gallery-panel>.pager select{width:112px;min-height:44px;border-radius:8px}
 .gallery-panel>.pager>button{min-width:0;min-height:46px;padding:10px 4px;font-size:13px;border-radius:8px}
 .gallery-panel #gallery-page{min-width:0;order:0;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
 .gallery-panel button:disabled{opacity:.48;cursor:not-allowed;box-shadow:none}
 .gallery-panel button:focus-visible{outline:2px solid var(--ocean);outline-offset:2px}
 .gallery-panel button:not(:disabled):active{filter:brightness(.95)}
}
