:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#213a43;background:#f3f6f6;font-synthesis:none;font-size:14px;line-height:1.5;--teal:#126b60;--muted:#657b83;--line:#dce5e6;--surface:#fff}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}a{color:inherit}h1,h2,h3,p{margin:0}h1{font-size:28px;line-height:1.25;font-weight:650;letter-spacing:-.035em}h2{font-size:17px;font-weight:650}h3{font-size:14px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #5caea0;outline-offset:3px}[hidden]{display:none!important}.shell{max-width:1440px;margin:auto}.header{min-height:90px;display:flex;align-items:center;gap:24px;padding:20px 36px;border-bottom:1px solid var(--line);background:#fff}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font-size:19px;font-weight:750;letter-spacing:.12em}.brand small{display:block;font-size:10px;letter-spacing:.18em;color:var(--muted)}.brand-mark{display:grid;place-items:center;width:40px;height:40px;background:var(--teal);color:#fff;border-radius:12px;font-size:24px;letter-spacing:0}.identity{margin-left:auto;display:flex;align-items:center;gap:12px;font-size:13px}.header>.badge{margin-left:auto}.badge{display:inline-block;background:#edf2f3;color:#5a7078;padding:5px 10px;border-radius:30px;white-space:nowrap;font-size:12px}.badge.submitted{background:#e2f3ec;color:#1d6c51}.badge.draft{background:#fff2d9;color:#89611b}main{padding:0 36px 36px;min-height:calc(100vh - 160px)}.navigation{display:flex;gap:24px;margin-bottom:28px;border-bottom:1px solid var(--line)}.nav-button{border:0;border-bottom:3px solid transparent;background:transparent;padding:20px 2px 16px;color:var(--muted);font-weight:550;min-height:48px}.nav-button.active{border-color:var(--teal);color:var(--teal)}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:.12em;color:var(--teal);margin-bottom:8px}.subtle{color:var(--muted);margin-top:7px}.date-tools{display:flex;align-items:flex-end;gap:10px}label{display:grid;gap:6px;color:#344f58;font-size:13px;font-weight:550}input,select,textarea{min-height:44px;max-width:100%;border:1px solid #cbd9dc;border-radius:7px;padding:10px 12px;background:#fff;color:#213a43;width:100%}textarea{resize:vertical}input:disabled,select:disabled{background:#eff3f3}.button{border:1px solid #cbd9dc;border-radius:7px;padding:10px 16px;min-height:44px;background:#fff;color:#2d4851;font-weight:550;white-space:nowrap}.button:hover{background:#f1f6f5}.button.primary{background:var(--teal);border-color:var(--teal);color:#fff}.button.primary:hover{background:#0c594f}.button.ghost{background:transparent;border-color:transparent}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:24px}.stat{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px 24px}.stat>p{font-size:13px;color:#4c6770}.stat strong{display:block;font-size:32px;font-weight:600;letter-spacing:-.03em;font-variant-numeric:tabular-nums;margin:4px 0}.stat>span{font-size:12px;color:var(--muted)}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.filter-label{min-width:170px}.helper{color:var(--muted);font-size:12px;font-weight:400;line-height:1.6}.section-heading .helper{margin-top:4px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px}th,td{padding:16px 10px;text-align:right;border-bottom:1px solid #e7eded;white-space:nowrap;font-variant-numeric:tabular-nums}th{font-size:12px;font-weight:550;color:#607881;background:#f8faf9}th small{display:block;font-size:11px;font-weight:400;margin-top:3px}th:first-child,td:first-child{text-align:left;padding-left:0}th:first-child{padding-left:10px}td:first-child strong{font-weight:600}td:first-child small,td .row-meta{display:block;color:var(--muted);font-size:11px;margin-top:4px}td:nth-last-child(2){text-align:left}td .row-meta{max-width:180px;white-space:normal}td:last-child{padding-right:0}tfoot td{font-weight:650;background:#f8faf9}tfoot td:first-child{padding-left:10px}.totals-note{margin-top:16px}.row-button{padding:7px 13px;min-height:38px}.empty{text-align:center!important;color:var(--muted);padding:30px}.feedback{min-height:0;color:var(--teal);font-size:13px}.feedback:not(:empty){margin:12px 0;padding:12px 14px;background:#e7f3ef;border-radius:7px}.feedback.error{color:#97352b;background:#fff0ed}.entry-layout{display:grid;grid-template-columns:minmax(0,620px) minmax(200px,300px);gap:36px;align-items:start}.entry-form>label{margin-bottom:12px}.entry-form>.helper{margin-bottom:8px}.meal-field{display:grid;grid-template-columns:minmax(0,1fr) 120px;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid #e7eded;font-size:14px}.meal-field small{display:block;color:var(--muted);font-weight:400;font-size:12px;margin-top:4px}.meal-field input{font-size:20px;font-weight:550;font-variant-numeric:tabular-nums}.entry-form>label:has(textarea){margin-top:20px}.optional{font-size:11px;color:var(--muted);font-weight:400}.form-actions{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}.entry-aside{padding-top:16px;color:#58717a}.entry-aside h2{color:#304e58;margin-bottom:12px}.entry-aside p,.entry-aside li{font-size:13px;line-height:1.8}.entry-aside ul{padding-left:20px;margin:18px 0}.entry-aside li{margin-bottom:8px}.record-meta{border-top:1px solid var(--line);padding-top:18px;margin-top:26px}.record-meta h3{margin-bottom:8px;color:#304e58}footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:16px;padding:20px 36px;font-size:11px;letter-spacing:.03em;color:var(--muted)}.login{max-width:860px;margin:66px auto 40px;display:grid;grid-template-columns:1fr 1fr;gap:0 60px;align-items:start}.login .eyebrow{grid-column:1}.login h1{grid-column:1;font-size:38px;line-height:1.2;margin-top:6px}.login .lead{grid-column:1;margin-top:22px;color:var(--muted);line-height:1.8}.login-form{grid-column:2;grid-row:1/5;display:grid;gap:18px}.login-form h2{margin-bottom:6px}.login-form code{font-size:11px;overflow-wrap:anywhere}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1600px){.shell{border-left:1px solid var(--line);border-right:1px solid var(--line)}}@media(max-width:900px){.toolbar{align-items:flex-start;flex-direction:column}.date-tools{width:100%}.date-tools>label{max-width:250px;flex:1}.entry-layout{grid-template-columns:1fr;gap:15px}.entry-aside{max-width:620px}.stats{gap:10px}.stat{padding:16px}.login{gap:0 28px}.login h1{font-size:30px}}@media(max-width:600px){.header{padding:16px;gap:12px;flex-wrap:wrap;min-height:78px}.identity{font-size:11px}.brand{font-size:16px;gap:8px}.brand-mark{width:34px;height:34px;font-size:20px}.brand small{font-size:9px}.header>.badge{font-size:10px}main{padding:0 16px 24px}.toolbar h1{font-size:24px}.navigation{gap:20px;margin-bottom:22px}.stats{grid-template-columns:1fr}.stat{display:grid;grid-template-columns:1fr auto;gap:3px 10px}.stat strong{grid-column:2;grid-row:1/3;font-size:27px;margin:0}.stat span{grid-column:1}.panel{padding:18px}.overview{padding:16px}.section-heading{align-items:flex-start;flex-direction:column}.filter-label{width:100%}.entry-form .section-heading{flex-direction:row;align-items:center}.entry-form h2{font-size:16px}.meal-field{grid-template-columns:1fr 98px}.form-actions .button{flex:1;padding:10px 12px}.login{display:flex;flex-direction:column;margin:36px auto 20px;gap:14px}.login h1{font-size:31px;margin:0}.login .lead{margin:0 0 10px}.login-form{width:100%;gap:16px}.login-form h2{font-size:17px}footer{padding:18px 16px;flex-direction:column;gap:5px}.subtle{font-size:13px}}
.brand-logo{display:block;width:64px;height:64px;object-fit:contain;flex-shrink:0}.login-intro{grid-column:1;grid-row:1;min-width:0}.login-intro .login-logo{display:block;width:112px;height:112px;max-width:100%;object-fit:contain;margin-bottom:22px}.login .login-form{grid-row:1}.login-intro .lead{margin-top:22px}
@media(max-width:600px){.brand-logo{width:48px;height:48px}.login-intro{width:100%}.login-intro .login-logo{width:96px;height:96px;margin-bottom:18px}.login-intro .lead{margin:16px 0 10px}}

.entry-form>.date-tools{display:flex;align-items:flex-end;gap:12px;padding:16px;margin-bottom:24px;border:1px solid #b8d8d1;border-radius:10px;background:#edf7f4}.entry-form>.date-tools>label{flex:1;font-size:16px;font-weight:700;color:var(--teal)}.entry-form>.date-tools input[type=date]{min-height:58px;font-size:23px;font-weight:650;border-color:#9cc8be}.entry-form>.date-tools>.button{min-height:58px}@media(max-width:480px){.entry-form>.date-tools{padding:12px;gap:8px}.entry-form>.date-tools input[type=date]{font-size:20px;min-width:0}.entry-form>.date-tools>label{min-width:0}}

.tr-date-control{position:relative;display:block;min-width:0;width:100%}.tr-date-control>input{color:transparent;caret-color:transparent}.tr-date-control>input::-webkit-datetime-edit{opacity:0}.tr-date-display{position:absolute;left:13px;right:36px;top:50%;transform:translateY(-50%);pointer-events:none;color:#213a43;font-size:14px;font-weight:550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.entry-form>.date-tools .tr-date-display{font-size:23px;font-weight:650}.tr-date-control:has(input:disabled) .tr-date-display{color:var(--muted)}@media(max-width:480px){.entry-form>.date-tools .tr-date-display{font-size:20px}}

.tr-date-control>input{pointer-events:none}.tr-date-control>input::-webkit-calendar-picker-indicator{opacity:0}.tr-calendar-trigger{position:absolute;inset:0;width:100%;border:0;border-radius:7px;background:transparent;text-align:right;padding-right:12px;font-size:24px;color:var(--teal)}.tr-date-control:has(input:disabled) .tr-calendar-trigger{pointer-events:none;opacity:.5}.tr-calendar-popup{position:fixed;z-index:10000;width:290px;max-width:calc(100vw - 16px);background:white;border:1px solid #b7cec7;border-radius:12px;padding:12px;box-shadow:0 8px 32px #183d352b}.tr-calendar-heading,.tr-calendar-footer{display:flex;align-items:center;justify-content:space-between;gap:8px}.tr-calendar-popup button{min-height:36px;border:0;border-radius:6px;background:#f0f7f4;color:#155e52;padding:5px 9px}.tr-calendar-popup button:hover,.tr-calendar-popup button.selected{background:#126b60;color:white}.tr-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;margin:12px 0;text-align:center}.tr-calendar-grid>span{font-size:12px;color:#526b64;padding:5px 0}.tr-month-grid{grid-template-columns:repeat(3,1fr)}.tr-calendar-footer{border-top:1px solid #e1ebe7;padding-top:8px}

/* Compact application chrome is confined to the reports view. */
body.reports-compact .shell{max-width:none}
body.reports-compact .header{min-height:44px;padding:4px 16px;gap:14px}
body.reports-compact .brand{gap:8px;font-size:14px;letter-spacing:.08em}
body.reports-compact .brand-logo{width:36px;height:36px}
body.reports-compact .brand small{font-size:9px;letter-spacing:.1em}
body.reports-compact .identity{gap:6px;font-size:12px}
body.reports-compact .identity>.button{min-height:28px;padding:3px 8px;font-size:11px}
body.reports-compact main{padding:0 16px 6px;min-height:0}
body.reports-compact .navigation{gap:18px;margin-bottom:5px;overflow-x:auto;flex-wrap:nowrap}
body.reports-compact .nav-button{min-height:30px;padding:5px 1px 4px;font-size:12px;white-space:nowrap}
body.reports-compact .toolbar{flex-direction:row;align-items:center;gap:12px;margin-bottom:6px}
body.reports-compact .toolbar>div:first-child{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap;min-width:0}
body.reports-compact .toolbar .eyebrow{display:none}
body.reports-compact .toolbar h1{font-size:18px;line-height:1.2;letter-spacing:-.02em}
body.reports-compact .toolbar .subtle{font-size:11px;margin:0;line-height:1.3}
body.reports-compact .toolbar>.date-tools{width:auto;flex-shrink:0}
body.reports-compact .toolbar .button{min-height:30px;padding:4px 10px;font-size:12px}
body.reports-compact footer{padding:4px 16px;gap:8px;font-size:10px;line-height:1.2}
body.reports-compact:has(#reports-root.monthly-compact) .toolbar{display:none}
body.reports-compact:has(#reports-root.monthly-compact) .billing-dashboard{padding:4px 10px;margin:4px 0;display:flex;align-items:center;justify-content:space-between;gap:10px}
body.reports-compact:has(#reports-root.monthly-compact) .billing-alert-heading{margin:0}
body.reports-compact:has(#reports-root.monthly-compact) .billing-alert-heading h2{font-size:12px;line-height:1.2}
body.reports-compact:has(#reports-root.monthly-compact) .billing-dashboard .billing-alert-list,
body.reports-compact:has(#reports-root.monthly-compact) .billing-dashboard .helper{display:none}
body.reports-compact:has(#reports-root.monthly-compact) .billing-dashboard>.button{min-height:26px;padding:3px 8px;font-size:11px}
@media(max-width:700px){
  body.reports-compact .header{padding:6px 12px;gap:6px 12px;flex-wrap:wrap}
  body.reports-compact .identity{width:auto;flex:1 1 auto;margin-left:auto;justify-content:flex-end}
  body.reports-compact .identity #user-label{flex:0 1 auto;font-size:11px}
  body.reports-compact .identity>.button{min-height:36px;font-size:11px}
  body.reports-compact main{padding:0 10px 8px}
  body.reports-compact .navigation{gap:16px;margin-bottom:6px}
  body.reports-compact .nav-button{min-height:40px;padding:8px 1px 6px;font-size:12px}
  body.reports-compact .toolbar{align-items:flex-start}
  body.reports-compact .toolbar h1{font-size:17px}
  body.reports-compact .toolbar .subtle{display:none}
  body.reports-compact footer{padding:6px 10px}
}

/* Hizmet tarihi: seçilen gün ve Türkiye saati birbirinden bağımsızdır. */
.date-tools:has(.service-date-card){align-items:center;gap:12px}
.date-tools>label.service-date-card,.entry-form>.date-tools>label.service-date-card{display:flex;flex-direction:column;align-items:center;gap:1px;min-width:290px;padding:7px 16px;border:1px solid #2b6b72;border-radius:12px;background:linear-gradient(120deg,#123338,#111d30);color:#74dbea;font-size:10px;font-weight:500;letter-spacing:.025em}
.service-live-clock{display:flex;align-items:baseline;color:#a4f5ff;font-size:20px;line-height:1.15;font-weight:400;font-variant-numeric:tabular-nums;letter-spacing:-.04em}
.service-live-clock small{color:#5ce7d6;font-size:14px}
.service-date-card .tr-date-control{display:flex;justify-content:center;align-items:center;gap:8px;min-height:44px;flex-wrap:wrap}
.service-date-card .tr-date-control>input{position:absolute;inset:0;opacity:0;min-height:0}
.service-date-card .tr-date-display,.entry-form>.date-tools .service-date-card .tr-date-display{position:static;transform:none;flex:none;overflow:visible;color:#c3d6ed;font-size:28px;font-weight:650;padding-right:0;line-height:1.3}
.service-date-card .tr-calendar-trigger{inset:0;width:100%;border-radius:6px;color:transparent}
.service-date-card .tr-date-display:after{content:' ▾';font-size:17px;color:#b5ccdd}
.service-weekday{color:#57f0e5;font-size:13px;white-space:nowrap}
.entry-form>.date-tools:has(.service-date-card){padding:0;border:0;background:transparent}
.entry-form>.date-tools>label.service-date-card{min-width:0;flex:1;padding:7px 12px}
.entry-form>.date-tools>.button{min-height:44px}
.service-date-card .tr-date-control:has(input:disabled) .tr-date-display{color:#a2b9c8}
@media(max-width:800px){
  .toolbar:has(.service-date-card){flex-wrap:wrap;justify-content:center;text-align:center}
  .toolbar:has(.service-date-card)>div:first-child{width:100%}
  .date-tools:has(.service-date-card){width:100%;justify-content:center;flex-wrap:wrap}
  .date-tools>label.service-date-card{flex:0 1 340px;min-width:0;max-width:100%}
  .entry-form>.date-tools>label.service-date-card{flex:0 1 340px}
}
@media(max-width:480px){
  .shell{width:100%;min-width:0;margin-inline:auto}
  main,.entry-layout,.entry-form,.entry-aside{min-width:0}
  .toolbar:has(.service-date-card){gap:10px}
  .date-tools:has(.service-date-card){gap:8px}
  .date-tools>label.service-date-card,.entry-form>.date-tools>label.service-date-card{padding:6px 10px;flex-basis:100%;max-width:340px;margin-inline:auto;font-size:9px}
  .service-date-card .tr-date-control{gap:2px 8px;min-height:42px}
  .service-date-card .tr-date-display,.entry-form>.date-tools .service-date-card .tr-date-display{font-size:27px;padding-right:0}
  .service-weekday{font-size:11px}
  .service-live-clock{font-size:18px}
  .service-live-clock small{font-size:13px}
  .date-tools:has(.service-date-card)>.button{margin-inline:auto}
}

/* Sayı girişi: lacivert zemin, mavi işlem ve mor taslak vurguları. */
body.entry-design{--teal:#8ebcff;--muted:#b4c3de;--line:#344967;color:#edf3ff;background:radial-gradient(ellipse at 0 0,#284e88 0,transparent 60%),linear-gradient(125deg,#162b4a,#151d2c 65%,#211d32);min-height:100vh}
body.entry-design .shell{border-color:#344967}
body.entry-design .header{background:#14243be8;border-color:#344967;color:#edf3ff}
body.entry-design .brand small{color:#adc2e5}
body.entry-design .navigation{border-color:#3d5374;gap:22px}
body.entry-design .nav-button{color:#b9c9e5}
body.entry-design .nav-button:hover{color:white}
body.entry-design .nav-button.active{color:#9ddfff;border-color:#67d8e8}
body.entry-design .eyebrow{color:#7ad8eb}
body.entry-design .subtle{color:#bdcce4}
body.entry-design .entry-layout{grid-template-columns:minmax(0,700px) minmax(230px,320px);justify-content:center;gap:26px;align-items:start}
body.entry-design .entry-form{min-width:0;border:1px solid #41608a;border-radius:18px;background:linear-gradient(150deg,#213855,#192a42);box-shadow:0 18px 48px #050d1c40;padding:24px}
body.entry-design .entry-form>.section-heading{padding-bottom:15px;border-bottom:1px solid #3c5271}
body.entry-design label{color:#dce8ff}
body.entry-design .entry-form input:not([type=checkbox]),body.entry-design .entry-form select,body.entry-design .entry-form textarea{background:#f2f6ff;border:1px solid #a7bde0;color:#172e50;border-radius:10px}
body.entry-design .entry-form input::placeholder,body.entry-design .entry-form textarea::placeholder{color:#607493}
body.entry-design .entry-form input:read-only,body.entry-design .entry-form textarea:read-only{background:#dce6f5;color:#334b6d}
body.entry-design .entry-form select:disabled,body.entry-design .entry-form input:disabled{background:#dce6f5;color:#334b6d}
body.entry-design .meal-field{border-color:#3b5273;padding:16px 0;gap:16px}
body.entry-design .meal-field>span{font-size:16px;font-weight:650}
body.entry-design .meal-field small{color:#b8cbe8;font-size:12px;font-weight:450;margin-top:4px}
body.entry-design .meal-field input{min-height:52px;font-size:23px;font-weight:650;text-align:center;box-shadow:inset 0 1px 3px #203c6020}
body.entry-design .entry-form .helper,body.entry-design .optional{color:#b6c8e4}
body.entry-design .entry-aside{max-width:none;padding:22px;border:1px solid #4c4c79;border-radius:16px;background:linear-gradient(140deg,#303153c9,#202a42c9);color:#d3dff2}
body.entry-design .entry-aside h2,body.entry-design .entry-aside h3{color:#f1edff}
body.entry-design .entry-aside p,body.entry-design .entry-aside li{color:#bdcbe2}
body.entry-design .record-meta{border-color:#50517c}
body.entry-design .button{border:1px solid #6986b5;background:#2c4265;color:#f0f5ff;border-radius:9px}
body.entry-design .button:hover{background:#38547e}
body.entry-design #submit-entry{background:linear-gradient(110deg,#235cb9,#3548ae);border-color:#679bfb;color:white;box-shadow:0 5px 16px #071b4b40;font-weight:650}
body.entry-design #submit-entry:hover{background:linear-gradient(110deg,#2b6ed6,#485cc8)}
body.entry-design #save-draft{background:#493e70;border-color:#917fc2;color:#f4eeff}
body.entry-design #save-draft:hover{background:#5b4d87}
body.entry-design .form-actions>.button{min-height:48px}
body.entry-design .feedback:not(:empty){background:#233f59;border:1px solid #49758a;color:#d5f4ff;border-radius:9px;padding:12px}
body.entry-design .feedback.error{background:#572a40;color:#ffe3e9;border-color:#aa6178}
body.entry-design .badge{background:#334e6f;color:#dfedff}
body.entry-design .badge.submitted{background:#174e4f;color:#adf7e9}
body.entry-design .badge.draft{background:#594474;color:#f1dcff}
body.entry-design .daily-stock-line{border:1px solid #496084;border-radius:12px;background:#1c304d;padding:16px;margin:14px 0}
body.entry-design .daily-item-row{border-color:#43597b}
body.entry-design .daily-item-amount,body.entry-design .daily-stock-total{color:#a6e7ef}
body.entry-design .entry-form .service-date-card{background:linear-gradient(120deg,#163e53,#202e58);border-color:#4d88a3}
body.entry-design .service-live-clock{color:#b1d4ed}
body.entry-design .service-date-card .tr-date-display{color:#f3f6ff}
body.entry-design .service-weekday{color:#7fe2e9}
body.entry-design footer{color:#aabdd8;border-color:#344967}
body.entry-design :is(button,input,select,textarea):focus-visible{outline:3px solid #66e0ec;outline-offset:3px}
@media(max-width:900px){body.entry-design .entry-layout{grid-template-columns:minmax(0,700px);gap:18px}body.entry-design .entry-aside{width:100%}}
@media(max-width:600px){body.entry-design main{padding-inline:12px}body.entry-design .header{padding:12px;gap:10px}body.entry-design .identity{flex-wrap:wrap;gap:6px;justify-content:flex-end}body.entry-design .navigation{gap:16px;overflow-x:auto}body.entry-design .nav-button{white-space:nowrap}body.entry-design .entry-form{padding:16px;border-radius:14px}body.entry-design .entry-aside{padding:16px}body.entry-design .meal-field{grid-template-columns:minmax(0,1fr) 100px}body.entry-design .form-actions{gap:10px;flex-wrap:wrap}body.entry-design .form-actions>.button{min-width:120px}}

@media(max-width:900px){body.entry-design .entry-layout{grid-template-columns:minmax(0,1fr);gap:16px}body.entry-design .entry-aside{width:100%;max-width:none}}
@media(max-width:600px){body.entry-design .entry-form{padding:16px;border-radius:14px}body.entry-design .entry-aside{padding:16px}body.entry-design .navigation{gap:18px;overflow-x:auto;white-space:nowrap}body.entry-design .nav-button{flex-shrink:0}body.entry-design .header{justify-content:center}body.entry-design .identity{margin-inline:auto;flex-wrap:wrap;justify-content:center}body.entry-design .entry-form .section-heading{gap:8px}body.entry-design .entry-form .form-actions{flex-wrap:wrap}body.entry-design .entry-form .form-actions>.button{flex:1 1 140px}body.entry-design .daily-item-row{min-width:0}}

/* Referanstaki mavi, mor, turkuaz, yeşil ve sıcak renk vurguları. */
body.entry-design #submit-entry{background:linear-gradient(115deg,#086ec3,#3d55d5);border-color:#64b6ff;box-shadow:0 4px 16px #0069cc33}
body.entry-design #submit-entry:hover{background:linear-gradient(115deg,#0983dc,#546be8)}
body.entry-design #save-draft{background:linear-gradient(115deg,#7437af,#a43cab);border-color:#c88ee8;color:white;box-shadow:0 4px 16px #9f36bf30}
body.entry-design #save-draft:hover{background:linear-gradient(115deg,#8844c5,#bb4ec2)}
body.entry-design #refresh{background:linear-gradient(115deg,#087b85,#116d7d);border-color:#62d4d8;color:white}
body.entry-design #refresh:hover{background:linear-gradient(115deg,#09919c,#168495)}
body.entry-design .daily-stock-line>.button{background:linear-gradient(115deg,#137a45,#278137);border-color:#6bc789;color:white}
body.entry-design .daily-stock-line>.button:hover{background:linear-gradient(115deg,#168d50,#349a47)}
body.entry-design .daily-item-row .button{background:linear-gradient(115deg,#914261,#a34d45);border-color:#df9c9a;color:#fff3f2}
body.entry-design .daily-item-row .button:hover{background:linear-gradient(115deg,#a74e72,#b95c51)}
body.entry-design #project-select{border-left:5px solid #3b88eb;background:#eff6ff}
body.entry-design #customer-select{border-left:5px solid #aa67d6;background:#f8f2ff}
body.entry-design .meal-field{border-left:3px solid #4889df;border-radius:8px;padding-left:12px}
body.entry-design .meal-field:nth-child(4n+2){border-left-color:#9761d3}
body.entry-design .meal-field:nth-child(4n+3){border-left-color:#34b6b7}
body.entry-design .meal-field:nth-child(4n){border-left-color:#4bbf79}
body.entry-design .daily-stock-line{border-left:3px solid #46bc86}
body.entry-design .nav-button.active{color:#a8eaff;border-image:linear-gradient(90deg,#33bfd0,#5a8ce9,#b163d9) 1}
body.entry-design .button{transition:background .15s ease,box-shadow .15s ease}
body.entry-design .button:focus-visible{outline:3px solid #90e8e8;outline-offset:3px}

body.entry-design #account-button{background:linear-gradient(115deg,#965021,#a84c31);border-color:#e5a56b;color:#fff5e9}
body.entry-design #account-button:hover{background:linear-gradient(115deg,#ac5c27,#bc593b)}
body.entry-design .entry-form input:focus-visible,body.entry-design .entry-form select:focus-visible,body.entry-design .entry-form textarea:focus-visible{outline:3px solid #ebc65e;outline-offset:3px;border-color:#ae8c31}

@media(max-width:700px){
  .shell{width:100%;max-width:100%;min-width:0}
  main{width:100%;min-width:0;padding-left:12px;padding-right:12px}
  .header{flex-wrap:wrap;gap:10px;padding:12px}
  .identity,body.reports-compact .identity{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px 10px;max-width:100%;min-width:0;font-size:11px}
  .identity #user-label{overflow-wrap:anywhere}
  .navigation,body.reports-compact .navigation{display:flex;flex-wrap:wrap;gap:2px 14px;max-width:100%;overflow:visible;margin-bottom:10px}
  .nav-button,body.reports-compact .nav-button{min-height:40px;padding:8px 0;font-size:12px}
  body.reports-compact .toolbar{flex-direction:row;align-items:center;justify-content:space-between;gap:8px}
  body.reports-compact .toolbar>.date-tools{width:auto;flex:0 0 auto}
  body.reports-compact .toolbar h1{font-size:18px}
  .billing-dashboard{align-items:flex-start;gap:8px;padding:10px 12px}
  .billing-alert-details{flex:1 1 100%}
  .billing-dashboard>.button{margin-left:auto;min-height:40px}
}

/* PDF kaynaklı kurumsal yatay logo; oranı korunur. */
.brand{gap:10px;flex-wrap:wrap}.brand-logo{width:210px;height:88px;object-fit:contain;background:#fff;border-radius:8px;padding:5px;flex-shrink:1;max-width:100%}
.brand>span{font-size:11px;letter-spacing:.1em}.brand small{font-size:10px}
.login-intro .login-logo{width:280px;height:120px;object-fit:contain;background:#fff;border-radius:10px;padding:8px}
body.reports-compact .brand-logo{width:150px;height:60px;max-width:100%;object-fit:contain}
@media(max-width:600px){.brand-logo{width:180px;height:76px}.brand{gap:6px}.brand>span{width:100%;text-align:left}.login-intro .login-logo{width:250px;height:108px}body.reports-compact .brand-logo{width:144px;height:60px}}

/* Merkez: girilen stok miktarı ve ciroyu aynı kutuda göster. */
.center-overview{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;padding:16px 20px;margin-bottom:20px;background:linear-gradient(120deg,#edf3ff,#f3effa);border:1px solid #d1dcf0;border-radius:14px;box-shadow:0 4px 0 #d8e1ef}
.center-count-status{display:grid;gap:5px;color:#314e79}.center-count-status strong{font-size:17px}.center-count-status span{color:#71819b;font-size:12px}
.center-revenue-total{display:grid;gap:3px;text-align:right;color:#294d80}.center-revenue-total>span{font-size:10px;font-weight:650;letter-spacing:.06em}.center-revenue-total strong{font-size:26px;letter-spacing:-.025em;font-variant-numeric:tabular-nums}
.center-stock-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:10px 0 22px}
.center-stock-card{--card-start:#477fd2;--card-end:#244887;--card-edge:#1b3464;position:relative;isolation:isolate;overflow:hidden;min-width:0;padding:20px 22px;border:1px solid #ffffff70;border-radius:18px;background:linear-gradient(130deg,var(--card-start),var(--card-end));color:white;box-shadow:inset 0 1px 2px #ffffff70,inset 0 -2px 6px #0a183b30,0 6px 0 var(--card-edge),0 12px 20px #18345522}
.center-stock-card:before{content:'';position:absolute;inset:-80% -30% 45%;z-index:-1;transform:rotate(-12deg);border-radius:45%;background:linear-gradient(120deg,#ffffff30,#ffffff02);pointer-events:none}
.center-stock-code{font-size:10px;letter-spacing:.1em;opacity:.8}.center-stock-card h2{font-size:18px;font-weight:650;letter-spacing:-.015em;margin-top:3px;overflow-wrap:anywhere}
.center-stock-quantity{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;margin:13px 0 18px}.center-stock-quantity strong{font-size:42px;line-height:1.05;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-.04em}.center-stock-quantity>span{font-size:14px;opacity:.85}
.center-stock-revenue{border-top:1px solid #ffffff40;padding-top:12px;display:grid;gap:3px}.center-stock-revenue>span{font-size:11px;opacity:.85}.center-stock-revenue strong{font-size:23px;font-weight:600;letter-spacing:-.025em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.center-stock-revenue small{font-size:10px}
.center-color-1{--card-start:#9568c9;--card-end:#624291;--card-edge:#443169}.center-color-2{--card-start:#289eac;--card-end:#176271;--card-edge:#104958}.center-color-3{--card-start:#43996a;--card-end:#276944;--card-edge:#1b4d32}.center-color-4{--card-start:#cc8c4d;--card-end:#95532f;--card-edge:#6e3c23}.center-color-5{--card-start:#b36492;--card-end:#7e3c66;--card-edge:#5c2d4c}
.center-empty{grid-column:1/-1;padding:35px;text-align:center;border:1px dashed #b4c5df;border-radius:14px;background:#f0f5fc;color:#657d9c}.center-summary-note{margin-top:18px}
@media(min-width:1300px){.center-stock-cards{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:850px){.center-stock-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.center-stock-card{padding:16px}.center-stock-revenue strong{font-size:20px}}
@media(max-width:480px){.center-overview{padding:13px 14px}.center-revenue-total{width:100%;text-align:left}.center-revenue-total strong{font-size:24px}.center-stock-card{padding:14px 12px;border-radius:14px}.center-stock-card h2{font-size:15px}.center-stock-quantity{margin:12px 0}.center-stock-quantity strong{font-size:32px}.center-stock-quantity>span{font-size:11px}.center-stock-revenue strong{font-size:17px}}
@media(max-width:350px){.center-stock-cards{grid-template-columns:minmax(0,1fr)}}

.center-project-filter{display:flex;align-items:end;margin:0 0 16px}
.center-project-filter>label{width:100%;max-width:440px;font-size:12px;gap:6px}
.center-project-filter select{border:1px solid #b8cbe5;border-radius:10px;background:#fff;color:#294d80;font-weight:550;min-height:44px}
@media(max-width:600px){.center-project-filter>label{max-width:none}.center-project-filter select{font-size:16px}}

.center-project-filter{gap:16px;flex-wrap:wrap}
.center-project-filter>label.center-cumulative{display:flex;align-items:center;gap:8px;width:auto;max-width:none;min-height:44px;padding:8px 12px;border:1px solid #c9d7ed;border-radius:10px;background:#edf3ff;color:#31517f;cursor:pointer}
.center-cumulative input{width:18px;height:18px;min-height:18px;accent-color:#3e6dc1;margin:0}
@media(max-width:600px){.center-project-filter{gap:10px}.center-project-filter>label.center-cumulative{width:100%}}

/* Saatin tamamı aynı boyutta; merkez ekranında tarih kartı sayfa ortasında. */
.service-live-clock small{font-size:inherit;font-weight:inherit;line-height:inherit}
body:has(#center-view:not([hidden])) .toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center}
body:has(#center-view:not([hidden])) .toolbar>div:first-child{grid-column:1;min-width:0}
body:has(#center-view:not([hidden])) .toolbar>.date-tools{display:contents}
body:has(#center-view:not([hidden])) .toolbar .service-date-card{grid-column:2;grid-row:1;justify-self:center}
body:has(#center-view:not([hidden])) .toolbar #refresh{grid-column:3;grid-row:1;justify-self:end}
@media(max-width:900px){
 body:has(#center-view:not([hidden])) .toolbar{grid-template-columns:minmax(0,1fr);justify-items:center;text-align:center;gap:12px}
 body:has(#center-view:not([hidden])) .toolbar>div:first-child{width:100%;grid-column:1}
 body:has(#center-view:not([hidden])) .toolbar>.date-tools{display:flex;grid-column:1;justify-content:center;align-items:center;flex-wrap:wrap;width:100%}
 body:has(#center-view:not([hidden])) .toolbar .service-date-card{grid-column:auto;grid-row:auto;flex:0 1 340px}
 body:has(#center-view:not([hidden])) .toolbar #refresh{grid-column:auto;grid-row:auto}
}
