@charset "UTF-8";

:root {
  --bg: #f7f9f6;
  --surface: #ffffff;
  --sidebar: #fcfdfb;
  --ink: #303d35;
  --secondary: #7c877f;
  --muted: #a0a79f;
  --green: #507563;
  --green-dark: #3c604f;
  --green-light: #edf3eb;
  --line: #e7ece5;
  --sidebar-width: 246px;
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); }
button, input, select, textarea { font: inherit; }
button, a, summary, input, textarea { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
button { border: 0; background: none; }
a { color: inherit; text-decoration: none; }
button, a, summary { touch-action: manipulation; }
button, a, input, summary, textarea { outline: none; }
:focus-visible { outline: 3px solid #9bb99f; outline-offset: 4px; }
input:focus-visible { outline: none; }
img { max-width: 100%; display: block; }
svg { flex-shrink: 0; }
p, h1, h2, h3 { margin: 0; }
button, a, summary { transition: background .18s, border-color .18s, color .18s, box-shadow .18s, transform .18s; }
::selection { background: #dce9d7; }
[hidden] { display: none !important; }
.icon { width: 20px; height: 20px; vertical-align: middle; flex-shrink: 0; }
.skip-link { position: fixed; z-index: 100; top: -60px; left: 12px; padding: 12px 20px; background: white; border: 1px solid var(--green); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar-width); background: var(--sidebar); border-right: 1px solid var(--line); display: flex; flex-direction: column; z-index: 35; }
.app-brand { height: 95px; padding: 0 22px; display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo-mark { width: 41px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: #f5f8ef; background: var(--green); border-radius: 13px 13px 13px 4px; flex-shrink: 0; }
.logo-mark .icon { width: 27px; height: 27px; stroke-width: 1.3; }
.app-brand strong { display: block; font-size: 16px; font-weight: 650; letter-spacing: .3px; white-space: nowrap; }
.logo-divider { color: #b9c5b8; font-size: 16px; margin: 0 1px; font-weight: 400; }
.app-brand small { display: block; color: #949e91; font-size: 7.6px; letter-spacing: 1.35px; margin-top: 7px; }
.sidebar-scroll { padding: 11px 17px 20px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #d7dfd3 transparent; flex: 1; }
.nav-eyebrow { font-size: 10px; color: #98a091; letter-spacing: 1.5px; margin: 0 13px 15px; }
.main-nav { display: flex; flex-direction: column; gap: 5px; }
.nav-link { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 13px; border-radius: 7px; color: #7b8479; font-size: 13px; }
.nav-link .icon { width: 18px; height: 18px; }
.nav-link:hover { background: #f0f3ed; color: var(--green-dark); }
.nav-link.active { background: #eaf1e6; color: #4c6d49; font-weight: 600; }
.nav-active-dot { display: none; width: 5px; height: 5px; background: #6c8e62; border-radius: 50%; margin-left: auto; }
.nav-link.active .nav-active-dot { display: block; }
.nav-count { font-size: 10px; margin-left: auto; background: #e9eee4; padding: 2px 6px; border-radius: 4px; }
.sidebar-divider { height: 1px; background: var(--line); margin: 23px 13px 24px; }
.brands-eyebrow { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.tiny-count { letter-spacing: .8px; color: #b0b7ab; font-size: 10px; }
.brand-tree { display: flex; flex-direction: column; gap: 5px; }
.tree-row { display: flex; min-height: 43px; align-items: center; padding-left: calc(9px + var(--level) * 13px); border-radius: 6px; }
.tree-row:hover { background: #f0f3ed; }
.tree-row.active { background: #eaf1e6; color: var(--green-dark); }
.tree-link { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; padding: 9px 0; font-size: 12px; color: #747f73; }
.tree-link > span:not(.brand-mark):not(.tree-count) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tree-link > .icon { width: 14px; height: 14px; color: #9ca694; }
.tree-row.active .tree-link { color: var(--green-dark); font-weight: 600; }
.tree-row.in-path:not(.active) > .tree-link { color: #4d6550; }
.tree-count { margin-left: auto; font-size: 10px; padding-right: 5px; }
.tree-toggle { align-self: stretch; padding: 0 7px; display: flex; align-items: center; border-radius: 5px; color: #a5aea0; }
.tree-toggle:hover { color: var(--green); background: #e6ece1; }
.tree-toggle .icon { width: 13px; height: 13px; transition: transform .2s; }
.tree-toggle.open .icon { transform: rotate(90deg); }
.tree-children { position: relative; }
.tree-children::before { content: ""; position: absolute; left: calc(22px + var(--level) * 13px); top: 4px; bottom: 7px; border-left: 1px solid #e5eae0; }
.tree-children .tree-row { min-height: 36px; }
.tree-children .tree-link { font-size: 10.5px; gap: 7px; }
.brand-mark { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 13px; font: italic 31px Georgia, serif; flex-shrink: 0; }
.brand-mark.small { width: 25px; height: 25px; border-radius: 7px; font-size: 16px; }
.lavender { background: #f0edf8; color: #9286af; }
.peach { background: #f9eee4; color: #b18e6a; }
.blue { background: #eaf0f5; color: #7b95a8; }
.sage { background: #eaf1e6; color: #79916c; }
.guide-link { margin-top: 26px; }
.guide-chevron { margin-left: auto; width: 13px !important; color: #abb3a4; }
.sidebar-bottom { padding: 0 21px; flex-shrink: 0; }
.local-card { background: #f0f4eb; border: 1px solid #e8eedf; border-radius: 9px; padding: 15px 12px 12px; }
.local-card-title { display: flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 600; color: #6d8162; }
.local-card-title > .icon { width: 15px; height: 15px; margin-left: auto; color: #9eb18f; }
.status-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #86a27a; flex-shrink: 0; }
.local-card p { font-size: 9px; color: #9aa78d; margin-top: 9px; }
.local-card button { padding: 0; margin-top: 12px; font-size: 10px; color: #6d8562; display: flex; align-items: center; gap: 5px; }
.local-card button:hover { color: var(--green-dark); }
.local-card button .icon { width: 13px; height: 13px; }
.team-profile { display: flex; gap: 10px; align-items: center; padding: 22px 0; }
.avatar { width: 33px; height: 33px; border-radius: 50%; background: #ebefdf; color: #7e8c66; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 600; position: relative; }
.avatar span { position: absolute; width: 8px; height: 8px; bottom: 0; right: 0; background: #8aa17b; border-radius: 50%; border: 2px solid var(--sidebar); }
.team-profile strong { font-size: 11px; font-weight: 500; display: block; }
.team-profile small { font-size: 9px; color: #a0a698; display: block; margin-top: 4px; }
.team-badge { margin-left: auto; border: 1px solid #e6eadd; color: #9ba48c; border-radius: 4px; padding: 3px 6px; font-size: 9px; }
.workspace { margin-left: var(--sidebar-width); min-height: 100vh; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 75px; padding: 0 38px; background: #ffffffb8; border-bottom: 1px solid var(--line); }
.topbar-left { min-width: 0; display: flex; align-items: center; gap: 10px; }
.breadcrumbs { display: flex; align-items: center; gap: 12px; color: #8c9488; font-size: 11px; min-width: 0; }
.breadcrumbs a:hover { color: var(--green); }
.breadcrumbs > a:not(.breadcrumb-home), .current-crumb { white-space: nowrap; max-width: 165px; overflow: hidden; text-overflow: ellipsis; }
.breadcrumbs .icon { width: 16px; height: 16px; }
.breadcrumb-home { display: flex; align-items: center; }
.breadcrumb-separator { color: #d0d6ca; font-size: 11px; }
.current-crumb { color: #5e6b59; }
.topbar-actions { display: flex; align-items: center; gap: 19px; flex-shrink: 0; }
.workbench-switcher { display: flex; align-items: center; gap: 3px; padding: 2px 4px 2px 9px; border: 1px solid #e5ebdf; border-radius: 6px; background: #fff; }
.workbench-switcher select { width: 170px; max-width: 18vw; border: 0; outline: 0; padding: 6px 18px 6px 0; background: transparent; color: #64755a; font-size: 10px; cursor: pointer; }
.workbench-switcher .icon-button { width: 28px; height: 28px; color: #7f9a70; }
.workbench-switcher .icon-button .icon { width: 16px; height: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.global-search { position: relative; height: 34px; display: flex; align-items: center; gap: 9px; color: #a8b09f; padding: 0 10px; background: #f7f9f5; border: 1px solid #edf0e9; border-radius: 6px; }
.global-search > .icon { width: 14px; height: 14px; }
.global-search input { width: 134px; border: 0; background: transparent; font-size: 10px; color: var(--ink); padding: 0; }
.global-search input::placeholder { color: #a6ad9f; }
.global-search:focus-within { border-color: #b7c7ad; background: #fff; }
kbd { font: 8px "Segoe UI", sans-serif; color: #a5ac9d; border: 1px solid #e4e9df; border-radius: 3px; padding: 2px 4px; white-space: nowrap; }
.offline-badge { display: flex; align-items: center; gap: 6px; color: #93a087; font-size: 10px; white-space: nowrap; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; color: #8e9985; border-radius: 6px; padding: 0; }
.icon-button .icon { width: 18px; height: 18px; }
.icon-button:hover { background: var(--green-light); color: var(--green); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 40px; padding: 0 18px; border: 1px solid transparent; border-radius: 6px; font-size: 12px; font-weight: 500; white-space: nowrap; line-height: 1.4; }
.button .icon { width: 16px; height: 16px; }
.button-primary { background: var(--green); border-color: var(--green); color: #fff; }
.button-primary:hover { background: var(--green-dark); border-color: var(--green-dark); box-shadow: 0 3px 12px #5075631a; }
.button-outline { background: #fff; border-color: #dfe6d8; color: #748268; }
.button-outline:hover { background: #f6f9f2; border-color: #b6c8a7; color: var(--green); }
.button-small { min-height: 33px; padding: 0 12px; font-size: 10px; gap: 7px; }
.button-small .icon { width: 14px; height: 14px; }
.button-danger { background: #b46d60; color: white; }
.button-danger:hover { background: #9c574b; }
.backup-menu { position: relative; }
.backup-menu summary { cursor: pointer; list-style: none; }
.backup-menu summary::-webkit-details-marker { display: none; }
.backup-menu summary > .icon:last-child { width: 12px; height: 12px; margin-left: 5px; }
.dropdown { position: absolute; top: calc(100% + 10px); right: 0; width: 219px; background: white; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 30px #31493613; padding: 7px; z-index: 40; }
.dropdown button { width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; padding: 12px 10px; font-size: 12px; border-radius: 5px; }
.dropdown button:hover { background: var(--green-light); }
.dropdown .icon { width: 16px; height: 16px; color: #8b9f80; }
.dropdown p { border-top: 1px solid var(--line); margin: 4px 6px 0; padding: 11px 0 5px; color: #a4ad9a; font-size: 10px; }
.search-results { position: absolute; top: 43px; right: 0; width: 340px; max-height: 440px; overflow-y: auto; border: 1px solid var(--line); border-radius: 10px; background: white; box-shadow: 0 10px 35px #31493615; z-index: 50; padding: 8px; }
.search-heading { padding: 7px 10px 10px; font-size: 10px; color: #a6b09c; }
.search-results a { display: flex; align-items: center; gap: 12px; padding: 11px 9px; border-radius: 6px; }
.search-results a:hover { background: var(--green-light); }
.search-results a > .icon { width: 17px; height: 17px; color: #91a283; }
.search-results a > .icon:last-child { margin-left: auto; width: 13px; }
.search-results a span { min-width: 0; }
.search-results strong { display: block; font-weight: 500; color: #5b6c51; font-size: 12px; }
.search-results small { display: block; margin-top: 5px; font-size: 9px; color: #a3ac9a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 250px; }
.search-empty { font-size: 12px; padding: 25px 10px; text-align: center; color: #6c7c62; }
.search-empty small { display: block; font-size: 10px; margin-top: 8px; color: #a2ad97; }
.mobile-menu { display: none; }
main { width: 100%; max-width: 1450px; margin: 0 auto; padding: 34px 38px 22px; flex: 1; }
.eyebrow { font: 9px "Segoe UI", sans-serif; font-weight: 500; letter-spacing: 2.1px; color: #99a68e; margin-bottom: 12px; }
.home-welcome { display: flex; align-items: center; justify-content: space-between; margin: 1px 0 25px; gap: 20px; }
h1 { font-size: 25px; line-height: 1.45; letter-spacing: .5px; font-weight: 600; }
.heading-period { color: #93ab80; }
.welcome-date { display: flex; align-items: center; gap: 8px; font-size: 10px; color: #9ba78f; padding-top: 14px; }
.welcome-date .icon { width: 16px; height: 16px; color: #a4b18e; }
.hero { position: relative; display: flex; overflow: hidden; min-height: 282px; background: linear-gradient(105deg, #eef3e9 0%, #eef3e9 39%, #e7efdf 100%); border: 1px solid #e3ebda; border-radius: 13px; }
.hero-copy { position: relative; z-index: 2; padding: 30px 34px; width: 50%; flex-shrink: 0; }
.hero-tag { display: inline-flex; align-items: center; gap: 6px; color: #8d9e7c; font-size: 9px; letter-spacing: 1px; }
.hero-tag .icon { width: 13px; height: 13px; }
.hero h2 { margin: 13px 0 12px; font-size: 30px; line-height: 1.6; letter-spacing: 1px; font-weight: 500; }
.hero h2 > span { color: #728f63; }
.hero-copy > p { font-size: 11px; color: #8e9c81; letter-spacing: .3px; }
.hero-buttons { display: flex; align-items: center; gap: 22px; margin-top: 22px; }
.hero .button-primary { min-height: 36px; font-size: 11px; background: #69865b; border-color: #69865b; padding: 0 17px; }
.hero .button-primary:hover { background: #526e46; }
.hero .button .icon { width: 14px; height: 14px; }
.hero-secondary { display: flex; align-items: center; gap: 7px; color: #7f916f; font-size: 11px; }
.hero-secondary .icon { width: 12px; height: 12px; }
.hero-secondary:hover { color: #4c6c3c; }
.hero-art { position: absolute; right: -2%; top: 50%; transform: translateY(-50%); width: 58%; height: 100%; }
.hero-art img { width: 100%; height: 100%; object-fit: contain; }
.hero-index { position: absolute; right: 22px; bottom: 14px; font-size: 6.5px; letter-spacing: 1.7px; color: #a9b89b; }
.brand-section { margin-top: 32px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.section-heading h2 { font-size: 15px; font-weight: 600; letter-spacing: .3px; }
.section-heading p { font-size: 11px; color: #97a38c; margin-top: 8px; letter-spacing: .2px; }
.section-count { color: #a1aa95; font-size: 9px; font-weight: 400; margin-left: 9px; padding: 3px 7px; background: #eff3ea; border-radius: 4px; vertical-align: 1px; letter-spacing: 0; }
.view-switch { display: flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid #e7ecdf; border-radius: 6px; background: #f6f8f2; }
.view-switch button { display: flex; align-items: center; justify-content: center; width: 29px; height: 25px; border-radius: 4px; color: #afb8a3; padding: 0; }
.view-switch button .icon { width: 14px; height: 14px; }
.view-switch button.selected { background: #fff; box-shadow: 0 1px 4px #5c77580b; color: #829774; }
.brand-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.brand-card { display: block; background: white; border: 1px solid #e7ecdf; border-radius: 10px; padding: 20px 22px 0; overflow: hidden; }
.brand-card:hover { border-color: #becdb3; box-shadow: 0 5px 20px #4a68440a; transform: translateY(-3px); }
.brand-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.store-count { display: flex; align-items: center; gap: 5px; font-size: 10px; color: #98a58a; }
.store-count .icon { width: 12px; height: 12px; }
.brand-card-title { display: flex; align-items: baseline; gap: 11px; margin-top: 14px; }
.brand-card-title h3 { font-size: 18px; font-weight: 550; letter-spacing: 1px; }
.brand-card-title > span { font-size: 8px; color: #b3baa9; letter-spacing: 1.8px; }
.brand-store-preview { display: flex; align-items: center; gap: 7px; margin-top: 14px; padding-bottom: 19px; }
.brand-store-preview > span:first-child { font-size: 10px; color: #929f84; border: 1px solid #e9eee2; border-radius: 4px; background: #fcfdfb; padding: 5px 7px; max-width: calc(100% - 27px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.more-stores { color: #a5b198; font-size: 9px; }
.brand-card-bottom { border-top: 1px solid #eff2ea; min-height: 45px; display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.brand-card-bottom > span:first-child { font-size: 10px; color: #9eac91; }
.round-arrow { color: #8da27b; background: #f3f6ef; display: flex; width: 23px; height: 23px; align-items: center; justify-content: center; border-radius: 50%; }
.round-arrow .icon { width: 12px; height: 12px; }
.brand-card:hover .round-arrow { color: white; background: var(--green); }
.list-view { grid-template-columns: 1fr; gap: 10px; }
.list-view .brand-card { display: flex; align-items: center; gap: 25px; padding: 16px 20px; }
.list-view .brand-card-top { width: 135px; flex-shrink: 0; }
.list-view .brand-card-title, .list-view .brand-store-preview { margin: 0; padding: 0; }
.list-view .brand-card-title { width: 175px; }
.list-view .brand-card-bottom { margin-left: auto; border: 0; gap: 20px; }
.recent-section { margin-top: 29px; }
.text-link { display: flex; align-items: center; gap: 6px; color: #9bac8e; font-size: 10px; }
.text-link .icon { width: 13px; height: 13px; }
.text-link:hover { color: var(--green); }
.welcome-empty { display: flex; align-items: center; gap: 26px; border: 1px solid #e7ecdf; border-radius: 10px; padding: 23px 28px; background: #fdfefb; }
.welcome-empty h3 { font-size: 12px; font-weight: 500; color: #7e8a73; }
.welcome-empty p { font-size: 11px; color: #9fac90; margin-top: 9px; line-height: 1.8; }
.welcome-empty > .button { margin-left: auto; font-size: 10px; min-height: 34px; padding: 0 12px; }
.empty-art { position: relative; width: 65px; height: 57px; flex-shrink: 0; }
.empty-art > span { position: absolute; display: flex; align-items: center; justify-content: center; }
.empty-art-back { width: 42px; height: 40px; top: 3px; left: 3px; border: 1px solid #dfe7d5; border-radius: 6px; transform: rotate(-12deg); background: #f1f5eb; color: #c4d1b5; }
.empty-art-back .icon { width: 23px; height: 23px; }
.empty-art-front { width: 38px; height: 38px; bottom: 2px; right: 3px; border: 1px solid #e2e9d7; border-radius: 6px; transform: rotate(10deg); background: #fafcf7; color: #b3c29f; }
.empty-art-front .icon { width: 21px; height: 21px; }
.empty-art-spark { right: -4px; top: -5px; color: #a5bb8c; font-size: 17px; }
.workspace-footer { max-width: 1450px; width: 100%; display: flex; align-items: center; justify-content: space-between; margin: 0 auto; padding: 21px 38px 24px; color: #b4bdaa; font-size: 8px; letter-spacing: .5px; }
.footer-leaf { color: #a7b89a; font-size: 12px; margin-right: 5px; }
.footer-dot { margin: 0 6px; color: #c1c9b8; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 4px 0 30px; }
.page-heading h1 { display: flex; align-items: center; gap: 13px; }
.page-heading .brand-mark.small { width: 34px; height: 34px; font-size: 24px; border-radius: 10px; }
.page-description { color: #95a18a; font-size: 12px; line-height: 1.8; margin-top: 10px; }
.page-counter { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #9baa8d; padding: 10px 14px; border: 1px solid #e3eada; border-radius: 6px; }
.page-counter .icon { width: 15px; height: 15px; }
.category-intro { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; border: 1px solid #e5ecdc; border-radius: 8px; background: #eef3e8; color: #95a583; font-size: 11px; margin-bottom: 23px; }
.category-intro > span:first-child { display: flex; align-items: center; gap: 9px; }
.category-intro .icon { width: 17px; height: 17px; }
.category-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.category-card { position: relative; padding: 28px 24px 0; border: 1px solid #e4eadb; border-radius: 10px; background: white; min-height: 225px; }
.category-card:hover { border-color: #b4c5a5; transform: translateY(-3px); box-shadow: 0 6px 20px #6478570a; }
.category-number { position: absolute; right: 20px; top: 23px; color: #c3ccbb; letter-spacing: 1px; font-size: 9px; }
.category-icon { width: 47px; height: 47px; display: flex; align-items: center; justify-content: center; border-radius: 12px; }
.category-icon .icon { width: 25px; height: 25px; stroke-width: 1.35; }
.category-card h2 { margin-top: 22px; font-size: 15px; font-weight: 500; line-height: 1.7; overflow-wrap: anywhere; }
.category-card p { font-size: 10px; color: #abb69d; margin-top: 8px; line-height: 1.8; }
.category-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; border-top: 1px solid #eef2e8; min-height: 47px; color: #8d9f7c; font-size: 10px; }
.category-card-footer .icon { width: 15px; height: 15px; }
.gentle-note { display: flex; gap: 9px; align-items: center; color: #a4b096; font-size: 10px; line-height: 1.8; margin: 26px 0; }
.gentle-note .icon { width: 15px; height: 15px; }
.unconfigured, .library-empty { display: flex; align-items: center; justify-content: center; flex-direction: column; min-height: 470px; border: 1px solid #e5ebdd; border-radius: 12px; background: #ffffffa3; padding: 40px 20px; text-align: center; }
.empty-large-art { position: relative; width: 100px; height: 100px; border-radius: 30px; background: #f0f4eb; color: #becdb0; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; transform: rotate(-6deg); }
.empty-large-art > .icon { width: 44px; height: 44px; stroke-width: 1; }
.empty-large-art > span { position: absolute; right: -6px; top: -14px; font-size: 33px; color: #b1c29f; }
.soft-label { display: inline-block; font-size: 10px; padding: 5px 9px; color: #99ac87; background: #edf3e7; border-radius: 4px; }
.unconfigured h2, .library-empty h2 { font-size: 19px; font-weight: 500; margin: 20px 0 14px; color: #6c7e5d; }
.unconfigured p, .library-empty p { font-size: 12px; line-height: 2; color: #9ba98f; }
.empty-buttons { display: flex; gap: 13px; margin-top: 25px; }
.sku-summary { display: flex; align-items: flex-end; flex-direction: column; padding-left: 30px; border-left: 1px solid #dde6d4; }
.sku-summary strong { font-size: 30px; font-weight: 400; color: #73925f; line-height: 1.1; }
.sku-summary strong span { font-size: 16px; color: #adbba2; }
.sku-summary small { font-size: 10px; color: #9ead8e; margin-top: 8px; }
.workspace-context { display: flex; gap: 10px; align-items: center; margin: -7px 0 25px; font-size: 10px; color: #9daa90; flex-wrap: wrap; }
.workspace-context > span { display: inline-flex; align-items: center; gap: 7px; }
.workspace-context .icon { width: 14px; height: 14px; }
.context-dot { color: #bdc9b2; margin: 0 5px; }
.workspace-context .autosave { margin-left: auto; font-size: 9px; color: #9eb18d; }
.autosave .icon { width: 13px; height: 13px; }
.upload-card { background: white; border: 1px solid #e3ead9; border-radius: 10px; padding: 22px; min-width: 0; }
.upload-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.upload-title { display: flex; align-items: center; gap: 10px; }
.upload-title h2 { font-size: 14px; font-weight: 550; }
.upload-title a:hover { color: var(--green); }
.material-icon { display: flex; align-items: center; justify-content: center; width: 29px; height: 29px; color: #8aa275; border-radius: 7px; background: #f0f5ea; }
.material-icon .icon { width: 17px; height: 17px; }
.type-badge { font-size: 8px; background: #edf3e7; color: #8ba174; padding: 4px 7px; border: 1px solid #e8efdf; border-radius: 4px; white-space: nowrap; }
.type-badge.muted { background: #f8faf5; color: #a4b197; border-color: #edf1e5; }
.upload-heading-right { display: flex; gap: 15px; align-items: center; }
.capacity { color: #b0bba3; font-size: 10px; white-space: nowrap; }
.capacity strong { color: #7a9369; font-size: 14px; font-weight: 500; }
.upload-description { color: #96a785; font-size: 11px; margin: 11px 0 19px; line-height: 1.8; }
.dropzone { border: 1px dashed #d8e3cb; background: #fafcf7; color: #93a97e; border-radius: 7px; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.dropzone:hover { background: #f3f8ed; border-color: #96b47b; }
.batch-dropzone { min-height: 222px; padding: 23px 16px; }
.upload-cloud { display: flex; width: 43px; height: 43px; align-items: center; justify-content: center; border-radius: 12px; background: #eef4e7; color: #a1b88b; margin-bottom: 14px; }
.upload-cloud .icon { width: 23px; height: 23px; stroke-width: 1.4; }
.dropzone > strong { font-size: 13px; font-weight: 500; color: #7e9568; }
.dropzone > span:not(.upload-cloud):not(.button):not(.single-drop-icon):not(.add-circle) { font-size: 11px; color: #9eaf8c; margin-top: 8px; }
.dropzone > small { font-size: 9px; color: #a8b797; margin-top: 9px; }
.batch-dropzone > .button { margin-top: 17px; min-height: 31px; font-size: 10px; background: #819b6d; border-color: #819b6d; }
.upload-card-foot { display: flex; align-items: center; gap: 6px; color: #a9b69b; font-size: 9px; margin-top: 16px; line-height: 1.8; }
.upload-card-foot .icon { width: 13px; height: 13px; }
.upload-card-foot > span { margin-left: auto; font-size: 8px; }
.single-upload-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; margin-top: 21px; }
.single-upload { padding: 18px; }
.single-upload .upload-title { gap: 8px; }
.single-upload .upload-title h2 { font-size: 12px; }
.single-dropzone { margin-top: 17px; min-height: 180px; position: relative; }
.single-drop-icon { color: #b7c9a6; margin-bottom: 12px; }
.single-drop-icon .icon { width: 30px; height: 30px; stroke-width: 1.25; }
.single-dropzone > strong { font-size: 11px; }
.single-dropzone > span:not(.single-drop-icon):not(.add-circle) { font-size: 9px !important; }
.add-circle { position: absolute; right: 9px; bottom: 9px; width: 20px; height: 20px; border: 1px solid #d8e4cb; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.add-circle .icon { width: 12px; height: 12px; }
.single-card-foot { display: flex; justify-content: space-between; gap: 7px; font-size: 8px; color: #abb99c; margin-top: 14px; line-height: 1.8; }
.single-card-foot > span:last-child { white-space: nowrap; }
.material-input-types { display: flex; align-items: center; gap: 7px; }
.model-upload { grid-column: 1 / -1; }
.model-input-intro { color: #96a785; font-size: 11px; line-height: 1.8; margin: 12px 0 19px; }
.model-material-body { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 25px; }
.model-local-input { min-width: 0; border-radius: 7px; display: flex; flex-direction: column; }
.model-local-input .single-dropzone, .model-local-input .single-image { margin-top: 0; }
.model-local-input .single-dropzone { min-height: 226px; height: auto; flex: 1 1 auto; }
.model-local-input .single-image { flex: 1 1 auto; }
.model-local-input .single-image .image-preview-button { aspect-ratio: auto; height: 206px; }
.prompt-editor { min-width: 0; display: flex; flex-direction: column; }
.prompt-heading { display: flex; gap: 15px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.prompt-heading label { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #799566; font-weight: 500; }
.prompt-heading label .icon { width: 15px; height: 15px; }
.clear-prompt { font-size: 10px; color: #9eaf8f; padding: 3px 0; }
.clear-prompt:hover:not(:disabled) { color: var(--green); }
.prompt-editor textarea { display: block; width: 100%; min-height: 156px; resize: vertical; padding: 13px 15px; font-size: 12px; line-height: 1.9; border: 1px solid #dfe8d5; border-radius: 7px; background: #fcfdf9; color: #556b47; transition: border-color .18s, box-shadow .18s; }
.prompt-editor textarea::placeholder { color: #acb99e; }
.prompt-editor textarea:focus { border-color: #9cb88a; box-shadow: 0 0 0 3px #edf3e7; background: #fff; }
.prompt-editor textarea:disabled { opacity: .65; }
.prompt-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 9px; color: #a3b395; line-height: 1.8; margin-top: 9px; }
.prompt-status.save-error { color: #b58353; }
.prompt-counter { white-space: nowrap; }
.prompt-hint { color: #a6b699; font-size: 10px; line-height: 1.8; margin-top: 11px; }
.single-large.model-upload .model-material-body { gap: 30px; }
.single-large.model-upload .single-dropzone { min-height: 310px; }
.single-large.model-upload textarea { min-height: 240px; }
.single-large.model-upload .single-image .image-preview-button { height: 270px; }
.workspace-tip { margin: 26px 0 0; display: flex; align-items: center; gap: 7px; font-size: 10px; color: #9bac8d; flex-wrap: wrap; line-height: 1.8; }
.workspace-tip .icon { width: 15px; height: 15px; }
.workspace-tip > span { color: #b2bda6; margin-left: auto; font-size: 9px; }
.drag-over, .drag-over.dropzone, .drag-over.single-upload, .drag-over.batch-image-grid { outline: 2px solid #94b77b; outline-offset: 4px; background: #edf5e5; }
.single-detail-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 30px; }
.single-large { padding: 24px; }
.single-large .single-dropzone { min-height: 330px; }
.material-guide { padding: 35px 16px; }
.material-guide h2 { font-size: 20px; font-weight: 500; color: #7d916a; margin: 18px 0 14px; }
.material-guide p { font-size: 12px; color: #a3b094; line-height: 1.8; }
.material-guide ul { padding-left: 17px; color: #a2af94; font-size: 11px; line-height: 2.3; margin-top: 25px; }
.image-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 19px; }
.image-card { position: relative; min-width: 0; background: white; border: 1px solid #e5ecdd; border-radius: 8px; overflow: hidden; }
.image-preview-button { display: block; width: 100%; aspect-ratio: 1.2; padding: 10px; background: repeating-conic-gradient(#fafbf8 0% 25%, #f3f5ef 0% 50%) 50% / 16px 16px; position: relative; }
.image-preview-button > img { width: 100%; height: 100%; object-fit: contain; }
.preview-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; background: #20342044; color: white; font-size: 11px; opacity: 0; transition: opacity .2s; }
.preview-overlay .icon { width: 17px; height: 17px; }
.image-preview-button:hover .preview-overlay, .image-preview-button:focus-visible .preview-overlay { opacity: 1; }
.image-delete { position: absolute; top: 8px; right: 8px; width: 27px; height: 27px; display: flex; align-items: center; justify-content: center; background: #ffffffeb; color: #9caa8c; border: 1px solid #e1e9d9; border-radius: 6px; opacity: 0; }
.image-select { position: absolute; top: 8px; left: 8px; z-index: 2; display: flex; align-items: center; gap: 5px; padding: 5px 7px; border: 1px solid #dfe9d5; border-radius: 6px; background: #fffffff0; color: #7f986d; font-size: 9px; line-height: 1; cursor: pointer; }
.image-select input { width: 13px; height: 13px; accent-color: var(--green); margin: 0; }
.batch-selection-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0 0 14px; }
.batch-selection-tools .text-link { display: inline-flex; align-items: center; gap: 4px; padding: 2px 0; }
.batch-selection-tools .text-link:disabled { opacity: .45; cursor: not-allowed; }
.batch-selection-tools .icon { width: 13px; height: 13px; }
.selectable-image-card .image-delete { opacity: 1; }
.image-delete .icon { width: 14px; height: 14px; }
.image-card:hover .image-delete, .image-card:focus-within .image-delete { opacity: 1; }
.image-delete:hover { color: #b46d60; background: #fdf3ef; }
.image-info { padding: 11px 12px; }
.image-info > strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #7d8c70; font-size: 10px; font-weight: 500; }
.image-info > span { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #a7b498; font-size: 8px; margin-top: 7px; }
.image-info > span > span { font-size: 7px; }
.batch-image-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 13px; border-radius: 6px; }
.batch-image-grid .image-preview-button { aspect-ratio: 1; }
.batch-image-grid .image-info { padding: 9px; }
.batch-image-grid .image-info > span > span { display: none; }
.add-image-slot { border: 1px dashed #d6e3c9; border-radius: 8px; color: #a4b890; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 150px; background: #fafcf7; padding: 13px; }
.add-image-slot:hover { background: #f0f6e9; border-color: #9bbd80; }
.add-image-slot > .icon { width: 26px; height: 26px; stroke-width: 1; }
.add-image-slot > span { font-size: 11px; margin-top: 12px; }
.add-image-slot > small { font-size: 9px; margin-top: 7px; color: #b3c2a3; }
.single-image { margin-top: 17px; position: relative; }
.material-history { position: relative; margin-top: 12px; }
.material-history summary { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; color: #698258; font-size: 12px; background: #f8fbf5; list-style: none; }
.material-history summary::-webkit-details-marker { display: none; }
.material-history summary > img { width: 30px; height: 30px; object-fit: contain; background: white; border-radius: 4px; }
.material-history summary > span { flex: 1; }
.material-history summary small { color: #8b977e; margin-left: 5px; }
.material-history-options { position: absolute; top: calc(100% + 5px); left: 0; right: 0; z-index: 45; max-height: 310px; overflow-y: auto; padding: 6px; border: 1px solid var(--line); border-radius: 9px; background: white; box-shadow: 0 8px 25px #31493620; }
.material-history-options > p { padding: 12px; font-size: 12px; line-height: 1.8; color: #8b977e; }
.material-history-row { display: flex; align-items: center; border-radius: 6px; }
.material-history-row:hover, .material-history-row:has([aria-current="true"]) { background: #edf5e5; }
.material-history-row > button:first-child { display: flex; gap: 9px; align-items: center; padding: 8px; flex: 1; min-width: 0; text-align: left; }
.material-history-row img { width: 48px; height: 48px; object-fit: contain; background: #fafbf7; border-radius: 5px; flex-shrink: 0; }
.material-history-row span { min-width: 0; flex: 1; }
.material-history-row strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 500; color: #56774e; }
.material-history-row small { display: block; margin-top: 5px; font-size: 10px; color: #8b977e; }
.prompt-actions { display: flex; align-items: center; gap: 10px; }
.save-prompt-history { padding: 4px 2px; color: #718d61; font-size: 10px; white-space: nowrap; }
.save-prompt-history:hover { color: #4f724b; }
.save-prompt-history:disabled { color: #b5bdae; cursor: not-allowed; }
.prompt-history { margin-top: 12px; border: 1px solid #e4ebdc; border-radius: 7px; background: #fbfdf8; }
.prompt-history > summary { display: flex; align-items: center; gap: 8px; padding: 9px 11px; list-style: none; cursor: pointer; color: #6b8659; font-size: 10px; }
.prompt-history > summary::-webkit-details-marker { display: none; }
.prompt-history > summary small { margin-left: auto; color: #a0ad93; font-size: 9px; }
.prompt-history > summary > .icon { width: 13px; height: 13px; }
.prompt-history-list { border-top: 1px solid #e8eee2; max-height: 260px; overflow-y: auto; }
.prompt-history-list > p { padding: 11px; color: #9aa88d; font-size: 10px; }
.prompt-history-row { display: flex; align-items: center; gap: 7px; padding: 7px 9px; border-bottom: 1px solid #edf1e8; }
.prompt-history-row:last-child { border-bottom: 0; }
.prompt-history-use { display: grid; gap: 4px; flex: 1; min-width: 0; text-align: left; color: #667d58; }
.prompt-history-use strong { font-size: 10px; line-height: 1.6; font-weight: 450; overflow-wrap: anywhere; }
.prompt-history-use small { color: #a0ad93; font-size: 8px; }
.prompt-history-row > .icon-button { width: 28px; height: 28px; flex: 0 0 28px; color: #9ba98e; }
.prompt-history-row > .icon-button:hover { color: #b46d60; background: #fdf3ef; }
.sku-composition-options { margin: 16px 0; }
.visual-confirmation { padding: 18px; border: 1px solid #cfdfc4; border-radius: 10px; margin-top: 16px; background: #f9fcf6; }
.visual-confirmation > p { font-size: 12px; line-height: 1.9; margin: 10px 0; color: #638357; }
.visual-calibration-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 15px 0; }
.visual-calibration-card { padding: 10px; background: white; border: 1px solid var(--line); border-radius: 8px; min-width: 0; }
.visual-calibration-card h4 { font-size: 12px; overflow-wrap: anywhere; margin: 0 0 8px; color: #56774e; }
.visual-image-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.visual-image-pair img { width: 100%; display: block; aspect-ratio: 1; object-fit: contain; }
.visual-image-pair > button { align-self: start; }
.visual-source { position: relative; background: white; cursor: crosshair; touch-action: none; user-select: none; }
.visual-source svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.visual-box-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 9px; }
.visual-box-actions button, .visual-box-actions select { border: 1px solid var(--line); padding: 5px 6px; border-radius: 5px; font-size: 11px; background: white; color: #56774e; }
.visual-box-actions button[aria-pressed="true"] { background: #eaf3e4; border-color: #a6c48f; }
.visual-box-actions label { display: flex; align-items: center; gap: 4px; font-size: 10px; color: #7c906e; }
.visual-enlarged-preview { display: block; width: 100%; max-height: 75vh; object-fit: contain; }
.visual-protection { margin: 16px 0; padding: 14px; border: 1px solid #dfd9bd; border-radius: 8px; background: #fffef9; }
.visual-protection h4 { margin: 0; font-size: 14px; color: #55774d; }
.visual-protection p { font-size: 12px; line-height: 1.8; color: #657454; }
.visual-protection-grid { display: grid; grid-template-columns: minmax(0, 560px) minmax(160px, 1fr); gap: 14px; align-items: start; }
.visual-scene img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; }
.visual-protection-controls { max-height: 560px; overflow: auto; }
.visual-protection-controls button { border: 1px solid var(--line); padding: 7px; border-radius: 5px; background: white; color: #56774e; font-size: 12px; overflow-wrap: anywhere; }
.visual-protection-controls button[aria-pressed="true"] { background: #eaf3e4; border-color: #a6c48f; }
.visual-region-row { display: flex; gap: 6px; margin: 6px 0; }
.visual-region-row button:first-child { flex: 1; text-align: left; }
@media (max-width: 700px) { .visual-protection-grid { grid-template-columns: 1fr; } .visual-protection { padding: 8px; } .visual-protection-controls { max-height: 220px; } }
@media (max-width: 700px) { .visual-calibration-grid { grid-template-columns: 1fr; } .visual-confirmation { padding: 11px; } }
.single-image .image-preview-button { aspect-ratio: 1.45; }
.single-image .image-info { padding-bottom: 40px; }
.replace-image { position: absolute; bottom: 10px; left: 12px; display: flex; gap: 5px; align-items: center; font-size: 9px; color: #94a77f; }
.replace-image .icon { width: 12px; height: 12px; }
.replace-image:hover { color: var(--green); }
.single-large .image-preview-button { aspect-ratio: 1.2; }
.library-toolbar { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e1e8d7; margin-bottom: 22px; gap: 20px; }
.filter-tabs { display: flex; gap: 18px; flex-wrap: wrap; }
.filter-tabs button { border-bottom: 2px solid transparent; padding: 12px 0 15px; font-size: 11px; color: #9bac8a; display: flex; align-items: center; gap: 7px; }
.filter-tabs button > span { font-size: 9px; padding: 2px 5px; border-radius: 4px; background: #edf3e7; color: #a1b48e; }
.filter-tabs button.active { border-bottom-color: #7f9d69; color: #6c8a57; font-weight: 500; }
.sort-label { display: flex; align-items: center; gap: 5px; font-size: 9px; color: #a6b597; white-space: nowrap; }
.sort-label .icon { width: 12px; height: 12px; }
.library-summary { display: flex; justify-content: space-between; margin-bottom: 16px; font-size: 10px; color: #9bab8c; }
.library-summary > span { font-size: 9px; color: #b0bda4; }
.library-empty { border-style: dashed; min-height: 440px; background: #fbfdf8; }
.library-empty .button { margin-top: 25px; }
.guide-intro { display: flex; align-items: center; gap: 18px; padding: 26px; border-radius: 10px; background: #edf3e7; border: 1px solid #e0e9d5; margin-bottom: 25px; }
.guide-intro h2 { font-size: 16px; font-weight: 500; color: #728c5d; }
.guide-intro p { font-size: 11px; color: #a4b594; margin-top: 10px; }
.guide-intro > .soft-label { margin-left: auto; white-space: nowrap; background: #f9fcf5; }
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.guide-card { padding: 26px; border: 1px solid #e1e9d7; border-radius: 9px; background: #fff; }
.guide-step { font: 22px Georgia, serif; color: #b5c6a3; }
.guide-card h2 { font-size: 16px; font-weight: 500; color: #7e9569; margin-top: 16px; }
.guide-card p { font-size: 12px; color: #a2b192; line-height: 2; margin-top: 13px; }
.guide-path { margin-top: 20px; padding-top: 16px; border-top: 1px solid #edf2e6; font-size: 10px; color: #a8b99a; line-height: 1.8; }
.guide-note { display: flex; gap: 13px; margin-top: 26px; padding: 22px; border-radius: 9px; background: #f0f4e9; border: 1px solid #e4ebda; color: #99ad85; }
.guide-note > .icon { width: 18px; height: 18px; }
.guide-note strong { font-size: 12px; font-weight: 500; }
.guide-note p { font-size: 11px; line-height: 2; margin-top: 8px; }
.prompt-guide-note { margin: 0 0 25px; }
.storage-warning { display: flex; align-items: center; gap: 10px; font-size: 11px; color: #9d7e49; background: #fbf4e4; padding: 12px 38px; line-height: 1.9; border-bottom: 1px solid #efe3c6; }
.storage-warning > .icon { width: 17px; height: 17px; }
.storage-warning > button { margin-left: auto; white-space: nowrap; display: flex; gap: 6px; align-items: center; }
.storage-warning > button .icon { width: 14px; height: 14px; }
.modal-open { overflow: hidden; }
.modal-overlay { position: fixed; inset: 0; z-index: 100; background: #26332866; backdrop-filter: blur(5px); display: flex; align-items: center; justify-content: center; padding: 30px; animation: fade-in .15s ease-out; }
.modal-panel { border-radius: 14px; background: #fdfefa; width: 520px; max-width: 100%; max-height: calc(100dvh - 60px); overflow-y: auto; box-shadow: 0 20px 100px #172d2033; padding: 29px; }
.modal-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.modal-heading h2 { font-size: 20px; font-weight: 500; color: #617851; }
.modal-heading .eyebrow { font-size: 8px; margin-bottom: 9px; }
.modal-description { color: #9bad8b; font-size: 11px; line-height: 1.9; margin-top: 14px; overflow-wrap: anywhere; }
.upload-choices { display: flex; flex-direction: column; gap: 10px; margin-top: 23px; }
.upload-choices > button { display: flex; gap: 12px; align-items: center; border: 1px solid #e1eada; border-radius: 8px; padding: 14px; text-align: left; background: white; }
.upload-choices > button:hover { border-color: #abc598; background: #f7fbf2; }
.choice-icon { display: flex; width: 38px; height: 38px; align-items: center; justify-content: center; background: #edf4e6; color: #9ab683; border-radius: 9px; }
.choice-icon .icon { width: 21px; height: 21px; }
.upload-choices strong { font-size: 13px; font-weight: 500; color: #76955f; }
.upload-choices small { display: block; margin-top: 6px; font-size: 9px; color: #acbc9d; }
.choice-count { font-size: 10px; color: #adbd9e; margin-left: auto; }
.upload-choices > button > .icon { width: 14px; height: 14px; color: #a9ba99; }
.preview-modal { width: 1050px; padding: 0; overflow: hidden; }
.preview-heading { display: flex; gap: 20px; align-items: center; justify-content: space-between; padding: 21px 26px; background: #fcfdf9; }
.preview-heading h2 { font-size: 14px; font-weight: 500; color: #698258; overflow-wrap: anywhere; }
.preview-heading p { font-size: 9px; color: #a5b499; margin-top: 8px; line-height: 1.8; }
.preview-stage { position: relative; height: min(64vh, 680px); display: flex; justify-content: center; align-items: center; background: repeating-conic-gradient(#f3f5ee 0% 25%, #eaf0e1 0% 50%) 50% / 24px 24px; padding: 25px 65px; }
.preview-stage > img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 2px 20px #3956240a; }
.preview-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: #ffffffd9; color: #809b68; display: flex; align-items: center; justify-content: center; border: 1px solid #e3ebd9; }
.preview-nav:hover { background: white; box-shadow: 0 3px 15px #496b3022; }
.preview-nav.prev { left: 16px; }
.preview-nav.prev .icon { transform: rotate(180deg); }
.preview-nav.next { right: 16px; }
.preview-nav .icon { width: 17px; height: 17px; }
.preview-footer { display: flex; gap: 15px; align-items: center; justify-content: space-between; padding: 16px 26px; }
.preview-footer > span { font-size: 10px; color: #a0b28f; }
.confirm-modal { width: 450px; }
.delete-preview, .restore-summary { display: flex; align-items: center; gap: 15px; margin-top: 24px; background: #f3f7ec; padding: 14px; border: 1px solid #e7eedf; border-radius: 8px; min-width: 0; }
.delete-preview > img { width: 65px; height: 65px; object-fit: contain; background: white; border-radius: 4px; flex-shrink: 0; }
.delete-preview strong, .restore-summary strong { font-size: 12px; font-weight: 500; color: #8ba473; overflow-wrap: anywhere; }
.delete-preview p, .restore-summary p { font-size: 10px; color: #b1c09f; margin-top: 8px; overflow-wrap: anywhere; }
.restore-summary > .icon { width: 32px; height: 32px; color: #a5bd8d; stroke-width: 1.2; }
.modal-buttons { display: flex; gap: 12px; justify-content: flex-end; margin-top: 25px; }
.modal-buttons .button { font-size: 11px; min-height: 36px; }
.toast-root { position: fixed; left: calc(var(--sidebar-width) + (100vw - var(--sidebar-width)) / 2); bottom: 32px; z-index: 150; transform: translateX(-50%); max-width: calc(100vw - 35px); pointer-events: none; }
.toast { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid #dae7d0; box-shadow: 0 5px 35px #35572a1a; border-radius: 9px; padding: 10px 12px 10px 16px; color: #7d9c66; font-size: 12px; white-space: nowrap; pointer-events: auto; animation: toast-in .2s ease-out; }
.toast > .icon { width: 17px; height: 17px; }
.toast > .icon-button { width: 26px; height: 26px; margin-left: 10px; }
.toast > .icon-button .icon { width: 14px; height: 14px; }
.toast-error { border-color: #eed9c4; color: #ad8763; }
.is-busy .dropzone, .is-busy .add-image-slot, .is-busy .replace-image { cursor: wait; opacity: .65; }
.noscript { padding: 30px; text-align: center; color: var(--green); }
.skill-panel { padding: 22px; margin: 0 0 24px; background: linear-gradient(115deg, #edf3e7, #f6f9f1); border: 1px solid #dfe8d5; border-radius: 11px; }
.skill-panel.skill-panel-fold { padding: 0; }
.skill-panel-summary { display: flex; align-items: center; gap: 13px; padding: 22px; list-style: none; cursor: pointer; }
.skill-panel-summary::-webkit-details-marker { display: none; }
.skill-panel-summary > div { flex: 1; min-width: 0; }
.skill-panel-summary h2 { font-size: 15px; font-weight: 550; color: #627d51; }
.skill-panel-summary h2 > span { font-size: 8px; margin-left: 8px; padding: 3px 7px; border-radius: 4px; background: #e0ecd6; color: #7b9666; font-weight: 400; vertical-align: 1px; }
.skill-panel-summary p { font-size: 10px; color: #9bab8c; margin-top: 7px; line-height: 1.8; }
.skill-panel-summary > .fold-chevron { color: #82986f; width: 17px; height: 17px; transition: transform .2s; }
.skill-panel-fold[open] > .skill-panel-summary { border-bottom: 1px solid #dfe8d5; }
.skill-panel-content { padding: 0 22px 22px; }
.skill-panel-toolbar { display: flex; align-items: center; justify-content: flex-end; padding-top: 14px; }
.skill-panel-top { display: flex; align-items: center; gap: 13px; }
.skill-panel-icon { width: 41px; height: 41px; display: flex; align-items: center; justify-content: center; color: #839e6d; border-radius: 12px; background: #fafff4; border: 1px solid #e0e9d5; }
.skill-panel-icon .icon { width: 23px; height: 23px; stroke-width: 1.3; }
.skill-panel-top h2 { font-size: 15px; font-weight: 550; color: #627d51; }
.skill-panel-top h2 > span { font-size: 8px; margin-left: 8px; padding: 3px 7px; border-radius: 4px; background: #e0ecd6; color: #7b9666; font-weight: 400; vertical-align: 1px; }
.skill-panel-top p { font-size: 10px; color: #9bab8c; margin-top: 7px; line-height: 1.8; }
.skill-panel-top > .button { margin-left: auto; }
.skill-materials { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.skill-materials > span { display: flex; align-items: center; gap: 5px; font-size: 10px; color: #a5b298; background: #fbfdf8; border: 1px solid #e5eddd; border-radius: 5px; padding: 10px; white-space: nowrap; }
.skill-materials > span > .icon { width: 13px; height: 13px; color: #b2c2a2; }
.skill-materials strong { margin-left: auto; font-weight: 400; font-size: 9px; color: #b1bca6; }
.skill-materials > span.ready { color: #6b8958; border-color: #d2e0c5; background: #f7fcf0; }
.skill-materials > span.ready > .icon, .skill-materials > span.ready > strong { color: #87a56e; }
.skill-panel-bottom { display: flex; align-items: center; gap: 20px; margin-top: 18px; }
.skill-panel-bottom > div:first-child { flex: 1; min-width: 0; }
.skill-selected-model { color: #87a173; font-size: 11px; overflow-wrap: anywhere; }
.sku-launch-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: -10px 0 12px; padding: 13px 16px; border: 1px solid #dfe8d5; border-radius: 7px; background: #fff; }
.sku-launch-bar > div { min-width: 0; }
.sku-launch-bar p { margin-top: 4px; color: #9aa990; font-size: 10px; line-height: 1.6; }
.sku-launch-bar .button { flex: 0 0 auto; }
.skill-panel-bottom p { color: #a3b295; font-size: 9px; line-height: 1.8; margin-top: 6px; }
.skill-panel-bottom .button { font-size: 11px; }
.sku-background-picker { display: inline-flex; align-items: center; gap: 8px; color: #718d61; font-size: 10px; font-weight: 600; white-space: nowrap; }
.sku-background-picker select { min-width: 76px; padding: 8px 24px 8px 10px; border: 1px solid #d6e3ca; border-radius: 6px; background: #fbfdf8; color: #617c52; font: inherit; cursor: pointer; }
.sku-background-picker select:focus { outline: 2px solid rgba(148,177,127,.32); outline-offset: 1px; }
.sku-model-watch-toggle { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 10px; border: 1px solid #d6e3ca; border-radius: 6px; background: #fbfdf8; color: #718d61; font-size: 10px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.sku-model-watch-toggle:hover { border-color: #a9c58f; background: #f7fcf0; }
.sku-model-watch-toggle input { appearance: none; position: relative; width: 30px; height: 17px; flex: 0 0 30px; margin: 0; border: 0; border-radius: 999px; background: #dfe8d5; cursor: pointer; transition: background .2s; }
.sku-model-watch-toggle input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 11px; height: 11px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(72,96,58,.18); transition: transform .2s; }
.sku-model-watch-toggle input:checked { background: #87a572; }
.sku-model-watch-toggle input:checked::after { transform: translateX(13px); }
.sku-model-watch-toggle input:focus-visible { outline: 2px solid rgba(148,177,127,.32); outline-offset: 2px; }
.sku-model-watch-toggle:has(input:disabled) { cursor: default; opacity: .68; }
.sku-generation-mode { border: 0; padding: 0; margin: 16px 0 0; min-width: 0; }
.sku-generation-mode legend { color: #718d61; font-size: 10px; font-weight: 600; padding: 0; }
.sku-generation-mode-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.sku-generation-mode-option { display: flex; align-items: flex-start; gap: 8px; min-width: 0; padding: 9px 10px; border: 1px solid #dfe8d5; border-radius: 8px; background: rgba(255,255,255,.58); cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.sku-generation-mode-option:hover { border-color: #adc39e; background: #fbfff8; }
.sku-generation-mode-option.selected { border-color: #94b17f; background: #f6fbf0; box-shadow: inset 0 0 0 1px rgba(148,177,127,.14); }
.sku-generation-mode-option input { margin: 2px 0 0; accent-color: #7f9e69; }
.sku-generation-mode-option span { display: grid; min-width: 0; gap: 3px; }
.sku-generation-mode-option strong { color: #617c52; font-size: 10px; font-weight: 600; }
.sku-generation-mode-option small { color: #9aa990; font-size: 9px; line-height: 1.45; }
.sku-generation-mode[disabled] .sku-generation-mode-option { cursor: default; opacity: .68; }
.sku-generation-mode .field-help { margin: 8px 0 0; }
.sku-template-panel { margin-top: 16px; padding-top: 15px; border-top: 1px solid #dfe8d5; }
.sku-template-heading { display: flex; align-items: center; gap: 12px; }
.sku-template-heading > div { flex: 1; min-width: 0; }
.sku-template-heading strong { color: #627d51; font-size: 11px; font-weight: 600; }
.sku-template-heading p { margin-top: 4px; color: #91a185; font-size: 9px; line-height: 1.7; }
.sku-template-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.sku-template-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; background: #fbfdf8; border: 1px solid #e5eddd; border-radius: 6px; }
.sku-template-row.selected { border-color: #a9c58f; background: #f4faed; }
.sku-template-row > div:first-child { flex: 1; min-width: 0; }
.sku-template-row strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #6b8958; font-size: 10px; font-weight: 550; }
.sku-template-row small { display: block; margin-top: 4px; color: #a0ae96; font-size: 8px; }
.sku-template-actions { display: flex; align-items: center; gap: 5px; }
.sku-template-actions .icon-button { width: 25px; height: 25px; color: #a5b49d; }
.generation-progress { height: 4px; background: #e0e9d7; border-radius: 3px; margin-top: 18px; overflow: hidden; }
.generation-progress > span { display: block; height: 100%; background: #87a572; transition: width .3s; }
.connection-state { padding: 8px 11px; border: 1px solid #e2e9d9; border-radius: 6px; color: #a6b297; font-size: 10px; display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.connection-state .status-dot { background: #bac6ae; }
.connection-state.connected { background: #edf5e7; color: #7b9664; border-color: #d8e5cb; }
.connection-state.connected .status-dot { background: #87a66f; }
.connection-notice { padding: 14px 18px; background: #fbf4e5; color: #aa9161; font-size: 11px; line-height: 1.9; border: 1px solid #efe3c6; border-radius: 8px; margin-bottom: 23px; }
.api-settings-form { max-width: 1060px; }
.settings-card { background: #fff; border: 1px solid #e1e9d8; border-radius: 11px; margin-bottom: 23px; }
.settings-card-title { display: flex; align-items: center; gap: 14px; padding: 23px 26px; border-bottom: 1px solid #edf2e6; }
.settings-number { font: 26px Georgia, serif; color: #b4c6a2; }
.settings-card-title h2 { font-size: 15px; color: #708b5c; font-weight: 500; }
.settings-card-title p { color: #a4b396; font-size: 10px; line-height: 1.8; margin-top: 6px; }
.settings-card-title > .icon { width: 23px; height: 23px; color: #b0c49b; margin-left: auto; stroke-width: 1.3; }
.settings-fold-card { overflow: hidden; }
.settings-card-summary { display: flex; align-items: center; gap: 14px; padding: 23px 26px; list-style: none; cursor: pointer; }
.settings-card-summary::-webkit-details-marker { display: none; }
.settings-card-summary > div { flex: 1; min-width: 0; }
.settings-card-summary h2 { font-size: 15px; color: #708b5c; font-weight: 500; }
.settings-card-summary p { color: #a4b396; font-size: 10px; line-height: 1.8; margin-top: 6px; }
.settings-card-summary > .icon { width: 23px; height: 23px; color: #b0c49b; margin-left: auto; stroke-width: 1.3; }
.settings-card-summary > .fold-chevron { width: 16px; height: 16px; transition: transform .2s; }
.settings-card-summary > .icon:not(.fold-chevron) { transform: none; }
.settings-fold-card[open] > .settings-card-summary { border-bottom: 1px solid #edf2e6; }
.model-purpose-list { display: grid; gap: 14px; }
.model-purpose-list > div { display: grid; grid-template-columns: minmax(150px, .7fr) minmax(0, 2fr); gap: 15px; padding-bottom: 14px; border-bottom: 1px solid #edf2e6; font-size: 11px; line-height: 1.8; }
.model-purpose-list > div:last-child { padding-bottom: 0; border-bottom: 0; }
.model-purpose-list strong { color: #6f895d; font-weight: 550; }
.model-purpose-list span { color: #8c9d80; }
.settings-fields { padding: 24px 26px; }
.field-label { display: flex; gap: 14px; align-items: center; font-size: 12px; color: #799466; font-weight: 500; margin: 0 0 10px; }
.field-label > span { font-size: 9px; font-weight: 400; color: #b0bea0; }
.text-input { width: 100%; border: 1px solid #dfe8d5; border-radius: 6px; background: #fcfdf9; padding: 12px 13px; font-size: 12px; color: #688053; outline: none; }
.text-input:focus { border-color: #98b582; box-shadow: 0 0 0 3px #eff5e9; background: #fff; }
.text-input::placeholder { color: #b2c0a3; }
.field-help { color: #a3b395; font-size: 10px; line-height: 1.9; margin: 9px 0 22px; }
.field-help:last-child { margin-bottom: 0; }
.secret-input { border: 1px solid #dfe8d5; background: #fcfdf9; border-radius: 6px; display: flex; align-items: center; padding-right: 13px; }
.secret-input:focus-within { border-color: #98b582; box-shadow: 0 0 0 3px #eff5e9; }
.secret-input > input { flex: 1; width: 100%; min-width: 0; border: 0; background: none; padding: 12px 13px; color: #688053; font-size: 12px; }
.secret-input > input::placeholder { color: #b2c0a3; }
.secret-input > button { font-size: 10px; color: #a4b594; flex-shrink: 0; padding: 4px; }
.connection-buttons { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.connection-buttons .button { font-size: 11px; }
.model-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.model-list-count { padding: 11px 14px; background: #f4f8ed; border: 1px solid #e5eddb; border-radius: 6px; color: #a2b491; font-size: 10px; line-height: 1.9; margin: 0 0 22px; }
.compact-fields .field-help { margin-bottom: 10px; }
.capability-checkbox { display: flex; align-items: flex-start; gap: 8px; padding: 13px 0 0; color: #8ca176; font-size: 11px; line-height: 1.8; }
input[type="checkbox"] { width: 15px; height: 15px; accent-color: #7e9c68; flex-shrink: 0; cursor: pointer; }
.settings-submit { display: flex; justify-content: flex-end; gap: 12px; padding-top: 3px; }
.results-summary { display: flex; gap: 28px; align-items: center; padding: 20px 24px; background: #f0f5e9; border: 1px solid #e1ead6; border-radius: 9px; margin-bottom: 25px; }
.results-summary > span { font-size: 11px; color: #a5b693; }
.results-summary strong { font-size: 23px; font-weight: 400; color: #829f6b; padding-right: 5px; }
.results-summary .text-link { margin-left: auto; background: none; }
.result-batch-group { margin: 0 0 30px; }
.result-batch-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 20px; margin-bottom: 14px; border: 1px solid #e1ead6; border-radius: 9px; background: #f8fbf4; }
.result-batch-heading h2 { color: #7d986c; font-size: 15px; font-weight: 500; }
.result-batch-heading p { margin-top: 6px; color: #a3b395; font-size: 10px; }
.result-batch-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.result-batch-actions .button { white-space: nowrap; }
.result-batch-actions .button-danger { color: #b47d6f; border-color: #ecd9d1; background: #fffaf8; }
.result-batch-actions .button-danger:hover { color: #a95f50; background: #fdf1ed; }
.template-preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.template-preview-grid figure { margin: 0; min-width: 0; }
.template-preview-grid img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; border: 1px solid #e3ebdc; border-radius: 7px; background: #f7faf4; }
.template-preview-grid figcaption { margin-top: 8px; color: #8fa681; font-size: 10px; text-align: center; }
.reuse-details { margin-top: 16px; padding: 14px; border: 1px solid #dfe8d8; border-radius: 7px; background: #fbfdf8; }
.reuse-details h4 { color: #627d51; font-size: 12px; }
.reuse-details > p { margin: 6px 0 10px; color: #8b9d7f; font-size: 10px; line-height: 1.7; }
.reuse-details ul { list-style: none; padding: 0; margin: 0; }
.reuse-details li { display: grid; grid-template-columns: minmax(100px, 1fr) minmax(0, 2fr); gap: 14px; padding: 10px 0; border-top: 1px solid #e7edde; font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.reuse-details strong, .reuse-details small { display: block; }
.reuse-details small, .reuse-details li p { color: #8b9d7f; font-size: 10px; }
.reuse-details li span { color: #607d4e; }
.reuse-details summary, .production-details summary, .sku-template-panel > summary { display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; color: #56744c; font-size: 12px; font-weight: 600; }
.reuse-details summary::-webkit-details-marker, .production-details summary::-webkit-details-marker, .sku-template-panel > summary::-webkit-details-marker { display: none; }
.reuse-details summary > span, .production-details summary > span, .sku-template-panel > summary > span { margin-left: auto; font-size: 10px; font-weight: 400; color: #8b9d7f; }
details[data-sku-fold][open] > summary > .icon { transform: rotate(180deg); }
.production-details { margin-top: 16px; border: 1px solid #dfe8d8; border-radius: 7px; padding: 14px; background: #fbfdf8; }
.production-details ol { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 9px; }
.production-details li { display: flex; align-items: flex-start; gap: 10px; padding: 10px; border-radius: 6px; background: #f3f7ef; overflow-wrap: anywhere; }
.production-details li[data-step-status="running"] { background: #e8f1e0; border: 1px solid #c7dabc; }
.production-details li[data-step-status="failed"] { color: #a3654d; background: #fff4eb; }
.production-step-icon { display: inline-flex; flex-shrink: 0; color: #769564; }
.production-details strong { font-size: 11px; line-height: 1.7; }
.production-details p { margin: 3px 0 0; color: #8a9b80; font-size: 10px; line-height: 1.7; }
.is-loading { display: inline-flex; animation: task-spin 1.1s linear infinite; }
.request-loading { vertical-align: middle; margin-right: 6px; }
.sku-template-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0 4px; }
.sku-template-toolbar p { color: #8b9d7f; font-size: 10px; line-height: 1.7; }
.sku-template-list .sku-template-row { display: grid; grid-template-columns: minmax(0, 1fr); padding: 10px; gap: 10px; }
.sku-template-thumbnail { width: 100%; height: 190px; border: 1px solid #e1e9da; border-radius: 6px; background: #f7faf4; overflow: hidden; cursor: zoom-in; }
.sku-template-thumbnail img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sku-template-info { min-width: 0; }
.sku-template-actions { justify-content: space-between; }
.model-source-options { display: flex; flex-wrap: wrap; gap: 12px; margin: 14px 0; }
.model-source-options label { display: flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid #dce7d3; border-radius: 7px; font-size: 11px; color: #6c875d; cursor: pointer; }
.model-source-options input { accent-color: #6c8e58; }
.layout-frame-options { margin: 14px 0 0; padding: 0; border: 0; }
.layout-frame-options legend { padding: 0; color: var(--ink-soft); font-size: 11px; font-weight: 650; }
.layout-frame-options .model-source-options { margin: 8px 0 6px; }
.layout-frame-options .field-help { margin: 0; }
.model-material-body > .model-local-input, .model-material-body > .model-prompt-input { min-width: 0; padding: 14px; border: 1px solid #e3eadc; border-radius: 9px; background: #fcfdf9; }
.model-material-body > .source-selected { border-color: #adc49c; background: #f6faef; }
.model-local-input .material-history { flex: 0 0 auto; margin: 12px -14px -14px; width: auto; border-top: 1px solid #e3eadc; }
.model-local-input .material-history summary { min-height: 48px; padding: 8px 14px; border: 0; border-radius: 0 0 8px 8px; background: transparent; }
.model-local-input .material-history summary:hover, .model-local-input .material-history[open] summary { background: #f1f6eb; }
.model-local-input .material-history[open] summary { border-radius: 0; }
.model-local-input .material-history-options { position: static; width: auto; max-height: 260px; overflow-y: auto; margin: 0; padding: 6px 9px 9px; border: 0; border-top: 1px solid #e3eadc; border-radius: 0 0 8px 8px; background: #fff; box-shadow: none; }
.model-local-input .material-history:not([open]) > .material-history-options { display: none; }
.model-prompt-input .prompt-editor { border: 0; padding: 0; background: transparent; }
@media (max-width: 600px) { .reuse-details li { grid-template-columns: 1fr; gap: 3px; } }
.result-layout-warning, .result-card-info > .result-layout-warning { color: #986c35; background: #fff8e9; padding: 10px; border-radius: 6px; font-size: 11px; line-height: 1.8; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .template-preview-grid { grid-template-columns: 1fr; }
  .sku-template-actions { flex-wrap: wrap; }
}
.results-running { padding: 15px 20px; border: 1px solid #dfe9d3; background: #f9fcf5; border-radius: 8px; color: #91a77d; font-size: 11px; display: flex; align-items: center; gap: 9px; margin-bottom: 23px; }
.sku-results-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sku-result-card { border: 1px solid #e1e9d7; border-radius: 10px; background: white; overflow: hidden; min-width: 0; }
.result-image { width: 100%; display: block; aspect-ratio: 1; padding: 0; position: relative; background: #f5f8f0; }
.result-image > img { width: 100%; height: 100%; object-fit: contain; }
.result-image > span { position: absolute; inset: 0; display: flex; gap: 8px; align-items: center; justify-content: center; color: white; background: #2d402d55; opacity: 0; font-size: 12px; transition: opacity .15s; }
.result-image:hover > span, .result-image:focus-visible > span { opacity: 1; }
.result-card-info { padding: 17px; }
.result-card-info > div:first-child { display: flex; align-items: center; gap: 10px; }
.result-card-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: #7e966b; font-weight: 500; }
.result-status { font-size: 8px; white-space: nowrap; padding: 4px 6px; border-radius: 4px; margin-left: auto; }
.result-status.success { color: #7e9e65; background: #edf5e6; }
.result-status.review { color: #b59b69; background: #fbf5e9; }
.result-status.failed { color: #ba8f7d; background: #fbf0e9; }
.result-card-info > p { font-size: 10px; color: #a7b897; margin-top: 10px; line-height: 1.8; overflow-wrap: anywhere; }
.result-card-info > small { display: block; font-size: 9px; color: #b4c2a6; margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.result-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 15px; padding-top: 11px; border-top: 1px solid #edf2e6; }
.result-card-actions > button { display: flex; align-items: center; gap: 5px; font-size: 10px; color: #91aa7a; padding: 2px 0; }
.result-card-actions > button:hover { color: var(--green); }
.result-card-actions > button:first-child { margin-right: auto; }
.result-card-actions .icon { width: 14px; height: 14px; }
.result-no-image { aspect-ratio: 1.4; background: #f9faf5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 17px; color: #bbc5ad; font-size: 12px; }
.result-no-image > .icon { width: 37px; height: 37px; stroke-width: 1.2; }
.review-modal { width: 1050px; }
.review-images { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; margin-top: 23px; }
.review-images > figure { margin: 0; padding: 10px; border: 1px solid #e2ebd8; background: white; border-radius: 7px; }
.review-images img { width: 100%; max-height: 380px; object-fit: contain; }
.review-images figcaption { font-size: 10px; color: #a5b797; text-align: center; margin-top: 11px; }
.review-images .review-watch { width: 140px; grid-column: 1 / -1; }
.review-images .review-watch img { max-height: 100px; }
.review-references { grid-column: 1 / -1; display: flex; gap: 12px; flex-wrap: wrap; }
.review-references figure { margin: 0; padding: 9px; border: 1px solid #e2ebd8; border-radius: 6px; background: white; width: 128px; }
.review-references img { width: 100%; height: 94px; object-fit: contain; }
.review-auto-note { padding: 16px; background: #f0f5e8; border: 1px solid #e4ecda; border-radius: 7px; margin-top: 20px; }
.review-auto-note strong { font-size: 12px; font-weight: 500; color: #8aa375; }
.review-auto-note p { font-size: 10px; color: #a1b48e; line-height: 1.9; margin-top: 7px; overflow-wrap: anywhere; }
.review-instruction { font-size: 11px; color: #a4b794; line-height: 1.9; padding: 19px 0 8px; }
.review-check { display: flex; align-items: center; gap: 9px; padding: 11px 0; border-bottom: 1px solid #ecf1e5; font-size: 11px; color: #8aa574; }
.review-check > .auto-check { margin-left: auto; font-size: 9px; flex-shrink: 0; }
.auto-check.passed { color: #9db88a; }
.auto-check.failed { color: #bd9279; }
.auto-check.needs_review { color: #b8ab82; }
@media (max-width: 1100px) {
  .skill-materials { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sku-results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .sku-launch-bar { align-items: flex-start; gap: 10px; margin-top: -7px; padding: 11px 12px; }
  .sku-launch-bar .button { min-height: 36px; padding: 0 12px; font-size: 10px; }
  .skill-panel { padding: 17px; }
  .skill-panel.skill-panel-fold { padding: 0; }
  .skill-panel-summary { padding: 17px; gap: 9px; align-items: flex-start; }
  .skill-panel-summary .skill-panel-icon { width: 34px; height: 34px; flex: 0 0 34px; }
  .skill-panel-summary h2 { font-size: 12px; line-height: 1.8; }
  .skill-panel-summary h2 > span { font-size: 7px; margin-left: 5px; }
  .skill-panel-summary p { font-size: 9px; }
  .skill-panel-content { padding: 0 17px 17px; }
  .skill-panel-top { gap: 9px; flex-wrap: wrap; align-items: flex-start; }
  .skill-panel-icon { width: 34px; height: 34px; }
  .skill-panel-top h2 { font-size: 12px; line-height: 1.8; }
  .skill-panel-top h2 > span { font-size: 7px; margin-left: 5px; }
  .skill-panel-top > div { flex: 1; min-width: 0; }
  .skill-panel-top p { font-size: 9px; }
  .skill-panel-top > .button { margin-left: 43px; }
  .skill-materials { grid-template-columns: 1fr 1fr; gap: 8px; }
  .skill-materials > span { font-size: 9px; padding: 9px; }
  .skill-materials > span strong { font-size: 8px; }
  .skill-panel-bottom { flex-wrap: wrap; gap: 15px; }
  .skill-panel-bottom > div:first-child { width: 100%; flex: auto; }
  .sku-background-picker { margin-left: auto; }
  .sku-model-watch-toggle { margin-left: auto; }
  .skill-panel-bottom > .button { margin-left: auto; }
  .sku-generation-mode-options { grid-template-columns: 1fr; gap: 6px; }
  .sku-generation-mode-option { padding: 8px 9px; }
  .sku-template-list { grid-template-columns: 1fr; }
  .sku-template-heading { align-items: flex-start; }
  .settings-card-title { padding: 19px; gap: 11px; }
  .settings-card-summary { padding: 19px; gap: 11px; }
  .settings-card-summary h2 { font-size: 13px; }
  .settings-card-summary p { font-size: 9px; }
  .settings-card-summary .settings-number { font-size: 22px; }
  .settings-card-title h2 { font-size: 13px; }
  .settings-card-title p { font-size: 9px; }
  .settings-fields { padding: 19px; }
  .model-fields { grid-template-columns: 1fr; gap: 8px; }
  .model-purpose-list > div { grid-template-columns: 1fr; gap: 4px; }
  .field-help { font-size: 9px; }
  .field-label { font-size: 11px; }
  .field-label span { font-size: 8px; }
  .text-input, .secret-input > input { font-size: 11px; padding: 12px; }
  .connection-buttons .button { font-size: 10px; padding: 0 12px; }
  .settings-submit { flex-wrap: wrap; }
  .settings-submit .button { font-size: 11px; padding: 0 13px; }
  .connection-state { font-size: 8px; padding: 7px; margin-top: 24px; }
  .results-summary { flex-wrap: wrap; gap: 12px 18px; padding: 18px; }
  .results-summary > span { font-size: 9px; }
  .results-summary strong { font-size: 20px; }
  .results-summary .text-link { margin-left: 0; width: 100%; }
  .result-batch-heading { align-items: flex-start; flex-direction: column; gap: 12px; padding: 14px; }
  .result-batch-actions { width: 100%; }
  .result-batch-actions .button { flex: 1; justify-content: center; }
  .sku-results-grid { gap: 12px; }
  .result-card-info { padding: 11px; }
  .result-card-info strong { font-size: 10px; }
  .result-status { font-size: 7px; padding: 3px 4px; }
  .result-card-info > p, .result-card-info > small { font-size: 8px; }
  .result-card-actions { gap: 9px; }
  .result-card-actions > button { font-size: 8px; }
  .result-card-actions .icon { width: 12px; height: 12px; }
  .review-modal { padding: 19px; }
  .review-images { gap: 9px; }
  .review-images > figure { padding: 7px; }
  .review-images figcaption { font-size: 8px; }
  .review-check { align-items: flex-start; font-size: 10px; flex-wrap: wrap; gap: 7px; }
  .review-check > span { flex: 1; line-height: 1.9; }
  .review-check > .auto-check { font-size: 8px; padding-left: 23px; width: 100%; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1650px) {
  :root { --sidebar-width: 265px; }
  main { padding-top: 42px; }
  .topbar { min-height: 82px; }
  .hero { min-height: 325px; }
  .hero-copy { padding: 38px 40px; }
  .hero h2 { font-size: 35px; }
  .brand-section { margin-top: 38px; }
  .brand-card { padding-top: 25px; }
  .brand-card-bottom { min-height: 52px; }
  .recent-section { margin-top: 35px; }
}
@media (max-width: 1250px) {
  :root { --sidebar-width: 224px; }
  .app-brand { padding: 0 17px; gap: 9px; }
  .app-brand strong { font-size: 14px; }
  .app-brand small { font-size: 6.5px; }
  .logo-mark { width: 36px; height: 39px; }
  .sidebar-scroll { padding-left: 12px; padding-right: 12px; }
  .sidebar-bottom { padding: 0 17px; }
  .topbar { padding: 0 28px; }
  .topbar-actions { gap: 12px; }
  .global-search input { width: 115px; }
  .global-search kbd { display: none; }
  .offline-badge { display: none; }
  .breadcrumbs { gap: 8px; font-size: 10px; }
  .breadcrumbs > a:not(.breadcrumb-home), .current-crumb { max-width: 125px; }
  main { padding: 30px 28px 20px; }
  .workspace-footer { padding-left: 28px; padding-right: 28px; }
  .hero-copy { padding-left: 26px; padding-right: 10px; width: 53%; }
  .hero h2 { font-size: 28px; }
  .hero-art { width: 57%; right: -5%; }
  .brand-card { padding-left: 17px; padding-right: 17px; }
  .brand-card-title { gap: 8px; }
  .brand-card-title h3 { font-size: 17px; }
  .brand-cards { gap: 14px; }
  .brand-card-bottom > span:first-child { font-size: 8px; }
  .list-view .brand-card { gap: 18px; }
  .list-view .brand-card-bottom > span:first-child { display: none; }
  .single-upload-grid { gap: 13px; }
  .single-upload { padding: 14px; }
  .single-upload .material-icon { width: 24px; height: 24px; }
  .single-upload .upload-title { gap: 6px; }
  .single-upload .upload-title h2 { font-size: 11px; }
  .single-upload .type-badge { font-size: 7px; padding: 4px; }
  .category-cards { gap: 15px; }
  .category-card { padding: 22px 20px 0; }
  .category-card h2 { font-size: 13px; }
  .category-card p { font-size: 9px; }
  .sort-label { display: none; }
  .image-gallery { gap: 14px; }
  .batch-image-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  :root { --sidebar-width: 210px; }
  .sidebar-scroll { padding-left: 9px; padding-right: 9px; }
  .app-brand strong { font-size: 13px; letter-spacing: 0; }
  .app-brand small { font-size: 6px; letter-spacing: 1px; }
  .logo-mark { width: 33px; height: 36px; }
  .logo-mark .icon { width: 23px; height: 23px; }
  .topbar { padding: 0 24px; }
  .help-button { display: none; }
  .global-search { width: 155px; }
  .global-search input { width: 110px; }
  .breadcrumbs > a:not(.breadcrumb-home) { max-width: 82px; }
  .breadcrumbs > a:not(.breadcrumb-home):not(:nth-last-child(3)) { display: none; }
  .breadcrumbs .breadcrumb-separator:has(+ a:not(.breadcrumb-home):not(:nth-last-child(3))) { display: none; }
  .breadcrumbs > .current-crumb { max-width: 105px; }
  .hero { min-height: 275px; }
  .hero-copy { padding: 25px 22px; width: 66%; }
  .hero h2 { font-size: 27px; }
  .hero-copy > p { font-size: 9px; }
  .hero-art { width: 57%; right: -15%; opacity: .75; }
  .hero-buttons { gap: 15px; }
  .welcome-date { font-size: 8px; }
  h1 { font-size: 23px; }
  .brand-card { padding: 17px 13px 0; }
  .brand-card-title { flex-direction: column; gap: 4px; }
  .brand-card-top { flex-direction: column; gap: 9px; align-items: flex-start; }
  .brand-card .brand-mark { width: 40px; height: 40px; font-size: 25px; }
  .brand-store-preview { padding-bottom: 14px; }
  .brand-card-bottom { min-height: 39px; }
  .brand-card-bottom > span:first-child { font-size: 7px; }
  .round-arrow { width: 20px; height: 20px; }
  .welcome-empty { gap: 14px; padding: 21px; flex-wrap: wrap; }
  .welcome-empty > .button { margin-left: 79px; }
  .welcome-empty p { font-size: 9px; }
  .list-view .brand-card { padding: 14px; }
  .list-view .brand-card-top { flex-direction: row; align-items: center; width: 110px; }
  .list-view .brand-card-title { width: 110px; }
  .list-view .brand-card-bottom { margin-left: auto; }
  .list-view .brand-store-preview { display: none; }
  .category-cards { grid-template-columns: 1fr 1fr; }
  .single-upload-grid { grid-template-columns: 1fr; gap: 18px; }
  .model-material-body { gap: 18px; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .single-upload { padding: 20px; }
  .single-upload .upload-title h2 { font-size: 13px; }
  .single-upload .type-badge { font-size: 9px; padding: 4px 7px; }
  .single-dropzone { min-height: 165px; }
  .image-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-gallery .image-card:last-child { display: none; }
  .batch-image-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .single-detail-grid { grid-template-columns: 1fr; gap: 10px; }
  .material-guide { padding: 25px 5px; }
  .upload-description { font-size: 9px; }
  .upload-card-foot > span { display: none; }
  .workspace-tip > span { width: 100%; margin-left: 22px; }
  .filter-tabs { gap: 13px; }
  .filter-tabs button { font-size: 10px; }
  .guide-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --sidebar-width: 235px; }
  .sidebar { transform: translateX(-100%); transition: transform .25s; z-index: 70; }
  .sidebar-open .sidebar { transform: translateX(0); }
  .sidebar-backdrop { position: fixed; inset: 0; background: #24382455; backdrop-filter: blur(3px); z-index: 60; }
  .app-brand strong { font-size: 15px; }
  .app-brand small { font-size: 7px; }
  .sidebar-scroll { padding-left: 15px; padding-right: 15px; }
  .workspace { margin-left: 0; }
  .mobile-menu { display: flex; }
  .topbar { min-height: 65px; padding: 0 18px; gap: 12px; }
  .topbar-left { gap: 5px; }
  .topbar-actions { gap: 10px; }
  .workbench-switcher { gap: 0; padding-left: 7px; }
  .workbench-switcher select { width: 118px; max-width: 30vw; font-size: 9px; }
  .workbench-switcher .icon-button { width: 26px; height: 26px; }
  .global-search { width: 36px; border: 0; background: transparent; padding: 0 10px; }
  .global-search input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
  .global-search:focus-within { position: absolute; left: 18px; right: 18px; top: 16px; width: auto; padding-left: 10px; border: 1px solid #c0d0b1; z-index: 51; }
  .global-search:focus-within input { position: static; flex: 1; width: auto; opacity: 1; cursor: text; }
  .search-results { width: 100%; top: 40px; }
  .breadcrumbs { font-size: 10px; gap: 7px; }
  .breadcrumbs > a:not(.breadcrumb-home) { display: none !important; }
  .breadcrumbs .breadcrumb-separator:has(+ a:not(.breadcrumb-home)) { display: none !important; }
  .breadcrumbs > .current-crumb { max-width: 105px; }
  .backup-menu summary { padding: 0 9px; font-size: 9px; }
  .backup-menu summary > .icon:last-child { display: none; }
  main { padding: 26px 22px 15px; }
  .home-welcome { margin-bottom: 22px; }
  .home-welcome h1 { font-size: 23px; }
  .home-welcome .eyebrow { font-size: 8px; letter-spacing: 1.5px; }
  .welcome-date { display: none; }
  .hero { min-height: 280px; }
  .hero-copy { width: 100%; padding: 27px 24px; }
  .hero-art { width: 70%; right: -25%; opacity: .24; }
  .hero h2 { font-size: 26px; }
  .hero-buttons { gap: 18px; }
  .hero-secondary { font-size: 9px; }
  .hero-copy > p { max-width: 215px; line-height: 1.8; }
  .brand-cards { gap: 12px; }
  .brand-card-top { flex-direction: row; align-items: center; }
  .brand-card { padding: 18px 15px 0; }
  .brand-card-title { flex-direction: row; align-items: baseline; gap: 10px; }
  .brand-card-bottom > span:first-child { font-size: 8px; }
  .brand-card-title > span { font-size: 7px; }
  .store-count { font-size: 8px; }
  .brand-cards:not(.list-view) { grid-template-columns: 1fr; }
  .brand-cards:not(.list-view) .brand-card { display: grid; grid-template-columns: 43px 1fr auto; column-gap: 16px; position: relative; padding: 20px; }
  .brand-cards:not(.list-view) .brand-card-top { grid-row: 1 / 3; align-self: center; }
  .brand-cards:not(.list-view) .brand-card-title { grid-column: 2; margin: 0; }
  .brand-cards:not(.list-view) .brand-card .store-count { position: absolute; right: 20px; top: 20px; }
  .brand-cards:not(.list-view) .brand-store-preview { grid-column: 2; margin-top: 10px; padding: 0; }
  .brand-cards:not(.list-view) .brand-card-bottom { grid-column: 3; grid-row: 2; border: 0; min-height: 25px; }
  .brand-cards:not(.list-view) .brand-card-bottom > span:first-child { display: none; }
  .list-view .brand-card { gap: 15px; }
  .list-view .brand-card-title { flex-direction: column; }
  .section-heading h2 { font-size: 14px; }
  .section-heading p { font-size: 9px; }
  .welcome-empty { gap: 15px; }
  .welcome-empty > .button { margin-left: auto; }
  .welcome-empty h3 { font-size: 12px; }
  .welcome-empty p { max-width: 250px; }
  .workspace-footer { padding: 22px; font-size: 7px; gap: 10px; }
  .page-heading { margin-bottom: 25px; gap: 15px; align-items: flex-start; }
  .page-heading h1 { font-size: 22px; overflow-wrap: anywhere; }
  .page-heading .eyebrow { font-size: 8px; }
  .page-description { font-size: 10px; }
  .page-counter { padding: 9px; font-size: 9px; white-space: nowrap; margin-top: 22px; }
  .page-heading > .button { font-size: 10px; padding: 0 10px; min-height: 35px; margin-top: 20px; }
  .page-heading > .button .icon { width: 13px; height: 13px; }
  .category-cards { gap: 14px; }
  .category-card { padding: 21px 18px 0; min-height: 220px; }
  .category-card h2 { font-size: 13px; }
  .category-intro { padding: 14px; font-size: 9px; }
  .gentle-note { align-items: flex-start; font-size: 9px; }
  .sku-summary { margin-top: 21px; padding-left: 15px; }
  .sku-summary strong { font-size: 26px; }
  .sku-summary small { font-size: 8px; white-space: nowrap; }
  .workspace-context { font-size: 9px; gap: 4px; line-height: 1.8; }
  .workspace-context .autosave { width: 100%; margin-top: 3px; }
  .upload-card { padding: 17px; }
  .upload-card-heading { flex-wrap: wrap; }
  .upload-title { gap: 7px; }
  .upload-title h2 { font-size: 12px; }
  .type-badge { font-size: 7px; }
  .capacity { font-size: 9px; }
  .capacity strong { font-size: 12px; }
  .upload-heading-right { gap: 8px; }
  .upload-heading-right .button { font-size: 9px; padding: 0 8px; min-height: 28px; }
  .upload-description { font-size: 9px; }
  .batch-dropzone { min-height: 230px; padding: 20px 10px; }
  .dropzone > strong { font-size: 11px; }
  .dropzone > small { font-size: 7px; }
  .upload-card-foot { font-size: 8px; }
  .single-upload-grid { grid-template-columns: 1fr; gap: 16px; }
  .model-material-body { grid-template-columns: 1fr; gap: 25px; }
  .model-input-intro { font-size: 10px; }
  .model-local-input .single-dropzone { height: auto; min-height: 190px; }
  .single-large.model-upload .single-dropzone { min-height: 230px; }
  .single-large.model-upload textarea { min-height: 200px; }
  .prompt-editor textarea { min-height: 170px; }
  .single-dropzone { min-height: 190px; }
  .image-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .home-gallery .image-card:last-child { display: block; }
  .batch-image-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .image-delete { opacity: 1; width: 25px; height: 25px; }
  .filter-tabs { gap: 15px; overflow-x: auto; flex-wrap: nowrap; width: 100%; }
  .filter-tabs button { white-space: nowrap; font-size: 10px; }
  .library-toolbar { margin-top: -5px; }
  .single-large .single-dropzone { min-height: 280px; }
  .guide-intro { padding: 20px; gap: 13px; }
  .guide-intro h2 { font-size: 13px; }
  .guide-intro p { font-size: 10px; line-height: 1.8; }
  .guide-intro > .soft-label { display: none; }
  .guide-card { padding: 22px; }
  .guide-card p { font-size: 11px; }
  .unconfigured { min-height: 440px; }
  .unconfigured h2, .library-empty h2 { font-size: 17px; line-height: 1.7; }
  .unconfigured p, .library-empty p { font-size: 11px; }
  .empty-buttons { gap: 10px; flex-wrap: wrap; justify-content: center; }
  .empty-buttons .button { font-size: 11px; padding: 0 12px; }
  .toast-root { left: 50%; bottom: 22px; width: max-content; }
  .toast { white-space: normal; font-size: 11px; }
  .toast > span { max-width: 270px; line-height: 1.9; }
  .toast > .icon-button { margin-left: 0; }
  .modal-overlay { padding: 18px; }
  .modal-panel { padding: 23px; max-height: calc(100dvh - 36px); }
  .modal-heading h2 { font-size: 18px; }
  .upload-choices > button { gap: 9px; padding: 12px 10px; }
  .upload-choices strong { font-size: 12px; }
  .upload-choices small { font-size: 8px; }
  .choice-icon { width: 32px; height: 32px; }
  .preview-modal { padding: 0; }
  .preview-heading { padding: 19px; }
  .preview-stage { height: 58vh; padding: 20px 43px; }
  .preview-nav { width: 28px; height: 28px; }
  .preview-nav.prev { left: 8px; }
  .preview-nav.next { right: 8px; }
  .preview-footer { padding: 15px; }
  .preview-footer > span { font-size: 9px; }
  .preview-footer .button { font-size: 9px; }
  .preview-footer .context-dot { margin: 0 2px; }
  .storage-warning { padding: 12px 20px; flex-wrap: wrap; gap: 7px; }
  .storage-warning > span { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.shared-model-confirmation { display: flex; align-items: center; gap: 24px; padding: 22px; margin: 20px 0; border: 1px solid #d5e3d1; border-radius: 14px; background: #f6f9f2; }
.shared-model-confirmation > img { width: 180px; height: 180px; flex-shrink: 0; object-fit: contain; border-radius: 10px; background: white; }
.shared-model-confirmation h3 { margin: 0 0 10px; font-size: 17px; }
.shared-model-confirmation p { line-height: 1.8; overflow-wrap: anywhere; }
.shared-model-confirmation > div { min-width: 0; }
@media (max-width: 640px) { .shared-model-confirmation { flex-direction: column; align-items: stretch; gap: 16px; padding: 16px; } .shared-model-confirmation > img { align-self: center; } }
.model-config-error { color: #a43f34; background: #fff5f2; border-radius: 8px; padding: 10px 12px; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.model-config-error[hidden] { display: none; }
.text-input[aria-invalid="true"] { border-color: #bd6657; }
.analysis-protocol-field { margin-top: 20px; }
.analysis-protocol-field select { width: 100%; }
.api-wait-note { padding: 12px 16px; margin: 16px 0; color: #507563; background: #f1f6ee; border: 1px solid #dbe8d3; border-radius: 10px; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.timeout-settings { margin-top: 20px; }
.diagnostics-export { margin: 20px 0; }
.task-monitor { padding: 20px; margin: 20px 0; border: 1px solid #d8e4cf; border-radius: 12px; background: #fffefa; color: #536748; }
.task-monitor-header, .task-monitor-header > div { display: flex; align-items: center; gap: 10px; }
.task-monitor-header { justify-content: space-between; flex-wrap: wrap; }
.task-monitor h3 { margin: 0; font-size: 16px; font-weight: 600; color: #42634f; }
.task-state-icon { display: inline-flex; color: #6b9064; }
.task-state-icon .icon { width: 21px; height: 21px; }
.task-state-icon.spinning { animation: task-spin 2.5s linear infinite; }
@keyframes task-spin { to { transform: rotate(360deg); } }
.task-image-count { font-size: 12px; color: #7d8b71; }
.task-image-count strong { color: #507563; padding: 0 3px; }
.task-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 0; margin: 20px 0; }
.task-steps li { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #9ca48f; padding: 9px 5px; border-bottom: 2px solid #edf0e7; line-height: 1.5; }
.task-steps li > span { display: grid; place-items: center; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: #f0f3e9; font-size: 10px; }
.task-steps .done { color: #688257; border-color: #a9bea0; }
.task-steps .current { color: #42674f; border-color: #6e936e; font-weight: 600; }
.task-steps .current > span, .task-steps .done > span { background: #e5eedc; }
.task-connection { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: #a58237; font-size: 12px; }
.task-connection .status-dot { background: currentColor; }
.task-connection > span:last-child { font-size: 10px; opacity: .85; }
.task-connection.connected { color: #4e8057; }
.task-connection.unconfirmed { color: #b26e3d; }
.task-current-phase { font-size: 13px; line-height: 1.8; margin: 12px 0 6px; color: #526c4c; overflow-wrap: anywhere; }
.task-status-help, .task-request-id, .task-received { font-size: 11px; line-height: 1.7; color: #8b977e; margin: 6px 0; overflow-wrap: anywhere; }
.task-monitor .api-wait-note { font-size: 11px; margin: 10px 0; padding: 10px 12px; }
.task-events { list-style: none; padding: 12px 0 0; margin: 12px 0 0; border-top: 1px solid #edf0e7; display: grid; gap: 7px; }
.task-events li { display: flex; gap: 12px; font-size: 11px; line-height: 1.6; color: #7f8f73; }
.task-events time { color: #a0aa94; font-variant-numeric: tabular-nums; flex-shrink: 0; }
@media (max-width: 640px) { .task-monitor { padding: 16px 13px; } .task-steps { grid-template-columns: 1fr 1fr; gap: 6px; margin: 14px 0; } .task-monitor h3 { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .task-state-icon.spinning { animation: none; } }
.text-conflict-confirmation { padding: 22px; margin: 20px 0; border: 1px solid #e6d6af; border-radius: 14px; background: #fffdf6; color: #655f4f; }
.text-conflict-confirmation > h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 17px; color: #826a3b; }
.text-conflict-confirmation p { font-size: 12px; line-height: 1.9; overflow-wrap: anywhere; }
.conflict-source-previews { display: flex; gap: 10px; overflow-x: auto; padding: 8px 0 14px; }
.conflict-source-previews button { flex: 0 0 108px; min-width: 0; padding: 7px; border: 1px solid #e6e7d9; border-radius: 9px; background: white; text-align: left; color: #627653; }
.conflict-source-previews img { display: block; width: 92px; height: 92px; object-fit: contain; background: #f6f8f2; border-radius: 5px; }
.conflict-source-previews span, .conflict-source-previews small { display: block; padding-top: 5px; font-size: 11px; overflow-wrap: anywhere; }
.conflict-source-previews small { font-size: 10px; color: #929a83; }
.text-conflict-list { list-style: none; padding: 0; margin: 8px 0 18px; display: grid; gap: 12px; }
.text-conflict-item { padding: 16px; border: 1px solid #ece6d5; border-radius: 10px; background: white; min-width: 0; }
.text-conflict-item h4 { margin: 0 0 8px; font-size: 13px; color: #796843; }
.conflict-description, .review-conflict-resolution li > p:first-child { white-space: pre-line; }
.text-conflict-item label { display: block; font-size: 12px; line-height: 1.8; margin-top: 12px; }
.text-conflict-item .text-input { width: 100%; min-width: 0; margin-top: 5px; font-size: 12px; }
.conflict-custom[hidden] { display: none; }
.text-conflict-confirmation .connection-buttons { flex-wrap: wrap; }
.review-conflict-resolution { margin: 14px 0; padding: 14px; border: 1px solid #e6d6af; border-radius: 9px; background: #fffdf6; }
.review-conflict-resolution ol { padding-left: 20px; }
@media (max-width: 640px) { .text-conflict-confirmation { padding: 16px 13px; } .text-conflict-confirmation > h3 { font-size: 14px; align-items: flex-start; } .text-conflict-item { padding: 12px; } }
.performance-settings { margin: 20px 0; padding: 16px; border-radius: 10px; background: #f5f8ef; border: 1px solid #e4eadb; }
.performance-settings select { width: 100%; }
.review-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-top: 14px; border-top: 1px solid #e4eadb; }
.review-options > p { grid-column: 1 / -1; margin: 0; }
.sku-review-options { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 16px 0; border-top: 1px solid #edf0e7; }
.sku-review-options > div { flex: 0 1 245px; min-width: 0; }
.sku-review-options select { width: 100%; }
.sku-review-options > p { flex: 1 1 260px; margin: 0; }
@media (max-width: 640px) { .review-options { grid-template-columns: minmax(0, 1fr); } .sku-review-options { gap: 10px; } .sku-review-options > div { flex-basis: 100%; } }
.task-pipeline-summary { margin: 10px 0; font-size: 11px; line-height: 1.8; color: #7c8d6e; }
.task-requests { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.task-request:only-child { grid-column: 1 / -1; }
.task-request { min-width: 0; padding: 13px; border: 1px solid #e5ebdc; border-radius: 9px; background: #fff; }
.task-request h4 { margin: 0 0 10px; font-size: 12px; font-weight: 600; line-height: 1.8; overflow-wrap: anywhere; color: #56774e; }
.task-request .api-wait-note { padding: 8px; font-size: 10px; }
@media (max-width: 900px) { .task-requests { grid-template-columns: minmax(0, 1fr); } }
.layout-recovery { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin: 18px 0; padding: 20px; border: 1px solid #cddfd4; border-radius: 16px; background: #f1f7f2; }
.layout-recovery > div { flex: 1 1 240px; min-width: 0; }
.layout-recovery p { margin: 8px 0 0; color: #65756b; font-size: 13px; line-height: 1.7; }
