:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#252e2a;background:#f5f6f3;font-size:14px;--green:#286d50;--muted:#7a837b;--line:#e4e8e1}*{box-sizing:border-box}body{margin:0;display:flex}button,input,select,textarea{font:inherit}button{cursor:pointer;background:white;border:1px solid #dce2db;border-radius:7px;padding:10px 14px;color:#35473b;transition:.15s}button:hover{background:#eff4ee;border-color:#98ab9d}button:disabled{opacity:.45;cursor:not-allowed}button.primary{background:var(--green);color:white;border-color:var(--green)}button.primary:hover{background:#1f563e}input,select,textarea{border:1px solid #dce2db;border-radius:6px;padding:10px;background:#fff;color:#26382b}input:focus,textarea:focus,select:focus,button:focus-visible{outline:2px solid #348765;outline-offset:2px}aside{width:238px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:33px 22px;display:flex;flex-direction:column}.brand{display:flex;gap:11px;align-items:center;color:#286d50;text-decoration:none;font-size:38px;font-weight:600;letter-spacing:-2px}.brand small{font-size:8px;letter-spacing:2px;display:block;margin-top:5px;color:#7e8a80}nav{margin-top:57px;display:grid;gap:10px}nav button{border:none;text-align:left;color:#748077;background:transparent;padding:13px 12px}nav button.active{background:#eaf2ec;color:#286d50;font-weight:600}nav span{float:right;font-size:11px}.sidebar-bottom{margin-top:auto;color:#90998f;font-size:12px;line-height:1.8}.connection{border-top:1px solid var(--line);padding-top:20px;color:#4f5c50}.connection small{display:block;font-size:10px;color:#8e968d;margin-left:16px}.sidebar-bottom p{margin-top:28px}main{margin-left:238px;width:calc(100% - 238px);padding:0 38px 32px}header{height:82px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.breadcrumb{font-size:10px;letter-spacing:1.4px;color:#6a7a6a}.breadcrumb span{color:#939c92;margin-left:14px;letter-spacing:0}.header-right{display:flex;align-items:center;gap:14px}.mode{font-size:10px;border:1px solid #d8e2d1;padding:6px 10px;background:#eaf0e2;border-radius:30px;color:#638448}.icon-btn{background:none;font-size:12px}.intro{display:flex;justify-content:space-between;align-items:center;padding:35px 0 26px}.eyebrow{font-size:9px;letter-spacing:2px;color:#7a8d74;font-weight:600}h1{font-size:40px;letter-spacing:-1.5px;font-weight:550;margin:10px 0}.intro p{color:#879083;margin:0}.primary-actions{display:flex;gap:10px}.notice{background:#eff3e8;border:1px solid #dfe7d5;color:#6a7e52;border-radius:8px;font-size:12px;padding:12px 16px;margin-bottom:24px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:30px}.stat{background:white;border:1px solid var(--line);border-radius:10px;padding:20px 23px}.stat .label{color:#84907f;font-size:12px;display:flex;justify-content:space-between}.stat strong{display:block;font-size:31px;font-weight:550;margin:10px 0 3px;letter-spacing:-1px}.stat small{color:#8c9686;font-size:10px}.stat.highlight{background:#f0f4e9;border-color:#dfe7d2}.workspace{background:white;border:1px solid var(--line);border-radius:11px;overflow:hidden}.workspace-heading{display:flex;align-items:center;justify-content:space-between;padding:23px 24px 16px}h2{font-size:17px;font-weight:600;margin:0}h2 span{background:#edf1eb;border-radius:5px;padding:3px 7px;font-size:11px;color:#7a8975;margin-left:8px}.workspace-heading button{padding:8px 11px;font-size:11px;margin-left:7px}.filters{display:flex;gap:8px;flex-wrap:wrap;padding:0 24px 22px}.filters input,.filters select{font-size:11px;padding:9px}.search{border:1px solid #dce2db;border-radius:6px;display:flex;align-items:center;flex:1;min-width:220px;padding-left:10px}.search input{border:none;width:100%;outline:none}.error-filter{font-size:10px;align-self:center;color:#7c8878}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{font-size:9px;letter-spacing:.8px;font-weight:500;color:#889280;background:#f9faf7;padding:14px 18px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}td{padding:20px 18px;border-bottom:1px solid #eef0eb;font-size:12px}td:first-child,th:first-child{padding-left:24px}.product{display:flex;align-items:center;gap:14px;min-width:210px}.product img,.placeholder{width:61px;height:65px;border-radius:7px;object-fit:cover;background:#edece3}.placeholder{display:grid;place-items:center;font-size:26px;color:#8d9a7f}.product strong{display:block;font-weight:550;max-width:240px;overflow:hidden;text-overflow:ellipsis}.product small{display:block;font-size:10px;color:#98a090;margin-top:8px;letter-spacing:.7px}.badge{padding:4px 7px;border:1px solid #dce7ed;border-radius:5px;background:#eff5f7;color:#526c78;font-size:10px;display:inline-block;margin-bottom:7px}.badge.ka{background:#f1f7df;color:#6b893b;border-color:#e3edcc}.price{font-weight:550}.sub{display:block;margin-top:5px;font-size:10px;color:#909989}.status{display:inline-flex;align-items:center;gap:6px;padding:6px 8px;border-radius:6px;font-size:10px;background:#f2f3ef;color:#7b8477}.status.green{background:#e9f4ed;color:#36795b}.status.yellow{background:#faf2df;color:#a38231}.status.red{background:#f9ece7;color:#b47156}.dot{width:6px;height:6px;display:inline-block;border-radius:100%;background:currentColor}.dot.green{color:#478c63}.actions{min-width:175px;display:flex;gap:5px;flex-wrap:wrap;max-width:190px}.actions button{padding:6px 8px;font-size:10px}.error{color:#ae6650;white-space:normal;max-width:180px;font-size:10px;margin-top:5px}.conflict{color:#a07e25}footer{display:flex;justify-content:space-between;gap:12px;font-size:9px;color:#8d9985;padding:15px 24px;background:#fbfcf9}#empty{padding:50px;text-align:center;color:#8c9784}dialog{border:1px solid #d9e1d2;border-radius:12px;padding:0;width:min(840px,94vw);max-height:90vh;color:#2b3c2e;box-shadow:0 20px 100px #132a2230}dialog::backdrop{background:#263c3550}.dialog-head{position:sticky;top:0;background:white;display:flex;justify-content:space-between;align-items:center;padding:20px 25px;border-bottom:1px solid var(--line);z-index:1}#dialog-body{padding:24px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid label{display:flex;flex-direction:column;gap:6px;font-size:11px;color:#6b7a63}.wide{grid-column:1/-1}textarea{min-height:90px;resize:vertical}fieldset{border:1px solid var(--line);border-radius:8px;padding:16px;margin:20px 0}legend{color:#528066;font-weight:600}.help{font-size:11px;color:#85917c;line-height:1.6}.dialog-buttons{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.gallery{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}.gallery img{width:90px;height:90px;object-fit:cover;border-radius:6px}.gallery button{font-size:10px;padding:4px 8px}.history{border-bottom:1px solid var(--line);padding:12px 0;font-size:12px;line-height:1.7}.history small{color:#88967d}pre{background:#f3f5ef;padding:15px;overflow:auto;white-space:pre-wrap;font-size:11px;max-height:350px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#254d3b;color:white;padding:14px 24px;border-radius:8px;display:none;z-index:10;max-width:80%;box-shadow:0 5px 20px #0002}#toast.bad{background:#924d3a}@media(min-width:1650px){main{padding-left:55px;padding-right:55px}}@media(max-width:1100px){aside{width:180px;padding:24px 14px}main{margin-left:180px;width:calc(100% - 180px);padding:0 22px}.intro{gap:20px}.stats{gap:10px}.stat{padding:15px}}@media(max-width:740px){body{display:block}aside{position:relative;width:100%;padding:15px;flex-direction:row;align-items:center;justify-content:space-between}.brand{font-size:24px}.brand small,.sidebar-bottom{display:none}nav{margin:0;display:flex;gap:0}nav button{font-size:0;padding:10px}nav button:first-letter{font-size:18px}main{margin:0;width:100%;padding:0 14px}header{height:60px}.intro{display:block;padding:24px 0}.primary-actions{margin-top:22px}h1{font-size:33px}.stats{grid-template-columns:1fr 1fr}.workspace-heading{padding:18px 14px}.filters{padding:0 14px 15px}footer{display:block;line-height:1.8}.form-grid{grid-template-columns:1fr}.wide{grid-column:auto}.breadcrumb{font-size:8px}}
.compact-check{display:none}@media(max-width:1250px) and (min-width:741px){aside{width:180px;padding:24px 14px}main{margin-left:180px;width:calc(100% - 180px);padding:0 22px}th:nth-child(5),td:nth-child(5){display:none}td,th{padding:16px 12px}td:first-child,th:first-child{padding-left:16px}.product{min-width:195px;gap:10px}.product strong{max-width:150px}.product img,.placeholder{width:48px;height:53px}.compact-check{display:block}.actions{min-width:165px;max-width:170px}.stats{gap:10px}.stat{padding:16px}}@media(max-width:740px){thead{display:none}table,tbody{display:block;white-space:normal}tr{display:flex;flex-wrap:wrap;border-bottom:1px solid var(--line);padding:12px}td{display:block;width:50%;padding:9px 12px;border:0}td:first-child{width:100%;padding:10px 12px}.actions{max-width:none}td:last-child{width:100%}.compact-check{display:none}.product strong{max-width:65vw}.error{max-width:none}}
.overview-help{font-size:11px;color:#87917e;margin:8px 0 0}.article-platforms{display:flex;flex-wrap:wrap;gap:5px;margin-top:10px}.article-platforms .badge{margin:0;font-size:9px}.platform-dot{display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:4px;background:#9baba0}.platform-dot.green{background:#36795b}.platform-dot.yellow{background:#b28b2b}.platform-dot.red{background:#b47156}.platform-line{padding:10px 0;min-height:110px;border-bottom:1px solid var(--line)}.platform-line:last-child{border-bottom:0}.platform-heading,.action-platform{display:block;color:#82907d;font-size:10px;margin-bottom:7px}.article-actions{display:flex;gap:6px;margin-top:14px}.article-actions button{font-size:10px;padding:6px 8px}td{vertical-align:top}.product strong{white-space:normal;line-height:1.4}.platform-line .sub{white-space:normal;max-width:155px}.workspace-heading{gap:12px}.workspace-heading>div:last-child{flex-shrink:0}@media(max-width:740px){.platform-line{min-height:auto;padding:12px 0}.product strong{max-width:60vw}.workspace-heading{flex-wrap:wrap}.overview-help{line-height:1.5}}
.source-import{background:#f7faf3}.source-url-row{display:flex;gap:10px;align-items:flex-end}.source-url-row label{display:flex;flex-direction:column;gap:7px;flex:1;min-width:0;font-size:12px}.source-url-row input{width:100%}.source-url-row button{flex-shrink:0}.source-import details{margin-top:15px;font-size:12px;line-height:1.6}.source-import summary{cursor:pointer;color:#4b7557}.source-import .error{max-width:none;font-size:12px}.source-import h3{font-size:16px}#product-proposal{border-top:1px solid #dfe8d6;margin-top:20px;padding-top:14px}.proposed-images label{display:block;margin:8px 0;font-size:12px}#disclaimer-section label{display:block;font-size:12px}#disclaimer-section button{margin-top:12px}#disclaimer-section a,.proposed-images a{color:#286d50}#product-proposal .form-grid label span{display:flex;gap:7px;align-items:center}#product-proposal input[type=checkbox]{flex-shrink:0}@media(max-width:600px){.source-url-row{display:block}.source-url-row button{margin-top:10px;width:100%}}
.companion{display:block;background:var(--bg,#f6f5ef)}.capture-shell{max-width:480px;margin:8vh auto;padding:24px}.capture-shell label{display:block;margin:18px 0}.capture-shell input{width:100%}#observations,#ai-description{width:100%;min-height:110px}#public-links{white-space:pre-wrap;overflow-wrap:anywhere}

button.danger{color:#a32c2c;border-color:#d7aaa6}button.danger:hover{background:#fff0ee}

#rows tr:nth-child(even){background:#f3f6f1}#rows tr:nth-child(odd){background:#fff}#rows tr:hover{background:#edf3eb}
.photo-open{padding:0;border:0;background:transparent;display:block;flex-shrink:0}.photo-open:hover{background:transparent}.photo-open img{display:block}
#lightbox{width:min(1040px,94vw);max-width:1040px;max-height:94dvh}#lightbox .dialog-head{position:sticky;top:0;background:white;z-index:1}#lightbox-title{white-space:normal;line-height:1.4}
.listing-preview{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:24px}.preview-photos{min-width:0}#preview-image{width:100%;height:440px;max-height:55dvh;object-fit:contain;background:#f3f4f0;border-radius:9px;touch-action:pan-y}.preview-navigation{display:flex;justify-content:space-between;align-items:center;margin:10px 0}.preview-thumbnails{display:flex;gap:8px;overflow:auto;padding:3px}.preview-thumbnails button{padding:3px;flex-shrink:0}.preview-thumbnails button[aria-pressed=true]{border:2px solid var(--green)}.preview-thumbnails img{width:58px;height:58px;object-fit:cover;display:block}.preview-description{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;margin:20px 0}.preview-prices{display:flex;gap:16px;flex-wrap:wrap}.preview-prices strong{display:block;font-size:24px}
@media(max-width:700px){.listing-preview{grid-template-columns:1fr;gap:14px}#lightbox{width:calc(100vw - 18px);padding:15px}#preview-image{height:320px;max-height:45dvh}#rows td{border-bottom-color:#ced8c9}#rows .article-actions{flex-wrap:wrap}}

button.stat{text-align:left;color:inherit;touch-action:manipulation;width:100%}
button.stat[aria-pressed=true]{border-color:var(--green);box-shadow:0 0 0 2px #286d5025}
button.stat:hover{background:#edf3e8}
#dialog *,#lightbox *{box-sizing:border-box}
#dialog-body fieldset,#dialog-body .form-grid,#dialog-body label{min-width:0}
#dialog-body input:not([type=checkbox]),#dialog-body textarea,#dialog-body select{max-width:100%;width:100%}
#dialog-body pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%}
.form-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
@media(max-width:740px){
 #dialog{width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:92dvh;overflow-x:hidden}
 #dialog-body{padding:16px}
 #dialog .dialog-head{padding:16px;gap:10px}
 #dialog-title{overflow-wrap:anywhere}
 #dialog .form-grid{grid-template-columns:minmax(0,1fr)}
 #dialog input:not([type=checkbox]),#dialog textarea,#dialog select{font-size:16px}
 #dialog .dialog-buttons{flex-wrap:wrap}
 #dialog fieldset{margin-inline:0;padding:12px}
 #dialog .gallery{max-width:100%;flex-wrap:wrap}
}
.category-picker{min-width:0;display:flex;flex-direction:column;gap:8px}.category-picker select{width:100%;max-width:100%;text-overflow:ellipsis}.category-picker .help{margin:0;overflow-wrap:anywhere}.category-picker .dialog-buttons{flex-wrap:wrap;margin:0}
