:root{--bg:#f7f8f4;--paper:#fff;--ink:#253c33;--muted:#7d877e;--line:#e5e9e0;--green:#355d48;--pale:#edf2e7;--gold:#d3b477}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;line-height:1.6}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button,a,input,select,textarea,[tabindex]{outline-offset:4px}button{border:0;background:none;color:inherit}input,select,textarea{width:100%;border:1px solid var(--line);border-radius:9px;background:#fbfcf9;padding:11px 12px;color:var(--ink)}input:focus,select:focus,textarea:focus{outline:2px solid #88a487;border-color:transparent}textarea{resize:vertical}input[type=checkbox]{width:16px;height:16px;accent-color:var(--green)}input[type=range]{padding:0;accent-color:var(--green)}h1,h2,h3,p{margin:0}h2{font-size:17px;font-weight:600}h3{font-size:16px;font-weight:600}p{color:var(--muted)}label{display:block;font-size:13px;font-weight:500}label input,label textarea,label select{margin-top:8px}small{font-size:11px}strong{font-weight:600}[hidden]{display:none!important}.brand{display:flex;align-items:center;gap:9px;font-size:23px;font-weight:650;letter-spacing:2px;text-decoration:none;color:inherit;white-space:nowrap}.brand small{font-size:10px;letter-spacing:2px;color:var(--muted);align-self:flex-end;margin-bottom:5px}.brand-mark{background:var(--green);color:#f7f5ea;font-size:21px;border-radius:11px;width:38px;height:38px;display:grid;place-items:center;font-weight:400}.eyebrow{font-size:10px;letter-spacing:2.2px;font-weight:600;color:#849178}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:18px;padding:12px 20px;border-radius:9px;font-weight:500;white-space:nowrap}.primary{background:var(--green);color:white;box-shadow:0 3px 7px #26493210}.primary:hover{background:#284936}.secondary{background:#fff;border:1px solid var(--line)}.secondary:hover{background:var(--pale)}.text-btn{font-size:12px;text-decoration:underline;text-underline-offset:4px}.full{width:100%;justify-content:space-between}.error{color:#a14439;font-size:13px;min-height:24px}.helper{font-size:12px;line-height:1.7}.optional,.tiny{font-size:11px;font-weight:400;color:var(--muted)}.pill{border:1px solid #dfe7d7;background:#f1f5eb;color:#698158;padding:7px 14px;border-radius:30px;font-size:12px}.sidebar{position:fixed;inset:0 auto 0 0;width:232px;background:#fff;border-right:1px solid var(--line);padding:30px 22px;display:flex;flex-direction:column;z-index:10}.sidebar .brand{margin:0 6px 46px}.nav-label{font-size:10px;letter-spacing:2px;color:#98a08f;padding-left:14px;margin-bottom:12px}nav{display:grid;gap:8px}.nav{display:flex;align-items:center;text-align:left;gap:13px;width:100%;padding:13px 15px;color:#788271;border-radius:9px;font-size:13px}.nav span{font-size:20px;width:22px}.nav b{margin-left:auto;font-size:11px;font-weight:500;background:#e5ecdd;border-radius:6px;padding:1px 6px}.nav.active{background:var(--pale);color:var(--green);font-weight:600}.nav:hover{background:#f4f6f0}.sidebar-bottom{margin-top:auto}.quota-box{padding:15px 12px;background:#f7f8f3;border:1px solid var(--line);border-radius:10px;font-size:11px}.quota-box>div{display:flex;justify-content:space-between}.quota-box strong{font-size:11px;color:var(--green)}progress{width:100%;height:5px;border:0;border-radius:5px;appearance:none;margin:12px 0 7px}progress::-webkit-progress-bar{background:#e1e7d9;border-radius:5px}progress::-webkit-progress-value{background:#64865c;border-radius:5px}.quota-box small{color:#98a08f;font-size:9px}.profile{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding-top:23px;margin-top:24px}.profile>span{width:33px;height:33px;display:grid;place-items:center;background:#eaece1;border-radius:50%;font-family:Georgia,serif}.profile strong,.profile small{display:block;font-size:12px}.profile small{font-size:10px;color:var(--muted)}.profile button{margin-left:auto;color:var(--muted)}.main-shell{margin-left:232px}.topbar{height:73px;padding:0 42px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);font-size:11px;color:var(--muted);background:#fbfcf9}.status-dot{display:inline-block;width:6px;height:6px;background:#7c985d;border-radius:50%;margin-right:8px}.divider{color:#c6cdbe;margin:0 12px}main{max-width:1530px;margin:auto;padding:36px 42px 0}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:27px}.page-heading h1{font-size:29px;line-height:1.45;letter-spacing:1px;margin:7px 0 9px;font-weight:600}.page-heading p{font-size:12px}.mode-tabs{display:flex;border-bottom:1px solid var(--line);gap:30px;margin-bottom:24px}.mode-tabs button{padding:10px 1px 15px;border-bottom:2px solid transparent;font-size:15px;color:#8b9285}.mode-tabs button.active{color:var(--green);border-color:var(--green);font-weight:600}.mode-tabs small{font-weight:400;font-size:10px;margin-left:10px;color:#939b8e}.studio-grid{display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);gap:24px}.card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:25px;box-shadow:0 3px 10px #233b3002}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:21px;gap:10px}.section-title h2{font-size:15px;display:flex;align-items:center;gap:10px}.section-title h2>span:first-child:not(.badge){font-size:10px;border:1px solid #dfe7d7;border-radius:5px;color:#7b916d;padding:0 5px}.section-title #options-title{font-size:15px}.dropzone{height:400px;background:#f8f9f5;border:1px dashed #cbd5c0;border-radius:10px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;cursor:pointer}.dropzone.dragover{background:#edf2e6;border-color:var(--green)}#upload-empty{text-align:center;padding:16px}.upload-icon{width:54px;height:54px;border:1px solid #dfe6d6;border-radius:16px;margin:0 auto 22px;font-size:26px;display:grid;place-items:center;background:#fff;color:#66835d}.dropzone h3{font-size:15px;margin-bottom:7px}.dropzone p{font-size:12px}.file-types{display:block;font-size:10px;color:#a3a998;letter-spacing:.5px;margin:16px 0 27px}.upload-choose{font-size:12px;padding:8px 19px;background:#fff;border:1px solid #dae3d1;border-radius:7px;color:#5f7854}#preview-wrap{position:relative;max-width:100%;max-height:100%;line-height:0}#preview{max-width:100%;max-height:398px;display:block;object-fit:contain}#position-marker{position:absolute;transform:translate(-50%,-50%);border:1px solid white;border-radius:50%;background:#335c49c9;color:white;font-size:22px;width:32px;height:32px;display:grid;place-items:center;pointer-events:none}.upload-meta{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:38px;font-size:10px;color:#929c89}.tip{display:flex;gap:12px;padding:16px;background:#f7f5ec;border-radius:9px;margin-top:9px}.tip>span{color:#b9a16d}.tip strong{font-size:11px;color:#7e785e}.tip p{font-size:11px;margin-top:4px;color:#9b967e}#position-controls{margin-top:18px}#position-controls>small{color:var(--muted);font-size:10px}.options-card>div>label,.options-card>label{margin-bottom:16px}.field-heading{display:flex;justify-content:space-between;align-items:center}.field-heading small{font-size:9px;letter-spacing:1.3px;color:#a3ab98}.scene-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:9px 0 18px}.scene{border:1px solid var(--line);padding:0;border-radius:8px;overflow:hidden;font-size:11px;position:relative;background:#fff}.scene-preview{height:54px;display:block;position:relative;overflow:hidden}.scene-preview:after{content:"";position:absolute;width:25px;height:30px;border-radius:45% 45% 25% 25%;left:calc(50% - 12px);top:15px;box-shadow:4px 5px 8px #6b604d20;background:#f3ede1}.scene:nth-child(1) .scene-preview{background:linear-gradient(135deg,#e9e1d2,#f7f4e9)}.scene:nth-child(2) .scene-preview{background:linear-gradient(140deg,#edf0ed,#fff)}.scene:nth-child(3) .scene-preview{background:linear-gradient(65deg,#dae0d3 25%,#f7f5e9 25%,#f7f5e9 48%,#e0e5d8 48%,#e0e5d8 65%,#f7f5e9 65%)}.scene:nth-child(4) .scene-preview{background:repeating-linear-gradient(0deg,#ddd0bb 0,#ddd0bb 13px,#d5c7ae 14px,#e2d5c0 15px)}.scene:nth-child(5) .scene-preview{background:radial-gradient(circle at 20% 20%,#e4e9d0,transparent 50%),#b2c09e}.scene:nth-child(6) .scene-preview{background:linear-gradient(35deg,#dbc2ba,#f2e5dc)}.scene span:last-child{display:block;padding:5px}.scene.selected{border-color:#72905d;box-shadow:0 0 0 1px #72905d;color:var(--green)}.scene.selected:after{content:'✓';position:absolute;right:5px;top:4px;color:#41663b;background:#edf4e7;border-radius:50%;width:15px;height:15px;font-size:10px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-bottom:16px}.options-card select,.options-card textarea{font-size:12px;padding:9px 10px}.submit-row{display:flex;align-items:end;gap:13px;padding-top:15px;border-top:1px solid var(--line);margin-top:16px}.submit-row label{width:110px;flex-shrink:0;font-size:11px}.submit-row .primary{flex:1;height:41px}.submit-note{font-size:10px;margin-top:11px}.check-row{display:flex;align-items:center;gap:8px;font-size:12px}.check-row input{margin:0;flex-shrink:0}.empty-results{margin:25px 0;display:flex;align-items:center;gap:20px;padding:24px 30px;background:#f0f3ea;border:1px solid #e4e9db;border-radius:12px}.empty-results>span:first-child{font-size:32px;color:#98ac85}.empty-results h3{font-size:13px}.empty-results p{font-size:11px;margin-top:5px}.sketch{font-family:Georgia,serif;font-size:45px;color:#becab1;margin-left:auto}.page-footer{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1px;color:#a2aa99;border-top:1px solid var(--line);margin-top:32px;padding:22px 0}.page-footer span:first-child{letter-spacing:2px}.results-section{margin-top:34px}.badge{font-size:10px;color:var(--green);padding:3px 8px;background:var(--pale);border-radius:20px}.results-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.result-card{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;position:relative}.result-card>img{display:block;width:100%;aspect-ratio:1;object-fit:contain;background:#f1f2ec;cursor:zoom-in}.result-placeholder{aspect-ratio:1;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#eef1e8;color:#93a086;gap:10px}.result-placeholder span{font-size:28px}.result-card .select-result{position:absolute;left:10px;top:10px;width:20px;height:20px;filter:drop-shadow(0 1px 2px #0003);margin:0}.result-info{padding:12px;display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:11px}.result-info a{color:var(--green);text-decoration:none}.result-error{font-size:10px;color:#a27948;padding:0 12px 12px;overflow-wrap:anywhere}.result-toolbar{display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin:20px 0}.result-toolbar>span{font-size:11px;color:var(--muted);margin-right:auto}.job-progress{font-size:12px;color:var(--muted);margin:0 0 18px}.palette-row{display:flex;gap:15px;align-items:center;flex-wrap:wrap;font-size:10px;color:var(--muted)}#palette{display:flex;gap:8px}.swatch{font-size:9px;border:1px solid var(--line);border-radius:5px;background:#fff;padding:2px 6px}.swatch i{display:inline-block;width:10px;height:10px;margin-right:5px;border-radius:2px;vertical-align:middle}.palette-row small{font-size:9px}.history-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.history-card{padding:0;text-align:left;overflow:hidden;cursor:pointer}.history-thumb{width:100%;aspect-ratio:1.25;background:#ecf0e5;object-fit:cover;display:grid;place-items:center;font-size:35px;color:#a3b193}.history-info{padding:17px}.history-info p{font-size:11px;margin-top:6px}.history-info h3{font-size:14px}.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.guide-number{font-family:Georgia,serif;font-size:35px;color:#afc09e}.guide-grid h2{margin:12px 0}.guide-grid p{font-size:13px;margin-top:12px;line-height:1.9}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:24px}.stat{padding:20px;background:#fff;border:1px solid var(--line);border-radius:10px}.stat small{color:var(--muted)}.stat strong{display:block;font-size:26px;margin-top:7px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px;text-align:left;margin-top:15px}th{font-size:11px;font-weight:500;color:var(--muted);background:#f9faf6}td,th{padding:13px 10px;border-bottom:1px solid var(--line)}td button{font-size:11px;text-decoration:underline;margin-right:10px}.new-user-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start;margin-top:23px}.admin-block{margin-top:24px}.model-row{display:flex;justify-content:space-between;gap:10px;padding:15px 0;border-bottom:1px solid var(--line);font-size:12px}.model-row small{color:var(--muted);display:block}.model-row .badge{height:max-content}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#263f34;color:#fff;padding:12px 23px;border-radius:10px;z-index:100;box-shadow:0 8px 40px #233b3030;max-width:90vw;font-size:13px}dialog{border:0;padding:30px;background:#f7f8f3;border-radius:12px;max-width:90vw}dialog::backdrop{background:#18281dcc}dialog img{max-width:80vw;max-height:80vh;display:block}dialog button{position:absolute;right:5px;top:0;font-size:25px}.auth-screen{min-height:100vh;display:grid;grid-template-columns:1.15fr 1fr}.auth-art{padding:42px 8%;background:#e9eee0;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;min-height:800px}.auth-art>.brand{margin-bottom:42px}.auth-art h1{font-size:45px;font-weight:500;line-height:1.5;letter-spacing:3px;margin:16px 0}.auth-art p{font-size:13px;line-height:2;color:#7c8974}.auth-art footer{color:#8f9c83;font-size:10px;letter-spacing:2px;margin-top:20px}.auth-form{width:min(360px,80%);margin:auto}.auth-form h2{font-size:29px;margin-top:15px;margin-bottom:10px}.auth-form>p{font-size:13px}.auth-form form{margin-top:32px}.auth-form label{margin-bottom:19px}.auth-form .auth-note{font-size:11px;line-height:1.9;margin-top:27px;color:#a2aa98}.art-composition{position:relative;height:245px;max-width:460px;margin-top:30px}.art-frame{position:absolute;border:8px solid #fff;box-shadow:0 7px 30px #6c76511a;overflow:hidden}.f1{width:190px;height:220px;left:5%;top:0;background:#d0d9be;transform:rotate(-7deg)}.f1 span{font-family:Georgia,serif;position:absolute;font-size:18px;top:15px;left:16px;letter-spacing:2px}.orb{width:105px;height:105px;border-radius:50%;background:radial-gradient(circle at 28% 22%,#f7f2df,#cebea1);position:absolute;bottom:-20px;right:-7px;box-shadow:-12px 8px 10px #83906220}.f2{width:170px;height:198px;right:6%;top:35px;transform:rotate(10deg);background:#eee4d4}.f2 span{font-size:11px;position:absolute;top:16px;left:16px;letter-spacing:3px}.vase{width:65px;height:90px;background:linear-gradient(90deg,#c5b19b,#eee2cf,#c6b29e);border-radius:25% 25% 40% 40%;position:absolute;bottom:15px;right:20px;box-shadow:6px 8px 7px #b6a18c33}.vase:before{content:'';width:22px;height:32px;background:linear-gradient(90deg,#ccbca7,#ebdeca);position:absolute;left:21px;top:-23px;border-radius:3px}.art-caption{position:absolute;right:0;bottom:0;letter-spacing:1.5px;color:#95a187;font-size:8px}@media(min-width:1500px){.dropzone{height:465px}#preview{max-height:463px}.scene-preview{height:65px}}@media(max-width:1150px){.sidebar{width:200px;padding:25px 15px}.main-shell{margin-left:200px}main{padding:30px 25px 0}.topbar{padding:0 25px}.card{padding:20px}.tiny{display:none}.dropzone{height:390px}.mode-tabs small{display:none}.new-user-form{grid-template-columns:1fr 1fr}.stats-grid{grid-template-columns:1fr 1fr}}@media(max-width:900px){.sidebar{width:76px;padding:22px 9px}.sidebar .brand{font-size:0;margin:0 auto 32px}.sidebar .brand small,.sidebar .nav-label,.sidebar .quota-box,.sidebar .profile div,.sidebar .profile>span{display:none}.brand-mark{font-size:21px}.nav{font-size:0;gap:0;justify-content:center}.nav span{font-size:23px}.nav b{display:none}.profile{justify-content:center}.profile button{margin:0}.main-shell{margin-left:76px}.studio-grid{gap:18px;grid-template-columns:1fr}.dropzone{height:330px}#preview{max-height:328px}.results-grid,.history-grid{grid-template-columns:1fr 1fr}.page-heading h1{font-size:25px}.auth-art{padding:35px 8%;min-height:720px}.auth-art h1{font-size:35px}.art-frame.f1{width:145px;height:180px;left:0}.art-frame.f2{width:125px;height:160px;right:0}}@media(max-width:600px){.sidebar{position:sticky;top:0;width:100%;height:58px;flex-direction:row;padding:8px 12px;border-bottom:1px solid var(--line);border-right:0;align-items:center}.sidebar .brand{margin:0 auto 0 0}.brand-mark{width:30px;height:30px;font-size:17px;border-radius:8px}.sidebar nav{display:flex;gap:2px}.nav{padding:6px 10px}.sidebar-bottom{margin:0}.profile{border:0;margin:0;padding:0 0 0 10px}.main-shell{margin:0}.topbar{height:45px;padding:0 18px;font-size:9px}main{padding:22px 16px 0}.page-heading{margin-bottom:18px}.page-heading h1{font-size:23px}.page-heading .pill{display:none}.eyebrow{font-size:8px}.mode-tabs{gap:24px}.mode-tabs button{font-size:13px}.card{padding:17px}.dropzone{height:285px}#preview{max-height:283px}.guide-grid{grid-template-columns:1fr}.results-grid,.history-grid{gap:10px}.result-toolbar{gap:10px}.result-toolbar button{padding:10px 13px;font-size:11px}.result-info{flex-wrap:wrap;gap:8px}.palette-row{gap:8px}.page-footer{font-size:8px;gap:12px}.auth-screen{display:block}.auth-art{min-height:0;padding:28px}.auth-art>.brand{margin-bottom:22px}.auth-art h1{font-size:27px;line-height:1.5;margin:10px 0}.auth-art h1 br{display:none}.auth-art .art-composition,.auth-art footer,.auth-art p{display:none}.auth-form{padding:35px 0 50px}.auth-form h2{font-size:25px}.new-user-form{grid-template-columns:1fr}.stat{padding:15px}.stat strong{font-size:22px}.topbar #today{font-size:8px}}
/* Team workspace additions */
.platform-bar{display:flex;align-items:center;gap:24px;background:#edf2e7;border:1px solid #dfe7d5;padding:16px 22px;border-radius:12px;margin-bottom:22px}.platform-bar label{width:225px;flex-shrink:0}.platform-bar p{font-size:11px;margin-top:5px}.platform-bar strong{font-size:13px}.platform-bar>.badge{margin-left:auto}.filter-bar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;background:#fff;border:1px solid var(--line);padding:18px;border-radius:12px;margin-bottom:20px}.filter-bar label{flex:1;min-width:135px;font-size:11px}.filter-bar .filter-query{flex:1.5;min-width:180px}.filter-bar input,.filter-bar select{padding:9px;font-size:12px}.filter-bar button{height:39px;padding:9px 16px}.records-meta{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin:18px 0}.records-table{margin:0}.records-table td{vertical-align:top}.record-prompt{max-width:350px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px}.record-prompt summary{cursor:pointer;color:var(--green)}.records-table td small{display:block;color:var(--muted);font-size:10px}.pagination{display:flex;gap:20px;justify-content:center;align-items:center;margin:20px 0;font-size:12px}.dashboard-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:20px}.dashboard-grid h2 small{font-size:10px;color:var(--muted);font-weight:400}.bar-chart{display:flex;align-items:end;gap:10px;min-height:200px;padding-top:24px;overflow:auto}.chart-column{min-width:34px;flex:1;text-align:center;display:flex;align-items:center;flex-direction:column;gap:7px}.chart-bar{width:100%;max-width:45px;background:#8aa078;border-radius:5px 5px 0 0;min-height:3px}.chart-column strong{font-size:11px}.chart-column small{font-size:8px;white-space:nowrap;color:var(--muted)}.distribution{display:grid;gap:14px;margin-top:22px}.distribution-row{font-size:12px}.distribution-row>div{display:flex;justify-content:space-between}.distribution progress{height:6px}.employee-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.employee-card{border:1px solid var(--line);border-radius:9px;padding:14px;font-size:12px}.employee-card small{display:block;color:var(--muted);margin-top:5px}.presence{display:inline-block;width:7px;height:7px;background:#c5cbbc;border-radius:50%;margin-right:7px}.presence.online{background:#75a067}.model-cards{display:grid;grid-template-columns:1fr 1fr;gap:18px}.model-card .model-actions{display:flex;gap:12px;margin-top:18px}.model-card h2{display:flex;align-items:center;justify-content:space-between}.model-card p{font-size:12px;margin-top:10px;overflow-wrap:anywhere}.capability-tags{display:flex;gap:7px;margin-top:15px;flex-wrap:wrap}.capability-tags span{background:var(--pale);font-size:10px;padding:3px 8px;border-radius:5px}.auth-actions{display:flex;gap:12px;margin:20px 0;flex-wrap:wrap}.wide-dialog{width:min(1050px,94vw);max-width:94vw;max-height:90vh;overflow:auto}.wide-dialog button,.model-dialog button{position:static;font-size:inherit}.wide-dialog img{max-width:100%;max-height:none}.asset-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.asset-card{background:white;border:1px solid var(--line);border-radius:9px;padding:0!important;text-align:left;overflow:hidden}.asset-card img{width:100%;aspect-ratio:1;object-fit:contain;background:#eef0e7}.asset-card span{display:block;padding:8px;font-size:10px}.model-dialog{width:570px;max-width:94vw;max-height:90vh;overflow:auto}.model-dialog label{margin-bottom:13px}.model-capabilities{display:flex;gap:14px;flex-wrap:wrap;margin:15px 0}.review-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:0 12px 12px;font-size:10px}.review-actions button{border:1px solid var(--line);padding:3px 7px;border-radius:5px;background:#f7f9f2;font-size:10px}.review-actions .approved{color:#3f7951}.review-actions .rejected{color:#a35448}#asset-source-tools{margin-top:15px}#asset-source-note{margin-top:7px}#local-model-status{margin-top:16px}#model-form .primary{margin-top:15px}#assets-dialog .filter-bar{padding:12px}#assets-dialog .filter-bar label{min-width:100px}.empty-state{padding:35px 15px;color:var(--muted);text-align:center;font-size:12px;grid-column:1/-1}.result-owner{font-size:12px;color:var(--muted);margin-bottom:12px}@media(max-width:1000px){.employee-grid{grid-template-columns:1fr 1fr}.asset-grid{grid-template-columns:repeat(3,1fr)}.platform-bar{flex-wrap:wrap}.platform-bar>.badge{display:none}}@media(max-width:700px){.dashboard-grid,.model-cards{grid-template-columns:1fr}.asset-grid{grid-template-columns:1fr 1fr}.platform-bar{gap:10px;padding:14px}.platform-bar label{width:100%}.platform-bar>div{font-size:11px}.filter-bar{gap:8px;padding:12px}.filter-bar label{min-width:110px}.records-meta{gap:10px;flex-wrap:wrap}.record-prompt{max-width:170px}.records-table{min-width:650px}.wide-dialog,.model-dialog{padding:18px}.employee-grid{grid-template-columns:1fr 1fr}.sidebar nav{gap:0}.sidebar .nav{padding:6px 7px}}
#preview-wrap{background:#f6f4ed;flex-shrink:0}#preview{width:100%;height:100%;max-height:none;object-fit:contain}#local-model-status{white-space:pre-line}#dashboard-stats{grid-template-columns:repeat(3,1fr)}@media(max-width:600px){#dashboard-stats{grid-template-columns:repeat(2,1fr)}.sidebar .nav{padding:6px}.sidebar .brand{margin-right:6px}.page-heading{gap:10px;flex-wrap:wrap}}
.scene-tools{display:grid;grid-template-columns:1fr 1.4fr;gap:10px;margin-top:10px}.scene-tools label{font-size:11px}.scene-tools input,.scene-tools select{font-size:12px;padding:9px}.scene-selection{display:flex;justify-content:space-between;align-items:center;margin:13px 0 4px;font-size:12px}.scene-library{max-height:292px;overflow-y:auto;padding:3px 5px 5px 2px;align-content:start}.scene-library .scene-preview{height:49px}.scene-library .scene-preview i{position:absolute;left:6px;top:3px;font-size:8px;color:#566553;font-style:normal;z-index:1}.scene-library .scene-preview:after{width:23px;height:26px;top:20px}.scene-family-0 .scene-preview{background:linear-gradient(130deg,#e8dec9,#faf5e7)!important}.scene-family-1 .scene-preview{background:linear-gradient(110deg,#dcd4c3,#f7eee0)!important}.scene-family-2 .scene-preview{background:linear-gradient(130deg,#ebcbd0,#f8eee1)!important}.scene-family-3 .scene-preview{background:linear-gradient(130deg,#c6d6dc,#eef3e9)!important}.scene-family-4 .scene-preview{background:linear-gradient(130deg,#c8d8ba,#f0f4df)!important}.scene-family-5 .scene-preview{background:linear-gradient(130deg,#d7cbe4,#f6eef2)!important}.scene-family-6 .scene-preview{background:linear-gradient(130deg,#ebd0b9,#f8e9dc)!important}.scene-family-7 .scene-preview{background:linear-gradient(130deg,#c9d8d1,#f5edda)!important}.scene-diversity{margin:7px 0 16px;padding:10px;background:#f4f6ee;border-radius:7px}#scene-description{font-size:11px}#size:disabled{opacity:1;color:var(--green);background:#edf2e7;cursor:default}
.scene-mode-tabs{display:flex;gap:4px;background:#edf2e7;border-radius:8px;padding:4px;margin:10px 0}.scene-mode-tabs button{flex:1;border-radius:6px;padding:7px;font-size:12px}.scene-mode-tabs .active{background:#fff;box-shadow:0 1px 5px #24432c12;font-weight:600}.scene-library{max-height:none;overflow:visible}.scene-pagination{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--muted);margin:-4px 0 12px}.scene-pagination button{font-size:11px;padding:4px}.scene-group-summary{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:12px 0}.scene-group-summary span{background:#f3f5ee;border:1px solid var(--line);border-radius:6px;padding:6px 9px;font-size:11px}

.photo-presets{border:1px solid var(--line);border-radius:9px;padding:12px;margin:12px 0}.photo-presets summary{cursor:pointer;font-size:12px;color:var(--green)}.photo-preset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.review-meta{display:block;flex-basis:100%;font-size:11px;line-height:1.7;color:var(--muted);overflow-wrap:anywhere}@media(max-width:700px){.photo-preset-grid{grid-template-columns:1fr}}

#subject-box{position:absolute;border:2px dashed #377b61;background:#377b6118;cursor:move;touch-action:none;box-sizing:border-box}#subject-box span{position:absolute;top:0;left:0;background:#377b61;color:white;font-size:11px;padding:3px;white-space:nowrap;pointer-events:none}#protection-controls{margin-top:18px}#preview-wrap{position:relative}

.pose-field{grid-column:1/-1}.pose-choices{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.pose-choices button{padding:10px 14px;border:1px solid #dce3d5;border-radius:9px;background:#fafbf7;color:#345447}.pose-choices button[aria-pressed="true"]{background:#345d49;color:#fff;border-color:#345d49}.batch-review-bar{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin:18px 0;padding:16px;background:#eef3e7;border-radius:12px}.batch-review-bar small{flex-basis:100%;color:#687965}

.records-selection{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:14px 0;font-size:12px;color:var(--muted)}.records-selection label{display:flex;align-items:center;gap:8px;color:var(--green)}.records-table input[type=checkbox],.records-selection input[type=checkbox]{width:17px;height:17px;accent-color:var(--green)}

/* Floating menus stay below their trigger and never change section height. */
.native-select-source{display:none!important}
.inline-select{display:block;min-width:0;width:100%}
.select-toggle{display:block;text-align:left;width:100%;min-height:42px;padding:10px 12px;border:1px solid var(--line,#dfe4d9);border-radius:9px;background:#fbfcf8;color:inherit;font:inherit;white-space:normal}
.select-options{display:grid;position:fixed;z-index:1200;box-sizing:border-box;gap:3px;margin:0;padding:6px;max-height:240px;overflow:auto;overscroll-behavior:contain;border:1px solid #cfd9c8;border-radius:9px;background:#fff;box-shadow:0 8px 24px #253e3026}
.select-options[hidden]{display:none}
.select-options button{width:100%;text-align:left;border:0;border-radius:6px;background:transparent;padding:9px 10px;color:inherit;font:inherit;white-space:normal}
.select-options button[aria-selected=true]{background:#eaf1e3;font-weight:700}
.select-options button:hover,.select-options button:focus-visible{background:#edf2e8;outline:2px solid #54764c;outline-offset:-2px}
.select-toggle:focus-visible{outline:2px solid #54764c;outline-offset:2px}
.select-toggle:disabled{opacity:.6}

#users-table .employee-name{max-width:240px;overflow-wrap:anywhere;white-space:normal}

.team-users-table{min-width:760px}

.new-user-form label{min-width:0}.new-user-form label small{display:block;min-height:16px;margin-top:5px;font-size:10px;color:var(--muted)}.new-user-form>.primary{align-self:start;margin-top:25px}.new-user-form .new-user-help,.new-user-form>.error{grid-column:1/-1;margin:0}.new-user-form>.error:empty{display:none}.new-user-form input:disabled{background:#eef1e9;color:var(--muted)}
.team-users-table .user-actions{min-width:240px}.team-users-table .user-actions button{display:inline-block;margin:3px 7px 3px 0;white-space:nowrap}
.user-edit-dialog{width:460px;background:#fff;padding:28px;border:1px solid var(--line);box-shadow:0 24px 80px #17291d33}.user-edit-dialog .section-title{align-items:center;margin-bottom:18px}.user-edit-dialog h2{margin:6px 0 0;font-size:21px}.user-edit-dialog .section-title>button{padding:4px 12px;font-size:22px;line-height:1.4}.user-edit-account{padding:12px 14px;background:var(--pale);border-radius:8px;font-size:12px;margin-bottom:20px;overflow-wrap:anywhere}.user-edit-account strong{margin-left:10px;color:var(--green)}.user-edit-dialog label{font-size:12px}.user-edit-dialog .helper{line-height:1.8;margin:12px 0}.user-edit-dialog .error{min-height:20px;margin:14px 0;font-size:12px}.user-edit-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:12px;border-top:1px solid var(--line)}.user-edit-actions button{min-width:96px}.user-edit-dialog button:disabled{opacity:.6;cursor:wait}
@media(max-width:700px){.new-user-form{grid-template-columns:1fr}.new-user-form>.primary{margin-top:0}.user-edit-dialog{width:calc(100vw - 28px);max-width:calc(100vw - 28px);padding:22px}.user-edit-actions button{flex:1}}

/* Order management */
.order-files{display:flex;flex-direction:column;gap:8px;margin:12px 0}
.order-file{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 11px;border:1px solid var(--line);border-radius:10px;font-size:12px;background:#fff}
.order-file small{display:block;color:var(--muted);font-size:10px}
.order-file-actions{display:flex;gap:10px;white-space:nowrap}
.order-file-actions button,.order-file-actions a{font-size:11px;color:var(--green);text-decoration:underline;text-underline-offset:3px}
.order-total{font-size:17px;color:var(--green)}
.orders-table td button{text-decoration:underline}
.sheet-preview{max-height:62vh;overflow:auto;background:#fff}
.sheet-preview table{border-collapse:collapse;font-size:12px;margin:0}
.sheet-preview td,.sheet-preview th{border:1px solid var(--line);padding:5px 9px;white-space:nowrap}
.pdf-dialog embed{width:min(1000px,86vw);height:72vh;border:0;border-radius:10px;background:#fff}
.side-stats{grid-template-columns:repeat(3,1fr);margin-bottom:8px}
.side-stats .stat{padding:14px}
.side-stats .stat strong{font-size:19px;margin-top:4px}
#orders-board .distribution,#threads-board .distribution{margin-top:14px}
@media(max-width:700px){.orders-table{min-width:760px}.pdf-dialog embed{width:82vw;height:60vh}.side-stats{grid-template-columns:1fr 1fr}}

/* Order management readability */
#view-orders{font-size:15px}
#view-orders .filter-bar label{font-size:13px}
#view-orders .filter-bar input,#view-orders .filter-bar select{font-size:14px;padding:11px}
#view-orders .records-meta{font-size:13px}
.orders-table{font-size:14px}
.orders-table th{font-size:13px}
.orders-table td,.orders-table th{padding:15px 12px}
.orders-table td button{font-size:13px}
.order-dialog{font-size:15px}
.order-dialog label{font-size:13px}
.order-dialog input,.order-dialog textarea{font-size:14px}
.order-file{font-size:13px;padding:11px 13px}
.order-file-actions button,.order-file-actions a{font-size:13px}
#order-files-section .section-title h2{font-size:16px}
#order-files-section .helper{font-size:13px}

/* Role management */
.roles-list{display:grid;gap:12px;margin:15px 0 20px}
.role-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:15px;border:1px solid var(--line);border-radius:10px;background:#fff}
.role-row small{display:block;color:var(--muted);margin-top:3px}
.role-row .capability-tags{margin-top:8px}
.role-actions{display:flex;gap:12px;white-space:nowrap}
.role-actions button{font-size:12px;text-decoration:underline;text-underline-offset:3px;color:var(--green)}
.role-perms{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:12px 0}
.role-perms .check-row{border:1px solid var(--line);border-radius:8px;padding:9px 11px;background:#fff;font-size:13px}
.role-perms .tiny{margin-left:auto}
.role-perms-heading{font-size:13px}
@media(max-width:600px){.role-perms{grid-template-columns:1fr}}
