*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding:20px}body{margin:0;background:#faf8f2;color:#203b32;font:16px/1.5 "Segoe UI",Arial,sans-serif}header,footer{display:flex;align-items:center;justify-content:space-between;padding:16px max(4vw,calc((100vw - 1370px)/2));background:#fffdf8;border-bottom:1px solid #dfdfd2;gap:12px}header{min-height:76px}.brand{display:flex;align-items:center;gap:11px;color:#103e35;text-decoration:none;font: bold 29px Georgia,serif;letter-spacing:-1.3px;white-space:nowrap}.brand em{font-weight:normal}.monogram{background:#174b3e;color:#fff8de;font:bold italic 32px/43px Georgia;text-align:center;width:43px;height:43px;border-radius:14px 14px 14px 3px}nav,.tabs,.row,.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}nav a{color:#335548;text-decoration:none;padding:6px 10px;font-weight:600}nav a:last-child{border:1px solid #cad2c7;border-radius:22px}main{max-width:1470px;margin:auto;padding:30px 4vw 58px;min-height:75vh}h1,h2,h3,p{margin:0 0 .65em}h1,h2{font-family:Georgia,serif;line-height:1.12;font-weight:500;letter-spacing:-1.3px}h1{font-size:clamp(36px,5vw,74px)}h2{font-size:clamp(28px,3vw,40px)}h3{font-size:19px;line-height:1.25}.hero{display:grid;grid-template-columns:1.1fr 1fr;overflow:hidden;border-radius:22px;background:#123e33;color:#fffaf0;margin-bottom:35px;min-height:260px}.hero article{padding:35px 7%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.hero h1{margin:8px 0}.hero h1 em{color:#f6cb8a;font-weight:400}.hero p{color:#dfebdf;max-width:440px}.hero img{width:100%;height:100%;max-height:320px;object-fit:cover}.eyebrow{font-size:13px;font-weight:700;letter-spacing:.16em;text-transform:uppercase}.layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,32%);gap:26px;align-items:start}.panel,.card,.box{border:1px solid #dbdfd2;border-radius:18px;background:#fffefa}.panel,.box{padding:22px}.panel{position:sticky;top:16px}.tabs{margin:15px 0 20px}.tabs button,.ghost{border:1px solid #cdd7c9;background:#fffefa;color:#244e3e}.tabs button{border-radius:22px}.tabs .active,button.primary{background:#164c3e;color:white;border-color:#164c3e}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.card{overflow:hidden;display:flex;flex-direction:column}.card img{width:100%;aspect-ratio:1.58;object-fit:cover;background:#e4dbbc}.card article{padding:14px;display:flex;flex:1;flex-direction:column}.card .bottom{margin-top:auto;padding-top:12px}.bottom,.apart{display:flex;align-items:center;justify-content:space-between;gap:8px}.muted,small{color:#586b60}.price{font-size:20px;color:#174e3c}.add{font-size:23px;background:#e7efdc;color:#18472f;border:none;width:40px;height:40px;padding:0;border-radius:50%}button,.button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:1px solid transparent;font:600 15px/1.3 inherit;font-family:inherit;font-size:15px;font-weight:600;cursor:pointer;padding:10px 15px;border-radius:10px;min-height:42px}.button{background:#ecbf78;color:#213e30}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #b75d24;outline-offset:2px}.cartline{padding:12px 0;border-bottom:1px solid #e6e9df}.stepper{display:flex;align-items:center;gap:8px}.stepper button{min-height:32px;padding:4px 10px}.total{margin:18px 0;font-size:19px}.empty{background:#f3f5eb;padding:18px;border-radius:12px;margin:12px 0}.full{width:100%}label{display:block;margin:12px 0;font-weight:600}input,select,textarea{display:block;width:100%;margin:5px 0;padding:11px 12px;border:1px solid #b7c5b7;border-radius:9px;background:white;font:inherit;color:inherit}textarea{min-height:80px;resize:vertical}.narrow{max-width:610px;margin:30px auto}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));gap:14px}.stack{display:grid;gap:14px}.badge{display:inline-block;color:#754816;background:#f8e7bd;border-radius:18px;padding:3px 10px;font-size:14px}.meta{font-size:14px;color:#576b5c}.notice,#toast.show{border:1px solid #adbc9e;background:#edf5e5;border-radius:12px;padding:14px}.error{color:#96371d}#toast.show{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:5;box-shadow:0 4px 24px #1234;width:max-content;max-width:90vw}.qr{width:160px;height:160px;display:block;margin:12px 0}.big{font:500 30px Georgia}.sep{border-top:1px solid #d9dfd4;margin:18px 0}.jump{display:none}footer{color:#456256;font-size:14px}.actions{margin-top:12px}fieldset{border:1px solid #d4dece;border-radius:10px;margin:14px 0}fieldset label{display:inline-flex;align-items:center;gap:4px;margin:8px}fieldset input{width:auto}code{overflow-wrap:anywhere}.panel h2{font-size:28px}@media(max-width:1120px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){header{padding:12px 4%;flex-wrap:wrap}.brand{font-size:24px}nav{gap:0}nav a{font-size:14px;padding:5px 7px}main{padding-top:16px}.hero{grid-template-columns:1.1fr .9fr;min-height:170px;margin-bottom:24px}.hero article{padding:18px}.hero h1{font-size:clamp(30px,7vw,46px)}.hero p{font-size:14px}.hero img{max-height:none;min-height:100%;height:0}.layout{grid-template-columns:1fr}.panel{position:static}.jump{display:inline-flex}.card article{padding:11px}.cards{gap:10px}.tabs{gap:6px}.tabs button{padding:8px 11px}.box,.panel{padding:16px}}@media(max-width:420px){.brand{font-size:21px}.monogram{width:32px;height:32px;font-size:26px;line-height:32px}.hero .eyebrow{font-size:11px}.card h3{font-size:16px}.price{font-size:17px}.hero article{padding:14px}}

.lobby{max-width:1110px;margin:clamp(20px,6vh,78px) auto;text-align:center}.lobby h1{font-size:clamp(38px,5.2vw,72px);margin:10px 0 32px}.rolegrid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.roletile{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:10px;padding:28px;border:2px solid transparent;border-radius:22px;text-decoration:none;box-shadow:0 4px 16px #27443310;color:#213d32;transition:transform .15s}.roletile:hover{transform:translateY(-3px)}.roletile strong{font:600 clamp(23px,2.3vw,33px) Georgia,serif}.roleicon{font-size:40px;background:#ffffffba;border-radius:18px;display:grid;place-items:center;width:78px;height:78px;margin-bottom:18px}.role-yonetim{background:#e4edf6}.role-garson{background:#dfeddc}.role-siparis{background:#fae6c8}.surveyLink{display:inline-block;margin:25px auto;color:#365344}.location{margin-bottom:20px}.location h2{font-size:25px}.choices,.tables{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.choices button,.tables button{min-height:46px}.picked{color:white;background:#164c3e;border-color:#164c3e}.tables button{width:52px;font-size:18px}.location label{max-width:420px}.location .choices:first-of-type button{font-size:17px}.panel fieldset{padding:6px 10px}.panel legend{font-weight:600}
@media(max-width:760px){.rolegrid{grid-template-columns:1fr;gap:12px}.roletile{display:grid;grid-template-columns:62px 1fr;column-gap:16px;row-gap:4px;padding:17px 20px}.roleicon{grid-row:1/3;width:62px;height:62px;font-size:30px;margin:0}.roletile strong{font-size:24px}.lobby h1{margin-bottom:20px}.lobby{margin:24px 0}.roletile span:last-child{font-size:14px}.tables{display:grid;grid-template-columns:repeat(5,1fr)}.tables button{width:auto}.jump{position:fixed;bottom:12px;left:50%;transform:translateX(-50%);background:#164c3e;color:white;border-radius:50px;box-shadow:0 3px 12px #142a1e40;z-index:3;min-width:190px}.panel{scroll-margin-top:10px}.layout{padding-bottom:44px}body:has(#order:target) .jump{display:none}#toast.show{bottom:68px}}
button.product{display:flex;align-items:stretch;justify-content:flex-start;padding:0;text-align:left;color:inherit;font-weight:400;transition:border-color .12s}.product:hover,.product:focus-visible{border-color:#487e54}.productinfo{display:flex;flex:1;flex-direction:column;padding:12px}.productinfo strong{font-size:18px}.productinfo .bottom{margin-top:auto;display:flex}.quantity{min-width:38px;height:36px;border-radius:12px;background:#e4efd9;color:#214e37;font-weight:700;text-align:center;line-height:36px}
.posform,.guestmenu{padding-bottom:92px}
.destination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 14px;background:#e7f1e8;border-radius:10px;color:#17382d}
.posgroups{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:14px 0}
.posgroup{border:1px solid #d9e0d5;background:#fffefa;border-radius:12px;overflow:hidden}
.posgroup h3,.lane h3{background:#e9eee7;margin:0;padding:10px 14px}
.posrow{display:flex;justify-content:space-between;gap:6px;align-items:center;padding:3px 8px;border-top:1px solid #e7eae3}
button.rowname{align-items:flex-start;flex:1;flex-direction:column;text-align:left;color:#213c30;background:transparent;padding:5px 6px;min-height:49px;line-height:1.25}
.counter{display:flex;align-items:center;gap:4px}.counter button{width:44px;height:44px;padding:0;font-size:22px}.counter output{min-width:2ch;text-align:center;font-weight:700}
.posoptions{display:grid;grid-template-columns:1fr 1fr;gap:12px}
details>summary{cursor:pointer;padding:10px;font-weight:600}details>label{padding:0 10px}
.sendbar{position:fixed;bottom:0;left:0;right:0;z-index:4;display:flex;align-items:center;justify-content:center;gap:22px;background:#fffefa;border-top:1px solid #d6e0d4;padding:10px max(4vw,12px) max(10px,env(safe-area-inset-bottom));box-shadow:0 -4px 14px #213c3010;font-weight:700}
.sendbar button{min-height:46px}.sendbar button:disabled,.counter button:disabled{cursor:default}
.tables button{display:flex;flex-direction:column;line-height:1.12;padding:5px}.tables .occupied{background:#fbe7b7;color:#533800;border:1px solid #d9ad51}.tables small{font-size:10px;color:inherit}
.guestmenu h1{font-size:32px;margin-bottom:8px}
.queuegrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0}.lane{border:1px solid #d9e0d5;border-radius:12px;background:#f4f5ef;min-width:0;overflow-wrap:anywhere}.lane>p{padding:10px 14px}.lane h3 b{float:right}.lane .box{padding:12px;border:0}.queueitem{margin:8px;border:1px solid #d9e0d5;background:#fffefa;border-radius:10px}.queueitem>small{display:block;padding:7px 12px 0}.queueitem .apart{flex-wrap:wrap}body:has(.sendbar) #toast.show{bottom:78px}
@media(max-width:760px){.posgroups,.queuegrid{grid-template-columns:1fr;gap:10px}.posoptions{grid-template-columns:1fr}.sendbar{justify-content:space-between;gap:8px}.guestmenu h1{font-size:26px}.guestmenu .tabs{margin:8px 0 12px}.destination{padding:5px 8px}.posgroup h3{padding:6px 12px}.posrow{padding-block:0}}
/* Adisyon and management views */
body:has(.role-switch [aria-current]){background:#fff;color:#171b19}
header:has(.role-switch){gap:12px;border-color:#e8ebe8;background:#fff}
.role-switch{display:flex;gap:5px;flex-wrap:nowrap;max-width:100%}
header .role-switch a{border:0;padding:8px 12px;border-radius:24px;white-space:nowrap;color:#505951}
header .role-switch [aria-current]{background:#e8eeea;color:#142b20}
body:has(.adisyon-form) main, body:has(.metric-grid) main{max-width:1040px}
#workspace h2,.guestmenu h1{font-family:inherit;font-weight:700;letter-spacing:-.025em;font-size:22px}
.order-target{margin-bottom:14px;padding-bottom:16px;border-bottom:1px solid #e7e9e7}
.order-target .choices,.table-overview .choices{margin:8px 0}
.order-target .choices button,.table-overview .choices button,.order-target .tables button{border-radius:24px;min-height:42px}
.order-target .tables{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));max-width:680px}
.order-target .tables button{width:auto;font-size:14px}
.order-target .tables .picked{background:#19221e;color:#fff}
.adisyon-form{display:grid;grid-template-columns:1fr;gap:16px}
.order-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.order-tile{display:flex;min-width:0;flex-direction:column;gap:3px;padding:8px 3px;background:white;color:inherit;border:1px solid #dee3df;border-radius:13px;text-align:center;line-height:1.15}
.order-tile img{width:52px;height:38px;object-fit:cover;border-radius:7px}
.order-tile strong{font-size:14px}.order-tile small{font-size:11px}.order-tile b{font-size:16px}
.order-tile [data-count]{border:1px solid #b2c4b6;color:#214a34;border-radius:20px;padding:2px 8px}
.order-tile:hover{border-color:#3e7255;background:#f7faf7}
.order-products .tabs{margin:0 0 10px;gap:4px}.order-products .tabs button{padding:6px 9px}
.order-ticket{border-top:1px solid #e7e9e7;padding-top:12px}
.order-ticket .posoptions{gap:6px}.order-ticket .posoptions details{border:1px solid #e3e7e3;border-radius:10px}
.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 18px}
.metric{border:1px solid #dfe4df;border-radius:14px;padding:12px;display:grid;gap:4px}
.metric span{color:#4f5d53;font-size:14px}.metric strong{font-size:clamp(24px,4vw,33px);line-height:1.2}
.table-overview{margin-bottom:24px}.live-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.live-table{display:grid;place-content:center;text-align:center;min-height:62px;border-radius:10px;padding:4px}
.live-table span{font-size:12px}.live-free{background:#ddf0e6;color:#1a5239}.live-busy{background:#fae6ce;color:#713e12}
@media(min-width:761px){.adisyon-form{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr)}.order-target{grid-column:1/-1}.order-ticket{border-top:0;border-left:1px solid #e7e9e7;padding:8px 0 8px 16px}.order-tile{padding:12px 5px}}
@media(max-width:520px){header:has(.role-switch){padding:9px 4vw}.role-switch{width:100%}header .role-switch a{font-size:13px;padding:7px 9px}.order-target .tables,.live-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.order-products .tabs{flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px}.order-products .tabs button{flex-shrink:0}.order-tile strong{font-size:13px}}
.work-heading h1{font:700 clamp(24px,4vw,32px)/1.15 "Segoe UI",system-ui,sans-serif;letter-spacing:-.03em;margin:0}
.work-heading+.tabs{margin:8px 0 12px}
@media(max-width:520px){body:has(.adisyon-form) header .brand{display:none}body:has(.adisyon-form) main{padding-top:9px}.adisyon-form{gap:8px}.order-target{margin-bottom:4px;padding-bottom:9px}.order-target .tables{gap:5px;margin:7px 0}.order-target .tables button{min-height:38px}.order-target .choices{margin:5px 0}.work-heading+.tabs button{min-height:36px;padding:5px 9px}}
.product-placeholder{display:grid;place-items:center;background:#e7f0e7;color:#234738;font-size:26px;font-weight:700}
.product>.product-placeholder{width:100%;aspect-ratio:1.8}.order-tile>.product-placeholder{width:52px;height:38px;border-radius:7px;font-size:19px}
.menu-entry{padding:10px 0;border-bottom:1px solid #e7e9e7}.menu-entry:last-child{border-bottom:0}.menu-entry>strong{white-space:nowrap}
#order-payment{width:min(420px,calc(100% - 32px));max-height:calc(100% - 32px);border:1px solid #d7e2da;border-radius:18px;padding:20px;color:#172e24;background:#fffefa;box-shadow:0 16px 60px #172e2433}
#order-payment::backdrop{background:#142b2080}
#payment-total{font-weight:700;margin:0 0 14px}
#order-payment fieldset{display:grid;gap:8px;border:0;padding:0;margin:0 0 16px}
#order-payment legend{margin-bottom:8px}
#order-payment label{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 12px;margin:0;border:1px solid #d7e2da;border-radius:10px}
#order-payment label:has(input:checked){background:#e6f1e7;border-color:#59836a}
#order-payment input{width:auto;margin:0;accent-color:#164e35}
#payment-error:empty{display:none}
#payment-error{color:#9e251f}
.adisyon-form .sendbar #possum{white-space:nowrap}
.adisyon-form .order-return,.adisyon-form .order-jump{display:none}
@media(max-width:760px){
 .adisyon-form .sendbar{display:grid;grid-template-columns:1fr 1fr;gap:5px 8px}
 .adisyon-form .sendbar #possum{grid-column:1/-1;text-align:center;font-size:14px}
 .adisyon-form .order-jump,.adisyon-form .order-return{display:inline-flex}
 .adisyon-form .order-return{margin-bottom:10px}
 .adisyon-form{padding-bottom:112px}
 body:has(.adisyon-form) #toast.show{bottom:106px}
}
.product-settings-summary{display:flex;align-items:center;gap:12px;cursor:pointer}.product-settings-summary img,.product-settings-summary .product-placeholder{width:64px;height:64px;object-fit:cover;border-radius:10px}details.box[open] summary{margin-bottom:16px}

/* Keep form controls and intrinsic grid sizes within the phone viewport. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
.adisyon-form>*,.order-products,.order-ticket,#workspace,.layout>*,.grid>*,.stack>*{min-width:0}
input,select,textarea{min-width:0;max-width:100%}
#order-payment label:not(:has(input[type="radio"],input[type="checkbox"])){display:block}
#order-payment select{width:100%;min-width:0}
#order-payment .apart{flex-wrap:wrap}
.cartline>b,.table-check li,.order-target .choices button,.product-settings-summary span{overflow-wrap:anywhere;min-width:0}
@media(max-width:760px){
 input,select,textarea{font-size:16px}
 .adisyon-form,.order-target,.order-products,.order-ticket{max-width:100%}
 .order-products .tabs{min-width:0;max-width:100%}
 .order-target .choices button{max-width:100%;white-space:normal}
 .cartline .apart{flex-wrap:wrap}
 .product-settings-summary img,.product-settings-summary .product-placeholder{flex-shrink:0}
}
.order-tile-main{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:3px;min-width:0;width:100%;padding:0;background:transparent;color:inherit;border:0;text-align:center}
.order-tile-main>.product-placeholder{width:52px;height:38px;border-radius:7px;font-size:19px}
.tile-controls{display:flex;justify-content:center;align-items:center;gap:4px;padding:4px;max-width:100%;min-width:0}
.tile-controls button{min-width:28px;width:28px;min-height:36px;padding:0;font-size:20px;flex-shrink:0}
.order-tile .tile-controls [data-count]{padding:2px 3px;min-width:16px}
.card>.product{display:flex;flex-direction:column;align-items:stretch;padding:0;background:transparent;text-align:left;color:inherit}
#cancel-dialog{width:min(460px,calc(100% - 24px));max-height:calc(100dvh - 32px);overflow-y:auto;border:1px solid #d7e2da;border-radius:18px;padding:18px;color:#172e24;background:#fffefa}
#cancel-dialog::backdrop{background:#142b2080}
#cancel-dialog h2{font-size:24px}#cancel-dialog form>button,#cancel-dialog>button{width:100%;margin-top:8px}
input[type="checkbox"]{display:inline-block;width:auto;vertical-align:middle}
.check-items{list-style:none;padding:0;margin:12px 0}
.check-items li{padding:10px 0;border-bottom:1px solid #e2e7e1}
.check-item-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.check-item-heading>b{min-width:0;overflow-wrap:anywhere;font-weight:600}
.check-item-heading>span{white-space:nowrap;flex-shrink:0}
.check-payment-state{display:inline-block;margin-top:5px;padding:2px 8px;border-radius:6px;font-size:13px;font-weight:600}
.check-payment-state.unpaid{background:#fff0db;color:#75450d}
.check-payment-state.paid{background:#dfefe4;color:#205934}
.check-payment-state.partial{background:#e7edf9;color:#294b7e}
.check-item-note{display:block;margin-top:4px}
.check-totals{margin:14px 0}.check-totals>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:4px 0}
.check-totals dd{margin:0;white-space:nowrap;font-weight:600}
.check-totals .check-balance{margin-top:6px;padding-top:10px;border-top:1px solid #ccd8cc;font-size:18px;font-weight:700}
.guest-choices{margin:14px 0;padding:12px;border:1px solid #d7e2da;border-radius:12px;background:#fffefa;min-width:0}
.guest-choices .choices{max-height:180px;overflow-y:auto}.guest-choices .choices button{font-size:14px;min-height:42px;overflow-wrap:anywhere;max-width:100%;white-space:normal}
#check-dialog{width:min(460px,calc(100% - 24px));max-height:calc(100dvh - 32px);overflow-y:auto;border:1px solid #d7e2da;border-radius:18px;padding:18px;color:#172e24;background:#fffefa}
#check-dialog::backdrop{background:#142b2080}#check-dialog h2{font-size:24px}#check-dialog label{display:block}#check-dialog form>button,#check-dialog>button{width:100%;margin-top:8px}
