/* Screen-only office layout. Reuse original cells, input names, links and actions. */
.office-sort,.office-native-sort { display:none }
.office-sort>summary,.office-native-sort>summary,.qt-sort>summary {
  display:inline-flex;align-items:center;gap:.45rem;padding:.42rem .72rem;min-height:36px;
  border:1px solid #c7d8e8;border-radius:7px;background:#f4f8fc;color:#214b70;
  line-height:1.25;font-family:inherit;font-weight:600;font-size:14px;cursor:pointer;list-style:none;
}
:is(.office-sort,.office-native-sort,.qt-sort)>summary::-webkit-details-marker {display:none}
:is(.office-sort,.office-native-sort,.qt-sort)>summary::after {content:"";width:.4rem;height:.4rem;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:translateY(-.12rem) rotate(45deg)}
:is(.office-sort,.office-native-sort,.qt-sort)[open]>summary::after {transform:translateY(.12rem) rotate(225deg)}
.qt-sort {position:relative}.qt-sort select {margin-top:.35rem;min-width:12rem}
@layer kmd-screen {
 @media screen {
  html body :is(.fi-main,main,.main,.panel,.cdr-table) table thead th :is(button[wire\:click*="sort" i],.fi-ta-header-cell-sort-btn,button[data-sort]) {
    color:#345775!important;background:transparent!important;border:0!important;box-shadow:none!important;
    padding:2px!important;border-radius:3px!important;min-height:0!important;font:inherit!important;
  }
 }
 @media screen and (max-width:767px){
  html body :is(main,.main,.fi-main,.fi-main-ctn,.fi-page,.fi-page-content,.fi-section,.fi-section-content,.fi-ta,.fi-ta-content,.panel,.panel-body,.qt,.qt-box,.sl-box,.fn-page,.card,.table-wrap,.fn-table-wrap,.table-responsive,.kd-scroll,.toolbar,.form-grid,.filters,.grid) {min-width:0!important;max-width:100%!important;box-sizing:border-box}
  html body :is(.fi-main,.fi-page,.qt,.fn-page,main,.main) :is(input:not([type=checkbox],[type=radio]),select,textarea,img,video) {max-width:100%;box-sizing:border-box}
  html body :is(.qt-row,.sl-row,.filters,.toolbar,.fn-toolbar,.actions,.fn-actions,.fi-ac,.fi-pagination) {flex-wrap:wrap;min-width:0;max-width:100%;row-gap:8px}
  html body :is(.qt-field,.sl-field,.fn-form-grid>*,.form-grid>*,.filters>label,.toolbar>*) {min-width:0!important;max-width:100%;box-sizing:border-box}
  html body :is(.fn-form-grid,.form-grid,.kd-fields,.filters,.filter-grid,.fields,.fn-filters,.qt-row:has(.qt-field)) {grid-template-columns:minmax(0,1fr)!important}
  html body .qt-row:has(.qt-field) {display:grid!important}
  html body :is(.qt-box,.sl-box) {padding:12px!important}
  html body .qt-sort {max-width:100%}
  html body .qt-sort select {min-width:0}
  html body .office-sort,html body .office-native-sort {display:block!important;color:#254a68}
  html body .office-sort {padding:6px 0 9px}
  html body .office-sort>div {display:flex;flex-wrap:wrap;gap:6px;padding-top:6px}
  html body .office-sort>div>button {color:#244f74!important;background:#f3f7fb!important;border:1px solid #cadcea!important;border-radius:6px!important;min-height:36px!important;line-height:1.25;padding:6px 10px!important;font-size:14px!important}
  html body table .fi-ta-table-stacked-header-cell:has(.office-native-sort:not([open])) .fi-ta-table-stacked-sorting {display:none!important}
  html body .office-native-sort[open] {flex-basis:100%}
  html body table[data-office-cards] {display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;table-layout:auto!important;border-spacing:0!important;box-sizing:border-box!important}
  html body table[data-office-cards] > :is(colgroup,col) {display:none!important}
  html body table[data-office-cards] > thead {display:block!important;position:static!important;height:auto!important}
  html body table[data-office-cards] tr[data-office-head] {display:none!important}
  html body table[data-office-cards] tr[data-office-head]:has(>[data-mobile-tools]) {display:flex!important;flex-wrap:wrap;align-items:center;gap:8px;background:transparent!important}
  html body table[data-office-cards] tr[data-office-head] > th {display:none!important}
  html body table[data-office-cards] tr[data-office-head] > th[data-mobile-tools] {display:block!important;min-width:0!important;width:auto!important;max-width:100%!important;background:transparent!important;padding:6px!important;white-space:normal!important}
  html body table[data-office-cards] > :is(tbody,tfoot) {display:grid!important;grid-template-columns:minmax(0,1fr);gap:9px;min-width:0;width:100%;background:transparent!important}
  html body table[data-office-cards] > :is(tbody,tfoot) > tr:not([data-office-head],[hidden],[style*="display: none"],[style*="display:none"],.hidden) {
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:9px 14px;
    padding:12px!important;width:100%!important;min-width:0!important;border:1px solid #ccdae7!important;border-radius:9px;background:#fff!important;box-sizing:border-box;
  }
  html body table[data-office-cards] > :is(tbody,tfoot) > tr:not([data-office-head]) > :is(td,th):not([hidden],[style*="display: none"],[style*="display:none"],.hidden) {
    min-width:0!important;max-width:100%!important;width:auto!important;height:auto!important;box-sizing:border-box!important;
    position:static!important;white-space:normal!important;overflow-wrap:anywhere;text-align:start!important;padding:0!important;border:0!important;background:transparent!important;
  }
  html body table[data-office-cards] [data-office-wide] {grid-column:1/-1}
  html body table[data-office-cards] td[data-office-label]:not([data-office-label=""])::before,
  html body table[data-office-cards] tbody th[data-office-label]:not([data-office-label=""])::before {
    content:attr(data-office-label);display:block;position:static;float:none;width:auto;letter-spacing:0;
    margin:0 0 3px;padding:0;text-align:start;font-family:inherit;font-weight:600;font-size:12px;line-height:1.3;color:#506a82;
  }
  html body table[data-office-cards] :is(.fi-ta-cell-label,.fi-ta-table-stacked-header-row) {display:none!important}
  html body table[data-office-cards] td :is(.fi-ta-col,.fi-ta-text,.fi-ta-text-item,.fi-ta-text-item-label,.fi-ta-text-description,.fi-ta-cell-content,.fn-name,.name,.truncate) {
    min-width:0!important;max-width:100%!important;white-space:normal!important;text-overflow:clip!important;overflow-wrap:anywhere;word-break:normal!important
  }
  html body table[data-office-cards] td :is(.fi-ta-col,.fi-ta-text,.fi-ta-actions) {padding:0!important}
  html body table[data-office-cards] :is(input,textarea,select):not([type=checkbox],[type=radio]) {min-width:0!important;max-width:100%!important;box-sizing:border-box}
  html body table[data-office-cards] td :is(a,small,strong,span,button) {max-width:100%;overflow-wrap:anywhere}
  html body table[data-office-cards] td :is(.actions,.fi-ta-actions,.row-actions) {flex-wrap:wrap;min-width:0!important}
  html body table[data-office-cards] tr:is(.fi-selected,:has(>td>input[type=checkbox]:checked)) {border-color:#4585b5!important;background:#f0f7ff!important}
  html body table[data-office-cards][data-quote-cards] tr>td:nth-child(2) {grid-column:1/-1;order:-2;font-size:16px}
  html body table[data-office-cards][data-quote-cards] tr>td:first-child {order:-1}
  html body table[data-office-cards][data-quote-cards] tr>td:is(:first-child,:nth-child(2))::before {display:none}
  html body table[data-office-cards][data-quote-cards] tr>td:first-child a {white-space:nowrap}
 }
}

.qt-mobile-filters {display:none}
@layer kmd-screen { @media screen and (min-width:768px) {html body .qt-history-filters>button.qt-mobile-filters {display:none!important}} }
@layer kmd-screen {
 @media screen and (max-width:767px) {
  html body .qt-box .qt-history-filters {display:grid!important;align-items:start;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  html body .qt-history-filters>.qt-field {grid-column:1/-1}
  html body .qt-history-filters>.qt-field:first-child {grid-row:1}
  html body .qt-history-filters .qt-mobile-filters,html body .qt-history-filters .qt-sort>summary {display:inline-flex!important;justify-content:center;align-items:center;min-height:38px!important;width:100%;padding:6px 10px!important;margin:0!important;font-size:14px!important;font-weight:600!important;border:1px solid #c7d8e8!important;border-radius:7px!important;background:#f4f8fc!important;color:#214b70!important}
  html body .qt-history-filters>.qt-mobile-filters {grid-row:2;grid-column:1}
  html body .qt-history-filters>.qt-sort {grid-row:2;grid-column:2}
  html body .qt-history-filters:has(.qt-mobile-filters[aria-expanded="false"])>.qt-field:not(:first-child) {display:none!important}
  html body .qt-history-filters>.qt-sort[open] {grid-row:3;grid-column:1/-1}
  html body .qt-history-filters>.qt-sort[open]>summary {width:calc(50% - 4px);margin-inline-start:auto!important}
  html body .qt-history-filters>.qt-sort[open] {display:grid;grid-row:2 / span 2;pointer-events:none;gap:6px}
  html body .qt-history-filters>.qt-sort[open]>* {pointer-events:auto}
  html body table[data-office-cards] [data-office-label="İşlemler"]::before {display:none!important}
  html body :is(.kmd-mail-grid,.kmd-alert-grid,.kmd-mail-grid>.kmd-card) {min-width:0!important;max-width:100%!important;box-sizing:border-box}
  html body .kmd-mail-grid {grid-template-columns:minmax(0,1fr)!important}
 }
}

.office-store-sort{display:none}
@media screen and (max-width:767px){
 .office-store-sort{display:block;margin:0 0 8px}.office-store-sort>summary{display:inline-flex;cursor:pointer;padding:8px 12px;border:1px solid #c7d8e8;background:#f4f8fc;color:#214b70;border-radius:7px;font-size:14px;font-weight:600;list-style:none}
 .office-store-sort>div{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}.office-store-sort>div>button{padding:6px 10px;border:1px solid #d2dfe9;border-radius:6px;color:#214b70}
 html body .office-store-grid{display:grid;grid-template-columns:minmax(0,1fr)!important;max-width:100%;min-width:0;gap:8px;overflow:visible}
 html body .office-store-grid .row.grid{min-width:0;max-width:100%;grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html body .office-store-grid [data-office-store-head]{display:none!important}
 html body .office-store-grid [data-office-store-head]:has(input[type=checkbox]){display:flex!important}.office-store-grid [data-office-store-head]>*:not(:has(input[type=checkbox])){display:none!important}
 html body .office-store-grid [data-office-store-row]{border:1px solid #ceddea;border-radius:8px;gap:8px;padding:12px}
 .office-store-grid [data-office-store-row]>*{min-width:0;max-width:100%;overflow-wrap:anywhere}
 .office-store-grid [data-office-store-row]>:first-child,.office-store-grid [data-office-store-row]>:last-child{grid-column:1/-1}
 .office-store-grid [data-office-store-field]::before{content:attr(data-office-store-field);display:block;font-size:12px;font-weight:600;line-height:1.4;color:#506a82;flex-basis:100%}
 .office-store-grid [data-office-store-field]:is(.flex,p:has(button),p:has(span.cursor-pointer)){flex-wrap:wrap}
}

@layer kmd-screen {
 @media screen and (max-width:767px){
  html body :is(div,form,label):has(>input[type=file]):has(>button) {flex-wrap:wrap!important;max-width:100%;gap:7px}
  html body :is(div,form,label)>input[type=file] {min-width:0!important;max-width:100%!important;box-sizing:border-box}
  html body .office-store-toolbar,html body .office-store-toolbar>.flex,html body .office-store-toolbar>.flex>.flex {display:flex;min-width:0;max-width:100%;flex-wrap:wrap;gap:6px}
  html body .office-store-toolbar .shimmer {max-width:100%}
 }
}
@media print {
 .office-sort,.office-native-sort,.office-store-sort,.qt-mobile-filters,.qt-sort{display:none!important}
}

@layer kmd-screen {
 @media screen and (max-width:767px) {
  html body :is(.fi-tabs,.sheet-tabs,.anchor-nav) {display:flex;flex-wrap:wrap!important;min-width:0!important;max-width:100%!important;column-gap:6px;row-gap:5px}
  html body .fi-tabs>.fi-tabs-item {white-space:normal!important;min-width:0;max-width:100%;align-items:center}
  html body .fi-tabs-item-label {white-space:normal!important;overflow-wrap:anywhere}
  html body .qt-history-filters .qt-sort:not([open])>select {display:none!important}
 }
}

@media screen and (max-width:767px){
 html body .mat-list {grid-template-columns:minmax(0,1fr);min-width:0;max-width:100%}
 html body .mat-list :is(.mat-sheet,.mat-tools,.mat-tools>label) {max-width:100%;min-width:0;box-sizing:border-box}
 html body .mat-tools>label {grid-template-columns:minmax(0,1fr)}
 html body .mat-sheet table[data-office-cards] tbody tr>td {display:block!important}
}
