:root{color-scheme:light;--bg:#edf2f4;--ink:#172b35;--muted:#607681;--line:#dce5e9;--green:#006e56;--green-dark:#00523e;--mint:#dff5e8;--gold:#e9a323;--nav:#10242e;--white:#fff;--radius:18px;font:16px/1.45 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #50bd9b;outline-offset:3px}button{border:0}button,input,textarea,select{min-width:0}h1,h2,h3,p{margin:0}h2{font-size:1.28rem;letter-spacing:-.03em}a{color:var(--green)}small{font-size:.77rem}header{min-height:74px;padding:12px clamp(16px,4vw,48px);background:var(--nav);color:#fff;display:flex;align-items:center;gap:24px;position:sticky;top:0;z-index:5;box-shadow:0 2px 15px #10242e10}.brand{display:flex;align-items:center;gap:12px;background:none;color:white;text-align:left;font-size:1.22rem;font-weight:850;letter-spacing:-.055em;line-height:1.1;white-space:nowrap}.brand-accent{color:#7ee1b3}.brand small{display:block;color:#9eb4bf;font-size:.57rem;letter-spacing:.14em;font-weight:700;margin-top:4px}.logo{height:42px;width:42px;border-radius:12px;background:#d9f9e7;display:grid;place-items:center;color:#0d493b;font-size:1.6rem;letter-spacing:-.09em;position:relative}.logo span{position:absolute;color:#3b9979;bottom:2px;right:7px}.top-progress{display:flex;align-items:center;gap:12px;margin-left:auto;max-width:380px;flex:1}.progress-label{white-space:nowrap;font-size:.68rem;letter-spacing:.1em;color:#aabdc6;font-weight:800}.bar{height:8px;flex:1;min-width:48px;background:#36505b;border-radius:8px;overflow:hidden}.bar i{display:block;height:100%;background:#79d9a8;border-radius:8px}.top-progress b{font-size:.85rem;white-space:nowrap}.top-stars{white-space:nowrap;color:#ffc65e;font-size:1.25rem;font-weight:800}.top-stars span{font-size:.77rem;color:#aabdc6;font-weight:600}.icon-btn{width:37px;height:37px;flex:none;border:1px solid #44616c;border-radius:10px;color:#c5d5db;background:transparent;font-weight:800}.map,.game{max-width:1350px;margin:auto;padding:28px clamp(16px,3vw,42px) 20px}.hero{position:relative;background:linear-gradient(115deg,#112f3a 0%,#183f46 60%,#164c43 100%);color:white;overflow:hidden;border-radius:24px;padding:clamp(24px,5vw,55px);display:flex;justify-content:space-between;align-items:center;gap:25px;min-height:310px;box-shadow:0 12px 30px #10242e15}.hero:after{content:"";position:absolute;right:-100px;top:-210px;border:1px solid #ffffff15;border-radius:50%;width:550px;height:550px;pointer-events:none;box-shadow:0 0 0 55px #ffffff08,0 0 0 110px #ffffff05}.hero>div{z-index:1}.eyebrow{font-size:.7rem;font-weight:850;letter-spacing:.13em;text-transform:uppercase;color:#67808b;display:flex;align-items:center;gap:8px}.hero .eyebrow{color:#a7d8c8}.status{display:inline-block;width:8px;height:8px;background:#4fc58f;box-shadow:0 0 0 3px #4fc58f20;border-radius:50%;flex:none}.hero h1{font-size:clamp(2.15rem,4.7vw,4rem);line-height:1.05;letter-spacing:-.065em;margin:19px 0 16px}.hero h1 em{font-style:normal;color:#a8e9be}.hero p{color:#d0e0e3;max-width:470px;margin-bottom:24px;font-size:1.13rem}.primary,.secondary,.text-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:750;border-radius:11px;transition:background .15s,transform .15s}.primary{background:var(--green);color:white;padding:13px 19px;box-shadow:0 2px 0 #00523e35}.primary:hover{background:var(--green-dark)}.primary:active,.level:active,.product:active{transform:translateY(1px)}.hero .primary{background:#a8e9be;color:#113e2c}.hero .primary:hover{background:#c9f8d7}.large{padding:15px 23px;font-size:1.05rem}.secondary{background:white;border:1px solid var(--line);color:var(--ink);padding:11px 15px}.secondary:hover,.op:hover,.chip:hover{background:#eef8f3;border-color:#accfc0}.text-btn{padding:6px 1px;background:none;color:var(--green);font-size:.88rem}.danger{color:#b43b43}.hero-graphic{position:relative;width:345px;height:248px;flex:none;margin-right:10px;display:flex;align-items:center}.pos-illustration{width:228px;background:#0d222a;padding:14px;border:2px solid #496469;border-radius:21px;box-shadow:10px 24px 35px #06151870;transform:rotate(-5deg);z-index:2}.pos-top{font-size:.57rem;color:#99b3b0;display:flex;justify-content:space-between;align-items:center;font-weight:700;letter-spacing:.08em}.pos-display{padding:12px;background:#d9f3dc;color:#143a2e;border-radius:8px;margin:12px 0}.pos-display small{font-size:.57rem;letter-spacing:.1em;font-weight:850}.pos-display strong{display:block;font-size:2rem;line-height:1.2;font-family:monospace}.pos-display strong i{font-size:.8rem;font-style:normal}.pos-display div{display:flex;justify-content:space-between;font-size:.57rem;font-weight:800}.pos-keys{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.pos-keys i{display:grid;place-items:center;font-weight:700;font-style:normal;background:#34515b;border-radius:5px;line-height:29px;font-size:.8rem}.pos-keys .green{background:#3aab81}.paper-illustration{position:absolute;right:3px;top:30px;width:161px;background:#f9fff9;border-radius:3px;padding:16px 13px;color:#243b32;transform:rotate(8deg);box-shadow:3px 12px 25px #0e201f60;font-family:monospace;font-size:.72rem;z-index:1}.paper-illustration b,.paper-illustration>div{text-align:center;display:block}.paper-illustration>div{font-size:.57rem}.paper-illustration span{float:right}.paper-illustration hr{border:0;border-top:1px dashed #82948c}.paper-illustration .big{font-size:1.4rem;margin-top:15px;clear:both}.section-title{display:flex;align-items:end;justify-content:space-between;gap:10px;margin:34px 0 16px}.section-title h2{font-size:1.8rem;letter-spacing:-.045em}.legend{display:flex;gap:15px;font-size:.8rem;color:var(--muted)}.chapter{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:19px;margin:0 0 16px}.chapter-head{display:flex;align-items:center;gap:12px;margin:0 0 16px}.chapter-no{background:#edf3f5;border-radius:12px;padding:11px;font-size:1rem;font-weight:850;color:#496675}.chapter-head h3{font-size:1.05rem;letter-spacing:-.02em}.chapter-head p{font-size:.84rem;color:var(--muted)}.chapter-stars{margin-left:auto;color:#ad760d;font-size:.86rem;font-weight:850;white-space:nowrap}.levels{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:8px}.level{display:flex;flex-direction:column;align-items:start;gap:5px;padding:10px 8px;min-height:110px;text-align:left;border:1px solid #d5e0e4;background:#f5f8fa;border-radius:12px;color:#52707e;overflow:hidden}.level-num{font-size:1.45rem;font-weight:850;line-height:1.1}.level-name{font-size:.77rem;font-weight:700;line-height:1.25;flex:1;overflow-wrap:anywhere}.stars{color:var(--gold);letter-spacing:1px;font-size:.9rem;white-space:nowrap}.level.locked{background:#f4f6f7;color:#9aabb3;border-color:#ebeff1}.level.locked .stars{font-size:.76rem;filter:grayscale(1);opacity:.65}.level.active-level{border:2px solid #3b9c7d;background:#e6f8ed;color:#174e3c}.level.passed{background:#e8f7ed;color:#246548;border-color:#aadabe}.level:not(:disabled):hover{background:#d7f0e2}.crumb{display:flex;gap:8px;align-items:center;margin-bottom:15px;color:var(--muted);font-size:.86rem}.counter{margin-left:auto;white-space:nowrap;font-size:.8rem}.mission{display:flex;align-items:center;gap:20px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px;margin-bottom:18px;box-shadow:0 3px 10px #182b3510}.mission-badge{align-self:stretch;min-width:86px;text-align:center;display:flex;flex-direction:column;justify-content:center;background:#e5f4ed;color:var(--green);border-radius:13px;padding:12px}.mission-badge small{font-size:.65rem;letter-spacing:.11em;font-weight:850}.mission-badge b{font-size:2.6rem;letter-spacing:-.08em;line-height:1.05}.mission-badge span{font-size:.75rem;color:#54796d}.mission-text{flex:1}.mission-text h1{font-size:clamp(1.45rem,3vw,2rem);letter-spacing:-.045em;margin:3px 0 7px}.mission-text p{font-size:1.07rem;line-height:1.5}.mission-actions{display:flex;flex-direction:column;gap:6px;flex:none}.stage-now{margin-top:10px;background:#eef7ff;border-left:3px solid #6498bb;padding:9px 12px;border-radius:6px;color:#36576d;font-size:.9rem}.step-track{display:flex;align-items:stretch;gap:8px;overflow-x:auto;margin-bottom:18px}.step-track>div{flex:1;min-width:118px;background:#dce6ea;border-radius:11px;padding:8px;display:flex;align-items:center;gap:8px;font-size:.72rem;color:#607681}.step-track b{height:25px;width:25px;flex:none;border-radius:8px;background:#c8d7dd;display:grid;place-items:center}.step-track .current{background:#d7f0e3;color:#144f3c}.step-track .current b{background:#007455;color:#fff}.step-track .finished{background:#e7f2eb;color:#40785b}.workstation{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:18px;align-items:start}.panel{padding:18px;background:white;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 3px 10px #182b3509}.panel-top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:16px}.label-chip{display:inline-flex;align-items:center;gap:6px;font-size:.59rem;letter-spacing:.06em;font-weight:850;border-radius:8px;background:#e1f4e9;color:#287453;padding:7px 9px;white-space:nowrap}.label-chip.muted{background:#eff2f4;color:#71838b}.scan{display:flex;align-items:center;border:1px solid #cbd9df;border-radius:12px;padding:6px;gap:8px;margin-bottom:11px}.scan input{border:0;outline:0;background:transparent;flex:1;padding:8px 0;min-width:50px}.scan-icon{color:#7f9298;font-size:1.4rem;padding:0 5px}.scan button{padding:10px 16px}.filters input{width:100%;border:1px solid var(--line);border-radius:11px;padding:10px 13px;background:#f9fbfc}.categories{display:flex;gap:6px;overflow:auto;scrollbar-width:thin;padding:10px 0}.chip{padding:7px 9px;white-space:nowrap;font-size:.78rem;color:#546a75;border:1px solid var(--line);background:#fff;border-radius:8px;font-weight:700}.chip.selected{background:#dff5e8;color:var(--green);border-color:#a2d4b8}.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;max-height:calc(100vh - 340px);min-height:290px;overflow:auto;scrollbar-width:thin;padding:2px 3px 3px 1px}.product{display:flex;flex-direction:column;align-items:stretch;min-height:112px;padding:11px;text-align:left;border:1px solid #d7e3e7;border-radius:13px;background:#f8fafb;color:var(--ink);transition:background .1s,box-shadow .1s}.product:hover{border-color:#77ba9b;background:#effaf3;box-shadow:0 2px 7px #004a3520}.product-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;gap:3px}.product-icon{font-size:1.65rem;line-height:1}.plu{font-size:.62rem;color:#82959f;font-weight:800;white-space:nowrap}.product>strong{font-size:.85rem;line-height:1.2;flex:1}.product-bottom{display:flex;align-items:baseline;gap:4px;margin-top:6px}.product-bottom b{font-size:1rem;color:#174b3a;white-space:nowrap;letter-spacing:-.025em}.product-bottom span{font-size:.65rem;color:var(--muted)}.product small{color:#527d68;font-size:.66rem}.checkout{position:sticky;top:90px}.display{background:#153e38;border-radius:14px;color:#d7ffe0;padding:16px 17px}.display small{letter-spacing:.13em;font-weight:800;color:#a9d8bd;font-size:.68rem}.display>div{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.display strong{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:clamp(1.8rem,3.8vw,2.7rem);letter-spacing:-.055em;white-space:nowrap}.display>div>span{font-size:.71rem;color:#aad5ba}.display-sub{margin-top:9px;padding-top:8px;border-top:1px solid #4d7065}.receipt{margin-top:10px;min-height:200px;max-height:380px;overflow:auto;scrollbar-width:thin}.empty-receipt{text-align:center;padding:35px 8px;color:#8da0a8}.empty-receipt>div{font-size:2rem;margin-bottom:8px}.empty-receipt b{display:block;font-size:1rem}.empty-receipt p{font-size:.82rem;margin-top:7px}.receipt-line{display:flex;align-items:start;justify-content:space-between;gap:12px;padding:11px 1px;border-bottom:1px dashed #dfe7ea}.line-name{flex:1}.line-name strong{display:block;font-size:.9rem}.line-name small{display:block;color:#80949c;font-size:.7rem;margin:3px 0 6px}.line-controls{display:flex;gap:4px;align-items:center}.line-controls button{border:1px solid #d8e4e6;background:#f3f6f7;color:#284a5a;border-radius:7px;min-height:32px;min-width:32px;font-size:.84rem;font-weight:750}.line-controls .qty{padding:2px 8px}.line-controls button:last-child{margin-left:5px;color:#507e69}.line-end{display:flex;align-items:start;flex-direction:column;gap:8px;text-align:right}.line-end b{font-size:.98rem;white-space:nowrap}.remove{background:#fceff0;color:#b34853;border-radius:7px;width:31px;height:30px;font-size:1.25rem;line-height:1;align-self:end}.summary{border-top:1px solid var(--line);padding:12px 0;font-size:.85rem;margin-top:9px}.summary>div,.data-list>div{display:flex;justify-content:space-between;gap:12px;padding:4px 0;color:var(--muted)}.summary b,.data-list b{color:var(--ink);white-space:nowrap}.summary .total-line{border-top:1px solid var(--line);margin-top:9px;padding-top:10px;font-weight:800;color:var(--ink);font-size:1rem}.checkout-actions{display:grid;grid-template-columns:auto auto 1fr;gap:6px}.checkout-actions button{padding:12px 10px;font-size:.86rem}.pay{justify-content:space-between}.operations{margin-top:18px}.op-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.op{display:flex;gap:9px;align-items:center;text-align:left;border:1px solid var(--line);border-radius:11px;background:#f8fafb;color:#385260;font-weight:700;padding:10px;min-height:52px;font-size:.82rem}.op span{font-size:1.4rem;color:#4c7f6d;flex:none;width:24px;text-align:center}.muted{color:var(--muted)}.small{font-size:.82rem}.empty{color:var(--muted);grid-column:1/-1;padding:10px}footer{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#738791;font-size:.78rem;padding:22px 2px}.overlay{position:fixed;inset:0;z-index:20;background:#0d2634ac;display:flex;align-items:center;justify-content:center;padding:18px;backdrop-filter:blur(3px)}.dialog{max-width:530px;width:100%;max-height:calc(100dvh - 36px);overflow:auto;background:white;border-radius:20px;box-shadow:0 25px 100px #061a2b77}.dialog-head{display:flex;align-items:center;justify-content:space-between;padding:18px 22px 15px;border-bottom:1px solid var(--line);gap:10px}.dialog-head h2{font-size:1.23rem}.close{background:#eff3f5;color:#627883;font-size:1.5rem;width:34px;height:34px;flex:none;border-radius:10px;display:grid;place-items:center}.dialog-body{padding:20px 22px;display:flex;flex-direction:column;gap:14px}.dialog-body>p{font-size:.98rem}.dialog-body ul{margin:0;padding-left:22px}.dialog-body li{margin:5px 0}.dialog-body label{display:flex;flex-direction:column;gap:5px;font-weight:750;font-size:.86rem;color:#385260}.dialog-body input:not([type=checkbox],[type=radio]),.dialog-body select,.dialog-body textarea{width:100%;border:1px solid #cad9df;border-radius:9px;background:#f9fbfc;padding:11px 12px;font-size:1rem;color:var(--ink);font-weight:500}.dialog-body textarea{min-height:80px;resize:vertical}.dialog-body .choice{display:flex;flex-direction:row;align-items:start;gap:10px;background:#f7fafb;border:1px solid var(--line);border-radius:9px;padding:11px;font-size:.9rem;line-height:1.4;font-weight:600}.choice input{margin:3px 0 0;accent-color:var(--green);width:18px;height:18px;flex:none}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;border-top:1px solid var(--line);padding:15px 22px 20px}.terminal-total{background:#123d37;color:#d7ffe0;padding:19px;border-radius:12px;display:flex;flex-direction:column;align-items:center;gap:4px}.terminal-total small{font-size:.67rem;font-weight:800;letter-spacing:.13em}.terminal-total strong{font-size:2rem;font-family:monospace}.payment-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.method{background:#f4f8fa;border:1px solid var(--line);border-radius:13px;padding:19px 8px;color:#385260;display:flex;flex-direction:column;align-items:center;gap:8px;font-weight:750}.method:hover{background:#e6f5eb;border-color:#92c6ac}.method b{font-size:2rem;color:#2b7c61}.terminal-status{text-align:center;border-radius:13px;padding:20px;font-size:1.25rem;font-weight:850;letter-spacing:.035em}.terminal-status.fail{background:#fbe2e4;color:#b13a43}.terminal-status.ok{background:#d9f6e5;color:#0d724b}.printed{background:#fbfbf4;border:1px solid #e4e5d7;padding:18px;color:#22332c;font-family:ui-monospace,Consolas,monospace;font-size:.82rem}.print-head{display:flex;flex-direction:column;text-align:center;font-size:.75rem;gap:5px;margin:6px 0}.printed hr{border:none;border-top:1px dashed #b6bcae;margin:12px 0}.print-row{display:flex;justify-content:space-between;gap:10px;padding:4px 0}.print-row>span:first-child{max-width:68%}.print-total{font-size:1.1rem;border-top:1px dashed #b6bcae;margin-top:9px;padding-top:9px}.data-list{background:#f2f6f8;border-radius:9px;padding:10px 14px;font-size:.83rem}.toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,25px);opacity:0;transition:.18s;pointer-events:none;z-index:30;background:#173940;color:white;max-width:min(90vw,540px);width:max-content;padding:14px 20px;border-radius:12px;box-shadow:0 8px 20px #0004;font-weight:700;font-size:.92rem}.toast.visible{opacity:1;transform:translate(-50%,0)}.toast.error{background:#9e3038}.toast.success{background:#076c4b}.toast.warn{background:#9a6909}.result{min-height:calc(100vh - 74px);display:grid;place-items:center;padding:24px}.result-card{background:white;border:1px solid var(--line);box-shadow:0 12px 50px #17372b14;border-radius:25px;padding:clamp(24px,5vw,45px);max-width:580px;width:100%;text-align:center}.result-card .eyebrow{justify-content:center}.result-stars{font-size:clamp(3rem,10vw,5.2rem);color:#e8a31c;letter-spacing:4px;line-height:1.2;margin:13px 0;text-shadow:0 3px 0 #e8a31c25}.result-card h1{font-size:2.6rem;letter-spacing:-.06em;line-height:1.1}.result-card>p{color:var(--muted);margin:7px 0 20px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:16px}.stats div{display:flex;flex-direction:column;background:#f2f6f7;border-radius:13px;padding:13px 6px}.stats b{font-size:1.6rem;color:#183d39}.stats span{font-size:.8rem;color:var(--muted)}.lesson{padding:17px;margin-bottom:22px;text-align:left;border-radius:12px;background:#eaf6ed}.lesson .eyebrow{justify-content:start;color:#438161;margin-bottom:7px}.lesson p{font-size:.95rem;color:#27553e}.result-card>.primary{width:100%}.result-links{display:flex;gap:8px;margin-top:10px}.result-links>button{flex:1}.completion{background:#fdf4d7;border-radius:10px;padding:14px;font-weight:800;color:#8a5e0a}
@media(min-width:1200px){.products{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1100px){.levels{grid-template-columns:repeat(5,minmax(0,1fr))}.level{min-height:85px}.op-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:780px){header{gap:12px;padding:10px 14px;min-height:64px}.progress-label{display:none}.brand small{display:none}.brand{font-size:1.08rem;gap:7px}.logo{height:34px;width:34px;font-size:1.25rem}.top-progress{gap:6px}.top-stars{font-size:1rem}.top-stars span{display:none}.icon-btn{width:32px;height:32px}.map,.game{padding:16px 12px}.hero{min-height:0;padding:25px 22px}.hero h1{font-size:2.35rem}.hero p{font-size:1rem}.hero-graphic{display:none}.section-title{margin-top:23px}.legend{display:none}.chapter{padding:14px}.chapter-head{margin-bottom:12px}.levels{gap:6px}.level{padding:8px 6px;min-height:95px}.level-name{font-size:.7rem}.level-num{font-size:1.3rem}.stars{font-size:.8rem;letter-spacing:0}.mission{padding:15px;gap:11px;flex-wrap:wrap;align-items:start}.mission-badge{min-width:62px;padding:7px;align-self:start}.mission-badge b{font-size:2rem}.mission-text{min-width:0}.mission-text p{font-size:.98rem}.mission-actions{width:100%;flex-direction:row;justify-content:space-between;align-items:center}.mission-actions .secondary{padding:8px 10px}.crumb>span:not(.counter){display:none}.workstation{display:flex;flex-direction:column;gap:12px}.catalog,.checkout{width:100%;position:static}.panel{padding:13px}.panel-top{margin-bottom:12px}.products{max-height:330px;min-height:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.product{min-height:99px;padding:8px}.product-icon{font-size:1.35rem}.plu{font-size:.54rem}.product>strong{font-size:.77rem}.product-bottom b{font-size:.89rem}.product-bottom span{font-size:.58rem}.op-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.operations{margin-top:12px}.label-chip{font-size:.54rem;padding:6px}.display strong{font-size:2.2rem}.receipt{min-height:145px}.empty-receipt{padding:20px 8px}.dialog-head,.dialog-body,.dialog-actions{padding-left:16px;padding-right:16px}footer{flex-direction:column;align-items:start}.result-card h1{font-size:2rem}}
@media(max-width:370px){.top-progress .bar{display:none}.level-name{font-size:.65rem}.chapter{padding:10px}.products{grid-template-columns:repeat(2,minmax(0,1fr))}.op-grid{grid-template-columns:1fr 1fr}.label-chip{display:none}}

/* Author and contact */
.footer-links{display:flex;flex-wrap:wrap;gap:14px}
.author-card{display:flex;align-items:center;gap:14px;padding:14px;border:1px solid #d6e5df;background:#f3faf6;border-radius:13px}
.author-avatar{width:53px;height:53px;border-radius:13px;background:#d3f0e2;color:#176044;display:grid;place-items:center;flex:none;font-weight:850;font-size:1.15rem;letter-spacing:-.04em}
.author-card h3{margin:4px 0 1px;font-size:1.12rem}.feedback-intro{border-top:1px solid var(--line);padding-top:12px}.feedback-intro p{font-size:.88rem;color:var(--muted);margin-top:4px}
.dialog-body .feedback-note{color:var(--muted);font-size:.78rem;line-height:1.45}
.feedback-honeypot{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.feedback-status:not(:empty){padding:10px;border-radius:9px;font-size:.88rem;font-weight:650}.feedback-status.sent{color:#086947;background:#dff5e8}.feedback-status.failed{color:#9e3038;background:#fceff0}.dialog-actions .primary:disabled{opacity:.64;cursor:default}
@media(max-width:420px){header{gap:7px}.brand{gap:5px;font-size:.97rem}.logo{width:29px;height:29px}.top-stars{font-size:.9rem}.icon-btn{width:29px;height:29px}.top-progress .bar{min-width:28px}.top-progress b{font-size:.72rem}}

/* POS hardware-inspired workstation. Codes are a reference, never action targets. */
.register-workstation{grid-template-columns:minmax(230px,1fr) minmax(335px,1.18fr) minmax(265px,1fr);align-items:start;gap:14px}
.codebook{padding:14px}.codebook .panel-top{align-items:start}.codebook .panel-top h2{font-size:1.16rem}.codebook-intro{font-size:.82rem;color:var(--muted);margin:0 0 12px}.codebook-list{max-height:520px;overflow:auto;scrollbar-width:thin;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.codes{width:100%;border-collapse:collapse;font-size:.81rem;table-layout:auto}.codes th{position:sticky;top:0;background:#e8eff1;text-align:left;color:#48616b;padding:9px 5px;font-size:.72rem;letter-spacing:.04em}.codes th:last-child,.codes td:last-child{text-align:right}.codes td{padding:10px 5px;border-bottom:1px solid #e8eef0;vertical-align:middle}.codes td:nth-child(2){min-width:78px}.codes td:last-child{white-space:nowrap;font-variant-numeric:tabular-nums}.codes td b{font-size:.8rem;font-weight:650}.codes td small{display:block;color:#637c77;font-size:.68rem;line-height:1.3}.code-number{color:#176247;font-weight:850;font-family:ui-monospace,Consolas,monospace;font-size:.94rem}.codes tr:nth-child(even) td{background:#f7fafb}
.register-shell{background:linear-gradient(155deg,#33444b,#1d2c33);border:1px solid #40525a;box-shadow:0 9px 0 #15252a,0 13px 22px #20353e2b,inset 0 1px 0 #ffffff35;padding:15px;border-radius:20px;min-width:0}
.register-brand{display:flex;align-items:center;justify-content:space-between;color:#c6d5d9;gap:8px;margin-bottom:12px;font-size:.66rem;letter-spacing:.04em;font-weight:750}.register-brand b{font-size:.9rem;letter-spacing:.06em;color:#e8f0f3}.register-brand span{font-size:.6rem}.register-power{white-space:nowrap}.register-power i{display:inline-block;width:7px;height:7px;background:#67d8a0;border-radius:50%;box-shadow:0 0 8px #67d8a0;margin-right:4px}
.register-lcd{background:linear-gradient(150deg,#b7d9a8,#9bc28e);border:5px solid #132329;box-shadow:inset 0 2px 6px #304d36a3,0 1px 0 #60757b;color:#213b27;border-radius:10px;padding:13px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;min-height:156px}
.lcd-top,.lcd-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:.65rem;letter-spacing:.055em;font-weight:800}.lcd-digits{font-size:clamp(1.33rem,2.4vw,2.05rem);letter-spacing:.07em;font-weight:900;text-align:right;line-height:1.3;min-height:43px;overflow-wrap:anywhere;margin-top:12px}.lcd-status{font-size:.68rem;line-height:1.3;min-height:28px;font-weight:800;overflow-wrap:anywhere}.lcd-bottom{border-top:1px solid #597c50;padding-top:8px;font-size:.65rem}.lcd-bottom b{font-size:1.12rem;white-space:nowrap}
.register-keys{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:15px 0 12px}.register-key{min-height:58px;background:linear-gradient(#f4f7f8,#ced8dc);color:#22353d;border:1px solid #aebcc1;border-radius:8px;box-shadow:0 4px 0 #829297,0 5px 5px #14232955;display:grid;place-items:center;font-size:1.45rem;font-weight:850;line-height:1;transition:transform .06s,box-shadow .06s;touch-action:manipulation}.register-key:hover{filter:brightness(1.06)}.register-key:active{transform:translateY(3px);box-shadow:0 1px 0 #829297}.register-key.key-function{font-size:.74rem;background:linear-gradient(#a7bdc8,#849eaa);border-color:#9bb1ba;box-shadow:0 4px 0 #5f7883;color:#19313e}.register-key.key-plu{font-size:.9rem;background:linear-gradient(#f4d284,#d2ac53);border-color:#e2c47a;box-shadow:0 4px 0 #927634;color:#44350e}.register-key.key-clear{background:linear-gradient(#a8b7bd,#84969f);font-size:1.15rem;box-shadow:0 4px 0 #57696e}.register-key.key-danger{background:linear-gradient(#d98285,#b75258);color:white;border-color:#da9294;box-shadow:0 4px 0 #843d41;font-size:.68rem}.register-key.key-total{background:linear-gradient(#76c69c,#39956c);color:#0b3828;border-color:#a4d5b9;box-shadow:0 4px 0 #216044;font-size:.86rem}
.register-bottom{color:#b4c6cc;display:flex;justify-content:space-between;gap:6px;font-size:.6rem;font-weight:780;letter-spacing:.06em;margin:4px 0 13px}.register-guide{color:#c6d5d9;font-size:.8rem;border-top:1px solid #567078;padding-top:10px}.register-guide summary{cursor:pointer;font-weight:750}.register-guide p{margin:8px 0 0;line-height:1.5}.register-workstation .checkout{position:static;padding:14px}.receipt-select{width:100%;background:#fff;text-align:left;border-radius:8px;padding:10px 7px;border:1px solid transparent;border-bottom:1px dashed #dfe7ea;cursor:pointer}.receipt-select:hover{background:#f5faf7}.receipt-select.selected-line{border:1px solid #65af90;background:#e9f8ee}.selected-tag{color:#327d58;font-size:.58rem;font-weight:850;letter-spacing:.045em}.register-workstation .display strong{font-size:clamp(1.55rem,2.9vw,2.3rem)}.register-workstation .receipt{min-height:170px}.register-workstation .line-end{gap:4px}
@media(min-width:1200px){.register-shell{padding:19px}.register-key{min-height:66px}}
@media(max-width:1100px) and (min-width:781px){.register-workstation{grid-template-columns:minmax(235px,1fr) minmax(320px,1.25fr)}.register-workstation .checkout{grid-column:1/-1}.register-workstation .receipt{min-height:100px}}
@media(max-width:780px){.register-workstation{display:grid;grid-template-columns:1fr;gap:14px}.register-workstation .codebook{order:0}.register-workstation .register-shell{order:1}.register-workstation .checkout{order:2}.codebook-list{max-height:220px}.codebook-intro{font-size:.79rem}.codes td{padding:7px 6px}.register-shell{padding:14px}.register-key{min-height:54px}.register-lcd{min-height:140px}.lcd-digits{font-size:1.7rem}.register-workstation .checkout{width:100%}.register-brand b{font-size:.8rem}.register-workstation .panel-top{margin-bottom:10px}}
.codebook .chip{flex:none}
@media(min-width:1200px) and (max-height:1050px){.register-shell{padding:15px}.register-key{min-height:51px}.register-lcd{min-height:134px;padding:10px}.lcd-digits{margin-top:5px;min-height:36px}.lcd-status{min-height:24px}.register-keys{gap:7px;margin:12px 0}.codebook-list{max-height:410px}}
