:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#102d46;background:#eef3f7;font-size:16px;--nav:#12314b;--nav2:#214c6d;--gold:#efad35;--line:#d8e3eb;--muted:#647d8f}*{box-sizing:border-box}body{margin:0;background:#eef3f7}a{color:#1266a1}aside{position:fixed;inset:0 auto 0 0;width:246px;background:var(--nav);color:#fff;padding:22px 15px;overflow:auto;z-index:30}.brand{display:flex;align-items:center;gap:11px;color:#fff;text-decoration:none;font-size:1.05rem;margin:0 10px 28px}.brand span{display:grid;place-items:center;width:37px;height:37px;border-radius:10px;background:var(--gold);color:#173750;font-weight:900}.brand strong{font-size:1.1rem}.nav-home,.nav-group a{display:flex;align-items:center;gap:11px;color:#dce7ef;text-decoration:none;border-radius:9px;padding:10px 12px;margin:3px 0;font-size:.9rem}.nav-home:hover,.nav-group a:hover,.nav-home.active,.nav-group a.active{background:var(--nav2);color:#fff}.nav-home.active,.nav-group a.active{box-shadow:inset 3px 0 var(--gold)}.nav-group{margin-top:22px}.nav-group small{display:block;color:#8faabd;font-weight:800;letter-spacing:.13em;font-size:.7rem;margin:0 11px 9px}.nav-group i{font-style:normal;color:#e8b554;width:16px;text-align:center}.logout{margin-top:24px;border-top:1px solid #315069;padding-top:14px}.link{width:100%;border:0;background:transparent!important;color:#dce7ef!important;text-align:left}.content{margin-left:246px;min-height:100vh}.topbar{height:70px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 28px;color:var(--muted);font-size:.86rem;position:sticky;top:0;z-index:20}.topbar b{color:#173a53}.user-badge{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#e8f0f5;color:#173a53;font-weight:800}.menu-toggle{display:none}.page{padding:30px;max-width:1500px;margin:auto}.page-head{margin-bottom:18px}.page-head small{font-weight:900;letter-spacing:.13em;color:#698196}.page-head h1{font-size:2rem;margin:6px 0 0;color:#0e2c45}section{background:#fff;border:1px solid var(--line);border-radius:13px;padding:20px;margin:18px 0;box-shadow:0 7px 18px rgba(25,55,78,.04)}section h2{font-size:1.08rem;margin:0 0 14px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;align-items:end}label{display:flex;flex-direction:column;gap:6px;color:#294c65;font-size:.85rem;font-weight:700}input,select,button{font:inherit;padding:11px 12px;border:1px solid #c5d4df;border-radius:9px;min-height:43px;background:#fff;color:#173a53}input:focus,select:focus{outline:3px solid #e9b44b44;border-color:#d89c2c}button{background:#17679f;color:#fff;border:0;cursor:pointer;font-weight:750}button:hover{filter:brightness(.95)}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.cards section{display:flex;flex-direction:column;margin:0}.cards b{font-size:1.65rem}.cards span{color:var(--muted)}table{width:100%;border-collapse:collapse;font-size:.88rem}th,td{text-align:left;padding:10px;border-bottom:1px solid #e2eaf0}th{background:#e8f0f7;color:#31546b;font-size:.78rem;text-transform:uppercase}tr:hover td{background:#f8fbfd}.error,.ok{padding:13px 15px;border-radius:9px;margin:10px 0}.error{background:#ffe9e6;color:#8c2f24}.ok{background:#e6f6eb;color:#21683b}.auth{display:grid;place-items:center;min-height:100vh;background:linear-gradient(135deg,#102f48,#244f6e)}.auth main{width:min(430px,92vw);background:#fff;padding:30px;border-radius:16px;box-shadow:0 24px 60px #06192766}.auth form{display:grid;gap:14px}.auth h1{margin-top:0}.content>form,.page>form{display:flex;align-items:end;gap:10px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px}.page>form label{min-width:220px}.page>section table{display:block;overflow:auto}.page>section table tbody,.page>section table thead{width:100%;display:table;table-layout:auto}.page>p{background:#fff;border:1px solid var(--line);padding:14px;border-radius:10px}.page a{font-weight:650;text-decoration:none}.page a:hover{text-decoration:underline}@media print{aside,.topbar,.page-head,button,form,.error,.ok{display:none!important}.content{margin:0}.page{padding:0;max-width:none}section{border:0;box-shadow:none;padding:0}table{display:table!important;font-size:9pt}}
@media(max-width:980px){.cards{grid-template-columns:repeat(2,1fr)}.page{padding:22px}.grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){aside{transform:translateX(-100%);transition:.2s}.menu-open aside{transform:translateX(0)}.content{margin-left:0}.menu-toggle{display:inline-grid;place-items:center;width:42px;background:#173a53}.topbar{padding:0 16px}.page{padding:16px}.grid,.cards{grid-template-columns:1fr}.page-head h1{font-size:1.55rem}th,td{white-space:nowrap}.content>form,.page>form{display:grid;grid-template-columns:1fr}.page>form label{min-width:0}}
.toolbar{display:flex;align-items:end;gap:12px;margin-bottom:18px}.toolbar label{min-width:220px}.status-pill{margin-left:auto;padding:9px 14px;border-radius:999px;background:#e7f5ec;color:#14713c;font-weight:800}.report-actions{display:flex;justify-content:flex-end;margin:-58px 0 20px}.cash-totals .plain th{background:#fff}.cash-totals .total th,.cash-totals .total td{background:#dcecf7;font-weight:800}.cash-totals .cash-balance th,.cash-totals .cash-balance td{background:#fff1cf;font-weight:800}.empty{text-align:center;color:#718399;padding:28px!important}
.filter-card{padding:14px}.period-filter{display:flex;align-items:end;justify-content:flex-end;gap:10px}.period-filter label{min-width:175px}.period-filter .custom-date{display:none}.period-filter .custom-date.visible{display:flex}.positive{color:#167344;font-weight:800}.negative{color:#cc342e;font-weight:800}@media(max-width:760px){.period-filter{display:grid;grid-template-columns:1fr}.report-actions{margin:0 0 12px}}
.extre-filter .custom-date{display:none}.extre-filter .custom-date.visible{display:flex}
.operation-tabs{display:flex;gap:8px;margin:0 0 18px}.operation-tabs a{padding:12px 22px;border:1px solid var(--line);border-radius:10px;background:#fff;color:#294c65;text-decoration:none!important}.operation-tabs a.active{background:#17679f;color:#fff;border-color:#17679f}.work-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,.75fr);gap:18px}.work-grid>section{margin:0}.live-summary{display:grid;gap:10px}.live-summary>div{display:flex;justify-content:space-between;gap:14px;padding:14px;border:1px solid var(--line);border-radius:10px;background:#f7fafc}.live-summary span{color:var(--muted)}.trade-form .check{grid-column:1/-1;display:flex;flex-direction:row;align-items:center}.trade-form .check input{min-height:auto;width:18px;height:18px}.buyback-fields{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;padding:16px;border:1px solid #d5e2eb;border-radius:11px;background:#f5f9fc}.hidden{display:none!important}@media(max-width:980px){.work-grid{grid-template-columns:1fr}}
.search-select{position:relative}.search-select>input{width:100%}.search-results{display:none;position:absolute;z-index:50;left:0;right:0;top:calc(100% + 4px);max-height:270px;overflow:auto;background:#fff;border:1px solid #cbd9e3;border-radius:10px;box-shadow:0 16px 36px rgba(12,42,64,.18)}.search-results.open{display:block}.search-results button{display:block;width:100%;border:0;border-bottom:1px solid #e5edf3;border-radius:0;background:#fff;color:#173a53;text-align:left;font-weight:600}.search-results button:hover{background:#edf5fa}
.inline-form{display:inline-flex;margin-left:8px}.inline-form button{min-height:34px;padding:6px 10px;font-size:.78rem;background:#6b7e8d}
.development-note{display:flex;align-items:center;gap:14px;background:#fff5d9;border:1px solid #edcf7c;border-radius:12px;padding:15px 18px;margin:0 0 18px;color:#76530c}.development-note span{color:#806d42}.entry-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,.65fr);gap:18px}.entry-layout>section{margin:0}.entry-form .full,.full{grid-column:1/-1}.entry-form small{color:var(--muted);font-weight:500}.entry-summary dl{margin:0}.entry-summary dl>div{display:flex}.entry-summary dt,.entry-summary dd{display:inline-block;width:49%;margin:0;padding:13px 0;border-bottom:1px solid var(--line)}.entry-summary dd{text-align:right;font-weight:800}.mirror-row{opacity:.58;font-style:italic}.account-parent th,.account-parent td,.trial-balance .account-parent td{font-weight:900;background:#edf3f7}.icon-button{min-width:43px;width:43px;padding:8px;font-size:1.1rem}.list-search{display:flex;justify-content:flex-end;margin:0 0 12px}.list-search input{width:min(520px,100%)}.toggle-form{display:flex;align-items:center;gap:9px}.status-toggle{position:relative;width:46px;min-height:26px;height:26px;padding:2px;border-radius:20px;background:#95a7b4}.status-toggle span{display:block;width:22px;height:22px;background:#fff;border-radius:50%;transition:.2s}.status-toggle.on{background:#208457}.status-toggle.on span{transform:translateX(20px)}.coming-soon{text-align:center;padding:58px 22px}.coming-soon>div{font-size:2.3rem}.coming-soon h2{margin:12px 0}.journal-head{margin-bottom:18px}.journal-table input,.journal-table select{width:100%}.journal-table .line-remove{min-height:34px;padding:5px 11px;background:#bd4a42}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}.form-actions button:disabled{opacity:.45;cursor:not-allowed}.optional-list{padding:12px;border:1px dashed #b9cbd7;border-radius:10px}.optional-list>button{background:#647d8f}.optional-list>div{display:grid;gap:8px;margin-top:8px}.print-heading{display:none}.expense-up tbody{display:flex!important;flex-direction:column-reverse}.expense-up tr{display:table;width:100%;table-layout:fixed}
@media print{.print-heading{display:flex!important;flex-direction:column;gap:5px;margin-bottom:16px}.print-heading h2{margin:0}.icon-button{display:none!important}}
@media(max-width:900px){.entry-layout{grid-template-columns:1fr}}@media(max-width:760px){.entry-summary{order:2}.journal-table{min-width:720px}.development-note{align-items:flex-start;flex-direction:column}.entry-summary dt,.entry-summary dd{font-size:.88rem}}
.expense-up tbody{display:table-row-group!important}.expense-up tr{display:table-row!important;width:auto!important}

/* İşletme Takip düzenleme paketi */
.cash-ledger-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}.cash-ledger-grid section{margin:0}.cash-ledger-grid table{table-layout:fixed}.cash-ledger-grid th:nth-child(1){width:16%}.cash-ledger-grid th:nth-child(2){width:30%}.cash-ledger-grid th:nth-child(3){width:38%}.cash-ledger-grid th:nth-child(4){width:16%}.cash-summary-card{max-width:none}.cash-totals thead th{background:#fff;color:#496176}.cash-totals tbody tr{background:#f4f7f9}.cash-totals tbody tr:nth-child(odd){background:#eef3f6}.cash-totals .cash-current{background:#edf5ee;color:#245b38}.cash-totals th,.cash-totals td{padding:14px 16px}.mirror-row{color:#65798b;font-style:italic;background:#fafcfd}.account-child td:first-child,.trial-balance .account-level-1,.trial-balance .account-level-2,.trial-balance .account-level-3,.trial-balance .account-level-4{padding-left:28px}.cash-toolbar{margin-bottom:18px}.cash-toolbar .status{margin-left:auto}
.journal-card{max-width:none}.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.section-heading h2{margin:0 0 5px}.section-heading p{margin:0;color:#60778b}.journal-meta{display:grid;grid-template-columns:1fr 1.25fr 1fr 2fr;gap:14px;margin-bottom:18px}.journal-meta label{display:grid;gap:7px;font-weight:700}.journal-table th:nth-child(1){width:34%}.journal-table th:nth-child(2){width:30%}.journal-table th:nth-child(3),.journal-table th:nth-child(4){width:16%}.journal-table input,.journal-table select{width:100%}.document-badge,.count-badge{background:#eaf2f8;color:#145c8a;border-radius:999px;padding:8px 12px;font-weight:700}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.secondary{background:#eef4f7!important;color:#174d70!important}.icon-link{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:8px;background:#edf4f8;color:#176b9c;text-decoration:none;font-size:18px}.modal-backdrop{position:fixed;inset:0;background:rgba(11,32,48,.5);z-index:50;padding:30px;overflow:auto}.document-modal{position:relative;background:#f2f6f8;max-width:1280px;margin:auto;padding:24px;border-radius:18px}.modal-close{position:absolute;right:18px;top:14px;font-size:28px;text-decoration:none;color:#29485d;z-index:2}
.profile-menu{position:relative;margin-left:auto}.profile-menu summary{list-style:none;display:flex;align-items:center;gap:9px;cursor:pointer}.profile-menu summary::-webkit-details-marker{display:none}.profile-menu summary b{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#176fa4;color:#fff}.profile-menu nav{position:absolute;right:0;top:48px;z-index:20;width:230px;background:#fff;border:1px solid #d7e2e9;border-radius:12px;box-shadow:0 16px 35px rgba(20,52,73,.18);padding:8px}.profile-menu nav a,.profile-menu nav button{display:block;width:100%;padding:11px 12px;border:0;background:none;color:#193d56;text-align:left;text-decoration:none;border-radius:8px}.profile-menu nav a:hover,.profile-menu nav button:hover{background:#eef5f8}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.profile-info{display:grid;grid-template-columns:140px 1fr;gap:12px}.profile-info dt{font-weight:700}.stack-form{display:grid;gap:12px}.stack-form label{display:grid;gap:6px}.settings-links,.home-links{display:grid;gap:8px}.settings-links a,.home-links a{display:flex;justify-content:space-between;padding:13px 15px;border:1px solid #dbe6ec;border-radius:10px;text-decoration:none;color:#174d70;background:#fff}
.home-hero{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:24px;border-radius:16px;background:linear-gradient(135deg,#0d567f,#1880b3);color:#fff;margin-bottom:18px}.home-hero h1{margin:5px 0}.home-hero p{margin:0;opacity:.85}.quick-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.quick-actions a{padding:10px 13px;background:#fff;color:#145d87;border-radius:9px;text-decoration:none;font-weight:700}.dashboard-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.dashboard-metrics section{margin:0}.dashboard-metrics small{display:block;color:#60778b;margin-bottom:8px}.dashboard-metrics b{font-size:22px}.home-grid{display:grid;grid-template-columns:2fr 1fr;gap:18px}.home-grid section{margin:0}.template-form .variable-help{display:flex;gap:7px;flex-wrap:wrap}.variable-help span{background:#eef4f7;border-radius:7px;padding:6px 9px;font-family:monospace}
@media(max-width:900px){.cash-ledger-grid,.profile-grid,.home-grid{grid-template-columns:1fr}.journal-meta,.dashboard-metrics{grid-template-columns:1fr 1fr}.home-hero{align-items:flex-start;flex-direction:column}.quick-actions{justify-content:flex-start}.cash-toolbar .status{margin-left:0}}
@media(max-width:560px){.journal-meta,.dashboard-metrics{grid-template-columns:1fr}.modal-backdrop{padding:8px}.document-modal{padding:12px}.cash-ledger-grid section{padding:12px}.profile-menu summary span{display:none}}
.cash-ledger-grid{grid-template-columns:1fr!important}.cash-ledger-grid td:last-child,.cash-ledger-grid th:last-child{text-align:right}.cash-totals thead th{background:#fff!important;text-align:center}.cash-totals thead th:first-child{text-align:left}.cash-totals tbody tr{background:#f7f9fa!important}.cash-totals tbody tr:nth-child(odd){background:#f2f5f7!important}.cash-totals .cash-current{background:#eef6f0!important;color:#245b38}.cash-totals td{text-align:right;font-variant-numeric:tabular-nums}
.cash-summary-card{box-shadow:0 5px 16px rgba(25,55,78,.035)}.cash-totals{display:table!important;width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;border:1px solid #d5e5f0;border-radius:8px;overflow:hidden}.cash-totals thead{display:table-header-group!important}.cash-totals tbody{display:table-row-group!important}.cash-totals .cash-label-col{width:56%}.cash-totals .cash-value-col{width:22%}.cash-totals th,.cash-totals td{background:#fff!important;border:0;border-bottom:1px solid #d8e7f1;border-right:1px solid #d8e7f1}.cash-totals tr:last-child th,.cash-totals tr:last-child td{border-bottom:0}.cash-totals th:last-child,.cash-totals td:last-child{border-right:0}.cash-totals tbody th{color:#294c65;font-weight:750;text-transform:none}.cash-totals tbody td{font-weight:750;color:#173a53;text-align:center}.cash-totals .cash-current th,.cash-totals .cash-current td{background:#fff!important;color:#294c65}.cash-totals .cash-current td:last-child{background:#e7f1f9!important;color:#23623b}.cash-totals thead th{font-size:.86rem;text-transform:none;color:#385873;text-align:center}.cash-totals thead th:first-child{text-align:left}
.cash-account-balances{display:table!important;width:100%;table-layout:fixed}.cash-account-balances thead{display:table-header-group!important}.cash-account-balances tbody{display:table-row-group!important}.cash-account-balances .account-name-col{width:36%}.cash-account-balances .account-value-col{width:16%}.cash-account-balances th:not(:first-child),.cash-account-balances td:not(:first-child){text-align:center!important;font-variant-numeric:tabular-nums}.cash-account-balances thead th:first-child,.cash-account-balances tbody th:first-child,.cash-account-balances tbody td:first-child{text-align:left}
.product-actions{display:flex;align-items:center;justify-content:flex-start;gap:10px;flex-wrap:nowrap;white-space:nowrap}.product-actions .toggle-form{display:flex;align-items:center;gap:8px;flex:0 0 auto}.product-actions .icon-link{flex:0 0 34px;margin:0}.product-actions form{margin:0}
.transaction-card{max-width:none}.transaction-form{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:14px;align-items:start}.transaction-form label{min-width:0;align-self:start}.transaction-form input,.transaction-form select,.transaction-form .search-select{width:100%}.transaction-form .account-field{grid-column:1/3}.transaction-form .description-field{grid-column:1/-1}.transaction-form>button{grid-column:3;min-width:280px;align-self:end}.transaction-list{display:table!important;width:100%;table-layout:fixed}.transaction-list thead{display:table-header-group!important}.transaction-list tbody{display:table-row-group!important}.transaction-list th:nth-child(1){width:24%}.transaction-list th:nth-child(2){width:23%}.transaction-list th:nth-child(3){width:35%}.transaction-list th:nth-child(4){width:14%;text-align:center}.transaction-list th:nth-child(5){width:4%}.transaction-list td:nth-child(4){text-align:center;font-variant-numeric:tabular-nums}.transaction-list td:last-child{text-align:center}.number{text-align:right;font-variant-numeric:tabular-nums}
@media(max-width:850px){.transaction-form{grid-template-columns:1fr 1fr}.transaction-form .account-field,.transaction-form .description-field{grid-column:1/-1}.transaction-form>button{grid-column:2;min-width:0}}@media(max-width:560px){.transaction-form{grid-template-columns:1fr}.transaction-form .account-field,.transaction-form .description-field,.transaction-form>button{grid-column:1}}
.journal-table th:nth-child(1){width:36%!important}.journal-table th:nth-child(2){width:38%!important}.journal-table th:nth-child(3),.journal-table th:nth-child(4){width:11%!important;text-align:center}.journal-table th:nth-child(5){width:4%}.journal-table .journal-debit,.journal-table .journal-credit,.journal-table tbody td:nth-child(3),.journal-table tbody td:nth-child(4),.journal-table tfoot th:nth-child(n+2){text-align:right;font-variant-numeric:tabular-nums}.balance-state{display:inline-block;border-radius:999px;padding:7px 12px;font-weight:800}.balance-state.good{background:#e3f4e8;color:#18713b}.balance-state.bad{background:#fde9e7;color:#ad3028}
.journal-table{display:table!important;table-layout:fixed}.journal-table thead{display:table-header-group!important}.journal-table tbody{display:table-row-group!important}.journal-table tfoot{display:table-footer-group!important}.journal-table tfoot td{border:0;background:#fff;padding:12px 6px 0}.journal-total-cell{min-height:54px;border:1px solid #cad9e3;border-radius:10px;padding:10px 12px;display:flex;justify-content:flex-end;align-items:center;font-variant-numeric:tabular-nums}.journal-total-cell strong{font-size:1.05rem}.journal-total-cell.good{background:#e7f6eb;border-color:#a7d8b5;color:#176b38}.journal-total-cell.bad{background:#fdebea;border-color:#e5aaa5;color:#a92e27}
.document-list td:nth-child(5),.document-list td:nth-child(6){text-align:right;font-variant-numeric:tabular-nums}.document-list th:nth-child(5),.document-list th:nth-child(6){text-align:center}.document-list td:last-child{display:flex;align-items:center;justify-content:center;gap:8px}.row-detail{position:relative}.row-detail summary{cursor:pointer;list-style:none;color:#176b9c;font-size:19px}.row-detail div{position:absolute;right:0;top:28px;z-index:8;width:245px;background:#fff;border:1px solid #d5e1e8;border-radius:9px;padding:11px;box-shadow:0 12px 25px rgba(18,48,68,.15);text-align:left}.trial-balance th:nth-child(n+3){text-align:center}.trial-balance td:nth-child(n+3){text-align:right;font-variant-numeric:tabular-nums}
.document-list .document-number{color:#1266a1;text-decoration:underline;text-underline-offset:3px;font-weight:800}
.extre-filter{display:grid;grid-template-columns:2fr 1fr 1fr 1.2fr;gap:14px;padding-top:64px;position:relative}.extre-filter .extre-actions{position:absolute;right:0;top:0;display:flex;gap:10px}.extre-filter .extre-actions button:first-child{min-width:230px}.extre-table{width:100%;table-layout:fixed}.extre-table th,.extre-table td{vertical-align:middle}.extre-table th{text-align:center}.extre-table th:first-child,.extre-table td:first-child{width:6%;text-align:left}.extre-table th:nth-child(2),.extre-table td:nth-child(2){width:12%}.extre-table th:nth-child(3),.extre-table td:nth-child(3){width:15%}.extre-table th:nth-child(4),.extre-table td:nth-child(4){width:31%;text-align:left}.extre-table th:nth-child(n+5),.extre-table td:nth-child(n+5),.extre-table .total-row th:nth-child(n+2){width:12%;text-align:right;font-variant-numeric:tabular-nums}.extre-table .total-row{background:#eaf1f5}.extre-report .print-heading{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:16px}.extre-report .print-heading~.print-heading{display:none!important}.extre-report .print-heading h2{margin-right:auto}
@media print{.extre-report .print-heading{display:flex!important;justify-content:center;align-items:center;text-align:center;gap:6px}.extre-report .print-heading h2{width:100%;margin:0}.extre-table{font-size:10pt}.extre-table th,.extre-table td{padding:7px 6px}.extre-table th{text-align:center}.extre-table th:nth-child(4),.extre-table td:nth-child(4){text-align:left}.extre-table th:nth-child(n+5),.extre-table td:nth-child(n+5){text-align:right}}
@media(max-width:900px){.extre-filter{grid-template-columns:1fr 1fr;padding-top:70px}.extre-filter .account-search{grid-column:1/-1}}@media(max-width:560px){.extre-filter{grid-template-columns:1fr;padding-top:110px}.extre-filter .extre-actions{left:0;right:auto;flex-wrap:wrap}.extre-filter .account-search{grid-column:auto}}
.sub-tabs a{padding:8px 18px}.trade-v2 .animal-editor,.trade-v2 .animal-picker,.trade-v2 .owner-editor{border:1px solid #d8e4eb;border-radius:12px;padding:16px;background:#f8fbfc}.animal-editor small{display:block;color:#61798b;margin-top:4px}.animal-row{display:grid;grid-template-columns:1fr .7fr 1.4fr 1.1fr 44px;gap:9px;align-items:center;margin-top:9px}.animal-row .remove-animal{background:#c34d45;padding:8px;min-height:42px}.animal-picker>input{width:100%;margin-bottom:10px}.animal-option{display:grid;grid-template-columns:24px 1fr 70px;gap:10px;align-items:center;padding:10px;border-bottom:1px solid #e0e9ee}.animal-option input{width:18px;height:18px}.animal-option span{display:grid;gap:3px}.animal-option small{color:#657b8c}.animal-option img{width:62px;height:46px;object-fit:cover;border-radius:7px}.owner-editor>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:9px}.buyback-v2,#consignmentFields{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:14px;background:#f4f8fa;border:1px solid #d9e5eb;border-radius:10px}.buyback-v2 p{grid-column:1/-1;margin:0;color:#597185}
.trade-v2>.check{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;padding:11px 14px;border:1px solid #d8e4eb;border-radius:10px;background:#f8fbfc}.trade-v2>.check input{width:19px;height:19px;min-height:19px;margin:0;flex:0 0 19px}.trade-v2>button{justify-self:start;min-width:280px}
@media(max-width:800px){.animal-row{grid-template-columns:1fr 1fr}.animal-row input[type=file],.animal-row input:nth-child(3){grid-column:1/-1}.buyback-v2,#consignmentFields{grid-template-columns:1fr}}

/* Mobil uyumluluk paketi */
html,body{max-width:100%;overflow-x:hidden}section,.grid>*,.work-grid>*,.entry-layout>*,.transaction-form>*{min-width:0}
@media(max-width:760px){
  aside{width:min(86vw,320px);box-shadow:16px 0 34px rgba(6,25,39,.24)}
  .topbar{height:60px;gap:10px}.topbar>span{max-width:55vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .page{padding:14px}.page-head{margin-bottom:14px}.page-head h1{font-size:1.45rem;line-height:1.2}
  section{padding:14px;margin:14px 0;border-radius:11px}
  input,select,button{width:100%;max-width:100%;font-size:16px}
  .operation-tabs,.sub-tabs{overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}
  .operation-tabs a,.sub-tabs a{flex:0 0 auto;white-space:nowrap;padding:10px 15px}
  .form-actions{display:grid;grid-template-columns:1fr;gap:9px}.form-actions button{width:100%}
  .entry-summary dl>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.entry-summary dt,.entry-summary dd{width:auto}
  .live-summary>div{align-items:flex-start}.live-summary span,.live-summary strong{overflow-wrap:anywhere}
  .page>section table,.transaction-list,.journal-table,.cash-totals,.cash-account-balances,.extre-table,.trial-balance{display:block!important;width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .page>section table thead,.page>section table tbody,.page>section table tfoot{width:100%;min-width:100%;display:table-header-group}
  .page>section table tbody{display:table-row-group}.page>section table tfoot{display:table-footer-group}
  .transaction-list,.journal-table,.cash-account-balances,.extre-table,.trial-balance,.cash-totals{min-width:0}
  .transaction-list thead,.transaction-list tbody,.journal-table thead,.journal-table tbody,.journal-table tfoot,.cash-account-balances thead,.cash-account-balances tbody,.extre-table thead,.extre-table tbody,.extre-table tfoot,.trial-balance thead,.trial-balance tbody{width:720px;min-width:720px;display:table!important;table-layout:auto}
  .cash-totals thead,.cash-totals tbody{width:520px;min-width:520px;display:table!important;table-layout:fixed}
  .transaction-list th,.transaction-list td,.journal-table th,.journal-table td,.cash-account-balances th,.cash-account-balances td,.extre-table th,.extre-table td,.trial-balance th,.trial-balance td{white-space:nowrap}
  .transaction-list td:nth-child(3),.extre-table td:nth-child(4){white-space:normal;min-width:210px}
  .journal-card{overflow:hidden}.journal-card>.journal-table{overflow-x:auto}
  .journal-meta{grid-template-columns:1fr}.journal-table{table-layout:auto!important}
  .journal-table th:nth-child(1),.journal-table th:nth-child(2){min-width:230px}.journal-table th:nth-child(3),.journal-table th:nth-child(4){min-width:130px}.journal-table th:nth-child(5){min-width:48px}
  .journal-total-cell{min-width:130px}
  .cash-toolbar,.period-filter{display:grid;grid-template-columns:1fr;align-items:stretch}.cash-toolbar .status,.status-pill{margin:0;justify-self:start}
  .cash-ledger-grid section{overflow:hidden}.cash-ledger-grid table{table-layout:auto}
  .extre-filter{grid-template-columns:1fr;padding-top:0}.extre-filter .extre-actions{position:static;display:grid;grid-template-columns:1fr auto;grid-column:1;margin-bottom:4px}.extre-filter .extre-actions button:first-child{min-width:0}
  .extre-filter .account-search{grid-column:1}.extre-report .print-heading{display:grid;gap:6px}.extre-report .print-heading h2{margin:0}
  .animal-row{grid-template-columns:1fr}.animal-row input,.animal-row input[type=file],.animal-row input:nth-child(3){grid-column:1}.animal-row .remove-animal{width:44px;justify-self:end}
  .animal-option{grid-template-columns:24px minmax(0,1fr) 58px}.animal-option img{width:54px;height:42px}.animal-option span{min-width:0;overflow-wrap:anywhere}
  .trade-v2>button{min-width:0;width:100%}.buyback-v2,#consignmentFields{padding:12px}
  .product-actions{display:flex;align-items:center;gap:8px;white-space:nowrap}.toggle-form{display:flex!important;grid-template-columns:none!important}.toggle-form button{width:46px}
  .modal-backdrop{padding:6px}.document-modal{padding:38px 10px 12px;border-radius:12px}.modal-close{right:12px;top:7px}
}
@media(max-width:390px){
  .page{padding:10px}.topbar{padding:0 10px}.page-head h1{font-size:1.3rem}section{padding:11px}
  .extre-filter .extre-actions{grid-template-columns:1fr 48px}.icon-button{width:48px;min-width:48px}
  .cash-totals thead,.cash-totals tbody{width:460px;min-width:460px}.transaction-list thead,.transaction-list tbody,.journal-table thead,.journal-table tbody,.journal-table tfoot,.cash-account-balances thead,.cash-account-balances tbody,.extre-table thead,.extre-table tbody,.extre-table tfoot,.trial-balance thead,.trial-balance tbody{width:680px;min-width:680px}
}

/* 20.09 son düzenlemeler */
.document-list,.audit-table,.warehouse-list{display:table!important;width:100%;table-layout:fixed}
.document-list thead,.audit-table thead,.warehouse-list thead{display:table-header-group!important}.document-list tbody,.audit-table tbody,.warehouse-list tbody{display:table-row-group!important}
.document-list th:nth-child(1){width:12%}.document-list th:nth-child(2){width:15%}.document-list th:nth-child(3){width:15%}.document-list th:nth-child(4){width:30%}.document-list th:nth-child(5),.document-list th:nth-child(6){width:10%}.document-list th:nth-child(7){width:8%}
.document-description{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.audit-table th:nth-child(1){width:14%}.audit-table th:nth-child(2){width:14%}.audit-table th:nth-child(3){width:18%}.audit-table th:nth-child(4){width:54%}.audit-table th,.audit-table td{vertical-align:top;text-align:left}
.report-tools{display:flex;align-items:center;justify-content:flex-end;gap:16px;flex-wrap:wrap;margin:0 0 16px}.report-tools label{display:flex;align-items:center;gap:7px;font-weight:700}.report-tools input{width:18px;height:18px}
.warehouse-list th,.warehouse-list td{vertical-align:middle}.inline-form{display:inline}.danger{background:#bf433c!important}.role-cards,.user-cards,.template-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}.role-cards article,.user-card,.template-cards article{border:1px solid #d8e4eb;border-radius:12px;padding:15px;background:#f9fbfc}.role-cards article{display:grid;gap:6px}.user-card,.template-cards article form{display:grid;gap:10px}.template-cards article>div{display:flex;align-items:center;justify-content:space-between}.template-cards code{color:#176b9c}.template-cards textarea{width:100%;resize:vertical}.edit-notice{grid-column:1/3;align-self:end;margin:0;color:#176b9c;font-weight:800}.personnel-month[hidden]{display:none}.discount-note{display:block;color:#a35b00;font-weight:800;margin-top:5px}.compact-field{max-width:320px}
.transaction-list-wide th:nth-child(1){width:14%}.transaction-list-wide th:nth-child(2),.transaction-list-wide th:nth-child(3){width:20%}.transaction-list-wide th:nth-child(4){width:28%}.transaction-list-wide th:nth-child(5){width:13%}.transaction-list-wide th:nth-child(6){width:5%}
@media(max-width:760px){.document-list thead,.document-list tbody{width:760px;min-width:760px;display:table!important;table-layout:fixed}.document-description{max-width:20ch}.audit-table thead,.audit-table tbody{width:820px;min-width:820px;display:table!important;table-layout:fixed}.report-tools{justify-content:flex-start;align-items:flex-start;flex-direction:column}.report-tools .icon-button{width:48px}.warehouse-list thead,.warehouse-list tbody{width:850px;min-width:850px;display:table!important;table-layout:fixed}.edit-notice{grid-column:1}.compact-field{max-width:none}.transaction-list-wide thead,.transaction-list-wide tbody{width:900px!important;min-width:900px!important}}

/* Stok hareketleri ve alış/satış son düzeni */
.stock-records{display:table!important;width:100%;table-layout:fixed}.stock-records thead{display:table-header-group!important}.stock-records tbody{display:table-row-group!important}.stock-records th,.stock-records td{vertical-align:middle}.stock-records th:nth-child(1){width:9%}.stock-records th:nth-child(2){width:11%}.stock-records th:nth-child(3){width:15%}.stock-records th:nth-child(4){width:12%}.stock-records th:nth-child(5){width:9%}.stock-records th:nth-child(6){width:10%}.stock-records th:nth-child(7){width:10%}.stock-records th:nth-child(8){width:8%}.stock-records th:nth-child(9){width:16%}.stock-records th:nth-child(n+5):nth-child(-n+8),.stock-records td:nth-child(n+5):nth-child(-n+8){text-align:right;font-variant-numeric:tabular-nums}.ledger-records th:nth-child(5),.ledger-records th:nth-child(6),.ledger-records td:nth-child(5),.ledger-records td:nth-child(6){text-align:right;font-variant-numeric:tabular-nums}.stock-in{color:#18713b;font-weight:800}.stock-out{color:#b3342d;font-weight:800}.animal-sale-actions{display:flex;justify-content:flex-start}.animal-sale-actions button{width:auto;min-width:220px}.trade-v2>.trade-save{grid-column:1/-1;justify-self:end;min-width:300px}.trade-v2 label{align-self:start}.trade-v2 label>input,.trade-v2 label>select,.trade-v2 label>.search-select{width:100%}
form[data-submitting="1"] button:disabled{opacity:.65;cursor:wait}
@media(max-width:900px){.stock-records{min-width:1120px}.trade-v2>.trade-save{min-width:240px}}
@media(max-width:760px){.stock-records thead,.stock-records tbody{width:1120px;min-width:1120px;display:table!important;table-layout:fixed}.animal-sale-actions button,.trade-v2>.trade-save{width:100%;min-width:0}}

/* Ürün, rapor ve depo kullanılabilirlik düzenlemeleri */
.product-search{justify-content:flex-start}.product-search input{margin-left:0}
.product-edit-card{max-width:1180px}.back-link{display:inline-flex;margin-bottom:12px;font-weight:800}.delete-product-form{margin-top:18px;padding-top:16px;border-top:1px solid #d8e4eb}.delete-product-form button{width:auto}
.warehouse-stock .number{text-align:right;font-variant-numeric:tabular-nums}
.filter-switch{display:inline-flex!important;align-items:center;gap:9px;cursor:pointer}.filter-switch input{position:absolute;opacity:0;pointer-events:none}.filter-switch span{width:44px;height:24px;border-radius:999px;background:#a8b7c2;position:relative;transition:.2s}.filter-switch span:after{content:"";position:absolute;width:18px;height:18px;left:3px;top:3px;border-radius:50%;background:#fff;transition:.2s}.filter-switch input:checked+span{background:#187a4d}.filter-switch input:checked+span:after{transform:translateX(20px)}
.extre-table th:nth-child(2),.extre-table td:nth-child(2),.extre-table th:nth-child(3),.extre-table td:nth-child(3){text-align:left}.extre-table th:nth-last-child(-n+4),.extre-table td:nth-last-child(-n+4){text-align:right;font-variant-numeric:tabular-nums}
@media print{.no-print,.report-tools{display:none!important}}
@media(max-width:760px){.product-edit-form{grid-template-columns:1fr!important}.product-edit-form button,.delete-product-form button{width:100%}.product-search input{width:100%}.product-edit-card{padding:14px}}

/* Analiz raporları */
.analysis-filter{margin-top:0}.analysis-filter-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr auto auto;gap:12px;align-items:end}.analysis-filter-grid label{margin:0}.analysis-custom-date{display:none}.analysis-custom-date.visible{display:grid}.analysis-filter-grid button{white-space:nowrap}.analysis-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:20px 0 12px}.analysis-heading small{color:#60798d;font-weight:800;letter-spacing:.12em}.analysis-heading h2{margin:4px 0 0;font-size:1.35rem}.analysis-heading>span{font-weight:750;color:#49677c}.analysis-section{overflow:hidden}.analysis-section h2{margin-bottom:4px}.section-note{margin-top:0;color:#657b8c}.analysis-table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.analysis-table{display:table!important;width:100%;min-width:max-content;table-layout:auto}.analysis-table thead{display:table-header-group!important}.analysis-table tbody{display:table-row-group!important}.analysis-table th,.analysis-table td{min-width:130px;white-space:nowrap}.analysis-table th:first-child,.analysis-table td:first-child{position:sticky;left:0;z-index:2;background:#fff;min-width:125px}.analysis-table thead th:first-child{background:#e5eef4;z-index:3}.analysis-table th:nth-child(n+3),.analysis-table td:nth-child(n+3){text-align:right;font-variant-numeric:tabular-nums}.analysis-table.compact th,.analysis-table.compact td{text-align:center!important}.analysis-table tbody tr:hover td{background:#f4f9fc}.analysis-table tbody tr:hover td:first-child{background:#edf5f9}
.account-analysis-table{width:100%!important;min-width:900px!important;table-layout:fixed!important}.page>section .account-analysis-table thead{display:table-header-group!important;width:auto!important}.page>section .account-analysis-table tbody{display:table-row-group!important;width:auto!important}.account-analysis-table tr{display:table-row!important}.account-analysis-table th,.account-analysis-table td{min-width:0!important;vertical-align:middle}.account-analysis-table th:not(:nth-child(2)),.account-analysis-table td:not(:nth-child(2)){text-align:right}.account-analysis-table th:first-child,.account-analysis-table td:first-child{width:6%!important;min-width:0!important;text-align:center;position:static}.account-analysis-table th:nth-child(2),.account-analysis-table td:nth-child(2){width:28%!important;min-width:0!important;text-align:left}.account-analysis-table th:nth-child(n+3),.account-analysis-table td:nth-child(n+3){width:auto;text-align:right;font-variant-numeric:tabular-nums}.analysis-total-row td{border-top:2px solid #0f4c75;background:#eef5fa!important;color:#082f4e}
.analysis-region-row th{padding:10px 14px!important;text-align:left!important;background:#d7e7f2!important;color:#0b456b;border-top:2px solid #8fb5cc;font-size:.82rem;letter-spacing:.04em}.analysis-balance-side{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;margin-left:6px;border-radius:999px;color:#fff;font-size:.78rem;font-weight:900}.analysis-balance-side.debit{background:#168447}.analysis-balance-side.credit{background:#cf352e}
.analysis-region-title{margin:-18px -18px 16px;padding:14px 18px;background:#d7e7f2;color:#0b456b;text-align:center;letter-spacing:.08em}.analysis-region-section.month-count-5 .account-analysis-table,.analysis-region-section.month-count-6 .account-analysis-table{font-size:.9rem}.analysis-region-section.month-count-7 .account-analysis-table,.analysis-region-section.month-count-8 .account-analysis-table{font-size:.8rem}.analysis-region-section[class*="month-count-9"] .account-analysis-table,.analysis-region-section.month-count-10 .account-analysis-table,.analysis-region-section.month-count-11 .account-analysis-table,.analysis-region-section.month-count-12 .account-analysis-table{font-size:.72rem}.recent-count{margin-left:auto}.recent-count label{display:flex;align-items:center;gap:8px;margin:0}.recent-count select{width:auto;min-width:78px;padding:8px 30px 8px 10px}.inline-delete{display:inline;margin-left:6px}.inline-delete button{width:auto!important;padding:5px 9px!important}.customer-balance-table th:nth-child(3),.customer-balance-table td:nth-child(3){text-align:left!important}.customer-balance-table th:nth-child(n+4),.customer-balance-table td:nth-child(n+4){text-align:right}.customer-balance-table th:first-child,.customer-balance-table td:first-child{text-align:center}
.document-modal .document-delete-floating{position:absolute;z-index:4;right:24px;top:68px}.document-delete-floating button{width:auto!important;min-width:112px;box-shadow:0 6px 20px rgba(120,20,20,.25)}.document-modal:has(.document-delete-floating)>section{padding-top:58px}.transaction-edit-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:10px}.transaction-edit-actions button{width:min(100%,360px)}.transaction-edit-actions .danger{max-width:150px}@media(max-width:700px){.document-modal .document-delete-floating{position:static;margin:8px 0 14px;text-align:right}.document-modal:has(.document-delete-floating)>section{padding-top:0}.transaction-edit-actions{flex-direction:column-reverse}.transaction-edit-actions button,.transaction-edit-actions .danger{max-width:none;width:100%}}
.analysis-print-region-head{display:none}
.monthly-stock-matrix{min-width:1100px!important;border-collapse:collapse}.monthly-stock-matrix th,.monthly-stock-matrix td{min-width:72px!important;padding:8px 7px;text-align:right!important;border-right:1px solid #c7d6df}.monthly-stock-matrix th:first-child,.monthly-stock-matrix td:first-child{min-width:110px!important;text-align:left!important}.monthly-stock-matrix th:nth-child(2),.monthly-stock-matrix td:nth-child(2){min-width:190px!important;text-align:left!important;position:sticky;left:110px;z-index:2;background:#fff}.monthly-stock-matrix thead th:nth-child(2){background:#e5eef4;z-index:3}.monthly-stock-matrix thead tr:first-child th{text-align:center!important;background:#dce9f2;border-bottom:1px solid #a9bfce}.monthly-stock-matrix thead tr:nth-child(2) th{text-align:center!important;font-size:.78rem}.monthly-stock-matrix.month-count-5,.monthly-stock-matrix.month-count-6{font-size:.82rem}.monthly-stock-matrix.month-count-7,.monthly-stock-matrix.month-count-8{font-size:.72rem}.monthly-stock-matrix.month-count-9,.monthly-stock-matrix.month-count-10,.monthly-stock-matrix.month-count-11,.monthly-stock-matrix.month-count-12{font-size:.66rem}
.monthly-stock-matrix tbody td:first-child{position:sticky;left:0;z-index:3;background:#fff}.monthly-stock-matrix tbody td:nth-child(2){position:sticky;left:110px;z-index:3;background:#fff}.monthly-stock-matrix thead tr:first-child th:first-child{position:sticky;left:0;z-index:6;background:#dce9f2!important}.monthly-stock-matrix thead tr:first-child th:nth-child(2){position:sticky;left:110px;z-index:6;background:#dce9f2!important}.monthly-stock-matrix thead tr:nth-child(2) th{position:static!important;left:auto!important;z-index:auto!important;background:#e5eef4}.account-analysis-table th:last-child,.account-analysis-table td:last-child{min-width:150px!important;width:19.2%}.account-analysis-table .analysis-balance-side{display:inline;min-width:0;width:auto;height:auto;margin-left:5px;padding:0;border-radius:0;background:transparent!important;font-size:inherit;line-height:inherit;vertical-align:baseline}.analysis-balance-value.debit,.analysis-balance-value.debit .analysis-balance-side,.balance-debit{color:#c62828!important}.analysis-balance-value.credit,.analysis-balance-value.credit .analysis-balance-side,.balance-credit{color:#168447!important}.analysis-balance-side.debit{background:#c62828}.analysis-balance-side.credit{background:#168447}.balance-debit,.balance-credit{font-weight:800}.report-tools input[type="checkbox"]{appearance:none;-webkit-appearance:none;width:44px!important;height:24px!important;min-height:24px;padding:0;border:0;border-radius:999px;background:#a8b7c2;position:relative;cursor:pointer;transition:.2s}.report-tools input[type="checkbox"]:before{content:"";position:absolute;width:18px;height:18px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:.2s}.report-tools input[type="checkbox"]:checked{background:#187a4d}.report-tools input[type="checkbox"]:checked:before{transform:translateX(20px)}.report-tools label{flex-direction:row;cursor:pointer}.report-tools label b{white-space:nowrap}
.customer-balance-value{text-align:right!important;font-variant-numeric:tabular-nums;white-space:nowrap}.customer-balance-value span{display:inline-block;margin-left:5px;min-width:1ch}.extre-filter{display:grid!important;grid-template-columns:minmax(280px,2fr) minmax(145px,.8fr) minmax(132px,.68fr) minmax(132px,.68fr) auto!important;gap:10px!important;padding-top:0!important;align-items:end}.extre-filter .account-search{grid-column:auto!important}.extre-filter .extre-actions{position:static!important;display:flex!important;grid-column:auto!important;gap:8px;margin:0!important}.vector-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:112px;padding:9px 12px}.vector-button.icon-only{min-width:44px;width:44px;padding:9px}.vector-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.document-animal-list img{width:72px;height:54px;object-fit:cover;border-radius:7px}.animal-row{grid-template-columns:minmax(150px,1fr) 92px minmax(170px,1.25fr) 165px 44px}.animal-row input[type="file"]{min-width:0;width:165px;font-size:.75rem;padding:8px 5px}.animal-row input[name$="[kg]"]{min-width:0;padding-left:7px;padding-right:7px}@media(max-width:1100px) and (min-width:801px){.animal-row{grid-template-columns:minmax(135px,1fr) 82px minmax(145px,1fr) 145px 42px;gap:6px}.animal-row input[type="file"]{width:145px;font-size:.68rem}.animal-editor{padding:12px!important}}@media(max-width:1050px){.extre-filter{grid-template-columns:minmax(240px,1.5fr) minmax(140px,.7fr) auto!important}.extre-filter .custom-date.visible{grid-row:2}.extre-filter .extre-actions{grid-column:3;grid-row:1}}@media(max-width:700px){.extre-filter{grid-template-columns:1fr!important}.extre-filter .account-search,.extre-filter .custom-date.visible,.extre-filter .extre-actions{grid-column:1!important;grid-row:auto!important}.extre-filter .extre-actions{display:grid!important;grid-template-columns:1fr 48px!important}.vector-button{width:100%}}
@media(max-width:1100px){.analysis-filter-grid{grid-template-columns:1fr 1fr 1fr}.analysis-filter-grid button{width:100%}}
@media(max-width:650px){.analysis-filter-grid{grid-template-columns:1fr}.analysis-heading{display:grid}.analysis-heading>span{font-size:.9rem}.analysis-table th,.analysis-table td{min-width:120px;padding:9px 8px}.analysis-table th:first-child,.analysis-table td:first-child{min-width:110px}}
@media print{@page{size:A4 landscape;margin:7mm}.analysis-heading{display:none!important}.analysis-filter{display:none!important}.analysis-region-section{break-before:page!important;page-break-before:always!important;padding:0!important;margin:0!important;border:0!important;box-shadow:none!important;overflow:visible!important}.analysis-region-section.first-region-section{break-before:auto!important;page-break-before:auto!important}.analysis-region-title,.account-report-caption{display:none!important}.analysis-print-region-head{display:flex!important;align-items:center;justify-content:space-between;margin:0 0 5px;padding:0 2px;color:#082f4e;font-size:9pt}.analysis-print-region-head strong{font-size:11pt;letter-spacing:.05em}.analysis-table-wrap{overflow:visible!important;width:100%!important}.account-analysis-table{width:100%!important;min-width:0!important;table-layout:fixed!important;font-size:6.7pt!important}.account-analysis-table th,.account-analysis-table td{min-width:0!important;padding:2px 3px!important;height:auto!important;line-height:1.05!important;white-space:nowrap!important}.account-analysis-table th:first-child,.account-analysis-table td:first-child{position:static!important;width:4%!important}.account-analysis-table th:nth-child(2),.account-analysis-table td:nth-child(2){position:static!important;width:24%!important;overflow:hidden;text-overflow:ellipsis}.account-analysis-table th:nth-child(n+3),.account-analysis-table td:nth-child(n+3){width:auto!important}.account-analysis-table thead{display:table-header-group!important}.account-analysis-table tr{break-inside:avoid;page-break-inside:avoid}.analysis-balance-side{min-width:14px;height:14px;margin-left:2px;font-size:5.5pt}.analysis-total-row td{padding-top:3px!important;padding-bottom:3px!important}.analysis-table:not(.account-analysis-table){font-size:7pt;min-width:0}.analysis-table:not(.account-analysis-table) th,.analysis-table:not(.account-analysis-table) td{min-width:0;padding:3px;white-space:normal}.analysis-table th:first-child,.analysis-table td:first-child{position:static}}
.extre-filter .custom-date{display:flex!important;visibility:hidden;pointer-events:none}.extre-filter .custom-date.visible{visibility:visible;pointer-events:auto}@media(max-width:700px){.extre-filter .custom-date{display:none!important}.extre-filter .custom-date.visible{display:flex!important}}
aside{padding-bottom:86px}.logout{position:fixed;left:0;bottom:0;width:246px;margin:0;padding:12px 15px 14px;background:var(--nav);border-top:1px solid #315069;z-index:31;box-shadow:0 -8px 18px rgba(6,25,39,.18)}@media(max-width:760px){.logout{width:min(86vw,320px)}}
.document-modal .document-delete-floating{position:static;display:flex;justify-content:flex-end;margin:18px 0 0}.document-modal:has(.document-delete-floating)>section{padding-top:0}.document-animal-list{table-layout:fixed!important}.document-animal-list th:nth-child(1),.document-animal-list td:nth-child(1){width:8%}.document-animal-list th:nth-child(2),.document-animal-list td:nth-child(2){width:22%}.document-animal-list th:nth-child(3),.document-animal-list td:nth-child(3){width:20%;text-align:left}.document-animal-list th:nth-child(4),.document-animal-list td:nth-child(4){width:15%;text-align:right}.document-animal-list th:nth-child(5),.document-animal-list td:nth-child(5){width:20%}.document-animal-list th:nth-child(6),.document-animal-list td:nth-child(6){width:15%;text-align:center}
.animal-image-modal[hidden]{display:none}.animal-image-modal{position:fixed;inset:0;z-index:1300;display:flex;align-items:center;justify-content:center;padding:34px;background:rgba(5,20,31,.84)}.animal-image-modal img{display:block;max-width:min(1100px,94vw);max-height:88vh;width:auto;height:auto;border-radius:12px;box-shadow:0 20px 70px #0009}.animal-image-close{position:fixed;right:24px;top:18px;width:48px;min-width:48px;height:48px;padding:0;border-radius:50%;font-size:30px;line-height:1;background:#fff;color:#173a53}
.recent-count label{font-size:0}.recent-count select{font-size:.88rem}.monthly-stock-matrix{min-width:0!important;table-layout:fixed}.monthly-stock-matrix th,.monthly-stock-matrix td{min-width:52px!important;width:52px!important;padding:7px 4px}.monthly-stock-matrix th:first-child,.monthly-stock-matrix td:first-child{min-width:96px!important;width:96px!important}.monthly-stock-matrix th:nth-child(2),.monthly-stock-matrix td:nth-child(2){min-width:180px!important;width:180px!important;left:96px}.monthly-stock-matrix tbody td:nth-child(2),.monthly-stock-matrix thead tr:first-child th:nth-child(2){left:96px}.analysis-filter-grid{grid-template-columns:minmax(280px,1.6fr) minmax(170px,1fr) minmax(135px,1fr) minmax(135px,1fr) 46px 46px}.analysis-filter-grid .vector-button{width:46px;min-width:46px}
@media(max-width:700px){.document-modal .document-delete-floating{margin-top:14px}.animal-image-modal{padding:16px}.animal-image-close{right:12px;top:10px}.document-animal-list{min-width:720px}.analysis-filter-grid .vector-button{width:100%}}
.analysis-filter-grid{grid-template-columns:minmax(300px,1.6fr) minmax(190px,1fr) minmax(135px,.75fr) minmax(135px,.75fr) auto}.analysis-filter-actions{grid-column:5;display:flex;justify-content:flex-end;gap:9px}.analysis-filter-actions .vector-button{width:46px!important;min-width:46px!important}.analysis-filter-grid .analysis-custom-date:not(.visible){display:none}.operation-tabs{display:inline-flex;gap:6px;padding:5px;margin:0 0 8px;background:#dde8f0;border:1px solid #cbdbe6;border-radius:12px}.operation-tabs a{min-width:132px;padding:11px 18px;border-radius:9px;text-align:center;color:#294c65;background:transparent}.operation-tabs a.active{background:#176fa8;color:#fff;box-shadow:0 5px 14px #176fa833}.operation-tabs.sub-tabs{margin-left:8px}.operation-tabs.sub-tabs a{min-width:96px}.trade-v2{grid-template-columns:repeat(5,minmax(150px,1fr));gap:14px 16px}.trade-v2>.check{align-self:end;min-height:50px;display:flex;flex-direction:row;align-items:center;padding:10px 14px;border:1px solid #d4e0e8;border-radius:10px;background:#f6f9fb}.trade-v2>.check input{width:22px;min-height:22px}.trade-v2>.full{grid-column:1/-1}.trade-v2>.trade-save,.trade-v2>button:last-child{grid-column:4/6;justify-self:stretch}.trade-v2 label small{min-height:0}.financial-filter{margin-top:0}.financial-filter-grid{display:grid;grid-template-columns:minmax(200px,1fr) 160px 160px 1fr;gap:12px;align-items:end}.financial-custom-date{display:none}.financial-custom-date.visible{display:flex}.financial-filter-actions{grid-column:4;display:flex;justify-content:flex-end;gap:9px}.financial-heading{display:flex;align-items:end;justify-content:space-between;margin:22px 2px 12px}.financial-heading small{font-weight:900;letter-spacing:.13em;color:#698196}.financial-heading h2{margin:5px 0 0}.financial-heading>span{font-weight:750;color:#49677c}.financial-dashboard{padding:18px}.financial-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.financial-kpis article{position:relative;display:flex;flex-direction:column;min-height:132px;padding:20px;border:1px solid #d7e3eb;border-radius:13px;background:linear-gradient(145deg,#fff,#f6fafc);overflow:hidden}.financial-kpis article:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:#4f7893}.financial-kpis article.primary:before{background:#176fa8}.financial-kpis article.good:before{background:#1b8b55}.financial-kpis article.bad:before{background:#d0443b}.financial-kpis article span{font-weight:750;color:#587185}.financial-kpis article strong{margin:12px 0 7px;font-size:1.55rem;color:#0d304c}.financial-kpis article.good strong{color:#147747}.financial-kpis article.bad strong{color:#c4352d}.financial-kpis article small{margin-top:auto;color:#7890a0}.financial-detail-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:18px}.financial-detail-grid section{margin:0}.financial-stock-table th:nth-child(4),.financial-stock-table td:nth-child(4){text-align:right}.extre-product-summary .section-heading{margin-bottom:10px}.extre-product-summary .section-heading p{margin:4px 0 0;color:#6b8191}.extre-product-summary tfoot th{border-top:2px solid #27678f}
@media(max-width:1100px){.trade-v2{grid-template-columns:repeat(3,1fr)}.trade-v2>.trade-save,.trade-v2>button:last-child{grid-column:2/4}.financial-kpis{grid-template-columns:repeat(2,1fr)}.financial-filter-grid{grid-template-columns:1fr 1fr 1fr auto}.analysis-filter-grid{grid-template-columns:1fr 1fr auto}.analysis-filter-actions{grid-column:3}.analysis-filter-grid .analysis-custom-date.visible{grid-row:2}}
@media(max-width:700px){.operation-tabs,.operation-tabs.sub-tabs{display:flex;margin:0 0 8px}.operation-tabs a{flex:1;min-width:0}.trade-v2{grid-template-columns:1fr}.trade-v2>.trade-save,.trade-v2>button:last-child{grid-column:1}.financial-kpis,.financial-detail-grid{grid-template-columns:1fr}.financial-filter-grid{grid-template-columns:1fr}.financial-filter-actions{grid-column:1}.financial-heading{display:grid;gap:6px}.analysis-filter-grid{grid-template-columns:1fr}.analysis-filter-actions{grid-column:1}.analysis-filter-actions .vector-button{width:46px!important}}
@media print{.financial-filter{display:none!important}.financial-kpis{grid-template-columns:repeat(4,1fr)}.financial-kpis article{min-height:90px;padding:10px}.financial-kpis article strong{font-size:12pt}.financial-detail-grid{grid-template-columns:1fr 1fr}.extre-product-summary{break-inside:avoid}}
.extre-filter .extre-actions{justify-content:flex-end!important}.extre-filter .extre-actions .vector-button{flex:0 0 46px!important;width:46px!important;min-width:46px!important;max-width:46px!important}.financial-stock-table th:nth-child(4),.financial-stock-table td:nth-child(4),.financial-stock-table th:nth-child(6),.financial-stock-table td:nth-child(6),.financial-stock-table th:nth-child(8),.financial-stock-table td:nth-child(8){text-align:right}.financial-stock-table th:nth-child(6),.financial-stock-table td:nth-child(6){min-width:135px}.financial-stock-table th:nth-child(7),.financial-stock-table td:nth-child(7){min-width:160px}.financial-stock-table th:nth-child(8),.financial-stock-table td:nth-child(8){min-width:160px}.financial-stock-table tfoot th{border-top:2px solid #27678f;background:#e2edf4}.stock-value-total{align-self:center;padding:10px 14px;border-radius:10px;background:#e4f4ea;color:#157344;white-space:nowrap}.financial-dashboard+.financial-detail-grid{}.financial-stock-table small{color:#647d8f}.financial-dashboard .section-heading p,section>.section-heading p{margin:4px 0 0;color:#647d8f}@media(max-width:700px){.extre-filter .extre-actions{display:flex!important;justify-content:flex-end!important}.extre-filter .extre-actions .vector-button{width:46px!important}.stock-value-total{white-space:normal}}
.financial-stock-table,.extre-product-summary table,.document-list{display:table!important;width:100%!important;table-layout:fixed!important}.financial-stock-table thead,.extre-product-summary table thead,.document-list thead{display:table-header-group!important}.financial-stock-table tbody,.extre-product-summary table tbody,.document-list tbody{display:table-row-group!important}.financial-stock-table tfoot,.extre-product-summary table tfoot{display:table-footer-group!important}.financial-stock-table th,.financial-stock-table td{vertical-align:middle}.financial-stock-table th:nth-child(1){width:18%}.financial-stock-table th:nth-child(2){width:14%}.financial-stock-table th:nth-child(3){width:8%}.financial-stock-table th:nth-child(4){width:7%}.financial-stock-table th:nth-child(5){width:6%}.financial-stock-table th:nth-child(6){width:12%}.financial-stock-table th:nth-child(7){width:17%}.financial-stock-table th:nth-child(8){width:18%}.document-list td.empty{text-align:center!important;height:82px;white-space:normal}.extre-product-summary table th:nth-child(1){width:19%}.extre-product-summary table th:nth-child(2){width:46%}.extre-product-summary table th:nth-child(3){width:20%;text-align:right}.extre-product-summary table th:nth-child(4){width:15%}.extre-product-summary table td:nth-child(3){text-align:right}.extre-product-summary table tfoot th:first-child{text-align:left}.extre-product-summary table tfoot th:nth-child(2){text-align:right}.monthly-stock-matrix.month-count-1 th,.monthly-stock-matrix.month-count-1 td,.monthly-stock-matrix.month-count-2 th,.monthly-stock-matrix.month-count-2 td,.monthly-stock-matrix.month-count-3 th,.monthly-stock-matrix.month-count-3 td{min-width:64px!important;width:64px!important}.monthly-stock-matrix.month-count-4 th,.monthly-stock-matrix.month-count-4 td{min-width:56px!important;width:56px!important}.monthly-stock-matrix.month-count-5 th,.monthly-stock-matrix.month-count-5 td,.monthly-stock-matrix.month-count-6 th,.monthly-stock-matrix.month-count-6 td{min-width:46px!important;width:46px!important}.monthly-stock-matrix[class*="month-count-"] thead tr:nth-child(2) th{white-space:nowrap;overflow:hidden;text-overflow:clip}.monthly-stock-matrix th:first-child,.monthly-stock-matrix td:first-child{min-width:105px!important;width:105px!important}.monthly-stock-matrix th:nth-child(2),.monthly-stock-matrix td:nth-child(2){min-width:210px!important;width:210px!important;left:105px}.monthly-stock-matrix tbody td:nth-child(2),.monthly-stock-matrix thead tr:first-child th:nth-child(2){left:105px}.monthly-stock-matrix th:last-child,.monthly-stock-matrix td:last-child{min-width:130px!important;width:130px!important}
@media print{.extre-controls{display:none!important}.extre-report{margin-top:0!important;padding-top:0!important}.extre-report .print-heading{display:flex!important;margin-top:0!important}.extre-table thead{display:table-header-group!important}.extre-product-summary{break-before:auto!important;page-break-before:auto!important;margin-top:10px!important}.financial-stock-table{font-size:7.5pt!important}.financial-stock-table th,.financial-stock-table td{padding:3px 4px!important}.stock-value-total{background:none!important;padding:0!important}}
@media print{.extre-report{width:100%!important;max-width:none!important}.extre-report .table-responsive{display:block!important;width:100%!important;overflow:visible!important}.extre-table{display:table!important;width:100%!important;min-width:0!important;max-width:none!important;table-layout:fixed!important;font-size:8.5pt!important}.extre-table thead{display:table-header-group!important;width:auto!important;min-width:0!important}.extre-table tbody{display:table-row-group!important;width:auto!important;min-width:0!important}.extre-table tfoot{display:table-footer-group!important;width:auto!important;min-width:0!important}.extre-table tr{display:table-row!important;width:auto!important;break-inside:avoid;page-break-inside:avoid}.extre-table th,.extre-table td{display:table-cell!important;min-width:0!important;height:auto!important;padding:4px 4px!important;line-height:1.18!important;vertical-align:middle!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:clip}.extre-table th:nth-child(1),.extre-table td:nth-child(1){width:4%!important;text-align:center!important}.extre-table th:nth-child(2),.extre-table td:nth-child(2){width:10%!important;text-align:left!important}.extre-table th:nth-child(3),.extre-table td:nth-child(3){width:12%!important;text-align:left!important;white-space:normal!important}.extre-table th:nth-child(4),.extre-table td:nth-child(4){width:34%!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere!important}.extre-table th:nth-child(5),.extre-table td:nth-child(5),.extre-table th:nth-child(6),.extre-table td:nth-child(6){width:10%!important;text-align:right!important}.extre-table th:nth-child(7),.extre-table td:nth-child(7){width:12%!important;text-align:right!important;white-space:normal!important}.extre-table th:nth-child(8),.extre-table td:nth-child(8){width:8%!important;text-align:right!important}.extre-table .total-row th:first-child{width:auto!important;text-align:right!important}.extre-report .print-heading{width:100%!important;margin:0 0 8px!important}.extre-report .print-heading h2{font-size:12pt!important}.extre-report .print-heading b,.extre-report .print-heading span{font-size:9pt!important}}
.monthly-stock-simple{width:max-content!important;min-width:100%!important;table-layout:fixed!important}.monthly-stock-simple th,.monthly-stock-simple td{min-width:62px!important;width:62px!important;padding:8px 6px!important;text-align:right!important;white-space:nowrap!important}.monthly-stock-simple th{overflow:hidden;text-overflow:clip;text-align:center!important}.monthly-stock-simple th:first-child,.monthly-stock-simple td:first-child{min-width:112px!important;width:112px!important;text-align:left!important}.monthly-stock-simple th:nth-child(2),.monthly-stock-simple td:nth-child(2){min-width:250px!important;width:250px!important;left:112px!important;text-align:left!important}.monthly-stock-simple tbody td:nth-child(2),.monthly-stock-simple thead tr:first-child th:nth-child(2){left:112px!important}.monthly-stock-simple th:nth-child(3),.monthly-stock-simple td:nth-child(3){min-width:72px!important;width:72px!important;text-align:center!important}.monthly-stock-simple th:last-child,.monthly-stock-simple td:last-child{min-width:132px!important;width:132px!important;text-align:right!important}.monthly-stock-simple.month-count-1 th,.monthly-stock-simple.month-count-1 td,.monthly-stock-simple.month-count-2 th,.monthly-stock-simple.month-count-2 td,.monthly-stock-simple.month-count-3 th,.monthly-stock-simple.month-count-3 td,.monthly-stock-simple.month-count-4 th,.monthly-stock-simple.month-count-4 td{min-width:72px!important;width:72px!important}.monthly-stock-simple.month-count-5 th,.monthly-stock-simple.month-count-5 td,.monthly-stock-simple.month-count-6 th,.monthly-stock-simple.month-count-6 td{min-width:60px!important;width:60px!important}.monthly-stock-simple.month-count-7 th,.monthly-stock-simple.month-count-7 td,.monthly-stock-simple.month-count-8 th,.monthly-stock-simple.month-count-8 td,.monthly-stock-simple.month-count-9 th,.monthly-stock-simple.month-count-9 td,.monthly-stock-simple.month-count-10 th,.monthly-stock-simple.month-count-10 td,.monthly-stock-simple.month-count-11 th,.monthly-stock-simple.month-count-11 td,.monthly-stock-simple.month-count-12 th,.monthly-stock-simple.month-count-12 td{min-width:52px!important;width:52px!important}.monthly-stock-simple[class*="month-count-"] th:first-child,.monthly-stock-simple[class*="month-count-"] td:first-child{min-width:112px!important;width:112px!important}.monthly-stock-simple[class*="month-count-"] th:nth-child(2),.monthly-stock-simple[class*="month-count-"] td:nth-child(2){min-width:250px!important;width:250px!important}.monthly-stock-simple[class*="month-count-"] th:nth-child(3),.monthly-stock-simple[class*="month-count-"] td:nth-child(3){min-width:72px!important;width:72px!important}.monthly-stock-simple[class*="month-count-"] th:last-child,.monthly-stock-simple[class*="month-count-"] td:last-child{min-width:132px!important;width:132px!important}
