/* Kullanımı kolaylaştıran ortak düzen. İşlem ve veri kuralları değiştirilmez. */
:root{--ink:#202a30;--muted:#657279;--line:#dce2e3;--paper:#f4f6f5;--card:#fff;--green:#176744;--strong-green:#115535;--mint:#e4f1e9;font-family:"Segoe UI",Arial,sans-serif;font-size:16px}
body{background:var(--paper);color:var(--ink);line-height:1.5}
body:has(dialog[open]){overflow:hidden}
button,input,select,textarea{font-family:inherit}
button,a{touch-action:manipulation}
h1,h2,h3{color:#17242b;letter-spacing:-.025em;line-height:1.25}
h2{font-size:21px}h3{font-size:17px}
p{line-height:1.6}small{font-size:13px;color:#657279}
.btn{min-height:46px;padding:11px 18px;font-size:15px;font-weight:650;border-radius:8px;background:var(--green);box-shadow:none}
.btn:hover{background:#115535}.btn.secondary{color:#2b4146;background:#fff;border:1px solid #cfd9d7}
.btn.secondary:hover{background:#edf3ef}.btn.light{color:#155b3b;background:#e2f0e7}
.btn.small{min-height:44px;font-size:14px;padding:10px 15px}
.btn.danger{background:#a13e32;color:#fff}.btn:disabled{cursor:not-allowed}
.iconbtn{min-height:44px;min-width:44px}.help-button{font-size:14px!important}
input,select,textarea{min-height:48px;font-size:16px;border-radius:8px;border-color:#cbd5d6;line-height:1.4}
input[type=checkbox],input[type=radio]{min-height:22px;width:22px;height:22px;accent-color:var(--green)}
label{font-size:15px;font-weight:600;line-height:1.4;gap:8px}
.check{min-height:44px;align-items:center;font-size:15px;line-height:1.45}
.check input{margin:0}.check small{display:block}
input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #d59a3e;outline-offset:3px}
[hidden]{display:none!important}
.skip-link{position:fixed;top:-80px;left:20px;z-index:100;background:#fff;padding:12px}.skip-link:focus{top:8px}
.banner{padding:6px 20px;margin:0;background:#ece8d8;font-size:12px;line-height:1.4;text-align:center;color:#68624e}
.shell{max-width:none;margin:0;padding:0 32px 32px 252px}
.topbar{height:76px;gap:16px;border-bottom:1px solid #e1e6e5;justify-content:space-between;margin-bottom:0}
.topbar>.brand{display:none}.topbar-page{color:#53655d;font-size:14px;font-weight:600}
.topright{gap:12px;margin-left:auto}.branch-label{display:flex;gap:10px;align-items:center;font-size:13px;color:#63726b;font-weight:500}
.branch-select{font-size:14px;max-width:205px;min-height:42px;background:#fff;padding:8px 12px;border-radius:7px}
.nav{position:fixed;left:0;top:0;bottom:0;z-index:30;width:220px;display:flex;flex-direction:column;gap:4px;padding:22px 12px;background:#1c2b2a;border:0;overflow-y:auto;scrollbar-width:thin}
.nav button{display:flex;align-items:center;gap:12px;padding:12px 14px;min-height:48px;border-radius:8px;color:#d6e0db;font-size:15px;font-weight:550;white-space:normal;text-align:left}
.nav button.active{background:#176744;color:#fff}.nav button:hover:not(.active){background:#2c403b;color:#fff}.nav svg{width:20px;height:20px}
.nav-caption{display:block;padding:22px 14px 6px;color:#91a69d;font-size:10px;letter-spacing:1.5px;font-weight:700}
.reference-nav-brand{padding:0 12px 12px;font-size:20px;line-height:1.2}.reference-nav-brand svg{width:30px;height:30px}.reference-nav-brand small{font-size:8px;margin-top:5px}
.reference-nav-user{margin-top:auto;padding:24px 10px 0;line-height:1.4}.reference-nav-user small{font-size:11px}
.mobile-menu-button,.menu-close,.menu-shade,.bottomnav{display:none}
#main{min-width:0;max-width:1280px;margin:0 auto;outline:none}
.pagehead{padding:30px 0 24px;gap:20px;align-items:center}.pagehead h1{font-size:32px;font-weight:750;letter-spacing:-1px;margin:0}.pagehead p{font-size:15px;margin-top:8px;color:#5e6d68}
.pagehead .eyebrow{display:none}.pagehead>.actions{gap:10px;flex:none}
.actions{gap:10px;align-items:center}.row{gap:16px}.stack{gap:20px}
.footnote{font-size:11px;color:#7d8983;margin:26px 0 0}.panel{border:1px solid var(--line);border-radius:12px;box-shadow:0 2px 6px #18352504;margin-bottom:22px;background:#fff;overflow:hidden}
.panel-head{padding:20px 24px;border-color:#e5eae7;gap:12px}.panel-head h2{font-size:20px;margin:0}.panel-body{padding:24px}
.card{border:1px solid var(--line);border-radius:10px;padding:22px;box-shadow:none;background:#fff}
.searchbar{padding:12px 16px;margin:0 0 22px;border:1px solid #ccd8d2;border-radius:9px;min-height:54px;box-shadow:none}
.searchbar input{font-size:16px;min-width:0;min-height:30px;padding:0}.searchbar .key{display:none}.searchbar svg{color:#6b7b74}
.searchbar:focus-within{outline:2px solid #176744;outline-offset:1px}
.tabs{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 20px;padding:0;border:0;background:transparent;overflow:visible}
.tabs button{border:1px solid #d3ded8;background:#fff;border-radius:8px;color:#435b4c;font-size:14px;padding:10px 16px;min-height:44px}
.tabs button.active{color:#fff;background:#176744;border-color:#176744}
.notice{font-size:14px;line-height:1.6;border-radius:9px;padding:16px 18px}.notice:empty{display:none}
.simple-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:28px}
.simple-task{display:flex;min-height:128px;padding:24px;gap:16px;border:1px solid #d5dfd9;border-radius:12px;background:#fff;color:#214735;box-shadow:0 3px 8px #162a2005}
.simple-task strong{font-size:19px}.simple-task:first-child{background:#176744;color:#fff;border-color:#176744}
.simple-task-icon{width:50px;height:50px;flex:none;border-radius:10px;background:#eef5f0;display:grid;place-items:center}
.simple-task:first-child .simple-task-icon{background:#ffffff20}
.reference-home-grid{gap:22px;grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr)}
.simple-today-row{padding:22px 24px;font-size:15px}.simple-today-row .plate{font-size:15px}
.simple-today-row>strong{font-size:22px}.simple-alert{padding:18px;border-radius:9px;font-size:15px;margin:0 0 12px}.simple-alert strong{font-size:22px}
.stats{gap:16px;margin-bottom:24px}.stat{border:1px solid var(--line);background:#fff;border-radius:10px;padding:20px;box-shadow:none}.stat span{font-size:14px;color:#637369}.stat strong{font-size:28px;color:#173d2a}
table{width:100%;font-size:15px;border-collapse:collapse}thead th{background:#eff2f1;color:#4b5c54;font-size:13px;padding:16px 18px;text-align:left;white-space:nowrap}tbody td{padding:16px 18px;vertical-align:middle;border-color:#e4e9e6;font-size:15px;line-height:1.5}td small{margin-top:5px;display:block;font-size:13px}
tbody tr:nth-child(odd){background:#fff}tbody tr:nth-child(even){background:#e5f2e9}.tablewrap{overflow-x:auto}.tablewrap .btn{margin:4px 0}.tablewrap td .plate{margin-top:4px}
.plate{font-size:14px;letter-spacing:.04em;padding:5px 9px;white-space:nowrap}.plate:before{display:none;content:none}
.list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:8px 0 20px}.list-toolbar .tabs{margin:0}.result-count{color:#66766c;font-size:14px;white-space:nowrap}
.list-filter-label{display:flex;align-items:center;gap:14px;margin-bottom:22px;color:#5a6d60;font-size:15px}.list-filter-label select{max-width:350px;background:#fff}
.cell-value{min-width:0}.reference-guide{margin:22px 0;border:1px solid #dce4de;border-radius:10px;padding:0 20px;background:#fff}.reference-guide>summary{padding:16px 0;min-height:48px;cursor:pointer;font-size:15px;color:#526d5b;font-weight:600}.reference-steps{grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;padding:10px 0 22px}.settings-content{scroll-margin-top:20px}.settings-content .btn{flex-shrink:0;white-space:nowrap}
.page-vehicles{padding-top:28px}.customer-table-heading{padding:22px 24px 15px}.customer-table-heading h1{font-size:27px}.customer-table-heading .btn,.customer-table .btn{border-radius:7px;font-size:14px;min-height:44px;background:#176744}
.customer-table-toolbar{padding:6px 24px 22px;gap:14px}.customer-table-toolbar .searchbar{height:48px;min-height:48px;border-radius:7px}.customer-table-toolbar .searchbar input{font-size:15px}
.customer-status{width:210px}.customer-status select{height:48px;font-size:15px}.customer-table{font-size:15px}.customer-table th{font-size:13px;padding:15px 18px}.customer-table td{font-size:15px;padding:14px 18px;line-height:1.7}.customer-status-badge{font-size:13px}
.page-tires{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 16px}.page-tires>.pagehead{grid-column:1/-1;padding:28px 0 22px}.page-tires>.searchbar{grid-column:1;grid-row:2;margin-bottom:18px}.page-tires>.reference-season-filters{grid-column:2;grid-row:2}.page-tires>.tire-filter-panel,.page-tires>.tire-groups,.page-tires>.empty{grid-column:1/-1}
.reference-season-filters{gap:6px;align-items:flex-start}.reference-season-filters button{min-height:52px;font-size:14px;padding:11px 14px;border-radius:8px}
.tire-filter-panel{background:#fff;border-radius:9px;border:1px solid #dce4de}.tire-filter-panel>summary{font-size:14px!important;min-height:44px;display:flex;align-items:center;font-weight:600}
.page-tires .tire-groups{gap:12px}.page-tires .tire-group>summary{min-height:82px;padding:18px 20px;gap:22px}.page-tires .tire-group-summary{font-size:15px;gap:22px;flex:1}.page-tires .reference-tire-open{background:#e0f0e6;color:#155e3d;font-size:14px;padding:12px 16px;border-radius:7px;font-weight:700;min-height:44px;display:flex;align-items:center}.tire-group-content{padding:0 20px;background:#fff}.tire-group-item{padding:18px 0;gap:16px}.tire-item-spec strong{font-size:16px}.tire-item-spec span{font-size:14px}
.document-list{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}
.document-row{display:grid;grid-template-columns:44px minmax(180px,1fr) auto auto;gap:16px;align-items:center;padding:22px 24px;border-bottom:1px solid #dce3de;background:#fff}.document-row:nth-child(even){background:#e5f2e9}.document-row:last-child{border-bottom:0}.document-icon{width:42px;height:48px;border-radius:8px;background:#e7f0e9;color:#377750;display:grid;place-items:center}.document-identity h3{font-size:15px;margin:8px 0 3px;font-weight:600}.document-identity small{font-size:13px}.document-main-actions{display:flex;gap:8px}.document-row .pill{font-size:12px;padding:7px 10px}
.row-more{grid-column:2/-1;margin-top:-4px}.row-more summary{font-size:13px;color:#536c5c;cursor:pointer;padding:6px 0;width:max-content}.row-more[open]>.actions{padding-top:10px}
.settings-workspace{display:grid;grid-template-columns:290px minmax(0,1fr);gap:24px;align-items:start}.settings-topics{display:grid;gap:8px}.settings-topic{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #d7e0da;border-radius:10px;padding:16px;text-align:left;color:#345244;min-height:82px}.settings-topic>svg{width:23px;height:23px}.settings-topic>span:nth-child(2){flex:1}.settings-topic strong{display:block;font-size:16px}.settings-topic small{display:block;font-size:12px;line-height:1.5;margin-top:5px}.settings-topic.active{border-color:#176744;background:#e6f2e9;box-shadow:inset 4px 0 #176744}.settings-content .panel{margin:0}.settings-content .listrow{padding:18px 0}.settings-content p{font-size:14px!important}.settings-content .notice{margin-top:20px}
.reference-prep-toolbar{padding:18px 20px;background:#fff;border:1px solid var(--line);border-radius:10px;gap:18px}.reference-prep-date{gap:12px}.reference-prep-date strong{font-size:18px}.reference-prep-days button{font-size:14px;min-height:44px}.reference-prep-row{padding:18px 22px;gap:16px}.reference-prep-row>details>summary{gap:18px;min-height:70px}.reference-prep-row small{font-size:13px}.reference-prep-progress strong{font-size:15px}.reference-prep-location strong{font-size:15px}.reference-prep-customer .plate{font-size:15px}.reference-prep-filters{margin:20px 0;gap:16px}.reference-prep-filters .tabs,.reference-prep-filters .searchbar{margin:0}
.reference-prep-list>.reference-prep-row:nth-of-type(even){background:#e5f2e9}.reference-prep-list>.reference-prep-row:nth-of-type(odd){background:#fff}
.reference-extra,.advanced-actions,.history-section{border:1px solid #d7e1da;background:#f7f9f7;border-radius:9px;margin:20px 0;padding:0 18px}.reference-extra>summary,.advanced-actions>summary,.history-section>summary{padding:15px 0;color:#3e5c49;font-size:15px;font-weight:600;cursor:pointer;min-height:48px}.advanced-actions>.actions,.history-section>.actions{padding-bottom:18px}.history-section[open]{padding-bottom:20px}
.reference-calendar-bar{padding:18px}.reference-calendar-nav{gap:10px;flex-wrap:wrap}.reference-calendar-nav strong{font-size:16px}.reference-calendar-day strong{font-size:14px}.reference-calendar-day span{font-size:12px}.reference-calendar-grid{min-width:820px}.reference-calendar-ticket{padding:12px;font-size:14px;min-height:84px;text-align:left;border-radius:7px}.reference-calendar-ticket strong{font-size:15px}.reference-calendar-ticket small{font-size:12px}.reference-calendar-ticket span{font-size:12px}.mobile-agenda{display:none}
.season-cards{gap:16px}.season-cards>div{padding:22px;border-radius:10px;border-color:var(--line)}.season-cards strong{font-size:28px}.season-cards small{font-size:13px}
dialog{width:min(900px,calc(100vw - 48px));max-height:92dvh;border:0;border-radius:14px;padding:0;background:#fff;box-shadow:0 20px 90px #14251c35;color:var(--ink)}dialog::backdrop{background:#1427208a;backdrop-filter:blur(2px)}
.modal-head{padding:22px 26px;gap:20px;background:#fff;border-bottom:1px solid var(--line)}.modal-head h2{font-size:23px;margin:0}.modal-body{padding:26px;overflow-x:hidden}.modal-foot{padding:18px 26px;gap:12px;border-top:1px solid var(--line);background:#f7faf7;position:sticky;bottom:0;z-index:4;display:flex;justify-content:flex-end;flex-wrap:wrap}.modal-foot .btn{min-height:48px}.modal-body>.actions{margin:20px 0}.modal-body .listrow{padding:18px 0}.modal-body .grid2,.modal-body .grid3{gap:18px}
.modal-foot .intent-primary{background:#176744;color:#fff;font-size:16px}.modal-foot .btn.confirm-danger{background:#a13e32}
dialog:has(#wizard-next),dialog:has(#release-next){width:min(1000px,calc(100vw - 48px));max-height:94dvh;border-radius:14px}
.wizard-nav{display:flex;justify-content:space-between;gap:10px;overflow:visible;border-bottom:1px solid #e0e7e2;margin:0 0 24px;padding:0 0 20px}.wizard-nav span{display:flex;align-items:center;gap:8px;white-space:normal;color:#7a8780;font-size:13px;line-height:1.4}.wizard-nav b{display:grid;place-items:center;border:1px solid #d5dfd9;background:#fff;color:#7a8780;border-radius:50%;width:30px;height:30px;font-size:14px}.wizard-nav span.active{color:#145d3b;font-weight:750}.wizard-nav .active b{background:#176744;color:#fff;border-color:#176744}.wizard-intro{margin-bottom:4px}.wizard-intro h3{font-size:22px;margin-bottom:8px}.wizard-intro p{font-size:15px;color:#637369;margin-bottom:12px}
.tire-progress{font-size:15px;padding:7px 12px;background:#e6f1e9;border-radius:7px;color:#246343;font-weight:700}
#tire-forms .tire-form:not([hidden]){padding:20px;border-radius:12px;background:#fff;grid-template-columns:minmax(0,1fr) 220px;gap:20px;grid-template-areas:'title photo' 'fields photo' 'damage photo' 'check photo'}
#tire-forms .tire-form>.grid3{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.tire-form h3{font-size:20px}.tire-form .reference-sensor span{font-size:14px;padding:12px 6px}.tire-form .reference-sensor legend{font-size:15px}.tire-photo-button{font-size:14px}.tire-photo-title{font-size:15px}.tire-check .check{font-weight:750;font-size:16px;padding:14px;background:#eaf3ec;border:1px solid #a6cab1;border-radius:9px}
#copy-common,#copy-removed{min-height:54px;border:1px solid #84b797;background:#e0f0e6;color:#155e3b;font-size:16px;font-weight:750;margin-top:16px;width:100%}#copy-hint{font-size:13px!important;line-height:1.6;max-width:620px}.tire-photo-field small{line-height:1.5}
.reference-document{font-size:15px}.reference-document-summary p{font-size:14px}.reference-document-photo figcaption{font-size:13px}.reference-review-grid{gap:20px}.signature-pad{border:2px dashed #8aaa98;border-radius:9px;background:#fff;touch-action:none;width:100%;height:180px}.sig-head{margin:12px 0 8px}
.brand-picker-search{font-size:16px}.brand-picker-option{min-height:48px;font-size:15px}
.nav .menu-close{display:none}
.customer-summary{display:flex;gap:16px;align-items:center;background:#f0f6f2;padding:20px;border-radius:10px;margin-bottom:24px}.customer-summary>div{flex:1}.customer-summary strong{font-size:20px}.customer-summary p{margin:6px 0 0;font-size:15px}.customer-summary-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:50%;background:#d8ebdf;color:#176744;flex:none}
.section-heading{display:flex;justify-content:space-between;align-items:center;margin:26px 0 12px}.section-heading h3{margin:0;font-size:21px}.section-heading span{font-size:14px;color:#60746a}
.customer-vehicle-row{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:22px 0;border-bottom:1px solid #dce5df}.vehicle-row-info{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.vehicle-row-info>.plate{font-size:16px}.vehicle-row-info>strong{font-size:16px}.vehicle-row-tools{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.vehicle-row-tools .row-more{margin:0}.vehicle-row-tools .row-more>.actions{display:grid;gap:8px}
.tire-extra-fields{grid-area:extra;border:1px solid #d5e0d9;border-radius:9px;padding:0 14px}.tire-extra-fields summary{font-size:14px;min-height:46px;padding:12px 0;cursor:pointer;font-weight:600;color:#506957}.tire-extra-fields[open]>.grid2{padding:10px 0 16px}.tire-extra-fields .grid2{grid-template-columns:1fr 1fr}.tire-extra-fields fieldset{grid-column:1/-1}
#tire-forms .tire-form:not([hidden]){grid-template-areas:'title photo' 'fields photo' 'extra photo' 'damage photo' 'check photo'}
.tire-form .tire-photo-title small{display:block;font-weight:400;font-size:12px;margin-top:4px}.accept-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.accept-choice{background:#fff;border:1px solid #cddbd2;border-radius:10px;padding:22px;text-align:left;min-height:115px;color:#204831}.accept-choice strong{font-size:19px;display:block}.accept-choice span{font-size:14px;display:block;margin-top:8px;color:#62766a;line-height:1.5}.accept-choice:hover{background:#eaf4ed;border-color:#176744}
.tire-select{font-size:15px;gap:14px;padding:18px 0}.tire-select strong{font-size:16px}.tire-select small{font-size:14px;line-height:1.5}.tire-select select{font-size:15px;width:145px}
.release-bulk-action{padding:20px;gap:14px}.release-bulk-action strong{font-size:17px}.release-bulk-action small{font-size:13px}.release-bulk-buttons{gap:10px}.release-bulk-buttons .btn{flex:1;font-size:15px}
.release-bulk-buttons .btn.active{background:#176744;color:#fff;border-color:#176744}.tire-select:has(input[name=tire_ids]:checked){background:#edf5ef;border-radius:8px;padding-left:12px;padding-right:12px}
.booking-hour strong{font-size:19px}.booking-hour span{font-size:12px}.booking-selection{font-size:15px;padding:16px}.booking-exact small{font-size:13px}.booking-step p{font-size:14px}.booking-empty{font-size:14px}.summarybox{font-size:15px;line-height:1.7;padding:20px}.summarybox strong{font-size:23px}
.portal{max-width:740px;padding:32px 24px}.portal h1{font-size:32px;margin:30px 0 14px}.portal .brand{margin-bottom:30px}.portal .notice{font-size:13px}.portal .stack{margin-top:24px}.portal .card{margin-top:18px;padding:22px}.portal .card .plate{font-size:17px}
dialog[open]{display:flex;flex-direction:column;overflow:hidden}.modal-head{flex:none}.modal-body{flex:1;min-height:0;overflow-y:auto;max-height:none}.modal-foot #wizard-next,.modal-foot #release-next,.modal-foot button[type=submit]{order:2}.modal-foot [data-action=close]{order:1}.modal-foot #wizard-prev,.modal-foot #release-prev{order:0}
.modal-foot:has(#wizard-prev:not([hidden])) [data-action=close],.modal-foot:has(#release-prev:not([hidden])) [data-action=close]{display:none}
@media(min-width:1101px){.nav{padding-top:18px;gap:3px}.nav button{min-height:44px;padding:10px 14px}.nav-caption{padding-top:16px}.reference-nav-user{padding-top:18px}}
@media(min-width:1101px){.topbar .topright{margin-left:auto}.page-payments .stats{grid-template-columns:repeat(4,minmax(0,1fr))}.page-payments .stat-balance{border-color:#aac7b5;background:#f0f7f2}}
@media(min-width:1101px) and (max-width:1350px){.shell{padding-left:242px;padding-right:22px}.page-tires{grid-template-columns:1fr}.page-tires>.reference-season-filters{grid-column:1;grid-row:3;margin-bottom:14px}.page-tires .tire-group-summary{gap:12px}.reference-tire-icons{display:none}}
@media(max-width:1100px){
  .shell{padding:0 24px 100px;max-width:100%}.topbar{height:72px;position:relative}.topbar-page{display:none}.mobile-menu-button{display:inline-flex;min-height:44px;padding:9px 13px;font-size:15px;flex:none}.topright .tenant-name,.topright .user{display:none}.topright{gap:4px}.branch-label>span{display:none}.branch-select{max-width:210px;width:100%;font-size:14px}.logout-button{display:none}
  .nav{display:none;width:280px;max-width:85vw;z-index:60;padding:22px 14px;box-shadow:12px 0 50px #102c3520}.nav.menu-open{display:flex}.nav .menu-close{display:flex;font-size:14px;justify-content:flex-end;color:#c8d8d1;padding:8px 12px;min-height:42px}.menu-shade.visible{display:block;position:fixed;inset:0;background:#0c211c7a;z-index:50;width:100%;height:100%;border:0}.nav-caption{padding-top:14px}.reference-nav-user{padding-top:18px}
  .bottomnav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;inset:auto 0 0;z-index:35;gap:4px;padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #d8e2dc;box-shadow:0 -4px 18px #12351d08}.bottomnav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:55px;font-size:11px;color:#60736a;border-radius:8px;background:#fff;padding:6px 2px;line-height:1.2}.bottomnav button.active{color:#176744;background:#edf6f0;font-weight:750}.bottomnav .add{background:#176744;color:#fff;transform:none;width:auto;height:auto;border-radius:9px;font-size:11px}.bottomnav svg{width:22px;height:22px}.bottomnav button:last-child{font-size:20px;gap:1px}.bottomnav button:last-child span{font-size:11px}
  .simple-actions{gap:12px}.simple-task{padding:20px;min-height:110px;gap:10px}.simple-task strong{font-size:17px}.settings-workspace{grid-template-columns:250px minmax(0,1fr);gap:18px}.reference-home-grid{grid-template-columns:minmax(0,1.2fr) minmax(250px,1fr)}
}
@media(max-width:760px){
  .shell{padding:0 16px 100px}.banner{padding:6px 12px;font-size:11px}.topbar{height:68px;gap:8px}.topright{min-width:0;gap:3px}.branch-label{min-width:0}.branch-select{max-width:175px;min-width:0;font-size:13px;padding:8px}.topright .iconbtn{min-width:40px;width:40px}.mobile-menu-button{gap:7px;font-size:14px;padding:9px 11px}
  .pagehead{align-items:flex-start;flex-direction:column;gap:16px;padding:24px 0 20px}.pagehead h1{font-size:28px}.pagehead p{font-size:14px;margin-top:7px}.pagehead .actions{width:100%;display:flex;justify-content:flex-start}.pagehead .actions>.btn:not(.help-button){flex:1}.help-button{padding:10px 12px;font-size:13px!important;flex:none}.help-button svg{width:18px}
  .simple-actions{grid-template-columns:1fr;gap:10px;margin-bottom:22px}.simple-task{padding:18px;min-height:84px;justify-content:flex-start;gap:16px}.simple-task strong{font-size:18px}.simple-task-icon{width:46px;height:46px}.reference-home-grid{grid-template-columns:1fr;gap:0}.panel-head{padding:18px}.panel-head h2{font-size:19px}.panel-body{padding:18px}.panel{margin-bottom:20px}.simple-today-row{padding:18px;gap:14px}.simple-today-row .plate{font-size:14px}.simple-alert{font-size:14px;padding:16px}
  .searchbar{min-height:52px;padding:12px 14px;margin-bottom:18px}.searchbar input{font-size:16px}.tabs{gap:6px}.tabs button{font-size:13px;padding:9px 12px;min-height:44px}.actions{gap:8px}.btn{font-size:15px;min-height:48px}.btn.small{min-height:44px;font-size:14px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat{padding:16px}.stat strong{font-size:25px}.stat span{font-size:13px}
  .list-toolbar{align-items:flex-start;gap:10px}.result-count{font-size:12px;padding-top:12px}.list-filter-label{display:grid;gap:8px}.list-filter-label select{max-width:none;width:100%}
  .tablewrap,.customer-table-scroll{overflow:visible}.tablewrap table,.customer-table,.season-report table{min-width:0;width:100%}.tablewrap thead,.customer-table thead,.season-report thead{display:none}.tablewrap tbody,.customer-table tbody,.season-report tbody{display:grid;gap:0}.tablewrap tr,.customer-table tr,.season-report tr{display:grid;grid-template-columns:minmax(0,1fr);padding:16px;border-bottom:1px solid #cfdad3;background:#fff}.tablewrap tr:nth-child(even),.customer-table tr:nth-child(even),.season-report tr:nth-child(even){background:#e5f2e9}.tablewrap td,.customer-table td,.season-report td{display:grid;grid-template-columns:100px minmax(0,1fr);gap:10px;align-items:start;padding:6px 0;border:0;font-size:15px;white-space:normal;overflow-wrap:anywhere;min-width:0;line-height:1.5}.tablewrap td:before,.customer-table td:before,.season-report td:before{content:attr(data-label);font-size:12px;color:#607066;font-weight:600;padding-top:2px}.tablewrap td:last-child:has(.btn),.customer-table td:last-child{display:flex;justify-content:flex-end;padding-top:12px}.tablewrap td:last-child:has(.btn):before,.customer-table td:last-child:before{display:none}.customer-table td:first-child{font-size:18px;grid-template-columns:1fr;padding-bottom:10px}.customer-table td:first-child:before{display:none}.customer-table td .btn{min-height:46px;min-width:120px}.customer-status-badge{justify-self:start}.customer-table-page{overflow:hidden}.page-vehicles{padding-top:22px}.customer-table-heading{padding:18px 16px;gap:10px}.customer-table-heading h1{font-size:23px;display:flex;align-items:center;gap:8px}.customer-heading-icon{width:23px;height:23px;margin:0}.customer-table-heading .btn{font-size:13px;padding:10px;min-height:44px}.customer-table-toolbar{padding:0 16px 18px;flex-wrap:wrap;gap:10px}.customer-table-toolbar .searchbar{height:50px;flex-basis:100%}.customer-status{width:100%}.customer-status select{height:48px;font-size:15px}
  .page-tires{grid-template-columns:1fr;display:block}.page-tires>.pagehead{padding:24px 0 20px}.page-tires>.searchbar{margin-bottom:12px}.page-tires>.reference-season-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-bottom:16px}.reference-season-filters button{font-size:12px;padding:10px 4px;min-height:48px;display:flex;flex-direction:column;gap:4px}.page-tires .tire-group>summary{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:18px;min-height:0}.page-tires .tire-group-main{display:block}.page-tires .tire-group-main .plate{font-size:17px}.page-tires .tire-group-summary{width:100%;display:flex;flex-wrap:wrap;gap:10px 18px;font-size:15px}.page-tires .reference-tire-icons{display:none}.page-tires .reference-tire-open{width:100%;margin:4px 0 0;justify-content:center;font-size:15px}.reference-location-value{font-size:14px}.tire-group-content{padding:0 16px}.tire-group-item{display:flex;flex-wrap:wrap;gap:12px;padding:18px 0}.tire-item-spec{flex:1;min-width:180px}.tire-item-location{width:100%}.tire-group-item>.actions{width:100%}.tire-group-item .btn{flex:1}.tire-filter-grid{grid-template-columns:1fr}.tire-extra-actions .btn{width:100%}
  .document-search{gap:8px;flex-wrap:wrap}.document-search input{width:calc(100% - 85px);flex:1;min-width:130px}.document-search svg{display:none}.document-search .btn{min-height:44px;padding:9px 16px}.document-search .btn.secondary{width:100%}.document-row{grid-template-columns:38px minmax(0,1fr);padding:18px 16px;gap:12px}.document-icon{width:36px;height:42px}.document-row>.pill{grid-column:2;justify-self:start}.document-main-actions{grid-column:1/-1;display:flex}.document-main-actions>.btn{flex:1}.row-more{grid-column:1/-1;margin-top:0}.row-more>summary{min-height:44px;display:flex;align-items:center}.row-more .actions{display:grid;grid-template-columns:1fr}.document-identity h3{font-size:15px}
  .settings-workspace{display:block}.settings-topics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:20px}.settings-topic{padding:12px;gap:8px;min-height:74px}.settings-topic svg{width:19px;height:19px}.settings-topic strong{font-size:14px}.settings-topic small{display:none}.settings-topic>span:last-child{display:none}.settings-content .panel-head{align-items:center;flex-wrap:wrap}.settings-content .panel-head h2{font-size:19px}.settings-content .listrow.row{flex-wrap:wrap;align-items:flex-start;gap:10px}.settings-content .listrow .btn{min-height:44px}
  .reference-prep-toolbar{padding:16px;flex-direction:column;align-items:stretch}.reference-prep-date{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between}.reference-prep-date strong{font-size:16px;flex:1;text-align:center}.reference-prep-date label{width:100%;margin-top:6px}.reference-prep-date input{max-width:none;width:100%;font-size:16px}.reference-prep-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;width:100%}.reference-prep-days button{min-width:0;padding:8px 1px;font-size:12px;min-height:46px}.reference-prep-filters{gap:12px;flex-direction:column}.reference-prep-filters .tabs{gap:5px}.reference-prep-filters .tabs button{font-size:12px;padding:9px 10px;flex:1}.reference-prep-filters .searchbar{width:100%}.reference-prep-columns{display:none}.reference-prep-row{padding:18px;display:block}.reference-prep-row>details>summary{display:grid;grid-template-columns:1fr 1fr;gap:16px}.reference-prep-customer{grid-column:1/-1}.reference-prep-customer small{margin-top:7px}.reference-prep-customer .plate{font-size:17px}.reference-prep-progress{grid-column:1/-1}.reference-prep-scan{margin-top:14px}.reference-prep-scan .btn{width:100%;min-height:48px}.reference-prep-expanded{padding:14px 0}.reference-extra{padding:0 14px}.reference-extra>summary{font-size:14px}
  .reference-calendar-scroll{display:none}.reference-calendar-nav{display:grid;grid-template-columns:44px 1fr 44px;gap:10px;width:100%}.reference-calendar-nav>strong{font-size:13px;text-align:center;min-width:0}.reference-calendar-nav>.btn:nth-of-type(3){grid-column:1/-1}.reference-calendar-nav>label{grid-column:1/-1;display:block}.reference-calendar-nav input{width:100%;max-width:none;font-size:16px}.reference-calendar-bar{padding:16px}.reference-calendar-bar>span{display:none}.mobile-agenda{display:block;padding:16px}.agenda-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin:0 0 22px}.agenda-days button{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 1px;background:#f1f5f2;border:1px solid #d7e3db;border-radius:8px;color:#536a5d;min-height:61px;font-size:12px}.agenda-days strong{font-size:17px}.agenda-days button.active{background:#176744;color:#fff;border-color:#176744}.mobile-agenda h3{font-size:18px;margin-bottom:14px}.agenda-list{display:grid;gap:12px}.agenda-list .reference-calendar-ticket{width:100%;margin:0;min-height:100px;padding:18px;position:static;font-size:16px}.agenda-list .reference-calendar-ticket strong{font-size:19px}.agenda-list .reference-calendar-ticket span,.agenda-list .reference-calendar-ticket small{font-size:14px}.agenda-list .simple-empty{font-size:15px;padding:24px 12px}
  .season-cards{grid-template-columns:1fr;gap:10px}.season-cards>div{padding:18px}.reference-season-toolbar{gap:12px}.reference-season-search{width:100%}
  dialog,dialog:has(#wizard-next),dialog:has(#release-next){width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border-radius:0;padding:0}.modal-head,dialog:has(#wizard-next) .modal-head{padding:16px 18px;position:sticky;top:0;z-index:5;min-height:76px;gap:12px}.modal-head h2{font-size:20px;line-height:1.3}.modal-head .iconbtn{width:44px;flex:none}.modal-body,dialog:has(#wizard-next) .modal-body{padding:20px 18px;max-height:calc(100dvh - 76px);padding-bottom:24px}.modal-body .grid2,.modal-body .grid3{grid-template-columns:1fr;gap:18px}.modal-body .row{flex-wrap:wrap;gap:14px}.modal-body>.actions{display:grid;grid-template-columns:1fr}.modal-body>.actions .btn{width:100%}.modal-foot{padding:14px 18px calc(14px + env(safe-area-inset-bottom));margin-left:-18px!important;margin-right:-18px!important;gap:8px;bottom:0}.modal-foot .btn{flex:1;min-width:0;padding:12px 10px;font-size:14px;min-height:48px}.modal-foot .intent-primary{flex:2;font-size:15px}.modal-foot [data-action=close]{flex:none;background:transparent;border-color:transparent;padding:8px}.modal-foot .left{margin-right:0}
  .wizard-nav{background:#edf5ef;border:1px solid #d5e6da;border-radius:9px;padding:14px;margin-bottom:22px;overflow:visible;justify-content:flex-start}.wizard-nav span{display:none}.wizard-nav span.active{display:flex;font-size:16px;align-items:center;gap:10px}.wizard-nav .active:after{content:' / ' attr(data-step-total);font-size:13px;font-weight:500;color:#607a67;margin-left:4px}.wizard-intro h3{font-size:21px}.wizard-intro p{font-size:14px}.tire-progress{font-size:14px}
  #tire-forms .tire-form:not([hidden]){display:flex;flex-direction:column;gap:16px;padding:0;border:0;background:transparent}#tire-forms .tire-form>.grid3{grid-template-columns:1fr;gap:18px;margin-top:0!important}#tire-forms .tire-form>h3{font-size:20px}#tire-forms .tire-photo-field{margin:0;padding:16px}#tire-forms .tire-form>label{margin:0!important}.tire-check .check{font-size:16px;padding:14px}.tire-photo-actions{gap:8px}.tire-photo-actions .btn{font-size:14px}.tire-photo-field .reference-photo-preview{height:140px}#copy-common,#copy-removed{font-size:15px;line-height:1.4;padding:14px 16px}.advanced-actions>.actions{display:grid;grid-template-columns:1fr}.advanced-actions .btn{width:100%}.history-section{padding:0 14px}.history-section[open]{padding-bottom:18px}.signature-pad{height:190px}.reference-document-summary,.reference-review-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media(max-width:760px){.branch-select{width:144px;max-width:144px}.customer-summary{padding:16px;gap:12px;flex-wrap:wrap}.customer-summary-icon{width:40px;height:40px}.customer-summary strong{font-size:18px}.customer-summary>.btn{width:100%}.customer-vehicle-row{display:block;padding:20px 0}.vehicle-row-tools{margin-top:18px;align-items:stretch}.vehicle-row-tools .btn{width:100%}.vehicle-row-tools .row-more{align-self:stretch}.vehicle-row-tools .row-more>summary{width:100%}.customer-unit>summary{font-size:16px;padding:16px 12px}.tire-extra-fields{width:100%}.tire-extra-fields .grid2{grid-template-columns:1fr}.tire-select{display:grid;grid-template-columns:24px minmax(0,1fr);gap:12px;align-items:start}.tire-select select{grid-column:2;width:100%}.accept-choices{grid-template-columns:1fr;gap:12px}.accept-choice{min-height:100px;padding:20px}.accept-choice strong{font-size:18px}.release-bulk-action{padding:16px}.release-bulk-buttons{flex-direction:column}.release-bulk-buttons .btn{width:100%}.booking-hours{grid-template-columns:repeat(3,minmax(0,1fr))}.booking-exact{grid-template-columns:1fr}.customer-table td[data-empty=true]{display:none}.portal{padding:24px 18px}.portal h1{font-size:28px}.portal .brand{margin-bottom:24px}#toast{bottom:100px;max-width:calc(100vw - 32px);font-size:14px;line-height:1.5;z-index:90}.modal-body .notice{font-size:14px}}
@media(max-width:360px){.branch-select{width:120px;max-width:120px}.shell{padding-left:12px;padding-right:12px}.customer-table-heading h1{font-size:20px}.customer-table-heading .btn{font-size:12px;padding:10px 8px}.customer-table-heading{padding:16px 12px}.reference-prep-days button{font-size:11px}}
@media(max-width:760px){.modal-body,dialog:has(#wizard-next) .modal-body{max-height:none}.wizard-nav span.active{width:100%}.wizard-nav .active b{display:none}.wizard-nav .active:after{content:attr(data-step-index) ' / ' attr(data-step-total);margin-left:auto;white-space:nowrap}}
@media(max-width:760px){.topright .branch-select{width:144px;max-width:144px;font-size:14px;padding:8px 12px}.reference-steps{grid-template-columns:1fr;gap:12px}.cell-value small{display:block}}
@media(max-width:360px){.topright .branch-select{width:120px;max-width:120px;font-size:13px}}
@media(max-width:760px){.appointment-filter{display:flex;gap:12px;font-size:14px;margin:0 0 18px}.appointment-filter select{flex:1;width:auto;min-width:0;font-size:15px}.reference-calendar-nav{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.reference-calendar-nav>.btn:nth-of-type(1){grid-column:1}.reference-calendar-nav>strong{grid-column:2/6}.reference-calendar-nav>.btn:nth-of-type(2){grid-column:6}.reference-calendar-nav>.btn:nth-of-type(3){grid-column:1/3;font-size:13px}.reference-calendar-nav>label{grid-column:3/7}.reference-calendar-nav>label input{font-size:15px}}
.reference-tire-actions{display:flex;align-items:center;gap:10px;margin-left:auto;flex-shrink:0}.page-tires .reference-tire-actions .reference-tire-open{margin:0}.page-tires .tire-mount-button{white-space:nowrap;background:#176744;color:#fff;min-height:44px}
.signature-screen-mode[open]{height:min(720px,94dvh);overflow:hidden}.signature-screen-mode>.modal-head,.signature-screen-mode>.modal-body,.signature-screen-mode>.modal-foot{display:none!important}.signature-screen{display:flex;flex-direction:column;flex:1;min-height:0;padding:24px;gap:18px;overflow:hidden;background:#fff}.signature-screen header{flex:none}.signature-screen h2{font-size:24px;margin:0 0 8px}.signature-screen header p{font-size:15px;margin:0;color:#607368}.signature-screen-pad{position:relative;flex:1;min-height:0;display:flex;flex-direction:column}.signature-screen-pad>div:first-child{display:flex;flex-direction:column;flex:1;min-height:0}.signature-screen .sig-head{margin:0 0 8px;flex:none}.signature-screen .signature-pad{flex:1;height:auto;min-height:0;width:100%;touch-action:none}.signature-screen-pad small{font-size:13px;flex:none}.signature-start-cover{position:absolute;inset:40px 0 24px;display:grid;place-items:center;background:#f0f5f0ef;border-radius:9px}.signature-screen footer{display:flex;justify-content:space-between;gap:12px;flex:none}.signature-screen footer .btn{min-height:48px}
@media(max-width:760px){dialog.signature-screen-mode[open]{height:100dvh;max-height:100dvh;width:100%;margin:0;border-radius:0}.signature-screen{padding:20px 18px calc(18px + env(safe-area-inset-bottom));gap:16px}.signature-screen h2{font-size:22px}.signature-screen header p{font-size:14px}.signature-screen footer .btn{flex:1}.signature-screen footer .btn:last-child{flex:2}}
@media(max-width:1100px){.page-tires .tire-group-summary{flex-wrap:wrap}}
@media(max-width:760px){.reference-tire-actions{width:100%;margin:4px 0 0;gap:8px}.page-tires .reference-tire-actions .reference-tire-open{width:auto;flex:1;min-width:0;padding:12px 10px;font-size:14px}.page-tires .tire-mount-button{flex:1;min-width:0;min-height:46px;padding:12px 10px;font-size:14px}}

/* Müşteri ve lastik listelerinde markanın açık yeşil tonu. */
.page-vehicles .customer-table tbody tr:nth-child(even),
.page-tires .tire-group:nth-child(even)>summary{background:#e5f2e9}
@media print{.mobile-agenda,.nav,.bottomnav,.topbar,.banner,.menu-shade,.help-button,.skip-link{display:none!important}.shell{padding:0}.pagehead{padding:0 0 16px}.reference-calendar-scroll{display:block}.tablewrap table,.customer-table,.season-report table{display:table}.tablewrap thead,.customer-table thead,.season-report thead{display:table-header-group}.tablewrap tbody,.customer-table tbody,.season-report tbody{display:table-row-group}.tablewrap tr,.customer-table tr,.season-report tr{display:table-row}.tablewrap td,.customer-table td,.season-report td{display:table-cell;padding:8px}.tablewrap td:before,.customer-table td:before,.season-report td:before{display:none}.tablewrap .btn,.customer-table .btn{display:none}}
