.fly-web-dialog body{min-height:100vh}.fly-web-dialog{color-scheme:light}.fly-web-dialog .dialog-shell{max-width:none}button,input,select,textarea{font-family:inherit}
@media(max-width:760px){.fly-web-dialog .dialog-main,.fly-web-dialog .dialog-content{overflow:auto}}
.web-nested-dialog{padding:0!important;width:96vw!important;height:94vh!important;max-width:96vw!important;max-height:94vh!important;border:1px solid #a9c8e2!important;overflow:hidden!important;background:white}.web-nested-dialog::backdrop{background:#133c6470}.web-nested-dialog iframe{width:100%;height:100%;border:0}
/* Shared routed-page presentation; modal editors and their close buttons are untouched. */
.fly-web-page body{margin:0;padding:0}
/* Same pointer highlight as Araçlarım on routed record tables, not dialogs/history. */
.fly-web-page:not([data-web-module="history"]) tbody tr:hover:not(.group-row):not(:has(td[colspan])):not(dialog tr){background:#b8daf7}
.fly-web-page body>.window,.fly-web-page #fly-history-preview,.fly-web-page #fly-history-preview .fh-shell{max-width:none;margin:0;border:0;border-radius:0;box-shadow:none}
.fly-web-page #fly-history-preview{padding:0}
.fly-web-page body>.app-head #closeButton,
.fly-web-page body>.topbar #closeTop,
.fly-web-page body>.dialog-header #headerClose,
.fly-web-page body>.dialog-footer #closeButton,
.fly-web-page body>footer #closeBottom,
.fly-web-page body>.window>.hero #closeButton,
.fly-web-page #fly-history-preview .fh-shell>.fh-heading #closeButton{display:none}
/* The invoice page already has FATURA YÖNETİMİ; keep bulk actions, not another FATURALAR title. */
.fly-web-page[data-web-module="invoices"] body>.layout>.workspace>.page-heading>div:first-child{display:none}
.fly-web-page[data-web-module="invoices"] body>.layout>.workspace>.page-heading{justify-content:flex-end}

/* Web routes use compact page chrome, not the large Excel dialog title area.
   Direct-child selectors deliberately exclude modal editors. */
.fly-web-page[data-web-module="leads"] body>.app-head,
.fly-web-page[data-web-module="invoices"] body>.topbar,
.fly-web-page[data-web-module="ledger"] body>.dialog-header,
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-shell>.fh-heading{height:48px;min-height:48px;padding:6px 12px;flex:none}
.fly-web-page[data-web-module="leads"] body>.app-head h1,
.fly-web-page[data-web-module="invoices"] body>.topbar h1,
.fly-web-page[data-web-module="ledger"] body>.dialog-header h1,
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-heading h2{font-size:22px;line-height:1.25;margin:0}
.fly-web-page[data-web-module="leads"] body>.app-head :is(.eyebrow,p),
.fly-web-page[data-web-module="invoices"] body>.topbar :is(small,p),
.fly-web-page[data-web-module="ledger"] body>.dialog-header :is(.eyebrow,p),
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-heading :is(.fh-eyebrow,.fh-heading-note){display:none}
.fly-web-page[data-web-module="ledger"] .header-copy{text-align:left}

/* Lead workspace: one available-height grid; only the record list and detail
   pane scroll. No fixed 500px minimum or second page scrollbar on desktop. */
.fly-web-page[data-web-module="leads"] body{display:flex;flex-direction:column;height:100dvh;min-height:0;overflow:hidden}
.fly-web-page[data-web-module="leads"] body>.app-head .button{min-height:32px;padding:5px 12px;font-size:14px}
.fly-web-page[data-web-module="leads"] body>.tabs{height:34px;min-height:34px;flex:none;padding:0 8px;overflow-x:auto}
.fly-web-page[data-web-module="leads"] body>.tabs .tab{padding:0 12px;font-size:14px;white-space:nowrap}
.fly-web-page[data-web-module="leads"] body>main{height:auto;flex:1;min-height:0;padding:6px 8px;overflow:hidden;display:flex;flex-direction:column}
.fly-web-page[data-web-module="leads"] main>.view{display:flex;flex:1;flex-direction:column;min-height:0;gap:6px}
.fly-web-page[data-web-module="leads"] main .kpis{flex:none;gap:10px;margin:0;border:0;background:transparent}
.fly-web-page[data-web-module="leads"] main .kpis article{display:block;min-height:78px;padding:12px 16px;border:1px solid var(--line);border-left:5px solid var(--blue);background:#fff}
.fly-web-page[data-web-module="leads"] main .kpis article.red{border-left-color:var(--red)}
.fly-web-page[data-web-module="leads"] main .kpis article.amber{border-left-color:var(--amber)}
.fly-web-page[data-web-module="leads"] main .kpis article.green{border-left-color:var(--green)}
.fly-web-page[data-web-module="leads"] main .kpis span{font-size:10px;color:var(--muted);font-weight:700}
.fly-web-page[data-web-module="leads"] main .kpis strong{font-size:26px;line-height:1.2;margin:4px 0 0}
.fly-web-page[data-web-module="leads"] main :is(.workspace,.call-grid,.performance-layout){grid-template-columns:minmax(0,1fr) 292px;gap:8px;flex:1;min-height:0;overflow:hidden}
.fly-web-page[data-web-module="leads"] main .list-pane{display:flex;flex-direction:column;min-height:0;min-width:0}
.fly-web-page[data-web-module="leads"] main .filters{flex:none;padding:4px;gap:5px;grid-template-columns:minmax(160px,1fr) 145px 160px 68px}
.fly-web-page[data-web-module="leads"] main .filters.offer-queue-filters{grid-template-columns:minmax(160px,1fr) 160px}
.fly-web-page[data-web-module="leads"] main #resultsView .filters{grid-template-columns:minmax(160px,1fr) 145px 170px}
.fly-web-page[data-web-module="leads"] main .filters :is(input,select,button){height:32px;min-width:0;padding:4px 7px;font-size:13px}
.fly-web-page[data-web-module="leads"] main :is(.table-wrap,.performance-table){flex:1;min-height:0;max-height:none;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.fly-web-page[data-web-module="leads"] main table{min-width:780px}
.fly-web-page[data-web-module="leads"] main th{height:28px;padding:5px 7px;font-size:11px;line-height:17px}
.fly-web-page[data-web-module="leads"] main td{padding:2px 7px;font-size:12px;line-height:15px;vertical-align:middle}
.fly-web-page[data-web-module="leads"] main td .muted{font-size:11px;line-height:15px}
.fly-web-page[data-web-module="leads"] main td .lead-tag{min-height:18px;padding:0 6px;font-size:11px;line-height:16px}
.fly-web-page[data-web-module="leads"] main td .status{padding:1px 6px;font-size:11px;line-height:16px}
.fly-web-page[data-web-module="leads"] main .detail-pane{min-height:0;max-height:none;padding:10px;overscroll-behavior:contain}
.fly-web-page[data-web-module="leads"] main .detail-head{padding-bottom:7px;margin-bottom:7px}
.fly-web-page[data-web-module="leads"] main .detail-meta{font-size:12px;gap:4px}
.fly-web-page[data-web-module="leads"] main .detail-actions{gap:5px;margin:8px 0}
.fly-web-page[data-web-module="leads"] main .button{min-height:30px;padding:5px 9px;font-size:13px}
.fly-web-page[data-web-module="leads"] main .section-head{flex:none;margin:0;padding:5px 9px;gap:10px}
.fly-web-page[data-web-module="leads"] main .section-head h2{font-size:16px;margin:0}
.fly-web-page[data-web-module="leads"] main .call-groups{flex:none;margin:0;gap:10px}
.fly-web-page[data-web-module="leads"] main .call-group{display:block;min-height:78px;padding:12px 16px;border-left-width:5px;margin:0}
.fly-web-page[data-web-module="leads"] main .call-group strong{margin:4px 0 0;font-size:26px}
.fly-web-page[data-web-module="leads"] main .call-group-hint{margin:0;flex:none}
.fly-web-page[data-web-module="leads"] main .funnel{overflow:auto;padding:10px}

/* The same single-line heading/search pattern as the normal web tables. */
.fly-web-page[data-web-module="leads"] body>.app-head{height:auto;min-height:48px;padding:8px;gap:12px;background:#fff;color:#155584;border-bottom:1px solid var(--line);flex-wrap:wrap}
.fly-web-page[data-web-module="leads"] .app-head>div:first-child{flex:none}
.fly-web-page[data-web-module="leads"] .app-head .head-actions{margin-left:auto;flex:none}
.fly-web-page[data-web-module="leads"] .app-head .sql-pill{color:var(--muted);border-color:var(--line);font-size:11px}
.fly-web-page[data-web-module="leads"] .app-head #newLeadButton{background:#0878c5;color:#fff;border:1px solid #0878c5;font-size:12px;height:32px}
.fly-web-page[data-web-module="leads"] .web-lead-search{flex:1;min-width:240px}
.fly-web-page[data-web-module="leads"] .web-lead-search .filters{display:flex;align-items:center;gap:6px;padding:0;border:0;background:transparent}
.fly-web-page[data-web-module="leads"] .web-lead-search input{flex:1;min-width:140px;height:32px;font-size:12px;border:1px solid #aacbed;border-radius:4px;padding:6px 10px;color:var(--text);background:white}
.fly-web-page[data-web-module="leads"] .web-lead-search select{flex:none;max-width:160px;height:32px;font-size:12px;border:1px solid #aacbed;border-radius:4px;padding:4px 7px}
.fly-web-page[data-web-module="leads"] .web-lead-search .button{font-size:12px;min-height:32px;height:32px;padding:5px 10px}
.fly-web-page[data-web-module="leads"] .web-lead-search[hidden],
.fly-web-page[data-web-module="leads"] .web-lead-search .filters[hidden]{display:none}
@media(max-width:900px){
 .fly-web-page[data-web-module="leads"] .web-lead-search{min-width:calc(100% - 230px)}
 .fly-web-page[data-web-module="leads"] .web-lead-search .filters{flex-wrap:wrap}
 .fly-web-page[data-web-module="leads"] .web-lead-search input{flex-basis:100%}
}

/* Invoice lists also fill the height recovered from the smaller heading. */
.fly-web-page[data-web-module="invoices"] body{display:flex;flex-direction:column;height:100dvh;min-height:0}
.fly-web-page[data-web-module="invoices"] body>.layout{height:auto;flex:1;min-height:0}
.fly-web-page[data-web-module="invoices"] body>footer{flex:none;height:32px}
.fly-web-page[data-web-module="invoices"] .workspace{display:flex;flex-direction:column;padding:8px;gap:6px;overflow:hidden}
.fly-web-page[data-web-module="invoices"] .workspace>.page-heading{flex:none}
.fly-web-page[data-web-module="invoices"] .workspace>.kpis{width:100%;max-width:900px;margin:0 auto;padding:13px;border-radius:18px;flex:none}
.fly-web-page[data-web-module="invoices"] .workspace>.kpis article{padding:10px 8px}
.fly-web-page[data-web-module="invoices"] .workspace>.kpis strong{font-size:24px;margin-top:8px}
.fly-web-page[data-web-module="invoices"] .workspace>.controls{flex:none;margin:0}
.fly-web-page[data-web-module="invoices"] .workspace>.table-wrap{flex:1;min-height:0;max-height:none}
.fly-web-page[data-web-module="invoices"] .workspace th{padding:6px 8px}
.fly-web-page[data-web-module="invoices"] .workspace td{padding:5px 8px}
.fly-web-page[data-web-module="invoices"] .workspace .status{padding:3px 8px}

/* Settings: compact page chrome, with navigation and content scrolling between
   the heading and persistent action bar. No setting or integration behavior changes. */
.fly-web-page[data-web-module="settings"] body{height:100dvh;min-height:0;overflow:hidden}
.fly-web-page[data-web-module="settings"] body>.window{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.fly-web-page[data-web-module="settings"] .window>.hero{min-height:48px;flex:none;padding:6px 12px;gap:12px;flex-direction:row;flex-wrap:wrap}
.fly-web-page[data-web-module="settings"] .hero .brand .mark,
.fly-web-page[data-web-module="settings"] .hero .brand small,
.fly-web-page[data-web-module="settings"] .hero .brand p{display:none}
.fly-web-page[data-web-module="settings"] .hero .brand h1{font-size:22px;line-height:1.25;margin:0}
.fly-web-page[data-web-module="settings"] .hero .hero-status{align-self:center;gap:7px;font-size:12px}
.fly-web-page[data-web-module="settings"] .hero .hero-status b{font-size:11px;padding:3px 7px;margin-left:4px}
.fly-web-page[data-web-module="settings"] .window>.layout{flex:1;min-height:0;overflow:hidden}
.fly-web-page[data-web-module="settings"] .layout>nav{min-height:0;overflow:auto;overscroll-behavior:contain;padding-top:8px;padding-bottom:8px}
.fly-web-page[data-web-module="settings"] .layout>main{min-height:0;overflow:auto;overscroll-behavior:contain;padding-bottom:16px}
.fly-web-page[data-web-module="settings"] .window>footer{position:static;flex:none;min-height:45px;padding:6px 12px;gap:8px;flex-direction:row;align-items:center;font-size:12px}
.fly-web-page[data-web-module="settings"] .window>footer>span{min-width:0;overflow-wrap:anywhere}
.fly-web-page[data-web-module="settings"] .window>footer>div{width:auto;flex:none;gap:6px}
.fly-web-page[data-web-module="settings"] .window>footer .button{min-height:32px;padding:5px 11px;font-size:12px;line-height:20px;white-space:nowrap}
@media(max-width:780px){
 .fly-web-page[data-web-module="settings"] .window>.layout{display:flex;flex-direction:column}
 .fly-web-page[data-web-module="settings"] .layout>nav{position:static;flex:none;padding:0}
 .fly-web-page[data-web-module="settings"] .layout>main{flex:1;min-height:0}
 .fly-web-page[data-web-module="settings"] .window>footer{flex-wrap:wrap}
 .fly-web-page[data-web-module="settings"] .window>footer>div{margin-left:auto}
}

/* User management occupies the routed workspace, not a centered dialog card.
   These rules never affect workFrame dialogs or account/permission behavior. */
.fly-web-page[data-web-module="users"] body{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden;background:#fff}
.fly-web-page[data-web-module="users"] body>.topbar{height:48px;min-height:48px;flex:none;padding:6px 12px}
.fly-web-page[data-web-module="users"] body>.topbar .brand-mark,
.fly-web-page[data-web-module="users"] body>.topbar .title-block>span,
.fly-web-page[data-web-module="users"] body>.topbar .title-block>p{display:none}
.fly-web-page[data-web-module="users"] body>.topbar h1{margin:0;font-size:22px;line-height:1.25}
.fly-web-page[data-web-module="users"] body>.tabs{height:34px;min-height:34px;flex:none;padding:0 8px}
.fly-web-page[data-web-module="users"] body>main{width:100%;max-width:none;margin:0;padding:0;flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.fly-web-page[data-web-module="users"] main>.tab-panel{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.fly-web-page[data-web-module="users"] main .user-toolbar{flex:none;gap:8px;margin:0;padding:8px;border-bottom:1px solid var(--line)}
.fly-web-page[data-web-module="users"] main .users-layout{flex:1;min-height:0;grid-template-columns:clamp(280px,26vw,400px) minmax(0,1fr);gap:0;overflow:hidden}
.fly-web-page[data-web-module="users"] main .card{border:0;min-height:0;display:flex;flex-direction:column;border-radius:0;box-shadow:none}
.fly-web-page[data-web-module="users"] main .card-head{flex:none}
.fly-web-page[data-web-module="users"] main .user-list-card,
.fly-web-page[data-web-module="users"] main .role-column,
.fly-web-page[data-web-module="users"] main .page-column{border-right:1px solid var(--line)}
.fly-web-page[data-web-module="users"] main .user-list{height:auto;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}
.fly-web-page[data-web-module="users"] main #userForm{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;overscroll-behavior:contain;padding-bottom:0}
.fly-web-page[data-web-module="users"] main #userForm>*{flex-shrink:0}
.fly-web-page[data-web-module="users"] main #userForm>.actions{position:sticky;bottom:0;z-index:1;margin-top:auto;padding:10px 0;background:#fff}
.fly-web-page[data-web-module="users"] main .role-layout{flex:1;min-height:0;grid-template-columns:clamp(240px,20vw,320px) minmax(300px,1fr) minmax(290px,1fr);gap:0;overflow:hidden}
.fly-web-page[data-web-module="users"] main .action-column{grid-column:auto}
.fly-web-page[data-web-module="users"] main :is(.managed-role-list,.page-permission-list,.action-permission-list,.session-list){height:auto;max-height:none;min-height:0;flex:1;overflow:auto;overscroll-behavior:contain}
.fly-web-page[data-web-module="users"] main .catalog-note,
.fly-web-page[data-web-module="users"] main .actions.sticky,
.fly-web-page[data-web-module="users"] main #roleMessage{flex:none}
.fly-web-page[data-web-module="users"] main .sessions-card{width:100%;max-width:none;margin:0;flex:1}
@media(max-width:900px){
 .fly-web-page[data-web-module="users"] main :is(.users-layout,.role-layout){display:flex;flex-direction:column;overflow:auto}
 .fly-web-page[data-web-module="users"] main .card{flex:none;overflow:visible}
 .fly-web-page[data-web-module="users"] main .user-list-card{max-height:260px;min-height:160px;border-right:0;border-bottom:1px solid var(--line)}
 .fly-web-page[data-web-module="users"] main .role-column,
 .fly-web-page[data-web-module="users"] main .page-column{border-right:0;border-bottom:1px solid var(--line)}
 .fly-web-page[data-web-module="users"] main #userForm{flex:none;overflow:visible}
 .fly-web-page[data-web-module="users"] main .page-permission-list{max-height:45dvh;flex:none}
 .fly-web-page[data-web-module="users"] main .action-permission-list{min-height:100px;flex:none}
 .fly-web-page[data-web-module="users"] main .sessions-card{flex:1;min-height:0;overflow:hidden}
 .fly-web-page[data-web-module="users"] .session-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
}

/* Vehicle history is one full-height work surface. The desktop detail column
   stays in the same place in empty, loading, filtered and selected states. */
.fly-web-page[data-web-module="history"] body{height:100dvh;min-height:0;overflow:hidden}
.fly-web-page[data-web-module="history"] #fly-history-preview{height:100%;min-height:0}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-shell{height:100%;display:flex;flex-direction:column;min-height:0}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-heading{position:static}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-car{flex:none;gap:14px;padding:10px 12px}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-car>div:first-child{display:flex;align-items:center;gap:8px 18px;flex-wrap:wrap;min-width:0}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-car-title{gap:7px;margin:0}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-car-title #chooseVehicle{order:1}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-car-title .fh-tag{order:2}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-plate-input{width:200px;height:36px;padding:5px 10px;font-size:18px;letter-spacing:.5px}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-car .fh-choose{height:36px;padding:6px 12px;font-size:13px;white-space:nowrap}
.fly-web-page[data-web-module="history"] #fly-history-preview #showHistory{background:#076bb7;color:#fff;border-color:#076bb7;font-weight:600}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-model{font-size:13px;overflow-wrap:anywhere}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-plate-help{display:none}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-mileage:empty{display:none}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-mileage{flex:none;min-width:0}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-toolbar{flex:none;padding:5px 12px;gap:5px;border-bottom:1px solid var(--fh-line)}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-filter{padding:6px 10px;font-size:13px;min-height:32px}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-filter:disabled{color:#7b8da0;background:transparent;border-color:transparent;cursor:default}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-grid{flex:1;min-height:0;gap:0;padding:0;align-items:stretch;overflow:hidden;grid-template-columns:minmax(0,1fr) 326px}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-grid>section{display:flex;flex-direction:column;min-height:0;min-width:0;padding:0 12px}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-list-title{flex:none;padding:7px 0;font-size:12px}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-list-title strong{font-size:13px}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-events{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-side{position:static;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0;border-left:1px solid #b9cfe2;background:#fbfdff}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-side .fh-detail{border:0;border-radius:0;box-shadow:none;background:transparent}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-side .fh-detail-head{position:sticky;top:0;z-index:1;background:#f0f6fc;padding:12px 16px}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-side .fh-detail-label{font-size:12px;letter-spacing:0}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-detail-placeholder{height:100%;display:flex;flex-direction:column;min-height:0}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-detail-placeholder .fh-detail-label{margin:0}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-side-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;color:#61788e}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-side-empty>.fh-icon{width:28px;height:28px;color:#7094b3;margin-bottom:12px}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-side-empty>strong{font-size:15px;font-weight:600;color:#385873}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-side-empty>p{font-size:13px;line-height:1.65;margin:8px 0 0;max-width:260px}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-event{padding-top:8px;padding-bottom:8px}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-dot:before{top:-9px;bottom:-9px}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-event:first-child .fh-dot:before{top:50%}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-event:last-child .fh-dot:before{bottom:50%}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-coverage{flex:none;padding:5px 0;font-size:12px}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-coverage:empty{display:none}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-footer{flex:none;min-height:28px;padding:5px 12px;font-size:11px}
.fly-web-page[data-web-module="history"] #fly-history-preview:not([data-history-state="ready"]) .fh-list-title{display:none}
.fly-web-page[data-web-module="history"] #fly-history-preview:not([data-history-state="ready"]) .fh-events{display:flex;align-items:center;justify-content:center}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-state{display:flex;flex-direction:column;align-items:center;text-align:center;max-width:430px;padding:28px 20px}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-state-icon{display:flex;align-items:center;justify-content:center;width:62px;height:62px;border-radius:50%;background:#edf5fc;color:#076bb7;margin-bottom:14px}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-state-icon .fh-icon{width:32px;height:32px}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-state>strong{font-size:19px;color:var(--fh-ink);font-weight:600}
.fly-web-page[data-web-module="history"] #fly-history-preview .fh-state>p{font-size:14px;line-height:1.6;margin:8px 0 0}
.fly-web-page[data-web-module="history"] #fly-history-preview[data-history-state="error"] .fh-state-icon{color:#b53f44;background:#fff0ef}
@media(max-width:760px){
 .fly-web-page[data-web-module="history"] #fly-history-preview .fh-car{flex-wrap:wrap;gap:7px}
 .fly-web-page[data-web-module="history"] #fly-history-preview .fh-toolbar{flex-wrap:nowrap;overflow-x:auto}
 .fly-web-page[data-web-module="history"] #fly-history-preview .fh-toolbar>button{flex:none}
 .fly-web-page[data-web-module="history"] #fly-history-preview .fh-grid{grid-template-columns:1fr}
 .fly-web-page[data-web-module="history"] #fly-history-preview .fh-side{display:none}
}

@media(max-width:1000px){
 .fly-web-page[data-web-module="leads"] main :is(.workspace,.call-grid,.performance-layout){grid-template-columns:minmax(0,1fr) 260px}
 .fly-web-page[data-web-module="leads"] main .filters{grid-template-columns:minmax(160px,1fr) 120px 135px 65px}
 .fly-web-page[data-web-module="leads"] main .kpis{grid-template-columns:repeat(4,minmax(0,1fr))}
 .fly-web-page[data-web-module="leads"] main .kpis article{padding:5px 8px}
}
@media(max-width:800px){
 .fly-web-page[data-web-module="leads"] body>main{overflow:auto}
 .fly-web-page[data-web-module="leads"] main>.view{flex:none;min-height:100%}
 .fly-web-page[data-web-module="leads"] main :is(.workspace,.call-grid,.performance-layout){display:flex;flex-direction:column;flex:none;overflow:visible}
 .fly-web-page[data-web-module="leads"] main :is(.table-wrap,.performance-table){max-height:54dvh;flex:auto;min-height:150px}
 .fly-web-page[data-web-module="leads"] main .filters,
 .fly-web-page[data-web-module="leads"] main #resultsView .filters{grid-template-columns:1fr 1fr}
 .fly-web-page[data-web-module="leads"] main .kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 .fly-web-page[data-web-module="leads"] main .detail-pane{overflow:visible}
}

/* Shared web column headings use the document's Turkish casing rules. */
html.fly-web-dialog table th{text-transform:uppercase}
