:root{--bg:#f6f6f1;--paper:#fff;--ink:#202c27;--muted:#7a847b;--line:#e4e7df;--green:#1d5f49;--lime:#dbea9b;--red:#bd594f;--yellow:#c48a24;--radius:18px;font-family:Segoe UI,Arial,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #94b575;outline-offset:3px}button{border:1px solid var(--line);background:white;color:var(--ink);border-radius:10px;padding:11px 16px;font-size:13px;font-weight:600;transition:background .15s,transform .15s}button:hover{background:#f1f3ec}button:active{transform:translateY(1px)}.primary{background:var(--green);border-color:var(--green);color:white}.primary:hover{background:#154c3a}.danger{color:var(--red);background:#fcf1ee;border-color:#f2d6d0}.ghost{background:transparent}.small{padding:7px 10px;font-size:12px}.icon{width:18px;height:18px;display:inline-block;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.layout{display:grid;grid-template-columns:224px 1fr;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;padding:36px 22px 20px;background:#eef0e7;border-right:1px solid var(--line);display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;padding:0 9px}.brand-symbol{width:39px;height:39px;border-radius:50%;background:var(--green);color:var(--lime);display:grid;place-items:center;font-size:25px;font-weight:800}.brand-name{font-size:26px;font-weight:800;letter-spacing:3px}.brand-sub{font-size:9px;letter-spacing:2px;color:var(--muted);margin-top:1px}.nav-label{font-size:10px;font-weight:700;letter-spacing:1.8px;color:#899285;margin:48px 11px 14px}.nav{display:flex;flex-direction:column;gap:7px}.nav button{display:flex;gap:13px;align-items:center;border:none;text-align:left;background:transparent;padding:13px 14px;font-size:13px;color:#657166}.nav button.active{background:var(--green);color:white}.nav button:hover:not(.active){background:#e3e8d9}.sidebar-bottom{margin-top:auto}.device{border:1px solid #d9dfcd;border-radius:13px;padding:15px 13px;font-size:12px}.device strong{display:block;margin:7px 0;font-size:12px}.device p{font-size:11px;color:#7a8575;line-height:1.6;margin:0}.dot{display:inline-block;width:7px;height:7px;background:#619768;border-radius:50%;margin-right:6px}.dot.red{background:var(--red)}.profile{display:flex;align-items:center;gap:10px;padding:23px 3px 0}.avatar{background:#dce3ce;border-radius:50%;width:33px;height:33px;display:grid;place-items:center;font-size:12px;font-weight:700}.profile-copy{flex:1;min-width:0}.profile strong{display:block;font-size:11px;overflow:hidden;text-overflow:ellipsis}.profile span{font-size:10px;color:var(--muted)}.profile button{padding:4px;border:0;background:transparent}.main{min-width:0}.topbar{height:80px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;font-size:12px;background:#fafaf7}.breadcrumb{color:#859080;display:flex;align-items:center;gap:12px}.breadcrumb strong{color:var(--ink);font-weight:500}.topbar-right{display:flex;align-items:center;gap:19px}.connection{font-size:11px;color:#68815e}.content{max-width:1600px;margin:auto;padding:32px 38px 24px}.title-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:27px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:600;color:#829078;margin-bottom:8px}.title-row h1{font-size:31px;letter-spacing:-1px;font-weight:600;margin:0 0 8px}.subtext{font-size:12px;color:var(--muted);line-height:1.6;margin:0}.title-actions{display:flex;gap:8px;align-items:center}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:28px}.stat{background:white;border:1px solid var(--line);border-radius:14px;padding:18px 20px}.stat-head{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-bottom:14px}.stat strong{font-weight:600;font-size:27px;letter-spacing:-.6px}.stat small{font-size:11px;color:var(--muted);margin-left:7px}.stat-foot{font-size:10px;color:#86907e;margin-top:8px}.stat.emphasis{background:#eaf0d9;border-color:#e0e7ca}.toolbar{display:flex;align-items:center;justify-content:space-between;margin:0 0 18px;gap:12px;flex-wrap:wrap}.tabs{display:flex;gap:5px;background:#e9ece2;border-radius:9px;padding:4px}.tabs button{border:none;border-radius:6px;padding:8px 13px;background:transparent;font-size:11px;color:#79816f}.tabs button.active{background:white;color:var(--ink);box-shadow:0 1px 3px #2536230c}.legend{font-size:10px;color:#7e8877;display:flex;gap:15px;align-items:center}.legend i{width:6px;height:6px;border-radius:50%;display:inline-block;margin-right:5px}.legend .free{background:#6e9673}.legend .busy{background:#c4675c}.legend .ending{background:#d6ad4a}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.table-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:box-shadow .2s}.table-card:hover{box-shadow:0 6px 22px #1f3f2510}.card-head{display:flex;justify-content:space-between;align-items:center;padding:18px 18px 7px}.table-name{font-size:17px;font-weight:600;letter-spacing:-.4px}.table-type{font-size:10px;color:#8a9286;margin-top:4px}.badge{border-radius:6px;font-size:9px;font-weight:600;padding:5px 8px;background:#edf3e7;color:#62815e;white-space:nowrap}.badge.busy{background:#f9eae5;color:#ae6055}.badge.ending{background:#fcf1d7;color:#ad8223}.badge.paused,.badge.checkout{background:#f8efdb;color:#a88a43}.badge.maintenance{background:#eff0ed;color:#92978b}.table-scene{height:100px;display:flex;align-items:center;justify-content:center;position:relative}.pool-table{width:152px;height:76px;background:#719581;border:7px solid #d6cdb7;border-radius:9px;box-shadow:0 4px 0 #cbc0a7,0 7px 13px #1d382311;position:relative}.pool-table:after{content:'';position:absolute;inset:5px;border:1px solid #ffffff24;border-radius:2px}.table-card.occupied .pool-table{background:#2b6a51;border-color:#c8b996}.table-card.maintenance .pool-table{background:#b9c1b5;border-color:#dddcd3}.pocket{position:absolute;width:9px;height:9px;border-radius:50%;background:#3b493a;z-index:2}.pocket:nth-child(1){left:-4px;top:-4px}.pocket:nth-child(2){left:calc(50% - 4px);top:-5px}.pocket:nth-child(3){right:-4px;top:-4px}.pocket:nth-child(4){left:-4px;bottom:-4px}.pocket:nth-child(5){left:calc(50% - 4px);bottom:-5px}.pocket:nth-child(6){right:-4px;bottom:-4px}.ball{width:6px;height:6px;background:#f4eee0;border-radius:50%;position:absolute;box-shadow:0 1px 2px #1235}.ball.b1{left:35px;top:26px}.ball.b2{right:34px;top:20px;background:#ecd176}.ball.b3{right:28px;top:28px}.lamp{position:absolute;right:19px;top:16px;color:#a8afa0;font-size:10px;display:flex;align-items:center;gap:4px}.lamp.on{color:#a38c36}.lamp.offline{color:#bc554b}.card-info{min-height:49px;margin:8px 18px 13px;display:flex;align-items:center;justify-content:space-between}.card-info label{display:block;font-size:9px;color:#899182;margin-bottom:6px}.card-info strong{font-size:19px;font-weight:600;letter-spacing:-.5px}.card-info .align-right{text-align:right}.card-info .tariff strong{font-size:15px}.card-info small{font-size:10px;color:#8b9487;font-weight:400}.card-foot{border-top:1px solid #edf0e7;background:#fcfdf9;padding:12px 18px;display:flex;align-items:center;justify-content:space-between;gap:6px}.card-foot .status-note{font-size:10px;color:#8c9585}.card-foot button{padding:8px 12px;font-size:11px}.card-foot .wide{width:100%}.card-foot .open-button{background:#edf2e5;border:1px solid #e5eadb;color:#53744e}.footer{display:flex;justify-content:space-between;font-size:10px;color:#92998a;margin-top:23px;padding-top:16px;border-top:1px solid var(--line)}.notice{display:flex;align-items:center;gap:10px;border:1px solid #e2e7d6;background:#edf1e1;border-radius:11px;padding:12px 16px;font-size:11px;color:#6c7d59;margin-bottom:24px}.notice.warning{background:#fcf2df;border-color:#f0dfb7;color:#9a772d}.notice.error{background:#fff0ea;color:#a44c40;border-color:#f1d3ca}.panel{background:white;border:1px solid var(--line);border-radius:16px;padding:23px;margin-bottom:20px}.panel h2{font-size:18px;font-weight:600;margin:0 0 18px}.list-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 0;border-bottom:1px solid #edf0e7;font-size:12px}.list-row:last-child{border:0}.list-row .meta{font-size:10px;color:var(--muted);margin-top:5px}.list-row.alert{color:#b8554e}.list-row strong{font-size:13px}.empty{text-align:center;padding:65px 24px;color:#909a87;font-size:13px;line-height:1.8}.empty .icon{width:38px;height:38px;margin-bottom:14px}.bar-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.product{background:white;border:1px solid var(--line);padding:20px;border-radius:14px}.product .product-icon{width:44px;height:44px;border-radius:12px;background:#f0f3e8;display:grid;place-items:center;color:#789065;margin-bottom:16px}.product h3{font-size:14px;margin:0 0 7px;font-weight:600}.product p{font-size:11px;color:var(--muted);margin:0 0 18px}.product-bottom{display:flex;justify-content:space-between;align-items:center}.product-bottom strong{font-size:16px;font-weight:600}.product-bottom button{padding:7px 11px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px}.progress{height:7px;border-radius:9px;background:#eef1e8;overflow:hidden;width:130px}.progress i{display:block;height:100%;background:#a5bc78;border-radius:9px}.audit-line{display:grid;grid-template-columns:125px 130px 1fr;gap:17px;padding:16px 0;border-bottom:1px solid #edf0e7;font-size:12px}.audit-line.alert{border-left:3px solid #c46457;padding-left:12px}.audit-line small{font-size:10px;color:#89927f;display:block;margin-top:5px}.audit-line p{font-size:11px;color:#7c8574;line-height:1.6;margin:4px 0 0;word-break:break-word}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.rates-row{display:grid;grid-template-columns:100px repeat(3,1fr);gap:12px;align-items:center;margin-bottom:13px;font-size:12px}.rates-row.head{color:var(--muted);font-size:10px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:17px}.field label,.field>span{font-size:11px;font-weight:600;color:#74816b}.field input,.field select,.field textarea,input.input{width:100%;border:1px solid #dfe4d6;background:#fafbf6;border-radius:9px;padding:11px 12px;outline:none;font-size:13px;min-width:0}.field input:focus,.field select:focus,input.input:focus{border-color:#6d9160;box-shadow:0 0 0 3px #7c986314}.field textarea{resize:vertical;min-height:75px}.field small{color:#8e9786;font-size:10px;line-height:1.5}.full{grid-column:1/-1}.check{display:flex;align-items:center;gap:9px;font-size:12px}.check input{width:auto}.form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:23px}.muted{color:var(--muted)}dialog{border:1px solid #e1e6d7;border-radius:20px;padding:0;width:570px;max-width:calc(100vw - 28px);max-height:90vh;color:var(--ink);box-shadow:0 25px 90px #1b312d38}dialog::backdrop{background:#1b2d2766;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:center;padding:25px 27px 19px;border-bottom:1px solid var(--line)}.modal-head h2{margin:0;font-size:23px;font-weight:600;letter-spacing:-.5px}.modal-head p{font-size:11px;color:var(--muted);margin:6px 0 0}.modal-head button{border:0;background:transparent;padding:5px}.modal-body{padding:24px 27px}.modal-summary{display:flex;justify-content:space-between;padding:18px;background:#edf2e4;border-radius:11px;margin-bottom:20px}.modal-summary strong{font-size:24px;font-weight:600}.modal-summary span{font-size:11px;color:#7b896f;display:block;margin-bottom:7px}.bill-row{display:flex;justify-content:space-between;font-size:12px;margin:12px 0;gap:15px}.bill-row.total{border-top:1px solid var(--line);padding-top:15px;font-size:18px;font-weight:600}.modal-buttons{display:flex;flex-wrap:wrap;gap:8px;margin:19px 0}.payments-row{display:grid;grid-template-columns:1fr 1fr 34px;gap:9px;margin-bottom:10px}.payments-row input,.payments-row select{padding:10px;border:1px solid var(--line);border-radius:9px;width:100%;min-width:0;font-size:12px}.payments-row button{padding:5px}.pay-heading{font-size:12px;font-weight:600;margin:24px 0 12px}.inline-error{color:#b45046;font-size:12px;line-height:1.5;margin-top:14px;min-height:0}.modal-products{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-height:260px;overflow:auto}.modal-products button{text-align:left;font-size:11px;padding:12px}.modal-products small{display:block;color:#8d9782;font-size:10px;margin-top:5px}.login{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr}.login-art{background:#153f32;color:#f2f4e8;display:flex;flex-direction:column;justify-content:space-between;padding:50px 60px;position:relative;overflow:hidden}.login-art .brand-sub{color:#a0b6a0}.login-art .brand-symbol{background:#d7e8a0;color:#1e4c3a}.login-art .pool-table{transform:rotate(-28deg) scale(2.2);margin:80px auto;background:#30684c;border-color:#c3b990}.login-art h1{font-size:49px;letter-spacing:-2px;font-weight:500;line-height:1.1;max-width:400px;position:relative}.login-art p{color:#a3b99e;font-size:13px;line-height:1.8;max-width:340px}.login-form{align-self:center;padding:60px;max-width:510px;width:100%;justify-self:center}.login-form h2{font-size:29px;font-weight:600;letter-spacing:-.8px;margin-bottom:10px}.login-form p{font-size:12px;color:var(--muted);line-height:1.7;margin-bottom:30px}.login-form .primary{width:100%;margin-top:8px}.login-note{font-size:10px!important;margin-top:25px}.pill{font-size:9px;border:1px solid #6d8564;padding:6px 10px;border-radius:20px;width:max-content;color:#b9cba5}.receipt{background:white;font-family:Consolas,monospace;width:280px;max-width:100%;margin:auto;font-size:12px}.receipt h2{text-align:center;letter-spacing:5px}.receipt p{text-align:center;font-size:10px}.receipt hr{border:0;border-top:1px dashed #aaa;margin:18px 0}.receipt .bill-row{font-size:11px}.receipt .bill-row.total{font-size:16px}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:#244e3d;color:#fff;padding:13px 22px;border-radius:11px;font-size:12px;box-shadow:0 8px 30px #19342630;opacity:0;pointer-events:none;transition:.2s;z-index:100}#toast.show{opacity:1;transform:translate(-50%,0)}#toast.error{background:#aa5148}.section-actions{display:flex;gap:8px;align-items:center}.report-period{font-size:11px;color:var(--muted)}
@media(min-width:1600px){.grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1150px){.layout{grid-template-columns:190px 1fr}.sidebar{padding:30px 14px 20px}.content{padding:27px 24px}.topbar{padding:0 24px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat{padding:16px}.stat strong{font-size:23px}.bar-grid{grid-template-columns:repeat(3,1fr)}.legend{gap:9px}.two-col{grid-template-columns:1fr}.login-art{padding:40px}.login-art h1{font-size:40px}}@media(max-width:760px){.layout{display:block}.sidebar{height:auto;position:static;border-right:0;padding:17px 18px 10px}.brand{padding:0}.brand-name{font-size:20px}.brand-symbol{width:32px;height:32px;font-size:21px}.brand-sub{font-size:8px}.nav-label,.sidebar-bottom{display:none}.nav{flex-direction:row;overflow:auto;margin-top:16px;gap:5px}.nav button{white-space:nowrap;padding:10px;font-size:11px;gap:6px}.nav .icon{width:15px;height:15px}.topbar{height:51px;padding:0 18px}.breadcrumb{display:none}.topbar-right{width:100%;justify-content:space-between;gap:6px}.content{padding:23px 16px}.title-row{align-items:flex-start;margin-bottom:20px}.title-row h1{font-size:27px}.title-actions button{padding:10px;font-size:11px}.title-actions .icon{display:none}.stats{grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:22px}.stat{padding:15px}.stat strong{font-size:25px}.grid{gap:12px}.card-head{padding:14px 13px 4px}.table-name{font-size:15px}.badge{font-size:8px;padding:4px 5px}.table-scene{height:85px}.pool-table{transform:scale(.85)}.lamp{top:6px;right:11px}.card-info{margin:5px 13px 10px}.card-info strong{font-size:17px}.card-info .tariff strong{font-size:13px}.card-foot{padding:10px 12px}.card-foot .status-note{display:none}.card-foot button{width:100%}.legend{display:none}.bar-grid{grid-template-columns:repeat(2,1fr);gap:11px}.product{padding:16px}.settings-grid{grid-template-columns:1fr}.audit-line{grid-template-columns:85px 1fr;gap:10px}.audit-line>div:last-child{grid-column:2}.login{display:block}.login-art{padding:25px}.login-art h1,.login-art p,.login-art .pool-table,.login-art .pill{display:none}.login-form{padding:35px 25px}.rates-row{grid-template-columns:65px repeat(3,1fr);gap:6px}.rates-row input{padding:8px}.panel{padding:17px}.notice{font-size:10px;line-height:1.6}.footer{gap:20px;line-height:1.7}.modal-head{padding:20px}.modal-body{padding:20px}.form-grid{gap:10px}.title-row .subtext{max-width:225px}}
@media print{@page{size:80mm auto;margin:4mm}body{background:white}#app,#toast,.modal-head,.no-print{display:none!important}dialog{position:static;display:block!important;border:0;box-shadow:none;max-height:none;width:100%;max-width:none;margin:0;padding:0}dialog:not([open]){display:none!important}.modal-body{padding:0}.receipt{width:100%}dialog::backdrop{display:none}}

[hidden]{display:none!important}.mobile-only{display:none}@media(max-width:760px){.mobile-only{display:block}}

/* Жулдыз: compact wordmark and a scalable star / billiard-ball symbol. */
.brand-symbol{display:block;flex:0 0 40px;width:40px;height:40px;border-radius:0;background:transparent!important}
.brand-name{font-size:24px;letter-spacing:-.6px;font-weight:750;line-height:1.1}
.brand-sub{font-size:7px;letter-spacing:.75px;white-space:nowrap;margin-top:5px}
.receipt-logo{display:block;width:42px;height:42px;margin:0 auto 9px;filter:grayscale(1)}
.receipt h2{letter-spacing:1.5px;font-size:23px;margin:7px 0 11px}
@media(max-width:760px){.brand-symbol{flex-basis:36px;width:36px;height:36px}.brand-name{font-size:24px}.brand-sub{font-size:7px}}

 .language-picker{display:inline-flex;align-items:center;gap:4px;flex-shrink:0;background:#e9eee2;border:1px solid #c8d5bd;border-radius:12px;padding:4px;box-shadow:0 2px 6px #19342608}
.language-picker button{min-width:46px;min-height:38px;padding:8px 12px;background:transparent;border:1px solid transparent;border-radius:8px;color:#52694a;font-size:13px;font-weight:750;letter-spacing:.6px}
.language-picker button:hover{background:#dce6d2}
.language-picker button[aria-pressed="true"]{background:var(--green);border-color:var(--green);color:#fff;box-shadow:0 2px 4px #19342618}
.login{position:relative}.login-form>.language-picker{position:absolute;top:24px;right:28px}
.topbar{position:sticky;top:0;z-index:20}.topbar-right>.language-picker{margin-left:6px;order:10}
@media(max-width:760px){.login-art{padding-top:86px}.login-form>.language-picker{top:18px;right:18px}.topbar-right>.language-picker{margin-left:auto;order:3}.topbar-right>button{order:1}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.topbar-right{flex-wrap:wrap;gap:12px}.topbar{height:auto;min-height:80px;padding-top:14px;padding-bottom:14px}
@media(max-width:760px){.topbar-right{justify-content:flex-start;gap:9px}.topbar{min-height:60px;padding-top:10px;padding-bottom:10px}.topbar-right>span:first-of-type{order:5;width:100%;font-size:10px}.topbar-right .connection{margin-right:auto}.language-picker select{max-width:112px;padding:8px 20px 8px 8px}.title-actions{flex-shrink:0}.title-row h1{font-size:25px}.nav button{font-size:11px}.stats strong{font-size:23px}}

.zone-tabs{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 20px}
.zone-tabs button{border:1px solid #dfe5d4;background:#fff;padding:11px 15px;border-radius:11px;font-size:12px}
.zone-tabs button.active{background:#1d5f49;color:#fff;border-color:#1d5f49}
.zone-tabs button span{margin-left:9px;font-size:10px;padding:2px 6px;border-radius:5px;background:#879f6d22}
.zone-tabs button.active span{background:#ffffff25}.gaming-art{width:180px;height:95px;max-width:75%;display:block}
.timer-only{color:#7d9670}.title-actions{flex-wrap:wrap;justify-content:flex-end}.rates-row{grid-template-columns:minmax(105px,1.4fr) repeat(3,minmax(55px,1fr))}
.rates-row>span{font-size:11px;line-height:1.5}.card-info .tariff strong{overflow-wrap:anywhere}
@media(max-width:760px){.zone-tabs{gap:7px}.zone-tabs button{font-size:10px;padding:9px 10px}.title-row{flex-wrap:wrap}.title-actions{justify-content:flex-start}.title-actions button{font-size:11px}.rates-row{grid-template-columns:minmax(90px,1.2fr) repeat(3,minmax(45px,1fr))}.gaming-art{height:82px}.card-foot{flex-wrap:wrap}}

.tv-manual-notice{align-items:flex-start;line-height:1.5}
.tv-manual-notice>.icon{flex:0 0 18px;margin-top:2px}.tv-manual-notice strong{font-size:11px}
.tv-manual-notice p{margin:5px 0 0;font-size:11px;line-height:1.65}
