/* APIM CRM V10.9 | NOT1..11 | kontrollu tipografi, form, filtre, tarih */
:root { --apim-ui-text:#243b4b; --apim-ui-muted:#405669; }
body.authenticated { font-size:15px; line-height:1.48; }
body.authenticated :where(.panel,.modal-card,.work-dialog,.subscriber-card,.subscriber-tab-panel,.payment-plan-card,.historical-row,.v1086a3-ledger-panel,.v1084-task-center) { font-size:15px; }
body.authenticated :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea) { font-size:15px; min-height:40px; color:#172f42; }
body.authenticated :where(button,.filter-btn,.compact-action,.subscriber-tab-btn,.nav-item) { font-size:14px; line-height:1.4; }
body.authenticated :where(.panel-head p,.hint,.empty-state,.eyebrow,.subscriber-card p) { font-size:14px; line-height:1.5; }
body.authenticated :where(.payment-row small,.collection-work-row small,.subscription-row small,.subscription-contract-row small,.historical-row small,.v1084-task small,.v1084-assignees,.v1086a3-ledger-panel small,.v108453-row small) { font-size:13px!important; line-height:1.45; color:var(--apim-ui-muted); }
body.authenticated :where(.info-kv span,.detail-metrics span,.technical-summary-grid span,.technical-list-row,.daily-work-row small,.v1084-control-badge,.v1084-pill,.plan-main small,.plan-channel span,.plan-paid span,.plan-balance span,.renewal-event p,.rate-history-row small,.projection-month small,.daily-metric-button span,.collection-work-summary span) {font-size:13px!important;line-height:1.45;letter-spacing:normal;}
body.authenticated :where(.info-kv strong,.technical-summary-grid strong,.plan-main strong,.plan-channel strong,.plan-paid strong,.plan-balance strong,.subscription-period strong,.work-item-row small) {font-size:15px!important;line-height:1.4;}
body.authenticated :where(.compact-action,.plan-detail-payments>div,.v1086fix2-badge,.v108453-field>span,.v1084-control-chip,.v1084-task,.v108453-info,.v108453-row) {font-size:14px!important;line-height:1.45;}
body.authenticated :where(.historical-row,.opening-row,.subscription-row,.collection-work-row,.payment-row,.subscriber-card,.v1084-task) { min-height:54px; }
body.authenticated :where(.form-grid label,.two-col label,.three-col label,.modal-card label,.v1086fix2-form-grid label) {font-size:14px;line-height:1.5;}
body.authenticated :where(.hint,.v1087f1-note,.v1087f1-price-box small,.v108453-info,.equipment-section-head span) {font-size:13px!important;line-height:1.5;}
body.authenticated :where(.modal-card,.work-dialog-card) { max-width: min(1100px,96vw); }
body.authenticated :where(input,textarea,select):focus-visible,body.authenticated :where(button):focus-visible {outline:2px solid #267eb5;outline-offset:2px;}
body.authenticated #subscriber-list {grid-template-columns:repeat(auto-fit,minmax(min(255px,100%),1fr));gap:10px;}
body.authenticated #subscriber-list .subscriber-card {text-align:left;padding:13px 14px;min-height:106px;}
body.authenticated #subscriber-list .subscriber-card h3 {font-size:16px;line-height:1.3;margin:5px 0;}
body.authenticated #subscriber-list .subscriber-card p {margin:4px 0;}
body.authenticated #subscriber-list .center-number {font-size:20px;}
body.authenticated #historical-subscription-form :where(input,select) {min-height:42px;}
body.authenticated #historical-subscription-form .v1087f1-grid {gap:12px;}
body.authenticated #v1086fix2-billing-dialog,body.authenticated #v1086fix2-sync-dialog,body.authenticated #v1086a3-invoice-dialog {width:min(740px,96vw);}
body.authenticated :where(#v1086fix2-billing-dialog,#v1086fix2-sync-dialog,#v1086a3-invoice-dialog) .modal-card {padding:20px 22px;max-width:100%;width:100%;box-sizing:border-box;}
body.authenticated :where(#v1086fix2-billing-dialog,#v1086fix2-sync-dialog,#v1086a3-invoice-dialog) label {display:flex;flex-direction:column;gap:6px;margin:9px 0;font-size:15px;}
body.authenticated :where(#v1086fix2-billing-dialog,#v1086fix2-sync-dialog,#v1086a3-invoice-dialog) .v1086fix2-form-grid {display:grid;grid-template-columns:1fr 1fr;gap:12px;}
body.authenticated :where(#v1086fix2-billing-dialog,#v1086fix2-sync-dialog,#v1086a3-invoice-dialog) .hint {background:#f2f7fb;border-radius:9px;padding:10px 12px;}
/* NOT5/10: Tek tarih kutusu; yerel takvim simgesi date alanının sağında kalır. */
.apim-date-shell {position:relative;display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box;}
body.authenticated .apim-date-shell>input.apim-date-native[type="date"] {
  display:block;width:100%!important;max-width:100%!important;min-width:0!important;
  box-sizing:border-box;color:transparent!important;caret-color:transparent;
}
.apim-date-shell>input.apim-date-native[type="date"]::-webkit-datetime-edit {opacity:0;}
.apim-date-shell>input.apim-date-native[type="date"]::-webkit-calendar-picker-indicator {opacity:1;cursor:pointer;position:relative;z-index:2;}
body.authenticated .apim-date-shell>input.apim-date-display[type="text"] {
  box-sizing:border-box;position:absolute!important;top:1px;left:1px;
  width:calc(100% - 39px)!important;max-width:none!important;min-width:0!important;
  height:calc(100% - 2px)!important;min-height:0!important;
  padding:0 8px!important;margin:0!important;border:0!important;box-shadow:none!important;
  background:transparent!important;border-radius:0!important;outline:0!important;
  color:#172f42!important;font:inherit;font-size:15px!important;letter-spacing:0;
}
.apim-date-shell:focus-within>input.apim-date-native[type="date"] {outline:2px solid #267eb5;outline-offset:1px;}
.apim-date-shell.apim-date-error>input.apim-date-native[type="date"] {outline:2px solid #c23a31;outline-offset:0;}
.apim-date-shell>input.apim-date-display::placeholder {color:#617588;opacity:1;}
/* Filtreler sadece görünüm süzer, toplam hesapları değiştirmez. */
.apim11-filter-bar {display:flex;align-items:end;gap:9px;flex-wrap:wrap;margin:10px 0 13px;padding:10px 12px;border:1px solid #d7e4ed;border-radius:10px;background:#f7fbfd;}
.apim11-filter-bar label {display:grid;gap:4px;color:#41586a;font-size:13px;font-weight:700;min-width:150px;}
body.authenticated .apim11-filter-bar :where(input,select) {min-height:38px;font-size:14px;}
.apim11-filter-bar output {margin-left:auto;color:#41586a;font-size:13px;font-weight:650;}
.apim11-filter-hidden {display:none!important;}
/* Kullanıcı odakta iken eskiden kaybolan satırlara tutarlı scroll anchoring. */
#subscriber-list,#subscription-accruals,#collection-work-list,#finance-all-payments {overflow-anchor:none;}
/* Silme penceresi tabloları kullanıcı diliyle; kod değiştirilmez. */
#fix12-safe-delete-dialog {width:min(920px,96vw);max-width:96vw;}
#fix12-safe-delete-dialog>.modal-card {width:100%!important;max-width:none!important;box-sizing:border-box;font-size:15px!important;line-height:1.55;}
#fix12-safe-delete-dialog #fix12-preview li,#fix12-safe-delete-dialog #fix12-special-status li,#fix12-safe-delete-dialog #fix12-h0001-status li {font-size:15px;line-height:1.5;padding:2px 0;}
#fix12-safe-delete-dialog .modal-head .eyebrow {letter-spacing:normal;}
#fix12-safe-delete-dialog :where(input,button) {font-size:15px!important;}
@media(max-width:770px){body.authenticated :where(#v1086fix2-billing-dialog,#v1086fix2-sync-dialog,#v1086a3-invoice-dialog) .v1086fix2-form-grid {grid-template-columns:1fr;} .apim11-filter-bar label{width:100%} .apim11-filter-bar output{margin-left:0}}

/* V10.9.1 NOT7: kartın 30 sn önbellek yenilemesinde sayfa kaymasını azalt. */
#subscriber-detail-dialog .subscriber-finance-hero:not(.empty-finance) > .apim-fix10-period-card { min-height:92px; box-sizing:border-box; }
#subscriber-detail-dialog:has(.apim-fix10-period-card[data-status="loading"]) .apim-fix9-current-period { display:none!important; }
