:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#182b27;background:#f4f6f4;font-synthesis:none;--green:#112e28;--lime:#d8f16a;--muted:#6b7974;--border:#dde4df}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8aa72b;outline-offset:3px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.eyebrow{font-size:.75rem;font-weight:700;letter-spacing:.14em;color:var(--muted)}.sidebar{width:250px;position:fixed;inset:0 auto 0 0;background:var(--green);color:#fff;display:flex;flex-direction:column;padding:34px 22px}.brand{display:flex;align-items:center;gap:11px;font-size:1.1rem;letter-spacing:.04em}.brand b,.login-brand b{color:var(--lime);font-weight:400}.brand-icon{display:grid;place-items:center;width:36px;height:39px;border-radius:9px;background:var(--lime);color:var(--green);font-size:1.55rem;font-weight:850}.store{margin:44px 0 30px;padding:0 10px;display:grid;gap:9px;font-size:.875rem;color:#a2b9ad}.store .eyebrow{color:#a2b9ad;font-size:.7rem}.store strong{font-size:.95rem;color:#fff;font-weight:550}nav a{padding:15px 14px;display:flex;gap:12px;font-size:.94rem;border-radius:7px}nav a.nav-active{background:#28433a;color:var(--lime)}nav a span{font-size:1.2rem}.sidebar-bottom{margin-top:auto;padding:20px 10px 0}.read-only{font-size:.75rem;background:#28433a;color:#d8e7d9;padding:7px 9px;border-radius:4px}.sidebar-bottom p{font-size:.82rem;line-height:1.7;color:#b0c3b9;margin:18px 0 24px}.logout{background:none;border:0;border-top:1px solid #365047;color:#c4d3cb;font-size:.875rem;padding:20px 0 0;width:100%;text-align:left}main{margin-left:250px;min-height:100vh}.topbar{height:82px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 46px;background:#fff}.breadcrumb{font-size:.875rem}.breadcrumb span{margin:0 16px;color:#a9b3ac}.version{font-size:.6875rem;font-weight:650;letter-spacing:.12em;color:#6d7a73;border:1px solid var(--border);border-radius:4px;padding:7px 9px}.store-mobile{display:none}.content{padding:42px 46px 0;max-width:1600px;margin:auto}.heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}h1{font-size:2.15rem;line-height:1.2;letter-spacing:-.055em;margin:12px 0}h2{font-size:1.15rem;letter-spacing:-.02em}.heading p{color:var(--muted);margin:10px 0 0;font-size:.94rem}.header-mark{font-size:2.5rem;line-height:1;letter-spacing:-.07em;color:#b4c1b7;font-weight:300;text-align:right}.header-mark span{display:block;letter-spacing:.2em;font-size:.65rem;margin-top:8px}.search-panel{background:#fff;border:1px solid var(--border);border-radius:12px;padding:18px;box-shadow:0 4px 15px #172e2510}.search-panel form{display:flex;gap:10px}.search-input{display:flex;align-items:center;border:1px solid #d4ddd5;border-radius:7px;padding:0 13px;flex:1;min-width:0;background:#fcfdfb}.search-input>span{font-size:2rem;line-height:1;color:#5b7063;margin-right:10px}.search-input input{min-width:0;flex:1;width:100%;padding:15px 0;background:transparent;border:0;outline:none;font-size:.95rem}.search-input:focus-within{border-color:#59794c;box-shadow:0 0 0 2px #d8f16a70}kbd{font-family:inherit;border:1px solid #dce2db;padding:2px 7px;color:#8c978f;border-radius:4px;font-size:.8rem}.primary{background:var(--green);color:#fff;border:0;border-radius:7px;min-height:49px;padding:0 20px;font-weight:550;display:flex;align-items:center;justify-content:center;gap:22px}.primary span{color:var(--lime);font-size:1.2rem}.primary:hover{background:#24513e}.scan-button,.secondary{background:#fff;border:1px solid #d4ddd5;border-radius:7px;color:#263d31;padding:0 16px;min-height:45px}.scan-button{display:flex;gap:8px;align-items:center}.scan-button span{font-size:1.35rem}.scan-button:hover,.secondary:hover{background:#edf2e8}.search-foot{display:flex;align-items:center;justify-content:space-between;padding-top:16px;gap:10px}.search-foot>span{font-size:.75rem;color:#6b7974}.check{display:flex;align-items:center;gap:7px;font-size:.875rem}.check input{accent-color:var(--green);width:16px;height:16px;margin:0}.start{text-align:center;padding:48px 0 0}.empty-symbol{margin:auto;display:grid;place-items:center;width:58px;height:58px;background:#e8eee4;border:1px solid #dae3d5;border-radius:16px;font-size:2.8rem;color:#667e51;line-height:1}.start h2{margin:19px 0 8px;font-size:1.25rem}.start>p{color:var(--muted);font-size:.93rem;line-height:1.7;margin:0}.suggestions{display:flex;justify-content:center;gap:10px;margin:23px 0 40px}.suggestions button{border:1px solid var(--border);background:#fff;border-radius:30px;padding:9px 17px;font-size:.875rem;color:#314738}.suggestions button:hover{background:var(--lime)}.suggestions span{margin-left:14px;color:#657f4c}.start-note{display:flex;align-items:center;justify-content:center;gap:9px;padding:24px 0;border-top:1px solid var(--border)}.start-note>span{font-size:.7rem;color:#7f9475;border:1px solid #d5dece;padding:4px;border-radius:50%}.start-note p{font-size:.75rem;color:#6b7974;margin-right:20px}.message{padding:23px;border:1px solid var(--border);border-radius:8px;text-align:center;background:#fff;line-height:1.6}.error{color:#9c3530;font-size:.875rem}.results-top{display:flex;justify-content:space-between;align-items:center;margin:30px 0 20px;gap:15px}.results-top h2{margin:0 0 6px}.results-top #updated{font-size:.75rem;color:var(--muted)}.filters{display:flex;gap:8px}.filters select{max-width:210px;padding:10px 30px 10px 10px;border:1px solid var(--border);background:#fff;border-radius:6px;color:#344638;font-size:.875rem}.table-head,.item-row{display:grid;grid-template-columns:minmax(240px,1fr) 100px 80px 130px 28px;align-items:center;gap:12px}.table-head{font-size:.6875rem;letter-spacing:.05em;color:#6d7b72;padding:0 20px 13px}.table-head span:nth-child(4){text-align:right}#items{border:1px solid var(--border);border-radius:10px;overflow:hidden;background:#fff}.item-row{border:0;border-bottom:1px solid #e7ece6;padding:19px 20px;width:100%;background:#fff;text-align:left;color:inherit;min-height:98px}.item-row:last-child{border-bottom:0}.item-row:hover{background:#f5f9ed}.article-main{display:flex;align-items:center;gap:15px;min-width:0}.article-icon{flex-shrink:0;background:#f0f3ec;color:#688156;border-radius:8px;width:44px;height:49px;display:grid;place-items:center;font-size:1.3rem;font-weight:400}.article-title{font-size:.9rem;line-height:1.45;font-weight:600;display:block}.article-code{font-size:.75rem;color:var(--muted);display:block;margin-top:6px;letter-spacing:.035em}.family-tag{font-size:.7rem;font-weight:600;color:#58734b;background:#eef3e8;border:1px solid #e2e9db;border-radius:4px;padding:5px 7px;width:max-content}.quantity{font-size:.875rem;color:#425b43}.quantity.zero{color:#8b6655}.price{font-size:1rem;font-weight:650;text-align:right;white-space:nowrap}.row-arrow{color:#829174;text-align:right}.results-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:20px;font-size:.8rem;color:var(--muted)}.limit-note{font-size:.875rem;color:#75531c;background:#fff6da;padding:12px;border-radius:6px}footer{border-top:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:35px;padding:23px 0;color:#768478;font-size:.6875rem;letter-spacing:.02em}footer b{color:#9bb070;margin:0 5px}#logout-mobile{display:none}dialog{padding:0;border:0;box-shadow:0 20px 100px #061d2740;color:#182b27}dialog::backdrop{background:#0a211c80;backdrop-filter:blur(3px)}#detail{margin:0 0 0 auto;max-height:100dvh;height:100dvh;width:540px;max-width:100%;border-radius:16px 0 0 16px}.dialog-top{display:flex;align-items:center;justify-content:space-between;padding:21px 27px;border-bottom:1px solid var(--border);position:sticky;top:0;background:white;z-index:2}.dialog-top>span{font-size:.75rem;letter-spacing:.1em;color:#6b7974}.icon-button{background:#f0f3ed;border:0;border-radius:50%;width:36px;height:36px;color:#354939}.detail-body{padding:27px}.detail-body h2{font-size:1.4rem;line-height:1.4;margin:16px 0 9px}.detail-code{color:var(--muted);font-size:.875rem}.product-image{display:block;max-height:290px;width:100%;object-fit:contain;background:#f7f8f5;border-radius:10px;margin:22px 0}.image-list{display:flex;gap:8px;overflow:auto;margin-top:-12px}.image-list button{padding:0;border:1px solid var(--border);border-radius:6px;overflow:hidden;background:white;flex-shrink:0}.image-list img{width:55px;height:55px;object-fit:contain;display:block}.detail-stats{display:grid;grid-template-columns:1fr 1fr;background:#f1f5ea;padding:19px;margin:22px 0;border-radius:9px;gap:15px}.detail-stats span{display:block;font-size:.75rem;color:#667b5e;margin-bottom:9px}.detail-stats strong{font-size:1.7rem;font-weight:650;letter-spacing:-.04em}.detail-stats div+div{border-left:1px solid #d9e3cf;padding-left:20px}.detail-body dl{margin:0}.detail-body dl>div{display:flex;justify-content:space-between;gap:15px;padding:14px 0;border-bottom:1px solid #e8ece5;font-size:.875rem;line-height:1.5}.detail-body dt{color:#6b7974;flex-shrink:0;max-width:45%}.detail-body dd{margin:0;text-align:right;overflow-wrap:anywhere}.detail-comment{font-size:.94rem;line-height:1.6;background:#fafbf7;padding:14px;border-left:3px solid var(--lime);white-space:pre-wrap}.detail-note{font-size:.75rem;color:var(--muted);margin-top:23px;line-height:1.6}#scanner{border-radius:14px;width:480px;max-width:calc(100% - 24px)}#scanner h2{font-size:1rem;margin:0}#scanner video{width:100%;max-height:360px;object-fit:contain;background:#112e28}#scan-status{padding:0 24px;line-height:1.5;font-size:.875rem}#barcode-form{padding:0 24px 25px}#barcode-form label{display:block;font-size:.875rem;margin-bottom:8px}.manual-code{display:flex;gap:8px}.manual-code input{min-width:0;width:100%;padding:10px;border:1px solid var(--border);border-radius:6px}.login{min-height:100vh;background:var(--green);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px 20px}.login-brand{color:white;display:flex;gap:12px;align-items:center;margin-bottom:30px;letter-spacing:.08em}.login-card{width:100%;max-width:430px;border-radius:15px;background:#fff;padding:35px}.login-card h1{font-size:2.4rem;margin:18px 0}.login-card>p{font-size:.94rem;color:var(--muted);line-height:1.6}.login-card label{display:block;font-size:.875rem;margin:19px 0 8px}.login-card input{border:1px solid #d1dbd2;border-radius:6px;width:100%;padding:12px}.login-card .primary{width:100%;margin-top:24px;justify-content:space-between}.login>small{color:#b2c3b7;font-size:.75rem;margin-top:24px}
@media(min-width:1450px){.content{padding-top:52px}.heading{margin-bottom:38px}h1{font-size:2.5rem}.start{padding-top:65px}.start-note{margin-top:50px}}
@media(max-width:1150px){.sidebar{width:215px;padding-inline:16px}main{margin-left:215px}.content{padding:32px 26px 0}.topbar{padding:0 26px}.table-head,.item-row{grid-template-columns:minmax(160px,1fr) 65px 58px 100px 16px;gap:9px}.article-icon{display:none}.search-panel form{flex-wrap:wrap}.search-input{flex-basis:60%}.scan-button{flex-grow:1}.filters select{max-width:170px}.start-note{flex-wrap:wrap}.search-foot>span{display:none}}
@media(max-width:800px){.sidebar{display:none}main{margin-left:0}.topbar{height:63px;padding:0 22px}.breadcrumb{display:none}.store-mobile{display:block;font-weight:650;font-size:.9rem}.version{font-size:.6rem}.content{padding:28px 22px 0}.heading{margin-bottom:24px}h1{font-size:1.85rem}.header-mark{font-size:2rem}.heading p{font-size:.875rem}.search-panel{padding:13px}.search-input{flex-basis:100%}.search-input input{padding:14px 0}.search-panel .primary{flex:1}.scan-button{flex:1;justify-content:center}.search-foot{padding-top:13px}.results-top{align-items:flex-start;flex-direction:column;gap:16px}.filters{width:100%}.filters label{flex:1;min-width:0}.filters select{max-width:100%;width:100%}.table-head{display:none}.item-row{grid-template-columns:1fr auto;gap:10px;padding:17px;position:relative}.article-main{grid-column:1 / -1;padding-right:16px}.article-title{font-size:.925rem}.article-code{font-size:.75rem}.family-tag{grid-column:1;grid-row:2;justify-self:start}.quantity{grid-column:1;grid-row:3;font-size:.8rem}.price{grid-column:2;grid-row:2 / 4;font-size:1.1rem;align-self:end}.row-arrow{position:absolute;right:16px;top:21px}.start{padding-top:36px}.start-note{display:none}.suggestions{margin-bottom:35px;gap:7px}.suggestions button{padding:9px 13px;font-size:.8rem}.suggestions span{margin-left:7px}footer{flex-wrap:wrap;font-size:.65rem;margin-top:28px}footer>span:nth-child(2){order:3;width:100%}#logout-mobile{display:block;border:0;background:none;color:#586d5d;font-size:.8rem;padding:8px 0}#detail{border-radius:0;width:100%}.detail-body{padding:22px}.dialog-top{padding:16px 22px}}
@media(prefers-reduced-motion:no-preference){button{transition:background .15s}dialog[open]{animation:appear .15s ease-out}@keyframes appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}

.identity-strip{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:28px;padding-bottom:18px;border-bottom:1px solid var(--border)}.identity-strip>div{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.identity-strip strong{font-size:.9rem;font-weight:600}.identity-strip span{font-size:.78rem;color:#516847;padding:5px 8px;background:#e8efdf;border-radius:4px}.identity-strip button{border:0;background:none;padding:8px 0;color:#506948;font-size:.82rem}.header-mark b{font-weight:300}.header-mark span{max-width:140px;line-height:1.3}.login-help{font-size:.8rem;line-height:1.5;color:var(--muted);margin:12px 0 0}.login-card{max-width:460px}.login-card h1{font-size:2.1rem}.login-card label{margin-top:14px}body:has(dialog[open]){overflow:hidden}@media(max-width:500px){.identity-strip{align-items:flex-start;margin-bottom:24px;gap:8px}.identity-strip>div{gap:7px;max-width:60%}.identity-strip button{max-width:120px;text-align:right;line-height:1.5}.header-mark span{max-width:80px}.login-card{padding:26px}.login{justify-content:flex-start}.login-brand{margin-bottom:20px}.detail-stats strong{font-size:1.4rem}}

.login-card select{border:1px solid #d1dbd2;border-radius:6px;width:100%;padding:12px;background:white;color:#182b27;min-height:46px}.login-card select:disabled{background:#f2f5ef;color:#6b7974}.login-card #store-filter{margin-bottom:8px;font-size:.875rem}.directory-retry{padding:8px 0;background:none;border:0;color:#395d32;text-decoration:underline;font-size:.875rem}.login-card #directory-status{margin:8px 0 0;min-height:1.2em}.login-card .login-help{font-size:.8rem}.login-card h1{margin:13px 0}.login-card>p{margin:10px 0}.login-brand{margin-bottom:20px}
.edit-product{width:100%;margin:20px 0 8px}.detail-body fieldset{border:0;padding:0;margin:0;min-width:0}.detail-body fieldset label{display:block;font-size:.875rem;font-weight:600;margin:20px 0 8px}.detail-body fieldset input:not([type=file]),.detail-body fieldset textarea,.detail-body fieldset select{font:inherit;width:100%;min-width:0;padding:12px;border:1px solid #cdd9cb;border-radius:7px;background:#fff;color:#182b27}.detail-body fieldset textarea{resize:vertical;line-height:1.5}.edit-prices{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field-help{font-size:.8rem;line-height:1.5;color:#657960;margin:8px 0 16px}.detail-body h3{font-size:1rem;margin:28px 0 8px}.edit-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}.edit-photos>.field-help{grid-column:1 / -1}.edit-photo{border:1px solid var(--border);border-radius:8px;overflow:hidden;background:#f7f9f3}.edit-photo img{width:100%;height:150px;object-fit:contain;display:block}.edit-photo>div{display:flex;justify-content:space-between;gap:4px;padding:8px;background:#fff}.edit-photo button{border:0;background:none;font-size:.8rem;color:#375331;min-height:36px;padding:4px}.edit-photo button:last-child{color:#99392d}.catalog-photo{margin-top:18px;font-size:.85rem;color:#526849}.catalog-photo summary{cursor:pointer;padding:10px 0}.catalog-photo img{display:block;max-width:100%;max-height:130px}.edit-summary{font-size:.85rem;background:#eff5e5;border-radius:6px;padding:12px;line-height:1.5;margin-top:24px}.edit-actions{display:flex;gap:10px;justify-content:space-between;position:sticky;bottom:0;padding:14px 0;background:white;border-top:1px solid var(--border);margin-top:20px}.edit-actions .primary{flex:1;font-size:.9rem;padding:10px}.save-success{margin:20px 24px 0;background:#e8f2d9;border:1px solid #bed99c;color:#304e21;padding:13px;border-radius:7px;font-size:.875rem;line-height:1.5}#reload-edit{margin:16px 0}fieldset:disabled{opacity:.7}@media(max-width:400px){.edit-actions{flex-wrap:wrap}.edit-actions .primary{flex-basis:100%}.edit-prices{gap:10px}.edit-photo img{height:120px}.edit-photo>div{flex-wrap:wrap;padding:5px}.edit-photo button{font-size:.75rem}}

/* Purchase information has dedicated columns, with labelled cells on narrow screens. */
.table-head,.item-row{grid-template-columns:minmax(150px,1fr) 65px 55px 80px 115px 110px 18px;gap:10px}
.table-head span:nth-child(4){text-align:left}.table-head span:nth-child(6){text-align:right}
.purchase-price,.stock-margin{font-size:.8rem;overflow-wrap:anywhere;min-width:0}.purchase-price{font-variant-numeric:tabular-nums;font-weight:600}.cell-label{display:none}
@media(min-width:1001px) and (max-width:1250px){.table-head,.item-row{grid-template-columns:minmax(130px,1fr) 50px 42px 65px 92px 86px 12px;gap:8px;padding-inline:12px}}
@media(max-width:1000px){.table-head{display:none}.item-row{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:17px;position:relative}.article-main{grid-column:1 / -1;padding-right:16px}.family-tag{grid-column:1;grid-row:2;justify-self:start}.quantity{grid-column:1;grid-row:3}.price{grid-column:2;grid-row:2 / 4;align-self:end}.row-arrow{position:absolute;right:16px;top:21px}.purchase-price{grid-column:1;grid-row:4}.stock-margin{grid-column:1 / -1;grid-row:5}.cell-label{display:inline;color:var(--muted);font-weight:400}}

.section-tabs{display:flex;gap:8px;margin:0 0 26px}.section-tabs button{border:1px solid var(--border);border-radius:8px;padding:12px 25px;background:white;color:var(--green)}.section-tabs button[aria-pressed=true]{background:var(--green);color:white}.client-row{display:grid;grid-template-columns:minmax(160px,1fr) 170px 150px 20px;gap:16px;align-items:center;text-align:left;width:100%;padding:20px;border:1px solid var(--border);border-bottom:0;background:white;color:inherit}.client-row:last-child{border-bottom:1px solid var(--border)}.client-row small{display:block;color:var(--muted);margin-top:6px}.client-row:hover{background:#f5f9ed}#client-detail{max-width:620px;width:calc(100% - 32px);max-height:90vh;border:0;border-radius:14px;padding:0;color:inherit}#client-detail::backdrop{background:#112e2870}#client-detail dl>div{padding:12px 0;border-bottom:1px solid var(--border)}#client-detail dt{font-size:.8rem;color:var(--muted)}#client-detail dd{margin:5px 0 0;overflow-wrap:anywhere}.client-history-row{display:grid;gap:5px;padding:12px 0;border-bottom:1px solid var(--border);font-size:.85rem}#client-loyalty{padding:16px;background:#eff5e5;border-radius:8px;font-weight:600}@media(max-width:1000px){.client-row{grid-template-columns:1fr auto;gap:10px}.client-row>span:first-child{grid-column:1 / -1}.client-row>span:nth-child(2),.client-row>span:nth-child(3){grid-column:1}.client-row>span:last-child{grid-column:2;grid-row:2}#client-detail{width:100%;max-width:100%;max-height:100dvh;border-radius:0}}

.client-history-total{font-size:1.3rem;font-weight:650}.client-history-total small{display:block;color:var(--muted);font-size:.8rem;font-weight:400;margin-top:6px}.transaction-amount{grid-template-columns:1fr auto;align-items:center}.client-transactions{margin:24px 0}.client-transactions h4{margin-bottom:10px}

.sidebar nav button{width:100%;border:0;background:none;color:inherit;padding:15px 14px;display:flex;gap:12px;font-size:.94rem;border-radius:7px;text-align:left}.sidebar nav button.nav-active{background:#28433a;color:var(--lime)}.sidebar nav button span{font-size:1.2rem}.history-operation{border:1px solid var(--border);border-radius:8px;margin:10px 0}.history-operation summary{cursor:pointer;display:flex;justify-content:space-between;gap:12px;padding:14px;font-size:.85rem}.history-operation summary:before{content:'▸'}.history-operation[open] summary:before{content:'▾'}.history-operation summary span{flex:1}.history-product{display:grid;gap:5px;padding:12px 14px;border-top:1px solid var(--border);font-size:.82rem}.history-product span{color:var(--muted)}@media(min-width:801px){.section-tabs{display:none}}

.new-client-button{margin-top:18px}#client-edit-form fieldset{border:0;padding:0;margin:0}

.client-status-badge{font-size:.85rem;margin:.4rem 0;color:#536174}.client-warning{background:#fff1f0;border:1px solid #f1a8a0;color:#92251d;border-radius:8px;padding:.6rem;font-weight:700}.identity-card{border:1px solid #d9e0e8;border-radius:10px;padding:12px;margin:12px 0;overflow-wrap:anywhere}.identity-form input,.identity-form select{width:100%;box-sizing:border-box}.identity-form label{display:block;margin-top:12px}

.cash-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px;margin:20px 0}.cash-card{text-align:left;padding:22px;background:#fff;border:1px solid #d8e2dc;border-radius:16px;color:#163c31;cursor:pointer}.cash-card strong{display:block;font-size:1.7rem;margin:15px 0 4px}.cash-card small,.cash-card>span{display:block}.cash-card>span:last-child{margin-top:20px}.cash-panel{background:#fff;border:1px solid #d8e2dc;border-radius:16px;padding:22px;margin:20px 0}.cash-date-form{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:16px 0}.cash-panel input,.cash-panel select{padding:10px;border:1px solid #b9c7c0;border-radius:8px;max-width:100%;box-sizing:border-box}.cash-table-wrap{overflow-x:auto}.cash-table{width:100%;border-collapse:collapse;font-size:.9rem}.cash-table th,.cash-table td{padding:12px 8px;border-bottom:1px solid #e2e9e5;text-align:right;white-space:nowrap}.cash-table th:first-child,.cash-table td:first-child,.cash-table th:nth-child(2),.cash-table td:nth-child(2){text-align:left}.cash-table small{display:block;color:#66766d}.cash-count{padding:15px;background:#f1f6f3;border-radius:10px;margin:20px 0}.cash-count summary{cursor:pointer;font-weight:600}.section-tabs{flex-wrap:wrap}
.cash-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.cash-action-form{border:2px solid #8eae9e;padding:18px;border-radius:12px;margin:16px 0}.cash-coins{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin:12px 0}.cash-coins label{display:flex;flex-direction:column;gap:5px}.cash-coins input{width:100%}.cash-action-form>.check{margin:20px 0}.cash-action-form button{margin:6px}

.settings-card{background:#fff;border:1px solid #dce6e1;border-radius:16px;padding:24px;margin-top:20px}.settings-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}.settings-fields label,.settings-card>label{display:flex;flex-direction:column;gap:7px;font-size:14px}.settings-fields input,.settings-fields select,.settings-card select{width:100%;padding:11px;border:1px solid #c8d7cf;border-radius:8px;background:#fff;color:#163d31}.settings-check{display:flex;align-items:center;gap:10px;margin:22px 0}.settings-param{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:20px;padding:16px 0;border-bottom:1px solid #e8eee9;overflow-wrap:anywhere}.settings-param p{font-size:13px;color:#597064;margin:6px 0}.settings-param>span{white-space:pre-wrap}@media(max-width:600px){.settings-card{padding:16px}.settings-param{grid-template-columns:1fr;gap:8px}.section-tabs{flex-wrap:wrap}}

.purchase-notice{padding:16px;background:#fff5d9;border:1px solid #e9d28d;border-radius:12px}.purchase-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.purchase-result{display:flex;flex-direction:column;align-items:flex-start;width:100%;text-align:left;gap:7px;padding:15px;margin:10px 0;border:1px solid #dce6e1;background:white;border-radius:10px;color:#163d31}.purchase-result span{font-size:13px;color:#597064}.purchase-line-form{border-top:2px solid #c8d7cf;margin-top:20px;padding-top:12px}.purchase-total{font-size:21px}.purchase-payment{padding:16px 0;border-bottom:1px solid #dce6e1}#purchases-section input,#purchases-section select{max-width:100%;padding:10px;border:1px solid #c8d7cf;border-radius:8px}#purchase-client-search{display:flex;align-items:end;gap:12px;flex-wrap:wrap}#purchase-client-search label{display:flex;flex-direction:column;gap:6px;flex:1}
.purchase-signature-dialog{width:850px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:16px;overflow:auto}.purchase-signature-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 28px;border-bottom:1px solid var(--border)}.purchase-signature-header h2{margin:8px 0 0;font-size:1.45rem}.purchase-signature-body{padding:24px 28px}.purchase-customer-lines>div{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--border);padding:12px 0}.purchase-customer-lines strong{white-space:nowrap}.purchase-signature-body canvas{display:block;width:100%;aspect-ratio:3 / 1;background:white;border:2px solid #859c8e;border-radius:8px;touch-action:none;cursor:crosshair}.purchase-signature-consent{display:flex;gap:12px;align-items:flex-start;line-height:1.5}.purchase-signature-consent input{flex-shrink:0;width:20px;height:20px;margin:2px 0}.purchase-signature-preview{width:300px;max-width:100%;height:auto;display:block;border:1px solid var(--border);border-radius:8px;background:white}.purchase-signed{padding:18px;border:1px solid #9bbb9e;border-radius:12px;margin-top:20px;background:#f4faef}@media(max-width:600px){.purchase-signature-dialog{max-width:calc(100vw - 12px);max-height:calc(100dvh - 12px)}.purchase-signature-header,.purchase-signature-body{padding:16px}.purchase-signature-header h2{font-size:1.2rem}.purchase-signature-body .purchase-actions button{width:100%}}
/* Rachat: form first, supporting tools in the right rail. */
main:has(#purchases-section:not([hidden])) .content{max-width:1700px;padding:30px 28px 0}
#purchases-section .heading{margin-bottom:16px}#purchases-section .heading h1{font-size:2rem}#purchase-status{font-size:.85rem;color:#50665b;min-height:1.2em}
.purchase-overview{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 28px;background:#173e32;color:#fff;border-radius:18px;margin:20px 0 24px}.purchase-overview p{margin:12px 0 0;font-size:.88rem;color:#cfdfd6}.purchase-pill{display:inline-block;font-size:.72rem;font-weight:650;padding:6px 10px;border-radius:20px;background:#315446;color:#e3f3db}.purchase-overview-total{text-align:right;display:grid;gap:4px;flex-shrink:0}.purchase-overview-total>span{font-size:.75rem;color:#c9dacf}.purchase-overview-total strong{font-size:2rem;letter-spacing:-.04em;color:#e2f49a}.purchase-overview-total small{font-size:.75rem;color:#c9dacf}
.purchase-layout{display:grid;grid-template-columns:minmax(0,1fr) 286px;gap:24px;align-items:start}.purchase-main,.purchase-aside{min-width:0}.purchase-main{display:grid;gap:20px}.purchase-aside{display:grid;gap:18px;position:sticky;top:20px}.purchase-card{background:#fff;border:1px solid #dce6e1;border-radius:18px;padding:24px;box-shadow:0 3px 14px #173e3204}.purchase-card-heading{display:flex;gap:13px;align-items:center;margin-bottom:22px}.purchase-step{display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;border-radius:12px;background:#edf4e6;color:#466632;font-size:.82rem;font-weight:750}.purchase-card-heading h2{margin:0 0 4px;font-size:1.05rem}.purchase-card-heading p{margin:0;font-size:.79rem;color:#708176}
#purchases-section input:not([type=checkbox]),#purchases-section select{width:100%;min-height:44px;background:white;font-size:.875rem;color:#244437;border-color:#d8e2db}#purchases-section label{font-size:.8rem;color:#50665b}#purchases-section .settings-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.purchase-card .primary,.purchase-card .secondary,.purchase-aside .secondary{padding:11px 16px;min-height:44px;font-size:.82rem;border-radius:9px}.purchase-text-button,.purchase-icon-button{border:0;background:transparent;color:#3d614c;font-size:.8rem;padding:10px 4px;font-weight:600}.purchase-icon-button{font-size:1.25rem;padding:4px 10px;border:1px solid #dbe5dd;border-radius:9px;background:white}.purchase-text-button:hover{color:#153c27;text-decoration:underline}
.purchase-searchbar{display:flex;gap:10px}.purchase-searchbar label{flex:1;min-width:0}.purchase-searchbar input{background:#f8faf7!important}.purchase-search-options{display:flex;justify-content:space-between;gap:10px;align-items:start;margin-top:8px}.purchase-search-options details{max-width:65%;font-size:.8rem;color:#617264;padding:10px 0}.purchase-search-options summary{cursor:pointer}.purchase-search-options select{margin-top:10px}#purchase-search-status{font-size:.8rem;color:#6b7b70}.purchase-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:410px;overflow:auto}.purchase-catalog-card{min-width:0;display:flex;align-items:flex-start;flex-direction:column;gap:9px;text-align:left;padding:16px;border:1px solid #dce6df;border-radius:12px;background:#fff;color:#254333}.purchase-catalog-card:hover{border-color:#76926c;background:#f8fbf2}.purchase-product-symbol{font-size:1.3rem;color:#76926c}.purchase-catalog-card strong{font-size:.84rem;line-height:1.4;overflow-wrap:anywhere}.purchase-catalog-card small{font-size:.69rem;color:#7a887f;line-height:1.4}.purchase-catalog-action{border-top:1px solid #edf1e9;padding-top:10px;width:100%;margin-top:auto;display:flex;justify-content:space-between;font-size:.73rem;color:#4e7337}.purchase-loading{grid-column:1/-1;padding:25px;color:#72806c;background:#f6f9f2;border-radius:12px}
.purchase-basket-heading{display:flex;justify-content:space-between;align-items:center;margin-top:25px;padding-top:18px;border-top:1px solid #e6ece6}.purchase-basket-heading h3{font-size:.88rem;margin:0}.purchase-basket-heading>span{font-size:.72rem;background:#f0f4ed;border-radius:15px;padding:5px 9px;color:#65765d}.purchase-basket-item{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:12px;padding:20px 0;border-bottom:1px solid #edf1e9}.purchase-basket-item:last-child{border-bottom:0;padding-bottom:0}.purchase-quantity{background:#f0f4ed;color:#4e6a3b;font-size:.8rem;border-radius:8px;height:34px;display:grid;place-items:center}.purchase-basket-description>strong{display:block;font-size:.84rem;line-height:1.5;overflow-wrap:anywhere}.purchase-basket-description>small{display:block;margin-top:5px;color:#79897c;font-size:.68rem}.purchase-line-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}.purchase-line-actions button{background:none;border:0;padding:5px 0;font-size:.7rem;color:#4c7040}.purchase-line-actions .purchase-remove{color:#99786d}.purchase-line-prices{display:grid;gap:8px;align-content:start;text-align:right}.purchase-line-prices span{display:grid;gap:3px;font-size:.63rem;color:#7b887c}.purchase-line-prices b{font-size:.87rem;color:#2e503b;font-variant-numeric:tabular-nums}.purchase-empty{grid-column:1/-1;display:grid;justify-items:center;text-align:center;border:1px dashed #d6e1cf;border-radius:12px;background:#fafbf7;padding:28px 15px;margin-top:14px}.purchase-empty>span{font-size:1.8rem;color:#a3b78f}.purchase-empty strong{font-size:.85rem;color:#536e43}.purchase-empty p{font-size:.76rem;color:#89947e;line-height:1.6;max-width:310px;margin-bottom:0}
.purchase-line-form{margin-top:20px;border:1px solid #cfdfc2;background:#f8fbf4;padding:20px;border-radius:14px}.purchase-line-form h3{margin:0 0 20px;font-size:1rem}.purchase-line-form #pl-rules{font-size:.73rem;color:#718166;margin-top:16px}.purchase-line-form #pl-attributes{margin-top:14px}.purchase-amount-strip{display:flex;justify-content:space-between;align-items:center;background:#f2f7eb;padding:18px;border-radius:10px;gap:12px}.purchase-amount-strip span{font-size:.8rem;color:#5e7651}.purchase-amount-strip strong{font-size:1.55rem;letter-spacing:-.03em}.purchase-note-details{margin:20px 0;font-size:.8rem;color:#687a60}.purchase-note-details summary{cursor:pointer;margin-bottom:10px}.purchase-savebar{display:flex;gap:10px;flex-wrap:wrap;border-top:1px solid #e8eee3;padding-top:20px;margin-top:20px}.purchase-footnote{font-size:.71rem;color:#8a9680;margin-bottom:0}.purchase-payment{padding:18px 0}.purchase-payment .settings-fields{grid-template-columns:1fr 110px!important}.purchase-payment label:has([data-payment-reference]){grid-column:1/-1}
.purchase-wait-panel,.purchase-market-panel{border:1px solid #d9e3db;background:#fff;border-radius:15px;overflow:hidden}.purchase-wait-panel>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:18px;font-size:.88rem;font-weight:650;cursor:pointer}.purchase-wait-panel>summary:after{content:'⌄';color:#8a9a87}.purchase-wait-panel>summary::-webkit-details-marker{display:none}.purchase-count{margin-left:auto;background:#eef3e8;border-radius:20px;padding:4px 8px;font-size:.7rem;color:#637855}.purchase-wait-body{padding:0 15px 12px}.purchase-wait-tools{display:flex;gap:6px;margin-bottom:10px}.purchase-wait-tools label{min-width:0;flex:1}#purchase-wait-list{max-height:340px;overflow:auto;scrollbar-width:thin}.purchase-wait-item{display:grid;grid-template-columns:1fr auto;gap:6px 9px;padding:13px 0;border-top:1px solid #edf1e9}.purchase-wait-item strong{font-size:.73rem;line-height:1.4;overflow-wrap:anywhere;grid-column:1}.purchase-wait-item span{font-size:.65rem;color:#86917f;grid-column:1}.purchase-wait-item button{grid-column:2;grid-row:1/3;align-self:center;padding:7px 8px!important;font-size:.65rem!important;min-height:34px!important}#purchase-wait-list>p{font-size:.73rem;color:#7d8975;line-height:1.5}
.purchase-market-panel{padding:18px}.purchase-market-panel>header{display:flex;align-items:center;gap:10px;margin-bottom:18px}.purchase-mini-icon{background:#f2eddf;color:#8d7946;width:32px;height:32px;display:grid;place-items:center;border-radius:9px}.purchase-market-panel h2{font-size:.88rem;margin:0 0 4px}.purchase-market-panel header p{font-size:.7rem;color:#839079;margin:0}#purchase-market-form{display:grid;gap:8px}.purchase-muted{font-size:.73rem;line-height:1.6;color:#7b8872}.purchase-market-time{font-size:.67rem;color:#8a957f;margin:18px 0 10px}.purchase-market-quote{display:grid;grid-template-columns:1fr auto;gap:5px;padding:13px 0;border-bottom:1px solid #edf0e9}.purchase-market-quote>span{font-size:.72rem;font-weight:650;color:#5e794a}.purchase-market-quote>strong{font-size:1rem;color:#315124}.purchase-market-quote>small{grid-column:1/-1;font-size:.72rem;line-height:1.5;color:#64785c}.purchase-market-quote>em{grid-column:1/-1;font-style:normal;font-size:.62rem;color:#8b9780}.purchase-market-links{display:flex;gap:7px;flex-wrap:wrap}.purchase-market-links a{font-size:.67rem;padding:7px 8px;border:1px solid #e1e7da;border-radius:7px;background:#fafbf7;color:#627653}.purchase-market-links a:hover{background:#edf4e2}.purchase-new-button{padding:13px;border:1px dashed #b9cab0;border-radius:10px;background:none;color:#627854;font-size:.8rem}.purchase-tech-details{font-size:.73rem;color:#869079;padding:4px 6px;line-height:1.6}.purchase-tech-details summary{cursor:pointer}.purchase-tech-details #purchase-last-result h2{font-size:.8rem}.purchase-tech-details #purchase-last-result p{font-size:.73rem}.purchase-tech-details .primary,.purchase-tech-details .secondary{font-size:.72rem;padding:9px}
#purchase-client-selected h3{font-size:.95rem;margin:18px 0 5px}#purchase-client-selected p{font-size:.77rem;line-height:1.5}#purchase-client-selected label{display:grid;gap:7px}#purchase-client-selected .field-help{font-size:.7rem;color:#8c9685}#purchase-save-status{font-size:.78rem;color:#688453}
@media(max-width:1100px){.purchase-layout{grid-template-columns:minmax(0,1fr) 248px;gap:16px}.purchase-card{padding:18px}.purchase-card .settings-fields{grid-template-columns:1fr!important}.purchase-result-grid{grid-template-columns:1fr}.purchase-basket-item{grid-template-columns:28px minmax(0,1fr)}.purchase-line-prices{grid-column:2;display:flex;text-align:left;gap:22px}}
@media(max-width:1000px){.purchase-layout{grid-template-columns:minmax(0,1fr)}.purchase-aside{position:static;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.purchase-new-button,.purchase-tech-details{grid-column:1/-1}.purchase-card .settings-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}.purchase-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-basket-item{grid-template-columns:34px minmax(0,1fr) auto}.purchase-line-prices{grid-column:auto;display:grid;text-align:right}.purchase-overview{padding:20px}.purchase-overview-total strong{font-size:1.7rem}}
@media(max-width:600px){main:has(#purchases-section:not([hidden])) .content{padding:22px 16px 0}.purchase-overview{padding:18px;align-items:flex-start}.purchase-overview p{font-size:.75rem;max-width:150px;line-height:1.6}.purchase-overview-total strong{font-size:1.5rem}.purchase-overview-total>span{font-size:.64rem}.purchase-pill{font-size:.63rem}.purchase-card{padding:18px 15px;border-radius:14px}.purchase-aside{grid-template-columns:1fr}.purchase-card-heading p{font-size:.72rem;line-height:1.5}.purchase-searchbar{flex-wrap:wrap}.purchase-searchbar label{flex-basis:100%}.purchase-searchbar>button{width:100%}.purchase-search-options details{max-width:58%}.purchase-search-options button{font-size:.72rem}.purchase-card .settings-fields{grid-template-columns:1fr!important}.purchase-result-grid{grid-template-columns:1fr}.purchase-basket-item{grid-template-columns:28px minmax(0,1fr)}.purchase-line-prices{grid-column:2;display:flex;text-align:left;gap:22px}.purchase-savebar>button{width:100%}.purchase-line-form{padding:16px}.purchase-payment .settings-fields{grid-template-columns:1fr!important}.purchase-amount-strip{padding:15px}.purchase-amount-strip strong{font-size:1.3rem}}
/* Keep the price guide reachable even when many quotes are displayed. */
.purchase-aside{position:static}

#stock-attribute-fields{border:0;padding:0;margin:0}.stock-attribute-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px}.stock-attribute-grid label{min-width:0;font-size:.85rem}.stock-attribute-grid input{width:100%;box-sizing:border-box;margin-top:6px}.stock-attribute-extra{margin:14px 0;border:1px solid var(--border);border-radius:8px;padding:12px}.stock-attribute-extra summary{cursor:pointer;font-size:.9rem}.stock-attribute-extra[open] summary{margin-bottom:12px}#stock-attribute-fields:disabled{opacity:.55}@media(max-width:600px){.stock-attribute-grid{grid-template-columns:1fr}}
.photo-workshop{width:min(900px,96vw);max-height:94dvh;padding:0;border:0;border-radius:14px;color:var(--green)}.photo-workshop-body{padding:18px 22px}.photo-workshop canvas{display:block;width:auto;max-width:100%;height:auto;max-height:48dvh;margin:12px auto;touch-action:none;background:repeating-conic-gradient(#eee 0% 25%,white 0% 50%) 50%/16px 16px;cursor:crosshair}.photo-tools{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.photo-crop-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}.photo-crop-fields input{box-sizing:border-box;width:100%;padding:8px;border:1px solid var(--border);border-radius:6px}.photo-workshop .dialog-top{position:sticky;top:0;background:white;z-index:1}.edit-photo>div{flex-wrap:wrap}@media(max-width:600px){.photo-tools button{flex:1 1 45%}.photo-workshop-body{padding:12px}.photo-crop-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}

.edit-photo .photo-quick-actions{display:grid;grid-template-columns:40px 40px minmax(0,1fr);gap:5px;padding:7px}.edit-photo .photo-quick-actions button{min-height:38px;padding:4px;font-size:.8rem}.edit-photo .photo-quick-actions button:nth-child(-n+2){font-size:1.3rem}.photo-quick-status{font-size:.75rem;margin:0 7px 5px;overflow-wrap:anywhere}.photo-quick-status:empty{display:none}.edit-photo details{padding:0 7px 8px;font-size:.78rem}.edit-photo details summary{cursor:pointer}.edit-photo details>div{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}

/* Printing stays separate from the article's open button, including on phones. */
.article-open{background:none;border:0;text-align:left;padding:0;color:inherit;min-width:0;font:inherit}
.stock-print-actions{display:flex;flex-direction:column;gap:6px;min-width:88px}
.stock-print-actions button{padding:7px 9px;border:1px solid #ccd7cf;border-radius:7px;background:#fff;color:var(--green);font-size:.76rem;white-space:nowrap}
.stock-print-actions .stock-label{background:#edf3e5;font-weight:650}
.print-feedback{padding:12px 16px;border:1px solid #cadbb9;background:#f1f7e9;border-radius:9px;line-height:1.5}
.ilv-body{padding:8px 24px 24px}.ilv-body p{color:var(--muted);line-height:1.5}
#stock-ilv{width:min(470px,94vw)}#ilv-formats{display:grid;gap:9px}
.ilv-format{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--border);border-radius:9px;padding:15px}.ilv-format:hover{background:#edf3e5}.ilv-format span{font-size:.8rem;color:var(--muted)}
@media(min-width:901px){.table-head,.item-row{grid-template-columns:minmax(210px,1fr) 65px 65px 75px 100px 100px 88px}}
@media(max-width:900px){.stock-print-actions{grid-column:1/-1;flex-direction:row;justify-content:flex-end}.stock-print-actions button{min-height:38px;min-width:92px}.article-open{width:100%}}
@media(min-width:801px) and (max-width:1150px){.table-head,.item-row{grid-template-columns:minmax(100px,1fr) 55px 50px 55px 75px 75px 88px;gap:6px}.stock-print-actions{grid-column:auto;flex-direction:column}.stock-print-actions button{min-width:0}.stock-margin{overflow-wrap:anywhere}}
@media(min-width:801px) and (max-width:900px){.stock-print-actions button{min-height:34px}}

#stock-label{width:min(520px,94vw)}#stock-label-model{width:100%;padding:12px;border:1px solid #ccd1d0;border-radius:8px;background:white;color:#172c26}#stock-label-preview,#stock-accessory-preview{width:100%;height:auto;image-rendering:pixelated;border:12px solid white;outline:1px solid #d7dcd9;border-radius:5px;margin:10px 0 18px}

.stock-selection-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0;padding:12px;background:#f1f5ee;border-radius:10px}.stock-selection-bar label{display:flex;align-items:center;gap:8px;margin:0}.stock-selection-bar input,.stock-select{width:18px;height:18px;accent-color:#17483a}.item-row{position:relative;padding-left:35px}.stock-select{position:absolute;left:8px;top:22px}.stock-states{display:flex;flex-wrap:wrap;gap:5px;margin:5px 0}.state-tag{display:inline-block;background:#f0f2f1;color:#58645e;border-radius:5px;padding:3px 6px;font-size:11px;font-weight:600}.state-good{background:#e2f3e7;color:#205936}.state-alert{background:#ffebd9;color:#87400e}@media(max-width:800px){.stock-selection-bar{gap:8px}.stock-selection-bar label{width:100%}.item-row{padding-left:35px}}

/* Spacious product workspace and direct publication control. */
#detail{margin:auto;width:min(1200px,calc(100vw - 48px));height:auto;max-height:calc(100dvh - 48px);border-radius:18px;overflow:auto}
#detail .detail-body{padding:28px 32px}#detail .dialog-top{padding:18px 32px}#detail .product-image{max-height:360px}
.edit-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:start}.edit-panel{min-width:0;background:#f8faf7;border:1px solid #dde5dc;border-radius:12px;padding:20px}.edit-panel h3:first-child{margin-top:0}.edit-photo-panel{grid-column:1/-1}.edit-photo-panel .edit-photos{grid-template-columns:repeat(4,minmax(0,1fr))}.edit-photo-panel .edit-photo img{height:190px}#edit-fields>.edit-actions{padding:16px 0;margin-bottom:0;z-index:3}.edit-actions .primary{flex:0 1 auto;min-width:240px}
.publication-switch{display:inline-flex;align-items:center;gap:6px;background:transparent;border:0;color:#526458;padding:4px 0;font-size:11px;font-weight:600}.publication-switch>span{width:27px;height:16px;border-radius:10px;background:#a2aca5;position:relative;flex-shrink:0}.publication-switch>span:after{content:'';position:absolute;width:12px;height:12px;border-radius:50%;background:white;left:2px;top:2px}.publication-switch.is-on>span{background:#527c39}.publication-switch.is-on>span:after{left:13px}.article-main .article-icon{border:0;cursor:pointer}.print-total{background:#edf4df;padding:12px;border-radius:8px;font-weight:600;line-height:1.5}
#free-label{width:560px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:16px}#free-label fieldset{border:0;padding:0}#free-label label{display:block;font-size:.9rem;margin:12px 0}#free-label input,#free-label textarea{display:block;width:100%;padding:12px;border:1px solid #ccd8cc;border-radius:7px;margin-top:8px;font:inherit}#free-label .primary{margin-top:16px}#free-label-preview{width:100%;height:auto;margin-top:18px;border:1px solid #d6dfd5;border-radius:8px}
@media(max-width:800px){#detail{width:100%;max-width:100%;height:100dvh;max-height:100dvh;border-radius:0}#detail .detail-body{padding:18px}.edit-layout{grid-template-columns:1fr;gap:14px}.edit-panel{padding:16px}.edit-photo-panel .edit-photos{grid-template-columns:repeat(2,minmax(0,1fr))}.edit-actions .primary{min-width:0;flex:1}}

.diagnostic-mode .stock-select,.diagnostic-mode .stock-print-actions,.diagnostic-mode #stock-selection-bar{display:none}

.zones-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}.zone-card{background:#f7faf5;border:1px solid #dce5d8;border-radius:12px;padding:18px}.zone-card h3{margin:0 0 14px}.zone-card fieldset{border:0;padding:0;min-width:0}.zone-card label{display:block;font-size:.85rem;margin:12px 0}.zone-card input,.zone-card select{width:100%;padding:10px;border:1px solid #cdd8c9;border-radius:6px;margin-top:7px;font:inherit}.zone-feedback{font-size:.8rem;line-height:1.5}.zone-card .edit-prices{gap:10px}.zone-card .secondary{margin-top:12px}

#stock-label-quantities{max-height:240px;overflow:auto;margin:16px 0}.label-quantity-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid #e4e7e3}.label-quantity-row small{display:block;font-size:12px;color:#657067;margin-top:4px}.label-quantity-row input{width:90px;min-width:70px;padding:10px}

.box-suggestions{display:flex;flex-wrap:wrap;gap:6px;max-height:150px;overflow:auto;margin-top:8px}.box-suggestions button{padding:7px 12px;min-height:34px}

.queue-layout{display:grid;grid-template-columns:minmax(250px,340px) 1fr;gap:24px}.queue-layout .edit-panel{padding:24px}.queue-tools{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.queue-ticket{padding:18px 0;border-bottom:1px solid #e3e9e5}.queue-ticket strong{font-size:22px}.queue-ticket small{display:block;margin:8px 0}.queue-actions{display:flex;flex-wrap:wrap;gap:8px}#queue-client-results{max-height:250px;overflow:auto}#queue-client-results button{display:block;width:100%;text-align:left;margin:8px 0;padding:12px}#queue-search-form button,#queue-new-client{margin-top:12px}@media(max-width:800px){.queue-layout{grid-template-columns:1fr}}

/* Purchase queue: guided entry and live list. */
.queue-layout{grid-template-columns:minmax(360px,1.05fr) minmax(320px,1fr);align-items:start;gap:28px}.queue-layout .edit-panel{background:#fff;border:1px solid #e1e7dd;border-radius:22px;padding:28px}.queue-entry-title{padding-bottom:20px;border-bottom:1px solid #edf0e9}.queue-entry-title h2{font-size:28px;letter-spacing:-.8px;margin:10px 0}.queue-entry-title p{color:#6a7567;margin:0}.queue-step{display:flex;gap:16px;padding:24px 0;border-bottom:1px solid #edf0e9}.queue-step-number{flex:0 0 30px;height:30px;border-radius:50%;background:#eef4dc;color:#456518;display:grid;place-items:center;font-size:13px;font-weight:800}.queue-step-body{flex:1;min-width:0}.queue-step h3{margin:4px 0 18px;font-size:17px}.queue-step label{display:block;font-size:13px;margin:0 0 8px;color:#56614f}.queue-search-row{display:flex;gap:8px}.queue-search-row input{min-width:0;width:100%}#queue-search-form .queue-search-row button{margin:0;white-space:nowrap}.queue-entry input,.queue-entry select,.queue-tools select{min-height:46px;border:1px solid #d6dfcf;border-radius:10px;background:#fff;padding:10px 12px;font:inherit}.queue-entry select{width:100%}#queue-new-client{font-size:13px;margin-top:4px}#queue-client-selection:empty{display:none}#queue-client-selection{font-size:13px;color:#65715c}#queue-client-selection.is-selected{padding:12px;border-radius:10px;background:#eef5df;color:#355117;font-weight:600}#queue-client-results button[aria-pressed="true"]{border-color:#769d38;background:#f1f7e7}.queue-recap{position:relative;margin-top:24px;padding:20px;background:#f7f9f2;border:1px dashed #bac9a8;border-radius:12px;display:flex;flex-direction:column;gap:9px}.queue-recap strong{font-size:18px;overflow-wrap:anywhere}.queue-recap>span:not(.eyebrow){font-size:14px;color:#607151}.queue-recap-bottom{display:flex;justify-content:space-between;gap:12px;border-top:1px dashed #cbd5bf;padding-top:14px;margin-top:8px;font-size:11px;color:#79846f}#queue-add{width:100%;margin-top:18px;min-height:52px;border-radius:12px;font-size:15px}#queue-add:disabled{opacity:.45;cursor:not-allowed}.queue-print-note{text-align:center;font-size:12px;color:#7c8575;margin:10px 0 0}.queue-live-title{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:22px}.queue-live-title h2{font-size:22px;margin:8px 0;letter-spacing:-.5px}.queue-tools{background:#f6f8f2;border-radius:12px;padding:12px 14px;font-size:13px;justify-content:space-between}.queue-ticket{margin-top:16px;padding:18px;border:1px solid #e0e7d8;border-radius:14px}.queue-ticket strong{font-size:18px;overflow-wrap:anywhere}.queue-ticket small{font-size:12px;color:#6e7965;line-height:1.6}.queue-actions button{font-size:12px;padding:8px 10px}.queue-actions button[data-queue-action="call"]{background:#e9f2d4;border-color:#cbdcae;color:#355117}.queue-empty{text-align:center;padding:50px 12px;color:#738068}.queue-empty>span{display:inline-grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#f0f5e6;font-size:24px;color:#799f40}.queue-empty h3{font-size:17px;color:#45543a}.queue-empty p{font-size:13px}#queue-status:empty{display:none}
@media(max-width:1100px){.queue-layout{grid-template-columns:1fr}.queue-layout .edit-panel{padding:24px}}@media(max-width:520px){.queue-layout .edit-panel{padding:18px;border-radius:16px}.queue-entry-title h2{font-size:24px}.queue-step{gap:10px}.queue-search-row{flex-direction:column}.queue-search-row button{width:100%}.queue-live-title{align-items:flex-start}.queue-live-title h2{font-size:19px}.queue-recap-bottom{flex-wrap:wrap}.queue-tools select{width:100%}}

.price-history{margin:16px 0;padding:12px;border:1px solid #dce4db;border-radius:12px;background:#f8faf7}.price-history summary{cursor:pointer;font-weight:700}.price-history-list{list-style:none;margin:10px 0;padding:0;max-height:360px;overflow:auto}.price-history-list li{padding:12px 0;border-bottom:1px solid #dce4db}.price-history-list li>div{display:flex;justify-content:space-between;gap:12px}.price-history-list span,.price-history-list small{display:block;margin-top:5px;color:#526050;font-size:12px}.price-history-actions{display:flex;flex-wrap:wrap;gap:8px}

.laser-layout{display:grid;grid-template-columns:minmax(260px,1fr) minmax(320px,2fr);gap:20px;margin-bottom:20px}#laser-preview{width:100%;height:auto;background:#f5f8f6;border:1px solid #dce4db;border-radius:12px;margin-top:12px}#laser-preview-warning{color:#875318;font-size:13px}@media(max-width:850px){.laser-layout{grid-template-columns:1fr}}

/* Stock listing: identity, pricing and publication have separate positions. */
#items .item-row{align-items:start;row-gap:12px;padding-top:18px;padding-bottom:14px}
#items .article-title{line-height:1.4;margin-bottom:5px}
#items .article-code{line-height:1.6;font-size:12px}
#items .stock-family,#items .stock-prices{display:flex;flex-direction:column;gap:8px;min-width:0}
#items .stock-grade{font-size:12px;color:#475d52;line-height:1.4}
#items .stock-prices{text-align:right}
#items .stock-network-price{font-size:12px;line-height:1.5;color:#66766e;font-weight:400}
#items .stock-status-row{grid-column:1 / -1;border-top:1px solid #edf0ec;padding-top:8px}
#items .stock-states{margin:0;align-items:center;gap:8px}
#items .stock-print-actions{align-self:start}
@media(min-width:1001px){#items .purchase-info{display:none}}
@media(max-width:1000px){
 #items .item-row{grid-template-columns:minmax(0,1fr) auto}
 #items .stock-family{grid-column:1;grid-row:2;flex-direction:row;align-items:center;flex-wrap:wrap}
 #items .stock-family .family-tag{grid-column:auto;grid-row:auto}
 #items .stock-prices{grid-column:2;grid-row:2 / 4}
 #items .stock-prices .price{grid-column:auto;grid-row:auto}
 #items .quantity{grid-column:1;grid-row:3}
 #items .purchase-price{grid-column:1;grid-row:4}
 #items .stock-margin{grid-column:1;grid-row:5}
 #items .purchase-info{display:none}
 #items .stock-print-actions{grid-column:2;grid-row:4 / 6}
 #items .stock-status-row{grid-column:1 / -1;grid-row:6}
}
.sale-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:start}.sale-panel{background:white;border:1px solid #dee7df;border-radius:16px;padding:22px;margin-bottom:18px}.sale-panel h2{font-size:18px;margin:0 0 18px}.sale-checkout{position:sticky;top:18px;display:flex;flex-direction:column;gap:14px}.sale-total{font-size:36px;color:#17483a}.sale-search{display:flex;gap:10px;margin-bottom:12px}.sale-search input{min-width:0;flex:1}.sale-result{display:flex;flex-direction:column;gap:5px;background:#f5f7f4;border:1px solid #e1e6df;border-radius:8px;padding:12px;margin-top:8px;text-align:left;width:100%}.sale-line{display:grid;grid-template-columns:minmax(0,1fr) 64px 110px auto;gap:12px;border-bottom:1px solid #e9eee8;padding:16px 0;align-items:center}.sale-line input,.sale-payment input,.sale-payment select{width:100%;box-sizing:border-box}.sale-line label,.sale-payment label{font-size:12px}.sale-shortage{grid-column:1/-1;display:flex;gap:10px;padding:12px;background:#fff1dd;border-radius:8px}.sale-shortage input{width:18px}.sale-payment{display:grid;grid-template-columns:1fr 110px 30px;gap:8px;align-items:end;margin:12px 0}.sale-payment button{padding:10px 4px}#sale-review{border-top:1px solid #dde5dc;padding-top:12px}#sale-review:empty{display:none}#sale-review p{font-size:13px;line-height:1.5}#sale-fields{border:0;padding:0;margin:0;min-width:0}#sale-status{font-weight:600;line-height:1.6}@media(max-width:1100px){.sale-layout{grid-template-columns:1fr}.sale-checkout{position:static}.sale-line{grid-template-columns:minmax(0,1fr) 60px 100px}.sale-line>div{grid-column:1/-1}.sale-search{flex-wrap:wrap}.sale-search input{flex-basis:100%}}
#sales-section input:not([type=checkbox]),#sales-section select{font:inherit;padding:10px 12px;border:1px solid #cdd9d0;border-radius:8px;background:#fff;color:#203a30;min-height:42px;box-sizing:border-box}#sales-section label{display:flex;flex-direction:column;gap:6px}#sales-section .sale-shortage{flex-direction:row;align-items:center}#sales-section input:focus,#sales-section select:focus{outline:2px solid #93b968;outline-offset:2px}@media(min-width:1101px){.sale-line{grid-template-columns:minmax(0,1fr) 72px 115px auto}}.sale-line .sale-shortage{font-size:13px}.sale-result:hover{border-color:#799b71;background:#edf4e9}

.sale-payment-reference{grid-column:1 / -1}.sale-payment-reference [role=status]{color:#2b6146;font-size:12px}#sale-loyalty{padding:12px;background:#edf4e8;border-radius:8px;margin-bottom:12px}#sale-loyalty:empty{display:none}
/* Laser workshop */
.laser-workbench{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:22px;align-items:start}.laser-design,.laser-operations{display:grid;gap:20px}.laser-workbench .edit-panel{margin:0;padding:22px;min-width:0;border-radius:18px}.laser-panel-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.laser-panel-title h2{margin:0}.laser-panel-title>span{font-size:12px;color:#607264}.laser-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.laser-workbench label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;color:#405a4b}.laser-workbench input:not([type=checkbox]):not([type=file]),.laser-workbench select{width:100%;min-width:0;font:inherit;font-size:14px;box-sizing:border-box;border:1px solid #cddbcf;border-radius:8px;background:white;padding:10px}.laser-workbench fieldset{border:0;padding:0;margin:18px 0 0}.laser-workbench fieldset:disabled{opacity:.5}.laser-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.laser-actions button{flex:1}.laser-upload{padding:18px;border:1px dashed #8fa894;border-radius:12px;background:#f4f8f1;font-size:14px!important}.laser-upload input{margin-top:8px;max-width:100%}.laser-stage canvas{display:block;width:100%;height:auto;border:0!important;background:white!important;max-height:none!important}.laser-badge{border:1px solid #cbdcc9;padding:10px 16px;border-radius:24px;background:#f0f6eb;font-weight:600;font-size:13px}.laser-jog{display:grid;grid-template-columns:1fr 1fr;gap:8px}.laser-jog button{padding:10px;background:#f1f5ef;border:1px solid #d8e3d5;border-radius:8px}.laser-start{width:100%;margin:12px 0;font-size:16px;padding:15px}.laser-workbench .laser-check{flex-direction:row;align-items:center;margin-top:14px;font-weight:400}.laser-library-row{display:grid;grid-template-columns:1fr auto;gap:7px;padding:14px 0;border-top:1px solid #e2e9df}.laser-library-row strong{overflow-wrap:anywhere}.laser-library-row small{grid-row:2;color:#66776c}.laser-library-row button{grid-column:2;grid-row:1/3}.laser-workbench .field-help{line-height:1.5;font-size:12px}.laser-workbench h2{font-size:18px}#laser-message,#laser-library-message,#laser-preview-warning{font-size:13px;line-height:1.5;overflow-wrap:anywhere}#laser-preview-warning:not(:empty){color:#93532d}#laser-position{background:#f1f6ee;padding:12px;border-radius:8px;font-variant-numeric:tabular-nums}@media(max-width:1250px){.laser-workbench{grid-template-columns:1fr}.laser-operations{grid-template-columns:1fr 1fr}}@media(max-width:700px){.laser-fields{grid-template-columns:1fr 1fr}.laser-operations{grid-template-columns:1fr}.laser-workbench .edit-panel{padding:16px}.laser-panel-title{flex-wrap:wrap}.laser-badge{align-self:start}}
.laser-arrow-pad{display:grid;grid-template-columns:repeat(3,52px);grid-template-rows:repeat(3,44px);gap:5px;justify-content:center;margin:14px auto}.laser-arrow-pad button{font-size:24px;border:1px solid #c5d6c5;background:#eff5eb;border-radius:8px}.laser-arrow-pad .arrow-up{grid-column:2;grid-row:1}.laser-arrow-pad .arrow-left{grid-column:1;grid-row:2}.laser-arrow-pad span{grid-column:2;grid-row:2;align-self:center;text-align:center;color:#617867}.laser-arrow-pad .arrow-right{grid-column:3;grid-row:2}.laser-arrow-pad .arrow-down{grid-column:2;grid-row:3}.laser-coordinate-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px}.laser-marker{margin-top:18px}.laser-marker summary{cursor:pointer;margin-bottom:14px;font-size:13px;color:#45634e}#laser-template-message{font-size:13px;color:#486a4e}#laser-template-list{flex:2;min-width:160px!important}#laser-goto{width:100%;margin-top:4px}

.laser-progress-panel{padding:16px;margin:16px 0;background:#eff6ef;border:1px solid #d1e1d4;border-radius:12px}.laser-progress-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px}.laser-progress-heading strong{font-size:23px;color:#1c7355;font-variant-numeric:tabular-nums}.laser-progress-panel progress{display:block;width:100%;height:14px;margin:12px 0;appearance:none;border:0;border-radius:10px;overflow:hidden;background:#dce8de;accent-color:#21825b}.laser-progress-panel progress::-webkit-progress-bar{background:#dce8de;border-radius:10px}.laser-progress-panel progress::-webkit-progress-value{background:#21825b;border-radius:10px}.laser-progress-panel progress::-moz-progress-bar{background:#21825b;border-radius:10px}.laser-progress-panel p{margin:8px 0;font-size:13px;font-variant-numeric:tabular-nums}.laser-progress-panel small{font-size:11px;color:#5d7163}

.laser-telemetry-values{display:grid;grid-template-columns:1fr 1fr;gap:8px;font-size:12px}.laser-telemetry-values dt{color:#617166}.laser-telemetry-values dd{margin:0;text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}#laser-telemetry-freshness,#laser-mail-state{font-size:12px;line-height:1.5}

.laser-library-actions{grid-column:2;grid-row:1/3;display:flex;flex-wrap:wrap;align-items:center;gap:6px}.laser-library-actions button{grid-column:auto;grid-row:auto}.laser-library-actions button:last-child{color:#9a3535}

#laser-camera-image{width:100%;height:auto;display:block;border-radius:10px;background:#101713;aspect-ratio:16/9;object-fit:contain}#laser-camera-image[hidden]{display:none}#laser-camera-image:fullscreen{width:100vw;height:100vh;border-radius:0;background:black;object-fit:contain}#laser-camera-status{font-size:12px;line-height:1.5;color:#45604c}

.laser-text-panel textarea{width:100%;box-sizing:border-box;border:1px solid #cddbcf;border-radius:8px;padding:10px;font:inherit;font-size:15px;resize:vertical}.laser-text-panel .laser-fields{margin-top:12px}#laser-text-message{font-size:13px;line-height:1.5;color:#45604c}

/* Mondial Relay: store settings and shipment workflow */
.shipping-grid,.shipping-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.shipping-grid{align-items:start;margin-top:22px}.shipping-grid .settings-card,.shipping-review,#mr-settings-card{padding:24px;border:1px solid var(--border,#dce3df);border-radius:18px;background:#fff;min-width:0}.shipping-fields label{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:600;min-width:0}.shipping-fields input,.shipping-fields select,#shipping-mode{width:100%;min-width:0;padding:11px;border:1px solid #ccd6d0;border-radius:9px;background:#fff;font:inherit}.shipping-fields{margin:16px 0}.shipping-client-search{display:flex;gap:10px;align-items:end}.shipping-client-search label{flex:1;min-width:0}.shipping-client-search input{width:100%;padding:10px;border:1px solid #ccd6d0;border-radius:9px}.shipping-choice{display:block;text-align:left;width:100%;padding:12px;margin:8px 0;border:1px solid #d8e2dc;border-radius:10px;background:#f7faf8;color:#20372b;cursor:pointer;white-space:normal}.shipping-choice[aria-pressed=true]{border-color:#478b31;background:#eff8e8;box-shadow:inset 3px 0 #478b31}#shipping-points{max-height:360px;overflow:auto}#shipping-selected-point{color:#2f6925;font-weight:600}.shipping-review{margin-top:20px}.shipping-badge{display:inline-block;padding:7px 12px;background:#f3f5e8;border-radius:20px;font-weight:600;font-size:13px}.shipping-pdf{display:inline-block;margin-top:10px;text-decoration:none}.shipping-history-heading{display:flex;align-items:center;justify-content:space-between;margin:28px 0 16px}.shipping-history-row{padding:18px;margin-bottom:12px;border:1px solid #dce3df;border-radius:12px;background:white;overflow-wrap:anywhere}#mr-settings-card{margin-bottom:22px}#mr-settings-card details{margin:20px 0}#mr-settings-card summary{cursor:pointer;font-weight:700}#shipping-status,#shipping-feedback,#shipping-create-status,#mr-settings-status{white-space:pre-line;line-height:1.5}#shipping-section button{max-width:100%}
@media(max-width:900px){.shipping-grid{grid-template-columns:1fr}}@media(max-width:520px){.shipping-fields{grid-template-columns:1fr}.shipping-grid .settings-card,.shipping-review,#mr-settings-card{padding:16px}.shipping-client-search{align-items:stretch;flex-direction:column}.shipping-history-heading{gap:12px;align-items:start}}

.shipping-track-form{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:18px 0}.shipping-track-form label{display:flex;flex-direction:column;gap:8px;flex:1;min-width:220px}.shipping-track-form input{padding:11px;border:1px solid #ccd6d0;border-radius:9px;font:inherit}.shipping-track-form p{flex-basis:100%;margin:0}.shipping-tracking{margin:14px 0;padding:12px;border-left:3px solid #82ad46;background:#f5f8f1;border-radius:7px}.shipping-tracking summary{cursor:pointer;font-weight:600}.shipping-tracking li{padding:7px 0}.shipping-history-row>.shipping-pdf{margin-right:12px}

/* Manager ZZZ reconciliation */
.zzz-filters,.zzz-search{display:flex;gap:14px;flex-wrap:wrap;align-items:end;margin:20px 0}.zzz-filters label,.zzz-search label,.zzz-filter-text{display:flex;flex-direction:column;gap:8px;font-weight:600;font-size:14px}.zzz-filters input,.zzz-filters select,.zzz-search input,.zzz-filter-text input{border:1px solid #ccd6d0;border-radius:9px;padding:11px;font:inherit;background:#fff}.zzz-search label{flex:1;min-width:200px}.zzz-filter-text{max-width:540px;margin-bottom:18px}.zzz-table-wrap{overflow:auto;border:1px solid #dce3df;border-radius:14px;background:#fff}.zzz-table{width:100%;border-collapse:collapse;font-size:14px}.zzz-table th,.zzz-table td{text-align:left;padding:16px;border-bottom:1px solid #e5e9e5;vertical-align:middle}.zzz-table small{display:block;color:#66786b;margin-top:6px}.zzz-negative{display:inline-block;color:#8b3c27;background:#fff1e7;padding:8px;border-radius:8px;margin-top:8px}.zzz-dialog{width:min(1000px,95vw);max-height:90vh;border:0;border-radius:20px;padding:28px;overflow:auto}.zzz-dialog::backdrop{background:#102d25aa}.zzz-dialog-heading{display:flex;align-items:start;justify-content:space-between;gap:20px}.zzz-dialog h2{margin-top:8px}.zzz-summary{display:flex;justify-content:space-between;gap:12px;padding:15px;background:#f4f7f0;border-radius:10px;margin:15px 0}.zzz-product{display:flex;flex-direction:column;gap:7px;width:100%;text-align:left;background:white;border:1px solid #d6e2d8;padding:14px;border-radius:10px;margin:8px 0;cursor:pointer}.zzz-product[aria-pressed=true]{background:#edf6e4;border-color:#77a641}.zzz-product:disabled{opacity:.5;cursor:not-allowed}.zzz-product span{font-size:13px;color:#607367}#zzz-products{max-height:320px;overflow:auto;margin:14px 0}#zzz-chosen{font-weight:600;color:#37652b;margin:15px 0}.zzz-archive{margin-top:25px;padding-top:18px;border-top:1px solid #e0e7df}.zzz-confirm{margin-top:22px;background:#f1f7e9;border:1px solid #b9d199;border-radius:12px;padding:20px}#zzz-action-status{white-space:pre-line;line-height:1.6}@media(max-width:600px){.zzz-dialog{padding:16px}.zzz-summary{flex-direction:column}.zzz-filters{align-items:stretch}.zzz-filters label{flex:1;min-width:130px}.zzz-table th,.zzz-table td{padding:11px}.zzz-dialog-heading h2{font-size:22px}}

/* Customer product searches */
.wishes-summary{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}.wishes-summary>span{padding:15px 18px;border:1px solid #dce3df;background:#fff;border-radius:12px}.wishes-summary strong{font-size:24px;margin-right:7px}.wishes-layout{display:grid;grid-template-columns:minmax(290px,380px) minmax(0,1fr);gap:24px;align-items:start}.wish-entry,.wish-card{padding:24px;border:1px solid #dce3df;background:#fff;border-radius:16px}.wish-entry form{display:grid;gap:13px}.wish-entry label,.wish-filters label{display:grid;gap:7px;font-size:14px;font-weight:600}.wish-entry input,.wish-entry select,.wish-entry textarea,.wish-filters input,.wish-filters select{width:100%;min-width:0;border:1px solid #ccd6d0;border-radius:8px;padding:11px;background:#fff;color:#19392f;font:inherit}.wish-entry #wish-form{margin-top:22px}.wish-actions,.wish-toolbar,.wish-card-title{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.wish-toolbar,.wish-card-title{justify-content:space-between}.wish-toolbar h2{margin:0}.wish-filters{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.wish-card{margin:14px 0;overflow-wrap:anywhere}.wish-card h3{margin:8px 0;font-size:22px}.wish-client-name{font-weight:700}.wish-match{margin-top:12px;padding:15px;background:#f1f7ed;border:1px solid #dce7d5;border-radius:10px}.wish-match p{margin:7px 0}.wish-match small{display:block;color:#5a6e61;margin-bottom:12px}.wish-results{min-width:0}#wish-client-results{max-height:260px;overflow:auto}#wish-client-selected{font-weight:650;color:#306626}#wish-monitor-status{font-size:14px;color:#5e7466}.wish-actions button{font-size:13px;padding:9px 12px}
@media(max-width:1000px){.wishes-layout{grid-template-columns:1fr}.wish-entry{max-width:none}.wish-filters{grid-template-columns:1fr}.wishes-summary{gap:8px}}

.wish-criterion{padding:14px 0;border-bottom:1px solid #e3e9e5;display:grid;gap:9px}.wish-required{display:flex!important;flex-direction:row;align-items:center;font-size:12px!important}.wish-required input{width:16px!important;margin:0}.wish-match-quality{display:block;font-size:11px;font-weight:750;color:#436b26;margin-bottom:8px}.criterion-mismatch{color:#82500b}.criterion-ok{color:#315d36}.wish-match ul{font-size:13px;padding-left:18px}.wish-criteria-summary{padding:12px;border-left:3px solid #adc87d;background:#f7faf3;font-size:13px}

#wish-mail-dialog{width:min(800px,94vw);max-height:92vh;border:1px solid #d7e1da;border-radius:18px;padding:0}.wish-mail-body{padding:24px;display:grid;gap:12px;overflow-wrap:anywhere}.wish-mail-body label{font-weight:650}.wish-mail-body input,.wish-mail-body textarea{width:100%;box-sizing:border-box;font:inherit;padding:12px;border:1px solid #cbd8cf;border-radius:8px;background:white;color:#17382c}.wish-mail-body textarea{line-height:1.5;resize:vertical;min-height:280px}.wish-mail-history{font-size:12px;color:#47654d}.wish-mail-body button{justify-self:start}

/* Shared shell: quieter surfaces, one primary navigation, compact mobile tabs. */
:root{--green:#153e34;--muted:#64766e;--border:#dfe7e2;background:#f5f7f5}
.sidebar{width:248px;padding:26px 18px 20px;background:#12392f;overflow-y:auto;scrollbar-width:thin}
.sidebar .brand{padding:0 10px}.sidebar .store{margin:28px 10px 22px;padding:18px 0;border-top:1px solid #ffffff18;border-bottom:1px solid #ffffff18;gap:7px}.sidebar .store .eyebrow{font-size:.6rem}.sidebar .store strong{font-size:.88rem}
.sidebar nav{display:grid;gap:15px}.sidebar nav button{min-height:43px;padding:11px 12px;gap:11px;font-size:.82rem;align-items:center;border-radius:9px;color:#d2e0d9}.sidebar nav button:hover{background:#ffffff0c}.sidebar nav button.nav-active{background:#d9f179;color:#183d30;font-weight:650}.sidebar nav button svg{width:19px;height:19px;flex:none}.sidebar nav .home-nav-title{font-size:inherit;line-height:1.3}
.home-nav-group{display:grid;gap:3px}.home-nav-label{font-size:.57rem;letter-spacing:.13em;color:#8fae9e;padding:0 12px 7px}.home-nav-group:not(:has(button:not([hidden]))){display:none}.sidebar-bottom{padding:22px 10px 0}.sidebar-bottom .read-only,.sidebar-bottom p{display:none}.sidebar-bottom .logout{font-size:.78rem;padding-top:16px}
main{margin-left:248px}.topbar{height:65px;padding-inline:36px;background:#ffffffc9}.breadcrumb{color:#526c5e;font-size:.8rem}.version{border:0;background:#edf2e8;font-size:.6rem;color:#4c6a54;border-radius:20px;letter-spacing:.08em}.content{padding:24px 36px 0;max-width:1660px}.identity-strip{margin-bottom:28px;padding-bottom:15px}.identity-strip strong{font-size:.85rem}.identity-strip span{font-size:.69rem;border-radius:20px}.identity-strip button{font-size:.73rem}
.heading h1{font-size:clamp(1.7rem,2.8vw,2.2rem);letter-spacing:-.045em}.heading p{line-height:1.6}.heading .eyebrow{font-size:.65rem}.settings-card,.cash-card,.cash-panel,.search-panel{box-shadow:0 3px 16px #18392d04}.primary,.secondary{border-radius:9px}.settings-card{border-color:var(--border)}
.wish-nav-wrap{display:flex;align-items:center;gap:2px;min-width:0}.wish-nav-wrap:has(>button[hidden]){display:none}.sidebar nav .wish-nav-wrap>#nav-wishes{flex:1;width:auto;min-width:0;padding-right:4px}.sidebar nav .wish-alert-badge,.wish-alert-badge{border:1px solid #cddbcc;background:#e8f0e7;color:#385c43;border-radius:20px;min-width:26px;width:auto;min-height:26px;padding:3px 7px;margin-right:5px;font-size:.69rem;font-weight:750;justify-content:center}.sidebar nav .wish-alert-badge{background:#ffffff14;color:#dce8de;border-color:#ffffff24}.wish-alert-badge.has-pending,.sidebar nav .wish-alert-badge.has-pending{background:#f4ca78;color:#513608;border-color:transparent}
.home-welcome{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:8px 0 25px}.home-welcome h1{font-size:clamp(2rem,3.2vw,3.1rem);font-weight:650;letter-spacing:-.06em;margin:10px 0}.home-period{color:#71953b}.home-welcome .eyebrow{font-size:.61rem}.home-welcome p{color:var(--muted);font-size:.88rem;line-height:1.6;margin:0}.home-date{display:grid;gap:7px;text-align:right;flex-shrink:0}.home-date strong{font-size:.85rem}.home-date span{font-size:.72rem;color:var(--muted);text-transform:capitalize}
.home-search{display:flex;align-items:center;gap:14px;background:white;border:1px solid #cfdbd2;padding:9px 10px 9px 20px;border-radius:13px;box-shadow:0 6px 22px #163e3305;margin-bottom:32px}.home-search-icon svg{width:22px;height:22px;color:#71877a}.home-search input{border:0;min-width:0;flex:1;background:none;padding:12px 0;font-size:.87rem;color:var(--green);outline:none}.home-search:focus-within{border-color:#779d54;box-shadow:0 0 0 3px #d5e8bd60}.home-search button{font-size:.8rem;min-height:44px;gap:24px}
.home-section-title{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin:28px 0 13px}.home-section-title h2{font-size:1rem;margin:0;letter-spacing:-.025em}.home-section-title>span{font-size:.7rem;color:var(--muted)}
.home-priorities{display:grid;grid-template-columns:1fr 1fr;gap:14px}.home-priority{display:flex;align-items:center;gap:18px;text-align:left;color:var(--green);background:#edf3e9;border:1px solid #d9e4d2;border-radius:14px;padding:22px}.home-priority.home-attention{background:#fff5df;border-color:#efddb3}.home-priority-icon{background:#ffffffa6;border:1px solid #ffffff;width:44px;height:44px;border-radius:12px;display:grid;place-items:center;flex:none}.home-priority-icon svg{width:22px;height:22px}.home-priority>span:nth-child(2){display:grid;gap:5px;min-width:0}.home-priority strong{font-size:1.9rem;letter-spacing:-.05em;line-height:1}.home-priority b{font-size:.79rem;font-weight:600}.home-priority small{font-size:.68rem;line-height:1.5;color:#6c7d67}.home-attention small{color:#8c713c}.home-arrow{color:#6d8573;font-size:1.15rem;margin-left:auto;align-self:flex-start}.home-priority .home-arrow{align-self:center}
.home-module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.home-module{display:flex;gap:14px;align-items:flex-start;text-align:left;background:#fff;border:1px solid var(--border);border-radius:13px;padding:22px 18px;color:var(--green);min-height:130px;box-shadow:0 2px 5px #163e3302}.home-module:hover{background:#faffef;border-color:#a7bf90;box-shadow:0 5px 18px #163e3308}.home-module-icon{width:38px;height:38px;background:#eff4e9;border-radius:10px;flex:none;display:grid;place-items:center;color:#4e714a}.home-module-icon svg{width:20px;height:20px}.home-module-copy{display:grid;gap:9px;min-width:0;padding-top:2px}.home-module-copy strong{font-size:.85rem;font-weight:650;line-height:1.4}.home-module-copy>span{font-size:.72rem;color:var(--muted);line-height:1.6}.home-module>.home-arrow{font-size:.9rem}.home-secondary-groups{display:grid;grid-template-columns:1fr 1fr;gap:22px}.home-small-grid{grid-template-columns:1fr}.home-small-grid .home-module{min-height:94px;padding:17px}.home-small-grid .home-module-copy{gap:4px}.home-small-grid .home-module-copy strong{font-size:.79rem}.home-small-grid .home-module-copy>span{font-size:.69rem}.home-next{display:flex;gap:15px;align-items:center;margin-top:30px;padding:20px 0;border-top:1px solid var(--border)}.home-next-icon{font-size:1.5rem;color:#91a187}.home-next strong{font-size:.76rem;font-weight:600}.home-next p{font-size:.7rem;line-height:1.6;color:var(--muted);margin:5px 0 0;max-width:650px}.home-next-label{margin-left:auto;font-size:.62rem;border:1px solid var(--border);border-radius:20px;padding:6px 10px;white-space:nowrap;color:#7c8b7d}
#wish-alert-dialog{width:540px;max-width:calc(100vw - 28px);max-height:85dvh;border-radius:16px}#wish-alert-title{font-size:1rem;margin:0}.wish-alert-body{padding:22px}.wish-alert-intro{font-size:.85rem;color:var(--muted);line-height:1.6;margin:0 0 18px}.wish-alert-row{display:flex;gap:12px;align-items:center;text-align:left;width:100%;padding:16px 0;border:0;border-bottom:1px solid var(--border);background:white;color:var(--green)}.wish-alert-row>span:nth-child(2){display:grid;gap:6px;flex:1;min-width:0}.wish-alert-row strong{font-size:.87rem}.wish-alert-row span span{font-size:.76rem}.wish-alert-row small{font-size:.7rem;color:var(--muted);line-height:1.5}.wish-alert-dot{width:7px;height:7px;background:#c78e31;border-radius:50%;flex:none}.wish-alert-body>.primary{width:100%;margin-top:20px;font-size:.83rem}.wish-alert-body>.secondary{margin:15px 0}
@media(min-width:1600px){.home-module-grid:not(.home-small-grid){grid-template-columns:repeat(5,minmax(0,1fr))}.home-module-grid:not(.home-small-grid) .home-module{flex-wrap:wrap;position:relative}.home-module-grid:not(.home-small-grid) .home-arrow{position:absolute;top:20px;right:16px}}
@media(min-width:801px) and (max-width:1150px){.sidebar{width:212px;padding-inline:12px}.sidebar nav button{font-size:.76rem;padding-inline:9px;gap:8px}.sidebar nav button svg{width:17px}.content{padding-inline:24px}main{margin-left:212px}.topbar{padding-inline:24px}.home-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-priority{padding:18px;gap:12px}.home-priority-icon{display:none}}
@media(max-width:800px){.sidebar{display:none}main{margin-left:0}.topbar{height:56px;padding-inline:18px}.content{padding:20px 18px 0}.identity-strip{margin-bottom:19px}.section-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;gap:6px;padding:0 0 9px;margin-bottom:21px}.section-tabs>button,.section-tabs .wish-nav-wrap{flex-shrink:0}.section-tabs button{padding:10px 15px;font-size:.76rem;white-space:nowrap;border-radius:20px}.section-tabs .wish-nav-wrap{gap:0;background:white;border:1px solid var(--border);border-radius:20px}.section-tabs .wish-nav-wrap>#tab-wishes{border:0;padding-right:8px}.section-tabs .wish-alert-badge{padding:3px 7px;font-size:.68rem;margin-right:6px;min-height:25px}.home-welcome{margin-top:0;align-items:flex-start}.home-welcome h1{font-size:2rem}.home-date{padding-top:5px}.home-date span{font-size:.66rem}.home-welcome p{font-size:.78rem}.home-search{padding-left:13px;gap:10px;margin-bottom:24px}.home-search input{font-size:.78rem}.home-search button{padding:0 14px;font-size:.75rem;gap:8px}.home-search-icon{display:none}.home-section-title{margin-top:24px}.home-section-title>span{font-size:.64rem}.home-priority{padding:17px;gap:12px}.home-priority-icon{display:none}.home-priority strong{font-size:1.7rem}.home-priority b{font-size:.73rem}.home-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-module{padding:18px 14px;gap:10px;min-height:125px}.home-module-copy strong{font-size:.8rem}.home-module-copy>span{font-size:.69rem}.home-module-icon{width:31px;height:31px}.home-secondary-groups{gap:15px}.home-small-grid{grid-template-columns:1fr}.home-small-grid .home-module{padding:15px 12px;gap:9px}.home-next{margin-top:22px}.home-next-label{display:none}}
@media(max-width:500px){.home-date{display:none}.home-priorities{gap:10px}.home-priority{padding:15px 12px}.home-priority .home-arrow{display:none}.home-priority small{font-size:.64rem}.home-module-grid{gap:10px}.home-module{display:grid;grid-template-columns:1fr auto;gap:11px;min-height:163px;padding:16px}.home-module-copy{grid-column:1/-1;grid-row:2}.home-module>.home-arrow{grid-column:2;grid-row:1}.home-secondary-groups{grid-template-columns:1fr;gap:0}.home-small-grid .home-module{display:flex;min-height:87px}.home-small-grid .home-module-copy{padding-top:0}.home-small-grid .home-module-icon{width:35px;height:35px}.home-section-title>span{display:none}.home-search input{width:100%}.home-search button{min-height:42px}.home-search button span{display:none}.home-next-icon{display:none}.wish-alert-body{padding:18px}}

/* Pokemon quotations remain subordinate to store prices. */
.cardmarket-line{margin-top:5px}.cardmarket-quote{border:0;background:#edf3f7;color:#27506b;border-radius:5px;padding:4px 7px;font:inherit;font-size:12px;text-align:left;cursor:pointer}.cardmarket-quote:hover{background:#dceaf3}.cardmarket-dialog{width:min(720px,94vw);max-height:90dvh;overflow:auto;border:0;border-radius:18px;padding:26px;color:#183d34}.cardmarket-dialog::backdrop{background:#102e28aa}.cardmarket-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.cardmarket-head h2{margin:6px 0 20px}.cardmarket-head>button{border:0;border-radius:50%;padding:10px;background:#f1f4f2;cursor:pointer}.cardmarket-value{font-size:23px;font-weight:700}.cardmarket-warning{padding:12px;background:#fff3d8;border-radius:8px}.cardmarket-dialog label,.cardmarket-dialog summary{display:block;font-weight:600;margin-top:18px;margin-bottom:8px}.cardmarket-dialog summary{cursor:pointer}.cardmarket-dialog input,.cardmarket-dialog select{width:100%;box-sizing:border-box;padding:11px;border:1px solid #cad7d1;border-radius:8px;font:inherit}.cardmarket-search{display:flex;gap:8px}.cardmarket-candidates{max-height:300px;overflow:auto;margin-top:15px}.cardmarket-candidates>div{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #e2e9e6}.cardmarket-candidates small{display:block;margin-top:4px;color:#61756e}.cardmarket-references{padding:8px 14px;background:#f3f6f4;border-radius:10px}.cardmarket-dialog .field-help{line-height:1.5}.cardmarket-dialog a{color:#2c627e}.cardmarket-dialog .secondary{flex-shrink:0}

/* Keep the market reference below the network quotation. */
.stock-price-web .cardmarket-line{display:block;margin-top:3px}.stock-price-web .cardmarket-quote{padding:0;border:0;background:none;color:inherit;border-radius:0;font:inherit;line-height:1.35;text-align:left}.stock-price-web .cardmarket-quote:hover{background:none;text-decoration:underline;color:#27506b}.cm-watch-list{max-height:52vh;overflow:auto}.cm-watch-item{display:flex;flex-direction:column;gap:4px;width:100%;text-align:left;border:0;border-bottom:1px solid #dce5df;background:none;color:inherit;padding:14px 4px;cursor:pointer}.cm-watch-item:hover{background:#f3f6f4}.cm-watch-item small{color:#6a7d75}.cm-under{color:#9c6324}.cm-over{color:#24637d}.cm-watch-settings input{display:block;margin:6px 0 14px;max-width:200px;padding:9px;border:1px solid #c9d6ce;border-radius:8px}

.stock-price-web .cardmarket-quote{white-space:nowrap;font-size:10px}

.cardmarket-detail-panel{display:flex;flex-direction:column;gap:7px;padding:14px;border:1px solid #d7e4de;border-radius:10px;background:#f4f8f6;margin:12px 0;color:#24483c}.cardmarket-detail-panel[hidden]{display:none}.cardmarket-detail-panel>strong{font-size:17px}.cardmarket-detail-panel>small{color:#61796d;line-height:1.4}.cardmarket-detail-panel>.secondary{align-self:flex-start;font-size:12px;padding:7px 10px}.cardmarket-panel-warning{color:#8b6225!important}.cardmarket-comparison-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.cardmarket-comparison-grid>div{min-width:0;background:#f5f7f6;border-radius:10px;padding:12px}.cardmarket-comparison-grid strong{display:block;margin-bottom:10px}.cardmarket-comparison-grid img{display:block;max-width:100%;width:auto;height:260px;object-fit:contain;margin:0 auto}.cardmarket-comparison-grid img[hidden]{display:none}.cardmarket-comparison-grid p{font-size:12px;line-height:1.4}.cardmarket-comparison-grid select{width:100%}.cardmarket-candidates>div>span{flex:1}.cardmarket-candidates>div{flex-wrap:wrap}@media(max-width:520px){.cardmarket-comparison-grid{gap:7px}.cardmarket-comparison-grid>div{padding:7px}.cardmarket-comparison-grid img{height:190px}}


/* Hermes Web mobile: presentation only; desktop styles remain the baseline. */
.hm-mobile-header,.hm-mobile-nav{display:none}.hm-step-hidden{display:none!important}
@media(max-width:760px){
 body.hm-mobile{background:#f3f6f3;--hm-bottom:calc(74px + env(safe-area-inset-bottom));overflow-x:clip}
 .hm-mobile #workspace{display:block;min-width:0}.hm-mobile #workspace[hidden]{display:none!important}
 .hm-mobile #workspace .sidebar,.hm-mobile #workspace .section-tabs,.hm-mobile #workspace .topbar,.hm-mobile #workspace .mobile-header{display:none!important}
 .hm-mobile #workspace main{margin:0!important;min-width:0;width:100%}
 .hm-mobile #workspace .content{width:100%!important;max-width:none!important;margin:0!important;padding:18px 14px calc(var(--hm-bottom) + 18px)!important}
 .hm-mobile #workspace .identity-strip{display:none!important}
 .hm-mobile .hm-mobile-header:not([hidden]){display:flex;align-items:center;gap:10px;padding:12px 16px;background:#fff;border-bottom:1px solid #dce5de;min-height:70px}
 .hm-mobile .hm-brand-mark{display:grid;place-items:center;background:#d8f16a;color:#143d2c;border-radius:9px;width:33px;height:37px;font-size:24px;font-weight:700;flex-shrink:0}
 .hm-mobile .hm-mobile-header>div{flex:1;min-width:0}.hm-mobile .hm-mobile-header strong{font-size:12px;letter-spacing:.1em}.hm-mobile .hm-mobile-header small{display:block;font-size:11px;color:#607268;margin-top:4px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
 .hm-mobile .hm-mobile-header button{width:44px;height:44px;background:#eff4ee;border:0;border-radius:10px;font-size:22px;color:#143d2c}
 .hm-mobile .hm-mobile-nav:not([hidden]){position:fixed;bottom:0;left:0;right:0;z-index:30;display:flex;gap:3px;border-top:1px solid #dce5de;background:#fff;padding:7px 7px calc(7px + env(safe-area-inset-bottom));box-shadow:0 -6px 24px #143d2c08}
 .hm-mobile .hm-mobile-nav button{flex:1;min-width:0;min-height:56px;padding:6px 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:transparent;border:0;border-radius:10px;color:#607268;font-size:11px}
 .hm-mobile .hm-mobile-nav button>span:first-child{font-size:21px;line-height:1}.hm-mobile .hm-mobile-nav button[aria-current]{background:#eaf1e8;color:#143d2c;font-weight:650}
 .hm-mobile .hm-mobile-nav button{position:relative}.hm-mobile .hm-nav-badge{position:absolute;top:0;right:4px;min-width:18px;min-height:18px;display:grid;place-items:center;border-radius:12px;background:#d8f16a;color:#143d2c;font-size:10px;font-weight:700;padding:1px 4px}.hm-mobile .hm-menu-alerts{display:grid;gap:8px;margin-bottom:12px}.hm-mobile .hm-menu-alerts:empty{display:none}.hm-mobile .hm-menu-alerts button{padding:12px;background:#fff5db;border:1px solid #eed798;border-radius:10px;color:#6e4b12;text-align:left;font-size:13px}
 .hm-mobile .hm-module-dialog{width:100%!important;max-width:100%!important;height:auto!important;max-height:85dvh!important;inset:auto 0 0!important;margin:0!important;border:0!important;border-radius:22px 22px 0 0!important;background:#f3f6f3;padding:0 18px calc(18px + env(safe-area-inset-bottom))!important;overflow:auto}
 .hm-mobile .hm-menu-heading{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;background:#f3f6f3;padding:18px 0 12px;z-index:1}.hm-mobile .hm-menu-heading h2{margin:0;font-size:21px}.hm-mobile .hm-menu-heading button{border:0;background:#fff;border-radius:10px;width:44px;height:44px}
 .hm-mobile .hm-module-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.hm-mobile .hm-module-grid button{display:flex;gap:11px;align-items:center;text-align:left;min-height:60px;background:#fff;border:1px solid #dce5de;border-radius:12px;padding:13px;font-size:14px;color:#182f27}.hm-mobile .hm-module-grid button>span:first-child{font-size:20px;color:#143d2c}.hm-mobile .hm-module-grid .hm-current-module{border-color:#799d7c;background:#eaf1e8}.hm-mobile .hm-session-actions{display:grid;gap:8px;margin-top:18px;border-top:1px solid #dce5de;padding-top:15px}.hm-mobile .hm-session-actions button{min-height:44px;border:0;background:transparent;text-align:left;color:#607268}
 .hm-mobile #workspace :is(h1){font-size:26px!important;line-height:1.16!important;letter-spacing:-.025em;margin:5px 0 9px}
 .hm-mobile #workspace .heading{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:0 0 18px!important}.hm-mobile #workspace .heading>div:first-child{flex:1 1 100%}.hm-mobile #workspace .heading p{font-size:13px;line-height:1.45;margin:0;color:#607268}
 .hm-mobile .eyebrow{font-size:10px;letter-spacing:.1em}.hm-mobile #workspace .heading>.store-tag{display:none}
 .hm-mobile :is(button,.primary,.secondary,input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){min-height:44px;touch-action:manipulation}
 .hm-mobile :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){font-size:16px!important;max-width:100%;min-width:0;border-radius:10px}
 .hm-mobile :is(input[type=checkbox],input[type=radio]){width:19px;height:19px;flex-shrink:0;min-height:0}
 .hm-mobile label:has(>input[type=checkbox]),.hm-mobile label:has(>input[type=radio]){min-height:44px;align-items:center}
 .hm-mobile :is(.primary,.secondary){border-radius:10px;padding:11px 13px;font-size:14px;white-space:normal;line-height:1.35}
 .hm-mobile :is(form,fieldset,section,article,aside,.edit-panel,.settings-card){min-width:0}
 .hm-mobile :is(.settings-fields,.shipping-fields,.shipping-grid,.sav-edit-grid,.sav-intervention-fields,.wish-criteria-grid,.wish-product-basics,.edit-layout,.cash-grid,.cash-actions,.queue-layout,.purchase-layout,.wishes-layout,.sale-layout,.insight-filter-form,.zones-grid,.zzz-filters){grid-template-columns:minmax(0,1fr)!important}
 .hm-mobile :is(.shipping-grid,.purchase-layout,.sale-layout,.wishes-layout,.queue-layout,.sav-edit-grid){display:grid!important;gap:14px}
 .hm-mobile :is(.purchase-main,.purchase-aside,.sale-main,.sale-checkout,.cash-panel,.cash-actions,.settings-card,.edit-panel){position:static!important;width:auto!important;max-width:100%!important;min-width:0}
 .hm-mobile :is(.settings-card,.purchase-card,.sale-panel,.cash-panel,.edit-panel){padding:16px!important;border-radius:13px!important;margin-top:0;box-shadow:none}
 .hm-mobile :is(.purchase-overview,.purchase-amount-strip,.shipping-history-heading,.sav-workshop-heading,.sav-list-heading,.wish-composer-heading){gap:10px;flex-wrap:wrap}
 .hm-mobile :is(.purchase-searchbar,.purchase-search-options,.purchase-actions,.purchase-savebar,.sale-search,.wish-client-searchbar,.sav-search-row,.cash-date-form,.shipping-client-search,.shipping-track-form,.zzz-search,.queue-search-row){display:flex;flex-wrap:wrap;gap:8px}
 .hm-mobile :is(.purchase-searchbar,.sale-search,.wish-client-searchbar,.sav-search-row,.shipping-client-search,.shipping-track-form,.zzz-search,.queue-search-row)>:is(input,label){flex:1 1 180px;min-width:0}
 .hm-mobile :is(.purchase-searchbar,.sale-search,.wish-client-searchbar,.sav-search-row,.shipping-client-search,.shipping-track-form,.zzz-search,.queue-search-row)>button{flex:1 1 110px}
 .hm-mobile :is(.purchase-result-grid,.wish-catalogue-results,.sav-direct-overview,.sav-performance-kpis){grid-template-columns:1fr!important}
 .hm-mobile .purchase-overview{padding:16px;align-items:center}.hm-mobile .purchase-overview>div:first-child p{display:none}.hm-mobile .purchase-overview-total strong{font-size:25px}.hm-mobile .purchase-card-heading{margin-bottom:14px}.hm-mobile .purchase-card-heading p{font-size:12px}.hm-mobile .purchase-card-heading h2{font-size:19px}
 .hm-mobile .purchase-line-prices,.hm-mobile .edit-prices{grid-template-columns:1fr 1fr!important;gap:10px}
 .hm-mobile :is(.sale-line,.purchase-basket-item,.sale-payment){display:flex;flex-wrap:wrap;gap:10px;padding:14px}.hm-mobile .sale-line>div:first-child,.hm-mobile .purchase-basket-description{flex:1 1 100%}.hm-mobile .sale-line>label,.hm-mobile .sale-payment>label{flex:1 1 110px;min-width:0}
 .hm-mobile .sale-checkout{border-top:3px solid #d8f16a!important}.hm-mobile #sale-total{font-size:29px}
 .hm-mobile :is(.purchase-signature-dialog canvas,.laser-preview svg,.laser-preview canvas){touch-action:none}
 .hm-mobile .hm-fold{grid-column:1/-1;border:1px solid #dce5de;background:#fff;border-radius:12px;margin:10px 0;min-width:0;overflow:visible}
 .hm-mobile .hm-fold>summary{padding:13px 14px;min-height:47px;font-size:14px;font-weight:600;line-height:1.45;color:#24483a;cursor:pointer;overflow-wrap:anywhere}
 .hm-mobile .hm-fold-body{padding:0 14px 14px;min-width:0}.hm-mobile .hm-fold-body>.hm-fold-title{display:none!important}.hm-mobile .hm-fold-body>:last-child{margin-bottom:0}
 .hm-mobile .hm-fold-body .purchase-card-heading{display:none}.hm-mobile .hm-fold-body>section,.hm-mobile .hm-fold-body>article{margin:0!important;border:0!important;padding:0!important}
 .hm-mobile :is(.purchase-main>.purchase-card,.sale-main>.sale-panel,.sale-layout>.sale-checkout):has(>.hm-fold){border:0!important;background:transparent!important;padding:0!important}
 .hm-mobile :is(.purchase-main>.purchase-card,.sale-main>.sale-panel,.sale-layout>.sale-checkout)>.hm-fold{margin:0}
 .hm-mobile .hm-table-scroll,.hm-mobile :is(.insight-table-wrap,.cash-table-wrap,.zzz-table-wrap,.scrap-table-wrap,.sav-tariff-scroll){width:100%;max-width:100%;overflow:auto;overscroll-behavior-x:contain;border-radius:10px;-webkit-overflow-scrolling:touch}
 .hm-mobile .hm-table-scroll table{min-width:620px}.hm-mobile .insight-table{font-size:12px}.hm-mobile .insight-kpis{display:grid;grid-template-columns:1fr 1fr!important;gap:9px}.hm-mobile .insight-kpi{padding:14px!important}.hm-mobile .insight-kpi strong{font-size:22px!important}
 .hm-mobile #workspace footer{padding:20px 0 0;margin-top:25px;font-size:10px}.hm-mobile #workspace footer>span:last-of-type,.hm-mobile #logout-mobile{display:none}
 /* Stock becomes a list of short cards. Hidden secondary information stays accessible. */
 .hm-mobile #stock-section .heading h1{font-size:26px}.hm-mobile #stock-section .heading>div>p,.hm-mobile #stock-section #store-number,.hm-mobile #stock-section #store-short-name{display:none}
 .hm-mobile #stock-section .heading>div:first-child{flex:1 1 auto}.hm-mobile #stock-section .heading .eyebrow{display:none}.hm-mobile #stock-section .heading{gap:8px;align-items:center}.hm-mobile #stock-section .hm-stock-alerts{flex:0 1 auto;margin:0}.hm-mobile #stock-section .hm-stock-alerts>summary{font-size:12px;padding:11px;min-height:42px}.hm-mobile #stock-section .hm-stock-alerts[open]{flex-basis:100%}.hm-mobile #stock-section .hm-stock-alerts .hm-fold-body{display:flex;flex-wrap:wrap;gap:8px}.hm-mobile #hm-stock-tools .filters{display:grid;grid-template-columns:1fr;gap:9px;margin:12px 0}.hm-mobile #hm-stock-tools .filters select{width:100%}.hm-mobile #hm-stock-tools .stock-totals{padding:12px 0;border-top:1px solid #dce5de}.hm-mobile #hm-stock-tools .stock-selection-bar{padding-top:12px;border-top:1px solid #dce5de}
 .hm-mobile #stock-section .search-panel{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
 .hm-mobile #search-form{display:grid!important;grid-template-columns:1fr auto;gap:8px!important}.hm-mobile #search-form .search-input{grid-column:1/-1;min-width:0;border:1px solid #dce5de;border-radius:12px;background:#fff}.hm-mobile #search-form .search-input input{min-width:0;font-size:16px}.hm-mobile #search-form kbd{display:none}.hm-mobile #search-button{min-height:46px}.hm-mobile #scan{min-height:46px;padding:9px 14px}
 .hm-mobile .search-foot{display:flex;flex-wrap:wrap;margin:0;gap:8px}.hm-mobile .search-foot .check{flex:1 1 100%;font-size:13px}.hm-mobile #start{padding:32px 12px}.hm-mobile #start .start-note{display:none}.hm-mobile #start .empty-symbol{font-size:40px}
 .hm-mobile #results .table-head{display:none!important}.hm-mobile #results .results-top{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin:16px 0 6px}.hm-mobile #updated{font-size:11px}.hm-mobile #results .filters{display:grid;width:100%;gap:9px;grid-template-columns:1fr!important}.hm-mobile #results .filters select{width:100%}
 .hm-mobile #items{display:grid;gap:12px}.hm-mobile #items>.item-row{display:grid!important;grid-template-columns:23px minmax(0,1fr) auto!important;grid-template-areas:"select article article" ". family qty" ". prices prices" "status status status" "extra extra extra";gap:10px 8px!important;padding:14px!important;background:#fff;border:1px solid #dce5de;border-radius:14px;box-shadow:none;min-width:0}
 .hm-mobile #items .stock-select{grid-area:select;position:static!important;align-self:start;margin:2px 0 0;width:19px;height:19px}.hm-mobile #items .article-main{grid-area:article;display:flex;align-items:start;gap:7px;min-width:0;padding:0!important}.hm-mobile #items .article-main>span{min-width:0;flex:1}.hm-mobile #items .article-open{display:none}.hm-mobile #items .article-title{font-size:15px;font-weight:650;line-height:1.4;white-space:normal;overflow:visible;display:block}.hm-mobile #items .article-code{display:block;white-space:normal;word-break:break-word;font-size:11px;line-height:1.45;margin-top:5px}.hm-mobile #items .article-buyer{display:none}.hm-mobile #items .stock-family{grid-area:family;display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:0;min-width:0}.hm-mobile #items .stock-family .family-tag{font-size:10px;padding:5px 7px}.hm-mobile #items .stock-grade{padding:4px 7px;min-width:26px;font-size:11px}.hm-mobile #items .quantity{grid-area:qty;font-size:12px;text-align:right;padding:0;align-self:center}.hm-mobile #items .quantity::after{content:" en stock";font-weight:400;color:#607268}
 .hm-mobile #items button.hm-product-title{background:transparent;border:0;text-align:left;padding:0;color:inherit;min-height:44px;width:100%}
 .hm-mobile #items .stock-prices{grid-area:prices;display:flex!important;justify-content:space-between;gap:14px;width:100%;align-items:start}.hm-mobile #items .stock-price-mag,.hm-mobile #items .stock-price-web{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}.hm-mobile #items .stock-price-web{text-align:right;align-items:flex-end}.hm-mobile #items .stock-price-mag .price{font-size:22px!important}.hm-mobile #items .stock-price-web>strong{font-size:19px}.hm-mobile #items .stock-price-label{font-size:11px}.hm-mobile #items .stock-price-recommended{font-size:11px;line-height:1.35}
 .hm-mobile #items .item-row:not(:has(.hm-stock-extra[open])) .stock-network-price{display:none!important}.hm-mobile #items .stock-network-price{font-size:11px;line-height:1.35}.hm-mobile #items .stock-network-price button{min-height:32px;font-size:12px}
 .hm-mobile #items .stock-status-row{grid-area:status;padding:0;margin:0;min-width:0}.hm-mobile #items .stock-states{display:flex;flex-wrap:wrap;gap:7px}.hm-mobile #items .stock-states .state-tag{font-size:10px;line-height:1.4;white-space:normal;padding:5px 7px;max-width:100%;overflow-wrap:anywhere}.hm-mobile #items .stock-publication-toggle{min-height:34px;font-size:12px}
 .hm-mobile #items .hm-stock-extra{grid-area:extra;margin:0;border-width:1px 0 0;border-radius:0}.hm-mobile #items .hm-stock-extra>summary{font-size:12px;min-height:40px;padding:10px 0 0}.hm-mobile #items .hm-stock-extra .hm-fold-body{padding:10px 0 0;display:flex;flex-wrap:wrap;gap:10px;align-items:center}.hm-mobile #items .purchase-price,.hm-mobile #items .stock-margin{font-size:13px;flex:1 1 40%}.hm-mobile #items .stock-print-actions{width:100%;display:flex!important;flex-wrap:wrap;gap:8px}.hm-mobile #items .stock-print-actions>button{flex:1 1 95px;min-height:44px!important;font-size:13px}.hm-mobile #items .stock-more-actions{flex:1 1 100%;margin:0}.hm-mobile #items .stock-more-actions summary{min-height:44px;font-size:13px}
 .hm-mobile .stock-selection-bar{display:flex;flex-wrap:wrap;width:100%;margin:0;padding:0;border:0;background:transparent}.hm-mobile .stock-selection-bar>label{flex:1 1 100%;font-size:13px}.hm-mobile .stock-selection-bar>button{flex:1 1 95px}.hm-mobile .stock-totals{margin:0;padding:0}.hm-mobile .stock-totals-grid{grid-template-columns:1fr 1fr!important;gap:8px}.hm-mobile .stock-totals-grid strong{font-size:17px}.hm-mobile .stock-totals p{font-size:11px}
 /* Full-screen detail and edit flows; the native dialog still owns focus and Escape. */
 .hm-mobile dialog:not(.hm-module-dialog){width:100%!important;max-width:100%!important;max-height:100dvh!important;height:100dvh!important;margin:0!important;inset:0!important;border-radius:0!important;border:0!important;padding:0!important;overflow:auto;overscroll-behavior:contain;scroll-padding-top:80px}
 .hm-mobile dialog .dialog-top,.hm-mobile dialog .cardmarket-head,.hm-mobile dialog .scrap-head,.hm-mobile dialog .zzz-dialog-heading{position:sticky;top:0;z-index:4;background:#fff;border-bottom:1px solid #dce5de;padding:13px 16px!important;min-height:64px;align-items:center;gap:12px}
 .hm-mobile dialog .dialog-top h2,.hm-mobile dialog .cardmarket-head h2{font-size:18px;margin:0}.hm-mobile dialog .dialog-top button,.hm-mobile dialog .cardmarket-head button{min-width:44px;min-height:44px}
 .hm-mobile dialog :is(.detail-body,.ilv-body,.sav-view-body,.wish-mail-body,.wish-alert-body,.purchase-signature-body){padding:20px 16px calc(24px + env(safe-area-inset-bottom))!important}
 .hm-mobile dialog .detail-body h2{font-size:23px;line-height:1.2;overflow-wrap:anywhere}.hm-mobile dialog .detail-code{font-size:12px}.hm-mobile dialog .product-image{max-height:240px!important;object-fit:contain;width:100%;margin:0}.hm-mobile dialog .detail-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.hm-mobile dialog .detail-stats>div{min-width:0;padding:12px;border:1px solid #dce5de;border-radius:12px;background:#fff}.hm-mobile dialog .detail-stats strong{font-size:22px}.hm-mobile dialog .detail-stats .product-price-guidance{font-size:11px;line-height:1.45}.hm-mobile dialog .detail-stats span{font-size:12px}
 .hm-mobile #edit-product{width:100%;margin:16px 0 4px}.hm-mobile dialog .detail-body dl>div{grid-template-columns:1fr;gap:5px;padding:12px 0}.hm-mobile dialog .detail-body dt{font-size:12px}.hm-mobile dialog .detail-body dd{font-size:14px;overflow-wrap:anywhere;margin:0}.hm-mobile .client-row{display:flex!important;flex-direction:column;align-items:start;gap:8px;padding:16px!important;border:1px solid #dce5de;border-radius:13px;margin:10px 0;background:#fff}.hm-mobile .client-row>span{width:100%;overflow-wrap:anywhere}.hm-mobile .client-row>span:last-child{display:none}
 .hm-mobile .cardmarket-dialog{padding:16px!important}.hm-mobile .cardmarket-dialog>.cardmarket-head{margin:-16px -16px 14px}.hm-mobile .cardmarket-dialog .cardmarket-comparison-grid{gap:8px}.hm-mobile .cardmarket-dialog .cardmarket-comparison-grid img{height:200px}.hm-mobile .cardmarket-dialog .cardmarket-candidates>div{gap:8px;padding:12px 0;flex-wrap:wrap}.hm-mobile .cardmarket-dialog .cardmarket-candidates>div>span{flex:1 1 100%}
 .hm-mobile .hm-editor .edit-layout{display:block!important}.hm-mobile .hm-editor .hm-editor-panel{padding:0;background:transparent;border:0}.hm-mobile .hm-editor .hm-editor-panel[hidden]{display:none!important}.hm-mobile .hm-editor-tabs{position:sticky;top:64px;z-index:3;background:#fff;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;margin:14px -16px 20px;padding:0 12px;border-bottom:1px solid #dce5de}.hm-mobile .hm-editor-tabs button{border:0;border-bottom:3px solid transparent;border-radius:0;padding:12px 1px;background:transparent;color:#607268;font-size:13px;min-height:46px}.hm-mobile .hm-editor-tabs button[aria-selected=true]{border-bottom-color:#143d2c;color:#143d2c;font-weight:700}
 .hm-mobile .hm-editor .hm-old-editor-heading{display:none!important}.hm-mobile .hm-editor-intro,.hm-mobile .hm-review-note{font-size:12px;line-height:1.5;color:#607268;margin:0 0 15px}.hm-mobile .hm-editor #edit-catalogue h3{font-size:17px}.hm-mobile .hm-editor #edit-catalogue .stock-attribute-grid,.hm-mobile .hm-editor #edit-attributes .stock-attribute-grid{display:grid;grid-template-columns:1fr!important;gap:10px}.hm-mobile .hm-editor #edit-attributes{margin-top:22px}.hm-mobile .hm-editor #edit-attributes h3{font-size:17px}
 .hm-mobile .hm-editor label{font-size:13px;margin-top:14px;line-height:1.4}.hm-mobile .hm-editor .edit-prices{display:grid}.hm-mobile .hm-editor .field-help{font-size:12px;line-height:1.5}.hm-mobile .hm-editor #edit-designation{background:#eef4ec;font-size:15px!important;line-height:1.6;min-height:115px;padding:15px}
 .hm-mobile .hm-editor .edit-actions{position:sticky;bottom:0;z-index:3;background:#fff;display:flex;gap:8px;margin:20px -16px -20px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #dce5de}.hm-mobile .hm-editor .edit-actions>button{flex:1;min-width:0;font-size:14px}.hm-mobile .hm-editor .edit-summary{font-size:12px;padding:12px;margin-top:20px;border-radius:10px;line-height:1.5}
 .hm-mobile .edit-photos{grid-template-columns:1fr!important}.hm-mobile .photo-quick-actions{display:flex;flex-wrap:wrap;gap:8px}.hm-mobile .photo-quick-actions button{flex:1 1 120px}.hm-mobile .edit-photo{max-width:100%;min-width:0}.hm-mobile .edit-photo img{max-height:240px;object-fit:contain}.hm-mobile .edit-photo-actions{flex-wrap:wrap}
 .hm-mobile :is(.sav-ticket,.wish-card,.cash-card){padding:15px!important;border-radius:13px!important;min-width:0}.hm-mobile :is(.sav-compact-identity,.sav-compact-product,.sav-intervention-metrics,.sav-intervention-actions,.wish-toolbar,.wish-actions){flex-wrap:wrap;gap:8px}.hm-mobile :is(.sav-ticket,.wish-card) :is(strong,p,span){overflow-wrap:anywhere}.hm-mobile .sav-direct-cards{grid-template-columns:1fr!important}.hm-mobile .sav-direct-result{padding:14px!important}.hm-mobile .sav-intervention-fields>label{min-width:0}.hm-mobile .sav-workshop-row{display:flex;flex-wrap:wrap;gap:8px}.hm-mobile .sav-workshop-row input{width:100%}.hm-mobile :is(.sav-workshop-tabs,.wish-view-tabs,.insight-presets){display:flex;gap:5px;flex-wrap:wrap}.hm-mobile :is(.sav-workshop-tabs,.wish-view-tabs)>button{flex:1 1 90px;min-height:44px}
 .hm-mobile .home-welcome{padding:0!important}.hm-mobile .home-welcome h1{font-size:29px!important}.hm-mobile .home-welcome>p{font-size:14px}.hm-mobile .home-search{padding:16px!important;margin:18px 0!important}.hm-mobile .home-module-grid{grid-template-columns:1fr!important;gap:9px}.hm-mobile .home-module{min-height:78px!important;padding:14px!important;border-radius:13px}.hm-mobile .home-module-copy>span{font-size:12px!important}.hm-mobile .home-priorities{grid-template-columns:1fr!important}.hm-mobile .home-secondary-groups{display:block}.hm-mobile .home-section-title{gap:8px;flex-wrap:wrap}.hm-mobile .home-section-title h2{font-size:19px!important}.hm-mobile .home-next{padding:15px!important}.hm-mobile .home-period{font-size:12px}
 .hm-mobile #laser-section .laser-layout{display:flex!important;flex-direction:column;gap:14px}.hm-mobile #laser-section .laser-layout>*{width:100%;min-width:0}.hm-mobile #laser-section .laser-panel-title{display:flex;flex-wrap:wrap;gap:8px}.hm-mobile #laser-section .laser-controls{grid-template-columns:1fr 1fr!important}.hm-mobile #laser-section .laser-actions{display:flex;flex-wrap:wrap;gap:8px}.hm-mobile #laser-section .laser-actions>button{flex:1 1 120px}.hm-mobile #laser-section :is(canvas,svg,video,img){max-width:100%}.hm-mobile #laser-section .laser-preview-wrap{overflow:auto;max-width:100%;touch-action:pan-x pan-y}
 .hm-mobile .login{padding:25px 16px}.hm-mobile .login-card{padding:25px 21px;border-radius:18px;max-width:100%}.hm-mobile .login h1{font-size:31px;line-height:1.15}.hm-mobile .login-card p{font-size:14px}.hm-mobile .login-brand{font-size:18px}
}
@media(max-width:370px){.hm-mobile #workspace .content{padding-left:10px!important;padding-right:10px!important}.hm-mobile #items>.item-row{padding:12px!important;gap:9px 6px!important}.hm-mobile .hm-module-grid{grid-template-columns:1fr}.hm-mobile .hm-editor-tabs button{font-size:12px}.hm-mobile .stock-totals-grid{grid-template-columns:1fr!important}}

/* Shared product overview and editing, on every screen size. */
.cardmarket-detail-panel.cardmarket-compact{display:block!important;background:none!important;border:0!important;border-radius:0!important;padding:0!important;margin:3px 0!important;color:#24483c}
.cardmarket-compact .cardmarket-compact-link{font:inherit;font-size:13px;font-weight:500;color:inherit;background:none;border:0;padding:4px 0;text-align:left;min-height:32px;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:3px}
#detail:has(.product-workspace-form),#detail:has(.product-readonly){width:min(1100px,calc(100vw - 40px));max-width:1100px}
.product-workspace-tabs{display:flex;gap:5px;background:#fff;border-bottom:1px solid #dce5de;margin:20px 0;padding:0;position:sticky;top:0;z-index:3}
.product-workspace-tabs button{flex:1;background:transparent;border:0;border-bottom:3px solid transparent;border-radius:0;padding:15px 8px;font-size:14px;color:#607268;min-height:47px}
.product-workspace-tabs button[aria-selected=true]{color:#143d2c;border-color:#143d2c;font-weight:650}
.product-workspace-panel[hidden]{display:none!important}.product-workspace-panel{min-width:0;padding:0;border:0;background:transparent}
.product-workspace-form.product-overview-clean .edit-actions,.product-workspace-form.product-overview-clean .edit-summary{display:none!important}
.product-workspace-panels{max-width:900px;margin:0 auto}.product-workspace-form fieldset{min-width:0;padding:0;border:0}
.product-overview-head{display:flex;align-items:center;gap:22px;margin:10px 0 18px}.product-overview-head h2{font-size:25px;line-height:1.3;margin:7px 0;overflow-wrap:anywhere}.product-overview-code{font-size:12px;color:#607268}
.product-overview-image{width:110px;height:125px;object-fit:contain;background:#f1f5ef;border-radius:12px;padding:7px;flex-shrink:0}
.product-overview-prices{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0 8px}.product-overview-prices>div{padding:15px 18px;border:1px solid #dce5de;border-radius:12px;background:#fff;display:grid;gap:6px}.product-overview-prices span{font-size:12px;color:#607268}.product-overview-prices strong{font-size:26px}
.product-overview-actions{display:flex;gap:8px;margin:16px 0;flex-wrap:wrap}.product-overview-actions button{flex:1 1 120px;min-height:44px}.product-overview-status{font-size:12px;color:#41604d;line-height:1.5}
.product-overview-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 22px;margin:15px 0}.product-overview-fields>div{display:flex!important;justify-content:space-between;gap:12px;border-bottom:1px solid #e6ece6;padding:12px 0}.product-overview-fields dt{font-size:12px;color:#607268}.product-overview-fields dd{margin:0;font-size:13px;text-align:right;overflow-wrap:anywhere}
.product-overview-attributes,.product-generated{border:1px solid #dce5de;border-radius:10px;margin:18px 0;background:#fff}.product-overview-attributes>summary,.product-generated>summary{padding:13px;font-size:14px;min-height:44px;font-weight:600}.product-overview-attributes>dl,.product-generated>label,.product-generated>textarea,.product-generated>p{margin:12px 14px!important;max-width:calc(100% - 28px)}
.product-workspace-panel .stock-attribute-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.product-workspace-panel #edit-attributes{margin-top:24px}.product-workspace-panel .edit-prices{margin-top:16px}.product-workspace-form .edit-actions{display:flex;gap:10px;position:sticky;bottom:0;background:#fff;padding:15px 0;margin-top:20px;border-top:1px solid #dce5de;z-index:3}.product-workspace-form .edit-actions button{flex:1;min-height:45px}.product-workspace-form .edit-summary{font-size:12px;line-height:1.5}.product-workspace-form .product-workspace-note{margin:10px 0 20px}
@media(max-width:760px){
 .hm-mobile dialog .detail-body:has(>.product-workspace-form){padding-top:4px!important}
 .hm-mobile .detail-body:has(>.product-workspace-form)>:is(.eyebrow,#detail-title){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 .hm-mobile .product-workspace-form .product-workspace-tabs{position:sticky;top:64px;margin:0 -16px 16px;padding:0 8px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
 .hm-mobile .product-workspace-tabs button{font-size:12px;padding:13px 1px;overflow-wrap:anywhere;line-height:1.2}
 .hm-mobile .product-workspace-form .product-workspace-panel{padding:0}.hm-mobile .product-overview-head{gap:12px;align-items:start;margin:8px 0 12px}.hm-mobile .product-overview-head h2{font-size:19px!important;line-height:1.35!important;margin:5px 0}.hm-mobile .product-overview-image{width:72px;height:92px;padding:4px}.hm-mobile .product-overview-code{font-size:11px;margin:5px 0}.hm-mobile .product-overview-head .eyebrow{font-size:9px}
 .hm-mobile .product-overview-prices{gap:9px;margin:12px 0 4px}.hm-mobile .product-overview-prices>div{padding:12px}.hm-mobile .product-overview-prices strong{font-size:23px}.hm-mobile .product-overview-prices span{font-size:11px}
 .hm-mobile .product-overview-actions{gap:6px;margin:10px 0}.hm-mobile .product-overview-actions button{flex:1 1 80px;font-size:12px;padding:10px 5px}
 .hm-mobile dialog .product-overview-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.hm-mobile dialog .product-overview-fields>div{display:block!important;padding:10px 0;min-width:0}.hm-mobile dialog .product-overview-fields dt{font-size:11px;margin-bottom:4px}.hm-mobile dialog .product-overview-fields dd{text-align:left;font-size:13px;margin:0}
 .hm-mobile .product-workspace-form .stock-attribute-grid{grid-template-columns:1fr}.hm-mobile .product-workspace-form .edit-actions{margin-bottom:-20px;padding-bottom:calc(12px + env(safe-area-inset-bottom))}
 .hm-mobile .cardmarket-detail-panel.cardmarket-compact .cardmarket-compact-link{font-size:13px;font-weight:500;min-height:36px;padding:5px 0}
 /* One self-contained stock card, including its metadata and real action buttons. */
 .hm-mobile #items>.item-row{grid-template-areas:"select article article" ". family qty" ". prices prices" ". pa margin" "actions actions actions" "status status status"!important;gap:10px 8px!important}
 .hm-mobile #items .purchase-price{grid-area:pa;font-size:12px;min-width:0}.hm-mobile #items .stock-margin{grid-area:margin;font-size:11px;text-align:right;min-width:0}
 .hm-mobile #items .stock-print-actions{grid-area:actions;display:flex!important;gap:7px;flex-wrap:wrap;width:100%}.hm-mobile #items .stock-print-actions>button{flex:1 1 85px;min-height:44px;font-size:12px;border-radius:9px;padding:8px}.hm-mobile #items .stock-more-actions{flex:1 1 85px;margin:0;min-width:0}.hm-mobile #items .stock-more-actions>summary{min-height:44px;display:flex;align-items:center;justify-content:center;font-size:12px;padding:8px;border-radius:9px}
 .hm-mobile #workspace #items .item-row .stock-network-price{display:block!important;font-size:11px;line-height:1.35}.hm-mobile #items .item-row .stock-network-price button{font-size:12px;min-height:30px;padding:4px 0}
 .hm-mobile #items .article-buyer{display:inline;font-size:11px}.hm-mobile #items .article-buyer::before{content:" · "}.hm-mobile #items .stock-price-recommended{font-size:10px}
}
@media(max-width:370px){.hm-mobile .product-workspace-tabs button{font-size:11px}.hm-mobile .product-overview-image{width:60px;height:80px}.hm-mobile #items .stock-print-actions{gap:5px}.hm-mobile #items .stock-print-actions>button,.hm-mobile #items .stock-more-actions{flex-basis:75px}}

/* Mobile stock cards: explicitly reset the desktop column and grid placement. */
@media(max-width:760px){
 .hm-mobile #workspace #items{border:0;background:transparent;overflow:visible;gap:10px}
 .hm-mobile #workspace #items>.item-row{grid-template-columns:22px minmax(0,1fr) auto!important;grid-template-areas:"select article article" ". family qty" "prices prices prices" "pa pa margin" "status status status" "actions actions actions"!important;gap:8px 7px!important;align-items:start;min-height:0;padding:12px!important;border:1px solid #dce5de;border-radius:12px}
 .hm-mobile #workspace #items .article-main{grid-area:article;margin:0;min-height:0}
 .hm-mobile #workspace #items .article-title{font-size:14px;line-height:1.3}
 .hm-mobile #workspace #items button.hm-product-title{min-height:0;padding:2px 0 4px}
 .hm-mobile #workspace #items .article-code{font-size:11px;line-height:1.4;margin-top:2px}
 .hm-mobile #workspace #items .article-buyer::before{content:" · "}
 .hm-mobile #workspace #items .stock-family{grid-area:family;gap:5px;align-self:center}
 .hm-mobile #workspace #items .stock-grade,.hm-mobile #workspace #items .family-tag{font-size:10px;padding:3px 6px;line-height:1.25;min-height:22px;min-width:24px}
 .hm-mobile #workspace #items .quantity{grid-area:qty;font-size:11px;align-self:center}
 .hm-mobile #workspace #items .stock-prices{grid-area:prices;display:grid!important;grid-template-columns:1fr 1fr;flex-direction:row;gap:5px 12px;width:100%;text-align:left;background:#f5f8f3;border:0;border-radius:8px;padding:9px 10px;margin:0;align-items:start}
 .hm-mobile #workspace #items .stock-price-mag,.hm-mobile #workspace #items .stock-price-web{display:flex;flex-direction:column;align-items:flex-start;text-align:left;border:0;margin:0;padding:0;gap:2px;min-width:0}
 .hm-mobile #workspace #items .stock-price-mag .price,.hm-mobile #workspace #items .stock-price-web>strong{font-size:21px!important;line-height:1.2;grid-area:auto;margin:0;padding:0;align-self:flex-start;text-align:left}
 .hm-mobile #workspace #items .stock-price-label{font-size:10px;font-weight:500;color:#65746b;line-height:1.3}
 .hm-mobile #workspace #items .stock-network-price{display:block!important;font-size:10px;line-height:1.3;margin:2px 0 0}
 .hm-mobile #workspace #items .stock-network-price button{font-size:11px;line-height:1.3;min-height:28px;padding:4px 0;text-align:left}
 .hm-mobile #workspace #items .purchase-price{grid-area:pa;font-size:11px;white-space:nowrap;align-self:center}
 .hm-mobile #workspace #items .stock-margin{grid-area:margin;font-size:10px;line-height:1.3;align-self:center;text-align:right;margin:0}
 .hm-mobile #workspace #items .stock-status-row{grid-area:status;margin:0;padding:4px 0 0;border:0;min-height:0}
 .hm-mobile #workspace #items .stock-states{gap:5px;margin:0;align-items:center}
 .hm-mobile #workspace #items .stock-publication-toggle{font-size:11px;min-height:36px;margin:0;gap:6px}
 .hm-mobile #workspace #items .stock-states .state-tag{font-size:10px;padding:4px 6px;line-height:1.3}
 .hm-mobile #workspace #items .stock-print-actions{grid-area:actions;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:row;flex-direction:row;align-items:start;gap:6px;width:100%;min-width:0;margin:0;padding:7px 0 0;border-top:1px solid #edf0ec}
 .hm-mobile #workspace #items .stock-print-actions>button,.hm-mobile #workspace #items .stock-more-actions>summary{display:flex;align-items:center;justify-content:center;width:100%;height:42px;min-height:42px!important;min-width:0;padding:6px!important;font-size:11px;line-height:1.2;border-radius:8px;box-sizing:border-box;margin:0}
 .hm-mobile #workspace #items .stock-more-actions{position:relative;min-width:0;width:100%;margin:0;padding:0}
 .hm-mobile #workspace #items .stock-more-actions[open]{grid-column:3}
 .hm-mobile #workspace #items .stock-more-actions[open]>button{width:100%;white-space:normal;min-width:0;min-height:44px;font-size:11px;margin-top:5px}
}

/* Secondary web prices remain readable alongside the primary store price. */
#workspace #items .stock-price-web>strong,.hm-mobile #workspace #items .stock-price-web>strong{font-size:13px!important;font-weight:500;line-height:1.3}
#workspace #items .stock-price-web .stock-price-label{font-size:10px}

.edit-webcam{margin-top:14px;padding:16px;border:1px solid #c8d9cf;border-radius:16px;background:#f4f8f5}
.edit-webcam-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.edit-webcam video{display:block;width:100%;max-height:52vh;min-height:180px;object-fit:contain;background:#112e28;border-radius:10px;margin:10px 0}
.edit-webcam .photo-quick-actions{display:flex;flex-wrap:wrap;gap:8px}
.edit-webcam button{min-height:44px;padding:10px 14px}.edit-webcam select[hidden]{display:none}
.edit-webcam label:has(select[hidden]){display:none}

.edit-photo.photo-processing{border:1px solid #b8cba7;background:#f5f8ee}
#edit-photo-queue-status{margin:8px 0 12px;padding:10px 12px;border-radius:10px;background:#edf4e5;color:#234132;font-size:.9rem}
#edit-photo-queue-status[hidden]{display:none}
.edit-photo.photo-processing img{opacity:.8}

/* Drawer and pocket markers; the same controls on desktop and phone. */
dialog.zone-labels-dialog{width:min(560px,calc(100vw - 24px));max-width:560px;padding:0;border:0;border-radius:18px;color:#123c36;box-shadow:0 20px 70px #102e2840}
.zone-labels-dialog #zl-form{padding:18px;margin:0}
.zone-labels-dialog #zl-fields{display:grid;gap:14px;margin:0;padding:0;border:0;min-width:0}
.zone-labels-dialog #zl-fields p{margin:0;line-height:1.5}
.zone-labels-dialog label{display:grid;gap:7px;font-weight:600;font-size:14px}
.zone-labels-dialog input,.zone-labels-dialog select{width:100%;min-width:0;min-height:44px;box-sizing:border-box;padding:10px 12px;border:1px solid #cbd7cf;border-radius:9px;background:#fff;color:#123c36;font:inherit}
.zone-label-range{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.zone-labels-dialog #zl-preview{display:block;width:400px;max-width:100%;height:auto;margin:2px auto;border:1px solid #cbd7cf;border-radius:6px;background:white}
.zone-labels-dialog [hidden]{display:none!important}
.zone-label-buttons{display:flex;gap:10px;flex-wrap:wrap}
.zone-label-buttons button{flex:1;min-height:46px}
.zone-labels-dialog #zl-all{justify-self:start}
.zone-labels-dialog #zl-count{padding:10px 12px;border-radius:9px;background:#f0f5e9;font-weight:600}
.zone-labels-dialog #zl-status{margin:14px 0 0;font-size:14px;line-height:1.5}
@media(max-width:420px){.zone-labels-dialog #zl-form{padding:14px}.zone-label-buttons{display:grid;grid-template-columns:1fr}.zone-label-range{gap:8px}}
.article-main .article-icon.stock-photo{display:grid;position:relative;place-items:center;width:56px;height:56px;min-width:56px;padding:4px;flex:0 0 56px;border:1px solid #dce5de;border-radius:9px;background:#fff;overflow:hidden;align-self:center}
.stock-photo img{position:absolute;inset:4px;width:calc(100% - 8px);height:calc(100% - 8px);object-fit:contain;opacity:1;filter:none;mix-blend-mode:normal}
.stock-photo-placeholder{font-size:24px;line-height:1;color:#9aaca1}
.stock-photo.has-photo .stock-photo-placeholder{visibility:hidden}
.stock-photo.is-empty{background:#f4f6f2}
@media(max-width:760px){.hm-mobile #workspace #items .article-main .article-icon.stock-photo{display:grid!important;width:48px;height:48px;min-width:48px;min-height:48px;flex:0 0 48px;margin:0 4px 0 0;padding:4px;align-self:flex-start}.hm-mobile #workspace #items .article-main>span{min-width:0;flex:1}}
