:root{--acc:#d97706;--navy:#1e3a5f;--ink:#12213a;--mut:#5b6b80;--line:#d6dde6;--bg:#e9edf2;--card:#fff;--r:12px}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{font-family:Inter,"Noto Sans","DejaVu Sans",system-ui,sans-serif;background:var(--bg);color:var(--ink);font-size:15px;line-height:1.4;min-height:100vh}
body.lock{overflow:hidden}
button,input,select,textarea{font:inherit;color:inherit}
img{display:block;max-width:100%}
a{color:var(--navy)}
.boot{padding:40px;text-align:center;color:var(--mut)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 18px;border-radius:8px;font-weight:600;font-size:14.5px;border:1px solid transparent;cursor:pointer;text-decoration:none;background:none;white-space:nowrap}
.btn.amber{background:#d97706;color:#fff}.btn.navy{background:var(--navy);color:#fff}
.btn.sec{background:#fff;border-color:#c7d0dc;color:var(--ink)}.btn.danger{background:#fff;border-color:#dc2626;color:#b91c1c}
.btn:disabled{opacity:.5;cursor:default}
.btn.wide{width:100%;margin-top:16px}
.muted{color:var(--mut)}
.lbl{font-size:11px;font-weight:700;letter-spacing:.06em;color:var(--mut);text-transform:uppercase;margin:14px 0 4px}
/* --- menü --- */
#app{max-width:1100px;margin:0 auto;min-height:100vh;background:var(--bg)}
.hero{position:relative;background:#fff;border-bottom:3px solid var(--acc)}
.hero .cover{width:100%;height:180px;object-fit:cover}
.heroin{display:flex;gap:14px;align-items:center;padding:18px 16px 14px}
.hascover .heroin{margin-top:-34px;position:relative}
.lg{width:58px;height:58px;border-radius:14px;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:21px;flex:none;object-fit:cover;border:3px solid #fff;box-shadow:0 2px 8px rgba(18,33,58,.12)}
.hero h1{font-size:21px;line-height:1.2}
.hero p{font-size:13px;color:var(--mut);margin-top:3px}
.hero .meta{font-size:12.5px}
.masa{margin:10px 12px 0;background:#fff7ed;border:1px solid #f3c27a;color:#92400e;border-radius:10px;padding:10px 14px;font-size:14px;font-weight:700;display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.masa2{font-weight:500;font-size:12.5px}
.stick{position:sticky;top:0;z-index:3;background:var(--bg);padding:10px 12px 0;box-shadow:0 1px 0 rgba(18,33,58,.06)}
.srch{width:100%;min-height:44px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:0 14px;font-size:15px}
.srch:focus{outline:2px solid var(--acc);outline-offset:0}
.chips{display:flex;gap:8px;overflow-x:auto;white-space:nowrap;padding:10px 0;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{min-height:44px;padding:0 16px;border-radius:22px;background:#fff;border:1px solid var(--line);display:inline-flex;align-items:center;font-weight:600;font-size:14px;text-decoration:none;color:var(--ink);flex:none}
.chip.on{background:var(--navy);color:#fff;border-color:var(--navy)}
.menu{padding:0 12px 8px}
.sec{padding-top:6px;scroll-margin-top:120px}
.sec h2{font-size:18px;margin:10px 2px 8px}
.grid{display:grid;grid-template-columns:1fr;gap:8px}
.it{all:unset;box-sizing:border-box;background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:10px;display:flex;gap:12px;min-height:96px;cursor:pointer;text-align:left;width:100%}
.it:focus-visible{outline:2px solid var(--acc)}
.it[hidden],.sec[hidden]{display:none}
.pimg{width:84px;height:84px;border-radius:10px;flex:none;object-fit:cover;background:#f1f4f8}
.pimg.ph{display:flex;align-items:center;justify-content:center;font-weight:800;font-size:22px;color:var(--navy);background:linear-gradient(135deg,#fdf0dc,#f6d6a8)}
.itb{min-width:0;flex:1}
.it h3{font-size:15.5px;line-height:1.25}
.it p{font-size:13px;color:var(--mut);margin-top:3px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pr{font-weight:800;font-size:15.5px;margin-top:6px}
.tag{font-size:10.5px;font-weight:700;padding:2px 6px;border-radius:4px;margin-left:6px;vertical-align:middle;background:#fef3c7;color:#92400e;white-space:nowrap}
.tso{background:#fee2e2;color:#991b1b}
.so{opacity:.6}.so .pr{text-decoration:line-through}
.empty{background:#fff;border:1px dashed var(--line);border-radius:12px;padding:28px;text-align:center;color:var(--mut);margin:12px 0}
.empty[hidden]{display:none}
.foot{text-align:center;font-size:12px;color:var(--mut);padding:18px 16px 28px;line-height:1.7}
.foot a{font-weight:700;text-decoration:none}
.by{font-weight:700;color:#94a3b8;letter-spacing:.04em}
.dim{position:fixed;inset:0;background:rgba(18,33,58,.28);z-index:10}
.sheet{position:fixed;left:0;right:0;bottom:0;max-height:88vh;overflow:auto;background:#fff;border-radius:18px 18px 0 0;z-index:11;max-width:640px;margin:0 auto}
.sheet .big{width:100%;height:230px;object-fit:cover;border-radius:18px 18px 0 0}
.shb{padding:16px 18px 20px}
.shh{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.shh h2{font-size:20px}.shh b{font-size:18px;white-space:nowrap}
.shd{font-size:14px;color:#475569;margin-top:8px;line-height:1.5}
.sonote{margin-top:8px;background:#fef2f2;color:#991b1b;border:1px solid #f1a3a3;border-radius:8px;padding:8px 10px;font-size:13px;font-weight:600}
.opt{display:flex;justify-content:space-between;align-items:center;min-height:44px;border-bottom:1px solid #eef1f5;font-size:14px}
.alg{font-size:13.5px;color:#475569}
@media(min-width:700px){
  .grid{grid-template-columns:1fr 1fr}.heroin{padding:22px 28px 18px}
  .menu{padding:0 24px 8px}.stick{padding:12px 24px 0}.masa{margin:12px 24px 0}
  .hero .cover{height:240px}
}
@media(min-width:1024px){.grid{grid-template-columns:1fr 1fr 1fr}}
/* şablon: classic — krem, serif başlıklar, ince çizgiler */
.t-classic{--bg:#faf7f0;--line:#e7dfcf;--card:#fffdf8}
.t-classic .hero{background:#fffdf8;text-align:center}
.t-classic .heroin{flex-direction:column}
.t-classic .hero h1,.t-classic .sec h2,.t-classic .shh h2{font-family:Georgia,"DejaVu Serif",serif;font-weight:700}
.t-classic .sec h2{text-align:center;border-bottom:1px solid var(--line);padding-bottom:6px}
.t-classic .chip.on{background:var(--acc);border-color:var(--acc)}
.t-classic .it{border-radius:6px}
/* şablon: vibrant — vurgu rengi bantlar, büyük görselli kartlar */
.t-vibrant{--bg:#f6f7fb}
.t-vibrant .hero{background:var(--acc);color:#fff;border-bottom:0}
.t-vibrant .hero p{color:rgba(255,255,255,.9)}
.t-vibrant .chip.on{background:var(--acc);border-color:var(--acc)}
.t-vibrant .sec h2{display:inline-block;background:#fff;border-left:5px solid var(--acc);padding:4px 12px;border-radius:6px}
.t-vibrant .grid{grid-template-columns:1fr 1fr}
.t-vibrant .it{flex-direction:column;gap:8px;padding:0;overflow:hidden;min-height:0;border-radius:14px}
.t-vibrant .pimg{width:100%;height:auto;aspect-ratio:4/3;border-radius:0}
.t-vibrant .itb{padding:0 10px 10px}
.t-vibrant .pr{color:var(--acc)}
@media(min-width:700px){.t-vibrant .grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1024px){.t-vibrant .grid{grid-template-columns:repeat(4,1fr)}}
/* şablon: elegant — beyaz, sade liste, serif */
.t-elegant{--bg:#ffffff;--line:#ececec;--card:#fff}
.t-elegant .hero{border-bottom:1px solid #e5e5e5;text-align:center}
.t-elegant .heroin{flex-direction:column;padding-top:28px}
.t-elegant .lg{border-radius:50%;background:#fff;color:var(--ink);border:1px solid #ddd;box-shadow:none}
.t-elegant .hero h1,.t-elegant .sec h2{font-family:Georgia,"DejaVu Serif",serif;font-weight:400;letter-spacing:.02em}
.t-elegant .hero h1{font-size:26px}
.t-elegant .sec h2{text-align:center;font-size:20px;margin:22px 0 6px;text-transform:uppercase;letter-spacing:.12em}
.t-elegant .chip{border-radius:4px}.t-elegant .chip.on{background:var(--ink);border-color:var(--ink)}
.t-elegant .grid{gap:0}
.t-elegant .it{border:0;border-bottom:1px solid var(--line);border-radius:0;min-height:72px}
.t-elegant .pimg{width:64px;height:64px;border-radius:50%}
.t-elegant .pr{font-weight:600}
/* hizmet dışı / boş */
.off{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;background:#e9edf2}
.offc{background:#fff;border:1px solid var(--line);border-radius:16px;padding:32px 24px;max-width:420px;width:100%;text-align:center;display:flex;flex-direction:column;gap:10px;align-items:center}
.offlogo{width:64px;height:64px;border-radius:16px;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:22px;border-bottom:3px solid #d97706}
.offc h1{font-size:20px}.offt{font-size:18px;color:#92400e}.offc p{color:var(--mut);font-size:14px}
.offc .foot{padding:8px 0 0}
/* --- panel (mod B) --- */
.pbody{background:#e9edf2}
.pbody #app{max-width:none;background:#e9edf2}
.small{font-size:12.5px}.mono{font-family:"DejaVu Sans Mono",ui-monospace,monospace;overflow-wrap:anywhere}
.grow{flex:1}
.row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.row .in{flex:1;min-width:140px}
.stack{display:flex;flex-direction:column;gap:12px}
.pad{padding:12px 16px}
.in{min-height:44px;border:1px solid #c7d0dc;border-radius:8px;background:#fff;padding:0 12px;font-size:14.5px;width:100%}
textarea.in{padding:10px 12px;min-height:88px;resize:vertical}
select.in{padding-right:8px}
.in.color{width:72px;padding:4px}
.in:focus{outline:2px solid #d97706;outline-offset:0}
.fld{display:flex;flex-direction:column;gap:4px}.fld .lbl{margin:0}
.hint{font-size:12px;color:var(--mut)}
.err{color:#b91c1c;font-size:13.5px;min-height:1em}
.chk{display:flex;gap:10px;align-items:center;min-height:44px;font-size:14px;cursor:pointer}
.chk input{width:22px;height:22px;accent-color:#1e3a5f;flex:none}
.badge{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:600;padding:4px 9px;border-radius:6px;border:1px solid}
.badge.ok{color:#166534;border-color:#86c79b;background:#f0fdf4}.badge.warn{color:#92400e;border-color:#f3c27a;background:#fffbeb}
.badge.bad{color:#991b1b;border-color:#f1a3a3;background:#fef2f2}.badge.mut{color:#475569;border-color:#d6dde6;background:#f1f4f8}
.alert{border-radius:10px;padding:12px 14px;font-size:14px;border:1px solid}
.alert.warn{color:#92400e;border-color:#f3c27a;background:#fffbeb}.alert.bad{color:#991b1b;border-color:#f1a3a3;background:#fef2f2}
.auth{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px}
.authc{background:#fff;border:1px solid var(--line);border-radius:14px;padding:26px 24px;width:100%;max-width:460px;display:flex;flex-direction:column;gap:12px}
.authc h1{font-size:20px}
.abrand{display:flex;gap:12px;align-items:center;margin-bottom:6px}
.abrand .offlogo{width:44px;height:44px;font-size:18px;border-radius:10px}
.kvtext{white-space:pre-wrap;font-size:12.5px;line-height:1.5;max-height:260px;overflow:auto;border:1px solid var(--line);border-radius:8px;padding:12px;background:#f8fafc;color:#334155}
.ptop{height:58px;background:#1e3a5f;border-bottom:3px solid #d97706;display:flex;align-items:center;padding:0 16px;color:#fff;gap:10px}
.ptop .logo{width:32px;height:32px;border-radius:6px;background:#d97706;display:flex;align-items:center;justify-content:center;font-weight:800;flex:none}
.ptt{display:flex;flex-direction:column;line-height:1.2;min-width:0}.ptt b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ptt span{font-size:12px;opacity:.8}
.btn.ghost{color:#fff;border-color:rgba(255,255,255,.45)}
.pwrap{max-width:1280px;margin:0 auto;padding:16px 20px 40px;display:flex;flex-direction:column;gap:14px}
.pstat{background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px 14px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.ptabs{display:flex;gap:6px;flex-wrap:wrap}
.ptab{min-height:44px;padding:0 18px;border-radius:8px;border:1px solid transparent;background:transparent;font-weight:600;cursor:pointer;color:#12213a}
.ptab.on{background:#fff;border-color:var(--line);box-shadow:inset 0 -3px 0 #d97706}
.pcard{background:#fff;border:1px solid var(--line);border-radius:10px;min-width:0;overflow:hidden}
.ch{padding:14px 16px;border-bottom:1px solid #e3e8ef}.ch h3{font-size:16px}.ch p{font-size:12.5px;color:var(--mut);margin-top:3px}
.cb{padding:16px}
.mgrid{display:grid;grid-template-columns:minmax(240px,320px) minmax(0,1fr);gap:14px;align-items:start}
.lgrid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:14px;align-items:start}
.g2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.clist{display:flex;flex-direction:column}
.crow{display:flex;align-items:center;gap:4px;border-bottom:1px solid #eef1f5;padding-right:6px}
.crow.on{background:#fff7ed;box-shadow:inset 3px 0 0 #d97706}
.cname{all:unset;flex:1;display:flex;flex-direction:column;padding:10px 14px;min-height:44px;justify-content:center;cursor:pointer;font-weight:600;min-width:0}
.ib{min-width:44px;min-height:44px;border:1px solid #d6dde6;background:#fff;border-radius:8px;cursor:pointer;font-size:16px}
.ib:disabled{opacity:.35;cursor:default}
.plist{display:flex;flex-direction:column}
.prow{display:flex;align-items:center;gap:10px;padding:8px 14px;border-bottom:1px solid #eef1f5;min-height:64px}
.prow.hid{opacity:.6}
.th{width:52px;height:52px;border-radius:8px;object-fit:cover;flex:none;background:#f1f4f8}
.th.ph,.eimg.ph,.lprev.ph,.cprev.ph{display:flex;align-items:center;justify-content:center;color:#1e3a5f;font-weight:700;background:linear-gradient(135deg,#fdf0dc,#f6d6a8);font-size:13px}
.pinfo{flex:1;min-width:0;display:flex;flex-direction:column}.pinfo b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sw{display:flex;align-items:center;gap:6px;min-height:44px;padding:0 10px;border:1px solid #f1a3a3;border-radius:8px;background:#fff;cursor:pointer;font-size:13px;font-weight:600;color:#991b1b}
.sw input{width:20px;height:20px;accent-color:#dc2626}
.catedit{border-top:1px solid #eef1f5}
.empty2{padding:28px 16px;text-align:center;color:var(--mut)}
.dlg{position:fixed;z-index:11;left:50%;top:50%;transform:translate(-50%,-50%);width:min(760px,calc(100vw - 24px));max-height:calc(100vh - 24px);overflow:auto;background:#fff;border-radius:12px;display:flex;flex-direction:column}
.dlgb{padding:16px}.dlgf{display:flex;gap:8px;padding:12px 16px;border-top:1px solid #e3e8ef;flex-wrap:wrap}
.ed2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.eimg{width:100%;height:150px;object-fit:cover;border-radius:10px}
.lprev{width:64px;height:64px;border-radius:12px;object-fit:cover;flex:none}
.cprev{width:100%;height:120px;object-fit:cover;border-radius:10px}
.qrbox{display:flex;flex-direction:column;align-items:center;gap:12px}
.qrimg{width:220px;height:220px;border:1px solid var(--line);border-radius:10px;padding:8px;background:#fff}
.toast{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);z-index:20;padding:12px 18px;border-radius:10px;font-weight:600;font-size:14px;max-width:calc(100vw - 32px);box-shadow:0 6px 20px rgba(18,33,58,.18)}
.tok{background:#f0fdf4;color:#166534;border:1px solid #86c79b}.terr{background:#fef2f2;color:#991b1b;border:1px solid #f1a3a3}
@media(max-width:900px){.mgrid,.lgrid{grid-template-columns:minmax(0,1fr)}.pwrap{padding:12px 12px 32px}}
@media(max-width:600px){.g2,.ed2{grid-template-columns:1fr}.ptt span{display:none}.ptop .btn.ghost{padding:0 10px}
  .prow{flex-wrap:wrap}.prow .pinfo{flex-basis:calc(100% - 64px)}.pstat .btn{width:100%}}
.btn:focus{outline:none}.btn:focus-visible{outline:2px solid var(--acc);outline-offset:2px}
