.lab-screen{min-height:100vh;font:16px/1.45 -apple-system,BlinkMacSystemFont,Helvetica Neue,Arial,sans-serif;color:var(--ink);background:var(--paper);--ink:#173330;--paper:#f3f6f2;--line:#d4dfd8;--accent:#165a4b;--quiet:#556963}.shop{--ink:#31291f;--paper:#faf7ef;--line:#d6cdbd;--accent:#41362a;--quiet:#716457}.lab-width{width:min(1420px,91.5%);margin-inline:auto}.lab-screen h1,.lab-screen h2,.lab-screen h3,.lab-screen p{margin:0}.lab-screen nav{gap:20px}.lab-screen a{color:inherit;text-decoration:none}.lab-screen a:hover{text-decoration:underline;text-underline-offset:4px}.lab-bar{background:#e7ede7;color:var(--quiet);font-size:12px}.shop .lab-bar{background:#ece7db}.history-header,.mast-inner,.page-title,.utility{display:flex;align-items:center;justify-content:space-between;gap:14px}.utility{min-height:34px}.utility span{margin:0 5px}.utility nav{gap:15px}.lab-screen .activity button:not(.primary),.lab-screen .item-actions button,.lab-screen .receipt button,.lab-screen .utility button{background:transparent;border:0;border-radius:0;padding:3px 0;color:inherit;font:inherit;text-decoration:underline;text-underline-offset:3px}.lab-screen .mast{padding:0;color:var(--ink);background:transparent;border-bottom:1px solid var(--line)}.mast-inner{min-height:75px}.lab-screen .mast h1{display:flex;align-items:center;gap:11px;font:600 32px Georgia,serif;letter-spacing:-1.5px}.mast svg{width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round}.mast nav a{font-size:14px;font-weight:500}.bank .mast{background:#103234;color:#f2f7ee}.bank .mast svg{color:#c0d5b5}.lab-content{max-width:1420px;padding:24px 0 65px}.page-title{margin-bottom:20px}.display-title{font-size:clamp(30px,3vw,42px);font-weight:570;letter-spacing:-.05em}.shop .display-title{font:normal clamp(38px,4vw,58px)/1.1 Georgia,serif;letter-spacing:-.055em}.lab-screen .notice{color:var(--quiet);font-size:13px;text-align:right}.lab-screen section{margin:0;background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px}.lab-screen input,.lab-screen select{background:#fff;border:1px solid var(--line);line-height:1.3;font-size:15px;font-weight:400;min-height:39px;color:var(--ink)}.lab-screen label{font-size:13px;color:var(--quiet);font-weight:500;margin:0}.lab-screen button{border-color:var(--line);color:var(--ink);font-size:14px;line-height:1.4}.lab-screen button.primary{background:var(--accent);color:white;border-color:var(--accent)}.lab-screen :is(a,button,input,select):focus-visible{outline:2px solid var(--accent);outline-offset:3px}.bank .mast a:focus-visible{outline-color:white}.lab-screen button:hover:not(:disabled){filter:brightness(.94)}.bank-grid,.shop-grid{display:grid;grid-template-columns:minmax(0,1.34fr) minmax(0,1fr);gap:24px;align-items:stretch}.lab-screen.shop section{border-radius:0;background:#fffdf7}.shop h2,.shop h3{font:normal 28px/1.12 Georgia,serif;letter-spacing:-.045em}.shop section.cart-panel{position:relative;background:#f4efe4;padding:0;overflow:hidden}.cart-caption{position:absolute;top:12px;left:12px;background:#faf6e9ed;color:#443728;padding:5px 9px;z-index:1}.shop .cart-caption{font:500 11px Menlo,monospace;letter-spacing:.1em;text-transform:uppercase}.cart-item{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);border-bottom:1px solid var(--line)}.product-photo{width:100%;height:100%;min-height:248px;object-fit:contain;background:#eee7dc}.product-photo.wallet{object-fit:cover}.item-details{padding:25px;align-self:center}.shop small{font:11px Menlo,monospace;letter-spacing:.12em;color:var(--quiet)}.item-details h3{font-size:clamp(26px,2.5vw,38px);margin:9px 0}.item-details label{margin:15px 0 4px;max-width:74px}.item-actions{display:flex;gap:14px;font-size:13px}.shop .cart-panel .total{padding:12px 22px;font-size:15px}.total strong{font-size:19px}.cart-panel>p:not(.total){padding:50px 22px 14px}.pay-panel{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:18px}.shop .pay-panel{padding:24px}.pay-fields{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}.pay-fields label{flex:1 1;min-width:140px}.pay-fields button.primary{min-width:95px;min-height:39px}.shop .receipt{background:#eaf1e5;border:1px solid #c7d6c1;color:#35523e;padding:16px 19px;margin:0}.shop .receipt.declined{background:#f7e9e1;border-color:#ddbeaf;color:#753e30}.receipt p{margin:6px 0;font-size:14px}.receipt button{font-size:13px!important}.histories{margin:28px 0 44px}.shop .catalog,.shop .histories section{background:transparent;border:0;border-top:2px solid #635745;padding:16px 0 0}.catalog h2,.histories h2{margin-bottom:15px}.lab-screen table{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-size:15px;margin:0}.lab-screen th{font:11px Menlo,monospace;letter-spacing:.065em;text-transform:uppercase;color:var(--quiet)}.lab-screen td,.lab-screen th{padding:12px 9px}.status-chip{display:inline-flex;align-items:center;gap:6px;border-radius:99px;background:#e4eee1;color:#365b45;padding:3px 9px;font-size:12px;font-weight:600}.status-chip:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.status-chip.negative{background:#f6e5df;color:#803e31}.empty-ledger{padding:17px;border:1px dashed var(--line);color:var(--quiet);font-size:14px}.shop .products article{background:#f2ede3;border-radius:2px;padding:15px}.products article img{width:100%;height:130px;object-fit:contain}.products article img[src$=".jpg"]{object-fit:cover}.products article h3{font-size:22px;margin:4px 0}.products article button{margin-top:10px}.bank-grid{grid-template-columns:minmax(0,1.17fr) minmax(0,1fr);gap:20px}.bank .summary{color:#f5f9f4;background:#153f40 url(/bank-engraving.svg) right -4vw center/56% 125% no-repeat;padding:26px 30px;background-blend-mode:soft-light}.summary h2{font:12px Menlo,monospace;letter-spacing:.12em;text-transform:uppercase}.bank .summary strong{font:500 clamp(48px,4.8vw,70px)/1.1 -apple-system,BlinkMacSystemFont,sans-serif;letter-spacing:-.055em;margin:12px 0 17px}.summary p{display:inline-flex;gap:16px;border-top:1px solid #6a8e82;padding-top:9px;color:#d9e7de;font-size:14px}.activity-fields{display:grid;grid-template-columns:1fr .8fr 1fr;gap:10px;margin:15px 0}.bank .activity nav{gap:14px}.bank .activity nav button:not(.primary){font-size:13px}.bank .transactions{margin-top:22px;padding:22px 24px 12px}.history-header{margin-bottom:16px}.history-header .fields{gap:12px}.history-header label{display:flex;align-items:center;gap:8px}.bank thead{background:#f0f5ef}.bank td{height:59px}.bank td:nth-child(5),.bank th:nth-child(5){text-align:right;padding-right:24px}.bank td:nth-child(5){font-weight:600}.transactions>button{display:block;margin:10px auto 0;border:0;color:var(--accent);background:transparent}@media(max-width:850px){.lab-width{width:93%}.bank-grid,.shop-grid{grid-template-columns:1fr}.history-header{align-items:flex-start;flex-wrap:wrap}.lab-screen .product-photo{max-height:310px}.lab-screen .histories{gap:18px}.item-details{padding:20px}}@media(max-width:560px){.utility{gap:3px;padding:6px 0}.mast-inner,.utility{align-items:flex-start;flex-direction:column}.mast-inner{gap:5px;padding:12px 0}.mast-inner nav{gap:18px}.lab-content{padding-top:16px}.page-title{align-items:start;flex-direction:column;gap:3px}.activity-fields{grid-template-columns:1fr 1fr}.activity-fields label:first-child{grid-column:1/-1}.bank .transactions,.lab-screen section{padding:15px}.history-header .fields{grid-template-columns:1fr 1fr;gap:8px}.history-header .fields,.history-header label{display:grid;min-width:0}.bank .summary{padding:22px}.product-photo{min-height:220px}.item-details{padding:15px}.shop .products article{display:block}.shop .products article img{margin:0 0 8px}}.transactions>button:after{content:"";display:inline-block;width:6px;height:6px;border-right:1px solid;border-bottom:1px solid;padding:0;margin:0 0 3px 9px;transform:rotate(45deg)}.pay-fields [role=status]{flex:0 0 100%;font-size:13px;color:var(--quiet)}.lab-screen.shop[data-theme=dark],.lab-screen[data-theme=dark]{color-scheme:dark;--paper:#0b0b0b;--ink:#f0f0f0;--line:#414141;--accent:#e8e8e8;--quiet:#bcbcbc;--panel:#1b1b1b;--control:#242424}.lab-screen[data-theme=dark] .lab-bar{background:var(--panel);color:var(--quiet)}.lab-screen[data-theme=dark] .mast{background:var(--paper);color:var(--ink)}.bank[data-theme=dark] .mast{background:var(--paper)}.lab-screen[data-theme=dark] section,.lab-screen[data-theme=dark].shop section{background:var(--panel)}.lab-screen[data-theme=dark] .notice,.lab-screen[data-theme=dark] label,.lab-screen[data-theme=dark] th,.shop[data-theme=dark] small{color:var(--quiet)}.lab-screen[data-theme=dark] button,.lab-screen[data-theme=dark] input,.lab-screen[data-theme=dark] select{background:var(--control);color:var(--ink);border-color:var(--line)}.lab-screen[data-theme=dark] button.primary{background:var(--accent);color:var(--paper);border-color:var(--accent)}.lab-screen[data-theme=dark] button:hover:not(:disabled){filter:brightness(1.13)}.lab-screen[data-theme=dark] .item-actions button,.lab-screen[data-theme=dark] .receipt button,.lab-screen[data-theme=dark] .utility button{background:transparent}.shop[data-theme=dark] .products article,.shop[data-theme=dark] section.cart-panel{background:var(--panel)}.shop[data-theme=dark] .cart-caption{background:#202020ed;color:var(--ink)}.shop[data-theme=dark] .product-photo:not(.wallet){background:var(--control)}.shop[data-theme=dark] .receipt{background:#272727;color:#c6e1c8;border-color:#48634d}.shop[data-theme=dark] .receipt.declined{background:#272727;color:#edc5ae;border-color:#68493c}.shop[data-theme=dark] .catalog,.shop[data-theme=dark] .histories section{background:transparent;border-top-color:#747474}[data-theme=dark] .status-chip{background:#303030;color:#bedac6}[data-theme=dark] .status-chip.negative{background:#303030;color:#edc1ae}.bank[data-theme=dark] .summary{background-color:#282828;background-image:linear-gradient(90deg,#282828 19%,transparent 70%),url(/bank-engraving.svg);background-position:50%,right -3vw center;background-size:100% 100%,55% 126%;background-repeat:no-repeat;background-blend-mode:normal,soft-light;border-color:var(--line)}.bank[data-theme=dark] thead{background:var(--control)}.lab-screen[data-theme=dark] td,.lab-screen[data-theme=dark] th{border-color:var(--line)}.lab-screen[data-theme=dark] .transactions>button{background:transparent;color:var(--accent)}