*{box-sizing:border-box} :root{color-scheme:dark;--bg:#131615;--panel:#1c201e;--line:#343a35;--muted:#a0a89f;--lime:#c8f17b}body{margin:0;background:var(--bg);color:#eef1e9;font:16px/1.5 'Segoe UI',Arial,sans-serif}button,input,select{font:inherit}button,a,label.drop{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,.drop:focus-visible{outline:2px solid var(--lime);outline-offset:4px}header{height:84px;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 4%;gap:20px}.brand{display:flex;align-items:center;gap:12px;font-size:23px;font-weight:650;color:inherit;text-decoration:none;letter-spacing:-1px}.logo{display:grid;place-items:center;width:35px;height:35px;background:var(--lime);color:#202719;font-size:25px;border-radius:10px;font-weight:800}.beta{font-size:11px;letter-spacing:1.5px;color:var(--muted);margin-left:5px;border-left:1px solid var(--line);padding-left:16px}.header-note{margin-left:auto;color:var(--muted);font-size:14px}.avatar{margin-left:24px;background:#31382e;border:1px solid #47503f;border-radius:50%;width:36px;height:36px;display:grid;place-items:center;font-size:12px}main{max-width:1480px;margin:auto;padding:38px 4% 0}.heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:650;color:var(--lime)}h1{font-size:34px;font-weight:500;letter-spacing:-1.3px;margin:8px 0}p{color:var(--muted);margin:0}.badge{font-size:12px;border:1px solid #4b563e;color:#d0e8ae;padding:6px 12px;border-radius:30px}.workspace{display:grid;grid-template-columns:330px 1fr;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--panel)}aside{padding:24px;border-right:1px solid var(--line)}.section-title{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-bottom:18px;color:var(--muted)}.section-title b{font-size:14px;color:#edf1e7;margin-left:8px;font-weight:500}.section-title .muted{font-size:10px}.drop{height:174px;display:block;position:relative;cursor:pointer;border:1px dashed #6b735e;border-radius:8px;overflow:hidden}.drop.drag{outline:3px solid var(--lime)}#source{width:100%;height:100%;object-fit:cover}.upload-overlay{position:absolute;inset:0;background:linear-gradient(transparent,#111b);display:flex;flex-direction:column;justify-content:flex-end;align-items:center;padding:18px 5px;color:white}.upload-overlay strong{font-size:14px}.upload-overlay small{font-size:11px;margin-top:4px}.filename{display:flex;justify-content:space-between;margin-top:11px;gap:8px;font-size:12px}.filename strong{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.filename>span{color:var(--muted);white-space:nowrap;font-size:11px}.samples{display:flex;gap:6px;margin-top:15px}.sample{border:1px solid var(--line);background:none;color:var(--muted);font-size:11px;border-radius:5px;padding:5px 9px}.sample.active{color:var(--lime);border-color:#758c4f;background:#2b3423}.divider{height:1px;background:var(--line);margin:23px 0}.field{display:block;font-size:13px;color:var(--muted)}select{display:block;width:100%;background:#252a26;border:1px solid #40483e;border-radius:6px;color:#edf1e7;padding:8px 10px;margin-top:7px;font-size:14px}.range-label{display:flex;justify-content:space-between;font-size:13px;margin-top:17px;color:#c4cbc0}output{color:#edf1e7;font-size:12px}input[type=range]{width:100%;accent-color:var(--lime);height:4px;cursor:pointer;margin:14px 0 5px}.primary{width:100%;margin-top:24px;background:var(--lime);color:#243115;border:0;border-radius:7px;font-size:14px;font-weight:650;padding:13px}.primary:hover{background:#dbff96}.disclaimer{font-size:11px;line-height:1.6;margin-top:12px;color:#939d8e}.viewer{display:flex;flex-direction:column;min-width:0;background:#202522}.viewer-bar{display:flex;justify-content:space-between;align-items:center;padding:18px 24px;font-size:11px;letter-spacing:1.5px}.live-dot{display:inline-block;width:6px;height:6px;background:var(--lime);border-radius:50%;margin-right:8px}.segmented{padding:3px;background:#151a16;border:1px solid #363d36;border-radius:7px;display:flex}.segmented button{font-size:12px;background:none;color:var(--muted);border:0;padding:5px 16px;border-radius:4px}.segmented button.active{background:#384035;color:#f1f4eb}.stage{position:relative;flex:1;min-height:460px;overflow:hidden;background:radial-gradient(ellipse at 50% 45%,#414b3e 0,#242b25 54%,#1d231f 100%)}#render{display:block;width:100%;height:100%;position:absolute;object-fit:contain}.stage-label{position:absolute;bottom:25px;left:26px;display:flex;flex-direction:column;font-size:16px}.stage-label small{font-size:11px;color:var(--muted);margin-top:4px}.light-control{position:absolute;right:26px;bottom:28px;width:130px;font-size:11px;color:#b7c1b2}.viewer-bottom{display:flex;justify-content:space-between;padding:16px 24px;border-top:1px solid var(--line);color:var(--muted);font-size:11px}.viewer-bottom>span:last-child{color:#c3d5b2}.maps-section{margin-top:36px}.maps-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:19px}h2{font-size:22px;font-weight:500;letter-spacing:-.5px;margin:5px 0}.secondary{background:transparent;border:1px solid #46503f;color:#dce5d3;border-radius:6px;padding:10px 15px;font-size:12px}.secondary:hover{background:#2d3529}.maps{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.map{position:relative;padding:0;background:#1d221e;border:1px solid var(--line);border-radius:9px;overflow:hidden;text-align:left;color:inherit}.map.active{border-color:var(--lime)}.map canvas{width:100%;height:130px;object-fit:cover;display:block}.map>span{padding:13px 15px;display:flex;flex-direction:column}.map strong{font-size:14px;font-weight:500}.map small{font-size:11px;color:var(--muted);margin-top:3px}.map i{position:absolute;right:12px;top:10px;background:#1119;color:#fff;font-size:11px;font-style:normal;padding:3px 7px;border-radius:4px}footer{display:flex;justify-content:space-between;padding:28px 0;color:#929c8d;font-size:11px}.muted{color:var(--muted)}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#e0f0cc;color:#25331c;border-radius:8px;padding:12px 20px;font-size:14px;display:none;max-width:90%;box-shadow:0 8px 35px #0006}@media(min-width:1500px){.stage{min-height:520px}}@media(max-width:850px){header{height:70px}.header-note{display:none}.avatar{margin-left:auto}.workspace{grid-template-columns:280px 1fr}aside{padding:18px}.stage{min-height:500px}.light-control{bottom:88px;left:26px}.viewer-bottom>span:first-child{display:none}.maps{gap:10px}.map small{display:none}}@media(max-width:620px){main{padding:24px 16px 0}.heading{align-items:flex-start;gap:10px}h1{font-size:27px}.heading p{font-size:14px}.badge{display:none}.workspace{display:flex;flex-direction:column}.viewer{order:-1}.stage{min-height:390px}.viewer-bar{padding:14px}.light-control{bottom:85px;left:auto;right:18px}aside{border-right:0;border-top:1px solid var(--line)}.drop{height:160px}.maps{grid-template-columns:1fr 1fr}.maps-heading{align-items:flex-start;gap:14px}h2{font-size:19px}.secondary{max-width:135px;font-size:11px}footer{gap:20px}.beta{display:none}}

.export-panel{margin-top:30px;border:1px solid var(--line);border-radius:12px;background:var(--panel);padding:24px}.export-panel p{font-size:14px}.export-controls{display:grid;grid-template-columns:1fr 1fr auto;gap:18px;align-items:end;margin:22px 0 18px}.export-controls .primary{margin:0;width:auto;min-height:40px}.export-limit{font-size:12px!important;margin-top:12px;color:#bac0b5!important}button:disabled{opacity:.6;cursor:wait}@media(max-width:750px){.export-controls{grid-template-columns:1fr}.export-panel{padding:18px}}
[hidden]{display:none!important}.studio-tabs{display:flex;gap:8px;margin-bottom:24px;border-bottom:1px solid var(--line);padding-bottom:12px}.studio-tabs button{background:none;border:0;border-radius:7px;padding:11px 22px;color:var(--muted);font-size:15px}.studio-tabs button.active{background:#303b27;color:var(--lime)}.swap-intro{padding:15px 0 26px}.swap-intro h2{font-size:30px}.swap-layout{display:grid;grid-template-columns:1fr 1.25fr;gap:24px}.swap-card{padding:26px;background:var(--panel);border:1px solid var(--line);border-radius:12px}.swap-card h3{font-size:17px;font-weight:500;margin:0 0 20px}.swap-upload{display:flex;flex-direction:column;gap:18px;padding:28px;border:1px dashed #758663;border-radius:9px;color:var(--lime)}.swap-upload input{max-width:100%;font-size:14px;color:#dce3d4}.swap-upload small{font-size:12px;color:var(--muted)}#swap-status,#swap-target-note,#swap-warning{font-size:14px;margin:18px 0;overflow-wrap:anywhere}#swap-image{width:100%;height:240px;object-fit:contain;background:#141814;border-radius:8px;margin:8px 0}#swap-review{margin-top:28px}#swap-name{display:block;width:100%;padding:9px;background:#252a26;color:#edf1e7;border:1px solid #40483e;border-radius:6px;margin:7px 0 18px}.swap-map-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.swap-map-grid select{max-width:100%}.swap-map-grid label{min-width:0}@media(max-width:750px){.swap-layout{grid-template-columns:1fr}.swap-map-grid{grid-template-columns:1fr}}
.rotation-controls{margin-top:12px;justify-content:space-between}.rotation-controls button{padding:5px 9px}.studio-tabs{flex-wrap:wrap}.library-controls{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:16px}.library-controls input{display:block;width:100%;margin-top:7px;background:#252a26;color:#edf1e7;border:1px solid #40483e;border-radius:6px;padding:9px}.library-help{font-size:13px;margin:20px 0}#library-count{font-size:14px;margin:16px 0}#library-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.library-card{border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--panel)}.library-card img,.library-placeholder{width:100%;height:150px;object-fit:contain;background:#e8e8e8;display:block}.library-placeholder{display:grid;place-items:center;background:#303b27;color:var(--lime);font-size:24px}.library-card-body{padding:16px}.library-card h3{font-size:15px;font-weight:500;margin:5px 0;overflow-wrap:anywhere}.library-card small{font-size:12px;color:var(--muted)}.library-card a{display:block;text-decoration:none;text-align:center;margin-top:12px}.library-pages{display:flex;align-items:center;justify-content:center;gap:20px;margin:24px 0}@media(max-width:850px){#library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.library-controls{grid-template-columns:1fr 1fr}}@media(max-width:460px){#library-grid,.library-controls{grid-template-columns:1fr}}.library-preview{position:relative}.ex-badge{position:absolute;right:10px;bottom:10px;background:#d4f58c;color:#15210d;border:1px solid #223018;border-radius:4px;padding:3px 7px;font-size:13px;font-weight:800}.library-card button.secondary{width:100%;margin-top:12px}.library-controls{grid-template-columns:2fr repeat(4,1fr)}#material-details{width:min(720px,92vw);max-height:85vh;background:#1c201e;color:#eef1e9;border:1px solid #505e44;border-radius:12px;padding:26px}#material-details::backdrop{background:#0009}#details-close{float:right}#details-status{font-size:14px;margin:16px 0}#details-properties{display:grid;grid-template-columns:150px 1fr;gap:12px;font-size:14px}#details-properties dt{color:#a0a89f}#details-properties dd{margin:0;overflow-wrap:anywhere}#details-maps{font-size:14px;overflow-wrap:anywhere}#details-download{display:block;text-align:center;text-decoration:none}#library-service{font-size:13px;color:#c8f17b;margin:12px 0}@media(max-width:850px){.library-controls{grid-template-columns:1fr 1fr}}

.color-tools .field{margin-top:12px}.color-check{display:flex;gap:8px;font-size:12px;margin:14px 0}.color-inputs,.rgb-inputs{display:flex;gap:10px;margin:12px 0}.color-inputs label,.rgb-inputs label{flex:1;min-width:0;font-size:12px;color:var(--muted)}.color-inputs input,.rgb-inputs input{display:block;width:100%;padding:7px;background:#252a26;color:white;border:1px solid #46503f;border-radius:5px;margin-top:4px}.color-inputs input[type=color]{height:38px;padding:2px}.color-tools .secondary{width:100%}.workspace aside{max-height:900px;overflow-y:auto}.viewer{max-height:900px}@media(max-width:620px){.workspace aside{max-height:none}}
.library-preview{position:relative}.swatch-note{position:absolute;left:8px;bottom:8px;padding:4px 7px;border-radius:4px;background:#141a16dd;color:#ddd;font-size:11px;pointer-events:none}

/* Product workspace */
main{max-width:1600px}.heading{margin-bottom:28px}h1{font-size:clamp(28px,3vw,44px);font-weight:500}.studio-tabs{gap:8px;margin-bottom:0}.studio-tabs button{padding:13px 24px;border:0;background:transparent;color:#a9b2a4;border-radius:8px 8px 0 0}.studio-tabs button.active{color:#d5f4aa;background:#2d3827;border-bottom:2px solid var(--lime)}.account-chip{background:#283221;border:1px solid #4e623d;color:#d6e9c0;border-radius:30px;padding:9px 16px;font-size:13px}.usage-strip{display:flex;align-items:center;flex-wrap:wrap;gap:12px 25px;padding:18px 0 23px;border-bottom:1px solid var(--line);margin-bottom:30px;font-size:12px;color:#b5bfb0}.usage-strip .secondary{margin-left:auto;padding:7px 12px}.local-note{width:100%;font-size:11px;color:#899582}.creation-actions{display:flex;align-items:center;gap:12px;margin-bottom:22px}.creation-actions .primary{margin:0;width:auto;padding:11px 24px}.creation-actions>span{margin-right:auto;font-size:13px}.collection-banner{display:flex;align-items:center;gap:18px;padding:22px;background:linear-gradient(110deg,#2d3826,#1d251f);border:1px solid #40503a;border-radius:12px;margin-bottom:28px}.collection-banner p{font-size:12px;margin-top:4px}.collection-icon{font-size:32px;color:var(--lime)}.collection-banner .badge{margin-left:auto}.collection-actions{display:flex;gap:8px;margin-bottom:12px}.library-card .collection-actions button{margin:0;padding:7px 8px;font-size:11px}.panel-title{display:flex;align-items:center;justify-content:space-between;margin:10px 0 20px}.panel-title h2{font-size:25px}.empty-state{text-align:center;padding:55px 22px;border:1px dashed #414d39;border-radius:14px;background:radial-gradient(ellipse at top,#263122,#191f1a);margin:20px 0}.empty-symbol{font-size:46px;color:#c8f17b}.empty-state h3{font-size:23px;font-weight:450;margin:10px}.empty-state p{font-size:14px}.empty-state button{margin-top:24px;padding:11px 22px}.favorites-title{margin-top:38px}.saved-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.saved-card{background:var(--panel);border:1px solid var(--line);border-radius:12px;overflow:hidden}.saved-card img{width:100%;height:160px;object-fit:cover;background:#30362f}.saved-body{padding:20px}.saved-body h3{font-size:17px;font-weight:500;margin:8px 0;overflow-wrap:anywhere}.saved-body p{font-size:12px}.saved-actions{display:flex;gap:8px;margin-top:20px}.project-layout{display:grid;grid-template-columns:230px 1fr;gap:28px}.project-list{display:flex;flex-direction:column;gap:8px}.project-link{padding:15px;text-align:left;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:#b9c5b0;overflow-wrap:anywhere}.project-link.active{background:#303d27;border-color:#7c9856;color:#d7f5b5}.project-detail{border:1px solid var(--line);border-radius:14px;padding:30px;background:#1a201b;min-width:0}.project-detail h2{font-size:30px;margin:10px 0;overflow-wrap:anywhere}.project-detail>p{font-size:13px}.project-toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}.project-row{display:flex;align-items:center;gap:15px;padding:16px 0;border-top:1px solid var(--line);font-size:13px}.project-row strong{flex:1;overflow-wrap:anywhere}.project-row input{accent-color:var(--lime)}.status-pill{background:#303a2a;color:#c2d8af;border-radius:20px;padding:3px 10px;font-size:11px}.workspace-dialog{width:min(960px,94vw);max-height:90vh;overflow:auto;background:#1b221c;color:#edf2e6;border:1px solid #546348;border-radius:16px;padding:30px}.workspace-dialog::backdrop{background:#000b;backdrop-filter:blur(5px)}.dialog-close{float:right}.workspace-dialog h2{font-size:26px;margin:4px 90px 22px 0}.workspace-dialog .field{margin:16px 0}.workspace-dialog input{display:block;width:100%;padding:12px;background:#121a13;border:1px solid #485640;border-radius:7px;color:#eef4e7;margin-top:7px}.dialog-note{font-size:13px;line-height:1.7;margin:18px 0}.plan-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:28px}.plan-card{padding:24px;border:1px solid #3e4b36;border-radius:12px;display:flex;flex-direction:column}.plan-card.featured{border-color:#c8f17b;background:linear-gradient(#344327,#20291c)}.plan-card h3{font-size:25px;margin:15px 0 3px}.plan-price{font-size:24px;margin:8px 0 18px}.plan-card p{font-size:13px;line-height:1.8}.plan-card .primary{margin-top:auto}.plan-card .dialog-note{padding:10px 0}.project-detail .empty-state{padding:35px 20px}@media(max-width:900px){.saved-grid{grid-template-columns:repeat(2,1fr)}.plan-grid{grid-template-columns:1fr}.project-layout{grid-template-columns:1fr}.project-list{flex-direction:row;flex-wrap:wrap}.creation-actions{flex-wrap:wrap}.creation-actions>span{width:100%}.usage-strip .secondary{margin-left:0}.project-row{flex-wrap:wrap}}@media(max-width:550px){.saved-grid{grid-template-columns:1fr}.studio-tabs button{padding:12px 10px;font-size:12px}.project-detail{padding:18px}.header-note{display:none}.account-chip{margin-left:auto}.workspace-dialog{padding:20px}.collection-banner .badge{display:none}}

.ad-preview-slot{border:1px dashed #45503e;border-radius:10px;margin:32px 0;padding:25px;text-align:center;background:#191e19}.ad-preview-slot small{font-size:10px;letter-spacing:2px;color:#a6b39c}.ad-preview-slot p{margin:10px 0 4px;font-size:15px}.ad-preview-slot span{font-size:11px;color:#899582}.ad-preview-slot[hidden]{display:none}

.source-rotation{height:0;position:relative;z-index:2}.source-rotation button{position:absolute;right:0;top:8px;padding:0 9px;font-size:27px;line-height:32px;border:none}.samples{padding-right:44px}

.color-tools [hidden],.workspace aside [hidden]{display:none!important}.export-controls #save-collection{align-self:end;padding:13px 16px}.color-tools input[type=color]{cursor:pointer}

.mode-choices{border:0;padding:0;margin:16px 0;display:flex;flex-direction:column;gap:10px}.mode-choices legend{font-size:13px;color:var(--muted);margin-bottom:10px}.mode-choices label{font-size:14px;display:flex;gap:10px;align-items:center}.mode-choices input{accent-color:var(--lime)}

.source-rotation{height:42px}.source-rotation+.samples+.divider{margin-top:16px}

.blend-controls{display:flex;align-items:center;gap:8px;margin:15px 0}.blend-controls>span{font-size:12px;color:var(--muted);margin-right:auto}.color-tools .blend-controls button{width:auto;padding:7px 10px}.blend-controls button[aria-pressed=true]{background:var(--lime);color:#243115;border-color:var(--lime)}

.registration-prompt{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;border:1px solid var(--line);border-radius:10px;margin-bottom:20px;font-size:13px}.registration-prompt[hidden]{display:none}header{flex-wrap:wrap;height:auto;min-height:84px;padding-top:12px;padding-bottom:12px}header .secondary{padding:8px 10px}

.collection-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:20px 0}.collection-toolbar select{background:#252a26;color:#eef1e9;padding:10px;border:1px solid #46503f;border-radius:6px}.selectable-material{position:relative}.material-select{position:absolute;right:12px;top:12px;background:#172018dd;border:1px solid #c8f17b;border-radius:6px;padding:7px;z-index:2}.material-select input{width:20px;height:20px;accent-color:#c8f17b;cursor:pointer}.saved-card.is-selected{outline:2px solid #c8f17b;outline-offset:2px}.category-badge{display:inline-block;margin-top:14px;border:1px solid #46503f;border-radius:20px;padding:3px 10px;font-size:12px;color:#c8f17b}

/* Keep selection controls below the texture preview. */
.selectable-material .saved-body{position:relative;padding-top:44px}.selectable-material .material-select{top:12px;right:14px;padding:0;background:transparent;border:0;border-radius:0;display:flex;align-items:center;justify-content:center;width:24px;height:24px}.selectable-material .material-select input{width:18px;height:18px;margin:0}

/* Compact collection cards; selection never covers the preview. */
.saved-grid{gap:16px;align-items:start}.saved-card{border-radius:10px}.saved-card img{display:block;height:150px;object-fit:contain;background:#e8e8e8}.saved-body{padding:16px}.saved-body h3{font-size:15px;line-height:1.4;margin:6px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:42px}.saved-body p{font-size:12px;line-height:1.5;margin:6px 0}.saved-body .eyebrow{font-size:10px;letter-spacing:1.5px;margin:0 26px 8px 0}.saved-actions{margin-top:12px;gap:8px;flex-wrap:wrap}.saved-actions button{padding:8px 10px;font-size:12px;flex:1}.category-badge{font-size:11px;margin-top:10px;padding:2px 8px;max-width:100%;overflow-wrap:anywhere}.selectable-material .saved-body{padding-top:16px;padding-right:40px}.selectable-material .material-select{top:14px;right:12px;width:20px;height:20px}.collection-toolbar{gap:8px;margin:16px 0}.collection-toolbar select{width:auto;max-width:100%;min-width:180px}.collection-toolbar button{padding:8px 12px;font-size:12px}
@media(max-width:850px){.saved-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:460px){.saved-grid{grid-template-columns:1fr}}

/* Project search and inline rename controls. */
.projects-heading{gap:20px;flex-wrap:wrap}.projects-heading h2{margin:0}.project-search{flex:1;min-width:180px;max-width:460px;padding:11px 14px;background:var(--panel);border:1px solid var(--line);border-radius:8px;color:var(--text,#eef1e9);font:inherit;font-size:14px}.project-search:focus-visible{outline:2px solid var(--lime);outline-offset:2px}.projects-heading>button{margin-left:auto}.project-name-row{display:flex;align-items:center;gap:12px;min-width:0}.project-name-row h2,.project-name-row h3{min-width:0;overflow-wrap:anywhere}.project-rename{display:inline-flex;align-items:center;justify-content:center;flex:none;width:32px;height:32px;padding:6px;border-color:transparent;background:transparent;color:var(--muted,#a9b2a4)}.project-rename:hover,.project-rename:focus-visible{color:var(--lime);border-color:var(--line)}.project-list-entry{display:flex;align-items:center;background:var(--panel);border:1px solid var(--line);border-radius:8px;padding-right:6px;min-width:0}.project-list-entry.active{background:#303d27;border-color:#7c9856}.project-list-entry .project-link{flex:1;min-width:0;background:transparent;border:0}.project-list-entry.active .project-link{color:#d7f5b5}.project-no-results{padding:24px 0;color:var(--muted)}@media(max-width:600px){.projects-heading{gap:12px}.project-search{order:3;flex-basis:100%;max-width:none}.project-name-row h2{font-size:24px}}

/* Project material previews and explicit client labels. */
.project-list-name,.project-list-client{display:block}.project-list-client{margin-top:5px;font-size:11px;line-height:1.5;color:#abb6a4}.project-client{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin:10px 0 12px}.project-client-label{font-size:11px;letter-spacing:.5px;color:#9da995}.project-client strong{font-size:15px;font-weight:500;color:#d6e9c0}.project-material-preview{display:flex;align-items:center;justify-content:center;width:56px;height:56px;flex:none;overflow:hidden;border:1px solid var(--line);border-radius:7px;background:#252c26}.project-material-preview img{display:block;width:100%;height:100%;object-fit:contain}.project-material-preview>span{font-size:9px;text-align:center;color:var(--muted);padding:4px}.project-row{gap:14px}.project-row>strong{min-width:100px}@media(max-width:600px){.project-material-preview{width:44px;height:44px}.project-client{gap:6px}}

/* Compact project workspace: aligned search, rename and selection actions. */
.projects-heading{display:grid;grid-template-columns:230px minmax(180px,460px) 1fr;gap:16px;margin:10px 0 16px}.projects-heading .project-search{width:100%;max-width:none;min-width:0;padding:9px 12px;box-sizing:border-box}.projects-heading>button{justify-self:end;margin-left:0}.project-layout{gap:16px}.project-detail{padding:20px}.project-detail>.eyebrow{font-size:10px;letter-spacing:1.4px}.project-name-row{gap:8px}.project-detail .project-name-row h2{font-size:25px;margin:8px 0}.project-client{margin:5px 0 8px}.project-detail>p{margin:6px 0;font-size:12px}.project-toolbar{margin:14px 0;gap:8px}.project-toolbar button{padding:9px 12px;font-size:12px}.project-selection-toolbar{justify-content:flex-end;margin:8px 0}.project-row{padding:10px 0;gap:12px}.project-row>button{padding:9px 12px;font-size:12px}.project-material-preview{width:48px;height:48px}.project-list-entry{align-items:flex-start;position:relative;padding-right:0}.project-list-entry .project-link{padding:12px 38px 12px 14px}.project-list-entry>.project-rename{position:absolute;right:7px;top:8px;width:28px;height:28px}.project-list-client{margin-top:3px;line-height:1.4}.project-list-name{line-height:24px}.project-list{gap:8px}
@media(max-width:900px){.projects-heading{grid-template-columns:auto minmax(180px,1fr) auto}.project-list{align-items:flex-start}.project-list-entry{min-width:190px;max-width:100%}}@media(max-width:600px){.projects-heading{grid-template-columns:1fr auto;gap:10px}.projects-heading .project-search{grid-column:1/-1;grid-row:2;order:initial}.project-detail{padding:16px}.project-detail .project-name-row h2{font-size:22px}.project-material-preview{width:44px;height:44px}}

/* Project actions aligned to the reviewed layout. */
.project-detail>.project-toolbar:not(.project-selection-toolbar){justify-content:flex-end;margin-top:8px;margin-bottom:10px}.project-selection-toolbar{justify-content:flex-start;margin:6px 0 8px}.project-list-entry>.project-rename{top:10px}.project-client strong{font-weight:500}
#projects-panel>.plan-card>.saved-actions{justify-content:flex-end}#projects-panel>.plan-card>.saved-actions>button{flex:0 0 auto}

/* Compact project header, sort menu and clearer actions. */
.project-heading-label{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.project-sort{position:relative}.project-sort summary{display:flex;align-items:center;justify-content:center;cursor:pointer;width:30px;height:30px;border:1px solid #64794f;border-radius:6px;color:#d5f4aa;background:#2b3625;list-style:none}.project-sort summary::-webkit-details-marker{display:none}.project-sort-options{position:absolute;left:0;top:36px;width:190px;padding:6px;background:#20281e;border:1px solid #64794f;border-radius:8px;z-index:10;box-shadow:0 8px 20px #0006}.project-sort-options button{display:block;width:100%;padding:9px;text-align:left;border:0;background:transparent;color:#e4eddc;font-size:12px}.project-sort-options button[aria-pressed=true],.project-sort-options button:hover{background:#35452b;color:#d5f4aa}.project-edit-dialog{width:min(480px,92vw);padding:22px}.project-edit-dialog h2{font-size:23px}.project-detail{display:flow-root;padding:16px}.project-detail .project-name-row h2{margin:5px 0;font-size:23px}.project-client{margin:4px 0}.project-detail>p{margin:4px 0}.project-detail>.project-toolbar:not(.project-selection-toolbar){float:right;margin:8px 0}.project-detail>.project-selection-toolbar{float:left;margin:8px 0}.project-detail>.project-row{clear:both}.project-toolbar button,#projects-panel .saved-actions button,.projects-heading>button{background:#2d3b25;border-color:#6f8955;color:#e2f5cd;font-weight:500}.project-toolbar button:hover,#projects-panel .saved-actions button:hover,.projects-heading>button:hover{background:#3b4e2d;border-color:#b9dc87}.project-row{padding:8px 0}.project-row>button{border-color:#637750;background:#273121}.project-list-entry>.project-rename{color:#c5d6b5}@media(max-width:700px){.project-detail>.project-toolbar:not(.project-selection-toolbar),.project-detail>.project-selection-toolbar{float:none;justify-content:flex-start}.project-heading-label{justify-content:flex-start}}

/* Compact two-column project header; keep empty states below actions. */
.project-detail{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:20px;align-content:start}.project-detail>.eyebrow{grid-column:1;grid-row:1}.project-detail>.project-name-row{grid-column:1;grid-row:2/4;align-self:center}.project-detail>.project-client{grid-column:2;grid-row:2;justify-content:flex-end;margin:0;max-width:360px}.project-detail>p{grid-column:2;grid-row:3;text-align:right;margin:2px 0 8px}.project-detail>.project-toolbar:not(.project-selection-toolbar){grid-column:2;grid-row:4;float:none;justify-content:flex-end;margin:8px 0}.project-detail>.project-selection-toolbar{grid-column:1;grid-row:4;float:none;margin:8px 0}.project-detail>.project-row,.project-detail>.empty-state{grid-column:1/-1;clear:both}.project-detail>.empty-state{margin:8px 0 0;padding:24px 18px}.project-detail>.empty-state h3{font-size:21px}.project-detail>.empty-state .empty-symbol{font-size:32px}.project-detail>.empty-state button{margin-top:16px}@media(max-width:850px){.project-detail{grid-template-columns:minmax(0,1fr)}.project-detail>.eyebrow,.project-detail>.project-name-row,.project-detail>.project-client,.project-detail>p,.project-detail>.project-toolbar:not(.project-selection-toolbar),.project-detail>.project-selection-toolbar{grid-column:1;grid-row:auto;text-align:left;justify-content:flex-start}.project-detail>.project-client{max-width:none;margin-top:4px}}

/* Center the two metadata lines against the project title. */
.project-detail>.project-name-row{grid-row:2;align-self:center}.project-detail>.project-header-meta{grid-column:2;grid-row:2;align-self:center;text-align:right;padding:0;margin:0}.project-header-meta .project-client{justify-content:flex-end;margin:0;line-height:1.35}.project-header-meta>p{font-size:11px;line-height:1.35;color:var(--muted);margin:3px 0 0}.project-detail>.project-toolbar:not(.project-selection-toolbar),.project-detail>.project-selection-toolbar{grid-row:3}@media(max-width:850px){.project-detail>.project-name-row,.project-detail>.project-header-meta,.project-detail>.project-toolbar:not(.project-selection-toolbar),.project-detail>.project-selection-toolbar{grid-column:1;grid-row:auto}.project-detail>.project-header-meta{text-align:left;margin:4px 0}.project-header-meta .project-client{justify-content:flex-start}}

/* Client below the title on the left; material count on the right. */
.project-detail>.project-header-meta{grid-column:1/-1;grid-row:3;display:flex;align-items:baseline;justify-content:space-between;gap:8px 20px;flex-wrap:wrap;text-align:left;margin:0 0 4px}.project-header-meta .project-client{justify-content:flex-start}.project-header-meta>p{margin:0;text-align:right}.project-detail>.project-toolbar:not(.project-selection-toolbar),.project-detail>.project-selection-toolbar{grid-row:4}@media(max-width:850px){.project-detail>.project-header-meta{grid-column:1;grid-row:auto}.project-detail>.project-toolbar:not(.project-selection-toolbar),.project-detail>.project-selection-toolbar{grid-row:auto}}

.batch-dialog{width:min(760px,94vw)}.batch-dialog>input,.batch-dialog>select{margin:10px 0;width:100%}.batch-list{max-height:360px;overflow:auto}.batch-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.batch-row img{width:48px;height:48px;object-fit:contain}.batch-row input{min-width:0;flex:1}.batch-row span{font-size:12px;max-width:240px;overflow-wrap:anywhere}.material-annotation{display:block;font-size:11px;font-weight:400;color:#b9c5b0;white-space:pre-wrap;margin-top:5px;overflow-wrap:anywhere}

.heading{flex-wrap:wrap;gap:16px}.upload-start{width:100%}.upload-start[hidden]{display:none}.upload-start-actions{display:flex;gap:10px;align-items:center}.upload-start-actions .primary{width:auto;margin:0;padding:12px 24px}.upload-start-actions .secondary{padding:12px 20px}.upload-steps{font-size:12px!important;color:#bac7af;margin:12px 0 0!important}.upload-steps span{margin:0 12px;color:#c8f17b}#drop.upload-drop{height:134px;min-height:0;border:2px dashed #8fab68;background:#263021;display:flex;align-items:center;justify-content:center}#drop.upload-drop canvas{display:none}#drop.upload-drop .upload-overlay{position:static;inset:auto;background:none;display:flex;flex-direction:column;align-items:center;padding:16px;text-align:center}#drop.upload-drop .upload-overlay strong{color:#d5f4aa;font-size:16px}#drop.upload-drop .upload-overlay small{font-size:11px;margin-top:6px}#drop.upload-drop.has-image{height:76px;justify-content:flex-start;gap:10px;padding:8px;border-style:solid}#drop.upload-drop.has-image canvas{display:block;width:58px;height:58px;object-fit:cover;border-radius:6px}#drop.upload-drop.has-image .upload-overlay{padding:0;align-items:flex-start;text-align:left}

/* Compact first screen with a visible source reference. */
.heading{gap:10px;margin-bottom:16px}.heading h1{font-size:clamp(26px,2.8vw,38px);margin:8px 0}.heading p{margin:6px 0;font-size:14px}.upload-start{display:flex;align-items:center;flex-wrap:wrap;gap:10px 24px}.upload-start-actions{gap:8px}.upload-start-actions .primary,.upload-start-actions .secondary{padding:8px 16px;font-size:13px;min-height:36px}.upload-steps{margin:0!important;font-size:11px!important}.studio-tabs button{padding:9px 18px;font-size:13px}.usage-strip{padding:10px 0;margin-bottom:14px;gap:6px 20px}.usage-strip .local-note{font-size:10px}.creation-actions{margin:8px 0 12px}.creation-actions .primary{padding:8px 18px;font-size:13px}.creation-actions>span{font-size:11px}
#drop.upload-drop{position:relative;overflow:hidden;height:140px;background:#263021}#drop.upload-drop canvas{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover}#drop.upload-drop .upload-overlay{position:relative;z-index:1;align-self:stretch;width:100%;justify-content:center;background:linear-gradient(#10180b40,#10180bb8);text-shadow:0 1px 3px #0009;padding:12px}#drop.upload-drop .upload-overlay strong{color:#f0ffdd;font-size:16px}#drop.upload-drop .upload-overlay small{white-space:pre-line;line-height:1.6;font-size:11px;color:#fff}#drop.upload-drop.has-image canvas{position:static;inset:auto;flex:none;width:58px;height:58px}#drop.upload-drop.has-image .upload-overlay{background:none;text-shadow:none;width:auto;padding:0}#drop.upload-drop.has-image{height:76px}@media(max-width:600px){.upload-start{gap:8px}.studio-tabs button{padding:9px 10px}.heading h1{font-size:27px}}

/* Brighter editor section headings. */
#texture-panel aside .section-title b{color:#d5f4aa;font-weight:650}#texture-panel aside .section-title>span:first-child{color:#b9c99f}

#texture-panel aside .editor-step{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:24px;padding:0 4px;margin-right:9px;border-radius:5px;background:#c8f17b;color:#1b2714;font-size:12px;font-weight:750;letter-spacing:.4px;vertical-align:middle;box-sizing:border-box}

/* Align step badges with their section titles. */
#texture-panel aside .section-title{align-items:center}#texture-panel aside .section-title>span:first-child{display:inline-flex;align-items:center;gap:9px;line-height:1.25}#texture-panel aside .section-title .editor-step{margin-right:0;flex-shrink:0;line-height:1}#texture-panel aside .section-title>span:first-child>b{line-height:1.25}

/* Taller map previews and a compact source footer. */
#texture-panel .map canvas{height:auto;aspect-ratio:12/7;object-fit:cover}
#texture-panel .source-rotation{height:28px}
#texture-panel #rotate-texture{top:0;color:#c8f17b;font-size:25px;line-height:28px;padding:0 8px}
#texture-panel #rotate-texture:hover{color:#e0ffab;background:#303b27}
#texture-panel .source-rotation+.samples+.divider{margin-top:10px;margin-bottom:18px}

/* Match the source reference to the map preview proportions. */
#drop.upload-drop:not(.has-image){height:auto;aspect-ratio:3/2}

/* Clear, compact workflow steps and clickable navigation tabs. */
.upload-steps{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:#e1ebd5;font-size:12px!important}
.upload-steps span{margin:0}
.upload-steps .upload-step{display:inline-flex;align-items:center;gap:7px;color:#e1ebd5;font-weight:600;white-space:nowrap}
.upload-step b{display:inline-flex;align-items:center;justify-content:center;width:23px;height:23px;border-radius:6px;background:#c8f17b;color:#243115;font-size:12px;font-weight:750}
.upload-steps .step-arrow{color:#92a37f;font-weight:400}
.studio-tabs{gap:8px;padding-bottom:12px}
.studio-tabs button{border:1px solid #434d3c;background:#1e241d;border-radius:7px;color:#c8d1c1;transition:background .15s,border-color .15s,color .15s}
.studio-tabs button:hover{background:#303b27;border-color:#8ca963;color:#edffd9}
.studio-tabs button.active{background:#354329;border-color:#a5cb6a;color:#ddffa9;box-shadow:inset 0 -2px #c8f17b}
.studio-tabs button:focus-visible{outline:2px solid #c8f17b;outline-offset:3px}

/* Keep the full source image frame after an upload. */
#drop.upload-drop.has-image{height:auto;aspect-ratio:3/2;padding:0;gap:0;justify-content:center}
#drop.upload-drop.has-image canvas{position:absolute;inset:0;width:100%;height:100%;border-radius:0;object-fit:cover}
#drop.upload-drop.has-image .upload-overlay{position:relative;align-items:center;text-align:center;align-self:stretch;width:100%;padding:12px;background:linear-gradient(#10180b40,#10180bb8);text-shadow:0 1px 3px #0009}

.no-tint-control{display:flex;align-items:center;gap:8px;color:#d5f4aa;font-size:13px;margin:12px 0}.no-tint-control input{accent-color:#c8f17b;width:16px;height:16px}

.custom-color-tools{border-top:1px solid var(--line);margin-top:20px;padding-top:16px}.material-mode-panel{margin-bottom:16px}

.stage.glass-preview{background:linear-gradient(125deg,transparent 35%,#80938455 36%,#80938455 40%,transparent 41%),repeating-conic-gradient(#303b34 0% 25%,#26312b 0% 50%) 50% / 96px 96px}

.mode-choices{display:grid;gap:7px;padding:0;border:0}.mode-choices legend{color:#d9edae;font-weight:600;margin-bottom:10px}.mode-choices label{display:flex;align-items:center;gap:12px;box-sizing:border-box;min-height:44px;padding:10px 12px;margin:0;border:1px solid #525e43;border-radius:8px;background:#242c20;cursor:pointer;transition:background .15s,border-color .15s}.mode-choices label:hover{background:#303c27;border-color:#abc47d}.mode-choices label:has(input:checked){background:#3a492b;border-color:#d5f58c;color:#e5ffb1;font-weight:600;box-shadow:inset 3px 0 #d5f58c}.mode-choices label:focus-within{outline:2px solid #d5f58c;outline-offset:2px}.mode-choices input{accent-color:#d5f58c;margin:0;flex-shrink:0}

.swap-destination-actions{display:flex;gap:12px;flex-wrap:wrap}.swap-destination-actions>button{flex:1 1 220px;width:auto;margin:0;min-height:48px}.swap-destination-actions #swap-save-collection{border:1px solid #cdeb87;color:#e1f6b7;background:#303d25}

.swap-upload.drag{background:#33432a;border-color:#d5f58c;outline:2px solid #d5f58c;outline-offset:3px}.swap-upload{cursor:pointer}

.workspace-dialog .finish-toggle-row{display:flex;align-items:center;gap:14px;width:100%;box-sizing:border-box;margin:18px 0;padding:16px;border:1px solid #99b76d;border-radius:9px;background:#2b3623;cursor:pointer}.workspace-dialog .finish-toggle-row input[type=checkbox]{appearance:auto;display:block;position:static;flex:0 0 22px;width:22px;height:22px;min-height:0;padding:0;margin:0;accent-color:#d5f58c}.finish-toggle-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.finish-toggle-copy strong{color:#e4ffaf;font-size:18px}.finish-toggle-copy small{color:#bac6ab;font-size:13px}.finish-tier{font-size:11px;letter-spacing:.06em;color:#d5edb2;white-space:nowrap}.workspace-dialog .finish-toggle-row:has(input:checked){background:#3a4b2b;border-color:#d5f58c}.workspace-dialog .finish-toggle-row:focus-within{outline:2px solid #d5f58c;outline-offset:3px}

.workspace-dialog .material-field-hint{display:block;margin-top:6px;color:#b5bea9;font-size:12px;font-weight:400;line-height:1.5}

.finish-quick{padding:12px 0 18px}.finish-quick[hidden]{display:none}.finish-quick-buttons{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.workspace-dialog .finish-quick-buttons button{width:auto;margin:0;padding:8px 12px;min-height:36px;font-size:13px}.finish-quick-buttons button.active{background:#3a4b2b;border-color:#d5f58c;color:#e4ffaf}

#mine-panel .collection-header{display:flex;align-items:center;gap:20px;flex-wrap:wrap}#mine-panel .collection-header h2{margin:0;flex:0 1 auto}#mine-panel .collection-search{flex:1 1 260px;width:auto;min-width:200px;box-sizing:border-box;height:44px;padding:10px 14px;border:1px solid #526044;border-radius:8px;background:#192016;color:#edf3e6}#mine-panel .collection-header-actions{display:flex;align-items:center;gap:10px;margin-left:auto}#mine-panel .collection-header-actions button{margin:0;white-space:nowrap;min-height:44px}.saved-grid>.saved-card[hidden]{display:none!important}

/* Compact finish shortcut with accessible explanation for locked accounts. */
.creation-actions .finish-shortcut-help{position:relative;display:inline-flex;flex-direction:column;align-items:center;gap:3px;flex:0 0 auto;outline-offset:4px}
.finish-shortcut-badge{font-size:9px;letter-spacing:.08em;color:#bbc99f;line-height:1.2}
.creation-actions #studio-as-finish{width:auto;min-height:36px;margin:0;padding:8px 14px;font-size:13px;white-space:nowrap}
.finish-shortcut-tip{display:none;position:absolute;right:0;top:100%;z-index:100;width:270px;max-width:80vw;padding:12px 14px;border:1px solid #859764;border-radius:8px;background:#263020;color:#edf3e4;font-size:12px;line-height:1.6;box-shadow:0 8px 24px #0006;text-align:left}
.finish-shortcut-help:hover .finish-shortcut-tip,.finish-shortcut-help:focus-within .finish-shortcut-tip{display:block}
/* Keep the plan badge out of the button alignment flow. */
.creation-actions .finish-shortcut-help{display:inline-flex;flex-direction:row;align-items:center;gap:0}
.finish-shortcut-help .finish-shortcut-badge{position:absolute;top:-7px;right:8px;z-index:1;padding:2px 6px;border:1px solid #637347;border-radius:4px;background:#273020;color:#d9edb5;font-size:8px;line-height:1.2;pointer-events:none}
.creation-actions #studio-as-finish{min-height:40px;padding:10px 18px}
.creation-actions>button{min-height:40px}
/* B2: compact outline finish action and slim corner tier tag. */
.creation-actions #studio-as-finish{box-sizing:border-box;height:40px;min-height:40px;padding:9px 18px;background:transparent;border:1px solid #d4f28b;color:#d4f28b;border-radius:7px;font-size:13px;line-height:20px}
.creation-actions #studio-as-finish:disabled{border-color:#657052;color:#a5ae99;background:#1e261d}
.creation-actions>button{box-sizing:border-box;height:40px;min-height:40px;margin:0;display:inline-flex;align-items:center;justify-content:center}
.finish-shortcut-help .finish-shortcut-badge{top:-5px;right:5px;padding:1px 4px;border:1px solid #98ab69;border-radius:3px;background:#192016;color:#d8e9b4;font-size:8px;font-weight:500;letter-spacing:.025em;line-height:10px}
/* Reference match: inset tier tag flush with top and right button edges. */
.creation-actions #studio-as-finish{height:44px;min-height:44px;min-width:174px;padding:11px 22px;border-radius:6px}
.creation-actions>button{height:44px;min-height:44px}
.finish-shortcut-help .finish-shortcut-badge{top:0;right:0;box-sizing:border-box;padding:2px 5px;border:1px solid #b6c77d;border-radius:0 6px 0 3px;background:#192016;color:#d8e9b4;font-size:8px;line-height:10px;letter-spacing:0}
/* Equal-sized paired studio actions. */
.creation-actions .finish-shortcut-help{width:160px;flex:0 0 160px}
.creation-actions #studio-as-finish,.creation-actions>button{box-sizing:border-box;width:160px;min-width:160px;height:44px;min-height:44px;padding:10px 16px;font-size:13px;line-height:20px}
.creation-actions>button{flex:0 0 160px}
@media(max-width:430px){.creation-actions{gap:10px}.creation-actions .finish-shortcut-help,.creation-actions>button{width:calc((100% - 10px)/2);min-width:0;flex:0 0 calc((100% - 10px)/2)}.creation-actions #studio-as-finish{width:100%;min-width:0;padding-inline:8px}.creation-actions>button{padding-inline:8px}}

.plan-card .plan-features{margin:12px 0 18px;padding-left:19px;color:#b5bfb0;font-size:13px;line-height:1.65;list-style:disc}.plan-card .plan-features li{padding-left:2px;margin:0 0 7px}
/* Compact features; shared rows align descriptions across plan cards. */
.plan-grid{grid-template-rows:auto auto auto auto 1fr auto;column-gap:16px;row-gap:0}
.plan-grid>.plan-card{display:grid;grid-row:span 6;grid-template-rows:subgrid;align-items:start}
.plan-card .plan-features{margin:10px 0 14px;line-height:1.45}
.plan-card .plan-features li{margin:0 0 3px}
.plan-grid>.plan-card>.dialog-note{margin:0 0 20px;padding:10px 0;align-self:start}
.plan-grid>.plan-card>.primary{align-self:end;width:100%;margin-top:0}
@media(max-width:900px){.plan-grid{grid-template-rows:none;row-gap:16px}.plan-grid>.plan-card{display:flex;grid-row:auto}.plan-card .plan-features{min-height:0}}
/* Keep the inset plan badge attached even when Free uses secondary styling. */
.creation-actions #studio-as-finish{width:100%;min-width:0;max-width:none;flex:1 1 auto}
@media(max-width:900px){.finish-shortcut-tip{left:0;right:auto;max-width:calc(100vw - 32px)}}

.finish-info{display:inline-grid;place-items:center;vertical-align:middle;width:44px;height:44px;margin-left:4px;padding:0;border:0;background:transparent;color:#c8f17b;font-size:20px;border-radius:6px}
.finish-shortcut-help.help-open .finish-shortcut-tip{display:block}
button[aria-busy="true"]{cursor:progress;opacity:.75}
.upload-progress{font-size:12px;color:#d5f4aa;margin:8px 0;overflow-wrap:anywhere}

/* Team workspace: intrinsic sizing keeps mobile controls inside their panels. */
.team-workspace-bar,.team-heading,.team-member{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0}.team-workspace-bar select{max-width:100%;min-width:0}.team-heading{justify-content:space-between}.team-heading h2{margin:0}.team-member{padding:12px 0;border-bottom:1px solid var(--border,#414b35)}.team-member>span{flex:1 1 180px;overflow-wrap:anywhere}.team-member select{width:auto}.team-dialog{max-width:min(900px,calc(100vw - 32px));overflow-wrap:anywhere}.team-dialog input{max-width:100%;box-sizing:border-box}.team-comment{padding:12px;margin:12px 0;border:1px solid #414b35;border-radius:10px}.team-comment p{white-space:pre-wrap}.team-review-status{text-transform:capitalize}.team-review-tools{flex-wrap:wrap}.project-row:has(.team-review-status){flex-wrap:wrap}.team-dialog button{max-width:100%}@media(max-width:540px){.team-member{align-items:stretch}.team-heading h2{font-size:1.5rem}.team-workspace-bar>*{flex:1 1 auto}.team-review-tools button{width:100%}}

.team-workspace-bar select{width:auto;flex:0 1 320px}.project-detail.team-project{display:flex;flex-direction:column}.project-detail.team-project>.project-toolbar{float:none;justify-content:flex-start;align-items:center;margin:8px 0}.project-detail.team-project>.team-review-tools{padding:10px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.project-detail.team-project>.project-selection-toolbar{margin:4px 0}.team-project .project-toolbar button{flex:none;height:auto;min-height:40px}.team-project .project-row{width:100%;box-sizing:border-box}@media(max-width:540px){.team-workspace-bar select{flex-basis:100%}.team-project .team-review-tools button{width:100%}}

.team-project>.project-name-row,.team-project>.project-header-meta{align-self:stretch}.team-project .team-review-tools .primary{width:auto;margin:0}@media(max-width:540px){.team-project .team-review-tools .primary{width:100%}}

/* Align workspace selector and actions despite global select spacing. */
.team-workspace-bar>select,.team-workspace-bar>button{box-sizing:border-box;height:44px;min-height:44px;margin:0;padding:0 16px;font-size:14px;line-height:20px;border-radius:8px;align-self:center}
.team-workspace-bar>button{display:inline-flex;align-items:center;justify-content:center}

/* Stable material columns and workspace context above navigation. */
.project-row{display:grid;grid-template-columns:18px minmax(0,1fr) 48px 120px 52px;gap:12px;align-items:center}
.team-project .project-row{display:grid;grid-template-columns:18px minmax(0,1fr) 48px 120px 52px 136px}
.project-row>strong{min-width:0;overflow-wrap:anywhere}.project-row>.project-material-preview{width:48px;margin:0}.project-row>button{width:100%;padding-inline:8px}
.heading.has-workspace>.badge{display:none}.heading.has-workspace>div:first-child{flex:1 1 540px}.heading>.team-workspace-bar{flex:0 1 490px;margin:0 0 0 auto;justify-content:flex-end}.heading>.team-workspace-bar>select{flex:1 1 230px}.heading>.team-workspace-bar>.dialog-note{flex-basis:100%;text-align:right;font-size:12px}
.team-error{color:#ffd2c7;background:#422920;border:1px solid #b96d57;border-radius:8px;padding:12px;white-space:normal}
@media(max-width:1100px){.heading>.team-workspace-bar{flex:1 1 100%;justify-content:flex-start}.heading>.team-workspace-bar>select{flex:0 1 320px}.heading>.team-workspace-bar>.dialog-note{text-align:left}}
@media(max-width:700px){.project-row,.team-project .project-row{grid-template-columns:18px 48px minmax(0,1fr)}.project-row>input{grid-column:1;grid-row:1}.project-row>.project-material-preview{grid-column:2;grid-row:1}.project-row>strong{grid-column:3;grid-row:1}.project-row>.muted{grid-column:3;grid-row:2}.project-row>button{grid-column:3;width:auto;justify-self:start}.heading>.team-workspace-bar{width:100%;min-width:0}.heading>.team-workspace-bar>select{flex:1 1 100%}}

.heading>.team-workspace-bar>button{white-space:nowrap;width:auto;min-width:148px;flex:0 0 auto}.heading>.team-workspace-bar>.dialog-note{margin:0;line-height:1.5}
@media(max-width:700px){.project-row>button:not(.team-review-status){grid-column:2;grid-row:3;padding-inline:6px}.project-row>.team-review-status{grid-column:3;grid-row:3}.heading>.team-workspace-bar{gap:10px}}

/* Local review: workspace controls share the upload action row. */
@media(min-width:1250px){
.heading.has-workspace{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:24px;row-gap:16px;align-items:start}
.heading.has-workspace>div:first-child{grid-column:1 / -1;grid-row:1}
.heading.has-workspace>.upload-start{grid-column:1;grid-row:2;width:auto;min-width:0;align-self:start;min-height:44px;gap:10px 18px}
.heading.has-workspace>.team-workspace-bar{grid-column:2;grid-row:2;width:440px;max-width:100%;margin:0;gap:6px 10px;align-self:start}
.heading.has-workspace>.team-workspace-bar>select{flex:1 1 220px}
.heading.has-workspace>.team-workspace-bar>.dialog-note{margin:0;font-size:11px}
}

/* Compact, readable workspace storage summary. */
.usage-strip{display:flex;align-items:center;flex-wrap:wrap;gap:8px 24px}.usage-strip>.usage-storage{white-space:nowrap;font-variant-numeric:tabular-nums}

/* Local preview: tighter workspace usage strip. */
.usage-strip{gap:4px 16px;padding:6px 0;margin-bottom:8px;font-size:12px;line-height:18px}.usage-strip>span{margin:0}
/* Approved compact status proportions. */
.usage-strip{padding:4px 0;margin-bottom:14px;gap:1px 20px;font-size:12px;line-height:20px}
.usage-strip>span{position:relative;top:2px}


/* Four-step guidance at the end of the page, local preview. */
.workflow-footer-guide{margin:32px 0 0;padding:26px 0 18px;border-top:1px solid var(--line);color:#edf2e6}
.workflow-footer-guide ol{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;list-style:none;margin:0;padding:0}
.workflow-footer-guide li{display:flex;align-items:flex-start;gap:14px;min-width:0;position:relative}
.workflow-guide-icon{display:grid;place-items:center;flex:0 0 44px;height:44px;border:1px solid #b7ca7c;border-radius:50%;color:#d4e5ad}
.workflow-guide-icon svg{width:23px;height:23px}.workflow-footer-guide strong{display:block;font-size:14px;line-height:20px;font-weight:600}
.workflow-footer-guide p{font-size:12px;line-height:18px;color:#9fa99b;margin:5px 0 0;max-width:210px}.workflow-footer-guide small{display:inline-block;font-size:9px;line-height:14px;color:#b7ca7c;margin-top:4px}
@media(max-width:1000px){.workflow-footer-guide ol{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}}
@media(max-width:520px){.workflow-footer-guide ol{grid-template-columns:1fr;gap:18px}.workflow-footer-guide{margin-top:24px;padding-top:20px}}

.workflow-footer-guide .workflow-upload-link{padding:0;width:44px;min-width:44px;margin:0;background:transparent;cursor:pointer}.workflow-upload-link:hover{background:#303b25}.workflow-upload-link:focus-visible{outline:2px solid #d0f58a;outline-offset:4px}

.workflow-footer-guide[hidden]{display:none!important}

.workflow-footer-guide .project-add-materials{padding:0;width:44px;min-width:44px;margin:0;background:transparent;cursor:pointer}.project-add-materials:hover{background:#303b25}.project-add-materials:focus-visible{outline:2px solid #d0f58a;outline-offset:4px}.project-add-materials:disabled{opacity:.45;cursor:not-allowed}

.swap-workflow-guide ol{grid-template-columns:repeat(3,minmax(0,1fr))}.swap-workflow-guide p{max-width:280px}@media(max-width:700px){.swap-workflow-guide ol{grid-template-columns:1fr}}

/* Local option A: one workspace selector beside the account. */
.workspace-menu{position:relative;margin-left:12px;flex:0 1 auto;min-width:0;z-index:50}
.workspace-menu>summary{display:flex;align-items:center;gap:10px;list-style:none;cursor:pointer;padding:10px 14px;border:1px solid #51623d;border-radius:9px;background:#232c20;color:#edf2e6;font-size:13px;min-height:40px}
.workspace-menu>summary::-webkit-details-marker{display:none}.workspace-menu>summary>span:nth-child(2){max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-menu>summary:focus-visible{outline:2px solid #d0ef94;outline-offset:3px}
.workspace-menu-panel{position:absolute;right:0;top:calc(100% + 8px);width:290px;max-width:calc(100vw - 32px);padding:12px;background:#1b241b;border:1px solid #51623d;border-radius:12px;box-shadow:0 12px 30px #0008}
.workspace-menu-label{display:block;color:#aab99a;font-size:10px;letter-spacing:1px;padding:4px 8px 10px}
.workspace-menu-panel button{display:block;width:100%;margin:0;padding:10px 8px;background:transparent;border:0;text-align:left;font-size:13px;border-radius:6px;color:#edf2e6;overflow-wrap:anywhere}
.workspace-menu-panel button:hover,.workspace-choice[aria-pressed="true"]{background:#334229;color:#d0ef94}
.workspace-menu-note{font-size:11px;line-height:1.5;color:#aab99a;padding:8px;margin:6px 0;border-top:1px solid #3e4935}.workspace-menu-panel .workspace-manage{color:#d0ef94}
@media(max-width:700px){header{flex-wrap:wrap;gap:10px}.workspace-menu{margin-left:auto}.workspace-menu>summary>span:nth-child(2){max-width:120px}}
@media(max-width:700px){.workspace-menu-panel{position:fixed;left:16px;right:16px;top:auto;margin-top:8px;width:auto;max-width:none}}
/* Local review: compact header actions. */
header:has(.workspace-menu){column-gap:10px}
header .workspace-menu{margin-left:0}
header>.secondary,header>.account-chip,header .workspace-menu>summary{box-sizing:border-box;min-height:36px;height:36px;padding:7px 11px;font-size:12px;line-height:20px;margin-top:0;margin-bottom:0}
header>.account-chip{margin-left:0}
header .workspace-menu>summary{gap:7px}
header .workspace-menu>summary>span:nth-child(2){max-width:155px}
@media(pointer:coarse){header>.secondary,header>.account-chip,header .workspace-menu>summary{min-height:44px;height:44px}}

/* Local review: workspace selector replaces the heading status badge. */
.heading.has-workspace-menu{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px}
.heading.has-workspace-menu>div:first-child{flex:1 1 550px;min-width:0}
.heading.has-workspace-menu>.badge{display:none}
.heading.has-workspace-menu>.workspace-menu{order:0;flex:0 1 auto;margin:0 0 0 auto;align-self:center}
.heading.has-workspace-menu>.upload-start{order:1;flex-basis:100%;width:100%}
.heading>.workspace-menu>summary{min-height:40px;padding:9px 14px;font-size:13px;line-height:20px}
.heading>.workspace-menu>summary>span:nth-child(2){max-width:210px}
header{column-gap:10px}
@media(max-width:700px){.heading.has-workspace-menu>.workspace-menu{margin:0;flex:0 1 auto}.heading.has-workspace-menu>div:first-child{flex-basis:100%}}

.workspace-team-row{display:flex;align-items:center;gap:4px}.workspace-team-row>.workspace-choice{flex:1;min-width:0}.workspace-menu-panel .workspace-team-edit{width:32px;flex:0 0 32px;text-align:center;padding:7px 0;font-size:18px}

.usage-strip>.compare-plans{margin-left:auto;padding:5px 12px;min-height:32px;font-size:12px}.plan-grid .plan-card{display:flex;grid-row:auto}.plan-grid:has(.plan-card){grid-template-rows:none}

/* Team guide: on-demand overlay, never reduces the project canvas. */
.team-guide-drawer{box-sizing:border-box;position:fixed;inset:0 0 0 auto;margin:0;border:0;border-left:1px solid #414c35;border-radius:0;width:min(460px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;padding:28px;background:#151d17;color:#edf1e5;overflow-y:auto;box-shadow:-20px 0 60px #0006;animation:team-guide-enter .22s ease-out}
.team-guide-drawer::backdrop{background:#0007}
.team-guide-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.team-guide-head h2{margin:0;font-size:26px}.team-guide-close{flex:none;width:40px;height:40px;padding:0;border:1px solid #46513a;border-radius:50%;background:transparent;color:#edf1e5;font-size:28px;cursor:pointer}.team-guide-close:hover{background:#303c27}.team-guide-intro{color:#aeb9a5;font-size:14px;margin:10px 0 24px}
.team-guide-card{border:1px solid #3c4736;border-radius:12px;padding:18px;margin-top:16px;background:linear-gradient(135deg,#222d22,#192019)}.team-guide-card h3{display:flex;gap:12px;font-size:19px;line-height:1.3;margin:0 0 10px}.team-guide-card h3>span{color:#cbee83;font-size:23px}.team-guide-card p{font-size:14px;line-height:1.55;color:#c0c9b9;margin:8px 0 14px}.team-guide-card small{display:block;font-size:12px;line-height:1.5;color:#aeb9a5}
.team-guide-samples{height:145px;display:flex;align-items:flex-end;justify-content:center;gap:10px;padding:12px 10px 18px;margin:14px 0;background:radial-gradient(ellipse at bottom,#46543a55,transparent);border-radius:8px}.team-guide-samples span{width:26%;display:flex;align-items:flex-end;justify-content:center;padding-bottom:8px;border:1px solid #ffffff25;box-shadow:7px 8px 12px #0005;color:#172015;font-size:11px;letter-spacing:.08em;border-radius:3px}.team-guide-samples .stone{height:95px;background:repeating-linear-gradient(125deg,#c8c4ae,#d8d2bd 8px,#bcbda8 10px,#d8d2bd 13px)}.team-guide-samples .wood{height:125px;background:repeating-linear-gradient(92deg,#8f714d,#ba996f 4px,#a38560 7px,#cab18c 9px)}.team-guide-samples .tile{height:80px;color:#e4eddb;background:repeating-linear-gradient(0deg,transparent 0 38px,#c9d2ba66 38px 40px),repeating-linear-gradient(90deg,#455a48 0 38px,#c9d2ba66 38px 40px)}
.team-guide-roles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;text-align:center;margin-top:20px}.team-guide-roles>div>span{display:grid;place-items:center;width:44px;height:44px;margin:0 auto 10px;border-radius:50%;background:#35472b;color:#d6edaa;font-size:25px}.team-guide-roles strong{display:block;font-size:12px;margin-bottom:7px}.team-guide-roles small{font-size:11px}.team-guide-flow{display:flex;align-items:center;justify-content:space-between;gap:5px;margin:18px 0;color:#aab99c}.team-guide-status{padding:7px 10px;border:1px solid #516046;border-radius:20px;font-size:12px;white-space:nowrap}.team-guide-status.status-1{color:#e2c875;background:#65552333}.team-guide-status.status-2{color:#b4dc98;background:#375c3533}.team-guide-trigger{margin-left:auto}
@keyframes team-guide-enter{from{transform:translateX(100%)}to{transform:translateX(0)}}
@media(max-width:520px){.team-guide-drawer{padding:20px 16px}.team-guide-trigger{margin-left:0}.team-guide-card{padding:16px}}
@media(prefers-reduced-motion:reduce){.team-guide-drawer{animation:none}}
.heading.has-workspace-menu>.workspace-controls{display:flex;align-items:center;gap:8px;margin-left:auto;flex:0 1 auto;min-width:0}.workspace-controls .workspace-menu{margin:0;min-width:0}.workspace-controls .workspace-menu>summary{min-height:40px;padding:9px 14px;font-size:13px;line-height:20px}.workspace-controls .workspace-menu>summary>span:nth-child(2){max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-controls .team-guide-icon{margin:0;padding:0;width:36px;height:36px;min-height:36px;flex:0 0 36px;border-radius:50%;font-size:18px;font-weight:600;line-height:1;color:#d1e99b;background:transparent}.workspace-controls .team-guide-icon:hover{background:#303c27}.workspace-controls .team-guide-icon:focus-visible{outline:2px solid #cbee83;outline-offset:3px}@media(max-width:700px){.heading.has-workspace-menu>.workspace-controls{margin-left:0;max-width:100%}.workspace-controls .workspace-menu>summary>span:nth-child(2){max-width:180px}}
/* Selected Guide entry: book icon with a readable label. */
.workspace-controls .team-guide-icon{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:auto;min-width:40px;height:40px;min-height:40px;flex:0 0 auto;padding:0 13px;border-radius:8px;font-size:13px;font-weight:500;background:#20291c}.workspace-controls .team-guide-icon svg{flex:none}.workspace-controls .workspace-menu{flex:0 1 auto}.workspace-controls .workspace-menu>summary>span:nth-child(2){min-width:0}@media(max-width:400px){.workspace-controls .workspace-menu>summary>span:nth-child(2){max-width:130px}}
/* Keep project actions together; team review actions remain secondary. */
.project-detail>.project-toolbar:not(.team-review-tools){grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.project-toolbar>.project-export-selected{margin-right:auto}.project-detail.team-project>.project-toolbar{gap:8px;margin:6px 0}.project-detail.team-project>.project-toolbar:not(.team-review-tools){justify-content:flex-end}.project-detail.team-project>.team-review-tools{padding:8px 0;margin:0 0 4px;border-top:0;gap:8px}.team-project .team-review-tools button{min-height:32px;padding:5px 10px;font-size:12px;background:transparent;font-weight:400}.team-project .team-review-tools button:hover{background:#303c27}@media(max-width:700px){.project-toolbar>.project-export-selected{margin-right:0}.project-detail.team-project>.project-toolbar:not(.team-review-tools){justify-content:flex-start}}
.project-row>.team-review-status{text-transform:none;border-radius:22px;font-size:12px;padding:8px 12px}.project-row>.review-draft{color:#b9c1b1;border-color:#535e49;background:#252d22}.project-row>.review-in_review{color:#eed582;border-color:#8e7c3f;background:#3b3521}.project-row>.review-approved{color:#b9e59b;border-color:#648651;background:#293f26}.team-review-progress .team-guide-status{opacity:.4}.team-review-progress .team-guide-status.current{opacity:1;border-width:2px;font-weight:600}.team-review-progress{max-width:430px}
/* Match review controls to the adjacent Edit button. */
.project-row>.team-review-status{white-space:nowrap;flex-shrink:0;box-sizing:border-box;height:36px;min-height:0;padding:0 12px;line-height:1.2;border-radius:8px;display:inline-flex;align-items:center;justify-content:center}
.team-guide-exports{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0;padding:18px 8px;border:1px solid #46523c;border-radius:8px;background:#121a1355}.team-guide-export{text-align:center;display:flex;flex-direction:column;align-items:center;gap:6px}.team-guide-export+.team-guide-export{border-left:1px solid #46523c}.team-guide-export-icon svg{width:40px;height:40px;color:#d4dfc6}.team-guide-export b{font-size:11px;letter-spacing:.1em;color:#cbee83}.team-guide-export strong{font-size:13px}.team-guide-export small{font-size:11px;max-width:140px}.team-guide-card{background:transparent;border:0;border-radius:0;padding:0;margin-top:28px}.team-guide-roles{padding:18px 12px;border:1px solid #46523c;border-radius:8px;background:#202a2055}.team-guide-roles>div:nth-child(2)>span{background:#68553e;color:#f0dfc5}.team-guide-roles>div:nth-child(3)>span{background:#40565d;color:#dbe9ee}.team-guide-samples{border:1px solid #46523c;background:radial-gradient(ellipse at bottom,#66745166,#212c22);height:155px}
.team-guide-roles>div>span{font-size:15px;font-weight:500}.team-guide-roles>div+div{border-left:1px solid #46523c;padding-left:8px}
.team-material-table-head,.team-project .team-material-table-row{display:grid;grid-template-columns:minmax(240px,1fr) minmax(130px,.55fr) 120px 34px;gap:16px;align-items:center}.team-material-table-head{padding:12px 10px;background:#27302466;border-radius:8px 8px 0 0;color:#b9c3b1;font-size:12px}.team-project .team-material-table-row{padding:12px 10px;margin:0;border-bottom:1px solid #384132}.team-material-table-row:hover{background:#2b352666}.team-material-cell{display:flex;align-items:center;gap:12px;min-width:0}.team-material-cell input{flex:none}.team-material-cell .project-material-preview{flex:0 0 52px;width:52px;height:52px}.team-material-copy{min-width:0}.team-material-copy>strong{display:block;font-size:14px}.team-material-copy>.muted{font-size:12px;display:block;margin-top:4px}.team-material-copy .material-annotation{font-size:10px;line-height:1.3;margin-top:2px;overflow-wrap:anywhere}.team-assigned-cell{display:flex;gap:10px;align-items:center;font-size:12px;min-width:0;overflow-wrap:anywhere}.team-member-avatar{display:grid;place-items:center;flex:0 0 32px;height:32px;background:#526348;border-radius:50%;color:#edf4df}.team-material-table-row>.team-review-status{justify-self:start;border-radius:20px;height:30px;font-size:12px}.team-material-more{position:relative}.team-material-more summary{list-style:none;cursor:pointer;padding:8px 0;text-align:center;color:#bec8b3}.team-material-more summary::-webkit-details-marker{display:none}.team-material-menu{position:absolute;right:0;top:100%;z-index:20;min-width:170px;padding:6px;background:#202a1d;border:1px solid #5e704c;border-radius:8px;box-shadow:0 8px 20px #0005}.team-material-menu button{display:block;width:100%;text-align:left;font-size:12px;margin:2px 0;padding:8px;background:transparent;border:0}@media(max-width:800px){.team-material-table-head,.team-project .team-material-table-row{grid-template-columns:minmax(140px,1fr) 110px 95px 28px;gap:8px}.team-material-cell{gap:6px}.team-material-cell .project-material-preview{flex-basis:40px;width:40px;height:40px}}@media(max-width:540px){.team-material-table-head{display:none}.team-project .team-material-table-row{grid-template-columns:minmax(0,1fr) auto 28px}.team-material-cell{grid-column:1/-1}.team-assigned-cell{grid-column:1}.team-material-table-row>.team-review-status{grid-column:2}.team-material-more{grid-column:3}}
/* Align Edit heading with the row action trigger. */
.team-material-table-head>span:last-child{display:block;width:100%;text-align:center;justify-self:stretch}.team-material-table-row>.team-material-more{width:100%;justify-self:stretch}.team-material-table-row>.team-material-more>summary{display:flex;align-items:center;justify-content:center;width:100%;box-sizing:border-box;text-align:center}
.export-format-option{padding:14px 0;border-bottom:1px solid #3e4935}.export-format-option>button{display:block;margin-bottom:6px}.export-format-option>small{display:block;line-height:1.5}
.team-status-heading{display:flex;align-items:center;gap:8px}.team-status-sort{position:relative}.team-status-sort>summary{display:flex;align-items:center;justify-content:center;list-style:none;width:26px;height:26px;cursor:pointer;border:1px solid #526344;border-radius:5px;color:#cce69e}.team-status-sort>summary::-webkit-details-marker{display:none}.team-status-sort>summary:hover,.team-status-sort>summary.active{background:#3b4b2d}.team-status-options{position:absolute;right:0;top:32px;width:200px;padding:6px;z-index:30;background:#202a1d;border:1px solid #5e704c;border-radius:8px;box-shadow:0 8px 20px #0005}.team-status-options button{display:block;width:100%;text-align:left;padding:9px;font-size:12px;border:0;background:transparent;color:#e3ecd9}.team-status-options button:hover,.team-status-options button[aria-pressed=true]{background:#37482b}@media(max-width:540px){.team-material-table-head{display:flex;justify-content:flex-end;background:transparent}.team-material-table-head>span{display:none}}
/* Place status sorting at the right edge of its column. */
.team-status-heading{width:100%;justify-content:space-between}.team-status-heading>.team-status-sort{margin-left:auto;flex:none}
.workspace-dialog:has(.export-format-option){box-sizing:border-box;width:480px;max-width:calc(100vw - 32px);padding:22px;max-height:calc(100dvh - 40px);overflow-y:auto}.workspace-dialog:has(.export-format-option) h2{font-size:22px;margin:0 70px 12px 0}.workspace-dialog:has(.export-format-option)>.dialog-note{font-size:12px;margin:0 0 10px;line-height:1.4}.workspace-dialog:has(.export-format-option)>.dialog-close{padding:6px 10px;font-size:12px;min-height:30px}.workspace-dialog .export-format-option{padding:12px 0}.workspace-dialog .export-format-option:last-child{border-bottom:0;padding-bottom:0}.workspace-dialog .export-format-option>button{padding:8px 12px;font-size:13px;min-height:34px;margin:0 0 5px}.workspace-dialog .export-format-option>small.dialog-note{font-size:12px;line-height:1.4;margin:0;color:#adb8a4}
.team-material-table-head>.team-status-heading:first-child{justify-content:flex-start;width:auto}.team-material-table-head>.team-status-heading:first-child>.team-status-sort{margin-left:0}.team-filter-panel{position:absolute;left:0;top:32px;width:240px;max-width:calc(100vw - 60px);padding:14px;background:#202a1d;border:1px solid #5e704c;border-radius:8px;z-index:35;box-shadow:0 8px 20px #0005}.team-filter-panel label{display:block;font-size:12px;margin-bottom:10px}.team-filter-panel select{display:block;width:100%;box-sizing:border-box;margin-top:5px;padding:7px;font-size:12px}.team-filter-active{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:8px 0}.team-filter-active[hidden],.team-project .team-material-table-row[hidden]{display:none!important}.team-filter-chip{padding:5px 8px;font-size:11px;background:#2c3a24;border:1px solid #596e44;border-radius:20px;color:#dfebcf}.team-filter-active small{font-size:12px;color:#b6c3aa}@media(max-width:540px){.team-material-table-head{justify-content:space-between}}
/* Compact horizontal dropdown filters. */
.team-filter-panel{display:flex;flex-wrap:wrap;gap:8px;width:660px;max-width:calc(100vw - 80px);padding:10px}.team-filter-panel label.team-filter-field{margin:0;flex:1 1 110px;min-width:0}.team-filter-panel .team-filter-field select{margin:0;padding:8px 24px 8px 10px;font-size:12px;min-height:34px}.team-material-filter:not([open])>.team-filter-panel{display:none}@media(max-width:700px){.team-filter-panel{width:min(360px,calc(100vw - 80px))}.team-filter-panel label.team-filter-field{flex-basis:130px}}
/* Compact guide overview: keep all three steps visible on desktop. */
.team-guide-drawer{width:min(500px,100vw);padding:18px 22px}.team-guide-head{padding:0 0 10px;margin:0;min-height:0}.team-guide-head h2{font-size:23px}.team-guide-close{width:32px;height:32px;font-size:24px}.team-guide-intro{margin:8px 0 12px;font-size:12px}.team-guide-card{margin-top:14px}.team-guide-card h3{font-size:17px;margin:0 0 6px;gap:9px}.team-guide-card h3>span{font-size:20px}.team-guide-card p{font-size:12px;line-height:1.4;margin:5px 0 8px}.team-guide-card small{font-size:11px;line-height:1.35}.team-guide-samples{box-sizing:border-box;height:98px;margin:8px 0;padding:8px 12px;gap:12px}.team-guide-samples .stone{height:55px}.team-guide-samples .wood{height:75px}.team-guide-samples .tile{height:48px}.team-guide-samples span{padding-bottom:5px;font-size:10px;width:22%}.team-guide-roles{margin-top:8px;padding:10px 8px;gap:8px}.team-guide-roles>div>span{width:30px;height:30px;font-size:12px;margin-bottom:5px}.team-guide-roles strong{margin-bottom:4px}.team-guide-roles small{font-size:10px}.team-guide-flow{margin:9px 0;gap:5px}.team-guide-status{padding:5px 10px;font-size:11px}.team-guide-exports{margin:9px 0;padding:9px 6px;gap:10px}.team-guide-export{gap:3px}.team-guide-export-icon svg{width:27px;height:27px}.team-guide-export strong{font-size:12px}.team-guide-export small{font-size:10px}.team-guide-export b{font-size:10px}
@media(max-height:760px) and (min-width:600px){.team-guide-drawer{padding:12px 20px}.team-guide-intro{margin:6px 0}.team-guide-card{margin-top:10px}.team-guide-samples{height:76px}.team-guide-samples .stone{height:42px}.team-guide-samples .wood{height:55px}.team-guide-samples .tile{height:38px}.team-guide-roles{padding:8px}.team-guide-exports{padding:6px}.team-guide-export-icon svg{width:22px;height:22px}}
/* Restore the original drawer width with balanced spacing. */
.team-guide-drawer{width:min(460px,100vw);padding:24px}.team-guide-head{padding-bottom:12px}.team-guide-head h2{font-size:24px}.team-guide-intro{margin:10px 0 18px;font-size:13px}.team-guide-card{margin-top:20px}.team-guide-card h3{font-size:18px;margin-bottom:8px}.team-guide-card p{font-size:13px;line-height:1.45;margin:7px 0 10px}.team-guide-samples{height:116px;margin:10px 0 12px;padding:10px 12px}.team-guide-samples .stone{height:65px}.team-guide-samples .wood{height:88px}.team-guide-samples .tile{height:56px}.team-guide-roles{margin-top:10px;padding:14px 10px}.team-guide-roles>div>span{width:36px;height:36px;font-size:13px;margin-bottom:7px}.team-guide-roles small{font-size:11px}.team-guide-flow{margin:12px 0}.team-guide-exports{margin:12px 0;padding:12px 8px}.team-guide-export{gap:5px}.team-guide-export-icon svg{width:30px;height:30px}
@media(max-height:760px){.team-guide-drawer{padding:18px 22px}.team-guide-intro{margin:8px 0 12px}.team-guide-card{margin-top:14px}.team-guide-samples{height:88px;margin:8px 0}.team-guide-samples .stone{height:48px}.team-guide-samples .wood{height:66px}.team-guide-samples .tile{height:42px}.team-guide-roles{padding:9px}.team-guide-exports{padding:8px;margin:9px 0}}
/* Give the material illustration more room by tightening export details. */
.team-guide-card:last-child{margin-top:16px}.team-guide-card:last-child .team-guide-flow{margin:9px 0}.team-guide-exports{padding:8px;margin:9px 0;gap:8px}.team-guide-export{display:grid;grid-template-columns:28px minmax(0,1fr);column-gap:8px;row-gap:3px;text-align:left;align-items:center}.team-guide-export-icon{grid-column:1;grid-row:1/3}.team-guide-export-icon svg{width:25px;height:25px}.team-guide-export b{grid-column:2;font-size:9px}.team-guide-export strong{grid-column:2;font-size:11px}.team-guide-export small{grid-column:1/-1;font-size:10px;max-width:none}.team-guide-export+.team-guide-export{padding-left:10px}.team-guide-samples{height:146px;padding:12px;margin:12px 0}.team-guide-samples .stone{height:85px}.team-guide-samples .wood{height:116px}.team-guide-samples .tile{height:74px}
@media(max-height:760px){.team-guide-samples{height:115px;padding:10px}.team-guide-samples .stone{height:65px}.team-guide-samples .wood{height:90px}.team-guide-samples .tile{height:56px}}
/* Narrower Team guide drawer. */
.team-guide-drawer{width:min(420px,100vw)}
/* Slightly lower guide steps 02 and 03. */
.team-guide-card+.team-guide-card{margin-top:24px}.team-guide-card:last-child{margin-top:20px}
@media(max-height:760px){.team-guide-card+.team-guide-card{margin-top:18px}.team-guide-card:last-child{margin-top:20px}}
.team-guide-card:last-child{margin-top:24px}
/* Slightly taller material illustration area. */
.team-guide-samples{height:154px}
@media(max-height:760px){.team-guide-samples{height:123px}}
/* Taller illustration with proportionally taller material swatches. */
.team-guide-samples{height:166px}.team-guide-samples .stone{height:93px}.team-guide-samples .wood{height:126px}.team-guide-samples .tile{height:82px}
@media(max-height:760px){.team-guide-samples{height:135px}.team-guide-samples .stone{height:73px}.team-guide-samples .wood{height:100px}.team-guide-samples .tile{height:64px}}
/* Slightly taller swatches within the existing frame. */
.team-guide-samples .stone{height:97px}.team-guide-samples .wood{height:130px}.team-guide-samples .tile{height:86px}
@media(max-height:760px){.team-guide-samples .stone{height:77px}.team-guide-samples .wood{height:104px}.team-guide-samples .tile{height:68px}}

.project-share-tabs{display:flex;gap:8px;margin:12px 0 18px}.project-share-tabs button{padding:7px 12px}.project-share-tabs button[aria-pressed=true]{background:#cbee83;color:#1a2316}.team-dialog>[hidden]{display:none}

.team-material-menu .material-delete-menu{color:#efa99b}.material-delete-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.material-delete-actions .material-delete-confirm{background:#873f35;border-color:#a4594c;color:#fff}

.team-edit-heading{position:relative;display:flex;align-items:center;justify-content:center;min-height:26px}.team-edit-heading .team-add-material{position:absolute;left:calc(100% - 1px);top:50%;transform:translateY(-50%);width:20px;height:24px;min-height:0;padding:0;border:0;background:transparent;color:#cee991;font:20px/24px Arial;border-radius:4px}.team-edit-heading .team-add-material:hover{background:#3b4a2d}.team-material-table-head{padding-right:26px}.team-project .team-material-table-row{padding-right:26px}


.organize-header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:26px}
.workspace-dialog .organize-header h2{margin:0;line-height:1.2}
.organize-header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.workspace-dialog .organize-header-actions>button{float:none;flex:0 0 auto;width:auto;min-width:0;height:36px;min-height:36px;margin:0;padding:0 14px;white-space:nowrap;font-size:13px;line-height:1;border-radius:7px}
.workspace-dialog .organize-header-actions>.organize-top-save{padding-inline:20px}
@media(max-width:650px){.organize-header{flex-wrap:wrap;gap:16px}.organize-header-actions{margin-left:auto}.workspace-dialog .organize-header-actions>button{padding-inline:10px}}

/* Keep primary and secondary header actions on the same outer box. */
.workspace-dialog .organize-header .organize-header-actions>button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;height:36px;min-height:36px;max-height:36px;padding-block:0;border-width:1px;border-style:solid;line-height:20px;vertical-align:middle;align-self:center;transform:none}
.workspace-dialog .organize-header .organize-header-actions>.organize-top-save{border-color:transparent}

/* Paired editing actions: shared proportions with a quieter secondary action. */
.workspace-dialog .organize-header .organize-header-actions{gap:8px}
.workspace-dialog .organize-header .organize-header-actions>.organize-adjust,
.workspace-dialog .organize-header .organize-header-actions>.organize-top-save{height:36px;min-height:36px;max-height:36px;border-radius:8px;font-size:13px;font-weight:600;letter-spacing:0;line-height:20px;padding:0 16px}
.workspace-dialog .organize-header .organize-header-actions>.organize-adjust{background:#2b3526;border-color:#526243;color:#e2ebd7}
.workspace-dialog .organize-header .organize-header-actions>.organize-top-save{min-width:76px;background:#d2ed91;border-color:#d2ed91;color:#25321b}
.workspace-dialog .organize-header .organize-header-actions>.organize-adjust:hover{background:#35422d;border-color:#879e64}
.workspace-dialog .organize-header .organize-header-actions>.organize-top-save:hover{background:#def4ab;border-color:#def4ab}
.workspace-dialog .organize-header .organize-header-actions>.dialog-close{margin-left:4px}

.workspace-dialog input::placeholder,.workspace-dialog textarea::placeholder{color:#8f998b;opacity:1}

.team-status-cell{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0}
.team-status-cell .team-review-status{width:100%}
.team-status-cell .sample-status{background:transparent;border:0;padding:2px 4px;font-size:11px;line-height:1.4;color:#a9b29c;white-space:normal;height:auto;min-height:0}
.team-status-cell .sample-requested{color:#dbc482}.team-status-cell .sample-received{color:#c9e995}
.team-status-cell .sample-status:hover{text-decoration:underline;color:#d9efb0}
dialog.sample-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(410px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;box-sizing:border-box;border-radius:14px 0 0 14px;padding:24px;overflow:auto}
.sample-drawer .team-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.sample-drawer h2{font-size:22px;margin:0}
.sample-drawer .sample-material-name{font-size:13px;color:#c7d1ba;margin:10px 0 22px}
.sample-drawer .field{display:flex;flex-direction:column;gap:6px;margin:0 0 14px;font-size:12px}
.sample-drawer input,.sample-drawer select,.sample-drawer textarea{width:100%;box-sizing:border-box;font:inherit;font-size:13px;padding:9px 10px;border:1px solid #49553d;border-radius:7px;background:#141b13;color:#edf0e8;min-height:36px}
.sample-drawer input::placeholder,.sample-drawer textarea::placeholder{color:#858e7d;opacity:1}.sample-drawer textarea{resize:vertical}
.sample-drawer .dialog-note{font-size:11px;line-height:1.5;color:#a9b29c}.sample-drawer .sample-save{width:100%;margin-top:8px}

.team-status-cell .team-review-status{height:30px;min-height:0;padding:0 12px;border-radius:20px;font-size:12px;line-height:1.2;text-transform:none;white-space:nowrap}.team-status-cell .review-draft{color:#b9c1b1;border-color:#535e49;background:#252d22}.team-status-cell .review-in_review{color:#eed582;border-color:#8e7c3f;background:#3b3521}.team-status-cell .review-approved{color:#b9e59b;border-color:#648651;background:#293f26}

.team-status-cell .sample-status{display:inline-flex;align-items:center;justify-content:center;gap:4px}.sample-status svg{width:12px;height:12px;flex:none}

.team-status-cell .sample-status{white-space:nowrap;font-size:10px;gap:3px;padding:2px 0;letter-spacing:0}.team-status-cell .sample-status span{white-space:nowrap}.team-status-cell .sample-status svg{width:11px;height:11px}

/* Keep material type close to the specification above it. */
.team-material-copy>strong{line-height:1.3}.team-material-copy>.muted{margin-top:1px;line-height:1.25}

.team-status-cell .sample-status{font-size:11px}.team-status-cell .sample-status svg{width:12px;height:12px}

/* Align member role controls on a shared center line. */
.team-member>select,.team-member>button{box-sizing:border-box;height:36px;min-height:36px;margin:0;padding:0 12px;font-size:12px;line-height:normal;align-self:center}.team-member>small{line-height:36px;align-self:center}

.material-attachments{border-top:1px solid #414b35;margin-top:20px;padding-top:14px}.attachment-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.attachment-heading h3{display:flex;align-items:center;gap:7px;margin:0;font-size:15px}.attachment-heading svg{width:18px;height:18px}.attachment-heading button{margin:0;white-space:nowrap}.attachment-drop{width:100%;border:1px dashed #65764f!important;padding:15px!important;margin:12px 0;background:transparent!important}.attachment-note{font-size:11px;color:#a8b29e;line-height:1.4;margin:8px 0}.attachment-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #394330}.attachment-copy{min-width:0}.attachment-copy strong{display:block;font-size:13px;overflow-wrap:anywhere}.attachment-copy small{display:block;font-size:11px;color:#a8b29e;margin-top:4px}.attachment-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.attachment-actions a{font-size:12px;color:#d4ebac;text-decoration:none}.attachment-actions button{font-size:11px;padding:5px 8px;margin:0}.material-attachment-trigger{display:inline-flex;align-items:center;gap:3px;margin:0 0 0 7px;padding:2px 4px;border:0;background:transparent;color:#d4ebac;vertical-align:middle;font-size:11px;line-height:1}.material-attachment-trigger svg{width:13px;height:13px}.attachment-dialog{width:min(600px,calc(100vw - 32px));box-sizing:border-box}.attachment-dialog h2{font-size:20px}.attachment-dialog .material-attachments{margin-top:12px}@media(max-width:540px){.attachment-row{align-items:flex-start;flex-direction:column}.attachment-actions{align-self:flex-end}}

.material-title-line{display:flex;align-items:center;gap:4px;min-width:0}.material-title-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.material-title-line .material-attachment-trigger{flex:none;width:auto;min-width:0;margin:0;padding:1px 2px;gap:2px;font-size:10px}.material-title-line .material-attachment-trigger svg{width:12px;height:12px}

.material-title-line .material-attachment-trigger{color:#d5f58a;font-weight:600}.material-title-line .material-attachment-trigger svg{stroke-width:1.9}.material-title-line .material-attachment-trigger:hover{color:#ecffc2;background:#35452a}

.attachment-drop-example{display:block;margin-top:5px;font-size:11px;line-height:1.4;font-weight:400;color:#a8b29e}

/* Compact referral entry, outside the editing workspace. */
header .referral-header{display:flex;align-items:center;gap:10px;margin-left:18px;padding:8px 12px;background:#28351f;border:1px solid #718a48;border-radius:10px;text-align:left;color:#eef5e4;flex-shrink:0;min-height:48px}
.referral-header strong{display:block;font-size:12px;line-height:18px;white-space:nowrap}
.referral-header small{display:block;font-size:9px;line-height:14px;letter-spacing:.7px;color:#b9cc9f}
.referral-header-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#d0f587;color:#25301a;font-size:23px}
.referral-header-arrow{font-size:18px;color:#d0f587;margin-left:4px}
header .referral-header.is-paid{background:transparent;border-color:#3e4b35}
.referral-header.is-paid .referral-header-icon{background:#2b3525;color:#bacda0}
header .referral-header:hover{border-color:#c8f17b;background:#303e25}
@media(max-width:1250px){header .header-note{display:none}}
@media(max-width:850px){header{flex-wrap:wrap}header .referral-header{order:10;margin:8px 0 0;width:100%;justify-content:center}.referral-header strong{white-space:normal}}
