*{box-sizing:border-box} :root{--navy:#082b49;--navy2:#104d70;--blue:#087f9c;--bg:#f0f8fa;--line:#d8e9ed;--text:#173448;--muted:#66818f;--green:#168b83;--red:#bf4350;--teal:#12b8b0;--aqua:#43d6d0}
body{margin:0;background:var(--bg);font:14px/1.5 Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:var(--text)}
a{color:inherit;text-decoration:none}.topbar{height:72px;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:5;box-shadow:0 4px 18px #0e20351a}
.logo{display:flex;align-items:center;gap:12px}.logo b{display:block;font-size:16px}.logo small{display:block;color:#b8c7d9;font-size:11px}.brand-mark{width:48px;height:48px;border-radius:14px;background:linear-gradient(135deg,#12b8b0,#087f9c);display:grid;place-items:center;color:#fff;font-weight:800;font-size:17px;box-shadow:0 6px 18px #087f9c40}.brand-mark.small{width:38px;height:38px;border-radius:11px;font-size:13px}
.top-user{display:flex;align-items:center;gap:16px;color:#dce5ef;font-size:13px}.top-user form{margin:0}.logout{border:1px solid #53677f;color:#fff;background:transparent;border-radius:8px;padding:7px 12px;cursor:pointer}
.app-shell{display:grid;grid-template-columns:235px minmax(0,1fr);min-height:calc(100vh - 72px)}.sidebar{background:#fff;border-right:1px solid var(--line);padding:25px 14px;display:flex;flex-direction:column;gap:5px}.side-label,.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:800;color:#8b98a9}.side-label{padding:0 12px 10px}.nav-link{display:flex;gap:12px;align-items:center;padding:12px;border-radius:9px;color:#526176;font-weight:600}.nav-link span{font-size:17px;width:20px;text-align:center}.nav-link:hover,.nav-link.active{background:#e3f7f7;color:#087f9c}.side-foot{margin-top:auto;padding:14px 10px;color:#9aa6b5;font-size:11px}
.main-content{padding:30px;max-width:1500px;width:100%;margin:0 auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.page-heading h1{font-size:28px;letter-spacing:-.7px;margin:3px 0}.page-heading p{margin:4px 0}.muted{color:var(--muted)}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.metric-card,.panel,.statement{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 5px 18px #1a345008}.metric-card{padding:19px}.metric-card span{display:block;color:#728197;font-size:12px}.metric-card strong{display:block;font-size:24px;letter-spacing:-.5px;margin:8px 0 3px}.metric-card small{color:#a0aaba;font-size:11px}
.panel{padding:21px;margin-bottom:18px}.panel h2{font-size:16px;margin:0 0 16px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.panel-head h2{margin:0}.text-link{color:var(--blue);font-size:12px;font-weight:700}.count{font-size:12px;color:var(--muted)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 15px;border:0;border-radius:8px;font-weight:700;font-size:13px;cursor:pointer}.btn.primary{background:var(--blue);color:white;box-shadow:0 4px 12px #087f9c33}.btn.secondary{background:#edf2f8;color:#31445c}.btn.danger{background:#fff0f0;color:var(--red)}.small-btn{padding:6px 10px;font-size:11px}
label{display:block;color:#53647a;font-size:11px;font-weight:700;margin:0 0 6px}input,select,textarea{width:100%;border:1px solid #dce4ed;background:#fff;border-radius:8px;padding:10px 11px;font:inherit;color:var(--text);outline:none;min-height:40px}input:focus,select:focus,textarea:focus{border-color:#38bfc1;box-shadow:0 0 0 3px #087f9c15}textarea{resize:vertical}
.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.form-grid .wide{grid-column:1/-1}.form-action{display:flex;align-items:end}.filter-grid{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:12px;align-items:end}
table{border-collapse:collapse;width:100%;font-size:12px}th{text-align:left;background:#f6f8fb;color:#68788d;font-size:10px;letter-spacing:.5px;text-transform:uppercase;font-weight:800}th,td{padding:11px 10px;border-bottom:1px solid #edf0f4;vertical-align:middle}tbody tr:last-child td{border-bottom:0}.right{text-align:right;white-space:nowrap}.sub{display:block;color:#9aa6b5;font-size:10px;margin-top:2px}.tag{display:inline-block;background:#e3f7f7;color:#315eb0;border-radius:5px;padding:4px 7px;font-size:10px;font-weight:700}.icon-btn{border:0;background:#fff0f0;color:#c34a55;border-radius:6px;width:28px;height:28px;font-size:19px;cursor:pointer}.empty{text-align:center;padding:28px;color:#8996a7}.alert,.info-note{border-radius:9px;padding:11px 14px;margin-bottom:15px;font-size:12px}.alert.ok{background:#eaf8f1;color:#18744f}.alert.error{background:#fff0f0;color:#ae3543}.alert.warning{background:#fff7e8;color:#89611d}.info-note{background:#e8f8f8;border:1px solid #c9eeee;color:#286b78}
.app-footer{padding:20px 0;color:#9aa6b5;font-size:11px;text-align:center}.login-bg{min-height:100vh;background:radial-gradient(circle at 15% 10%,#147d91,#082b49 58%,#061e34);display:grid;place-items:center;padding:20px}.login-card{width:min(100%,440px);background:white;border-radius:18px;padding:34px;box-shadow:0 24px 80px #07142655}.login-card .brand-mark{margin-bottom:18px}.login-card h1{font-size:25px;margin:4px 0 7px}.login-card .eyebrow{margin:0}.login-card form{margin-top:24px}.login-card label{margin-top:13px}.login-card button{margin-top:20px}.full{width:100%}.tiny{font-size:10px;color:#95a1b0;margin-top:18px}
.statement{padding:28px;max-width:1100px;margin:0 auto 14px}.statement-banner{background:linear-gradient(125deg,#082b49,#087f9c);color:white;padding:25px 28px;border-radius:11px;margin-bottom:20px}.statement-kicker{font-size:10px;letter-spacing:2px;color:#c2d0df}.statement-banner h1{font-size:24px;letter-spacing:1.5px;margin:7px 0}.statement-banner p{font-size:10px;letter-spacing:1.5px;color:#d0dceb;margin:0}.statement-meta{display:grid;grid-template-columns:2fr 1.5fr 1fr;gap:10px;margin-bottom:20px}.statement-meta div{background:#f5f7fa;border:1px solid #e6ebf1;padding:12px;border-radius:8px}.statement-meta small{display:block;color:#8592a3;font-size:9px;letter-spacing:1px;margin-bottom:5px}.statement-meta b{font-size:12px}.section-title{font-size:11px;letter-spacing:1px;text-transform:uppercase;color:#354b65;border-bottom:1px solid #e2e8ef;padding-bottom:8px;margin:20px 0 8px}.statement table{font-size:11px}.statement th{font-size:9px}.statement td,.statement th{padding:9px}.summary-wrap{display:flex;justify-content:flex-end}.summary-table{max-width:640px}.summary-table tr:last-child{background:#172c45;color:white}.summary-table tr:last-child td{font-weight:800}.statement-footer{border-top:1px solid #e4eaf1;margin-top:28px;padding-top:13px;display:flex;justify-content:space-between;color:#8794a5;font-size:10px}.print-actions{text-align:right;margin:14px auto 28px;max-width:1100px}
@media(max-width:900px){.app-shell{grid-template-columns:1fr}.sidebar{position:sticky;top:72px;z-index:4;flex-direction:row;overflow-x:auto;padding:8px 10px;border-right:0;border-bottom:1px solid var(--line);white-space:nowrap}.side-label,.side-foot{display:none}.nav-link{padding:9px 11px;font-size:11px}.nav-link span{font-size:14px}.main-content{padding:22px 16px}.metric-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.topbar{height:62px;padding:0 14px}.app-shell{min-height:calc(100vh - 62px)}.sidebar{top:62px}.main-content{padding:18px 11px}.page-heading{align-items:flex-start;flex-direction:column}.page-heading h1{font-size:24px}.metric-card{padding:14px}.metric-card strong{font-size:19px}.panel{padding:15px;border-radius:11px}.form-grid{grid-template-columns:1fr 1fr;gap:11px}.form-grid .wide{grid-column:1/-1}.form-action{grid-column:1/-1}.filter-grid{grid-template-columns:1fr 1fr}.filter-grid>div:first-child{grid-column:1/-1}.statement{padding:12px;border-radius:10px}.statement-banner{padding:18px}.statement-banner h1{font-size:20px}.statement-meta{grid-template-columns:1fr 1fr}.statement-meta div:first-child{grid-column:1/-1}.table-wrap{overflow-x:auto}table{min-width:620px}.statement table{min-width:580px}.login-card{padding:26px 22px}}
@media print{@page{size:A4;margin:13mm}body{background:#fff;-webkit-print-color-adjust:exact;print-color-adjust:exact}.topbar,.sidebar,.page-heading,.panel.no-print,.print-actions,.app-footer,.no-print{display:none!important}.app-shell{display:block}.main-content{padding:0;max-width:none}.statement{display:block;border:0;box-shadow:none;padding:0;max-width:none;margin:0}.statement-banner{border-radius:0;padding:20px 23px}.statement table{min-width:0;font-size:9px}.statement td,.statement th{padding:7px 6px}.statement-meta{break-inside:avoid}.statement tr{break-inside:avoid}.section-title{break-after:avoid}.summary-wrap{break-inside:avoid}}

/* Record editing and bulk actions */
.editable-row { cursor: pointer; transition: background .15s ease; }
.editable-row:hover { background: #eef4ff !important; }
.row-edit { display:inline-flex; align-items:center; padding:7px 11px; font-size:12px; white-space:nowrap; }
.panel-tools { display:flex; align-items:center; gap:12px; }
.danger-panel { border:1px solid #f0caca; }
.danger-panel h2 { color:#9f2525; }
.btn.danger { background:#a92e35; color:#fff; border:1px solid #a92e35; }
.btn.danger:hover { background:#87232a; }
@media (max-width:700px) {
  .row-edit { padding:6px 8px; }
  .editable-row td { padding-top:11px; padding-bottom:11px; }
}

.payment-total-row{background:#e8f7f8;font-weight:800}.payment-total-row td{border-top:2px solid #65c6c8}.statement .summary-table{width:100%}.statement .summary-table td:last-child{font-weight:800}

/* Mobile app experience: bottom navigation, touch controls and compact cards */
@media (max-width: 760px) {
  html { -webkit-text-size-adjust: 100%; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); background:#f4f7fb; }
  .topbar { height:62px; padding:0 15px; position:sticky; top:0; z-index:20; }
  .logo { gap:9px; }
  .brand-mark.small { width:36px; height:36px; border-radius:11px; }
  .logo b { font-size:15px; }
  .logo small { font-size:10px; }
  .top-user { gap:8px; font-size:11px; }
  .logout { padding:7px 10px; min-height:36px; }
  .app-shell { display:block; min-height:calc(100dvh - 62px); }
  .sidebar {
    position:fixed; top:auto; bottom:0; left:0; right:0; z-index:50;
    display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:0;
    padding:7px 4px calc(7px + env(safe-area-inset-bottom));
    background:rgba(255,255,255,.97); border:0; border-top:1px solid #e2e8f0;
    box-shadow:0 -8px 28px rgba(21,39,64,.10); overflow:visible;
    backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
  }
  .side-label,.side-foot { display:none; }
  .nav-link {
    min-width:0; min-height:52px; padding:5px 1px; border-radius:12px;
    display:flex; flex-direction:column; justify-content:center; align-items:center;
    gap:3px; font-size:9px; line-height:1.15; font-weight:700; color:#7b8798;
    white-space:normal; text-align:center;
  }
  .nav-link span { width:auto; font-size:19px; line-height:1.1; }
  .nav-link.active { color:#087f9c; background:#e3f7f7; }
  .main-content { padding:18px 12px 26px; width:100%; }
  .page-heading { gap:12px; margin-bottom:16px; }
  .page-heading h1 { font-size:23px; line-height:1.2; margin:4px 0; letter-spacing:-.5px; }
  .page-heading p { font-size:12px; line-height:1.45; }
  .eyebrow { font-size:9px; letter-spacing:1.35px; }
  .metric-grid { gap:10px; margin-bottom:14px; }
  .metric-card { padding:14px 13px; border-radius:14px; min-width:0; }
  .metric-card span { font-size:11px; }
  .metric-card strong { font-size:clamp(17px,5vw,21px); overflow-wrap:anywhere; margin:6px 0 2px; }
  .metric-card small { font-size:10px; }
  .panel { padding:15px 13px; margin-bottom:13px; border-radius:15px; box-shadow:0 4px 16px rgba(24,47,78,.045); }
  .panel h2 { font-size:15px; margin-bottom:13px; }
  .panel-head { align-items:flex-start; }
  .btn { min-height:43px; padding:10px 13px; border-radius:11px; font-size:13px; }
  .small-btn { min-height:34px; }
  label { font-size:11px; margin-bottom:6px; }
  input,select,textarea { min-height:46px; padding:11px 12px; border-radius:10px; font-size:16px; }
  textarea { min-height:82px; }
  .form-grid { grid-template-columns:1fr; gap:12px; }
  .form-grid .wide,.form-action { grid-column:1/-1; }
  .form-action { display:flex; flex-wrap:wrap; gap:8px; }
  .form-action .btn { flex:1 1 150px; }
  .filter-grid { grid-template-columns:1fr 1fr; gap:10px; }
  .filter-grid>div:first-child { grid-column:1/-1; }
  .filter-grid>div:last-child { grid-column:1/-1; }
  .filter-grid .btn { width:100%; }
  .table-wrap { width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; border-radius:10px; }
  .table-wrap table { min-width:640px; }
  .statement { padding:13px; margin-bottom:12px; border-radius:14px; }
  .statement-banner { padding:17px 15px; border-radius:12px; }
  .statement-banner h1 { font-size:20px; }
  .statement-meta { grid-template-columns:1fr 1fr; gap:7px; }
  .statement-meta div { padding:10px; }
  .statement-meta div:first-child { grid-column:1/-1; }
  .statement-meta b { font-size:11px; overflow-wrap:anywhere; }
  .statement .table-wrap { margin:0 -1px; }
  .statement .table-wrap table { min-width:600px; }
  .summary-wrap { display:block; overflow-x:auto; }
  .summary-table { min-width:560px; }
  .statement-footer { gap:10px; font-size:9px; }
  .app-footer { padding:14px 0 5px; }
  .login-card { width:min(100%,420px); padding:27px 21px; border-radius:20px; }
}
@media (max-width: 380px) {
  .nav-link { font-size:8px; }
  .nav-link span { font-size:17px; }
  .main-content { padding-left:9px; padding-right:9px; }
  .metric-card { padding:12px 10px; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .app-shell { grid-template-columns:205px minmax(0,1fr); }
  .main-content { padding:22px 18px; }
  .metric-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media print {
  body { padding-bottom:0 !important; }
}
@media (max-width:760px) {
  .table-wrap.mobile-cards { overflow:visible; }
  .table-wrap.mobile-cards table { min-width:0; width:100%; border-collapse:separate; border-spacing:0 9px; }
  .table-wrap.mobile-cards thead { display:none; }
  .table-wrap.mobile-cards tbody { display:block; }
  .table-wrap.mobile-cards tbody tr { display:block; background:#fff; border:1px solid #e8edf3; border-radius:12px; padding:5px 11px; box-shadow:0 3px 12px rgba(24,47,78,.035); margin-bottom:9px; }
  .table-wrap.mobile-cards tbody td { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; padding:8px 0; border-bottom:1px solid #f0f2f5; text-align:right; white-space:normal; overflow-wrap:anywhere; font-size:12px; }
  .table-wrap.mobile-cards tbody td:last-child { border-bottom:0; }
  .table-wrap.mobile-cards tbody td:before { content:attr(data-label); color:#8290a2; font-size:10px; font-weight:800; text-align:left; flex:0 0 34%; text-transform:uppercase; letter-spacing:.25px; }
  .table-wrap.mobile-cards tbody td[colspan] { display:block; text-align:center; }
  .table-wrap.mobile-cards tbody td[colspan]:before { content:none; }
  .table-wrap.mobile-cards .right { white-space:normal; }
}

\n/* Mobile app layout v4: activate on compact and touch-screen devices */
@media screen and (max-width: 900px), (pointer: coarse) {
 html,body{width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:hidden!important}
 body{padding-bottom:calc(78px + env(safe-area-inset-bottom))!important}
 .topbar{width:100%!important;max-width:100%!important;height:64px!important;padding:0 14px!important}
 .app-shell{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow:clip!important}
 .sidebar{position:fixed!important;top:auto!important;bottom:0!important;left:0!important;right:0!important;width:100%!important;max-width:100%!important;height:auto!important;display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:2px!important;padding:7px 4px calc(7px + env(safe-area-inset-bottom))!important;background:rgba(255,255,255,.98)!important;border:0!important;border-top:1px solid #e3eaf2!important;box-shadow:0 -6px 24px rgba(20,36,58,.12)!important;z-index:999!important;overflow:visible!important;white-space:normal!important;backdrop-filter:blur(16px)}
 .side-label,.side-foot{display:none!important}
 .nav-link{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;min-width:0!important;min-height:54px!important;padding:5px 1px!important;margin:0!important;gap:3px!important;white-space:normal!important;text-align:center!important;font-size:9px!important;line-height:1.1!important;border-radius:10px!important}
 .nav-link span{width:auto!important;font-size:18px!important;line-height:1!important}
 .main-content{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:18px 12px 24px!important;overflow:visible!important}
 .page-heading{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:12px!important;width:100%!important;min-width:0!important}
 .page-heading h1{font-size:23px!important}
 .metric-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;width:100%!important;min-width:0!important}
 .metric-card{min-width:0!important;width:100%!important;padding:13px 11px!important;overflow:hidden!important}
 .metric-card strong{font-size:clamp(15px,4.5vw,20px)!important;overflow-wrap:anywhere!important}
 .panel{width:100%!important;max-width:100%!important;min-width:0!important;padding:14px 12px!important;overflow:hidden!important}
 .panel-head{flex-wrap:wrap!important;min-width:0!important}
 .form-grid,.filter-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:100%!important;min-width:0!important}
 .form-grid>*,.filter-grid>*{min-width:0!important;max-width:100%!important}
 input,select,textarea,button{max-width:100%!important}
 .table-wrap.mobile-cards{width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important}
 .table-wrap.mobile-cards table{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important}
 .table-wrap.mobile-cards thead{display:none!important}
 .table-wrap.mobile-cards tbody{display:block!important;width:100%!important}
 .table-wrap.mobile-cards tbody tr{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0 0 10px!important;padding:5px 11px!important;background:#fff!important;border:1px solid #e7edf4!important;border-radius:12px!important;overflow:hidden!important}
 .table-wrap.mobile-cards tbody td{display:flex!important;justify-content:space-between!important;align-items:flex-start!important;gap:10px!important;width:100%!important;min-width:0!important;padding:8px 0!important;text-align:right!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;font-size:12px!important;border-bottom:1px solid #f0f2f5!important}
 .table-wrap.mobile-cards tbody td:before{content:attr(data-label)!important;display:block!important;flex:0 0 34%!important;min-width:0!important;text-align:left!important;color:#8290a2!important;font-size:10px!important;font-weight:800!important}
 .table-wrap.mobile-cards tbody td:last-child{border-bottom:0!important}
 .table-wrap.mobile-cards tbody td[colspan]{display:block!important;text-align:center!important}
 .table-wrap.mobile-cards tbody td[colspan]:before{content:none!important}
 .statement{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important}
 .statement .table-wrap{overflow-x:auto!important;max-width:100%!important}
 .statement .table-wrap table{min-width:570px!important;width:max-content!important}
 .summary-wrap{overflow-x:auto!important;max-width:100%!important}
 .summary-table{min-width:520px!important}
 .statement-meta{min-width:0!important}
 .statement-meta>div{min-width:0!important;overflow-wrap:anywhere!important}
}
@media screen and (max-width:390px){.metric-grid{grid-template-columns:minmax(0,1fr)!important}.main-content{padding-left:10px!important;padding-right:10px!important}}

/* Native date, time and month controls: prevent iOS/Android intrinsic width overflow */
@media screen and (max-width: 900px), (pointer: coarse) {
  .form-grid > div,
  .filter-grid > div,
  .panel form > div {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  input[type="date"],
  input[type="time"],
  input[type="month"] {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 11px 9px !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
    text-align: left !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    -webkit-appearance: none;
    appearance: none;
  }
  input[type="date"]::-webkit-date-and-time-value,
  input[type="time"]::-webkit-date-and-time-value,
  input[type="month"]::-webkit-date-and-time-value {
    text-align: left;
    min-width: 0;
    margin: 0;
  }
  input[type="date"]::-webkit-calendar-picker-indicator,
  input[type="month"]::-webkit-calendar-picker-indicator {
    margin: 0 0 0 3px;
    padding: 0;
    flex: 0 0 auto;
  }
  .filter-grid > div { grid-column: 1 / -1 !important; }
  .filter-grid input[type="date"] { min-width: 0 !important; }
}

.print-help{margin:8px 0;color:#9a5b00;font-size:12px;text-align:right}
@media(max-width:900px){.print-actions{width:100%;padding:0 12px;box-sizing:border-box}.print-actions .btn{width:100%;min-height:48px}.print-help{text-align:center}}



/* FCT v1.6 - authoritative navy / blue / turquoise theme */
:root{--navy:#082b52;--navy2:#0b4774;--blue:#087fba;--bg:#f0f8fb;--line:#d7e9ef;--text:#12344b;--muted:#668397;--green:#168b83;--red:#bf4350;--aqua:#21c7c7;--teal:#0b9fb4}
body{background:var(--bg);color:var(--text)}
.topbar{background:linear-gradient(105deg,#062747 0%,#084d78 58%,#087f91 100%);border-bottom:1px solid #20c4c6;box-shadow:0 5px 22px rgba(4,42,75,.18)}
.logo b{color:#fff;letter-spacing:.8px}.logo small{color:#a9e9ef}
.brand-logo{width:48px;height:48px;object-fit:contain;border:1px solid rgba(39,205,207,.72);border-radius:12px;box-shadow:0 3px 14px #001d3544;background:#082b52}
.sidebar{background:#fff;border-right:1px solid #d7e9ef}.side-label,.eyebrow{color:#168ca8}
.nav-link{color:#45647a}.nav-link:hover,.nav-link.active{background:linear-gradient(90deg,#e4f7fb,#eaf3ff);color:#0876a9}.nav-link.active{box-shadow:inset 3px 0 #16bfc1}
.btn.primary{background:linear-gradient(110deg,#087fc4,#12b9bd);color:#fff;box-shadow:0 4px 13px #078eb333}.btn.primary:hover{background:linear-gradient(110deg,#076da9,#099fa9)}
.btn.secondary{background:#e5f3f8;color:#164b6a}.text-link{color:#0785a7}.tag{background:#e0f7f8;color:#087c8c;border:1px solid #c7eff0}
.login-bg{background:radial-gradient(circle at 18% 12%,#0c718f,#082b52 58%,#041a33)}
.login-card{background:#092b49;color:#f7fcff;border:1px solid #35c9cf;box-shadow:0 24px 80px #03182d88}
.login-logo{display:block;width:min(100%,560px);height:auto;max-height:270px;object-fit:contain;margin:0 auto 20px;border:0;border-radius:0;background:transparent;box-shadow:none}
.login-card .eyebrow{text-align:center;color:#55e0df}.login-card h1{text-align:center;color:#fff}.login-card .muted{text-align:center;color:#c8e4ec}
.login-card label{color:#c8edf0}.login-card input{background:#06233d;color:#fff;border-color:#267c99}.login-card input:focus{border-color:#21c7c7;box-shadow:0 0 0 3px rgba(33,199,199,.16)}.login-card .tiny{color:#a8cbd8}
.metric-card,.panel,.statement{border-color:#d7e9ef;box-shadow:0 5px 18px rgba(10,64,95,.055)}.metric-card strong{color:#0b3858}.metric-card span{color:#54778d}
.logout{border-color:#49b8c4;color:#e0ffff}.logout:hover{background:#12b9bd;color:#062b4a}
.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus,input:focus,select:focus,textarea:focus{border-color:#16b9c0;box-shadow:0 0 0 3px rgba(16,184,189,.14)}
.statement-banner{background:linear-gradient(125deg,#082b52,#087e91);border:1px solid #13b8bf}.statement-banner .statement-kicker{color:#9df4f0}
.info-note{background:#e9f7fb;border-color:#c9eaf1;color:#315d76}.alert.warning{background:#e8f7fb;color:#315d76;border:1px solid #c9eaf1}
@media(max-width:900px){.sidebar{background:#fafdff;border-bottom:1px solid #cfe8ef}}
@media(max-width:760px){.nav-link.active{box-shadow:inset 0 -3px #16bfc1}}

/* v1.8 - split admin login */
.login-bg.login-split{min-height:100vh;display:block;padding:0;background:linear-gradient(135deg,#062c50 0%,#087f9c 58%,#12b9bd 100%);}
.login-shell{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(390px,.88fr);max-width:1680px;margin:0 auto;background:#f4fbfd;box-shadow:0 25px 90px rgba(0,35,65,.22);}
.login-visual{position:relative;min-height:100vh;overflow:hidden;background:#06365f;}
.login-visual>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block;}
.login-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(2,32,58,.03) 48%,rgba(2,38,67,.72) 100%);}
.visual-caption{position:absolute;z-index:1;left:clamp(24px,5vw,72px);right:24px;bottom:clamp(28px,6vh,64px);display:flex;flex-direction:column;gap:8px;color:#fff;text-shadow:0 2px 14px rgba(0,25,50,.5);}
.visual-caption span{font-size:clamp(17px,2vw,26px);font-weight:800;letter-spacing:3px;}
.visual-caption strong{font-size:12px;letter-spacing:4px;color:#a9f8f1;}
.visual-caption i{font-style:normal;color:#12c6c1;padding:0 5px;}
.login-side{display:flex;align-items:center;justify-content:center;padding:clamp(24px,5vw,76px);background:radial-gradient(circle at 100% 0%,#e0f7f8 0,transparent 38%),#f7fbfd;}
.login-panel{width:min(100%,460px);padding:clamp(26px,3vw,44px);border:1px solid #d8edf1;border-radius:24px;background:rgba(255,255,255,.92);box-shadow:0 22px 65px rgba(8,75,105,.13);}
.login-symbol{width:54px;height:54px;display:grid;place-items:center;margin:0 auto 18px;border-radius:17px;background:linear-gradient(145deg,#12b9bd,#087fba);color:#fff;font-size:27px;box-shadow:0 8px 22px rgba(18,185,189,.25);}
.login-panel .eyebrow{text-align:center;color:#0b9da9;font-size:10px;font-weight:800;letter-spacing:2.4px;margin:0 0 8px;}
.login-panel h1{text-align:center;color:#082f50;font-size:29px;line-height:1.2;margin:0 0 9px;}
.login-panel .muted{text-align:center;color:#668397;font-size:13px;line-height:1.6;margin:0 0 26px;}
.login-panel form{margin:0;}
.login-panel label{display:block;margin:15px 0 7px;color:#315d75;font-size:12px;font-weight:700;}
.login-panel input{width:100%;min-height:49px;padding:0 15px;border:1px solid #cfe4eb;border-radius:12px;background:#f7fbfd;color:#123c58;font-size:14px;outline:none;box-sizing:border-box;}
.login-panel input:focus{border-color:#12b9bd;box-shadow:0 0 0 4px rgba(18,185,189,.12);}
.login-panel .btn.primary{min-height:51px;margin-top:24px;border:0;border-radius:12px;background:linear-gradient(100deg,#12b9bd,#087fba);color:#fff;font-size:15px;font-weight:800;box-shadow:0 9px 22px rgba(8,127,156,.2);}
.login-panel .btn.primary:hover{filter:brightness(1.04);transform:translateY(-1px);}
.login-panel .btn.primary span{float:right;font-size:20px;line-height:16px;}
.login-features{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;margin-top:27px;padding-top:21px;border-top:1px solid #e1eef2;}
.login-features div{display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;color:#53778a;font-size:9px;line-height:1.3;}
.login-features b{display:grid;place-items:center;width:34px;height:34px;border:1px solid #bce8e9;border-radius:11px;color:#078fa3;background:#effbfb;font-size:17px;}
.login-panel .tiny{text-align:center;color:#91a9b7;font-size:10px;margin:20px 0 0;}
.login-panel .alert{margin:0 0 16px;}
@media(max-width:900px){.login-shell{grid-template-columns:1fr;}.login-visual{min-height:36vh;height:36vh;}.login-visual>img{object-position:center 54%;}.visual-caption{bottom:18px;left:24px;}.visual-caption span{font-size:17px;}.visual-caption strong{font-size:9px;letter-spacing:2px;}.login-side{padding:24px 16px 34px;}.login-panel{max-width:500px;}}
@media(max-width:480px){.login-visual{min-height:30vh;height:30vh;}.login-panel{padding:24px 20px;border-radius:19px;}.login-panel h1{font-size:25px;}.login-features{gap:2px;}.login-features div{font-size:8px;}.login-features b{width:30px;height:30px;}}

/* v1.9 - faithful split admin login based on user's supplied reference */
.login-bg.login-split{min-height:100vh;padding:0;background:#087fba;display:block}
.login-shell{width:100%;max-width:none;min-height:100vh;grid-template-columns:minmax(0,1.16fr) minmax(520px,.84fr);background:linear-gradient(135deg,#087fba,#12b9bd);box-shadow:none}
.login-visual{min-height:100vh;background:#087fba}
.login-visual>img{object-fit:cover;object-position:center center}
.login-visual:after{display:none}
.login-side{padding:clamp(20px,3vw,54px);background:linear-gradient(145deg,#087fba 0%,#12b9bd 100%);}
.login-panel{width:min(100%,650px);padding:clamp(28px,3vw,50px);border:2px solid rgba(255,255,255,.72);border-radius:28px;background:linear-gradient(145deg,rgba(239,253,255,.94),rgba(206,246,250,.91));box-shadow:0 22px 70px rgba(0,45,85,.24),inset 0 1px 0 rgba(255,255,255,.9);backdrop-filter:blur(16px)}
.login-symbol{width:72px;height:72px;margin:0 auto 12px;padding:0;border-radius:50%;background:transparent;box-shadow:0 8px 24px rgba(0,105,155,.2)}
.login-symbol svg{width:100%;height:100%;display:block}
.login-panel h1{text-align:center;color:#073b65;font-size:clamp(26px,2.2vw,36px);font-weight:850;margin:0 0 8px}
.login-brand{text-align:center;color:#07527d;font-size:18px;font-weight:750;margin:0 0 3px}
.login-panel .muted{text-align:center;color:#164c70;font-size:14px;font-weight:550;margin:0 0 25px}
.real-login-form{display:grid;gap:13px}
.login-input-wrap{display:flex;align-items:center;gap:12px;min-height:58px;padding:0 17px;border:1px solid #b6dce9;border-radius:15px;background:rgba(255,255,255,.94);box-shadow:0 3px 8px rgba(0,65,105,.06)}
.login-input-wrap>span{color:#087f9c;font-size:22px;min-width:20px;text-align:center}
.login-input-wrap input{width:100%;min-width:0;min-height:54px;border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;color:#123c58;font-size:16px}
.login-input-wrap input:focus{outline:none}
.password-toggle{border:0;background:transparent;color:#315d75;font-size:20px;cursor:pointer;padding:6px}
.login-options{display:flex;justify-content:space-between;align-items:center;color:#164c70;font-size:13px;font-weight:650;padding:0 3px}
.login-options label{display:flex;align-items:center;gap:8px;margin:0;color:inherit;font-size:13px}
.login-options input{width:19px;height:19px;min-height:19px;accent-color:#079db2}
.login-options span{color:#087f9c}
.login-panel .btn.primary.login-submit{display:flex;align-items:center;justify-content:center;gap:12px;min-height:60px;margin:2px 0 0;border:0;border-radius:15px;background:linear-gradient(100deg,#087fba,#08bfc0);color:#fff;font-size:21px;font-weight:800;box-shadow:0 8px 20px rgba(0,117,165,.2)}
.login-panel .btn.primary.login-submit span{float:none;font-size:25px}
.login-features{grid-template-columns:repeat(6,minmax(0,1fr));gap:0;margin-top:27px;padding-top:21px;border-top:1px solid rgba(5,105,145,.2)}
.login-features div{min-width:0;padding:0 4px;border-right:1px solid rgba(5,105,145,.16);gap:7px;color:#164c70;font-size:11px;font-weight:650;line-height:1.25}
.login-features div:last-child{border-right:0}
.login-features b{width:42px;height:42px;border:0;border-radius:12px;background:transparent;color:#087f9c;font-size:25px}
.login-panel .alert{border-radius:12px}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1050px){.login-shell{grid-template-columns:minmax(0,1fr) minmax(440px,.9fr)}.login-side{padding:20px}.login-panel{padding:27px}.login-features div{font-size:9px}}
@media(max-width:820px){.login-shell{grid-template-columns:1fr}.login-visual{min-height:38vh;height:38vh}.login-side{padding:20px 14px 30px}.login-panel{width:min(100%,560px)}}
@media(max-width:520px){.login-visual{min-height:30vh;height:30vh}.login-panel{padding:23px 17px;border-radius:20px}.login-symbol{width:58px;height:58px}.login-panel h1{font-size:25px}.login-brand{font-size:16px}.login-panel .muted{font-size:12px;margin-bottom:18px}.login-features{margin-top:20px;padding-top:15px}.login-features div{font-size:8px;padding:0 2px}.login-features b{font-size:20px;width:30px;height:30px}.login-options{font-size:11px}.login-options label{font-size:11px}}

/* v1.10: desktop single-viewport login, clean fields, refined iconography */
@media (min-width: 821px) {
  html, body { min-height:100%; }
  body.login-bg.login-split { height:100vh; height:100svh; min-height:0; overflow:hidden; }
  .login-shell { height:100vh; height:100svh; min-height:0; overflow:hidden; grid-template-columns:minmax(0,1.16fr) minmax(500px,.84fr); }
  .login-visual { height:100%; min-height:0; }
  .login-visual>img { height:100%; width:100%; object-fit:cover; object-position:center; }
  .login-side { height:100%; min-height:0; padding:clamp(12px,2vh,26px) clamp(16px,2vw,34px); overflow:hidden; }
  .login-panel { width:min(100%,620px); max-height:calc(100svh - 28px); padding:clamp(18px,2.2vh,30px) clamp(24px,2.4vw,38px); overflow:hidden; }
  .login-symbol { width:clamp(48px,6vh,62px); height:clamp(48px,6vh,62px); margin-bottom:8px; }
  .login-panel h1 { font-size:clamp(24px,3vh,31px); margin-bottom:5px; }
  .login-brand { font-size:clamp(14px,1.8vh,17px); }
  .login-panel .muted { font-size:clamp(11px,1.5vh,13px); margin-bottom:clamp(12px,2vh,20px); }
  .real-login-form { gap:clamp(8px,1.3vh,12px); }
  .login-input-wrap { min-height:clamp(46px,6vh,54px); padding:0 14px; border-radius:13px; }
  .login-input-wrap input { min-height:clamp(42px,5.6vh,50px); background:transparent!important; }
  .login-options { font-size:clamp(10px,1.4vh,12px); }
  .login-panel .btn.primary.login-submit { min-height:clamp(48px,6.5vh,58px); font-size:clamp(17px,2.2vh,20px); }
  .login-features { margin-top:clamp(12px,2.2vh,20px); padding-top:clamp(10px,1.8vh,17px); }
  .login-features div { font-size:clamp(8px,1.2vh,10px); gap:4px; }
  .login-features b { width:clamp(27px,4.5vh,38px); height:clamp(27px,4.5vh,38px); }
}
.login-input-wrap { background:#fff!important; }
.login-input-wrap input,
.login-input-wrap input:focus,
.login-input-wrap input:-webkit-autofill,
.login-input-wrap input:-webkit-autofill:hover,
.login-input-wrap input:-webkit-autofill:focus {
  background:#fff!important;
  -webkit-box-shadow:0 0 0 1000px #fff inset!important;
  box-shadow:0 0 0 1000px #fff inset!important;
  -webkit-text-fill-color:#123c58!important;
  color:#123c58!important;
  border:0!important;
}
.login-input-wrap input::placeholder { color:#718b9b; opacity:1; }
.login-input-wrap>span { display:grid; place-items:center; width:24px; min-width:24px; color:#087f9c; }
.login-input-wrap>span svg { width:21px; height:21px; stroke:currentColor; fill:none; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.password-toggle { display:grid; place-items:center; width:34px; height:34px; border:0; border-radius:9px; background:transparent; color:#087f9c; }
.password-toggle svg { width:21px; height:21px; stroke:currentColor; fill:none; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.login-features b { display:grid; place-items:center; color:#087f9c; background:linear-gradient(145deg,#f5ffff,#dff8fa); border:1px solid #b9e9ec; border-radius:12px; box-shadow:0 4px 12px rgba(0,91,125,.08); }
.login-features b svg { width:25px; height:25px; stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
@media (min-width:821px) and (max-height:700px) {
  .login-panel { padding-top:12px; padding-bottom:12px; }
  .login-features { margin-top:9px; padding-top:8px; }
}

/* v1.11: remember-me and full mobile hero image */
@media (max-width:820px) {
  body.login-bg.login-split { height:auto!important; min-height:100vh!important; overflow-x:hidden!important; overflow-y:auto!important; }
  .login-shell { height:auto!important; min-height:100vh!important; overflow:visible!important; grid-template-columns:1fr!important; }
  .login-visual { position:relative!important; height:auto!important; min-height:0!important; aspect-ratio:16 / 9; overflow:hidden!important; background:#087fba!important; }
  .login-visual>img { position:relative!important; inset:auto!important; display:block!important; width:100%!important; height:100%!important; min-height:0!important; object-fit:contain!important; object-position:center!important; }
  .login-visual:after { display:none!important; content:none!important; }
  .login-side { height:auto!important; min-height:0!important; overflow:visible!important; padding:22px 14px 30px!important; }
  .login-panel { max-height:none!important; overflow:visible!important; width:min(100%,560px)!important; }
  .login-options input[type="checkbox"] { width:18px!important; height:18px!important; accent-color:#0aaeb8!important; cursor:pointer!important; opacity:1!important; pointer-events:auto!important; }
  .login-options label { cursor:pointer!important; }
}
.login-options input[type="checkbox"] { cursor:pointer; accent-color:#0aaeb8; }

/* v1.12: show complete square brand artwork on mobile; clean login CTA */
.login-submit span[aria-hidden="true"] { display:none!important; }
.login-submit { gap:0!important; }
@media (max-width:820px) {
  body.login-bg.login-split { overflow-x:hidden!important; overflow-y:auto!important; }
  .login-shell { display:flex!important; flex-direction:column!important; height:auto!important; min-height:100vh!important; overflow:visible!important; }
  .login-visual {
    position:relative!important; display:block!important;
    width:100%!important; height:auto!important; min-height:0!important;
    aspect-ratio:auto!important; overflow:visible!important;
    background:#087fba!important;
  }
  .login-visual>img {
    position:relative!important; inset:auto!important;
    display:block!important; width:100%!important; height:auto!important;
    min-height:0!important; max-height:none!important;
    object-fit:contain!important; object-position:center!important;
  }
  .login-visual:after { display:none!important; content:none!important; }
  .login-side { width:100%!important; height:auto!important; min-height:0!important; overflow:visible!important; padding:18px 12px 28px!important; }
  .login-panel { max-height:none!important; overflow:visible!important; width:min(100%,560px)!important; }
}

/* v1.14: clear, consistent reservation row action buttons */
.reservation-actions {
  display:flex; align-items:center; gap:7px; flex-wrap:wrap; margin-top:9px;
}
.reservation-actions form { margin:0; padding:0; display:inline-flex; }
.reservation-actions .action-btn {
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  min-height:34px; padding:7px 11px; border-radius:9px;
  border:1px solid transparent; font:600 12px/1.1 inherit;
  font-size:12px; font-weight:650; white-space:nowrap; cursor:pointer;
  text-decoration:none; transition:background .15s ease,border-color .15s ease,transform .15s ease,box-shadow .15s ease;
  box-shadow:0 2px 5px rgba(9,55,82,.06);
}
.reservation-actions .action-btn svg { width:15px; height:15px; flex:0 0 15px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.reservation-actions .action-btn:hover { transform:translateY(-1px); box-shadow:0 4px 10px rgba(9,55,82,.12); }
.reservation-actions .action-edit { color:#0875a5; background:#edf8fc; border-color:#cceaf4; }
.reservation-actions .action-edit:hover { background:#dff3fa; }
.reservation-actions .action-complete { color:#087b5a; background:#e8f8f1; border-color:#bcebd8; }
.reservation-actions .action-complete:hover { background:#d8f3e7; }
.reservation-actions .action-cancel { color:#b34d58; background:#fff1f2; border-color:#f5d1d5; }
.reservation-actions .action-cancel:hover { background:#ffe4e7; }
@media(max-width:760px) {
  .reservation-actions { gap:6px; }
  .reservation-actions .action-btn { min-height:36px; padding:8px 10px; font-size:12px; }
}

/* v1.15: compact reservation actions; keep table layout intact */
.reservation-actions {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:nowrap!important;
  gap:4px!important;
  margin:5px 0 0!important;
  max-width:100%!important;
  vertical-align:middle;
}
.reservation-actions form {
  display:inline-flex!important;
  flex:0 0 auto!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}
.reservation-actions .action-btn {
  display:inline-flex!important;
  flex:0 0 auto!important;
  width:auto!important;
  min-width:0!important;
  min-height:25px!important;
  height:25px!important;
  padding:4px 7px!important;
  gap:4px!important;
  border-radius:6px!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:650!important;
  box-shadow:none!important;
  transform:none!important;
}
.reservation-actions .action-btn svg {
  width:12px!important;
  height:12px!important;
  flex:0 0 12px!important;
}
.reservation-actions .action-btn:hover { box-shadow:none!important; transform:none!important; filter:brightness(.97); }
.reservation-actions .action-edit { background:#f1f8fb!important; border-color:#d8eaf1!important; color:#28718e!important; }
.reservation-actions .action-complete { background:#edf8f3!important; border-color:#d5eee2!important; color:#25805f!important; }
.reservation-actions .action-cancel { background:#fff5f5!important; border-color:#f4dddd!important; color:#b65a62!important; }
@media(max-width:760px) {
  .reservation-actions { gap:3px!important; flex-wrap:wrap!important; }
  .reservation-actions .action-btn { min-height:26px!important; height:26px!important; padding:4px 6px!important; font-size:10px!important; }
}

/* v1.17: compact status controls in overview; double-click to edit */
.daily-reservation-row { cursor:default; }
.daily-reservation-row:hover { background:#f8fcfd; }
.daily-reservation-row td { transition:background .12s ease; }
.daily-reservation-row[title] { cursor:default; }
.daily-status-actions { display:flex; align-items:center; gap:5px; margin-top:6px; flex-wrap:wrap; }
.daily-status-actions form { display:inline-flex; margin:0; padding:0; }
.mini-status-btn { display:inline-flex; align-items:center; justify-content:center; min-height:25px; padding:4px 7px; border:1px solid; border-radius:6px; font-size:10px; line-height:1; font-weight:700; white-space:nowrap; cursor:pointer; background:#fff; box-shadow:none; }
.mini-done { color:#187b59; background:#eef8f3; border-color:#d3ecdf; }
.mini-done:hover { background:#e2f4eb; }
.mini-cancel { color:#ae5961; background:#fff5f5; border-color:#f1dddd; }
.mini-cancel:hover { background:#ffeded; }
@media(max-width:760px) { .daily-status-actions { gap:4px; } .mini-status-btn { min-height:27px; padding:5px 7px; } }


/* v1.18 – Genel Bakış ekranı düzenlemesi */
.page-heading{margin-bottom:22px}
.page-heading .eyebrow{letter-spacing:1.7px;font-size:10px;font-weight:800;color:#0789a6}
.page-heading h1{font-size:27px;letter-spacing:-.7px;margin:4px 0 5px;color:#14283e}
.page-heading .muted{font-size:13px}
.metric-grid{gap:12px;margin:0 0 18px}
.metric-card{position:relative;overflow:hidden;padding:17px 18px;border-radius:13px;min-height:105px}
.metric-card:after{content:"";position:absolute;right:-22px;top:-26px;width:82px;height:82px;border-radius:50%;background:#eaf7fa}
.metric-card span,.metric-card strong,.metric-card small{position:relative;z-index:1}
.metric-card span{font-size:11px;font-weight:700;letter-spacing:.15px}
.metric-card strong{font-size:23px;margin:9px 0 2px;color:#142b43}
.metric-card small{font-size:10px}
.daily-planner{padding:0;border-radius:15px;overflow:hidden}
.daily-planner>.panel-head{padding:19px 21px 15px;margin:0;border-bottom:1px solid #edf1f5}
.daily-planner>.panel-head h2{font-size:16px;font-weight:800;color:#1b3048}
.daily-datebar{display:flex;align-items:center;gap:10px;padding:13px 20px;background:#f7fafc;border-bottom:1px solid #edf1f5;flex-wrap:wrap}
.daily-date-form{display:flex;align-items:center;gap:9px;margin:0}
.daily-date-form label{margin:0;white-space:nowrap;font-size:11px}
.daily-date-form input{width:155px;min-height:36px;padding:7px 9px}
.date-nav,.today-link{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:35px;padding:7px 11px;border:1px solid #dce6ed;border-radius:8px;background:#fff;color:#38536c;font-size:11px;font-weight:700;text-decoration:none}
.today-link{margin-left:auto;color:#087f9c;border-color:#bfe4ec;background:#effafd}
.daily-table{padding:0 12px 12px;overflow-x:auto}
.daily-table table{min-width:980px;border-collapse:separate;border-spacing:0;width:100%}
.daily-table thead th{background:#f8fafc;color:#718197;font-size:10px;letter-spacing:.55px;text-transform:uppercase;padding:13px 11px;border-bottom:1px solid #e8eef3;white-space:nowrap}
.daily-table tbody td{padding:14px 11px;border-bottom:1px solid #edf1f5;font-size:12px;line-height:1.45;vertical-align:middle}
.daily-table tbody tr:last-child td{border-bottom:0}
.daily-table tbody tr:hover td{background:#f7fbfd}
.daily-table td:nth-child(1){min-width:105px;white-space:nowrap}
.daily-table td:nth-child(2){min-width:155px}
.daily-table td:nth-child(3){min-width:115px}
.daily-table td:nth-child(4){min-width:175px}
.daily-table td:nth-child(5){min-width:120px}
.daily-table td:nth-child(6){min-width:105px;white-space:nowrap;font-weight:800;color:#193b55}
.daily-table td:nth-child(7){min-width:150px}
.daily-order{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:7px;background:#eaf6f9;color:#0785a1;font-size:10px;font-weight:800;margin-right:6px}
.daily-table .sub{display:block;margin-top:4px;color:#8795a5;font-size:10px}
.daily-table .tag{display:inline-flex;padding:5px 8px;border-radius:6px;background:#edf6f8;color:#24758a;font-size:10px;font-weight:800}
.status-pill{display:inline-flex;align-items:center;padding:5px 9px;border-radius:20px;font-size:10px;font-weight:800;white-space:nowrap}
.daily-status-actions{display:flex;align-items:center;gap:6px;margin-top:7px;flex-wrap:nowrap}
.daily-status-actions form{display:inline-flex;margin:0;padding:0}
.mini-status-btn{min-height:27px;padding:5px 8px;border-radius:7px;font-size:10px;font-weight:800}
.daily-reservation-row{cursor:default}
.daily-reservation-row td{transition:background .12s ease}
.daily-empty{padding:50px 20px;text-align:center;display:flex;align-items:center;flex-direction:column;gap:8px;color:#64758a}
.daily-empty b{color:#233b53;font-size:14px}
.daily-empty small{font-size:11px;max-width:380px;line-height:1.6}
@media(max-width:900px){.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
 .page-heading{align-items:flex-start;gap:12px;flex-wrap:wrap}
 .page-heading h1{font-size:23px}
 .page-heading>.btn{width:100%;justify-content:center}
 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .metric-card{padding:13px;min-height:91px}
 .metric-card strong{font-size:19px}
 .daily-planner>.panel-head{padding:15px}
 .daily-datebar{padding:12px;gap:7px}
 .daily-date-form{order:1;width:100%;justify-content:space-between}
 .daily-date-form input{width: min(62%,190px)}
 .date-nav{flex:1}
 .today-link{margin-left:0;flex:1}
 .daily-table{padding:0 8px 8px}
}


/* v1.19 – Genel Bakış tarih alanı ve boş durum yerleşimi */
.daily-datebar{
 display:flex!important; flex-direction:row!important; align-items:center!important;
 justify-content:flex-start!important; flex-wrap:nowrap!important; gap:12px!important;
 min-height:66px; padding:14px 20px!important;
}
.daily-datebar>*{flex:0 0 auto!important; width:auto!important; min-width:0}
.daily-date-form{
 display:flex!important; flex-direction:row!important; align-items:center!important;
 gap:9px!important; width:auto!important; margin:0!important; white-space:nowrap;
}
.daily-date-form label{display:inline-block!important;width:auto!important;margin:0!important}
.daily-date-form input[type=date]{
 display:inline-block!important; width:170px!important; max-width:170px!important;
 min-width:170px!important; height:37px!important; min-height:37px!important;
 padding:6px 9px!important; margin:0!important;
}
.date-nav,.today-link{display:inline-flex!important;flex:0 0 auto!important;white-space:nowrap!important}
.today-link{margin-left:auto!important}
.daily-empty{
 min-height:190px!important; padding:34px 20px!important; text-align:center!important;
 display:flex!important; align-items:center!important; justify-content:center!important;
 flex-direction:column!important; gap:9px!important;
}
.daily-empty b{display:block!important;font-size:14px!important;color:#20384f!important;line-height:1.5}
.daily-empty small{display:block!important;max-width:430px!important;font-size:11px!important;
 line-height:1.65!important;color:#8493a4!important}
.daily-empty .empty-icon{display:flex;align-items:center;justify-content:center;
 width:42px;height:42px;border-radius:12px;background:#eaf7fa;color:#0785a1;font-size:20px}
@media(max-width:760px){
 .daily-datebar{flex-wrap:wrap!important;gap:8px!important;padding:12px!important}
 .daily-datebar>.daily-date-form{order:-1!important;width:100%!important;justify-content:space-between!important}
 .daily-date-form input[type=date]{width:min(62vw,210px)!important;min-width:0!important;max-width:210px!important}
 .daily-datebar>.date-nav{flex:1 1 auto!important}
 .daily-datebar>.today-link{margin-left:0!important;flex:1 1 auto!important}
}
