html.mmg-record-page body table.mmg-record-grid td[data-record-minwidth] :is(input:not([type=checkbox]),select){width:100%!important;min-width:var(--record-field-width)!important}
.mmg-record-toolbar{display:flex;align-items:center;gap:6px;padding:4px 0 4px;flex-wrap:wrap}.mmg-record-toolbar button{min-height:44px;padding:6px 12px}.mmg-record-toolbar [role=status]{font-size:12px}.mmg-record-toolbar [data-error=true]{color:var(--red,#b42318)}
html.mmg-record-page body .mmg-record-toolbar>[role=status]{order:99;margin-left:0!important}html.mmg-record-page body .mmg-record-toolbar>button{margin-left:0!important}html.mmg-record-page body .mmg-record-toolbar>.mmg-grup-serit{order:98}
html.mmg-record-page body>.masthead :is(h1,.subtitle){display:none!important}html.mmg-record-page body>.masthead{padding-top:4px!important;padding-bottom:4px!important;min-height:0!important}html.mmg-record-page body main .record-main-panel{background:transparent!important;box-shadow:none!important}
html.mmg-record-page body .mmg-record-toolbar{padding:4px!important;box-sizing:border-box}html.mmg-record-page body .mmg-record-toolbar>button{order:2}html.mmg-record-page body .mmg-record-toolbar>.mmg-record-save{order:0}html.mmg-record-page body .mmg-record-toolbar>.mmg-record-add{order:1}html.mmg-record-page body .mmg-record-toolbar>.movement-date-tools{order:-1}
html.mmg-record-page body .mmg-record-toolbar>button{display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;line-height:normal!important;white-space:nowrap!important;gap:4px}
html.mmg-record-page body main{display:block!important;width:100%!important;max-width:none!important;margin:0!important}
html.mmg-record-page #kdCashSidebar,html.mmg-record-page #kdWorkspaceStatus,html.mmg-record-page #kdKpi,html.mmg-record-page #kKpi,html.mmg-record-page main>.panel:has(#kdKasaSec),html.mmg-record-page main>.panel:has(#kdTarih),html.mmg-record-page #tab-kartlar>.panel:has(#kBanka){display:none!important}
html.mmg-record-page .panel:has(#kdGovde)>.kd-filtre,html.mmg-record-page .panel:has(#kListe)>.btn-row{display:none!important}
html.mmg-record-page .panel:has(#kdGovde),html.mmg-record-page .panel:has(#kListe){padding:4px!important;margin:0!important;border-radius:0!important;box-shadow:none!important}
html.mmg-record-page main>.tabs,html.mmg-record-page .mmg-gorev-sekmeleri{margin-top:0!important;margin-bottom:0!important;padding-block:0!important}
html.mmg-record-page body main .record-main-panel>:not(.table-wrap):not(.mmg-fixed-actions):not(.mmg-record-toolbar):not(.mmg-grid-paste-hint):not(.record-output-tools){display:none!important}
.record-row-actions[hidden]{display:none!important}.record-row-actions{display:inline-flex;gap:3px}
.record-cash-manager{width:min(640px,calc(100vw - 24px));max-height:85dvh;overflow:auto;box-sizing:border-box;border:1px solid var(--hairline);border-radius:10px;background:var(--surface,#fff);color:var(--text);padding:12px}.record-cash-manager::backdrop{background:#0008}.record-cash-manager>.panel{display:block!important;padding:4px!important}.record-cash-manager button,.record-cash-manager input,.record-cash-manager select{min-height:44px!important;font-size:16px!important;max-width:100%;box-sizing:border-box}.record-cash-manager .kd-form{flex-wrap:wrap}.record-cash-manager [hidden]{display:none!important}
html.mmg-record-page body table.mmg-record-grid td input:not([type=checkbox]),html.mmg-record-page body table.mmg-record-grid td select{min-width:110px!important;max-width:none!important;font-size:16px!important;height:32px!important;min-height:32px!important}
@media(max-width:600px){html.mmg-record-page body table.mmg-record-grid td input[type=date]{min-width:122px!important;width:122px!important}html.mmg-record-page body table.mmg-record-grid td input[data-record-field=aciklama]{min-width:76px!important;width:76px!important}html.mmg-record-page body table.mmg-record-grid td input[data-record-field=tutar]{min-width:88px!important;width:88px!important}}
table.mmg-record-grid{--mmg-index-padding:0px;border-collapse:collapse;width:100%;table-layout:auto}.mmg-record-grid th{font-family:inherit!important;text-align:center;white-space:nowrap;font-size:13px!important;font-weight:600!important;text-transform:none!important;letter-spacing:normal!important}.mmg-record-grid td{height:32px!important;min-height:0!important;padding:0!important;border:1px solid var(--hairline,#ccd3dd)}
.mmg-record-grid td input:not([type=checkbox]),.mmg-record-grid td select{display:block;width:100%;min-width:110px;min-height:32px;border:0;border-radius:0;box-sizing:border-box;padding:3px 6px;font:inherit;color:var(--text);background:transparent}.mmg-record-grid td input[type=date]{min-width:140px}.mmg-record-grid td select option{color:var(--text);background:var(--surface,#fff)}
.mmg-record-grid .record-actions{white-space:nowrap}.record-actions button{min-width:34px;min-height:32px;border:0;background:transparent;color:var(--text)}
html.mmg-record-page .masthead .subtitle,html.mmg-record-page .masthead .top-actions{display:none!important}html.mmg-record-page .masthead{padding:8px 0!important;min-height:0!important}html.mmg-record-page .masthead .title{font-size:20px!important;text-align:center!important;margin:0!important}html.mmg-record-page .mast-inner{display:block!important;min-height:0!important}html.mmg-record-page main{padding-top:4px!important}
html.mmg-record-page .record-old-form,html.mmg-record-page .record-old-tools{display:none!important}html.mmg-record-page body main .record-main-panel{padding:8px!important;margin-top:0!important}.record-main-panel>.panel-title{display:none}
@media(max-width:600px){.mmg-record-grid .record-mobile-hidden{display:none!important}.mmg-record-grid td input:not([type=checkbox]),.mmg-record-grid td select{font-size:16px!important;min-height:32px}.record-actions button{min-width:44px;min-height:44px}html.mmg-record-page .masthead .title{font-size:18px!important}.mmg-record-toolbar{flex-wrap:wrap}.mmg-record-toolbar [role=status]{flex:1 0 100%;line-height:18px}.mmg-record-toolbar [role=status]:empty{display:none}.mmg-record-grid{font-size:13px}html.mmg-record-page body main .record-main-panel{border-radius:0!important;border:0!important;padding:2px!important}html.mmg-record-page main{padding:0 6px!important}.mmg-record-page .panel-desc,html.mmg-record-page .mmg-tavsiye-uyari{display:none!important}}

.record-output-tools{display:flex;gap:6px;flex-wrap:wrap;padding:6px 0}.record-output-tools button{min-height:44px}.record-output-tools>div:empty{display:none}

.mmg-record-grid .record-remove-cell{position:sticky!important;right:0!important;z-index:6!important;background:var(--surface,#fff)!important;background-clip:border-box!important;box-shadow:-2px 0 3px #0002!important;width:32px!important;min-width:32px!important;max-width:32px!important;padding:0!important;text-align:center}.mmg-record-grid thead .record-remove-cell{z-index:8!important;background:var(--mmg-grid-header-bg,#193d60)!important;color:var(--mmg-grid-header-ink,#fff)!important}.mmg-record-grid .mmg-row-remove{display:block;width:100%;min-width:32px;height:32px!important;min-height:0!important;margin:0!important;padding:0!important;border:0;border-radius:0;background:transparent;color:var(--text);font:20px/1 Arial,sans-serif;cursor:pointer}.mmg-record-grid .mmg-row-remove:hover{background:var(--surface-2,#8882)}.mmg-record-grid .mmg-row-remove:disabled{opacity:.45;cursor:default}@media(max-width:600px){html.mmg-record-page table.mmg-record-grid .mmg-index-column,.mmg-record-grid [data-record-select]{min-width:24px!important;white-space:nowrap!important;overflow-wrap:normal!important;text-align:center}.mmg-record-grid .record-remove-cell{width:36px!important;min-width:36px!important}}

/* Grid choices reveal their native affordance on interaction. */
.mmg-record-grid select:not(:focus){appearance:none;background-image:none!important}
.mmg-record-grid select[data-record-empty="true"]:not(:focus){appearance:none;background-image:none!important;color:transparent!important}
.mmg-record-grid input[type="date"][data-record-empty="true"]:not(:focus){color:transparent!important}
.mmg-record-grid input[type="date"][data-record-empty="true"]:not(:focus)::-webkit-datetime-edit,.mmg-record-grid input[type="date"][data-record-empty="true"]:not(:focus)::-webkit-calendar-picker-indicator{opacity:0}
html body .record-output-tools .mmg-takim-btn{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;padding:5px!important;border:0!important;background:transparent!important;box-shadow:none!important;transform:none!important;}
/* Shared compact record controls; horizontal overflow belongs to the toolbar, never the page. */
html.mmg-record-page body .mmg-record-toolbar{flex-wrap:nowrap!important;overflow-x:auto;min-height:40px;padding:4px 0!important;gap:6px;}
html.mmg-record-page body .mmg-record-toolbar>button{flex:0 0 auto;height:32px!important;min-height:32px!important;padding:4px 10px!important;font-size:13px!important;white-space:nowrap;}
html.mmg-record-page body .mmg-record-toolbar>[role=status]{flex:0 0 auto;max-width:260px;white-space:normal;}
html.mmg-record-page body .record-output-tools>[data-mmg-cikti=xls]{order:1!important}
html.mmg-record-page body .record-output-tools>[data-mmg-cikti=pdf]{order:2!important}
html.mmg-record-page body .record-output-tools>[data-mmg-cikti=paylas]{order:3!important}
html.mmg-record-page body .record-output-tools>[data-mmg-cikti=sifirla]{order:0!important}
html.mmg-record-page .content-main .payment-list{padding-top:0!important;margin-top:0!important;}
html.mmg-record-page body main .content-main{padding:0!important;}
html.mmg-record-page body main .payment-list{padding:0!important;margin:0!important;gap:0!important;}
html.mmg-record-page body main .tab-panel:has(.mmg-record-grid){padding-top:0!important;margin-top:0!important;}
html.mmg-record-page body .mmg-record-toolbar{margin:0 0 8px!important;}
html.mmg-record-booting body>main{visibility:hidden!important;}
html.mmg-record-page body .mmg-page-heading.mmg-page-heading.mmg-page-heading.mmg-page-heading{height:72px!important;min-height:72px!important;padding:8px 12px!important;margin:0!important;flex-direction:column!important;flex-wrap:nowrap!important;gap:4px!important;justify-content:flex-start!important;}
html.mmg-record-page body .mmg-page-heading.mmg-page-heading.mmg-page-heading>div:first-child{flex:0 0 auto!important;min-height:0!important;width:100%!important;}
html.mmg-record-page body h1.mmg-page-title.mmg-page-title.mmg-page-title.mmg-page-title{font-size:20px!important;line-height:28px!important;}
@media(max-width:600px){html.mmg-record-page body h1.mmg-page-title.mmg-page-title.mmg-page-title.mmg-page-title{font-size:18px!important;line-height:24px!important;}}
html.mmg-record-page body main>.controls-row,html.mmg-record-page body main .add-io-row:has(.add-payment-card),html.mmg-record-page body main .mmg-mobile-secondary:has(.record-old-form){display:none!important;}
html.mmg-record-page body main .record-main-panel.record-main-panel{padding:0!important;margin:0!important;border:0!important;}
html.mmg-record-page body main .content-grid{gap:0!important;}
html.mmg-record-page body main .content-main{gap:0!important;}
html.mmg-record-page body .record-output-tools.record-output-tools{display:flex!important;justify-content:flex-end!important;align-items:center!important;flex-wrap:nowrap!important;width:100%!important;max-width:100%!important;gap:6px!important;}
html.mmg-record-page body .record-output-tools.record-output-tools>*{flex:0 0 34px!important;width:34px!important;max-width:34px!important;}
.mmg-record-grid tr[data-record-blank=true] .mmg-row-remove{visibility:visible;}
.movement-date-tools>.mmg-date-range{display:flex!important;flex:none!important;min-width:max-content!important;max-width:none!important;grid-template-columns:none!important}
.movement-date-tools>.mmg-date-range>.mmg-day-nav{width:max-content!important;max-width:none!important}
html.mmg-record-page body main #ioMsg:empty{display:none!important;}
html.mmg-record-page body main .controls-row{display:none!important;}
html.mmg-record-page body main{border:0!important;}
html.mmg-record-page body .kayit-tablo-sar{border:0!important;}
html.mmg-record-page body>.masthead>.record-page-tabs{display:flex;flex-wrap:nowrap;gap:4px;margin:0!important;padding:0!important;max-width:100%;overflow-x:auto;min-height:24px;}
html.mmg-record-page body>.masthead>.record-page-tabs>button{height:24px!important;min-height:24px!important;padding:2px 8px!important;font-size:12px!important;white-space:nowrap;}
html.mmg-record-page body>main{padding-top:8px!important;}
/* User reference: Rotatif gfAddRow, measured 28px / 6px 12px / Inter 11.5px 600. */
html.mmg-record-page body .mmg-record-toolbar>:is(button,#importExcelBtn,#downloadTemplateBtn){height:28px!important;min-height:28px!important;padding:6px 12px!important;font:600 11.5px Inter,sans-serif!important;border-radius:8px!important;}
@media(max-width:768px){#cash-daily-toolbar .movement-date-tools .mmg-date-range{grid-column:1/-1!important;grid-row:2!important}#cash-daily-toolbar .movement-date-tools .mmg-date-range .mmg-day-nav{width:max-content!important;max-width:none!important;flex:0 0 auto!important}}

/* Editable controls stay inside their current column hit area. */
html.mmg-record-page body table.mmg-record-grid td[data-record-column] :is(input:not([type=checkbox]),select){box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important}

/* Sticky action cells use the actual scroll viewport, not a clipped table. */
html body table#bankMovementTable.mmg-record-grid{overflow:visible!important;clip-path:none!important}

/* Recreated ordinal cells and sticky actions retain the shared contract on every viewport. */
html body table.mmg-record-grid [data-record-select]{white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important}
html body table.mmg-record-grid:has(.record-remove-cell){overflow:visible!important;clip-path:none!important}

html body table.mmg-record-grid .record-remove-cell>.mmg-row-remove{width:100%!important;min-width:0!important;max-width:100%!important}

/* Validation marks the affected amounts without changing their values. */
table.mmg-record-grid input.mmg-record-invalid{color:#b42318!important;font-weight:700!important;}
html[data-theme="dark"] table.mmg-record-grid input.mmg-record-invalid,body.dark table.mmg-record-grid input.mmg-record-invalid{color:#ff8b82!important;}

/* Keep the final choice affordance and delete boundary visible while scrolling. */
html body #bankMovementTable.mmg-record-grid .record-remove-cell{border-left:1px solid var(--hairline,#afc8c8)!important;box-shadow:none!important}
html body #bankMovementTable.mmg-record-grid td[data-record-column=relatedKey] .mmg-grid-choice-trigger{position:sticky!important;right:36px!important;z-index:7!important;background:var(--surface,#fff)!important;border-inline-end:0!important;border-inline-start:1px solid var(--hairline,#adc8c5)!important}

html body table td:has(>.mmg-grid-choice-field){padding-inline:0!important}
html body table .mmg-grid-choice-trigger{box-sizing:border-box!important;flex:0 0 14px!important;width:14px!important;min-width:14px!important;max-width:14px!important;padding:0!important;border-inline-end:0!important;border-inline-start:1px solid var(--hairline,#adc8c5)!important;text-align:center!important;font-size:14px!important;font-weight:400!important}
