*{box-sizing:border-box} :root{--blue:#2f61ed;--ink:#172542;--muted:#7c879c;--border:#e7ebf2;--bg:#f5f7fb;--nav:#12203a;--green:#179e79} body{margin:0;color:var(--ink);background:var(--bg);font:12px/1.5 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft Yahei",sans-serif} button,input,select,textarea{font:inherit} button,a,input,select,textarea{outline-offset:3px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5} a{color:var(--blue);text-decoration:none} button{border:1px solid var(--border);background:#fff;color:var(--ink);border-radius:8px;padding:9px 15px;font-weight:500}button:hover{background:#f2f5fb} .primary{background:var(--blue);border-color:var(--blue);color:white}.primary:hover{background:#224dda}.ghost{border:0;background:transparent}.linkbtn{background:transparent;border:0;padding:4px 6px;color:var(--blue)}.danger{color:#b84141}.layout{min-height:100vh;display:grid;grid-template-columns:232px 1fr}.sidebar{background:var(--nav);color:#bdc7dc;padding:22px 14px;position:fixed;top:0;bottom:0;width:232px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:11px;color:#fff;padding:0 9px 17px}.brand strong{font-size:12px;letter-spacing:.2px;white-space:nowrap}.brand small{display:block;color:#8193b6;font-size:10px;letter-spacing:2px;margin-top:3px}.brandmark{width:28px;height:28px;display:grid;grid-template-columns:1fr 1fr;gap:3px;flex-shrink:0}.brandmark i{background:#4978fb;border-radius:3px}.navscroll{flex:1;overflow-y:auto;scrollbar-width:thin}.navgroup{padding:15px 12px 6px;font-size:10px;color:#7184a7;letter-spacing:1px}.navitem{width:100%;display:flex;align-items:center;gap:11px;background:transparent;border:0;color:#b9c5da;text-align:left;font-size:11px;padding:9px 12px;margin:2px 0}.navitem:hover{background:#1d3051;color:#fff}.navitem.active{background:#2b5bea;color:white}.navitem svg{width:17px;height:17px;flex-shrink:0}.navbadge{font-size:10px;margin-left:auto;background:#ffffff18;padding:1px 5px;border-radius:4px}.sidebarfoot{margin-top:15px;padding:14px 10px 0;border-top:1px solid #2a3850;display:flex;gap:10px;align-items:center;font-size:11px}.avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#324b75;color:white}.main{grid-column:2;min-width:0}.topbar{height:66px;padding:0 32px;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:16px}.crumb{font-size:11px;color:var(--muted)}.crumb b{color:var(--ink);font-weight:500}.topright{display:flex;align-items:center;gap:16px}.global-search{border:1px solid var(--border);background:#f9fafc;border-radius:8px;width:238px;padding:8px 12px;font-size:11px}.localpill{display:flex;gap:6px;align-items:center;font-size:10px;color:var(--green);white-space:nowrap}.dot{width:6px;height:6px;border-radius:50%;background:var(--green)}.content{padding:26px 32px 40px;max-width:1740px;margin:auto}.pagehead{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}.pagehead h1{font-size:19px;letter-spacing:-.5px;margin:0 0 4px}.pagehead p{font-size:11px;color:var(--muted);margin:0}.actions{display:flex;align-items:center;gap:8px}.eyebrow{font-size:10px;letter-spacing:2px;color:#8395b2}.hero{display:flex;justify-content:space-between;align-items:center;padding:26px 28px;border:1px solid #dde5fa;border-radius:12px;background:linear-gradient(110deg,#edf2ff,#fff);margin-bottom:20px}.hero h2{font-size:19px;line-height:1.5;margin:7px 0 6px;letter-spacing:-.6px}.hero p{font-size:11px;color:#7c8caa;margin:0}.hero .hero-symbol{width:110px;height:86px;position:relative;color:var(--blue);display:grid;place-items:center;font-size:39px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:22px}.stat{background:white;border:1px solid var(--border);border-radius:10px;padding:19px 20px;display:flex;align-items:center;justify-content:space-between}.stat label{display:block;font-size:11px;color:#718199}.stat strong{display:block;font-size:22px;margin:5px 0 1px;font-weight:650;letter-spacing:-1px}.stat small{color:#8a96ac;font-size:10px}.tile-icon{height:40px;width:40px;display:grid;place-items:center;border-radius:11px;color:#4373ef;background:#edf2ff}.tile-icon svg{height:22px;width:22px}.tile-icon.green{color:#19987c;background:#e9f8f2}.tile-icon.orange{color:#d69628;background:#fff6e7}.tile-icon.purple{color:#8962d9;background:#f4eeff}.grid-main{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:20px}.card{border:1px solid var(--border);background:#fff;border-radius:11px;margin-bottom:20px;overflow:hidden}.cardhead{display:flex;justify-content:space-between;align-items:center;padding:17px 20px;border-bottom:1px solid #eef1f6}.cardhead h2{font-size:12px;margin:0;font-weight:600}.cardbody{padding:20px}.muted{color:var(--muted)}.small{font-size:11px}.steps{display:grid;grid-template-columns:repeat(4,1fr);padding:22px 10px;gap:8px}.step{border:0;background:white;text-align:center;padding:7px;font-size:11px}.stepnum{margin:0 auto 9px;width:34px;height:34px;display:grid;place-items:center;background:#eef3ff;color:var(--blue);border:1px solid #dfe8ff;border-radius:10px;font-size:11px;font-weight:650}.step:hover{background:#f7f9ff}.empty{text-align:center;padding:45px 20px}.empty-icon{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;background:#f1f5ff;color:#547cdb;margin:0 auto 14px}.empty-icon svg{width:25px;height:25px}.empty h3{font-size:12px;margin:0 0 5px}.empty p{font-size:11px;color:var(--muted);margin:0 auto 16px;max-width:400px}.checkrow{display:flex;gap:12px;padding:12px 0;align-items:center}.checkcircle{width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:#f1f4f9;color:#9babc2;font-size:11px}.checkcircle.done{background:#e9f7f1;color:var(--green)}.checkrow strong{font-size:11px;font-weight:500}.checkrow small{display:block;color:var(--muted);font-size:10px}.note{border-radius:8px;background:#f5f8ff;border:1px solid #e3eafb;font-size:11px;color:#6980a6;padding:12px 16px}.note.warning{background:#fff9ee;border-color:#f1e5c8;color:#9b7c44}.toolbar{display:flex;align-items:center;gap:10px;margin-bottom:15px}.toolbar input,.toolbar select{border:1px solid var(--border);padding:9px 12px;border-radius:8px;background:white;font-size:11px}.toolbar input{width:260px}.toolbar .count{margin-left:auto;color:var(--muted);font-size:11px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left;font-size:11px}th{color:#8590a4;background:#fafbfe;font-weight:500;padding:13px 18px;border-bottom:1px solid var(--border)}td{padding:15px 18px;border-bottom:1px solid #eef1f6;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafbff}.product-name{font-weight:550;color:#26354f}.sku{display:block;color:#9aa4b5;font-size:10px}.badge{font-size:10px;border-radius:5px;padding:3px 7px;background:#edf2ff;color:#5174c6;display:inline-flex;align-items:center;gap:4px}.badge.green{background:#e6f6ee;color:#28966c}.badge.orange{background:#fff2db;color:#b3873d}.badge.gray{background:#f0f2f6;color:#8590a4}.tabs{display:flex;gap:24px;border-bottom:1px solid var(--border);margin-bottom:21px}.tab{padding:10px 2px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:#8090a6;font-size:11px}.tab.active{color:var(--blue);border-bottom-color:var(--blue)}.tabs .tab:hover{background:transparent}.thumb{width:38px;height:38px;object-fit:cover;border-radius:7px;border:1px solid var(--border)}.thumbblank{width:38px;height:38px;background:#f1f4f9;border-radius:7px;display:inline-grid;place-items:center;color:#a4b0c3}.namecell{display:flex;align-items:center;gap:11px}.nowrap{white-space:nowrap}.tip{padding:12px 18px;background:#fbfcff;border-top:1px solid var(--border);font-size:10px;color:#98a3b5}.startup{padding:80px;text-align:center;color:#71839e}.service-list{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.service-card{padding:20px;border:1px solid var(--border);background:white;border-radius:10px}.service-card h3{margin:12px 0 5px;font-size:12px}.service-card p{font-size:11px;color:var(--muted);margin:0}.service-card .badge{margin-top:12px}
dialog{border:0;border-radius:14px;padding:0;color:var(--ink);width:min(780px,calc(100vw - 32px));max-height:90vh;box-shadow:0 20px 80px #15244340}dialog::backdrop{background:#101d3866;backdrop-filter:blur(2px)}.modalhead{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid var(--border)}.modalhead h2{margin:0;font-size:14px}.modalbody{padding:22px 24px;max-height:65vh;overflow:auto}.modalfoot{padding:16px 24px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:flex-end;gap:10px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:17px 20px}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field.full{grid-column:1/-1}.field label{font-size:11px;font-weight:550}.field input,.field select,.field textarea{width:100%;border:1px solid #dce2ed;background:white;color:var(--ink);border-radius:7px;padding:9px 11px;font-size:11px}.field textarea{resize:vertical;min-height:76px}.field small{font-size:10px;color:#8b98ad}.section-title{grid-column:1/-1;font-size:11px;color:#667a9a;border-bottom:1px solid #eef1f6;padding:10px 0 8px;margin-top:6px}.month-picker{display:grid;grid-template-columns:repeat(6,1fr);gap:7px}.month-picker label{border:1px solid var(--border);padding:7px;border-radius:7px;font-size:11px;font-weight:400;display:flex;align-items:center;justify-content:center;gap:5px}.month-picker input{width:auto}.upload-preview{display:flex;gap:8px;flex-wrap:wrap}.filechip{display:flex;align-items:center;gap:8px;border:1px solid var(--border);padding:6px;border-radius:7px;font-size:10px}.errorbox{padding:12px;background:#fff0ee;color:#b94747;border-radius:8px;margin-bottom:16px;font-size:11px}.required{color:#d17171}.form-help{font-size:10px;color:#8b98ad;margin-bottom:16px}.calc-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:start}.calc-form{padding:22px}.result-panel{position:sticky;top:22px}.result-hero{background:#254ee6;color:white;padding:25px 24px;border-radius:11px;margin-bottom:16px}.result-hero label{font-size:11px;opacity:.8}.result-hero strong{display:block;font-size:27px;font-weight:600;margin:12px 0 4px;letter-spacing:-1px}.result-hero p{margin:0;font-size:10px;color:#bccafa}.result-hero.negative{background:#bd534a}.result-rows{padding:5px 20px}.result-row{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #edf0f6;font-size:11px}.result-row:last-child{border:0}.result-row label{color:#8390a5}.result-row b{font-weight:550}.calc-save{width:100%;margin:15px 0 12px}.stickycol th:first-child,.stickycol td:first-child{position:sticky;left:0;z-index:1;background:white;box-shadow:2px 0 5px #15244305}.stickycol th:first-child{background:#fafbfe}.season-table{min-width:1950px}.attachment-buttons{display:flex;gap:5px}.history-item{padding:13px 20px;border-bottom:1px solid #eef1f6}.history-item:last-child{border:0}.history-item h4{margin:0;font-size:11px;font-weight:500}.history-item p{margin:4px 0 0;font-size:10px;color:#8b99af}#toast{position:fixed;right:28px;bottom:24px;background:#152746;color:white;box-shadow:0 8px 30px #14243b22;border-radius:9px;font-size:11px;padding:13px 20px;z-index:100;opacity:0;transform:translateY(10px);pointer-events:none;transition:.2s}#toast.show{opacity:1;transform:none}.footer-note{font-size:10px;color:#98a5ba;margin-top:14px}.menu-btn{display:none}.row-actions{display:flex;gap:5px}.unavailable{display:flex;gap:10px;padding:14px 17px;margin-bottom:18px;border:1px solid #e1e8f6;background:#f8faff;border-radius:9px;font-size:11px;color:#7e90ae}.saved-state{font-size:10px;color:#8a9ab0}.selection-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}.mini{font-size:10px}.date{font-variant-numeric:tabular-nums}
@media(min-width:1600px){.grid-main{grid-template-columns:minmax(0,1fr) 350px}.content{padding:32px 40px}.sidebar{width:248px}.layout{grid-template-columns:248px 1fr}}
@media(max-width:1150px){.layout{grid-template-columns:208px 1fr}.sidebar{width:208px}.brand strong{font-size:11px}.content{padding:22px}.topbar{padding:0 22px}.grid-main{grid-template-columns:1fr}.stats{gap:10px}.stat{padding:16px}.calc-layout{grid-template-columns:1fr}.result-panel{position:static}.service-list{grid-template-columns:1fr 1fr}.global-search{width:200px}.hero h2{font-size:17px}}
@media(max-width:760px){.layout{grid-template-columns:1fr}.sidebar{transform:translateX(-100%);transition:.2s;width:232px}.sidebar.open{transform:none;box-shadow:10px 0 40px #101d3840}.main{grid-column:1}.menu-btn{display:block;padding:6px 9px}.topbar{padding:0 16px;height:59px}.content{padding:20px 16px}.global-search{display:none}.topright{gap:8px}.pagehead{align-items:flex-start}.pagehead h1{font-size:18px}.pagehead .actions{flex-wrap:wrap;justify-content:flex-end}.stats{grid-template-columns:1fr 1fr}.stat strong{font-size:19px}.hero{padding:20px}.hero h2{font-size:15px}.hero-symbol{display:none!important}.formgrid{grid-template-columns:1fr}.field.full,.section-title{grid-column:auto}.toolbar{flex-wrap:wrap}.toolbar input{width:100%}.toolbar .count{margin-left:0}.steps{grid-template-columns:repeat(2,1fr)}.service-list{grid-template-columns:1fr}.month-picker{grid-template-columns:repeat(4,1fr)}.modalbody{padding:18px}.modalhead,.modalfoot{padding:16px 18px}.selection-pair{grid-template-columns:1fr}.tabs{gap:16px;overflow:auto;white-space:nowrap}.hero .primary{white-space:nowrap;font-size:11px;padding:8px 11px}.localpill{font-size:10px}}
.button-link{border:1px solid var(--border);background:#fff;color:var(--ink);border-radius:8px;padding:9px 15px;font-weight:500;font-size:11px;display:inline-block}.button-link.primary{background:var(--blue);color:#fff;border-color:var(--blue)}.version-detail{border:1px solid var(--border);border-radius:8px;margin-bottom:10px}.version-detail summary{padding:12px 14px;cursor:pointer;font-size:11px}.version-body{border-top:1px solid var(--border);padding:10px 14px}.version-body>div{display:grid;grid-template-columns:140px 1fr;gap:16px;padding:5px 0;font-size:11px}.version-body span{color:var(--muted)}.version-body b{font-weight:400;white-space:pre-wrap;word-break:break-word}.note+.card{margin-top:18px}.unavailable svg{width:19px;height:19px;flex-shrink:0}.thumbblank svg{width:17px;height:17px}.calc-form>.note{margin-bottom:18px}.version-detail[open] summary{color:var(--blue)}
.brand small{font-size:9px;letter-spacing:1px;white-space:nowrap}@media(max-width:1050px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{flex-direction:column;align-items:flex-start;gap:16px}.hero .primary{white-space:nowrap}}

/* Simple uploaded Skill library */
.r-skill-library table{table-layout:fixed;font-size:12px}.r-skill-library th{font-size:11px;color:#66758b;padding:14px 20px}.r-skill-library td{padding:18px 20px}.r-skill-library th:nth-child(1){width:24%}.r-skill-library th:nth-child(2){width:176px}.r-skill-library th:nth-child(4){width:128px}.r-skill-library .r-skill-name{font-weight:550;white-space:normal;overflow-wrap:anywhere}.r-skill-library .r-skill-description{white-space:normal;overflow-wrap:anywhere;color:#53637a;line-height:1.7}.r-skill-description>div{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.r-skill-library .date{font-size:11px;color:#738199}.r-skill-empty{text-align:center;height:150px;color:#8b97aa}.r-skill-deleted{display:flex;justify-content:flex-end}.r-skill-details{border-top:1px solid var(--border);padding-top:3px}.r-skill-details summary{color:#66758b}.r-skill-details .row-actions{flex-wrap:wrap;margin:12px 0}.r-skill-details .form-help{margin:14px 0 0}
/* Report, model and Skill workflows */
.r-flow{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0 24px}.r-flow>div{display:flex;align-items:center;gap:10px;font-weight:600;color:#455775}.r-flow span{background:#e6eefc;color:#245ce3;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;font-size:11px}.r-two{display:grid;grid-template-columns:1.1fr 1fr;gap:20px;align-items:start}.r-two .card{min-width:0}.r-report-list{max-height:470px;overflow:auto}.r-report{border:1px solid #e5eaf1;border-radius:10px;padding:16px;margin-bottom:12px;background:#fbfcfe}.r-check{display:flex;align-items:center;gap:12px;font-size:11px;min-height:32px}.r-check input{width:17px;height:17px;accent-color:#2864ef;flex:0 0 auto}.r-report strong{display:block;overflow-wrap:anywhere}.r-report small{display:block;color:#7e8b9f;margin-top:7px;font-size:11px}.r-report-foot{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:16px}.r-wide{width:100%;margin-top:10px}.r-view-toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:18px 20px}.r-view-toolbar .field{min-width:180px}.r-search-label{font-size:11px;color:#64748b;display:flex;flex-direction:column;gap:7px}.r-pagination{display:flex;justify-content:center;align-items:center;gap:20px;padding:16px;font-size:11px;color:#65758d}.workbook-grid{max-height:460px}.workbook-grid th{background:#edf1f7}.workbook-grid tbody tr:first-child td{font-weight:600;background:#f6f8fc}.workbook-grid td{max-width:500px;white-space:pre-wrap;overflow-wrap:anywhere;min-width:110px}.keyword-link{color:#2563eb;text-decoration:underline}.r-config-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.r-config .cardhead{align-items:flex-start}.r-config .row-actions{flex-wrap:wrap;margin-top:20px;gap:9px}.r-break{font-size:11px;overflow-wrap:anywhere;color:#64748b}.r-history{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;background:#f5f7fb;padding:14px}.r-links{display:flex;flex-direction:column;gap:12px;margin:20px 0}.r-error{font-size:11px;color:#b84e28;max-width:400px}#editor .r-check{grid-column:1/-1}#editor .table-wrap{max-height:220px}details summary{cursor:pointer;padding:10px 0;font-size:11px}@media(max-width:1150px){.r-two{grid-template-columns:1fr}.r-flow{gap:8px}.r-flow>div{font-size:11px;gap:6px}.r-flow span{width:28px;height:28px}}@media(max-width:760px){.r-flow{grid-template-columns:repeat(2,1fr)}.r-config-grid{grid-template-columns:1fr}.r-view-toolbar{padding:14px;align-items:start}.r-view-toolbar .field{width:100%}.r-pagination{gap:10px}.r-check{align-items:flex-start}.r-report-foot{gap:8px}}

@media(max-width:760px){.r-skill-library table{min-width:600px}}

/* Selection registrations and reference-based profit page */
.candidate-library table{min-width:1280px}.candidate-library td{font-size:11px}.candidate-library .row-actions{white-space:nowrap}
.profit-shell{--blue:#0055ff;--ink:#121b55;--muted:#7180a8;--border:#deedfc;background:#f1f9ff}.profit-shell .sidebar{background:#fff;color:#141d55;border-right:1px solid #e0ecfc}.profit-shell .brand strong{color:#141d55}.profit-shell .brand small{color:#8a95b1}.profit-shell .navgroup{color:#7787b0}.profit-shell .navitem{color:#141d55;font-weight:550}.profit-shell .navitem:hover{background:#f1f8ff}.profit-shell .navitem.active{color:#0055ff;background:#e6f3ff}.profit-shell .sidebarfoot{border-color:#e0eafa}.profit-shell .avatar{background:#0055ff}.profit-shell .topbar{height:56px;background:#f8fcff}.profit-shell .content{padding:20px}.profit-shell .pagehead{margin-bottom:14px}.profit-heading{display:flex;align-items:center;gap:18px}.profit-heading h1{font-size:22px;margin:0;font-weight:750}.profit-heading .badge{font-size:12px;padding:7px 12px;background:#e2f1ff;color:#0055ff}.profit-page h2{font-size:18px;font-weight:700;margin:0 0 14px;line-height:1.35}.profit-page .card{border-radius:8px;margin-bottom:12px}.profit-page .primary,.profit-new{font-size:12px;padding:10px 22px;border-radius:5px}.profit-new{color:#0055ff;border-color:#0055ff}.profit-sectionhead{display:flex;align-items:center;justify-content:space-between;gap:15px}.profit-sectionhead>span{color:#8490b2;font-size:11px}.profit-sectionhead label{font-size:11px;color:#7280a2}.profit-sectionhead select{padding:5px 9px;border:1px solid #d4e1f8;border-radius:5px;background:#fff;color:#172759}.profit-info{padding:14px 18px 16px}.profit-info-grid{display:grid;grid-template-columns:1.15fr 1.05fr .95fr 1.05fr .95fr;gap:20px}.profit-page .field{gap:4px}.profit-page .field label{font-size:12px;color:#53659c;font-weight:500}.profit-page .field input,.profit-page .field select{height:38px;border-radius:5px;border-color:#d3ddf5;color:#182458;padding:7px 12px;font-size:12px;background:#fff}.profit-page .field small{font-size:11px;text-align:right;color:#8592b8}.profit-main-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:12px;align-items:stretch}.profit-cost,.profit-result{padding:14px 18px}.profit-cost-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px 26px}.profit-money{display:flex;align-items:center;height:38px;background:#fafcff;border:1px solid #d4ddf4;border-radius:5px;overflow:hidden}.profit-money>span{width:42px;text-align:center;border-right:1px solid #dce4f6;color:#596aa6;flex:0 0 auto}.profit-page .profit-money input{width:100%;border:0;background:transparent;padding:7px 12px;outline-offset:-3px}.profit-warm .profit-money{background:#fff3e4;border-color:#ffe1c6}.profit-warm .profit-money>span{border-color:#ffe1c6}.profit-return{margin-top:14px;font-size:12px;color:#54689d}.profit-return>label{display:block;margin-bottom:4px}.profit-return-controls{display:flex;align-items:center;gap:0;flex-wrap:wrap}.profit-return-controls>label{display:flex;align-items:center;gap:9px;border:1px solid #cdd9f9;border-radius:4px;padding:7px 16px;cursor:pointer}.profit-return-controls>label:has(input:checked){border-color:#0055ff;color:#0055ff}.profit-return-controls input{accent-color:#0055ff;width:17px;height:17px;margin:0}.profit-return-controls>span{font-size:11px;margin-left:18px}.profit-return .field{margin-top:12px;max-width:230px}.profit-formula{font-size:11px;color:#8593b5;margin:8px 0 0}.profit-notes summary{font-size:11px;padding:8px 0 0;color:#7484a9}.profit-notes textarea{font-size:11px}.profit-summary{display:grid;grid-template-columns:1.05fr 1fr;background:#f0efff;border-radius:6px;padding:14px 20px;margin:2px 0 12px;gap:20px;color:#1132e8}.profit-summary>div+div{border-left:1px solid #d0d0f3;padding-left:24px}.profit-summary label{display:block;font-size:12px;font-weight:550;margin-bottom:6px;color:#192b88}.profit-summary strong{display:block;font-size:26px;line-height:1.2;font-weight:750;letter-spacing:-.5px}.profit-summary.is-negative strong{color:#b43845}.profit-detail>div{display:flex;justify-content:space-between;gap:12px;padding:4px 2px;font-size:12px}.profit-detail b{font-weight:550}.profit-total{border-top:1px solid #d5def2;margin-top:6px;padding-top:9px!important;font-weight:650}.profit-roi{margin-top:5px}.profit-missing{font-size:11px;color:#95682e;margin:10px 0 0}.profit-records{padding:14px 18px 8px}.profit-records .toolbar{margin:0;gap:8px}.profit-records .toolbar input{width:190px}.profit-records .toolbar .count{display:none}.profit-records h2{margin:0}.profit-records .table-wrap{margin-top:14px}.profit-records table{min-width:1280px}.profit-records th,.profit-records td{padding:9px 15px;border:1px solid #e0e8fa;color:#182554;font-size:11px}.profit-records th{background:#f4f8ff}.profit-records .profit-value{background:#f5f2ff;color:#1836dc}.profit-footnote{font-size:11px;color:#8593b6;text-align:center;margin:6px 0}.profit-shell .footer-note{display:none}
@media(min-width:1400px){.profit-shell{grid-template-columns:274px 1fr}.profit-shell .sidebar{width:274px;padding:22px 16px}.profit-shell .brand strong{font-size:17px}.profit-shell .brand small{display:none}.profit-shell .navitem{font-size:13px;padding:9px 12px;margin:3px 0}.profit-shell .navitem svg{width:22px;height:22px}.profit-shell .navgroup{font-size:11px;padding-top:13px}.profit-shell .content{padding:20px}}
@media(max-width:1150px){.profit-heading{gap:10px;flex-wrap:wrap}.profit-heading h1{font-size:20px}.profit-heading>.small{display:none}.profit-info-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.profit-main-grid{grid-template-columns:1fr}.profit-summary strong{font-size:22px}.profit-records .profit-sectionhead{flex-wrap:wrap}}
@media(max-width:760px){.profit-shell{grid-template-columns:1fr}.profit-shell .content{padding:18px 16px}.profit-page .pagehead{flex-wrap:wrap}.profit-info-grid{grid-template-columns:1fr}.profit-cost-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.profit-page h2{font-size:16px}.profit-return-controls>span{margin:8px 0 0;width:100%}.profit-sectionhead>span{display:none}.profit-summary{padding:14px;gap:12px}.profit-summary>div+div{padding-left:12px}.profit-summary strong{font-size:19px}.profit-summary label{font-size:11px}}

.candidate-profit-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;background:#f2f6ff;padding:16px;border-radius:8px}.candidate-profit-summary span{display:block;color:#7a88a4;font-size:11px}.candidate-profit-summary strong{display:block;margin-top:4px;font-size:15px;color:#2e56d7}.candidate-competitors{display:flex;flex-wrap:wrap;gap:12px}

.profit-result .profit-detail>div{line-height:1.4;padding-top:3px;padding-bottom:3px}.profit-cost .profit-notes{position:relative;align-self:flex-start;margin:0 0 14px auto}.profit-cost .profit-notes summary{padding:4px 0;color:#6c7fbd}.profit-cost .profit-notes[open]{z-index:3}.profit-cost .profit-notes .field,.profit-cost .profit-notes .profit-formula{position:absolute;right:0;background:white;width:280px;border:1px solid #d6e1f5;padding:14px;box-shadow:0 6px 20px #15306318}.profit-cost .profit-notes .field{top:28px}.profit-cost .profit-notes .profit-formula{top:169px;padding:8px 14px;margin:0}.profit-summary strong{font-size:28px}@media(max-width:760px){.profit-summary strong{font-size:19px}}

.profit-records table{min-width:1080px}.profit-records .actions{flex-wrap:wrap}.profit-records .profit-new{padding:8px 12px;font-size:11px}@media(min-width:1400px){.profit-shell .navscroll>.navgroup:first-child{display:none}.profit-shell .navitem{padding:7px 12px;margin:1px 0;line-height:1.45}.profit-shell .navgroup{padding-top:9px;padding-bottom:6px}}

/* V0.4: reference-based selection and product libraries */
.catalogue-shell{background:linear-gradient(120deg,#f0faff,#f9fcff)}.catalogue-shell .content{padding:18px 20px 30px}.catalogue-shell h1{font-size:22px;font-weight:750}.catalogue-shell h2{font-size:15px;line-height:1.4;margin:0;font-weight:700}.catalogue-shell h3{margin:0;font-size:13px}.catalogue-shell .pagehead p{font-size:11px}.catalogue-shell button,.catalogue-shell .button-link{border-radius:5px;font-size:11px}.catalogue-shell .outline{border-color:#0055ff;color:#0055ff}.catalogue-shell .card{border-radius:8px;margin-bottom:12px}.catalogue-shell .cardhead{padding:12px 16px}.catalogue-shell .cardhead h2{font-size:16px}.catalogue-shell .cardbody{padding:14px 16px}.catalogue-shell .field input,.catalogue-shell .field select,.catalogue-shell .field textarea,.cat-filters input,.cat-filters select,.cat-product-search{border-color:#d4def6;border-radius:5px;background:white;color:#192454;font-size:11px;padding:7px 10px;min-width:0}.catalogue-shell .field input,.catalogue-shell .field select{height:35px}.catalogue-shell .field label{color:#53679d;font-size:11px;font-weight:500}.catalogue-shell .formgrid{gap:8px 16px}.catalogue-shell .field{gap:4px}.catalogue-shell .badge{border-radius:4px;font-size:11px;font-weight:500}.catalogue-shell .badge.purple{background:#f1e6ff;color:#850bfa}.catalogue-shell .small{font-size:11px}.cat-card{padding:12px 16px;min-width:0}.cat-cardhead{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}.cat-cardhead h2{display:flex;align-items:center;gap:12px}.cat-cardhead small{font-size:11px;color:#7282b3;font-weight:400}.cat-cardhead .actions{flex-wrap:wrap;justify-content:flex-end}.cat-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.cat-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.cat-empty{padding:28px 15px;text-align:center;color:#6576a2}.cat-empty strong{font-size:12px}.cat-empty p{font-size:11px;margin:8px 0 0}.cat-field-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.cat-card .formgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.cat-file{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px;margin-top:7px;border-radius:5px;background:#f3f8ff;font-size:11px}.cat-file>span{overflow-wrap:anywhere;min-width:0}.cat-file .actions{flex:0 0 auto}.cat-file .field{min-width:220px}.cat-flow,.catalogue-shell .r-flow{display:flex;justify-content:space-around;align-items:center;gap:14px;margin:6px 0 15px;padding:10px 20px}.cat-flow>span,.catalogue-shell .r-flow>div{display:flex;align-items:center;gap:12px;color:#7181b0;font-size:12px;font-weight:600;flex:1}.cat-flow>span:not(:last-child):after,.catalogue-shell .r-flow>div:not(:last-child):after{content:'→';font-size:22px;font-weight:300;color:#a8b9e8;margin-left:auto}.cat-flow b,.catalogue-shell .r-flow span{display:grid;place-items:center;background:#e1edf7;color:#121c55;border-radius:50%;width:30px;height:30px;flex:0 0 30px;font-size:13px}.cat-flow .active b,.catalogue-shell .r-flow>div:first-child span:first-child{background:#0055ff;color:white}.cat-flow .active,.catalogue-shell .r-flow>div:first-child{color:#0055ff}.cat-filters{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0}.cat-filters>input[type=search]{flex:1;min-width:180px}.cat-filters>input[type=date]{width:160px}.cat-filters select{max-width:130px}.cat-filters .linkbtn{font-size:11px;padding:4px}.catalogue-shell table{min-width:0;width:100%}.catalogue-shell th,.catalogue-shell td{border:1px solid #dfedff;color:#445d98;font-size:11px;padding:9px 11px}.catalogue-shell th{background:#f5faff;font-weight:600;white-space:nowrap}.catalogue-shell td strong{color:#17235b}.catalogue-shell tr.selected{background:#e8f5ff}.catalogue-shell .table-wrap{border-radius:5px;border:1px solid #e4effe}.catalogue-shell .sku{color:#6a7bad;font-size:11px;margin-top:2px}.catalogue-shell .row-actions{gap:7px}.catalogue-shell .row-actions .linkbtn{white-space:nowrap;padding:2px;font-size:11px}.cat-detail-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 10px}.cat-detail-links{border-top:1px solid #e1edfc;margin-top:10px;padding-top:8px;font-size:11px;color:#566eab}.cat-profit-box{background:#eaf7ff;border-radius:6px;padding:10px;margin-top:10px}.cat-profit{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding-top:12px}.cat-profit>div{text-align:center;background:#eff8ff;border-radius:4px;padding:6px 4px}.cat-profit>div:last-child{background:#f6efff}.cat-profit span{font-size:11px;color:#6c80b2;display:block}.cat-profit strong{font-size:18px;color:#0055ff;display:block}.cat-profit>div:last-child strong{color:#8600ff}.cat-season-grid{display:grid;grid-template-columns:1fr .7fr 1.5fr;gap:18px}.cat-season-dates{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:12px}.cat-timeline{display:flex;list-style:none;gap:20px;padding:12px 18px;margin:12px 0 8px;border-radius:6px;background:#edf8ff}.cat-timeline li{flex:1;position:relative;padding-left:22px;font-size:11px;color:#0055ff}.cat-timeline li:before{content:'';position:absolute;width:10px;height:10px;border:4px solid #d1eaff;background:#0055ff;border-radius:50%;left:0;top:4px;box-sizing:content-box}.cat-timeline li:not(:last-child):after{content:'→';position:absolute;right:4px;top:5px;color:#8eaff0;font-size:16px}.cat-timeline strong,.cat-timeline span{display:block}.cat-all-layout{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,.95fr);gap:12px;align-items:start}.cat-pagination{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:12px;font-size:11px;color:#5e70a1}.cat-pagination select{border:1px solid #d4e1fc;border-radius:4px;padding:6px;color:#182458;background:white}.cat-pagination button{padding:6px 12px}.namecell{display:flex;align-items:center;gap:12px}.cat-thumb,.cat-thumb-none{width:46px;height:46px;border-radius:5px;object-fit:contain;flex:0 0 46px;background:#f3f5f9}.cat-thumb-none{display:grid;place-items:center;color:#94a0b9;font-size:11px;border:1px solid #e1e8f5}.cat-preview-identity{display:flex;align-items:center;gap:15px;padding:0 0 12px}.cat-preview-identity>div:nth-child(2){flex:1}.cat-preview-identity p{font-size:11px;margin:5px 0;color:#6175ad}.cat-preview-identity small{font-size:11px;color:#7186b5}.cat-preview-identity .cat-thumb,.cat-preview-identity .cat-thumb-none{width:70px;height:70px;flex-basis:70px}.cat-preview .cat-card{padding:10px;border-radius:5px;margin-bottom:8px}.cat-preview .cat-cardhead{margin-bottom:8px}.cat-preview .cat-card h2{font-size:13px}.cat-kv{display:grid;grid-template-columns:1fr 1fr;gap:7px 12px;margin:0;font-size:11px}.cat-kv>div{display:flex;align-items:flex-start;gap:8px}.cat-kv dt{color:#5369a3;min-width:65px}.cat-kv dd{margin:0;overflow-wrap:anywhere;color:#152358}.cat-preview-foot{display:flex;justify-content:space-between;gap:8px;margin:14px 0 2px}.cat-completed-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:12px;align-items:start}.cat-completed-list{min-height:680px}.cat-product-search{width:100%}.cat-product-list{margin:12px -7px}.cat-product-item{display:flex;align-items:center;gap:10px;border:1px solid transparent;width:100%;padding:12px 8px;text-align:left;background:transparent;border-bottom-color:#e0edfb;margin:6px 0}.cat-product-item>span:nth-child(2){flex:1;min-width:0}.cat-product-item strong{display:block;overflow-wrap:anywhere}.cat-product-item small{display:block;color:#7282b4;margin-top:3px;font-size:11px}.cat-product-item.active{border-color:#0055ff;background:#eef5ff}.cat-product-item .badge{font-size:10px;padding:3px 5px;max-width:80px}.cat-product-item[hidden]{display:none}.cat-shortcuts{margin-top:22px;border-top:1px solid #dae9ff;padding-top:14px}.cat-shortcuts button{display:block;text-align:left;border:none;border-bottom:1px solid #e0edfb;border-radius:0;width:100%;color:#1b2a64;padding:13px 0;background:transparent}.cat-shortcuts button:after{content:'›';float:right;color:#0055ff;font-size:16px}.cat-package-identity{padding:14px 16px 0}.cat-package-identity .tabs{margin:0 -16px;padding:0 12px;border-top:1px solid #e3edfc;gap:10px}.cat-package-identity .tab{font-size:11px;padding:9px 6px}.cat-attribute{display:grid;grid-template-columns:88px minmax(0,1fr) 38px;align-items:center;gap:6px;margin:6px 0}.cat-attribute label{font-size:11px;color:#334b8b}.cat-attribute input,.cat-attribute textarea{resize:vertical;width:100%;min-width:0;border:1px solid #d3e0fa;background:#fff;border-radius:4px;font-size:11px;color:#152452;padding:6px 8px;line-height:1.5;min-height:32px}.cat-attribute textarea{max-height:160px}.cat-attribute textarea:focus{min-height:65px}.cat-attribute .linkbtn,.cat-attribute .outline{padding:3px 0;font-size:11px}.cat-attributes .cat-attribute{grid-template-columns:75px minmax(0,1fr) 32px}.cat-package-save{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 12px;padding:0 2px;color:#7180a5;font-size:11px}.cat-media-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.cat-media-grid figure{margin:0;text-align:center;min-width:0}.cat-media-grid img,.cat-media-grid video{width:100%;height:95px;border-radius:5px;background:#eff3f9;object-fit:contain}.cat-media-grid figcaption{font-size:11px;color:#536ba7;overflow-wrap:anywhere}.cat-keyword-count{font-size:24px;line-height:1.2;color:#0055ff;font-weight:700}.cat-keyword-count small{font-size:11px;font-weight:400;color:#7281a8}.cat-keyword-tags{margin:8px 0;display:flex;flex-wrap:wrap;gap:5px}.cat-keyword-tags .badge{background:#edf7ff;color:#0055ff;font-size:10px}.cat-competitor-link{display:block;padding:3px 0;font-size:11px;overflow-wrap:anywhere}.cat-three .cat-card{padding:12px}.cat-three .cat-cardhead{flex-wrap:wrap;gap:3px}.cat-three .cat-cardhead h2{font-size:13px}.cat-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;max-height:230px;overflow:auto;color:#385388}.cat-bottom-note{padding:10px 14px;border:1px solid #ddebff;border-radius:6px;color:#6e80b1;font-size:11px;background:#f3fbff}.cat-studio-selector{padding:12px 16px;border:1px solid #ddebff;border-radius:6px;background:white;margin-bottom:12px}.cat-studio-selector>.field{max-width:430px;margin-bottom:10px}.cat-studio-selector .tabs{margin:0;flex-wrap:wrap}.cat-studio-assets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cat-studio-asset{border:1px solid #e0ecfb;border-radius:5px;padding:8px;min-width:0}.cat-studio-asset img,.cat-studio-asset video{width:100%;height:140px;object-fit:contain;background:#f0f6ff}.cat-studio-asset .cat-file{flex-wrap:wrap}.r-selection-top{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(330px,1fr);gap:12px}.r-selection-top .r-report-list{max-height:230px;padding:0;overflow:auto}.r-selection-top .r-reports-main{display:grid;grid-template-columns:minmax(0,1fr) 174px;gap:18px;align-items:center}.r-selection-top .r-report{padding:10px 12px;margin-bottom:7px;border-radius:5px;background:white}.r-selection-top .r-report small{font-size:10px;margin-top:3px}.r-selection-top .r-report-foot{margin-top:5px;gap:8px}.r-selection-top .r-report-foot .button-link{padding:1px 4px;font-size:10px;border:0}.r-report-import{text-align:center}.r-report-import button{width:100%;padding:8px 6px}.r-selection-top .r-report-list .empty{padding:20px 12px}.r-compact-settings .formgrid{display:flex;flex-direction:column;gap:8px}.r-compact-settings .field:not(.full){display:grid;grid-template-columns:70px minmax(0,1fr);align-items:center}.r-compact-settings .field label{font-size:11px;color:#192653}.r-compact-settings details .formgrid{display:grid;grid-template-columns:1fr 1fr}.r-compact-settings details .field:not(.full){display:flex}.r-compact-settings details{margin:0}.r-compact-settings summary{padding:4px 0;font-size:11px;color:#7686af}.r-compact-settings .r-wide{margin-top:8px;padding:8px}.r-selection-work{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(320px,.85fr);gap:12px;align-items:stretch}.r-selection-work>.card{padding:12px 16px}.r-selection-work .cardhead{padding:0 0 9px;border-bottom:0;gap:12px}.r-selection-work .r-view-toolbar{padding:0 0 8px;align-items:center;gap:8px}.r-selection-work .r-view-toolbar .field{min-width:150px}.r-selection-work .r-view-toolbar select{height:32px;max-width:220px}.r-selection-work .r-search-label{display:block;flex:1;min-width:120px}.r-selection-work .r-search-label input{width:100%;height:32px}.r-selection-work .r-view-toolbar .field label{display:none}.r-selection-work .r-view-toolbar .badge{display:none}.r-selection-work .r-view-toolbar .button-link{padding:5px 8px;font-size:11px}.r-selection-work .note{margin:0 0 8px;padding:8px 10px;font-size:11px}.r-selection-work .workbook-grid{height:245px;max-height:245px}.r-selection-work .workbook-grid td{padding:7px 10px;min-width:90px;max-width:350px}.r-selection-work .workbook-grid th{padding:7px}.r-selection-work .r-pagination{padding:10px 0 0;gap:12px}.r-selection-work .r-task-form .formgrid{display:block}.r-task-form .field{margin-bottom:10px}.r-task-form .field:not(.full){display:grid;grid-template-columns:83px minmax(0,1fr);align-items:center}.r-task-form textarea{min-height:112px}.r-task-form .r-wide{margin:0}.r-selection-history{background:#fff;border:1px solid #ddebff;border-radius:7px;margin:0 0 12px}.r-selection-history>summary{font-size:11px;padding:10px 16px;color:#526caa}.r-selection-history .empty{padding:18px}.r-selection-tasks{padding:12px 16px}.r-selection-tasks .cardhead{padding:0 0 9px;border:0}.r-selection-tasks .empty{padding:15px}.r-selection-tasks td{padding:8px 12px}.catalogue-shell .r-flow{padding-top:0;padding-bottom:0}.catalogue-shell .r-check{min-height:25px}.catalogue-shell .r-check input{width:15px;height:15px}.catalogue-shell .cat-all-list .cat-filters{gap:5px}.catalogue-shell .cat-all-list .cat-filters select{max-width:105px}.cat-all-list .cat-filters>input{min-width:185px}.cat-all-list th,.cat-all-list td{padding:8px 7px}
@media(min-width:1400px){.catalogue-shell{grid-template-columns:264px 1fr}.catalogue-shell .sidebar{width:264px;padding:18px 10px}.catalogue-shell .navitem{font-size:12px;padding:7px 13px}.catalogue-shell .navgroup{padding-top:8px;padding-bottom:4px}.catalogue-shell .brand{padding-bottom:14px}.catalogue-shell .topbar{height:50px;padding:0 20px}.catalogue-shell .crumb{font-size:12px}.cat-completed-layout{grid-template-columns:290px minmax(0,1fr)}}
@media(max-width:1250px){.cat-completed-layout{grid-template-columns:245px minmax(0,1fr)}.cat-completed-layout .cat-two{grid-template-columns:1fr}.cat-all-layout{grid-template-columns:1.2fr 1fr}.cat-all-list .cat-filters>input{flex-basis:100%}.cat-product-item{flex-wrap:wrap}.cat-three{grid-template-columns:1fr 1fr}.cat-cardhead h2{font-size:14px}.cat-season-dates{grid-template-columns:repeat(3,1fr)}}
@media(max-width:1100px){.cat-all-layout{grid-template-columns:1fr}.r-selection-top,.r-selection-work{grid-template-columns:1fr}.cat-two{grid-template-columns:1fr}.cat-all-list .cat-filters>input{flex-basis:auto}.cat-completed-list{min-height:350px}.cat-flow>span,.catalogue-shell .r-flow>div{font-size:11px;gap:5px}}
@media(max-width:760px){.catalogue-shell .content{padding:16px}.catalogue-shell .pagehead{flex-wrap:wrap}.catalogue-shell h1{font-size:21px}.catalogue-shell .pagehead>.actions{flex-wrap:wrap}.cat-completed-layout{grid-template-columns:1fr}.cat-completed-list{min-height:0}.cat-product-list{display:flex;overflow:auto;margin:8px 0}.cat-product-item{min-width:215px}.cat-shortcuts{display:none}.cat-three{grid-template-columns:1fr}.cat-media-grid{grid-template-columns:repeat(2,1fr)}.cat-season-grid,.cat-season-dates{grid-template-columns:repeat(2,minmax(0,1fr))}.cat-timeline{overflow:auto;gap:15px}.cat-timeline li{min-width:105px}.cat-flow,.catalogue-shell .r-flow{overflow:auto;justify-content:start;padding:8px 0}.cat-flow>span,.catalogue-shell .r-flow>div{white-space:nowrap;min-width:125px}.cat-detail-title{flex-wrap:wrap}.cat-preview-foot{flex-wrap:wrap}.cat-cardhead{flex-wrap:wrap}.r-selection-top .r-reports-main{grid-template-columns:1fr}.r-report-import button{width:auto}.cat-kv{grid-template-columns:1fr}.cat-filters select{flex:1}.catalogue-shell .table-wrap table{min-width:610px}.cat-package-save{flex-wrap:wrap}.cat-package-identity .tabs{flex-wrap:wrap}.cat-attribute{grid-template-columns:64px minmax(0,1fr) 30px}.cat-studio-assets{grid-template-columns:1fr}}
.catalogue-shell .r-selection-work .workbook-grid table{min-width:2250px}.catalogue-shell .r-selection-work .workbook-grid td{white-space:normal;min-width:120px;line-height:1.5}.catalogue-shell .r-selection-work .workbook-grid td:nth-child(2){min-width:200px}.catalogue-shell .r-selection-work .workbook-grid td:nth-child(6){min-width:300px}.catalogue-shell .r-selection-work .workbook-grid td:last-child{min-width:400px}.catalogue-shell .r-selection-work .workbook-grid .linkbtn{display:inline;font-size:11px;padding:0 6px}.r-selection-work #r-analysis-choice{max-width:260px;border:1px solid #d4e1fc;border-radius:4px;padding:6px 8px;color:#435d99;background:white;font-size:11px}.r-selection-work .r-search-label input{border:1px solid #d4e1fc;border-radius:4px;padding:6px 10px;font:inherit}
.catalogue-shell .r-flow .r-flow-label{background:none;color:inherit;border-radius:0;width:auto;height:auto;display:inline;font-size:12px;white-space:nowrap;flex:initial;line-height:1.5}.cat-all-list .cat-filters>input[type=search]{border:1px solid #d4def6}.catalogue-shell .r-selection-work .workbook-grid tbody td{height:45px;padding:5px 10px}

.registration-basic .field:not(.full),.registration-market .field:not(.full){display:grid;grid-template-columns:80px minmax(0,1fr);align-items:center}.registration-basic .field label,.registration-market .field label{font-size:11px}.registration-basic .formgrid,.registration-market .formgrid{gap:8px 12px}.cat-profit-box .field{margin-top:8px}.cat-profit-box .field label{display:none}.cat-season-grid .field:not(:last-child){display:grid;grid-template-columns:80px minmax(0,1fr);align-items:center}.cat-timeline{padding-top:9px;padding-bottom:9px}@media(max-width:760px){.registration-basic .field:not(.full),.registration-market .field:not(.full),.cat-season-grid .field:not(:last-child){display:flex}}
.cat-product-search,.cat-filters>input,.cat-filters>select{border:1px solid #d4def6}.cat-preview-identity .cat-cardhead{margin-bottom:8px}.cat-all-list .cat-filters>input{font-size:11px}.cat-media-grid figcaption{word-break:break-word}.cat-media-grid figcaption a{white-space:nowrap}
.catalogue-shell .r-selection-work .workbook-grid td{white-space:nowrap;max-width:400px;overflow:hidden;text-overflow:ellipsis;height:33px;line-height:1.4}.catalogue-shell .r-selection-work .workbook-grid td:nth-child(6){max-width:300px}.catalogue-shell .r-selection-work .workbook-grid table{table-layout:fixed}.catalogue-shell .r-selection-work .workbook-grid th:first-child{width:40px}.catalogue-shell .r-selection-work .workbook-grid th:nth-child(2){width:210px}.catalogue-shell .r-selection-work .workbook-grid th:nth-child(6){width:300px}.catalogue-shell .r-selection-work .workbook-grid th:last-child{width:400px}.cat-attribute{margin:3px 0}.cat-attribute input,.cat-attribute textarea{min-height:29px;padding:4px 7px}.cat-package-identity{padding-top:12px}.cat-preview-identity{padding-bottom:8px}.cat-media-grid img,.cat-media-grid video{height:80px}.cat-package-save{margin-bottom:9px}.cat-completed-layout .cat-cardhead{margin-bottom:8px}
.catalogue-shell .content{padding-top:12px}.catalogue-shell .pagehead{margin-bottom:10px}.catalogue-shell .pagehead h1{line-height:1.2}.catalogue-shell .pagehead p{line-height:1.5}.cat-detail-title h2{font-size:17px}

.selection-shell .pagehead>div:first-child{display:flex;align-items:center;gap:24px}.selection-shell .pagehead p{margin:0}.r-task-bottom{display:grid;grid-template-columns:1fr 1fr;gap:12px}.r-task-form .r-task-bottom .field{grid-template-columns:42px minmax(0,1fr)}@media(max-width:760px){.selection-shell .pagehead>div:first-child{display:block}.selection-shell .pagehead p{margin-top:6px}.r-task-bottom{grid-template-columns:1fr}}
#cat-product-status{width:100%;padding:7px 10px;border:1px solid #d4def6;border-radius:5px;background:white;color:#19316c;margin-top:8px;font-size:11px}
.registration-basic .cat-profit-box .field{display:block}.registration-basic .cat-profit-box .field select{width:100%}.cat-registration-table td{padding:6px 8px}.cat-registration-table .cat-thumb,.cat-registration-table .cat-thumb-none{height:34px;width:34px;flex-basis:34px}.cat-registration-table .cat-cardhead{margin-bottom:6px}.cat-registration-table .cat-filters{margin:8px 0}.cat-registration-table .small{margin:7px 0 0}.registration-market .field.full textarea{min-height:56px}.cat-card .cat-kv dd{min-width:0}
/* V0.5: competitor research, product centre and batch image production */
.biz-source-line{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.biz-source-line>.field{flex:1;min-width:210px}.biz-source-line p{color:#6b80b1;font-size:11px}.biz-deep-inputs{display:grid;grid-template-columns:1.4fr 1fr;gap:12px}.biz-report-row{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #ddebff;border-radius:6px;margin:8px 0}.biz-report-row strong{flex:1;font-size:11px}.biz-report-row span{color:#7b8eb7;font-size:11px}.biz-settings-line{display:flex;align-items:end;gap:20px}.biz-settings-line>.field{flex:1;min-width:190px}.biz-settings-line>button{white-space:nowrap}.biz-settings-line>.primary{padding:8px 20px}.biz-result-footer{display:flex;justify-content:flex-end;gap:12px;margin:0 0 16px}.biz-summary{background:#edf8ff;padding:10px;color:#46619a;font-size:11px;white-space:pre-wrap}.biz-product-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:12px;align-items:start}.biz-product-sidebar{min-height:700px}.biz-product-filters{margin-top:10px;gap:8px}.biz-product-filters select{min-width:0;width:100%;padding:6px;border:1px solid #d6e2fc;border-radius:4px;color:#283d7b;background:white;font-size:11px}.biz-product-main{display:grid;grid-template-columns:1.5fr 1fr;gap:12px}.biz-attribute-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.biz-attribute-grid .field textarea{resize:vertical;min-height:55px}.biz-attribute-grid>div{position:relative}.biz-attribute-grid>div>.linkbtn{position:absolute;right:36px;top:0;font-size:11px;padding:0}.biz-attribute-grid .cat-field-head>.linkbtn{padding:0;font-size:11px}.biz-attribute-grid .cat-field-head{padding-right:5px}.biz-attribute-grid label{padding-right:42px}.biz-product-main .note{font-size:11px;padding:7px;margin:10px 0 0}.biz-product-main .field textarea{width:100%;min-width:0}.biz-product-main .cat-card{overflow:visible}.biz-product-main .field.full{grid-column:1/-1}.biz-product-main>section:last-child textarea{min-height:240px}.biz-generation-links{display:flex;gap:12px;flex-wrap:wrap}.biz-analysis-reference{font-size:11px;color:#7c6833}.biz-material-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.biz-material-card{border:1px solid #ddebff;border-radius:5px;overflow:hidden;min-width:0;background:white;padding-bottom:8px}.biz-material-card>img,.biz-material-card>video{width:100%;height:110px;object-fit:contain;background:#f5f9ff}.biz-material-name{display:flex;justify-content:space-between;gap:6px;font-size:11px;padding:5px 7px;align-items:start}.biz-material-name strong{min-width:0;overflow-wrap:anywhere;font-weight:550}.biz-material-name .badge{font-size:10px;padding:2px 4px;flex:0 0 auto;max-width:95px}.biz-material-card>.small{margin:0;padding:0 7px;overflow-wrap:anywhere;font-size:10px;min-height:17px}.biz-material-card .row-actions{padding:0 5px;gap:6px;flex-wrap:wrap;font-size:11px}.biz-material-card .row-actions .linkbtn{padding:1px 2px;font-size:11px}.biz-material-card .row-actions label{font-size:10px}.biz-material-card .row-actions input{width:13px;height:13px;accent-color:#0055ff}.biz-preview-image{width:100%;max-height:70vh;object-fit:contain;background:#f5f8fd}.biz-product-layout .tabs{flex-wrap:wrap;gap:8px}.biz-product-layout .tab{padding:5px 8px;font-size:11px}.biz-images-layout{display:grid;grid-template-columns:330px minmax(0,1fr);gap:12px;align-items:start}.biz-image-settings .field{margin-bottom:10px}.biz-image-settings .cat-preview-identity{margin-top:12px}.biz-image-settings .cat-card{padding:10px;background:#f7fcff}.biz-image-settings .cat-card h2{font-size:12px}.biz-image-settings .cat-card .actions .linkbtn{font-size:10px}.biz-image-settings textarea{min-height:75px}.biz-counts{margin:14px 0}.biz-counts label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:6px 0;color:#203972;font-size:11px}.biz-counts input{width:90px;padding:3px 8px;border:1px solid #d6e4fb;border-radius:4px;color:#0055ff;background:white}.biz-counts>p{text-align:right;background:#e9f7ff;margin:8px 0;padding:4px;color:#0055ff;font-size:11px}.biz-reference-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.biz-reference-grid .biz-material-name{display:block}.biz-reference-grid .biz-material-card>img{height:100px}.biz-reference-grid .biz-material-card>.small{display:none}.biz-image-flow{display:flex;justify-content:space-between;gap:8px;padding:10px 0}.biz-image-flow span{display:flex;align-items:center;gap:8px;font-size:11px;color:#263d75}.biz-image-flow b{width:28px;height:28px;background:#dfedf8;border-radius:50%;display:grid;place-items:center;color:#0055ff}.biz-images-layout progress{width:100%;height:14px;accent-color:#10b784}.biz-images-layout .cat-card>p{margin:7px 0;font-size:11px;color:#536b9b}.biz-result-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.biz-image-result{border:1px solid #ddecff;border-radius:5px;overflow:hidden}.biz-image-result>img{width:100%;height:150px;object-fit:contain;background:#f5f9fe}.biz-image-result>.cat-empty{height:150px;display:grid;place-items:center;padding:15px;font-size:11px}.biz-image-result>.small{font-size:10px;padding:0 8px}.biz-image-result .row-actions{padding:3px 7px 8px;gap:10px;flex-wrap:wrap}.biz-image-result .linkbtn{font-size:11px;padding:2px 0}.biz-result-gallery .biz-material-name{padding:5px 7px;font-size:11px}.biz-result-gallery .badge{font-size:10px}.biz-images-layout .cat-cardhead select{padding:5px 8px;border:1px solid #d3e2f8;border-radius:4px;background:white;color:#284175;font-size:11px}input[data-deep-asin]{width:17px;height:17px;accent-color:#0055ff}.biz-product-layout .cat-cardhead{flex-wrap:wrap}.biz-product-main .cat-cardhead .actions{gap:5px}.biz-product-layout>.cat-card{position:sticky;top:10px}.biz-deep-inputs .table-wrap{max-height:275px}#biz-deep-result .tabs{gap:6px;flex-wrap:wrap}#biz-deep-result .tab{font-size:11px;padding:7px 8px}#biz-deep-result .field textarea{font-size:11px;color:#314d8a}.biz-image-settings .r-wide{padding:9px 12px}
@media(max-width:1250px){.biz-product-layout{grid-template-columns:245px minmax(0,1fr)}.biz-product-main{grid-template-columns:1fr}.biz-material-grid,.biz-result-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.biz-image-flow{flex-wrap:wrap}.biz-settings-line{flex-wrap:wrap;gap:10px}.biz-product-main>section:last-child textarea{min-height:150px}}
@media(max-width:1050px){.biz-deep-inputs{grid-template-columns:1fr}.biz-images-layout{grid-template-columns:300px minmax(0,1fr)}.biz-result-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.biz-product-layout{grid-template-columns:1fr}.biz-product-layout>.cat-card{min-height:0;position:static}.biz-product-sidebar .cat-product-list{display:flex;overflow:auto}.biz-product-sidebar .cat-product-item{min-width:230px}.biz-product-sidebar .cat-shortcuts{display:none}}
@media(max-width:760px){.biz-images-layout{grid-template-columns:1fr}.biz-settings-line>.field{min-width:0;flex-basis:100%}.biz-attribute-grid{grid-template-columns:1fr}.biz-material-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.biz-result-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.biz-result-footer{flex-wrap:wrap;justify-content:start}.biz-source-line>.field{min-width:0;flex-basis:100%}.biz-product-main>section:last-child textarea{min-height:140px}.biz-report-row{flex-wrap:wrap}.biz-images-layout>.card{min-width:0}.biz-image-flow span{font-size:10px}.biz-image-result>img{height:130px}.biz-image-result .biz-material-name{display:block}.biz-product-sidebar .cat-product-item{flex-wrap:nowrap}.biz-generation-links button{flex:1}.biz-product-main .cat-cardhead h2{font-size:14px}}

.biz-all-products{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:12px;align-items:start}.biz-all-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.biz-all-filters input,.biz-all-filters select{padding:8px;border:1px solid var(--border);border-radius:5px;max-width:100%}.biz-all-filters input{flex:1;min-width:200px}.biz-preview-attribute{border-bottom:1px solid var(--border);padding:8px 0}.biz-preview-attribute p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;margin:5px 0;color:#52678e}.biz-all-products .cat-pagination{flex-wrap:wrap}.biz-all-products td{padding:10px}.biz-all-products .cat-thumb{width:48px;height:48px}.biz-all-products .namecell small{display:block}@media(max-width:1100px){.biz-all-products{grid-template-columns:1fr}}

.biz-product-layout>div>.cat-card:first-child{position:relative;padding-top:18px}.biz-product-layout>div>.cat-card:first-child>.cat-cardhead{position:absolute;right:16px;top:12px;margin:0}.biz-product-layout>div>.cat-card:first-child>.cat-cardhead h2{display:none}.biz-product-layout>div>.cat-card:first-child .cat-preview-identity{padding-right:280px;min-height:82px}.biz-product-layout>div>.cat-card:first-child .biz-source-line{margin-top:6px}.biz-product-layout>div>.cat-card:first-child .biz-source-line>.field{display:flex;flex-direction:row;align-items:center;gap:10px}.biz-product-layout>div>.cat-card:first-child .biz-source-line label{flex:0 0 auto}.biz-product-layout>div>.cat-card:first-child .biz-source-line select{min-width:0;width:100%}.biz-deep-inputs .cat-card{padding:14px 16px}.biz-deep-inputs th,.biz-deep-inputs td{padding:9px 12px}.biz-deep-inputs .biz-report-row{padding:9px 10px}.biz-deep-settings{display:grid;grid-template-columns:100px minmax(0,1fr);column-gap:16px;align-items:center;padding:12px 16px}.biz-deep-settings>.cat-cardhead{margin:0}.biz-deep-settings>p{grid-column:2;margin:6px 0 0}.biz-deep-settings .field{gap:3px}.biz-deep-settings .field label{font-size:11px}.biz-deep-inputs+.biz-deep-settings{margin-bottom:12px}.biz-deep-inputs .cat-cardhead{margin-bottom:8px}.biz-deep-inputs p{margin:8px 0 0}.biz-deep-settings .biz-settings-line{gap:12px}@media(max-width:1000px){.biz-product-layout>div>.cat-card:first-child>.cat-cardhead{position:static;margin-bottom:12px}.biz-product-layout>div>.cat-card:first-child .cat-preview-identity{padding-right:0}.biz-deep-settings{display:block}.biz-deep-settings>.cat-cardhead{margin-bottom:8px}}

.biz-deep-source .biz-source-line>.field{display:flex;flex-direction:row;align-items:center;gap:10px}.biz-deep-source .biz-source-line label{flex:0 0 auto}.biz-deep-source .biz-source-line select{min-width:0;width:100%}.biz-deep-source .cat-cardhead{margin-bottom:8px}.biz-deep-inputs td,.biz-deep-inputs th{line-height:1.2;padding:7px 12px}.biz-deep-inputs input[type=checkbox]{width:17px;height:17px;margin:0}.biz-deep-settings .field{display:flex;flex-direction:row;align-items:center;gap:10px}.biz-deep-settings .field label{flex:0 0 auto}.biz-deep-settings .field select{min-width:0;width:100%}.biz-deep-settings>p{margin:3px 0 0}.biz-deep-settings .cat-cardhead h2{font-size:14px}@media(max-width:760px){.biz-deep-source .biz-source-line>.field,.biz-deep-settings .field{flex-direction:column;align-items:stretch}.biz-deep-source .biz-source-line>.field{width:100%}}

.biz-image-settings .field{margin-bottom:7px}.biz-image-settings details summary{padding:6px 0}.biz-image-settings .cat-preview-identity{margin-top:8px}.biz-counts{margin:8px 0}.biz-counts label{margin:4px 0}#biz-deep-result h3{margin:10px 0 4px}#biz-deep-result .biz-summary{margin:6px 0}.biz-deep-source button,.biz-deep-inputs button{padding:6px 12px}

#biz-deep-result>.cat-two{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr)}@media(max-width:1050px){#biz-deep-result>.cat-two{grid-template-columns:1fr}}

/* Uploaded libraries are visible before activation; prerequisites stay explicit. */
.r-library-status{padding:9px 10px;margin:10px 0;border:1px solid #dce8fb;border-radius:6px;background:#f4f9ff;color:#53678e;font-size:11px;overflow-wrap:anywhere}.r-library-status p{margin:3px 0}.r-library-status .row-actions{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px}.r-library-status .linkbtn{font-size:11px;padding:4px 5px}.biz-deep-settings>.r-library-status{grid-column:2}.biz-image-settings .r-library-status{font-size:11px}.r-compact-settings select{width:100%;min-width:0}@media(max-width:1000px){.biz-deep-settings>.r-library-status{grid-column:auto}}
/* Compact type scale requested on 2026-10-09; browser zoom stays unchanged. */
#app .layout h1{font-size:22px;line-height:1.25}

/* Candidate images and task-linked records, compact trial layout. */
.candidate-photo-previews{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}
.candidate-photo-previews>div{display:flex;flex-direction:column;align-items:center}
.candidate-photo-previews .cat-thumb{width:76px;height:76px;object-fit:contain;border:1px solid #dce8f6;border-radius:6px;background:#fff}
.candidate-photo-field{padding:10px;border:1px dashed #c7d9f2;border-radius:8px;background:#f8fbff}
.r-task-details{margin-bottom:18px}.r-task-details .cardbody{display:grid;gap:12px}.r-task-details h3{margin:0}
.r-model-library td{vertical-align:top}.r-model-library td:nth-child(3){max-width:230px;overflow-wrap:anywhere}.r-model-library .row-actions{flex-wrap:wrap}.r-model-library .r-error{max-width:260px}
.r-task-form small[data-task-files-note]{overflow-wrap:anywhere}
.selection-flow{display:flex;gap:14px;list-style:none;padding:14px 0 18px;margin:0}.selection-flow li{flex:1;display:flex;align-items:center;gap:9px;color:#95a0b5;font-size:12px}.selection-flow li:not(:last-child):after{content:'→';margin-left:auto;color:#b9c7df}.selection-flow li>span{display:grid;place-items:center;flex:0 0 26px;height:26px;border-radius:50%;background:#edf1f6;font-weight:700}.selection-flow li.active{color:#0055ff;font-weight:600}.selection-flow li.active>span{color:white;background:#0055ff}.selection-flow li.done{color:#8290a3}.selection-flow li.done>span{color:#6f819a;background:#e2e9f1}.selection-card{margin-bottom:14px}.selection-card .cardhead{padding:13px 16px}.selection-card .cardhead p{margin:4px 0 0}.selection-card .cardbody{padding:14px 16px}.selection-import-settings{display:grid;grid-template-columns:180px 180px;gap:12px;margin-bottom:12px}.selection-drop{border:1px dashed #bac8df;border-radius:6px;padding:15px;text-align:center;background:#fafcff;margin-bottom:12px;transition:background .15s,border-color .15s}.selection-drop strong,.selection-drop>span{display:block}.selection-drop>span{font-size:11px;color:#8792a7;margin:5px 0 9px}.selection-drop button{background:#fff;color:#425575;border-color:#d8e0ea}.selection-drop.drag-over{background:#e8f3ff;border-color:#0055ff;box-shadow:0 0 0 2px #d1e7ff inset}.selection-drop[aria-disabled=true]{opacity:.6}.selection-errors,.selection-field-error{color:#cc3c3c;font-size:11px;display:block;line-height:1.6}.selection-errors{margin:10px 0;padding-left:18px}.selection-model-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.selection-filter-row{display:grid;grid-template-columns:1fr;gap:10px;margin-top:12px}.selection-filter-row>.full{grid-column:1/-1}.selection-analysis-foot,.selection-task-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px}.selection-analysis-foot .primary,.selection-task-foot .primary{min-width:180px}.selection-excel{display:block;margin-top:16px;padding:14px;border:1px solid #e0e6ee;background:#f7f9fc;border-radius:6px}.selection-excel .workbook-grid{background:#f7f9fc}.selection-excel .keyword-link{display:inline-block;min-height:24px;padding:4px 8px;color:#0055ff;border-radius:4px;background:#eaf2ff}.selection-excel .keyword-link:hover{background:#dceaff}.selection-task-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}.selection-task-column{min-width:0}.selection-task-column h3{font-size:12px;margin:0 0 12px;color:#53627e}.selection-task-column .field:not(.full){display:block}.selection-task-column .field label{display:block;margin-bottom:5px}.selection-task-column .selection-drop{margin-bottom:8px}.selection-task-column textarea{min-height:112px}.selection-task-metadata{display:grid;grid-template-columns:1fr 1fr;gap:12px}.selection-staged{display:flex;gap:8px;align-items:center;justify-content:space-between;margin:4px 0;font-size:11px;overflow-wrap:anywhere}.selection-card input,.selection-card select,.selection-card textarea{background:white}.selection-card .button-link{background:#fff;color:#50627e;border-color:#d8e0ea}.selection-card .linkbtn{color:#52627c}.selection-card .linkbtn.danger{color:#c35050}.selection-card .r-library-status{background:#f7f9fc;border-color:#e1e7ef}.selection-card .r-task-form details{margin-bottom:12px}.selection-card .r-task-form details summary{font-size:11px;color:#7e8a9f}.selection-card .table-wrap td{padding:9px 10px}.selection-card .badge.red{background:#fff0f0;color:#bd3939}@media(max-width:760px){.selection-flow{overflow:auto}.selection-flow li{min-width:145px}.selection-task-columns,.selection-model-row,.selection-filter-row{grid-template-columns:1fr}.selection-import-settings{grid-template-columns:1fr 1fr}.selection-analysis-foot,.selection-task-foot{align-items:stretch;flex-direction:column}.selection-excel{padding:8px}.selection-task-columns{gap:12px}}
.r-model-library table{min-width:0;width:100%;table-layout:fixed}.r-model-library th,.r-model-library td{white-space:normal;overflow-wrap:anywhere}.r-model-library th:nth-child(1){width:19%}.r-model-library th:nth-child(2){width:16%}.r-model-library th:nth-child(3){width:20%}.r-model-library th:nth-child(4){width:13%}.r-model-library th:nth-child(5){width:18%}.r-model-library th:nth-child(6){width:14%}.r-model-library .badge{white-space:normal}.r-model-library .row-actions{gap:5px}
.registration-task-row{display:flex!important;flex-direction:row;align-items:flex-end;gap:10px}.registration-task-row>.field{flex:1;min-width:0}.registration-task-row>button{margin-bottom:2px;white-space:nowrap}.registration-form>.small{margin:0}.registration-tags{display:flex;gap:7px;flex-wrap:wrap}.registration-tags label{position:relative;display:flex;cursor:pointer}.registration-tags input{width:14px;margin-right:4px}.registration-tags span{border:1px solid #dce8f6;border-radius:5px;padding:4px 10px;background:#f5f9fd}.registration-tags input:checked+span{color:#0055ff;background:#e4f1ff;border-color:#78b1ff}.registration-plan-text{display:block;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.registration-filter-multi{position:relative;min-width:145px;border:1px solid #d4def6;border-radius:5px;padding:6px 9px;background:#fff}.registration-filter-multi summary{cursor:pointer;white-space:nowrap}.registration-filter-multi>div{position:absolute;z-index:12;top:100%;left:0;min-width:170px;background:#fff;border:1px solid #d4def6;box-shadow:0 6px 20px #143b641a;border-radius:5px;padding:9px;max-height:260px;overflow:auto}.registration-filter-multi>div>label{display:flex;gap:6px;align-items:center;margin-bottom:6px}.registration-filter-multi input{width:14px}.registration-extra-filters{align-items:start}.candidate-photo-field.drag-over{border-color:#0055ff;background:#e3f0ff}.badge.pink{background:#ffe2eb;color:#ad245d}.badge.blue{background:#e2f0ff;color:#0055ff}.registration-form .field{min-width:0}.registration-form input,.registration-form select{width:100%}.registration-form .registration-tags input{width:14px}.registration-form .candidate-photo-field input[type=file]{max-width:100%}.registration-form .candidate-photo-field small{display:block;margin-top:7px}.registration-form .candidate-photo-previews{max-height:180px;overflow:auto}.registration-form .candidate-photo-previews a{display:block}
/* Shared workbook preview and editable registration report snapshots. */
.table-preview-dialog{width:min(1260px,96vw);max-width:96vw}.table-preview-toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.table-preview-toolbar label{display:grid;gap:5px}.table-preview-grid{max-height:62vh;overflow:auto;background:#f7f9fc;margin-top:14px}.table-preview-grid th{position:sticky;top:0;background:#eef4fc;z-index:1}.table-preview-grid th input{display:block;min-width:100px;margin-top:5px}.table-preview-grid td{white-space:pre-wrap;min-width:110px;max-width:360px}.selection-analysis-progress{margin-top:12px;background:#f3f8ff;padding:12px;border-radius:6px}.selection-analysis-progress progress{width:100%;accent-color:#165dff}.registration-report-section{padding:12px;background:#f7fbff;border:1px solid #d8e7ff;border-radius:6px}.registration-report-preview{white-space:pre-wrap;overflow-wrap:anywhere;max-height:280px;overflow:auto;font:inherit;background:#f5f7fa;padding:10px}.registration-link-preview{display:grid;gap:6px;overflow-wrap:anywhere}.registration-report-section .cat-file{gap:8px}.registration-report-section .selection-dropzone.dragover{background:#e8f2ff;border-color:#165dff}

#registration-links-warning:empty{display:none}.registration-form>.registration-report-section{gap:10px}@media(max-width:520px){.registration-task-row{flex-direction:column;align-items:stretch}.registration-task-row>.field{width:100%}}

.selection-dropzone{display:block;border:1px dashed #b8c9e5;border-radius:6px;padding:12px;background:#fafcff;transition:background .15s,border-color .15s}.selection-dropzone input[type=file]{display:block;margin-top:8px;background:white}.selection-dropzone.dragover{border-color:#0055ff;background:#e5f1ff}.registration-form>.candidate-photo-field{border:1px dashed #b8c9e5;border-radius:6px;padding:12px;background:#fafcff}.registration-form>.candidate-photo-field.drag-over{border-color:#0055ff;background:#e5f1ff}

/* Stable drawer DOM allows close/open transitions without resetting the list. */
.cat-all-layout{--preview-width:clamp(320px,42%,560px);grid-template-columns:minmax(0,1fr) minmax(0,0px);gap:0;transition:grid-template-columns .28s ease,gap .28s ease;overflow:hidden}.cat-all-layout.preview-open{grid-template-columns:minmax(0,1fr) minmax(0,var(--preview-width));gap:12px}.cat-all-list{min-width:0}.cat-preview-drawer{min-width:0;overflow:hidden;opacity:0;transform:translateX(28px);visibility:hidden;pointer-events:none;transition:opacity .28s ease,transform .28s ease,visibility .28s}.preview-open>.cat-preview-drawer{opacity:1;transform:translateX(0);visibility:visible;pointer-events:auto}.cat-preview-drawer>.cat-preview{min-width:310px;margin:0}.cat-all-list>.cat-filters{flex-wrap:wrap}.cat-preview-drawer .cat-card{overflow-wrap:anywhere}
.deep-report-window{padding:12px;border:1px solid #dce7f6;border-radius:7px;margin-bottom:12px;background:#fafcff}.deep-report-controls{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:10px}.deep-report-controls label{display:grid;gap:5px;font-size:11px;min-width:0}.deep-report-controls input,.deep-report-controls select{width:100%;border:1px solid #d4def6;border-radius:5px;padding:7px;background:white;font-size:11px}.deep-field-options{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0}.deep-field-options label{font-size:11px}.deep-subset-table{max-height:230px;overflow:auto;margin-top:10px}.deep-result-output{max-height:560px;min-height:180px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;background:#f6f9ff;border:1px solid #dce7f6;border-radius:6px;font:12px/1.8 system-ui,sans-serif}.deep-result-editor{margin-top:12px}.deep-result-editor>summary{cursor:pointer;padding:12px}.deep-report-window input[type=checkbox]{width:14px}.biz-deep-settings+ #deep-result-panel{scroll-margin-top:20px}
@media(max-width:760px){.deep-report-controls{grid-template-columns:1fr 1fr}.cat-all-layout,.cat-all-layout.preview-open{grid-template-columns:minmax(0,1fr);gap:0}.cat-preview-drawer{position:fixed;right:10px;top:70px;bottom:10px;width:calc(100vw - 20px);z-index:35;overflow:auto;background:white;border:1px solid #dce7f6;box-shadow:0 8px 40px #173b6f38;border-radius:8px;transform:translateX(100%)}.preview-open>.cat-preview-drawer{transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){.cat-all-layout,.cat-preview-drawer{transition:none}}

/* Remove the closed drawer from layout after the exit animation. */
.cat-preview-drawer[hidden]{display:none!important}

/* Shared single-attachment card for selection, registration and deep analysis. */
.xiyou-box{padding:14px;background:#fff;border:1px solid #d9e7fa;border-radius:8px;margin:10px 0;min-width:0}.xiyou-file-card{display:flex;align-items:center;gap:12px;padding:12px;background:#f5f9fe;border:1px solid #e1ebf8;border-radius:6px;flex-wrap:wrap}.xiyou-excel-icon{width:36px;height:42px;display:grid;place-items:center;flex:0 0 36px;background:#098b53;color:white;border-radius:4px;font-size:22px;font-weight:700}.xiyou-file-info{min-width:0;flex:1 1 180px}.xiyou-file-info strong{display:block;font-size:12px;overflow-wrap:anywhere;white-space:normal}.xiyou-file-info small{display:block;color:#7384a8;margin-top:5px}.xiyou-file-card .row-actions{flex-wrap:wrap;justify-content:flex-end}.xiyou-drop{border:1px dashed #98b8ed;border-radius:6px;min-height:96px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:#f8fbff;text-align:center;padding:12px}.xiyou-drop small{color:#7082a7}.xiyou-box.drag-over{border-color:#0055ff;background:#e9f3ff}.xiyou-box .xiyou-error:empty{display:none}.xiyou-box h3{margin:0;font-size:13px}.xiyou-box>.cat-cardhead{margin-bottom:10px}

.biz-material-card .biz-material-preview{display:block;width:100%;height:140px;padding:0;border:0;border-radius:0;background:#f5faff;cursor:zoom-in}.biz-material-card .biz-material-preview img{display:block;width:100%;height:100%;object-fit:contain}#b-basicInfoText{width:100%;min-height:300px;resize:vertical;line-height:1.7}

/* 页面内容安全策略不允许行内 style，这里放弹窗/表格需要的样式 */
.sent-text{white-space:pre-wrap;max-height:60vh;overflow:auto}
.lx-result{white-space:normal;word-break:break-word;min-width:220px;max-width:420px}

/* 品牌视觉VI：实测色块与“从另一个产品复制” */
.bp-palette{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 4px}
.bp-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 10px 4px 4px;border:1px solid var(--border);border-radius:999px;background:#fff}
.bp-swatch{width:24px;height:24px;display:block}
.bp-chip b{font-variant-numeric:tabular-nums;font-size:13px}
.bp-chip small{color:var(--muted)}
.bp-copyfrom{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:6px 0}
.bp-form>.bp-copyblock{grid-column:1/-1}
.bp-copyblock summary{cursor:pointer;font-size:13px;color:#4c5b6d}
.biz-pipeline{border:1px solid var(--border);border-radius:10px;padding:10px 12px;margin:0 0 12px;display:grid;gap:6px}.biz-pipeline legend{font-size:12px;font-weight:600;padding:0 6px}
.biz-participation{border:1px solid var(--border);border-radius:10px;padding:10px 12px;background:#f9fbff;margin:4px 0 12px}.biz-participation h3{margin:0 0 6px;font-size:13px}.biz-participation ul{list-style:none;margin:0;padding:0;display:grid;gap:4px}.biz-participation li{font-size:12px;line-height:1.5}.biz-participation li b{display:inline-block;min-width:54px;font-size:11px;padding:1px 6px;border-radius:5px;text-align:center}.biz-participation li.on b{background:#e6f6ee;color:#28966c}.biz-participation li.off b{background:#eef0f4;color:#7c879c}.biz-participation li.off{color:#7c879c}
.biz-ref-source{margin:2px 0 0}.biz-plan-item{margin:6px 0}.biz-plan-item summary{cursor:pointer;font-size:12px;color:#4c5b6d}.biz-plan-item .sent-text{max-height:180px;overflow:auto;font-size:11px}.biz-checks{margin:4px 0}
.biz-image-flow span.current b{background:#0055ff;color:#fff}.biz-image-flow span.done b{background:#e6f6ee;color:#28966c}
/* V0.29.0 多图并发：逐条任务编辑与任务列表（只新增，不改动原有布局） */
.biz-task-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:6px 0}.biz-task-upload{display:grid;gap:4px;font-size:12px;color:#4c5b6d}
.biz-task-list{display:grid;gap:10px;margin:8px 0}.biz-task-row{border:1px solid var(--border);border-radius:10px;padding:10px;background:#fff;display:grid;gap:8px}
.biz-task-row header{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.biz-task-row header input{flex:1 1 100%;min-width:0}.biz-task-row textarea{width:100%;resize:vertical}
.biz-task-refs{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:6px;margin-top:6px}
.biz-task-ref{position:relative;display:grid;gap:3px;border:1px solid var(--border);border-radius:8px;padding:4px;font-size:11px;cursor:pointer}.biz-task-ref.on{border-color:var(--blue);background:#f2f6ff}
.biz-task-ref img{width:100%;height:64px;object-fit:contain;background:#f5f7fb;border-radius:6px}.biz-task-ref span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.biz-task-ref input[type=checkbox]{position:absolute;top:6px;left:6px}.biz-task-ref select{font-size:11px;width:100%}
.biz-task-params{display:grid;grid-template-columns:1fr;gap:6px}.biz-task-param{display:grid;gap:2px;font-size:11px}
.biz-cap{margin-top:12px;padding-top:10px;border-top:1px solid var(--border)}.biz-cap-line{display:flex;gap:8px;align-items:center}.biz-cap-line input{width:90px}
.biz-task-thumb{width:44px;height:44px;object-fit:cover;border-radius:6px;background:#f5f7fb;display:block}
.biz-task-table{max-height:440px}.biz-task-table table{width:100%;table-layout:fixed}.biz-task-table th:nth-child(1){width:30px}.biz-task-table th:nth-child(2){width:62px}.biz-task-table th:nth-child(4){width:72px}.biz-task-table th:nth-child(5){width:108px}.biz-task-table th:nth-child(6){width:150px}.biz-task-table td{word-break:break-word;overflow-wrap:anywhere}.biz-task-table .row-actions{flex-wrap:wrap;margin:0}.biz-task-table td{vertical-align:middle}.biz-task-progress progress{width:90px;display:block}.biz-task-progress small{color:var(--muted)}
.biz-task-line.status-failed td{background:rgba(255,59,48,.07)}.biz-task-line.status-failed strong{color:#b84141}.biz-task-line.status-cancelled td{color:var(--muted)}
.biz-task-table p{white-space:normal;margin:4px 0 0;max-width:100%}.biz-task-table td,.biz-task-table th{overflow:hidden}
.cat-refresh-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:12px}
.deep-stream-state{margin:10px 0 4px}
.deep-state{display:inline-block;padding:3px 12px;border-radius:980px;font-size:13px;font-weight:600;background:var(--apple-soft,#f2f2f7);color:var(--apple-ink,#1d1d1f)}
.deep-state-streaming,.deep-state-retrying{background:#e8f1ff;color:#0a58c8}.deep-state-complete{background:#e6f6ea;color:#1a7f37}.deep-state-timeout-failed,.deep-state-failed{background:#fdeaea;color:#c62828}.deep-state-cancelled{background:#f2f2f7;color:#6e6e73}
.deep-live-box{margin:10px 0}
.deep-live-text{margin:6px 0 0;max-height:420px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;padding:12px 14px;border-radius:12px;background:var(--apple-soft,#f5f5f7);font:13px/1.6 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif}
.deep-request-log{margin:10px 0}.deep-request-log table{width:100%;font-size:13px}
.deep-request-log td{overflow-wrap:anywhere;vertical-align:top}
dialog.big-editor{width:min(1080px,calc(100vw - 48px));height:min(86vh,860px);max-height:none;display:flex;flex-direction:column}
dialog.big-editor[open]{display:flex}
dialog.big-editor form{display:flex;flex-direction:column;flex:1;min-height:0}
dialog.big-editor .modalbody{flex:1;min-height:0;display:flex;flex-direction:column;gap:10px}
dialog.big-editor .big-editor-text{flex:1;min-height:320px;width:100%;box-sizing:border-box;resize:none;font:15px/1.75 -apple-system,BlinkMacSystemFont,"PingFang SC","Helvetica Neue",sans-serif;padding:16px 18px;border:1px solid #d2d2d7;border-radius:14px;background:#fbfbfd;color:#1d1d1f}
dialog.big-editor .big-editor-text:focus{outline:0;border-color:#0a84ff;box-shadow:0 0 0 3px #0a84ff26;background:#fff}
dialog.big-editor .big-editor-tools{display:flex;align-items:center;justify-content:space-between;gap:12px}
dialog.big-editor .modalfoot{display:flex;justify-content:flex-end;gap:10px}
/* V0.32.0 竞品任务并入登记产品 */
.cat-legacy-tasks{margin-top:16px}.cat-legacy-tasks>summary{cursor:pointer;padding:14px 18px;list-style:none}.cat-legacy-tasks>summary::-webkit-details-marker{display:none}.cat-legacy-tasks .table-wrap{padding:0 18px 14px}
.selection-moved .cardhead{display:flex;align-items:center;justify-content:space-between;gap:16px}
.own-fill-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}.own-fill-row button{flex:none}
/* V0.33.0 完成库：主图 / A+ / 视频分区与大图预览 */
.cat-media-section+.cat-media-section{margin-top:18px}.cat-media-section h3{font-size:15px;margin:0 0 10px}.cat-media-section h3 small{color:var(--muted);font-weight:400;margin-left:6px}
.cat-media-open{display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in}.cat-media-open img{display:block;width:100%}
.cat-media-grid figcaption{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
dialog.cat-lightbox{width:100vw;height:100vh;max-width:100vw;max-height:100vh;margin:0;padding:0;border:0;border-radius:0;background:#0d1117f2;color:#fff;display:grid;grid-template-columns:72px 1fr 72px;grid-template-rows:auto 1fr auto;align-items:center;outline:none}
dialog.cat-lightbox:not([open]){display:none}dialog.cat-lightbox::backdrop{background:#000c}
.cat-lightbox .lb-top{grid-column:1/4;display:flex;gap:14px;align-items:center;padding:14px 20px;font-size:14px}.cat-lightbox .lb-name{flex:1;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cat-lightbox .lb-btn{color:#fff;background:#ffffff1f;border:1px solid #ffffff33;border-radius:8px;padding:6px 12px;text-decoration:none;font-size:13px;cursor:pointer}
.cat-lightbox .lb-img{grid-column:2;max-width:100%;max-height:calc(100vh - 130px);margin:auto;object-fit:contain;display:block}
.cat-lightbox .lb-nav{height:72px;width:52px;margin:auto;border:0;border-radius:12px;background:#ffffff1a;color:#fff;font-size:40px;line-height:1;cursor:pointer}.cat-lightbox .lb-nav:disabled{opacity:.2;cursor:default}
.cat-lightbox .lb-hint{grid-column:1/4;text-align:center;opacity:.6;font-size:12px;margin:8px 0 14px}
/* V0.33.0 领星数据接入 */
.lx-datasets{display:grid;gap:14px}.lx-dataset{border:1px solid var(--line,#e3e8ef);border-radius:12px;padding:14px 16px}.lx-ds-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.lx-ds-head h3{margin:0;font-size:15px}
.lx-ds-controls{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;margin:8px 0}.lx-ds-controls label{display:grid;gap:4px;font-size:12px;color:var(--muted)}.lx-ds-controls input,.lx-ds-controls select{min-width:150px}
.lx-dataset details{margin-top:6px}.lx-dataset details summary{cursor:pointer;font-size:13px;color:var(--muted)}
.studio-ads-settings{display:grid;gap:8px;margin-bottom:10px}
/* V0.33.1 AI图片“生成到”主图 / A+ 两个框；完成库素材库折叠区 */
.biz-image-left{display:grid;gap:16px;align-content:start;min-width:0}
.biz-dest-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.biz-dest-box{display:grid;gap:10px;text-align:left;padding:12px;border:2px solid #e3e8ef;border-radius:14px;background:#fff;cursor:pointer;min-height:120px;align-content:start}
.biz-dest-box.active{border-color:#0a84ff;background:#f2f8ff;box-shadow:0 0 0 3px #0a84ff22}
.biz-dest-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.biz-dest-head small{color:#6b7787}.biz-dest-head em{font-style:normal;font-size:12px;color:#0a6fd6;background:#e3f0ff;border-radius:999px;padding:2px 8px}
.biz-dest-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.biz-dest-thumbs img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px;background:#f2f4f7}.biz-dest-thumbs i{grid-column:1/-1;font-style:normal;font-size:12px;color:#8a95a5}
.cat-media-library{margin-top:16px}.cat-media-library summary{cursor:pointer;color:#6b7787;font-size:13px}
@media(max-width:760px){.biz-dest-grid{grid-template-columns:1fr}}
.cat-four{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}@media(max-width:1300px){.cat-four{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.cat-four{grid-template-columns:1fr}}
@media(min-width:1500px){.cat-four.completion-resources{grid-template-columns:repeat(5,minmax(0,1fr))}}
.cat-four .cat-cardhead{flex-wrap:wrap;align-items:flex-start;gap:6px}.cat-four .cat-cardhead h2{flex:1 1 100%;min-width:0;font-size:15px;line-height:1.4;white-space:normal}.cat-four .cat-cardhead h2>small{display:block!important;margin:2px 0 0!important;font-weight:400}.cat-four .cat-cardhead h2{display:block!important}.cat-four .cat-cardhead .actions{flex:1 1 100%;justify-content:flex-start}

/* V0.33.2 拖拽上传区 + 手机A+ */
.cat-drop,.biz-drop{display:flex;align-items:center;justify-content:center;min-height:56px;margin:0 0 10px;padding:10px 14px;border:2px dashed #c7d2e0;border-radius:12px;background:#f8fafc;color:var(--muted);font-size:13px;text-align:center;cursor:pointer;transition:border-color .15s,background .15s}
.cat-drop:hover,.biz-drop:hover{border-color:#0a84ff;color:#0a84ff}
.cat-drop.dragover,.biz-drop.dragover,.biz-dest-box.dragover{border-color:#0a84ff;background:#eaf3ff;color:#0a84ff}
.cat-drop.uploading,.biz-drop.uploading,.biz-dest-box.uploading{opacity:.6;pointer-events:none}
.cat-drop u,.biz-drop u{color:#0a84ff}
.biz-drop{margin-top:12px}
.biz-dest-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.biz-dest-grid .biz-dest-box{min-width:0;padding:10px;gap:8px}.biz-dest-grid .biz-dest-head{gap:4px 6px}.biz-dest-grid .biz-dest-head em{flex-basis:100%;width:max-content;max-width:100%;font-size:11px;padding:1px 6px;white-space:normal}.biz-dest-grid .biz-dest-thumbs{grid-template-columns:repeat(2,1fr)}
@media (max-width:900px){.biz-dest-grid{grid-template-columns:1fr}}
.lx-emp-form{margin-top:18px;padding-top:14px;border-top:1px solid #e3e8ef}.lx-emp-form h3{font-size:15px;margin:0 0 6px}

/* V0.33.3 产品头像编辑 */
.avatar-wrap{display:flex;flex-direction:column;align-items:center;gap:4px;flex:none}.avatar-edit-btn{font-size:12px;padding:0;white-space:nowrap}
.avatar-dialog{width:min(760px,94vw);border:0;border-radius:18px;padding:0;box-shadow:0 24px 60px #0003}.avatar-dialog::backdrop{background:#0006}.avatar-dialog.busy{opacity:.7;pointer-events:none}
.avatar-editor{padding:20px 22px;display:grid;gap:14px}.avatar-editor header,.avatar-editor footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.avatar-editor h2{font-size:18px;margin:0}.avatar-editor h3{font-size:14px;margin:0}.avatar-editor h3 small{color:var(--muted);font-weight:400;margin-left:6px}
.avatar-drop{display:flex;align-items:center;gap:20px;padding:16px;border:2px dashed #c7d2e0;border-radius:14px;background:#f8fafc;cursor:pointer}.avatar-drop.dragover{border-color:#0a84ff;background:#eaf3ff}
.avatar-drop img,.avatar-none{width:150px;height:150px;border-radius:16px;object-fit:cover;background:#fff;flex:none;display:flex;align-items:center;justify-content:center;text-align:center;color:var(--muted);font-size:13px;border:1px solid #e3e8ef}.avatar-hint{color:var(--muted);font-size:14px;line-height:1.8}.avatar-hint u{color:#0a84ff}
.avatar-pick{display:grid;grid-template-columns:repeat(auto-fill,minmax(86px,1fr));gap:10px;max-height:300px;overflow:auto}.avatar-pick button{padding:0;border:2px solid #e3e8ef;border-radius:12px;background:#fff;cursor:grab;aspect-ratio:1;overflow:hidden}.avatar-pick button.on{border-color:#0a84ff}.avatar-pick img{width:100%;height:100%;object-fit:cover;display:block}
.cat-file .small-btn{padding:4px 10px;font-size:12px;min-height:0}
.studio-two-btn{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.studio-two-btn button{width:100%}.outline-strong{background:var(--surface,#fff)!important;color:var(--accent-text,#0a84ff)!important;border:1.5px solid var(--accent,#0a84ff)!important}.outline-strong:disabled{opacity:.45}
/* V0.33.3 完成库拖拽排序 */
.cat-media-grid figure[draggable=true]{cursor:grab}.cat-media-grid figure.dragging{opacity:.4}
.cat-media-grid figure.drop-before{box-shadow:-4px 0 0 0 #0a84ff}.cat-media-grid figure.drop-after{box-shadow:4px 0 0 0 #0a84ff}
.cat-media-section.media-drop-target{outline:2px dashed #0a84ff;outline-offset:4px;border-radius:10px}
/* V0.33.3 列设置拖拽排序 */
.col-order-tip{margin:0 0 8px}.col-order-list{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:6px;max-height:60vh;overflow:auto}
.col-order-list li{display:flex;align-items:center;gap:10px;padding:6px 10px;border:1px solid #e3e8ef;border-radius:10px;background:#fff;cursor:grab}.col-order-list li.dragging{opacity:.5;border-style:dashed;border-color:#0a84ff}
.col-order-list .col-grip{color:#9aa5b4;font-size:16px;line-height:1;user-select:none}.col-order-list .r-check{flex:1;margin:0}.col-move{display:flex;gap:4px}.col-move button{min-height:0;padding:2px 8px;font-size:12px;border:1px solid #e3e8ef;border-radius:6px;background:#f8fafc;cursor:pointer}
.plan-kw{color:#0a6fd6;text-decoration:none;white-space:nowrap}.plan-kw:hover{text-decoration:underline}.plan-quick-tools{display:flex;gap:12px;align-items:center;margin:8px 0}.plan-quick-tools input[type=search]{flex:1}.plan-quick-list{max-height:50vh;overflow:auto}
.team-matrix-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.team-matrix-tools{display:flex;gap:8px}.biz-wf-count{flex-basis:100%;margin:2px 0 0}
.startup-failed{max-width:560px;margin:12vh auto;padding:24px 28px;border-radius:16px;background:#fff;box-shadow:0 10px 30px #0001;color:#1d1d1f;line-height:1.7}.startup-failed strong{font-size:18px}.startup-detail{color:#6e6e73;font-size:12px;word-break:break-all}

/* V0.38.4 批量生成结果：勾选后加入产品完成库 */
.biz-image-result{position:relative}.biz-result-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin:0 0 12px;padding:10px 12px;border:1px solid var(--line,#d9e0ee);border-radius:12px;background:var(--surface-2,#f6f8fc)}.biz-result-bar .biz-result-count b{font-size:16px}.biz-result-bar .biz-result-sep{margin-left:6px;font-weight:600}.biz-result-bar button[disabled]{opacity:.45;cursor:not-allowed}
.biz-result-pick{position:absolute;top:10px;left:10px;z-index:2;display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;background:rgba(255,255,255,.92);box-shadow:0 1px 6px rgba(0,0,0,.18);font-size:13px;font-weight:600;cursor:pointer}.biz-result-pick input{width:18px;height:18px;margin:0;cursor:pointer}
.biz-result-where{position:absolute;top:10px;right:10px;z-index:2;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:600;background:rgba(255,255,255,.92);box-shadow:0 1px 6px rgba(0,0,0,.18)}.biz-result-where.in{color:#0a7d3b}.biz-result-where.out{color:#6b7280}
.biz-image-result.is-picked{outline:3px solid var(--accent,#0071e3);outline-offset:-3px}

.biz-result-img{display:block;width:100%;margin:0;padding:0;border:0;border-radius:inherit;background:none;cursor:zoom-in;font:inherit;color:inherit}.biz-result-img:focus-visible{outline:3px solid var(--accent,#0071e3);outline-offset:2px}.biz-result-img img{display:block;width:100%}
.biz-image-result>.biz-result-img img{height:150px;object-fit:contain;background:#f5f9fe}.biz-image-result>.biz-result-img:hover img{filter:brightness(.96)}
@media(max-width:760px){.biz-image-result>.biz-result-img img{height:130px}}

.studio-count,.cat-count{margin:0 8px;font-size:12px;color:#6b80b1;font-variant-numeric:tabular-nums}.studio-count.over,.cat-count.over{color:#c62828;font-weight:600}.cat-title-two{display:grid;gap:10px}.cat-title-two .cat-attribute{margin:0}
#completion-form textarea[readonly],#completion-form input[readonly]{cursor:zoom-in}#completion-form textarea[readonly]:hover,#completion-form input[readonly]:hover{border-color:#1f6feb;background:#f5f9fe}
.cat-text-pane{white-space:pre-wrap;word-break:break-word;max-height:68vh;overflow:auto;padding:14px 16px;border:1px solid #d5e0f2;border-radius:10px;background:#fbfdff;font-size:15px;line-height:1.7;user-select:text}
.cat-title-two .cat-count{white-space:nowrap}.cat-title-two .cat-attribute{grid-template-columns:minmax(0,1fr) auto auto}.cat-title-two .cat-attribute label{grid-column:1/-1}
.studio-records-card{cursor:pointer;transition:border-color .15s,box-shadow .15s}.studio-records-card:hover{border-color:#1f6feb;box-shadow:0 2px 10px rgba(31,111,235,.12)}
.studio-rec-list{list-style:none;margin:0 0 6px;padding:0;display:grid;gap:6px}.studio-rec-list li{display:grid;grid-template-columns:minmax(0,1.4fr) auto auto;gap:12px;align-items:center;font-size:13px;padding:6px 8px;border-radius:8px;background:#f5f9fe}.studio-rec-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.studio-records-table td{vertical-align:middle}.studio-rec-actions{white-space:nowrap}.studio-rec-actions .record-actions{display:inline}
.cat-pane-edit{display:block;width:100%;min-height:46vh;max-height:68vh;overflow:auto;resize:vertical;padding:14px 16px;border:1px solid #d5e0f2;border-radius:10px;background:#fff;font-size:15px;line-height:1.7;box-sizing:border-box}
@media(min-width:761px){.cat-two>.cat-attributes{display:flex;flex-direction:column}.cat-two>.cat-attributes>.cat-grow{display:flex;flex-direction:column;flex:1 1 0;min-height:140px}.cat-two>.cat-attributes>.cat-grow-3{flex-grow:3}.cat-two>.cat-attributes>.cat-grow-2{flex-grow:2}.cat-two>.cat-attributes>.cat-grow>textarea{flex:1 1 auto;resize:none;max-height:none;min-height:100px}}
.own-analyze{border:1px solid #d5e0f2;border-radius:12px;background:#f5f9fe;padding:12px 14px;margin-bottom:12px}.own-analyze-head{display:grid;gap:2px;margin-bottom:8px}.own-analyze-head small{color:#6b80b1}.own-analyze-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.own-analyze-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:10px}@media(max-width:760px){.own-analyze-grid{grid-template-columns:1fr}}
.cat-text-click{cursor:zoom-in;border-radius:8px;transition:background .15s}.cat-text-click:hover{background:#f5f9fe}.cat-text-click:focus-visible{outline:3px solid #9cc2ff}
