:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:#172338;background:#f4f6fa;font-size:14px;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh}a{color:#345dc4;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.shell{display:flex;min-height:100vh}.sidebar{width:252px;background:#111b2f;color:#d7e1f2;padding:32px 16px 24px;display:flex;flex-direction:column;flex-shrink:0}.brand{display:flex;gap:13px;align-items:center;color:inherit;font-weight:800;font-size:19px;line-height:1.12;letter-spacing:-.6px;margin:0 12px 38px}.brand small{font-size:10px;letter-spacing:3px;font-weight:700;color:#8da8da}.logo{background:linear-gradient(135deg,#638efa,#3054c9);display:grid;place-items:center;color:white;font-size:21px;flex-shrink:0;width:44px;height:44px;border-radius:13px;box-shadow:0 9px 20px #121d4d63}.nav{display:grid;gap:6px}.nav-link{display:flex;gap:12px;align-items:center;color:#b8c8e2;padding:12px 15px;border-radius:10px;font-size:14px;font-weight:550}.nav-link:hover{background:#1f2e49;color:#fff}.nav-link.selected{background:#2a4778;color:white}.nav-icon{width:20px;font-size:20px;text-align:center}.side-foot{margin-top:auto;padding:18px 12px 0;color:#7f94b5;font-size:11px;line-height:2;border-top:1px solid #26354f}.side-foot a{display:block;color:#b9ccf4}.main{min-width:0;flex:1;max-width:1560px;padding:38px 44px 80px;margin:0 auto}.topbar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:32px}.topbar h1{margin:2px 0 0;font-size:30px;letter-spacing:-1px;color:#172238}.eyebrow{margin:0;color:#8393ac;letter-spacing:2.2px;font-size:10px;font-weight:800}.pill{background:#e4f7ed;color:#168351;border:1px solid #bcf0d0;padding:8px 12px;border-radius:30px;font-size:12px;font-weight:700;white-space:nowrap}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat{background:white;padding:22px 23px;border:1px solid #e5e9f1;border-radius:14px;box-shadow:0 8px 32px #14284a05}.stat>span{display:block;font-weight:650;color:#6b7991}.stat strong{display:block;font-size:36px;letter-spacing:-1px;color:#263f73;margin:9px 0 3px}.stat strong.green{color:#159c66}.stat small{color:#8290a5}.panel{background:white;border:1px solid #e4e9f2;border-radius:15px;padding:25px 26px;margin-bottom:23px;box-shadow:0 8px 32px #14284a05}.panel h2{font-size:18px;letter-spacing:-.35px;margin:0 0 8px}.section-head{display:flex;gap:16px;justify-content:space-between;align-items:center;margin-bottom:22px}.section-head h2{margin:0 0 5px}.section-head p{margin:0;color:#7c8ca3;font-size:13px;line-height:1.55}.light,.muted{color:#8290a6;font-weight:400}.small-muted{font-size:12px;color:#8795a9;margin-top:3px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 20px;align-items:end}.full{grid-column:1/-1}.form-grid label,.auth-card label,.notice-panel label{display:grid;gap:7px;color:#455772;font-size:13px;font-weight:650}.form-grid label small{font-weight:400;color:#8592a5}.form-grid input,.form-grid select,.auth-card input,textarea,.inline-form input{outline:none;background:#fff;border:1px solid #dce3ef;border-radius:9px;padding:12px 13px;min-width:0;width:100%;color:#1e2d44}.form-grid input:focus,.form-grid select:focus,.auth-card input:focus,textarea:focus,.inline-form input:focus{border-color:#789cef;box-shadow:0 0 0 3px #416ed71f}.btn{display:inline-flex;justify-content:center;align-items:center;gap:7px;border:1px solid #d9e0ec;background:white;color:#384c6b;border-radius:9px;padding:10px 15px;font-size:13px;font-weight:700;white-space:nowrap;transition:.15s}.btn:hover{background:#f2f6fc}.btn.primary{background:#315dd5;border-color:#315dd5;color:white}.btn.primary:hover{background:#244bb9}.btn.danger{color:#b8424f;border-color:#f1d6dc}.btn.danger:hover{background:#fff1f3}.btn.small{padding:8px 11px;font-size:12px}.btn.tiny{padding:5px 9px;font-size:12px}.btn:disabled{opacity:.42;cursor:not-allowed}.row-actions{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.helper{font-size:12px;color:#8290a3;margin:16px 0 0;line-height:1.6}table{width:100%;border-collapse:collapse;font-size:13px;min-width:650px}th{text-align:left;color:#8793a6;text-transform:uppercase;font-size:10px;letter-spacing:1.3px;font-weight:750;background:#f8fafd;padding:13px 14px}td{padding:13px 14px;border-top:1px solid #edf0f5;color:#455570;vertical-align:middle}td strong{color:#26364d}.table-scroll{overflow-x:auto;border:1px solid #edf0f6;border-radius:9px}.badge{display:inline-flex;border-radius:30px;font-weight:700;font-size:11px;padding:6px 9px;white-space:nowrap}.badge.ok{background:#e2f7eb;color:#16834f}.badge.warn{background:#fff2da;color:#b88124}.badge.gray{background:#eff1f5;color:#727e91}.empty{border:1px dashed #dce3f0;text-align:center;padding:36px 18px;background:#fbfcfe;color:#7e8ca3;border-radius:10px}.tip{padding:16px 18px;border:1px solid #d7e2fb;background:#eff4ff;border-radius:10px;color:#48689b;line-height:1.6}.flash{padding:13px 16px;border:1px solid transparent;border-radius:10px;margin-bottom:22px;line-height:1.5}.flash.success{background:#ebf9f0;color:#21734e;border-color:#bee9cd}.flash.error{background:#fff0f0;color:#a63644;border-color:#f1c5c9}.thumb{width:92px;height:58px;object-fit:contain;background:#e9edf3;border-radius:6px}.video-thumb{display:grid;place-items:center;background:#20304c;color:white;border-radius:6px;width:92px;height:58px;font-weight:750;font-size:12px}.inline-form{display:flex;gap:10px}.inline-form input{flex:1}.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.chip{padding:10px 13px;border-radius:9px;border:1px solid #dfe5f0;color:#61708a;font-weight:650;background:#f9fbfe}.chip small{color:#97a5b9;margin-left:5px}.chip.active{background:#eaf0ff;border-color:#a9c1fb;color:#2b55b8}.screens-list{display:grid;gap:16px}.screen-box{border:1px solid #e2e9f3;border-radius:11px;padding:20px;background:#fcfdff}.screen-heading,.screen-footer{display:flex;gap:14px;justify-content:space-between;align-items:center}.screen-heading{margin-bottom:14px}.screen-heading strong{font-size:16px}.player-url{display:flex;align-items:center;gap:8px;background:#eef3fb;border:1px solid #dfe9f8;border-radius:9px;padding:8px;margin-bottom:20px}.player-url code{font-size:12px;color:#274167;min-width:0;flex:1;overflow-wrap:anywhere;padding-left:6px}.compact{gap:12px 16px}.screen-footer{padding-top:16px;margin-top:16px;border-top:1px solid #e8edf4}.checkline{display:flex!important;flex-direction:row;align-items:center;gap:8px;font-weight:650}.checkline input{width:17px;height:17px;accent-color:#315dd5}.notice-panel textarea{width:100%;resize:vertical;line-height:1.55}.notice-panel .checkline{margin:17px 0}.notice-preview{margin-top:24px;background:#172b50;padding:17px 20px;border-radius:11px;color:#fff;display:flex;align-items:center;gap:15px}.notice-preview span{background:#f5bf35;color:#182b40;padding:7px 10px;font-weight:800;font-size:11px;letter-spacing:1px;border-radius:6px}.notice-preview p{margin:0;font-size:15px;overflow-wrap:anywhere}.auth-page{display:flex;align-items:center;justify-content:center;padding:24px;background:radial-gradient(circle at 80% 0%,#213c6a,#111b30 60%)}.auth-card{background:#fff;border-radius:19px;width:100%;max-width:430px;padding:38px 36px;box-shadow:0 18px 66px #0b14274d}.auth-card.wide{max-width:710px}.auth-card .brand{color:#213459;margin:0 0 30px;font-size:20px}.auth-card h1{font-size:28px;letter-spacing:-.7px;margin:0 0 6px}.auth-card p.muted{color:#8290a3;margin:0 0 25px;line-height:1.55}.auth-card form:not(.form-grid){display:grid;gap:18px}.auth-card label{margin-bottom:12px}.auth-card .btn{margin-top:10px}.full-width{width:100%}@media(max-width:1100px){.main{padding:26px 26px 60px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.shell{display:block}.sidebar{width:100%;padding:16px}.sidebar .brand{margin:0 4px 14px;font-size:16px}.logo{width:37px;height:37px}.nav{display:flex;overflow-x:auto}.nav-link{padding:9px;white-space:nowrap;font-size:12px}.nav-icon{display:none}.side-foot{display:none}.main{padding:24px 16px 50px}.topbar h1{font-size:25px}.topbar{margin-bottom:20px}.panel{padding:18px}.form-grid{grid-template-columns:1fr}.stats{gap:10px}.stat{padding:16px}.stat strong{font-size:30px}.section-head{align-items:flex-start}.player-url{flex-wrap:wrap}.player-url code{flex-basis:100%}.screen-footer{align-items:flex-start;flex-wrap:wrap}.auth-card{padding:25px}.inline-form{flex-wrap:wrap}.inline-form input{flex-basis:100%}}

/* v1.2 - Coklu duyuru yonetimi */
.notice-edit-form{display:grid;gap:13px;margin-top:14px}.notice-edit-form>label{margin:0}.notice-edit-form .form-grid{margin:0}.notice-edit-form .form-grid small{display:block;color:#8190aa;font-weight:400;margin:5px 0}.notice-list{display:grid;gap:15px}.notice-entry{border:1px solid #e4eaf4;border-radius:13px;padding:20px;background:#fcfdff}.notice-heading{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.notice-heading h3{margin:0 0 8px;font-size:17px;color:#1d2d49}.notice-heading .row-actions{display:flex;flex-wrap:wrap}.notice-body{line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;color:#334866;margin:17px 0}.notice-dates{display:flex;gap:20px;flex-wrap:wrap;color:#64768e;font-size:12px}.notice-dates strong{color:#293d5b}.notice-details{border-top:1px solid #e4eaf4;margin-top:17px;padding-top:13px}.notice-details summary{cursor:pointer;color:#375ac4;font-weight:700}.notice-details[open] summary{margin-bottom:14px}@media(max-width:760px){.notice-heading{flex-direction:column}.notice-heading .row-actions{width:100%}}
.notice-edit-form>label:not(.checkline){display:grid;gap:7px;color:#455772;font-size:13px;font-weight:650}.notice-edit-form>label>input:not([type="checkbox"]){outline:none;background:#fff;border:1px solid #dce3ef;border-radius:9px;padding:12px 13px;min-width:0;width:100%;color:#1e2d44}.notice-edit-form>label>input:focus{border-color:#638efa}.notice-edit-form textarea{width:100%;min-height:75px}

/* v1.3 - ekran bazlı günlük yayın takvimi */
.schedule-panel{border:1px solid #dae2f0;border-radius:12px;margin:18px 0;padding:15px;background:#f8faff}
.schedule-panel>summary{cursor:pointer;font-size:15px;font-weight:700;padding:6px 0;color:#172338;list-style-position:inside}
.schedule-panel>summary .badge{margin-left:12px;font-size:11px}
.schedule-panel>p{margin:14px 0;line-height:1.65}
.schedule-panel h3{margin:20px 0 11px;font-size:15px}
.schedule-panel .schedule-settings-form{border-bottom:1px solid #dae2f0;padding-bottom:18px}
.slot-list{display:flex;flex-direction:column;gap:9px}
.slot-row{border:1px solid #dce4f0;border-radius:10px;background:#fff;padding:10px 14px}
.slot-row>summary{cursor:pointer;line-height:1.7}
.slot-row>summary .small-muted{float:right}
.slot-row[open]{padding-bottom:16px}
.slot-form{margin:10px 0;padding:14px;background:#fff;border:1px solid #dae2f0;border-radius:10px}
.slot-delete{margin:5px 0 8px}
.days-grid{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}
.day-check{display:inline-flex!important;align-items:center;gap:5px;background:#edf2fc;border:1px solid #dbe5f5;border-radius:9px;padding:9px 11px;font-weight:600;font-size:12px;white-space:nowrap}
.day-check input{width:16px;height:16px;margin:0}

/* v1.4 - TV seç ve kodlu bağlantı getir */
.tv-quick-access{margin-bottom:18px;padding:15px 17px;background:#f0f5ff;border:1px solid #d8e5ff;border-radius:11px}
.tv-quick-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.tv-quick-head strong{color:#233954;font-size:14px}.tv-quick-head a{font-size:12px;font-weight:700;color:#335bcb}
.tv-quick-access .small-muted{margin:9px 0 14px;line-height:1.55}
.tv-new-pin{display:flex;gap:12px;align-items:center;flex-wrap:wrap;background:#fff;padding:12px;border:1px solid #bfd7f6;border-radius:9px;margin-bottom:12px}
.tv-new-pin span{font-size:12px;color:#61728b}.tv-new-pin strong{font:800 24px system-ui;letter-spacing:3px;color:#17418d}

/* v1.4.2 - saat ekleme paneli ve boşta görsel bilgilendirmesi */
.new-slot-panel{margin-top:18px;border:1px solid #dce5f4;border-radius:10px;background:#fdfefe;padding:12px 14px}
.new-slot-panel>summary{cursor:pointer;display:list-item;list-style-position:inside;font-size:14px;font-weight:750;color:#244eaa;line-height:1.7}
.new-slot-panel>summary .small-muted{float:right;font-size:12px;color:#8795a9;font-weight:400}
.new-slot-panel[open]>summary{margin-bottom:12px}
.new-slot-panel .slot-form{margin:0}
.idle-mode-hint{font-size:12px;line-height:1.65;margin:0;color:#6a7d9d;font-weight:400}

/* v1.4.3 - Yemek menusu yonetimi */
.menu-list-heading{font-size:16px;margin:24px 0 14px;color:#213554}
.menu-check{align-self:end;min-height:46px;padding:8px 0}
.menu-preview{white-space:normal;overflow-wrap:anywhere}

/* Aylık menü CSV yükleme paneli */
.menu-import-box{padding:20px;margin:24px 0;border:1px solid #dbe4f2;border-radius:14px;background:#f7f9ff}
.menu-import-box .section-head{margin-bottom:12px}
.menu-import-box h3{margin:0 0 6px}
.menu-import-box p{margin:4px 0 0}
