:root{--ds-page: #f6eee0;--ds-ink: #2c1a0e;--ds-ink-2: #7a5a3a;--ds-hairline: #e3d5c3;--ds-teal: #b3540a;--ds-red: #c0392b}body{font-family:Tahoma,Segoe UI,Arial,sans-serif;font-size:17px;color:var(--ds-ink);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cg fill='none' stroke='%23b3540a' stroke-opacity='0.07' stroke-width='2'%3E%3Cpath d='M36 10 L44 30 L36 26 L28 30 Z'/%3E%3Ccircle cx='12' cy='56' r='3'/%3E%3Ccircle cx='60' cy='52' r='3'/%3E%3C/g%3E%3C/svg%3E"),linear-gradient(165deg,#f8f1e3,#f2e7d2 45%,#eddec4);background-attachment:fixed}.shim-card{max-width:720px;margin:0 auto;padding:16px 16px 48px;display:flex;flex-direction:column;min-height:100dvh;box-sizing:border-box}.shim-group{margin:20px 0;padding:16px 16px 18px;display:flex;flex-direction:column;gap:14px;flex:1 0 auto;background:#fffdf8c7;border:1px solid rgba(179,132,74,.22);border-radius:18px;box-shadow:0 2px 10px #5a3c140f}.shim-group>p{margin:0}.shim-group-label{color:var(--ds-ink-2);font-size:14px}.shim-group-h{font-size:20px;margin:4px 0 12px;color:var(--ds-ink)}.shim-btn{min-height:48px;padding:10px 22px;border-radius:10px;font:inherit;font-weight:600;cursor:pointer;border:1.5px solid var(--ds-ink)}.shim-btn:disabled{opacity:.45;cursor:default}.shim-btn-primary{background:var(--ds-ink);color:#fff}.shim-btn-secondary{background:#fff;color:var(--ds-ink)}.shim-btn-ghost{background:none;border-color:transparent;color:var(--ds-ink-2)}.shim-btn-compact{min-height:44px;padding:8px 14px;font-size:15px}.shim-field{display:flex;flex-direction:column;gap:6px;flex:1 1 160px}.shim-field span{font-size:14px;color:var(--ds-ink-2)}.shim-field input{min-height:48px;padding:10px 12px;border:1px solid var(--ds-hairline);border-radius:8px;font:inherit;background:#fff;color:var(--ds-ink);box-sizing:border-box;width:100%}.shim-field input:focus{outline:2px solid var(--ds-teal);outline-offset:-1px}.shim-caption{color:var(--ds-ink-2);font-size:14px;margin:0}.shim-callout{margin:18px 0;padding:14px 16px;border:1px solid var(--ds-hairline);border-radius:14px;background:#fffdf8}.shim-callout p{margin:6px 0 0;color:var(--ds-ink-2);font-size:15px}.shim-closing{margin-top:26px;color:var(--ds-ink-2);font-size:14px;line-height:1.9}html,body,#root{margin:0;min-height:100%}.file-nav{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;border-bottom:1px solid var(--ds-hairline)}.file-nav a{padding:6px 2px;color:var(--ds-ink-2);text-decoration:none;text-align:center;white-space:normal;line-height:1.25;font-size:14px;overflow:hidden}.file-nav a.delivery-glow{color:var(--ds-ink);font-weight:600;border-radius:10px 10px 0 0;animation:deliveryGlow 1.5s ease-in-out infinite}@keyframes deliveryGlow{0%,to{background:#ffb3001a;box-shadow:0 0 4px 1px #ffb30040}50%{background:#ffb3004d;box-shadow:0 0 16px 4px #ffb30099}}.file-nav a[aria-current=page]{color:var(--ds-ink);box-shadow:inset 0 -1px 0 var(--ds-ink)}@media (max-width: 600px){.file-nav a{display:inline-flex;align-items:center;min-height:44px}}.shop-list{display:flex;flex-direction:column}.shop-mini{display:flex;align-items:center;gap:8px;border-top:1px solid var(--ds-hairline)}.shop-mini:first-of-type{border-top:0}.shop-mini-line{flex:1 1 auto;background:none;border:0;padding:12px 0;font:inherit;text-align:start;color:var(--ds-ink)}.shop-mini-line bdi{font-weight:600}.shop-dline{display:flex;align-items:center;gap:6px;padding:4px 0;border-top:1px solid var(--ds-hairline)}.shop-dline:first-of-type{border-top:0}.shop-dline-row{flex:1 1 auto;min-width:0;background:none;border:0;padding:12px 0;font:inherit;text-align:start;cursor:pointer}.shop-dline-row bdi{display:flex;white-space:nowrap;overflow:hidden;font-weight:600;font-size:15px;color:var(--ds-ink)}.shop-dline-name{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}.shop-dline-math{flex:0 0 auto}.shop-dline-del{flex:0 0 auto;border:0;background:none;padding:8px 4px;font:inherit;font-size:14px;color:#8a5a2a;cursor:pointer}.shop-dline-edit{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:1 1 auto;padding:6px 0}.shop-iline{display:flex;align-items:center;gap:6px;padding:4px 0;border-top:1px solid var(--ds-hairline)}.shop-iline:first-of-type{border-top:0}.shop-iline-row{flex:1 1 auto;min-width:0;background:none;border:0;padding:12px 0;font:inherit;text-align:start;cursor:pointer}.shop-iline-row bdi{display:flex;white-space:nowrap;overflow:hidden;font-weight:600;font-size:15px;color:var(--ds-ink)}.shop-iline-name{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}.shop-iline-math{flex:0 0 auto}.shop-iline-del{flex:0 0 auto;border:0;background:none;padding:8px 4px;font:inherit;font-size:14px;color:#8a5a2a;cursor:pointer}.shop-iline-edit{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:1 1 auto;padding:6px 0}.shop-item{display:flex;flex-wrap:wrap;align-items:flex-end;gap:14px;padding:12px 0;border-top:1px solid var(--ds-hairline)}.shop-item:first-child{border-top:0}.shop-item-name{flex:1 1 100%;font-weight:600;color:var(--ds-ink)}.shop-brand{display:inline-block;margin-inline-start:8px;padding:0 8px;border:1px solid var(--ds-hairline);border-radius:999px;color:var(--ds-ink-2);font-size:13px;font-weight:400;vertical-align:middle}.shop-cell{display:flex;flex-direction:column;gap:2px}.shop-cell span{font-size:13px;color:var(--ds-ink-2)}.shop-cell input{width:96px;min-height:44px;padding:8px 10px;border:1px solid var(--ds-hairline);border-radius:4px;font:inherit;color:var(--ds-ink);background:var(--ds-page);box-sizing:border-box}.shop-cell input:focus{outline:2px solid var(--ds-teal);outline-offset:-1px}.shop-addrow{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-end}.shop-addrow>*{flex:1 1 140px}.shop-actions{display:flex;flex-wrap:wrap;gap:12px}.shop-choice{display:flex;flex-wrap:wrap;gap:8px}.shop-pick{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;width:100%;padding:12px 0;border:0;border-top:1px solid var(--ds-hairline);background:none;font:inherit;text-align:start;cursor:pointer;color:var(--ds-ink)}.shop-pick .shop-item-name{flex:1 1 auto}.shop-pick-meta{color:var(--ds-ink-2);font-size:14px}.shop-debt{font-weight:600;color:var(--ds-red)}.shop-clear{color:var(--ds-ink-2)}.shop-invoice{margin:10px 0 14px;padding:16px;border:1px solid var(--ds-hairline);border-radius:8px;display:flex;flex-direction:column;gap:8px}.shop-invoice-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;color:var(--ds-ink)}.shop-invoice-head span{color:var(--ds-ink-2);font-size:14px}.shop-invoice-line{display:flex;align-items:baseline;gap:10px;padding:6px 0;border-top:1px solid var(--ds-hairline)}.shop-line-name{flex:1 1 auto;font-weight:600;color:var(--ds-ink)}.shop-line-calc{color:var(--ds-ink-2);font-size:14px}.shop-line-total{font-weight:600;color:var(--ds-ink);white-space:nowrap}.shop-invoice-total{padding-top:8px;border-top:1px solid var(--ds-hairline);color:var(--ds-ink)}.shop-invoice-total strong{color:var(--ds-teal)}.shop-pdf{display:flex;flex-direction:column;gap:6px;align-items:flex-start}.shop-group-head{padding:18px 0 4px;font-weight:700;color:var(--ds-ink)}.shop-group-head span{font-weight:400;font-size:13px;color:var(--ds-ink-2);margin-inline-start:6px}.shop-section-head{margin-top:14px;padding:6px 0;font-size:18px;font-weight:700;color:var(--ds-ink);border-bottom:2px solid var(--ds-ink)}.shop-combo{position:relative}.shop-combo-box{display:flex;align-items:stretch}.shop-combo-box input{border-radius:0 4px 4px 0}.shop-combo-arrow{min-width:36px;min-height:44px;border:1px solid var(--ds-hairline);border-inline-start:0;border-radius:4px 0 0 4px;background:var(--ds-page);color:var(--ds-ink-2);font:inherit;cursor:pointer}.shop-combo-list{position:absolute;z-index:20;top:100%;inset-inline-start:0;min-width:100%;max-height:220px;overflow:auto;display:flex;flex-direction:column;background:var(--ds-page);border:1px solid var(--ds-hairline);border-radius:4px;box-shadow:0 6px 16px #0000002e}.shop-combo-list button{padding:10px 12px;min-height:44px;text-align:start;background:none;border:0;border-top:1px solid var(--ds-hairline);font:inherit;color:var(--ds-ink);cursor:pointer}.shop-combo-list button:first-child{border-top:0}.shop-grid-head,.shop-grid-row{display:grid;grid-template-columns:1.5fr 1fr 104px auto;gap:12px;align-items:center}.shop-grid-head{padding:8px 0 6px;font-size:13px;color:var(--ds-ink-2);border-bottom:2px solid var(--ds-ink)}.shop-grid-row{padding:10px 0;border-top:1px solid var(--ds-hairline)}.shop-grid-main{font-weight:600;color:var(--ds-ink)}.shop-grid-sub{display:block;font-weight:400;font-size:13px;color:var(--ds-ink-2)}.shop-saved-note{font-size:13px;color:var(--ds-ink-2);white-space:nowrap}.shop-doc-customer{font-size:20px;color:var(--ds-ink);background:#fff8ee;border:2px solid #b3540a;border-radius:10px;padding:10px 14px;margin:10px 0}.shop-modal-back{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;display:flex;align-items:center;justify-content:center;z-index:50;padding:24px}.shop-modal{background:var(--ds-card, #fff);border-radius:16px;padding:24px 20px;width:100%;max-width:360px;display:flex;flex-direction:column;gap:14px;box-shadow:0 12px 40px #00000059}.shop-modal h2{margin:0;font-size:22px;color:var(--ds-ink);text-align:center}.shop-modal p{margin:0;font-size:16px;color:var(--ds-ink-2);text-align:center}.shop-modal button{min-height:52px;font-size:17px}.shop-mini.warn{background:#fff4e5;border:1px solid #f0a840;border-radius:8px}.shop-warn-tag{color:#b3540a}.shop-modal-warn{background:#fff4e5;border:1px solid #f0a840;border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:4px;font-size:15px;color:#7a3c00;text-align:center}.shop-grid-spec{color:var(--ds-ink)}.shop-grid-row .shop-cell>span{display:none}.shop-grid-row .shop-cell input{width:100%}.shop-count{font-weight:400;font-size:14px;color:var(--ds-ink-2);margin-inline-start:6px}@media (max-width: 600px){.shop-grid-head,.shop-grid-row{grid-template-columns:1.2fr .8fr 92px auto;gap:8px}}.shop-photo-preview{max-width:140px;border-radius:10px;border:1px solid rgba(0,0,0,.12)}.shop-head{position:relative;display:flex;align-items:center;gap:12px;padding:16px 14px;background:#fffdf8c7;border:1px solid rgba(179,132,74,.22);border-radius:18px;box-shadow:0 2px 10px #5a3c140f}.shop-logo{width:54px;height:54px;flex-shrink:0}.shop-head-txt{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}.shop-head-name{font-size:20px;font-weight:800;color:#2c1a0e;line-height:1.3}.shop-head-phone{font-size:15px;font-weight:600;color:#7a5a3a;text-decoration:none;letter-spacing:1px}.shop-invoice-start{padding:10px 4px 4px}.shop-code{flex:1}.shop-code textarea{width:100%;border:1px solid rgba(0,0,0,.15);border-radius:10px;padding:8px 10px;font:inherit;resize:vertical;background:#fff}.shop-doc{background:#fffdf8;border:1px solid var(--ds-hairline, rgba(0,0,0,.1));border-radius:14px;padding:18px 16px;display:flex;flex-direction:column;gap:12px}.shop-doc-top{display:flex;align-items:center;gap:12px}.shop-doc-meta{font-size:14px;color:#7a5a3a;font-weight:600}.shop-doc-table{display:flex;flex-direction:column}.shop-doc-cols{display:grid;grid-template-columns:1fr auto auto auto;gap:10px;padding:10px 4px;border-bottom:1px solid rgba(0,0,0,.08);font-size:15px;align-items:baseline}.shop-doc-cols span:nth-child(n+2){text-align:left;min-width:52px}.shop-doc-head-row{font-weight:700;color:#7a5a3a;border-bottom:2px solid #2c1a0e;font-size:14px}.shop-doc-total{text-align:left;font-size:16px;padding-top:4px}@media print{body *{visibility:hidden}.shop-print-area,.shop-print-area *{visibility:visible}.shop-print-area{position:absolute;top:0;right:0;left:0;border:none}}.shop-chips{display:flex;flex-wrap:wrap;gap:10px;padding:10px 0}.shop-chip{min-height:48px;padding:10px 18px;border:1px solid var(--ds-hairline);border-radius:999px;background:var(--ds-page);color:var(--ds-ink);font:inherit;font-size:17px;cursor:pointer}.shop-chip.on{background:var(--ds-ink);color:var(--ds-page);border-color:var(--ds-ink)}.shop-chip-item{border-radius:12px}.shop-qty{display:flex;align-items:center;gap:6px}.shop-qty button{min-width:48px;min-height:48px;border:1px solid var(--ds-hairline);border-radius:10px;background:var(--ds-page);color:var(--ds-ink);font:inherit;font-size:22px;cursor:pointer}.shop-qty span{min-width:44px;text-align:center;font-weight:700;font-size:17px;color:var(--ds-ink)}.shop-head-clock{font-size:14px;font-weight:600;color:#7a5a3a}.shop-pdf-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;background:var(--ds-page);display:flex;flex-direction:column}.shop-pdf-bar{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;border-bottom:1px solid var(--ds-hairline);color:var(--ds-ink)}.shop-pdf-view{flex:1;width:100%;border:0;background:#fff}.shop-pdf-img{flex:1;width:100%;object-fit:contain;object-position:top center;background:#fff;overflow:auto}.shop-pdf-inline{border:1px solid var(--ds-hairline);border-radius:8px;background:#fff;overflow:hidden}.shop-share-page{max-width:560px;margin:0 auto;padding:16px;display:flex;flex-direction:column;gap:12px}.shop-share-page h1{font-size:20px;margin:0;color:var(--ds-ink)}.shop-share-hint{color:var(--ds-ink-2);font-size:15px;line-height:1.9;margin:0}.shop-share-img{display:block;width:100%;border:1px solid var(--ds-hairline);border-radius:8px;background:#fff}.shop-pdf-inline-img{display:block;width:100%}.shop-pdf-text{display:flex;flex-direction:column;gap:8px;align-items:flex-start}.shop-pdf-text textarea{width:100%;box-sizing:border-box;border:1px solid var(--ds-hairline);border-radius:8px;background:var(--ds-page);color:var(--ds-ink);font:inherit;font-size:15px;padding:10px;resize:vertical}.shop-custname-row{display:flex;gap:8px;align-items:flex-end}.shop-custname-field{flex:1;min-width:0}.shop-pdf-ready{font-size:16px;line-height:1.5;color:#b3540a}.shop-pdf-inline{scroll-margin-top:12px}.shop-warn-banner{background:#fdecea;border:2px solid #c0392b;color:#8c2418;border-radius:10px;padding:12px 14px;font-size:16px;line-height:1.7}.shop-modal-err{color:var(--ds-red)!important;font-weight:600}.shop-invoice-hero{flex:1 0 auto;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:center;align-content:center;gap:16px;min-height:48dvh;text-align:center}.shop-invoice-hero .shim-caption{flex:1 1 100%}.shop-price-fixed{display:inline-block;min-height:44px;padding:10px 14px;border:1px solid var(--ds-hairline);border-radius:8px;background:#f3ead9;color:var(--ds-ink);font-size:17px;box-sizing:border-box}.shop-invoice-hero .shim-btn{flex:1 1 150px;max-width:240px;min-height:64px;font-size:17px}.shop-invoice-hero.compact{min-height:0;flex:0 0 auto;padding:8px 0 16px}.shop-intro{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;background:#000}.shop-intro video{width:100%;height:100%;object-fit:cover}.shop-intro-skip{position:absolute;bottom:calc(env(safe-area-inset-bottom,0px) + 28px);inset-inline-start:20px;padding:12px 22px;border-radius:999px;border:1px solid rgba(255,255,255,.6);background:#00000073;color:#fff;font-size:17px;font-family:inherit}.shop-badge-new{display:inline-block;margin-inline-start:8px;padding:2px 10px;border-radius:999px;background:#c0392b;color:#fff;font-size:13px;font-weight:700;vertical-align:middle;animation:shop-pulse 1.4s ease-in-out infinite}@keyframes shop-pulse{0%,to{opacity:1}50%{opacity:.55}}.shop-push{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:10px 0;border-top:1px solid var(--ds-hairline)}.shop-gear{position:absolute;left:10px;bottom:8px;width:34px;height:34px;border:none;background:transparent;color:#7a5a3a;cursor:pointer;padding:5px;border-radius:10px}.shop-gear:active{background:#b3844a26}.shop-gear svg{width:100%;height:100%;display:block}.shop-gear-menu{position:absolute;left:10px;top:calc(100% + 6px);z-index:60;display:flex;flex-direction:column;min-width:200px;background:#fffdf8;border:1px solid rgba(179,132,74,.35);border-radius:14px;box-shadow:0 8px 24px #5a3c142e;overflow:hidden}.shop-gear-menu button{padding:13px 14px;background:none;border:none;border-bottom:1px solid rgba(179,132,74,.15);font:inherit;font-weight:700;font-size:15px;color:#2c1a0e;text-align:right;cursor:pointer}.shop-gear-menu button:last-child{border-bottom:none}.shop-gear-menu button:active{background:#b3844a1f}.shop-gear-version{padding:4px 14px 8px;font-size:12px;color:#a08d70;text-align:center}.shop-modal-private-btn{background:none;border:none;cursor:pointer;font:inherit;display:block;width:100%;padding:20px 6px}.shop-modal-private{font-weight:700;text-align:center;color:#6b4a2a;margin:0 0 8px;font-size:15px}.shop-version-footer{padding:10px 0 16px;font-size:12px;color:#a08d70;text-align:center}.shop-hist-row{border-top:1px solid var(--ds-hairline)}.shop-hist-line{display:flex;align-items:center;gap:6px}.shop-pick-inline{flex:1 1 auto;border-top:0}.shop-hist-del{flex:0 0 auto;border:0;background:none;padding:8px 4px;font:inherit;font-size:14px;color:#8a5a2a;cursor:pointer}.shop-storage-banner{position:sticky;top:0;z-index:80;margin-bottom:8px}
