:root{--paper:#f6f5ef;--ink:#242920;--muted:#777e6f;--line:#ddded4;--orange:#eb603b;--orange-light:#fff0e8;font-family:Inter,'Segoe UI',Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #eea88a;outline-offset:4px}input:focus,select:focus,textarea:focus{outline:2px solid #edb296;outline-offset:1px}button svg,.btn svg{width:19px;height:19px;flex-shrink:0}svg{display:block}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-weight:550}p{line-height:1.7}.btn{border:1px solid transparent;border-radius:8px;display:inline-flex;gap:10px;align-items:center;justify-content:center;padding:13px 19px;font-size:14px;font-weight:600;line-height:1.25;transition:.18s;white-space:nowrap}.btn:hover{transform:translateY(-1px)}.primary{background:var(--orange);color:white}.primary:hover{background:#d94f2b}.dark{background:var(--ink);color:white}.outline{border-color:var(--line);background:#fff9}.outline:hover{background:white}.quiet,.muted{color:var(--muted)}.small{font-size:12px;padding:9px 12px}.icon-btn{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;color:var(--muted)}.icon-btn:hover,.icon-btn.active{background:var(--orange-light);color:var(--orange)}.icon-btn svg{width:18px;height:18px}.logo{width:168px;height:42px;object-fit:contain}.eyebrow{font-size:11px;letter-spacing:2px;text-transform:uppercase;font-weight:700;display:flex;align-items:center;gap:10px}.eyebrow:before{content:'';width:7px;height:7px;background:var(--orange);border-radius:1px}.badge{display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:600;padding:5px 8px;border-radius:4px;background:#e9edde;color:#596447}.mono{font-family:'Cascadia Code',Consolas,monospace;font-size:11px}.section{max-width:1260px;margin:auto;padding:95px 42px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:32px;margin-bottom:38px}.section-heading h2{font-size:40px;letter-spacing:-1.6px;line-height:1.17;margin:17px 0 0}.section-heading p{max-width:340px;color:var(--muted);font-size:14px;margin:0}.topbar{height:88px;max-width:1340px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:0 42px;gap:30px}.topbar nav{display:flex;gap:30px;font-size:13px;color:#62675b}.topbar nav a:hover{color:var(--orange)}.actions{display:flex;align-items:center;gap:18px;font-size:13px}.hero{max-width:1340px;min-height:690px;margin:auto;display:grid;grid-template-columns:1fr 1fr;padding:35px 42px 60px;gap:40px;align-items:center}.hero-copy{padding:15px 0 35px;position:relative;z-index:2}.hero h1{font-size:clamp(48px,5.5vw,78px);letter-spacing:-4px;line-height:1.04;margin:25px 0;font-weight:520}.hero h1 em{font-style:normal;color:var(--orange)}.hero-copy>p{font-size:16px;max-width:420px;color:#74776d;line-height:1.8}.hero-actions{display:flex;gap:12px;margin:29px 0 18px}.hero-note{font-size:11px;color:var(--muted);display:flex;gap:16px;align-items:center}.hero-note span{display:flex;align-items:center;gap:5px}.hero-note svg{width:13px;height:13px;color:#6e8058}.hero-art{position:relative;height:565px;background:#e9e9df;border-radius:5px;overflow:hidden;background-image:linear-gradient(#c8ccbc55 1px,transparent 1px),linear-gradient(90deg,#c8ccbc55 1px,transparent 1px);background-size:28px 28px}.art-heading{position:absolute;top:23px;left:24px;right:24px;display:flex;align-items:center;justify-content:space-between;font-size:10px;letter-spacing:1px;color:#6c7261}.live-dot{width:6px;height:6px;border-radius:50%;background:#71865d;display:inline-block;margin-right:6px}.art-panels{position:absolute;inset:70px 56px 65px;transform:rotate(-8deg)}.art-panel{position:absolute;height:375px;width:145px;background:#484d3d;box-shadow:14px 20px 25px #454b3925;border:6px solid #454b39}.art-panel svg{width:100%;height:100%;fill:#e5e5d8}.art-panel:nth-child(1){left:3%;top:35px;transform:rotate(-10deg);background:#bca480;border-color:#bca480;box-shadow:10px 12px 0 #917f65,20px 23px 28px #393f3028}.art-panel:nth-child(2){left:33%;top:3px;transform:rotate(-1deg);background:#242c22;border-color:#242c22;box-shadow:6px 7px 0 #151b14,18px 20px 26px #242c2233}.art-panel:nth-child(3){left:63%;top:27px;transform:rotate(11deg);background:#a6ad96;border-color:#a6ad96;box-shadow:6px 6px 0 #818b71,14px 16px 20px #454b3928}.art-measure{position:absolute;right:22px;top:140px;bottom:110px;border-right:1px solid #868c78;display:flex;align-items:center}.art-measure:before,.art-measure:after{content:'';position:absolute;width:8px;height:1px;background:#868c78;right:-4px}.art-measure:before{top:0}.art-measure:after{bottom:0}.art-measure span{writing-mode:vertical-rl;padding-left:9px;font:10px monospace;color:#6c7261}.art-label{position:absolute;bottom:25px;left:24px;right:24px;display:flex;align-items:end;justify-content:space-between}.art-label strong{display:block;font-size:12px;margin-bottom:6px}.art-label small{font:10px monospace;color:#737a68}.material-dots{display:flex;gap:5px}.material-dots i{width:16px;height:16px;border:3px solid #e9e9df;background:#a18b6a;border-radius:50%;box-shadow:0 0 0 1px #bbb}.material-dots i:nth-child(2){background:#2c3329}.material-dots i:nth-child(3){background:#9ca78b}.floating-tag{position:absolute;top:55%;left:20px;background:var(--paper);border:1px solid #deded4;box-shadow:0 5px 16px #2221;border-radius:7px;padding:13px 15px;font-size:11px;display:flex;align-items:center;gap:10px}.floating-tag svg{width:19px;color:var(--orange)}.trust-strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:24px 42px;display:flex;justify-content:space-between;align-items:center;max-width:1256px;margin:auto;gap:25px;color:#73776a;font-size:11px}.trust-strip strong{font-size:13px;font-weight:500;letter-spacing:.8px;color:#474d40}.workflow{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}.workflow article{border-top:1px solid var(--line);padding-top:25px}.step-num{font:12px monospace;color:var(--orange);display:block;margin-bottom:32px}.workflow h3{font-size:22px;letter-spacing:-.6px}.workflow p{font-size:14px;color:var(--muted);max-width:320px}.atelier-feature{background:#e8ebdf;padding:75px 0}.feature-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:78px;align-items:center;max-width:1176px;margin:auto}.feature-copy h2{font-size:41px;line-height:1.15;letter-spacing:-1.6px;margin:20px 0}.feature-copy p{color:#747b69;font-size:14px}.feature-list{list-style:none;margin:25px 0 30px;padding:0}.feature-list li{font-size:13px;display:flex;align-items:center;gap:10px;margin:15px 0}.feature-list svg{width:17px;color:#6f825b}.mini-editor{background:#fff;border:1px solid #cfd5c3;border-radius:9px;box-shadow:0 16px 30px #27341913;overflow:hidden}.mini-head{padding:13px 17px;border-bottom:1px solid var(--line);font-size:10px;display:flex;justify-content:space-between}.mini-main{height:320px;display:flex}.mini-tools{border-right:1px solid var(--line);width:39px;padding:14px 9px;display:flex;flex-direction:column;gap:18px}.mini-tools svg{width:17px;height:17px}.mini-canvas{flex:1;background-image:radial-gradient(#bfc5b4 1px,transparent 1px);background-size:14px 14px;display:flex;align-items:center;justify-content:center;position:relative}.mini-sheet{width:125px;height:245px;border:1px solid #ec6844;padding:10px;background:#fff;position:relative}.mini-sheet>svg{width:100%;height:100%;fill:#3b4534}.mini-dimension{position:absolute;top:-20px;left:0;right:0;border-top:1px solid #eb603b;font:9px monospace;color:#eb603b;text-align:center}.mini-dimension span{position:relative;top:-6px;background:#f8f9f3;padding:0 7px}.mini-props{width:105px;border-left:1px solid var(--line);padding:16px 12px;font-size:9px}.mini-props strong{display:block;font-size:10px;margin-bottom:18px}.mini-props span{display:block;margin:12px 0 4px;color:#777}.mini-props i{display:block;border:1px solid var(--line);padding:6px;font-style:normal}.gallery-controls{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:26px}.filter{border:1px solid var(--line);padding:8px 14px;border-radius:25px;font-size:12px;color:#74786c}.filter.active{background:var(--ink);color:white;border-color:var(--ink)}.pattern-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}.pattern-card{text-align:left;display:block;min-width:0}.pattern-preview{height:245px;background:#e9e9df;border-radius:7px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;border:1px solid transparent;transition:.2s}.pattern-card:hover .pattern-preview{background:#dfe2d3;border-color:#c9cfbc}.pattern-preview>svg{width:58px;height:192px;background:#293225;padding:5px;fill:#e7e9dd;box-shadow:6px 7px 0 #1c231b,12px 12px 12px #25301b16}.pattern-card:nth-child(3n+2) .pattern-preview>svg{background:#9e8866;box-shadow:6px 7px 0 #7e6b4f,12px 12px 12px #25301b16}.pattern-card:nth-child(3n+3) .pattern-preview>svg{background:#7b886b;box-shadow:6px 7px 0 #5b694c,12px 12px 12px #25301b16}.code{position:absolute;top:13px;left:13px;font:10px monospace;color:#909580}.pattern-arrow{position:absolute;right:12px;bottom:12px;background:var(--paper);border-radius:50%;padding:7px;opacity:0}.pattern-arrow svg{width:15px;height:15px}.pattern-card:hover .pattern-arrow{opacity:1}.pattern-info{display:flex;justify-content:space-between;padding:13px 1px;font-size:12px;gap:10px}.pattern-info span{font-size:10px;color:var(--muted)}.gallery-foot{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:22px;margin-top:22px;color:var(--muted);font-size:11px}.pricing-section{background:#eeeee5}.price-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.price-card{border:1px solid #d9dccf;background:#f8f8f1;border-radius:10px;padding:28px;position:relative}.price-card.featured{border-color:#657251;background:#e4e9d8}.price-card .badge{position:absolute;right:20px;top:23px;background:#64734e;color:white}.price-card h3{font-size:17px;margin-bottom:7px}.price-card>p{font-size:12px;color:var(--muted)}.price-value{font-size:46px;letter-spacing:-2px;margin:30px 0 4px}.price-value small{font-size:19px;letter-spacing:0}.token-count{font-size:12px;color:#737b65;padding-bottom:24px;border-bottom:1px solid #d3d8c8;margin-bottom:22px}.price-card ul{list-style:none;padding:0;line-height:2.4;font-size:12px;margin-bottom:24px}.price-card li:before{content:'↗';margin-right:10px;color:#71825a}.price-card .btn{width:100%}.pricing-note{text-align:center;font-size:11px;color:var(--muted);margin:25px 0 0}.faq{display:grid;grid-template-columns:1fr 1.3fr;gap:100px}.faq h2{font-size:38px;letter-spacing:-1.5px;margin-top:20px}.faq details{border-bottom:1px solid var(--line);padding:21px 0;font-size:14px}.faq summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:16px}.faq summary:after{content:'+';color:var(--orange)}.faq details[open] summary:after{content:'−'}.faq details p{font-size:13px;color:var(--muted);margin:17px 0 0}.cta-band{margin:0 auto 60px;max-width:1176px;background:#2b3426;color:#f0f1e7;padding:50px;border-radius:8px;display:flex;align-items:center;justify-content:space-between;gap:30px;background-image:linear-gradient(110deg,transparent 75%,#35402d 75%)}.cta-band h2{font-size:35px;letter-spacing:-1.3px;margin-bottom:10px}.cta-band p{font-size:13px;color:#b8c0ac;margin:0}.footer{border-top:1px solid var(--line);max-width:1260px;margin:auto;padding:30px 42px;display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:11px;color:var(--muted)}.footer img{width:125px}.footer-links{display:flex;gap:20px}
.app-shell{height:100dvh;display:flex;flex-direction:column;background:#f6f7f2;overflow:hidden}.app-header{height:66px;flex-shrink:0;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 24px;gap:24px}.app-header .logo{width:145px}.divider{height:22px;width:1px;background:var(--line)}.app-header nav{display:flex;gap:5px;align-self:stretch;align-items:center}.nav-item{display:flex;align-items:center;gap:8px;padding:10px 13px;font-size:12px;color:#7c8274;border-radius:6px}.nav-item svg{width:16px;height:16px}.nav-item.active{background:#f0f2e8;color:#414e34}.header-right{margin-left:auto;display:flex;align-items:center;gap:14px}.balance{display:flex;align-items:center;gap:7px;font-size:12px;padding:7px 11px;border:1px solid var(--line);border-radius:6px;background:#fafbf7}.balance svg{color:var(--orange);width:15px;height:15px}.avatar{width:32px;height:32px;background:#e9ecdf;color:#5c6a49;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700}.app-content{overflow:auto;flex:1}.page{max-width:1200px;padding:45px 40px 70px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:35px;gap:25px}.page-head h1{font-size:31px;letter-spacing:-1px;margin-bottom:8px}.page-head p{font-size:13px;color:var(--muted);margin:0}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:38px}.stat{background:#fff;border:1px solid var(--line);padding:23px;border-radius:9px}.stat small{font-size:11px;color:var(--muted);display:block}.stat strong{font-size:30px;font-weight:500;display:block;margin-top:13px}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.project-card{border:1px solid var(--line);background:#fff;border-radius:9px;overflow:hidden}.project-cover{height:210px;background:#e9ecdf;display:flex;justify-content:center;align-items:center;width:100%;cursor:pointer}.project-cover>svg{width:90%;height:175px;filter:drop-shadow(4px 5px 2px #33442215)}.project-meta{padding:17px;display:flex;justify-content:space-between;align-items:center}.project-meta strong{font-size:13px;font-weight:500}.project-meta small{font-size:10px;display:block;color:var(--muted);margin-top:6px}.new-project{border:1px dashed #bfc7af;border-radius:9px;min-height:285px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#6f7f5c;gap:14px}.new-project svg{width:28px;height:28px}.new-project strong{font-size:13px;font-weight:500}.workspace-top{height:56px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-bottom:1px solid var(--line);background:#fcfcf9;gap:12px;flex-shrink:0}.workspace-name{display:flex;align-items:center;gap:10px}.project-title{border:1px solid transparent;background:transparent;width:210px;font-size:12px;padding:6px}.project-title:hover{border-color:var(--line)}.save-state{font-size:10px;color:#8d947f}.toolbar-group{display:flex;gap:5px;align-items:center}.toolbar-sep{height:20px;width:1px;background:var(--line);margin:0 6px}.workspace{display:grid;grid-template-columns:54px 228px minmax(100px,1fr) 238px;flex:1;min-height:0}.tools-rail{background:white;border-right:1px solid var(--line);display:flex;flex-direction:column;align-items:center;padding:14px 0;gap:8px}.tools-rail .icon-btn{width:36px;height:36px}.tool-divide{width:22px;height:1px;background:var(--line);margin:4px 0}.left-panel{background:#fbfcf8;border-right:1px solid var(--line);overflow:auto;padding:18px 15px}.panel-tabs{display:flex;border-bottom:1px solid var(--line);margin:0 -15px 20px;padding:0 10px}.panel-tabs button{padding:0 11px 12px;font-size:11px;color:#939a87;border-bottom:2px solid transparent}.panel-tabs button.active{color:#445238;border-bottom-color:var(--orange)}.panel-label{display:flex;align-items:center;justify-content:space-between;font-size:10px;font-weight:600;letter-spacing:.7px;margin:20px 0 13px;color:#737e64;text-transform:uppercase}.search{width:100%;border:1px solid var(--line);border-radius:6px;padding:10px 11px;font-size:11px;background:white;color:var(--ink)}.editor-templates{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:14px}.editor-template{background:#e9ecdf;border:1px solid transparent;border-radius:5px;padding:12px 8px 8px;text-align:left}.editor-template:hover{border-color:#bdc7ad}.editor-template svg{width:30px;height:90px;margin:auto;fill:#e9ecdf;background:#46523a;padding:3px}.editor-template span{display:block;font-size:9px;margin-top:9px;color:#667355}.editor-template small{font:8px monospace;color:#8d9780;display:block;margin-top:3px}.panel-info{font-size:10px;line-height:1.6;color:#929b87;border-top:1px solid var(--line);padding-top:14px;margin-top:20px}.canvas-area{position:relative;min-width:0;overflow:hidden;background:#e9ece3;touch-action:none}.drawing{width:100%;height:100%;display:block;user-select:none;touch-action:none}.drawing.select{cursor:default}.drawing.pan{cursor:grab}.drawing:not(.select):not(.pan){cursor:crosshair}.canvas-top-label{position:absolute;top:15px;left:38px;font:9px monospace;color:#9ba48f;letter-spacing:1px;pointer-events:none}.canvas-bottom-controls{position:absolute;left:50%;bottom:20px;transform:translateX(-50%);background:white;border:1px solid #d4dbc9;border-radius:7px;display:flex;align-items:center;padding:3px 5px;box-shadow:0 3px 12px #35472a0a;gap:4px}.zoom-value{min-width:44px;text-align:center;font-size:10px;font-family:monospace}.canvas-bottom-controls .icon-btn{width:28px;height:28px}.canvas-shortcut{position:absolute;left:17px;bottom:18px;color:#909c83;font-size:9px;pointer-events:none}.right-panel{background:white;border-left:1px solid var(--line);overflow:auto;padding:19px 17px}.right-panel h3{font-size:12px;font-weight:600;margin-bottom:20px}.field{display:flex;flex-direction:column;gap:7px;margin:0 0 16px;font-size:11px;color:#7f8874}.field input,.field select,.field textarea{border:1px solid #dce1d3;background:#fbfcf9;border-radius:5px;padding:10px;width:100%;color:var(--ink);font-size:12px}.field textarea{min-height:80px;resize:vertical}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field-row .field{min-width:0}.field-unit{position:relative}.field-unit input{padding-right:29px}.field-unit span{position:absolute;right:9px;top:11px;font:10px monospace;color:#9ba48f}.segmented{display:flex;border:1px solid var(--line);border-radius:5px;overflow:hidden;margin-bottom:20px}.segmented button{font-size:10px;flex:1;padding:9px 5px}.segmented button.active{background:#edf0e4;color:#52633d}.panel-divider{height:1px;background:var(--line);margin:24px -17px}.check-field{display:flex;gap:8px;align-items:center;font-size:11px;color:#737e65;margin:12px 0}.check-field input{accent-color:var(--orange)}.layer{display:flex;align-items:center;gap:7px;border:1px solid transparent;border-radius:5px;padding:8px 6px;font-size:10px;cursor:pointer;margin:2px 0}.layer.selected{border-color:#f3c3b0;background:#fff6ef}.layer>svg{width:14px;height:14px;color:#929d83}.layer span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.layer .icon-btn{width:24px;height:23px}.layer .icon-btn svg{width:12px;height:12px}.layer.locked{opacity:.5}.editor-status{height:27px;flex-shrink:0;border-top:1px solid var(--line);background:white;display:flex;justify-content:space-between;padding:0 15px;align-items:center;font:9px monospace;color:#8c977e}.status-section{display:flex;gap:18px;align-items:center}.legend-dot{width:5px;height:5px;border-radius:50%;background:var(--orange);display:inline-block;margin-right:4px}.legend-dot.blue{background:#477fc5}.empty-state{text-align:center;padding:70px 20px;color:var(--muted)}.empty-state h2{font-size:21px;color:var(--ink)}.empty-state p{font-size:13px}.panel-card{background:white;border:1px solid var(--line);border-radius:9px;padding:26px;margin-bottom:22px}.panel-card h2{font-size:18px;margin-bottom:24px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:26px}.profile-card{max-width:660px}.wallet-hero{background:#313e28;color:#eff2e8;display:flex;justify-content:space-between;align-items:center;padding:32px;border-radius:11px;margin-bottom:35px}.wallet-hero small{color:#bac6ac;font-size:12px}.wallet-hero strong{display:block;font-size:49px;font-weight:450;margin-top:9px;letter-spacing:-2px}.wallet-hero strong span{font-size:16px;letter-spacing:0;color:#bac6ac}.wallet-hero svg{width:60px;height:60px;color:#a1b18c}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{color:#929c85;font-weight:500;font-size:10px;padding:13px 10px;border-bottom:1px solid var(--line)}td{padding:15px 10px;border-bottom:1px solid #ecefe5}td small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.positive{color:#5d7a45}.negative{color:var(--orange)}.admin-tabs{display:flex;gap:6px;margin-bottom:28px;border-bottom:1px solid var(--line);overflow:auto}.admin-tabs button{padding:12px 18px;font-size:12px;border-bottom:2px solid transparent;white-space:nowrap}.admin-tabs button.active{color:var(--orange);border-color:var(--orange)}.notice{padding:13px 16px;background:#edf0e3;border:1px solid #dce2cd;color:#6a7857;border-radius:7px;font-size:12px;line-height:1.6;margin-bottom:22px}.notice.orange{background:#fff1e7;color:#a56d4a;border-color:#f2d7c1}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.settings-grid .panel-card{margin:0}.settings-grid h2{display:flex;gap:9px;align-items:center}.settings-grid h2 svg{width:19px;color:#8b987a}.settings-grid .mono{font-size:10px;overflow-wrap:anywhere;line-height:1.7}.settings-actions{display:flex;justify-content:end;padding-top:24px}.table-actions{display:flex;gap:4px}.app-gallery .pattern-grid{grid-template-columns:repeat(5,1fr)}.gallery-toolbar{display:flex;justify-content:space-between;gap:20px;margin-bottom:20px}.gallery-toolbar .search{max-width:250px}.form-error{font-size:12px;line-height:1.7;color:#b54e35;background:#fff0e8;padding:12px;border-radius:6px;margin-bottom:15px;display:none}.form-error:not(:empty){display:block}.auth-page{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.auth-art{background:#e6eadc;padding:40px 65px;position:relative;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}.auth-art h2{font-size:52px;line-height:1.1;letter-spacing:-2px;max-width:450px;z-index:1}.auth-art>p{font-size:11px;color:#8c977e;z-index:1}.auth-visual{position:absolute;width:135px;height:450px;right:100px;top:30%;transform:rotate(20deg);background:#546045;padding:10px;box-shadow:10px 15px 0 #3c4932,25px 40px 45px #26351a25}.auth-visual svg{width:100%;height:100%;fill:#e6eadc}.auth-form-side{display:flex;align-items:center;justify-content:center;padding:45px 30px;background:#fff}.auth-box{width:100%;max-width:360px}.auth-box h1{font-size:30px;letter-spacing:-1px;margin:30px 0 10px}.auth-box>p{font-size:13px;color:var(--muted);margin-bottom:25px}.auth-providers{display:grid;grid-template-columns:1fr 1fr;gap:10px}.provider{border:1px solid var(--line);padding:12px;border-radius:6px;font-size:12px;display:flex;gap:8px;align-items:center;justify-content:center}.provider svg{width:15px;height:15px}.auth-separator{display:flex;gap:12px;align-items:center;margin:22px 0;color:#9ca392;font-size:10px}.auth-separator:before,.auth-separator:after{content:'';height:1px;background:var(--line);flex:1}.auth-box .btn{width:100%;margin-top:5px}.auth-box .field{font-size:12px}.auth-links{display:flex;justify-content:space-between;margin-top:17px;font-size:11px;color:#7e8970}.text-link{color:var(--orange);font-size:12px;padding:0}.auth-box .notice{font-size:11px;margin-top:18px}.loading{padding:45vh 0;text-align:center;letter-spacing:3px;color:#4d5d3f}.loading span{display:block;font-size:12px;letter-spacing:0;color:var(--muted);margin-top:14px}#toast{position:fixed;bottom:25px;right:25px;background:#2e3b26;color:white;padding:15px 21px;max-width:420px;border-radius:8px;font-size:12px;box-shadow:0 6px 22px #0002;z-index:200;transform:translateY(130%);opacity:0;transition:.2s;line-height:1.6}#toast.visible{transform:none;opacity:1}#toast.error{background:#a34931}dialog{border:1px solid var(--line);border-radius:13px;background:var(--paper);padding:30px;width:min(500px,calc(100vw - 30px));color:var(--ink);box-shadow:0 20px 70px #141e1240}dialog::backdrop{background:#15200d66;backdrop-filter:blur(3px)}dialog h2{font-size:23px;letter-spacing:-.6px;margin:0 35px 12px 0}dialog>p,dialog form>p{font-size:12px;color:var(--muted)}.modal-close{position:absolute;right:16px;top:16px}.modal-actions{display:flex;justify-content:end;gap:10px;margin-top:25px}.export-option{display:flex;gap:15px;border:1px solid var(--line);background:white;padding:18px;border-radius:8px;cursor:pointer;margin-top:12px}.export-option input{accent-color:var(--orange)}.export-option strong{font-size:13px;display:block}.export-option small{display:block;font-size:11px;color:var(--muted);line-height:1.6;margin-top:5px}kbd{border:1px solid var(--line);border-radius:3px;padding:2px 5px;font:10px monospace;background:white;color:#82916e}.mobile-warning{display:none}
@media(max-width:1150px){.topbar nav{gap:17px}.hero{gap:25px}.hero h1{font-size:60px}.hero-art{height:520px}.art-panels{inset:75px 25px}.art-panel{width:120px;height:340px}.feature-grid{padding:0 42px;gap:40px}.cta-band{margin-left:42px;margin-right:42px}.workspace{grid-template-columns:48px 180px minmax(100px,1fr) 205px}.right-panel{padding:17px 12px}.left-panel{padding:15px 11px}.app-header{gap:12px;padding:0 16px}.nav-item{padding:10px 9px}.save-state{display:none}.pattern-grid{gap:12px}.section{padding:75px 35px}.app-header .logo{width:125px}.auth-art{padding:40px}.auth-art h2{font-size:43px}}
@media(max-width:900px){.hero{padding:25px 28px 45px;min-height:600px}.hero h1{font-size:51px;letter-spacing:-2.8px}.hero-copy>p{font-size:14px}.hero-actions{flex-wrap:wrap}.hero-art{height:475px}.art-panels{inset:73px 20px}.art-panel{width:95px;height:315px}.floating-tag{left:10px;font-size:9px;padding:10px}.hero-note{gap:10px;font-size:9px}.topbar{padding:0 28px}.topbar nav{display:none}.trust-strip{flex-wrap:wrap;padding:23px 28px;justify-content:center}.trust-strip>span:first-child{width:100%;text-align:center}.section-heading h2,.feature-copy h2{font-size:33px}.feature-grid{gap:30px;padding:0 28px}.pattern-grid,.app-gallery .pattern-grid{grid-template-columns:repeat(3,1fr)}.landing-gallery .pattern-card:nth-child(n+4){display:none}.faq{gap:40px}.price-card{padding:22px}.workspace{grid-template-columns:46px minmax(100px,1fr) 200px}.left-panel{display:none}.app-header .divider{display:none}.app-header nav .nav-item span{display:none}.app-header nav .nav-item{padding:10px}.app-header nav svg{width:19px;height:19px}.page{padding:35px 25px}.project-grid{grid-template-columns:repeat(2,1fr)}.stat-grid{grid-template-columns:repeat(2,1fr)}.auth-art{padding:35px}.auth-art h2{font-size:37px}.auth-visual{right:55px;width:110px;height:390px}.header-right{gap:8px}.settings-grid{grid-template-columns:1fr}}
@media(max-width:650px){.topbar{height:76px;padding:0 22px}.topbar .logo{width:145px}.topbar .actions>a:first-child{display:none}.topbar .btn{padding:11px 13px;font-size:12px}.hero{display:flex;flex-direction:column;gap:18px;padding:20px 22px 35px}.hero-copy{padding:10px 0 5px;width:100%}.hero h1{font-size:57px;letter-spacing:-3px;margin:22px 0}.eyebrow{font-size:9px}.hero-copy>p{font-size:14px;max-width:350px}.hero-actions .btn{padding:14px 16px;font-size:12px}.hero-note{font-size:10px}.hero-art{height:425px;width:100%;max-width:480px}.art-panels{inset:65px 45px 40px}.art-panel{height:285px;width:95px}.art-label{bottom:20px}.art-measure{top:100px;bottom:95px}.trust-strip{font-size:10px;padding:20px;gap:17px}.trust-strip strong{font-size:10px}.section{padding:60px 22px}.section-heading{display:block;margin-bottom:28px}.section-heading h2{font-size:32px;margin-bottom:18px}.section-heading p{font-size:13px}.workflow{grid-template-columns:1fr;gap:23px}.workflow article{display:grid;grid-template-columns:40px 1fr;gap:0 10px;padding-top:20px}.step-num{grid-row:span 2;margin:5px 0}.workflow h3{font-size:20px;margin-bottom:12px}.workflow p{margin:0;max-width:none;font-size:13px}.atelier-feature{padding:45px 0}.feature-grid{display:flex;flex-direction:column-reverse;padding:0 22px;gap:30px}.mini-editor{width:100%}.feature-copy h2{font-size:33px}.feature-copy{width:100%}.pattern-grid,.app-gallery .pattern-grid{grid-template-columns:repeat(2,1fr)}.landing-gallery .pattern-card:nth-child(3){display:none}.pattern-preview{height:225px}.gallery-foot{font-size:10px;line-height:1.7;gap:20px}.price-grid{grid-template-columns:1fr;gap:15px}.price-card{padding:25px}.price-value{margin-top:22px}.price-card ul{display:flex;flex-wrap:wrap;gap:0 16px;font-size:11px}.faq{grid-template-columns:1fr;gap:0}.faq h2{font-size:32px}.faq details{font-size:13px}.cta-band{margin:0 22px 40px;padding:30px;display:block}.cta-band h2{font-size:29px}.cta-band p{font-size:12px;margin-bottom:25px}.footer{padding:23px 22px;flex-wrap:wrap;font-size:10px}.footer-links{width:100%;justify-content:space-between}.auth-page{grid-template-columns:1fr}.auth-art{display:none}.auth-form-side{min-height:100dvh;padding:30px 24px}.app-header{height:58px;padding:0 12px;gap:8px}.app-header .logo{width:110px}.app-header nav{gap:0}.app-header nav .nav-item{padding:7px}.app-header nav svg{width:16px}.header-right{gap:5px}.header-right .balance{padding:6px;font-size:10px;gap:3px}.header-right .balance svg{width:12px}.header-right .avatar{width:27px;height:27px;font-size:10px}.header-right .logout-btn{display:none}.workspace-top{padding:0 8px;height:50px;gap:4px}.workspace-top .back-btn{display:none}.project-title{width:128px;font-size:11px}.workspace-top .btn{font-size:10px;padding:8px}.toolbar-sep{margin:0 1px}.workspace-top .toolbar-group>.icon-btn{width:25px}.workspace{grid-template-columns:40px minmax(100px,1fr)}.right-panel{display:none}.tools-rail{padding:8px 0;gap:5px}.tools-rail .icon-btn{width:32px;height:32px}.editor-status{font-size:8px;padding:0 7px}.editor-status .status-section{gap:9px}.canvas-shortcut{display:none}.canvas-bottom-controls{bottom:15px}.canvas-top-label{left:15px;font-size:8px}.page{padding:28px 18px}.page-head{align-items:start;gap:14px}.page-head h1{font-size:25px}.page-head p{font-size:12px}.page-head .btn{font-size:10px;padding:10px}.project-grid{gap:12px}.project-cover{height:160px}.project-cover>svg{height:130px}.project-meta{padding:12px}.project-meta strong{font-size:11px}.project-meta small{font-size:9px}.new-project{min-height:225px}.stat-grid{gap:10px;margin-bottom:25px}.stat{padding:17px}.stat strong{font-size:25px}.stat small{font-size:10px}.two-col{grid-template-columns:1fr}.panel-card{padding:20px}.wallet-hero{padding:24px}.wallet-hero strong{font-size:40px}.wallet-hero svg{width:40px}.gallery-toolbar{flex-direction:column;gap:10px}.gallery-toolbar .search{max-width:none}.filter{font-size:10px;padding:7px 10px}.app-gallery .pattern-preview{height:220px}.admin-tabs button{padding:10px;font-size:11px}.app-header nav a[data-route="profile"]{display:none}#toast{bottom:16px;right:16px;left:16px;max-width:none}dialog{padding:24px}.mobile-warning{display:block;font-size:10px;color:#8b967e;padding:8px 14px;background:#f0f3e9;border-bottom:1px solid var(--line)}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}html{scroll-behavior:smooth}
dialog>.icon-btn:first-child{position:absolute;right:15px;top:15px}button[data-action="tool"].active{color:var(--orange);background:var(--orange-light)}
@media(max-width:650px){.workflow article{display:block}.workflow .step-num{margin:0 0 15px;font-size:10px}.hero-art .art-panel{height:255px;width:85px}.hero-art .art-panels{inset:65px 45px 90px}}
.cad-context{position:absolute;top:39px;left:18px;right:18px;z-index:2;display:flex;align-items:center;gap:10px;flex-wrap:wrap;pointer-events:none;min-height:34px}.cad-context>*{pointer-events:auto}.cad-tool-name{font-size:11px;font-weight:600;display:flex;gap:6px;align-items:center;padding:8px 10px;background:#fffffbeb;border:1px solid #dce1d2;border-radius:5px}.cad-tool-name svg{width:16px;height:16px;color:var(--orange)}.cad-context select{font-size:11px;border:1px solid #d4dcc9;padding:8px 10px;border-radius:5px;background:#fff;color:#536444}.cad-hint{font-size:10px;color:#7e8d70;background:#f4f6eecc;padding:7px 9px;border-radius:4px;pointer-events:none}.selection-summary{font-size:11px;color:#7d8b6d;padding-bottom:20px}.dimension-value{font-size:29px;letter-spacing:-1px;color:#3771b3;margin-bottom:12px}.dimension-value span{font-size:11px;letter-spacing:0;margin-left:6px;color:#91a2af}.badge.reference{color:#647585;background:#e9eff4}.cad-instructions{font-size:11px;line-height:2.3;color:#78876b}.cad-instructions b{color:#d66a46}.dimension-annotation{cursor:move}.dimension-annotation text{cursor:pointer}.template-fit-preview{background:#e7ebdf;border:1px solid #d8dece;border-radius:7px;padding:14px;display:flex;align-items:center;gap:20px;margin:2px 0 17px;min-height:130px}.template-fit-preview>svg{width:115px;height:125px;flex-shrink:0}.template-fit-preview>span{font-size:11px;color:#71805f;line-height:1.7}.tools-rail{overflow-y:auto}.canvas-area .cad-context .text-link{font-size:10px}.drawing.dimension [data-object]{cursor:crosshair}
@media(max-width:650px){.cad-context{left:10px;right:10px;top:32px;gap:5px}.cad-context .cad-hint{font-size:8px;padding:5px}.cad-context select,.cad-tool-name{font-size:9px;padding:6px}.cad-context .icon-btn{width:26px;height:26px}.template-fit-preview{gap:12px}.template-fit-preview>span{font-size:10px}}
.template-mode-fields{border:0;padding:0;margin:0;min-width:0}.template-mode-fields[hidden]{display:none}.motif-support-summary{font-size:11px;color:#7b886d;background:#eaf0e0;padding:10px 12px;border-radius:5px;margin-bottom:16px}.motif-auto-place{margin:-3px 0 18px}.motif-preview-note{font-size:10px;line-height:1.6;color:#839174}.motif-preview-dot{display:inline-block;width:7px;height:7px;background:var(--orange);border-radius:2px;margin-right:5px}.placed-motif{display:flex;align-items:center;border:1px solid #dee4d5;background:#f3f5ec;border-radius:6px;margin-bottom:7px;padding-right:3px}.placed-motif.active{border-color:#ecb396;background:#fff4eb}.placed-motif>button:first-child{display:flex;align-items:center;gap:9px;text-align:left;flex:1;min-width:0;padding:10px 8px;font-size:11px}.placed-motif>button>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.placed-motif small{display:block;font-size:9px;color:#909b82;margin-top:3px}.motif-number{font:9px monospace;color:#8b997a;background:white;border-radius:4px;padding:5px}.placed-motif>.icon-btn{width:24px;height:26px;flex-shrink:0}.placed-motif>.icon-btn svg{width:13px;height:13px}#modal:has(#template-form){max-height:92dvh;overflow:auto}

.template-library-note{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 20px;margin:0 0 24px;background:#edf0e5;border:1px solid #d9dfce;border-radius:8px}.template-library-note strong{font-size:13px;font-weight:600}.template-library-note p{font-size:12px;line-height:1.6;margin:5px 0 0;color:#737e67}.library-formats{white-space:nowrap;font:10px monospace;letter-spacing:.5px;color:#6d7b5f}.pattern-format{position:absolute;top:14px;right:14px;padding:4px 6px;border-radius:4px;background:#fffff0d9;color:#687957;font:9px monospace;letter-spacing:.5px}.template-import-issues{padding:15px 20px;margin:-8px 0 24px;background:#fff3e9;border:1px solid #e8ccb1;border-radius:8px}.template-import-issues summary{font-size:12px;cursor:pointer;font-weight:600;color:#875734}.template-import-issues ul{padding-left:17px;margin:12px 0 0}.template-import-issues li{font-size:11px;margin:8px 0}.template-import-issues li span{display:block;color:#8a6f58;line-height:1.6}.dxf-source-note{margin:0 0 18px;font-size:11px}.dxf-source-note p{margin:5px 0 0;line-height:1.6}@media(max-width:650px){.template-library-note{display:block;padding:15px}.library-formats{display:block;margin-top:10px}.template-library-note p{font-size:11px}}

/* Les DXF sont présentés en tracés, sans simulation de panneau ni remplissage. */
.pattern-primary{width:100%;padding:0;display:block;text-align:left}.pattern-card .pattern-preview.dxf-preview{background-color:#f0f3ec;background-image:linear-gradient(#87947a0c 1px,transparent 1px),linear-gradient(90deg,#87947a0c 1px,transparent 1px);background-size:18px 18px;padding:36px 14px 18px}.pattern-card .pattern-preview.dxf-preview>svg.template-drawing-dxf{width:100%;height:100%;background:transparent;box-shadow:none;padding:0;fill:none}.pattern-card:hover .pattern-preview.dxf-preview{background-color:#e8eee1}.pattern-preview .code{max-width:calc(100% - 70px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pattern-detail-row{display:flex;justify-content:space-between;align-items:center;gap:7px;min-height:28px;margin-top:-6px}.pattern-dimensions{font:10px/1.5 'Cascadia Code',Consolas,monospace;color:#66725e;white-space:normal}.pattern-inspect{display:inline-flex;align-items:center;gap:4px;padding:4px 0 4px 5px;font-size:10px;color:#b24e32;white-space:nowrap}.pattern-inspect svg{width:13px;height:13px}.source-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.source-preview-heading>p{font-size:12px;color:var(--muted);overflow-wrap:anywhere;margin:0}.source-dimensions{display:flex;gap:24px;flex-shrink:0}.source-dimensions span{font-size:10px;color:var(--muted)}.source-dimensions strong{display:block;color:var(--ink);font-size:16px;font-weight:550;margin-top:3px;white-space:nowrap}.source-preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 0}.source-preview-legend{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:10px}.source-preview-legend i{width:16px;border-top:2px solid #283c32}.source-preview-legend .engrave{border-color:#287a9b;margin-left:8px}.source-preview-zoom{display:flex;align-items:center;gap:7px}.source-preview-zoom input{width:90px;accent-color:var(--orange)}.source-preview-zoom output{font:10px monospace;min-width:38px}.source-preview-zoom .text-link{font-size:10px}.source-preview-stage{height:min(60vh,600px);overflow:auto;background:#f4f6f0;border:1px solid #dce2d4;border-radius:7px;background-image:linear-gradient(#87947a0b 1px,transparent 1px),linear-gradient(90deg,#87947a0b 1px,transparent 1px);background-size:24px 24px}.source-preview-surface{width:100%;height:100%;padding:18px}.source-preview-surface>svg.template-drawing-dxf{display:block;width:100%;height:100%;fill:none;background:transparent;box-shadow:none}.source-preview-note,.source-preview-warning{font-size:11px;line-height:1.6;color:var(--muted);margin:10px 0 0}.source-preview-warning{color:#956139}#modal:has(.source-preview){width:min(980px,95vw);max-width:980px;max-height:95dvh;overflow:auto}.editor-template>svg.template-drawing-dxf{fill:none;background:transparent}
@media(max-width:650px){.pattern-detail-row{align-items:flex-start;flex-wrap:wrap;gap:0}.pattern-dimensions{font-size:9px}.pattern-inspect{font-size:9px;margin-left:auto}.source-preview-heading{display:block}.source-dimensions{margin-top:12px;gap:28px}.source-preview-toolbar{flex-wrap:wrap;gap:8px}.source-preview-stage{height:48vh}.source-preview-zoom{margin-left:auto}.source-preview-zoom input{width:70px}.source-preview-surface{padding:10px}}

/* Photo tracing and collection metadata */
.collection-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}
dialog:has(.photo-import){width:min(1120px,calc(100vw - 30px));max-height:92dvh;overflow:auto;padding:28px}
.photo-intro{max-width:760px;line-height:1.7;margin-bottom:24px}
.photo-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:26px;align-items:start}
.photo-main,.photo-options{min-width:0}.photo-section{border:1px solid var(--line);background:#fff;border-radius:9px;overflow:hidden;margin-bottom:18px}
.photo-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;border-bottom:1px solid var(--line)}
.photo-import h3{font-size:13px;margin:0}.photo-section-heading .badge{font:9px monospace;color:var(--muted)}
.photo-file-button{cursor:pointer;white-space:nowrap}.photo-file-button:focus-within{outline:2px solid var(--orange);outline-offset:3px}
.photo-source-stage,.photo-vector-stage{display:flex;align-items:center;justify-content:center;min-height:245px;background:#f3f4ee;padding:12px}
.photo-source-stage canvas{display:block;max-width:100%;max-height:310px;width:auto;height:auto;touch-action:none;cursor:crosshair}.photo-source-stage canvas[hidden],.photo-empty[hidden]{display:none}
.photo-vector-stage{background:#fff}.photo-vector-stage svg{display:block;width:100%;height:300px}
.photo-empty{padding:38px 20px;text-align:center;font-size:12px;line-height:1.9;color:var(--muted)}.photo-empty small{font-size:10px}
.photo-crop-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 15px;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}
.photo-crop-row .text-link{font-size:10px;white-space:nowrap}.photo-metrics{font:10px monospace;color:#5d7054;padding:13px 16px 0;line-height:1.8}
.photo-notes{font-size:11px;color:var(--muted);padding:0 16px;line-height:1.7}.photo-options h3{margin-bottom:18px}.photo-options .field{margin-bottom:12px}
.photo-proportions{font-size:10px;color:var(--muted);line-height:1.6;margin:-2px 0 16px}.photo-trace-options{border-top:1px solid var(--line);padding-top:20px;margin-top:22px}
.photo-trace-options>.btn{width:100%;margin-top:8px}.photo-range{position:relative}.photo-range output{position:absolute;right:0;top:0;font:11px monospace}.photo-range input{padding:0;height:28px;accent-color:var(--orange)}
.photo-feedback{border:1px solid var(--line);background:#edf1e8;padding:13px 16px;border-radius:6px;font-size:12px;line-height:1.6;margin-top:22px}.photo-feedback.error{background:#fff0e8;color:#a34931;border-color:#eac3b7}
.photo-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:20px}.photo-footer>span{font-size:10px;color:var(--muted)}
.photo-import button:disabled{opacity:.45;cursor:default}.template-description{font-size:12px;color:var(--muted);line-height:1.7}.template-tags{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.template-tags span{font-size:10px;padding:4px 8px;background:#edf0e5;border-radius:4px}
@media(max-width:760px){dialog:has(.photo-import){padding:20px}.photo-layout{grid-template-columns:1fr;gap:12px}.photo-options{display:grid;grid-template-columns:1fr 1fr;gap:20px}.photo-trace-options{margin:0;padding:0;border:0}.photo-footer{align-items:flex-start;flex-direction:column}.photo-footer .btn{width:100%}.photo-source-stage canvas{max-height:240px}.photo-vector-stage svg{height:240px}.collection-actions{justify-content:flex-start}.photo-section-heading{flex-wrap:wrap}}
@media(max-width:480px){.photo-options{grid-template-columns:1fr}.photo-trace-options{border-top:1px solid var(--line);padding-top:20px}.photo-crop-row{flex-wrap:wrap}.photo-source-stage,.photo-vector-stage{min-height:180px}.photo-vector-stage svg{height:210px}}

.motif-proportions-note{font-size:11px;color:var(--muted);line-height:1.7;margin:-3px 0 14px}.template-fit-preview strong{font-size:12px;font-weight:500}

.objects-toolbar{display:flex;flex-direction:column;gap:10px;margin-bottom:12px}.objects-toolbar>div,.group-actions{display:flex;flex-wrap:wrap;gap:6px}.objects-toolbar .btn,.group-actions .btn{font-size:10px;padding:7px 9px}.objects-toolbar .active,.multi-select-switch.active{background:#fff0e8;color:#a94b2f;border-color:#efb79d}.objects-toolbar .text-link{font-size:11px}.object-tree-help{font-size:10px;line-height:1.7;color:var(--muted);margin-bottom:14px}.object-tree-row{display:flex;align-items:center;gap:4px;padding:6px 3px 6px calc(2px + var(--tree-depth)*10px);border:1px solid transparent;border-radius:5px;min-width:0;margin:2px 0}.object-tree-row.selected{background:#fff1e9;border-color:#f0c2ae}.object-tree-row.partial{background:#f2f3e9;border-color:#d5ddc6}.tree-expander,.tree-expander-placeholder{width:15px;flex-shrink:0;font-size:12px;color:#879278}.object-tree-row input[type=checkbox]{width:12px;height:12px;flex-shrink:0;margin:0 2px;accent-color:var(--orange)}.tree-label{display:flex;align-items:center;gap:6px;flex:1;min-width:0;text-align:left;font-size:10px}.tree-label>svg{width:13px;height:13px;flex-shrink:0;color:#8d9b7d}.tree-label>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tree-label small{display:block;font-size:8px;color:var(--muted);margin-top:3px}.object-tree-row>.icon-btn{width:19px;height:24px;flex-shrink:0}.object-tree-row>.icon-btn svg{width:11px;height:11px}.group-actions{margin:12px 0}.multi-select-switch{white-space:nowrap;font-size:10px;padding:4px 6px;border-radius:4px}.cad-context{flex-wrap:wrap}

.tree-expander{display:flex;align-items:center;justify-content:center;font:600 15px/1 monospace;min-height:22px;color:#596b4c}.object-tree-row.tree-target{border-color:#df7049;background:#ffeadf;box-shadow:inset 3px 0 #df7049}.tree-label .tree-target-caption{color:#a84322;font-weight:600;font-size:9px;letter-spacing:.1px}

/* Commercial identity and dedicated public collection */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
:root{--commercial-header-height:84px}.commercial-header.topbar{position:sticky;top:0;z-index:80;height:var(--commercial-header-height);max-width:none;padding:0;background:rgba(255,255,255,.97);border-bottom:1px solid #e2e7e9;box-shadow:0 3px 20px #17262d08;backdrop-filter:blur(14px)}
.public-navigation{width:min(1260px,calc(100% - 64px));margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}.commercial-header .logo{width:186px;height:43px}.commercial-header nav{gap:26px;color:#52636c;font-size:14px}.commercial-header nav a{padding:15px 0;white-space:nowrap}.commercial-header nav a[aria-current=page]{color:#d4512e;border-bottom:2px solid #e95c36}.commercial-header .actions{gap:13px}.commercial-header .btn{font-size:14px;padding:13px 17px;border-radius:6px}
.language-picker{display:flex;align-items:center}.language-picker select{font-size:12px;max-width:130px;min-height:36px;border:1px solid #dce2e5;border-radius:5px;padding:7px 23px 7px 9px;background:#fff;color:#384c57;direction:ltr}.app-header .language-picker select{max-width:105px}.app-header{box-shadow:0 2px 12px #26333c06;position:relative;z-index:30}.app-header .logo{width:158px}.app-header .nav-item.active{background:#fff0e9;color:#b64f2e}
.commerce-home{background:#fff;color:#17262d}.commerce-home .section{max-width:1260px;padding:88px 32px}.commerce-home section[id]{scroll-margin-top:calc(var(--commercial-header-height) + 10px)}.commerce-home .eyebrow,.public-collection .eyebrow{font-size:12px;letter-spacing:1.8px}.commerce-home h2{font-weight:600;letter-spacing:-1.3px}.commerce-home p{font-size:16px;color:#63737b}.commerce-home .section-heading p{font-size:16px;max-width:390px}.commerce-home .workflow{gap:44px}.commerce-home .workflow article{border-top:2px solid #e4e9eb;padding-top:23px}.commerce-home .workflow h3{font-size:23px;font-weight:600}.commerce-home .workflow p{font-size:16px}.commerce-home .step-num{font-size:12px;letter-spacing:.6px;margin-bottom:26px}
.hero.photo-hero{position:relative;isolation:isolate;display:flex;max-width:none;margin:0;padding:90px 32px;min-height:730px;background:#101b24 url('/assets/laser-hero.png') center center/cover no-repeat;color:#fff;overflow:hidden}.photo-hero:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(9,20,29,.9) 0%,rgba(10,21,29,.72) 37%,rgba(10,21,29,.14) 77%),linear-gradient(0deg,rgba(9,20,29,.28),transparent 40%)}.hero-inner{width:min(1196px,100%);margin:auto;position:relative}.photo-hero .hero-copy{max-width:680px;padding:10px 0 45px}.photo-hero .eyebrow{color:#e1e6e8;letter-spacing:2px}.photo-hero h1{font-size:clamp(46px,5.3vw,76px);font-weight:600;line-height:1.1;letter-spacing:-2.8px;margin:30px 0 25px}.photo-hero h1 em{color:#ff9a75}.photo-hero .hero-copy>p{font-size:18px;max-width:535px;line-height:1.8;color:#d6dee1}.photo-hero .hero-actions{margin:32px 0 25px;gap:14px}.photo-hero .btn{padding:15px 21px;font-size:15px;border-radius:6px}.hero-secondary{border-color:#8a969c;background:#ffffff08;color:#fff}.hero-secondary:hover{background:#ffffff18}.photo-hero .hero-note{gap:22px;font-size:13px;color:#d2dadd}.photo-hero .hero-note svg{color:#ff9a75;width:16px;height:16px}.hero-caption{position:absolute;inset-inline-end:0;bottom:-70px;text-align:end;border-inline-end:2px solid #e98b63;padding-inline-end:16px}.hero-caption>span{display:block;font-size:10px;letter-spacing:2px;color:#b8c5cd}.hero-caption>strong{display:block;font-size:13px;font-weight:500;margin-top:8px;color:#e3e8eb}
.commerce-home .trust-strip{max-width:none;background:#f5f7f8;border-color:#e3e8eb;padding:26px max(32px,calc((100vw - 1196px)/2));font-size:12px;gap:22px}.commerce-home .trust-strip strong{font-size:12px;color:#4a5d67;letter-spacing:.6px}.commerce-home .atelier-feature{background:#edf2f4;padding:80px 32px}.commerce-home .feature-grid{gap:70px}.commerce-home .feature-copy h2{font-size:40px}.commerce-home .feature-copy p,.commerce-home .feature-list li{font-size:16px}.commerce-home .mini-editor{box-shadow:0 18px 50px #1d324311;border-color:#d8e1e5}.commerce-home .feature-list svg{color:#d95c37}.collection-invitation{display:flex;align-items:center;justify-content:space-between;gap:35px}.collection-invitation h2{font-size:36px;margin:18px 0 12px}.collection-invitation p{max-width:700px;margin-bottom:0}.commerce-home .pricing-section{background:#f2f5f6}.pricing-currency{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 25px;font-size:13px;color:#64757d}.pricing-currency label{display:flex;align-items:center;gap:12px;font-weight:500;color:#314650}.pricing-currency select{border:1px solid #cfd9de;background:white;border-radius:6px;padding:10px 12px;font-size:13px;min-width:190px;max-width:100%;color:#273e49}.price-card{background:white;border-color:#dbe3e7;padding:30px;border-radius:10px}.price-card.featured{background:#fff;border-color:#e47752;box-shadow:0 8px 30px #a65b3010}.price-card .badge{background:#fff1e9;color:#b55331}.price-card.featured .badge{background:#e95c36;color:white}.price-card>p,.price-card ul{font-size:14px}.price-value{font-size:38px;letter-spacing:-1.5px;white-space:nowrap}.price-card li:before{content:'✓';color:#d65a36}.price-card .token-count{font-size:14px}.commerce-home .pricing-note{font-size:13px}.commerce-home .faq{gap:80px}.commerce-home .faq summary{font-size:16px}.commerce-home .faq details p{font-size:15px}.commerce-home .cta-band{background:#172b36;border-radius:8px;padding:46px 48px;margin:0 auto 72px;max-width:1196px}.commerce-home .cta-band h2{color:white}.commerce-home .cta-band p{color:#ccd5da;font-size:16px}.commercial-footer{max-width:1260px;padding:32px;gap:24px;font-size:13px}.commercial-footer .logo{width:158px}.commercial-footer .footer-links{font-size:13px}
.public-collection{background:#fff;min-height:75vh;color:#172b36}.collection-heading{padding:36px 32px 42px;max-width:1260px;margin:auto}.collection-breadcrumb{display:flex;gap:10px;font-size:13px;color:#7b8a91;margin-bottom:40px}.collection-breadcrumb a{color:#b65b37}.collection-intro{display:flex;justify-content:space-between;align-items:center;gap:40px}.collection-intro h1{font-size:clamp(36px,4.3vw,60px);letter-spacing:-1.9px;line-height:1.15;font-weight:600;margin:18px 0}.collection-intro p{font-size:17px;color:#697a84;max-width:720px;margin:0}.collection-total{padding-inline-start:30px;border-inline-start:1px solid #d9e2e7;min-width:155px}.collection-total strong{font-size:54px;font-weight:500;letter-spacing:-2px;display:block}.collection-total>span{font-size:13px;color:#75858e}.collection-formats{display:flex;align-items:center;gap:10px;margin-top:32px}.collection-formats>span{font:11px monospace;padding:5px 9px;background:#edf2f5;color:#5d737f;border-radius:4px}.collection-formats p{font-size:13px;color:#7a8b95;margin:0 10px}.collection-catalog{max-width:1260px;margin:auto;padding:0 32px 60px}.collection-toolbar{position:sticky;top:var(--commercial-header-height);z-index:35;background:#fff;padding:18px 0;border-top:1px solid #e1e8ec;border-bottom:1px solid #e1e8ec;margin-bottom:20px;align-items:center}.public-collection .filter{font-size:13px;border-color:#dae3e7;color:#526b78}.public-collection .filter.active{background:#203b4b;color:#fff;border-color:#203b4b}.public-collection .search{font-size:13px;max-width:300px;background:#f7f9fa;padding:13px}.collection-result-row{display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:13px;color:#748590;margin-bottom:24px}.public-collection .pattern-preview{background:#f0f3f3}.public-collection .pattern-info{font-size:14px;gap:8px}.public-collection .pattern-info>span{font-size:11px}.public-collection .pattern-dimensions{font-size:11px}.collection-bottom{border-top:1px solid #e1e8ec;display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:30px;margin-top:40px}.collection-bottom p{font-size:16px;color:#687c87;margin:0}.pack-price-settings{margin-top:24px}.pack-price-settings input{max-width:180px;width:100%;padding:10px;border:1px solid #d9e2e6;border-radius:5px;direction:ltr}.pack-price-settings td,.pack-price-settings th{white-space:nowrap}.pack-price-settings p{font-size:13px;color:#72838b}
html[dir=rtl] body{font-family:'Segoe UI',Tahoma,Arial,sans-serif}html[dir=rtl] .workspace{direction:ltr}html[dir=rtl] .left-panel,html[dir=rtl] .right-panel{direction:rtl;text-align:right}html[dir=rtl] .drawing,html[dir=rtl] input[type=number],html[dir=rtl] .source-preview-stage,html[dir=rtl] .template-fit-preview svg{direction:ltr}html[dir=rtl] .photo-hero:before{background:linear-gradient(270deg,#09141de6,#0a151db8 40%,#0a151d44)}html[dir=rtl] .hero-copy{text-align:right}html[dir=rtl] .mini-editor{direction:ltr}html[dir=rtl] .tree-label,html[dir=rtl] .editor-template{text-align:right}html[dir=rtl] .object-tree-row{padding-inline-start:calc(2px + var(--tree-depth)*10px);padding-inline-end:3px}html[dir=rtl] .modal-close{right:auto;left:16px}
@media(max-width:1100px){.commercial-header nav{gap:16px;font-size:13px}.commercial-header .logo{width:155px}.commercial-header .btn{font-size:13px;padding:12px}.public-navigation{gap:15px;width:calc(100% - 40px)}.public-collection .pattern-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.app-header{gap:12px;padding:0 14px}.app-header .logo{width:130px}.header-right{gap:9px}.app-header .language-picker select{max-width:83px}.photo-hero .hero-copy{max-width:590px}.photo-hero h1{font-size:62px}.commerce-home .trust-strip{flex-wrap:wrap;justify-content:center}}
@media(max-width:800px){.commerce-home .feature-grid{grid-template-columns:1fr;gap:35px}.commerce-home .mini-editor{max-width:600px}.public-collection .pattern-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.collection-toolbar{align-items:stretch;flex-direction:column;gap:15px}.public-collection .search{max-width:none}.collection-invitation{align-items:flex-start;flex-direction:column}.commerce-home .faq{gap:32px}.pricing-currency{align-items:flex-start;flex-direction:column}.commerce-home .price-value{font-size:32px}}
@media(max-width:740px){:root{--commercial-header-height:112px}.commercial-header.topbar{height:var(--commercial-header-height)}.public-navigation{width:calc(100% - 28px);display:grid;grid-template-columns:minmax(90px,1fr) auto;gap:5px 8px;padding:10px 0}.commercial-header .logo{width:118px;height:35px}.commercial-header .actions{gap:6px}.commercial-header .actions .btn{font-size:12px;padding:10px 11px}.commercial-header .language-picker select{max-width:71px;font-size:11px;padding:6px 15px 6px 6px;min-height:34px}.commercial-header nav{grid-row:2;grid-column:1/-1;width:100%;overflow-x:auto;gap:23px;justify-content:space-between;border-top:1px solid #edf1f3;padding-top:3px}.commercial-header nav a{font-size:12px;padding:10px 0}.hero.photo-hero{min-height:665px;padding:70px 24px;background-position:62% center}.photo-hero:before{background:linear-gradient(90deg,#09141de6,#0a151d99 75%,#0a151d66)}.photo-hero .hero-copy{max-width:100%;padding:0 0 30px}.photo-hero h1{font-size:46px;letter-spacing:-1.8px;line-height:1.13}.photo-hero .hero-copy>p{font-size:16px;max-width:460px}.photo-hero .hero-actions{flex-wrap:wrap;gap:10px}.photo-hero .btn{font-size:13px;padding:13px 15px}.photo-hero .hero-note{flex-wrap:wrap;gap:10px 16px;font-size:12px}.hero-caption{bottom:-40px;inset-inline-start:0;inset-inline-end:auto;text-align:start}.commerce-home .section{padding:60px 24px}.commerce-home .section-heading h2,.collection-invitation h2{font-size:33px}.commerce-home .workflow{grid-template-columns:1fr;gap:25px}.commerce-home .step-num{margin-bottom:15px}.commerce-home .workflow p{max-width:none}.commerce-home .atelier-feature{padding:55px 24px}.commerce-home .feature-copy h2{font-size:34px}.commerce-home .faq{grid-template-columns:1fr}.commerce-home .price-grid{grid-template-columns:1fr}.commerce-home .price-value{font-size:43px}.commerce-home .cta-band{border-radius:0;margin-bottom:0;flex-direction:column;align-items:flex-start;padding:40px 24px}.commerce-home .cta-band h2{font-size:32px}.commercial-footer{padding:30px 24px;flex-wrap:wrap;justify-content:flex-start}.commercial-footer .footer-links{flex-wrap:wrap}.collection-heading{padding:28px 22px 30px}.collection-breadcrumb{margin-bottom:28px}.collection-intro{gap:20px;align-items:flex-start;flex-direction:column}.collection-intro h1{font-size:39px}.collection-intro p{font-size:16px}.collection-total{display:flex;align-items:baseline;gap:10px;border:0;padding:0}.collection-total strong{font-size:33px;letter-spacing:-1px}.collection-formats{flex-wrap:wrap;margin-top:22px}.collection-formats p{font-size:12px;margin:5px 0;width:100%}.collection-catalog{padding:0 22px 45px}.collection-toolbar .gallery-controls{gap:7px}.public-collection .filter{padding:7px 10px;font-size:12px}.public-collection .pattern-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}.public-collection .pattern-preview{height:224px}.public-collection .pattern-info{font-size:12px}.public-collection .pattern-info>span{font-size:9px}.collection-result-row{gap:10px;font-size:11px}.collection-bottom{align-items:flex-start;flex-direction:column}.app-header .language-picker select{max-width:68px;font-size:10px}.app-header .header-right{gap:5px}.app-header .logo{width:105px}.app-header{padding:0 10px;gap:7px}.app-header nav{gap:0}.app-header .nav-item{padding:8px}.app-header .balance{padding:6px;font-size:10px}.app-header .avatar{display:none}}
@media(max-width:360px){.commercial-header .logo{width:99px}.commercial-header .actions .btn{font-size:11px;padding:10px 8px}.commercial-header nav{gap:15px}.photo-hero h1{font-size:41px}.public-collection .pattern-info>span{display:none}}

.public-collection .pattern-arrow{display:none}html[dir=rtl] h1,html[dir=rtl] h2{letter-spacing:0}
/* Public information pages and footer. Arabic copy stays in the clear left area. */
.photo-hero .hero-inner{direction:ltr}
.photo-hero .hero-copy{margin-left:0;margin-right:auto}
html[dir=rtl] .photo-hero .hero-copy{direction:rtl;text-align:right}
html[dir=rtl] .photo-hero .hero-copy>p{margin-left:auto;margin-right:0}
html[dir=rtl] .photo-hero:before{background:linear-gradient(90deg,#09141de6,#0a151db8 40%,#0a151d44)}
.site-footer{display:block;max-width:none;margin:0;background:#edf2f4;border-top:1px solid #d9e2e6;padding:58px max(28px,calc((100vw - 1196px)/2)) 24px;color:#304752}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1.1fr;gap:80px;max-width:1196px;margin:auto}
.footer-brand{display:flex;flex-direction:column;align-items:flex-start;gap:13px}
.footer-brand img{display:block;max-width:180px;height:auto}
.footer-brand p{max-width:360px;font-size:15px;line-height:1.8;margin:4px 0;color:#536a76}
.footer-brand>span{font-size:12px;color:#647a85}
.site-footer a{color:inherit;text-decoration:none}
.site-footer a:hover{text-decoration:underline;text-underline-offset:4px;color:#b9401c}
.site-footer nav{display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.site-footer nav h2{font-size:13px;margin:0 0 9px;text-transform:uppercase;letter-spacing:.7px;color:#536a76;font-weight:600}
.site-footer nav a{font-size:13px;line-height:1.5}
.footer-bottom{max-width:1196px;margin:42px auto 0;border-top:1px solid #d3dfe4;padding-top:22px;display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:12px;color:#617682}
.footer-bottom nav{flex-direction:row;gap:20px}
.information-page{max-width:1196px;margin:0 auto;padding:54px 28px 90px;min-height:65vh;color:#233c48}
.information-heading{max-width:850px;margin-bottom:45px}
.information-back{display:inline-block;color:#687b85;font-size:13px;margin-bottom:37px;text-decoration:none}
.information-heading .eyebrow{font-size:11px;letter-spacing:1.4px;color:#be502e;margin-bottom:18px}
.information-heading h1{font-size:clamp(32px,4vw,54px);line-height:1.16;letter-spacing:-1.5px;margin:0 0 20px;font-weight:600}
.information-heading>p{font-size:18px;line-height:1.75;color:#5e737e;margin:0 0 20px}
.information-heading small{font-size:12px;color:#738690}
.information-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:60px;align-items:start}
.information-nav{position:sticky;top:calc(var(--commercial-header-height,74px) + 25px);display:flex;flex-direction:column;gap:6px;border-inline-start:1px solid #dbe3e7;padding-inline-start:17px}
.information-nav a{font-size:13px;color:#627782;text-decoration:none;padding:9px 0;line-height:1.6}
.information-nav a[aria-current=page]{font-weight:600;color:#c24a26}
.information-layout article{min-width:0;max-width:790px}
.information-section{margin-bottom:33px}
.information-section h2,.identity-card h2{font-size:21px;font-weight:600;letter-spacing:-.3px;margin:0 0 14px}
.information-section p{font-size:15px;line-height:1.95;color:#506773;margin:0 0 14px;overflow-wrap:anywhere}
.information-section a,.identity-card a{color:#b64220;text-underline-offset:4px}
.identity-card{background:#f0f4f5;border:1px solid #dce5e9;padding:26px;border-radius:9px;margin:35px 0 22px}
.identity-card dl{margin:0}
.identity-card dl>div{display:grid;grid-template-columns:minmax(140px,.8fr) minmax(0,1fr);gap:15px;padding:12px 0;border-bottom:1px solid #dce5e9;font-size:13px;line-height:1.7}
.identity-card dl>div:last-child{border:0}
.identity-card dt{color:#687e89}
.identity-card dd{margin:0;overflow-wrap:anywhere;white-space:pre-line}
.information-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.information-links>a{display:flex;flex-direction:column;gap:12px;padding:22px;text-decoration:none;border:1px solid #d9e2e6;border-radius:8px;color:#2e4956;background:#fff}
.information-links>a:hover{border-color:#d56643;background:#fffaf7}
.information-links strong{font-size:16px;font-weight:600}
.information-links span{font-size:13px;line-height:1.8;color:#627985}
.crawlable-collection{padding:0;list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.crawlable-collection li{border:1px solid #dbe4e7;border-radius:8px;padding:20px}
html[dir=rtl] .information-heading h1{letter-spacing:0;line-height:1.5}
html[dir=rtl] .footer-grid,html[dir=rtl] .information-page{direction:rtl}
@media(max-width:740px){.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:35px 22px}.footer-brand{grid-column:1/-1}.site-footer{padding:38px 24px 24px}.footer-bottom{align-items:flex-start;flex-direction:column}.information-page{padding:30px 22px 55px}.information-heading{margin-bottom:28px}.information-heading>p{font-size:16px}.information-layout{grid-template-columns:1fr;gap:30px}.information-nav{position:static;flex-direction:row;flex-wrap:wrap;gap:5px 15px}.information-links{grid-template-columns:1fr}.identity-card{padding:18px}.identity-card dl>div{grid-template-columns:1fr;gap:3px}.crawlable-collection{grid-template-columns:1fr}html[dir=rtl] .photo-hero:before{background:linear-gradient(90deg,#09141de6,#0a151d99 75%,#0a151d66)}}
.paginated-grid#collection-grid{grid-template-columns:repeat(var(--collection-columns),minmax(0,1fr));scroll-margin-top:calc(var(--commercial-header-height,74px) + 95px)}
.collection-catalog{scroll-margin-top:calc(var(--commercial-header-height,74px) + 16px)}
.collection-loading,.collection-error{min-height:300px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:45px 20px;color:#304c5b;gap:14px}
.collection-loading strong{font-size:17px;font-weight:600}.collection-loading p,.collection-error p{font-size:14px;color:#74858d;margin:0;max-width:420px}
.collection-spinner{display:flex;align-items:center;justify-content:center;width:58px;height:58px;background:#edf3f5;border:1px solid #dae5ea;border-radius:50%;color:#d85732;margin-bottom:5px}
.collection-spinner svg{width:25px;height:25px;animation:collection-spin 1.2s linear infinite}
@keyframes collection-spin{to{transform:rotate(360deg)}}
.collection-pagination{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;border-top:1px solid #dce5e9;padding-top:24px;margin-top:30px;font-size:13px;color:#617781}
.pagination-controls{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap}
.pagination-controls button{border:1px solid #d7e1e6;border-radius:6px;padding:10px 13px;min-height:38px;background:#fff;font-size:13px;color:#354f5d}
.pagination-controls button:hover:not(:disabled){border-color:#e36c46;background:#fff6f1;color:#b4401d}
.pagination-controls button[aria-current=page]{color:#fff;background:#203b4b;border-color:#203b4b}
.pagination-controls button:disabled{cursor:default;opacity:.4}
.pagination-controls .page-number{min-width:38px}.pagination-page{display:flex;align-items:center;gap:7px}.pagination-page b{font-weight:500}.pagination-ellipsis{padding:0 3px}
.collection-image-preview{position:relative}.collection-image-preview .collection-preview{position:relative;display:block;width:83%;height:87%;object-fit:contain;opacity:0;transition:opacity .16s ease;box-shadow:none;transform:none}
.collection-thumb-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#abbcc2}.collection-thumb-placeholder svg{width:38px;height:38px;stroke-width:1}
.preview-ready .collection-preview{opacity:1}.preview-ready .collection-thumb-placeholder{display:none}.preview-unavailable .collection-preview{visibility:hidden}
.collection-result-row .collection-actions{display:flex;gap:8px;flex-wrap:wrap}.app-gallery .collection-pagination{margin-bottom:25px}
@media(max-width:740px){.collection-pagination{gap:15px;font-size:12px}.pagination-controls{order:3;width:100%;gap:4px}.pagination-controls button{padding:9px 6px;min-height:36px;font-size:12px}.pagination-controls .page-number{min-width:30px}.pagination-controls .pagination-ellipsis{padding:0}.collection-result-row{align-items:flex-start;flex-wrap:wrap}.collection-result-row .collection-actions{gap:6px}.collection-loading{min-height:260px}.collection-loading strong{font-size:16px}}
@media(prefers-reduced-motion:reduce){.collection-spinner svg{animation:none}.collection-image-preview .collection-preview{transition:none}}
.payment-quote{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px;background:#edf3f5;border:1px solid #d6e2e8;border-radius:8px;margin:22px 0}.payment-quote>div{display:flex;flex-direction:column;gap:9px}.payment-quote>strong{font-size:24px;white-space:nowrap}.payment-quote span{font-size:13px;color:#6a7e89}
.payment-choices{display:grid;gap:10px;margin:22px 0}.payment-choice{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid #d9e2e6;border-radius:8px;cursor:pointer;background:#fff}.payment-choice:has(input:checked){border-color:#e66b44;background:#fff6f1}.payment-choice input{accent-color:#e55d37;width:17px;height:17px;flex-shrink:0}.payment-choice span{display:flex;flex-direction:column;gap:7px}.payment-choice strong{font-size:15px;font-weight:600}.payment-choice small{color:#6b7f8a;font-size:12px;line-height:1.6}
.payment-terms{font-size:12px;color:#617682;margin:20px 0}.payment-terms a{text-decoration:underline;text-underline-offset:3px}.payment-currencies{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:13px;margin:15px 0}.payment-details{border:1px solid #dbe4e9;border-radius:8px;padding:7px 18px;margin:20px 0}.payment-details>div{display:grid;grid-template-columns:1fr 1.3fr;gap:18px;padding:13px 0;border-bottom:1px solid #e2e8ec;font-size:13px;line-height:1.7}.payment-details>div:last-child{border:0}.payment-details dt{color:#70838e}.payment-details dd{margin:0;overflow-wrap:anywhere}.payment-details dd>button{display:block;font-size:12px;margin-top:6px;color:#c4532e}.payment-details dd[data-no-i18n],.payment-details strong[data-no-i18n]{unicode-bidi:plaintext}.payment-instructions{white-space:pre-wrap;font-size:14px;line-height:1.8;color:#47606e}
.payment-order-head,.payment-section-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.payment-order-head{font-size:12px;color:#73858e}.payment-status{display:inline-flex;align-items:center;padding:6px 9px;border-radius:5px;font-size:11px;line-height:1.5;white-space:nowrap;background:#edf1f3;color:#61747f}.payment-status.pending{background:#fff1d9;color:#8a651c}.payment-status.submitted{background:#e6f1fa;color:#2f6e9d}.payment-status.approved{background:#e7f2e8;color:#3b7344}.payment-status.rejected{background:#fbe8e5;color:#ac4433}.payment-history{margin-top:32px}.payment-section-head{margin-bottom:20px}.payment-section-head h2{margin:0}.payment-section-head p{font-size:13px;max-width:680px;margin:10px 0 0;line-height:1.8}.payment-history td small,.admin-payments td small{display:block;margin-top:7px;font-size:11px;color:#768994}.payment-pager{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:24px;font-size:13px}.payment-filter{max-width:260px}.payment-audit{border-top:1px solid #dce5e9;padding-top:18px;margin-top:24px;font-size:13px}.payment-audit summary{cursor:pointer;color:#576e7a}.payment-audit p{font-size:12px;line-height:1.7;margin:14px 0 0;color:#70818c}.payment-attestation{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.8;margin:20px 0}.payment-attestation input{margin-top:5px;accent-color:#df6138;flex-shrink:0}.manual-payment-settings textarea,.payment-order textarea,.payment-review textarea{width:100%;border:1px solid #d9e2e6;border-radius:6px;padding:11px;background:#fff;resize:vertical;font:inherit;font-size:13px;color:inherit}.manual-payment-settings>p{font-size:13px;line-height:1.8}.manual-payment-settings>a{font-size:12px;color:#b74c2a;text-decoration:underline;text-underline-offset:3px}.payment-review [hidden]{display:none}
@media(max-width:740px){.payment-quote{padding:16px;gap:15px;align-items:flex-start;flex-direction:column}.payment-quote>strong{font-size:26px}.payment-details{padding:6px 14px}.payment-details>div{grid-template-columns:1fr;gap:4px}.payment-order-head,.payment-section-head{align-items:flex-start;flex-direction:column;gap:12px}.payment-section-head h2{font-size:18px}.payment-history .table-wrap,.admin-payments .table-wrap{max-width:100%;overflow-x:auto}.payment-pager{gap:12px}.payment-history,.admin-payments{min-width:0}.payment-choice{padding:13px}.payment-attestation{font-size:12px}}

/* Contour crop preview, independent of the drawing and export geometry. */
#modal:has(#crop-form){max-height:92dvh;overflow:auto;width:min(620px,calc(100vw - 24px))}
#crop-form>p:first-child{font-size:14px;line-height:1.6}
#crop-form .field-row{gap:16px}#crop-form .field{font-size:14px}
.crop-preview{height:300px;background:#edf0e8;border:1px solid #dce2d5;border-radius:8px;overflow:hidden;margin-top:16px}
.crop-preview svg{display:block;width:100%;height:100%}
.crop-legend{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin:8px 0 16px;font-size:12px;color:#69765f}
.crop-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:14px 0;border-block:1px solid var(--line)}
.crop-summary>div{display:flex;flex-direction:column;gap:6px}.crop-summary strong{font-size:22px;color:#263329}.crop-summary span{font-size:12px;line-height:1.4;color:#69765f}
.crop-help,.crop-notes p{font-size:13px;line-height:1.6;color:#6e7c63}.crop-notes p{margin:10px 0 0;color:#855125}
@media(max-width:700px){.crop-toolbar-button{display:none}#crop-form .field-row{grid-template-columns:1fr}.crop-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.crop-preview{height:240px}}

/* Shape palette, sheet display and direct CAD controls. */
.workspace{position:relative}.tools-rail{overflow-y:auto;overflow-x:hidden;min-height:0}.tools-rail .icon-btn{flex-shrink:0}
.shape-menu{position:absolute;z-index:25;left:54px;top:80px;width:275px;max-height:calc(100dvh - 240px);overflow-y:auto;padding:8px;background:#292d33;color:#f5f7fb;border:1px solid #41464e;border-radius:12px;box-shadow:0 12px 38px #10202d40}.shape-menu[hidden]{display:none}.shape-menu-title{font-size:12px;letter-spacing:.04em;color:#b2bbc9;padding:9px 12px 12px}.shape-menu-row{display:flex;align-items:center;gap:4px}.shape-menu-row>button{display:flex;align-items:center;gap:12px;width:100%;padding:10px 12px;font-size:14px;text-align:start;border-radius:6px;color:inherit;background:transparent}.shape-menu-row>button:hover,.shape-menu-row>button.active{background:#404650!important;color:#fff!important}.shape-menu svg{width:21px;height:21px;flex-shrink:0;color:#aab9ca}.shape-menu kbd{margin-inline-start:auto;font:12px monospace;color:#929fad}.shape-menu-row input{width:52px;flex-shrink:0;margin-inline-end:8px;border-radius:6px;border:1px solid #6d7a8b;background:#fff;color:#172b36;padding:5px;font-size:13px}.shape-parameter{display:flex;gap:6px;align-items:center;padding:4px 7px;background:#fff;border:1px solid #d7dfe8;border-radius:5px;font-size:12px}.shape-parameter input{width:65px;padding:4px;border:1px solid #d0d8e3;border-radius:3px;font-size:12px}
.workspace-ruler{position:absolute;z-index:3;pointer-events:none;stroke:#95a2b3;fill:#566376;font:10px Arial,sans-serif}.workspace-ruler text{stroke:none;fill:#58697c}.ruler-horizontal{top:0;left:0;width:100%;height:24px}.ruler-vertical{top:0;left:0;width:24px;height:100%}.canvas-top-label{left:38px;top:31px}.cad-context{left:38px;top:55px}.canvas-area{isolation:isolate}
.view-color-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0 22px}.view-color{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px}.view-color input{width:46px;height:32px;padding:2px;border:1px solid #c9d2de;border-radius:5px;background:#fff}#workspace-view-form .check-field{font-size:14px;margin-bottom:12px}
.selection-quick{position:absolute;z-index:6;display:flex;align-items:center;gap:3px;padding:5px;border:1px solid #d4dce5;border-radius:9px;background:#ffffffed;box-shadow:0 4px 16px #2133441c;backdrop-filter:blur(8px)}.selection-quick[hidden]{display:none}.selection-quick .icon-btn{width:31px;height:31px}.selection-quick .icon-btn svg{width:17px;height:17px}.selection-quick .icon-btn:hover{background:#eef2f7}
.dimension-inline{position:absolute;z-index:12;width:320px;max-width:calc(100% - 38px);max-height:calc(100% - 110px);overflow:auto;padding:16px;border:1px solid #c5d2e2;border-radius:10px;background:#fff;box-shadow:0 8px 30px #1f344b30;font-size:13px}.dimension-inline .field{font-size:12px;margin-bottom:10px}.dimension-inline .field-row{gap:8px}.dimension-inline input,.dimension-inline select{font-size:13px;padding:8px;width:100%;min-width:0}.inline-dimension-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px;font-size:14px}.inline-dimension-heading button{font-size:22px;background:transparent}.dimension-inline .btn{width:100%;margin-top:3px}.dimension-inline .form-error{font-size:12px}
[dir=rtl] .shape-menu{left:auto;right:54px}
@media(max-width:650px){.shape-menu{left:46px;width:min(275px,calc(100vw - 62px));top:68px;max-height:calc(100dvh - 200px)}[dir=rtl] .shape-menu{right:46px}.selection-quick{gap:0;padding:3px}.selection-quick .icon-btn{width:28px;height:29px}.dimension-inline{padding:12px}.view-color-grid{grid-template-columns:1fr}.cad-context .cad-hint{display:none}.cad-context{gap:5px;right:6px}.shape-parameter{font-size:11px}.shape-parameter input{width:45px}}

.dimension-resize-help{font-size:12px;line-height:1.6;color:#67788c}.dimension-inline .field{min-width:0}@media(max-width:650px){.dimension-inline .field-row{grid-template-columns:1fr}}

/* Cached SVG images stay vector-sharp while avoiding per-contour DOM nodes. */
.pattern-preview>.template-image{width:100%;height:100%;object-fit:contain;display:block;background:transparent;box-shadow:none;padding:0}
.editor-template>.template-image{width:100%;height:90px;object-fit:contain;display:block;margin:auto;background:transparent;padding:0;box-shadow:none}
.source-preview-surface>.template-image{display:block;width:100%;height:100%;object-fit:contain;background:transparent;box-shadow:none;padding:0}
.auth-visual>.template-image{display:block;width:100%;height:100%;object-fit:contain}
.template-loading-note{font-size:12px;color:#6a7c64;line-height:1.6}.editor-template-more{grid-column:1/-1;font-size:12px;padding:12px;background:#fff;border:1px solid var(--line);border-radius:5px}

.support-shape-preview{display:flex;flex-direction:column;align-items:center;gap:7px;padding:12px;margin:0 0 16px;border:1px solid #dce3ed;border-radius:7px;background:#f8fafc}.support-shape-preview svg{display:block;width:100%;height:90px}.support-shape-preview span,.support-note{font-size:11px;color:#6c7d90;line-height:1.5}.support-parameters .field{margin-bottom:12px}.support-parameters .check-field{font-size:12px;margin-bottom:12px}
