:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;color:#172e2b;background:#f4f6f4;font-synthesis:none;--green:#185447;--muted:#677873;--line:#dce3de}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer;border:1px solid var(--line);background:white;color:#24443b;border-radius:7px;padding:9px 14px;font-size:13px;font-weight:600}button:hover{background:#edf4ef}button.primary{background:var(--green);color:white;border-color:var(--green)}button.danger{color:#a33535}button:disabled{opacity:.5;cursor:not-allowed}a{color:var(--green)}.shell{display:grid;grid-template-columns:220px 1fr;min-height:100vh}.sidebar{background:#132f29;color:#bdd0c6;padding:32px 18px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{font-size:29px;font-weight:800;letter-spacing:-1.5px;color:white;padding:0 13px}.brand span{color:#99c2a7;font-size:14px;letter-spacing:.5px;margin-left:7px}.subtitle{font-size:11px;letter-spacing:2px;text-transform:uppercase;color:#809f91;margin:8px 13px 32px}.nav-label{font-size:10px;letter-spacing:1.5px;text-transform:uppercase;margin:24px 12px 10px}.nav{display:flex;flex-direction:column;gap:4px}.nav button{border:0;background:transparent;color:#b9ccc2;text-align:left;padding:11px 14px;font-weight:500}.nav button.active,.nav button:hover{background:#28483e;color:white}.sidebar-foot{margin-top:auto;padding:22px 12px 0;font-size:12px;line-height:1.8}.main{min-width:0}.topbar{height:73px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 38px;font-size:12px;gap:15px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#bb8a34;margin-right:6px}.topbar .user{display:flex;align-items:center;gap:12px}.avatar{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#e6ede8;color:var(--green);font-weight:700}.content{padding:35px 38px 60px;max-width:1650px;margin:auto}.eyebrow{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:1.8px;font-weight:650;margin-bottom:10px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:25px}.page-head h1{font-size:30px;letter-spacing:-1px;margin:0 0 7px;font-weight:650}.page-head p,p.muted{color:var(--muted);font-size:13px;margin:0;line-height:1.6}.actions,.toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.notice{padding:14px 18px;border:1px solid #e5d9b8;background:#fcf8ed;border-radius:9px;color:#786033;font-size:12px;line-height:1.7;margin-bottom:22px}.notice strong{color:#59441e}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin:22px 0}.card,.panel{background:#fff;border:1px solid var(--line);border-radius:10px}.card{padding:21px}.card small{color:var(--muted);font-size:12px}.card .number{display:block;font-size:31px;letter-spacing:-1px;margin:12px 0 7px}.card .detail{font-size:11px;color:var(--muted)}.panel{padding:23px;margin-bottom:20px}.panel h2{font-size:17px;margin:0 0 18px;letter-spacing:-.3px}.split{display:grid;grid-template-columns:1.45fr 1fr;gap:20px}.toolbar{margin:18px 0}.toolbar input{max-width:350px;flex:1}.toolbar select{max-width:220px}.table-wrap{overflow:auto;background:white;border:1px solid var(--line);border-radius:9px}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;white-space:nowrap}th{background:#f8faf8;padding:13px 15px;color:#66786e;font-size:10px;letter-spacing:.8px;text-transform:uppercase;font-weight:600;border-bottom:1px solid var(--line)}td{padding:16px 15px;border-bottom:1px solid #edf0ed;max-width:360px;text-overflow:ellipsis;overflow:hidden}tr:last-child td{border-bottom:0}.cell-title{font-weight:600;color:#203d32}.cell-sub{font-size:11px;color:var(--muted);margin-top:4px}.badge{display:inline-block;padding:4px 8px;border-radius:5px;font-size:10px;font-weight:600;background:#edf1ed;color:#55695a;white-space:nowrap}.badge.green{background:#e6f2e8;color:#38664c}.badge.amber{background:#faf1da;color:#8c6925}.badge.red{background:#f8e7e4;color:#a1493c}.empty{padding:44px 24px;text-align:center;color:var(--muted);font-size:13px;line-height:1.8}.empty strong{display:block;color:#314f41;font-size:16px;margin-bottom:8px}.link-button{border:0;padding:0;background:none!important;text-align:left;color:var(--green)}.list-row{padding:13px 0;display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #edf0ed;font-size:12px;align-items:center}.list-row:last-child{border:0}.list-row p{margin:5px 0 0;color:var(--muted);line-height:1.6}.progress{height:5px;border-radius:5px;background:#e5ece7;margin:12px 0}.progress div{height:100%;background:#4b7f5a;border-radius:5px}.login{min-height:100vh;display:grid;place-items:center;background:#eaf0eb}.login .panel{width:min(440px,calc(100vw - 30px));padding:36px}.login h1{font-size:30px;letter-spacing:-1px}.login .brand{color:var(--green);padding:0}.login p{font-size:13px;color:var(--muted);line-height:1.7}label{display:block;font-size:12px;font-weight:600;color:#52665b;margin:13px 0 6px}input,select,textarea{width:100%;border:1px solid #cdd8d0;border-radius:6px;padding:10px 11px;background:#fff;color:#233e31;font-size:13px}textarea{resize:vertical;min-height:95px;line-height:1.55}input[type=checkbox]{width:auto;margin-right:8px}input[type=number]{min-width:85px}dialog{border:1px solid var(--line);border-radius:13px;width:min(1000px,calc(100vw - 30px));max-height:90vh;padding:0;color:#233e31;box-shadow:0 20px 80px #10231833}dialog::backdrop{background:#10251e88}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 27px;border-bottom:1px solid var(--line)}.dialog-head h2{margin:0;font-size:21px}.dialog-body{padding:4px 27px 24px}.dialog-foot{padding:16px 27px;border-top:1px solid var(--line);display:flex;gap:9px;justify-content:flex-end;background:#f8faf8}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.full{grid-column:1/-1}.tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);padding:13px 0;margin:0 0 10px;overflow:auto}.tabs button{border:0;background:none;white-space:nowrap}.tabs button.active{background:#e9f1ea;color:var(--green)}.hidden{display:none!important}.variant{border:1px solid var(--line);padding:14px;margin:14px 0;border-radius:8px}.variant-head{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:600}.image-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:15px 0}.image-grid figure{margin:0;min-width:0}.image-grid img{width:100%;height:130px;object-fit:contain;background:#f2f4f1;border-radius:8px}.image-grid figcaption{font-size:11px;padding:7px;color:var(--muted)}pre{background:#f2f5f2;padding:16px;border-radius:6px;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:400px;overflow:auto}#toast{position:fixed;bottom:24px;right:24px;background:#173d2b;color:white;max-width:450px;padding:15px 20px;border-radius:9px;box-shadow:0 5px 25px #0002;display:none;z-index:99;font-size:13px}#toast.error{background:#873e35}.status-line{font-size:12px;color:var(--muted);line-height:1.7}.timeline{border-left:2px solid #dee8df;margin-left:7px;padding-left:20px}.timeline .list-row{display:block}.supplier-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.supplier-grid h3{font-size:17px}.supplier-grid p{font-size:12px;line-height:1.7;color:var(--muted)}.supplier-grid .card{margin:0}.small{font-size:11px;color:var(--muted)}.footer-note{margin-top:18px;font-size:11px;color:var(--muted);line-height:1.7}
@media(max-width:1050px){.cards{grid-template-columns:repeat(2,1fr)}.split{grid-template-columns:1fr}.content{padding:25px}.supplier-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:740px){.shell{display:block}.sidebar{position:static;height:auto;padding:18px}.brand{font-size:25px}.subtitle,.nav-label,.sidebar-foot{display:none}.nav{flex-direction:row;overflow:auto;margin-top:14px}.nav button{white-space:nowrap}.topbar{padding:0 20px;height:60px}.topbar .user>span{display:none}.content{padding:22px 16px}.page-head{align-items:flex-start;flex-direction:column}.page-head h1{font-size:26px}.cards{gap:10px}.card{padding:15px}.form-grid{grid-template-columns:1fr}.supplier-grid{grid-template-columns:1fr}.image-grid{grid-template-columns:repeat(2,1fr)}.dialog-body{padding:4px 17px 20px}.dialog-head{padding:18px}.toolbar input{min-width:180px}}

/* Brundo uploaded logo */
.brand { display:flex; align-items:center; gap:8px; padding:0; }
.brand img {
  display:block; width:140px; height:auto; max-height:64px;
  object-fit:contain; background:#fff; padding:5px; border-radius:6px;
}
.login .brand img { width:180px; max-height:80px; }

/* BRUNDO BLUE THEME */
:root {
  --brand:#48B5DC;
  --green:#176B89;
  --muted:#647580;
  --line:#DFE8ED;
  color:#203440;
  background:#F7FAFC;
}
body,.main { background:#F7FAFC; }
.sidebar {
  background:#FFFFFF;
  color:#526773;
  border-right:1px solid var(--line);
}
.brand,.brand span { color:#176B89; }
.subtitle,.nav-label,.sidebar-foot { color:#647580; }
.nav button { color:#526773; }
.nav button:hover { background:#F0F9FD; color:#164F65; }
.nav button.active {
  background:#E7F6FC;
  color:#164F65;
  box-shadow:inset 3px 0 0 #48B5DC;
}
.topbar,.panel,.card,.table-wrap { background:#FFFFFF; }
button { color:#245467; }
button:hover { background:#EDF8FC; }
button.primary {
  background:#48B5DC;
  border-color:#48B5DC;
  color:#102F3E;
}
button.primary:hover {
  background:#72C7E5;
  border-color:#72C7E5;
}
button.danger { color:#A33535; }
.avatar { background:#E7F6FC; color:#176B89; }
.login { background:#F7FAFC; }
.login .panel { border-top:4px solid #48B5DC; }
.login .brand { color:#176B89; }
.tabs button.active { background:#E7F6FC; color:#164F65; }
.progress { background:#E7F2F7; }
.progress div { background:#48B5DC; }
th { background:#F5FAFC; color:#5D7480; }
.cell-title { color:#203440; }
label { color:#526773; }
input,select,textarea { color:#203440; border-color:#CEDDE5; }
input:focus,select:focus,textarea:focus {
  outline:2px solid #48B5DC;
  outline-offset:2px;
}
input[type=checkbox] { accent-color:#176B89; }
.dialog-foot { background:#F7FAFC; }
dialog { color:#203440; }
pre { background:#F3F8FB; }
#toast { background:#164F65; }
#toast.error { background:#873E35; }

/* BRUNDO SIDEBAR SCROLL */
@media (min-width:741px) {
  .sidebar {
    height:100vh;
    height:100dvh;
    overflow:hidden;
  }
  .sidebar > .brand,
  .sidebar > .subtitle,
  .sidebar > .nav-label,
  .sidebar > .sidebar-foot { flex-shrink:0; }
  .sidebar .nav {
    flex:1;
    min-height:0;
    overflow-y:auto;
    overscroll-behavior:contain;
    gap:2px;
  }
  .sidebar .nav button {
    flex-shrink:0;
    padding:9px 14px;
  }
  .sidebar-foot { margin-top:0; padding-top:14px; }
}

/* Product content previews */
.content-preview{white-space:pre-wrap;overflow-wrap:anywhere;max-height:24rem;overflow:auto;font:inherit;line-height:1.55}#content-suggestions:empty,#woo-content-preview:empty{display:none}

/* v0.6 catalog usability */
body{color:#182d38}.muted,.small,.cell-sub,.detail,.subtitle{color:#405464!important}label,th{color:#243e4b}input::placeholder,textarea::placeholder{color:#586875}input,textarea,select{color:#182d38}.product-cell{display:flex;gap:14px;align-items:center}.catalog-thumb{width:64px;height:64px;object-fit:contain;flex-shrink:0;border-radius:8px;background:#f0f5f7}.placeholder{display:grid;place-items:center;font-size:11px}.variant-list-row{display:flex;gap:12px;align-items:flex-start;border-bottom:1px solid #cad7dd;padding:8px}.variant-list-row>input{width:18px;margin-top:22px}.variant-list-row details{flex:1;min-width:0}.variant-list-row summary{display:flex;gap:14px;align-items:center;cursor:pointer;min-height:70px}.variant-expand{margin-left:auto;font-size:14px}.variant-list-row [data-variant-edit]{padding:16px 0}.variant-list-row .image-grid:empty{display:none}.category-results{max-height:270px;overflow:auto;border:1px solid #cad7dd;border-radius:8px}.category-results:empty{border:0}.category-results button{display:block;width:100%;text-align:left;border:0;border-radius:0;padding:11px 15px}.category-results button[aria-selected=true]{background:#d9eff8}.category-results button:focus{outline:2px solid #126e92;outline-offset:-2px}.monitor-panel{margin-top:30px}.monitor-panel input[type=checkbox]{width:auto}.monitor-panel label{display:block}.monitor-panel table{font-size:14px}input[type=checkbox]{accent-color:#126e92}button:disabled{opacity:.55}@media(max-width:650px){.variant-expand{display:none}.catalog-thumb{width:48px;height:48px}}

/* v0.7 draft imports */
#amazon-urls{min-height:210px;resize:vertical;line-height:1.7;font-size:16px}
#import-activity{margin:0 0 24px;padding:20px 24px}
#import-activity h2{margin:0 0 14px}
.import-batch{border-top:1px solid #d7e2e8;margin:0}
.import-batch>summary{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:16px 0;cursor:pointer;color:#203642}
.import-batch>summary>strong{flex:1;min-width:180px}
.import-batch>summary>span:last-child{font-weight:600;color:#216079}
.import-row{display:flex;gap:14px;align-items:flex-start;padding:16px 8px;border-top:1px solid #e0e9ee}
.import-row>div:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}
.import-row p{margin:6px 0;color:#334d5b}
.import-row .actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;max-width:270px}
.import-row .badge{white-space:nowrap}
button.danger{color:#a52727;border-color:#cd7777;background:#fff}
button.danger:hover:not(:disabled){background:#fff1f1}
button:disabled{cursor:not-allowed;opacity:.55}
[data-activity-error]:empty,#amazon-submit-error:empty{display:none}
@media(max-width:700px){.import-row{flex-wrap:wrap}.import-row .actions{width:100%;max-width:none;justify-content:flex-start}#import-activity{padding:14px}}

/* v0.7.1 compact import activity */
#import-activity{padding:8px 0;margin:0 0 18px;border-radius:8px}
#import-activity .activity-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:3px 14px 7px}
#import-activity h2{font-size:12px;line-height:18px;font-weight:600;margin:0;color:#304854;letter-spacing:0}
#import-activity .activity-heading .small{font-size:11px}
#import-activity [data-activity-error]{font-size:12px;margin:4px 14px}
.activity-line{display:flex;align-items:center;gap:9px;min-height:38px;padding:7px 14px;border-top:1px solid #dce6eb;font-size:13px;color:#263e4b}
.activity-icon{display:inline-flex;justify-content:center;align-items:center;flex:0 0 17px;width:17px;height:17px;border-radius:50%;font-size:12px;font-weight:750;color:white;background:#257994}
.activity-icon.green{background:#218250}.activity-icon.red{background:#bf3b3b}.activity-icon.amber{background:#9b6b0b}
.activity-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
.activity-id{color:#536675;font-weight:500}
#import-activity .activity-details,#import-activity .activity-more{padding:0;border:0;background:transparent;border-radius:3px;box-shadow:none;color:#176b89;font-size:13px;line-height:20px;font-weight:650;white-space:nowrap}
#import-activity .activity-details:hover,#import-activity .activity-more:hover{text-decoration:underline}
#import-activity .activity-more{margin:7px 14px 1px}
#import-activity [data-activity-list].activity-expanded{max-height:230px;overflow-y:auto}
.activity-empty{font-size:12px;margin:8px 14px;color:#405464}
@media(max-width:600px){.activity-line{gap:7px;padding:7px 10px;font-size:12px}.activity-id{display:none}#import-activity .activity-details{font-size:12px;margin-left:auto}}

/* v0.8 store import and pricing */
[hidden]{display:none!important}.category-chips{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.category-chips button{background:#e6f5fb;border-color:#a5cedf;color:#1b4e64;font-size:12px}.monitor-panel{border-top:1px solid #d6e1e7;padding-top:14px;margin-top:22px}#product-form>section[data-pane=Product]>section{margin-top:20px}#product-form>section[data-pane=Product]>details{margin-top:20px}#listing-progress .table-wrap{max-height:300px;overflow:auto}#pricing-editor td input{min-width:90px;max-width:170px}#pricing-editor>section{max-width:1000px}

/* Brundo v0.8.3 persistent store import activity */
#import-activity .activity-heading h2{margin-right:auto}
#import-activity .activity-footer{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
#import-activity .activity-detail{padding:14px;border-top:1px solid #dce6eb;background:#f7fafc;font-size:14px;max-height:460px;overflow:auto}
#import-activity .activity-detail h3{font-size:16px;margin:0 0 8px}
#import-activity .activity-detail p{margin:8px 0}
#import-activity .activity-detail button{margin:6px 6px 0 0}
#import-activity .activity-cleared{background:#f6f8fa}
#import-activity [data-activity-clear]:disabled{color:#536675;cursor:default}

/* Brundo editor and compact imports v0.8.13 */
body{font-size:16px;line-height:1.5}
button,input,select,textarea{font:inherit}th,td{font-size:14px}.small,.cell-sub{font-size:13px}.cell-sub{display:block}label{font-size:14px}button{min-height:40px}
#product-form .tabs{position:sticky;top:0;z-index:2;background:var(--white,#fff);gap:8px;flex-wrap:wrap;padding:12px 0}
#product-form [data-pane]>details,#product-form [data-pane]>section{margin:18px 0}
#product-form [name="title"]{font-size:18px}#product-form [name="title"]:focus{outline-offset:2px}
.editor-actions{position:sticky;bottom:0;display:flex;align-items:center;gap:12px;padding:16px 0;background:var(--white,#fff);border-top:1px solid #d9e5eb;z-index:2}
.editor-actions details[open]{position:relative}.editor-actions details button{display:block;margin:6px 0}
.image-editor-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px;padding:12px 0}.image-editor-grid figure{margin:0;padding:10px;border:1px solid #d9e5eb;border-radius:10px}.image-editor-grid img{display:block;width:100%;height:180px;object-fit:contain}.image-editor-grid figcaption{min-height:24px;font-size:13px}.image-actions{display:flex;gap:6px;justify-content:space-between}.image-actions button{font-size:13px;min-height:32px;padding:5px 8px}.image-add{margin:16px 0}.image-add input{max-width:560px}
.variant-filter{margin:12px 0}.variant-list-row summary{font-size:16px}.variant-expand{font-size:14px}.setting-toggle{display:flex;align-items:center;gap:12px;font-size:16px}
.compact-import{align-items:center;gap:14px;padding:14px 18px}.compact-import .activity-title{flex:1;min-width:180px;white-space:normal}.activity-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.activity-actions button,.activity-actions a{font-size:13px}.activity-actions button{min-height:32px;padding:5px 10px}.activity-actions a{white-space:nowrap}.activity-icon.loading{background:transparent}
.import-spinner{display:inline-block;flex:0 0 auto;width:18px;height:18px;border:2px solid #d4e7ed;border-top-color:#147895;border-radius:50%;animation:brundo-import-spin .8s linear infinite;vertical-align:middle;margin-right:4px}
@keyframes brundo-import-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.import-spinner{animation-duration:2s}}
@media(max-width:700px){.compact-import{flex-wrap:wrap}.activity-actions{margin-left:30px}.image-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.image-editor-grid img{height:140px}.image-actions{flex-wrap:wrap}}

/* Product workspace v0.8.14 */
.product-page{max-width:1500px;margin:0 auto}.back-link{display:inline-block;margin-bottom:20px}.product-page-head{display:flex;align-items:center;gap:20px;margin:0 0 24px}.product-page-head h1{font-size:28px;line-height:1.3;margin:0 0 12px}.product-links{display:flex;gap:24px;flex-wrap:wrap}.editor-panel{padding:28px}.product-page .tabs{position:sticky;top:0;background:white;z-index:2;flex-wrap:wrap}.product-page textarea[name=description]{min-height:340px}.product-page textarea[name=shortDescription]{min-height:110px}.product-page .editor-actions{position:sticky;bottom:0;background:white;padding:16px 0;border-top:1px solid var(--line,#d7e4ea);z-index:2}.operation-row{display:flex;gap:16px;align-items:center;padding:14px 0}.operation-row>span:nth-child(2){flex:1}.operation-actions{display:flex;align-items:center;gap:14px;margin-left:auto}.delete-options{display:grid;grid-template-columns:auto 1fr;gap:16px;align-items:center}.delete-options p{margin:0}.variant-image-pick{border:2px solid transparent;background:transparent;padding:4px}.variant-image-pick[aria-pressed=true]{border-color:#43afd2}.product-page .form-grid{gap:22px}.product-page label{font-size:16px}.product-page input,.product-page select,.product-page textarea{font-size:17px;line-height:1.5}.operation-list[hidden]{display:none}
@media(max-width:750px){.editor-panel{padding:16px}.product-page-head h1{font-size:22px}.operation-row,.operation-actions{flex-wrap:wrap}.delete-options{grid-template-columns:1fr}.product-page .tabs button{padding:10px}}

.catalog-thumb{width:72px;height:72px;object-fit:contain;vertical-align:middle;margin:6px}.catalog-gallery{display:flex;flex-wrap:wrap;gap:12px}.catalog-gallery .catalog-thumb{width:160px;height:160px}#catalog-description{white-space:pre-line;line-height:1.6}
