:root{--navy:#102641;--navy2:#173555;--blue:#1f63da;--teal:#13aeb0;--gold:#d5a23b;--red:#da4e55;--green:#17966c;--ink:#18243a;--muted:#738198;--line:#dde5ef;--bg:#f3f6fa;--white:#fff;--shadow:0 10px 30px rgba(19,43,72,.08)}
*{box-sizing:border-box}html{font-size:16px}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select,textarea{font:inherit}a{color:inherit;text-decoration:none}.btn{border:1px solid var(--line);background:#fff;color:#35577e;border-radius:10px;min-height:42px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:13px;font-weight:750;cursor:pointer}.btn.primary{border:0;color:#fff;background:linear-gradient(135deg,#276be4,#174db9);box-shadow:0 8px 20px rgba(31,99,218,.2)}.btn.danger{color:#b82f39;border-color:#f0c1c5;background:#fff7f7}.btn.small{min-height:34px;padding:0 11px;font-size:11px}.alert{padding:13px 15px;border-radius:11px;font-size:13px;margin:14px 0}.alert.danger{background:#fff0f1;border:1px solid #f4c4c8;color:#b93039}.alert.success{background:#eaf8f1;border:1px solid #bfe5d3;color:#147654}
.auth-body,.installer-body{min-height:100vh;background:radial-gradient(circle at 10% 10%,#17406d,#07162a 58%);padding:30px;display:grid;place-items:center}.auth-shell,.installer-shell{width:min(1120px,100%);min-height:650px;background:#fff;border-radius:26px;overflow:hidden;box-shadow:0 35px 90px rgba(0,0,0,.28);display:grid;grid-template-columns:1.08fr .92fr}.auth-card,.installer-card{padding:48px 54px}.auth-brand{display:flex;align-items:center;gap:12px}.auth-brand>span{width:46px;height:46px;border-radius:14px;background:linear-gradient(140deg,var(--blue),var(--teal));color:#fff;display:grid;place-items:center;font:800 24px Georgia}.auth-brand b,.auth-brand small{display:block}.auth-brand b{font-size:18px}.auth-brand small{font-size:10px;letter-spacing:.17em;color:#7a8a9f;margin-top:3px}.auth-copy,.installer-title{margin:62px 0 26px}.auth-copy>span,.installer-title>span,.install-success>span{font-size:11px;letter-spacing:.15em;color:#14848a;font-weight:850}.auth-copy h1,.installer-title h1,.install-success h1{font-size:34px;margin:8px 0 10px;letter-spacing:-.025em}.auth-copy p,.installer-title p,.install-success p{color:var(--muted);line-height:1.65}.auth-form label,.installer-form label,.form-field{display:block;font-size:12px;font-weight:750;color:#4a5b73;margin-bottom:15px}.auth-form input,.installer-form input,.installer-form select,.form-field input,.form-field select,.form-field textarea,.modal input,.modal select,.modal textarea{display:block;width:100%;border:1px solid var(--line);border-radius:10px;background:#fff;padding:11px 12px;margin-top:6px;color:var(--ink);outline:none}.auth-form input:focus,.installer-form input:focus,.form-field input:focus,.form-field select:focus,.form-field textarea:focus,.modal input:focus,.modal select:focus,.modal textarea:focus{border-color:#6b96df;box-shadow:0 0 0 3px rgba(31,99,218,.1)}.auth-form .btn{width:100%;margin-top:8px}.auth-note{color:#8491a3;font-size:11px;text-align:center;margin-top:20px}.auth-visual,.installer-aside{background:linear-gradient(155deg,#112d4d,#0d2038);color:#fff;padding:70px 58px;display:flex;flex-direction:column;justify-content:center}.auth-visual>span,.installer-aside>span{font-size:11px;letter-spacing:.2em;color:#63d3d2;font-weight:800}.auth-visual h2,.installer-aside h2{font-size:38px;line-height:1.18;margin:16px 0 28px}.auth-visual ul,.installer-aside ul{list-style:none;padding:0;margin:0}.auth-visual li,.installer-aside li{padding:10px 0;color:#d6e2ef;font-size:14px}.auth-visual p,.installer-aside p{margin-top:32px;color:#93a9bf;line-height:1.6}
.installer-shell{width:min(1250px,100%);grid-template-columns:1.3fr .7fr;min-height:760px}.installer-card{padding:34px 42px}.installer-title{margin:28px 0 16px}.installer-title h1{font-size:29px}.requirements{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-bottom:14px}.requirements>div{border:1px solid var(--line);border-radius:11px;padding:10px;display:grid;grid-template-columns:25px 1fr;gap:2px 8px;align-items:center}.requirements i{grid-row:1/3;width:24px;height:24px;border-radius:8px;display:grid;place-items:center;font-style:normal;font-weight:900}.requirements .ok i{background:#e6f7ef;color:var(--green)}.requirements .bad i{background:#fdecee;color:var(--red)}.requirements span{font-size:10px;color:var(--muted)}.requirements b{font-size:11px}.installer-form fieldset{border:1px solid var(--line);border-radius:14px;margin:12px 0;padding:13px 16px 8px}.installer-form legend{padding:0 8px;font-size:12px;font-weight:850;color:#254f81}.installer-form fieldset>small{display:block;color:#8795a6;font-size:10px;margin:-2px 0 6px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.form-grid .wide{grid-column:1/-1}.installer-form label{margin-bottom:10px}.installer-form input{padding:9px 10px}.demo-load-note{display:flex;align-items:center;gap:12px;border:1px solid #bfe2dc;background:#f0fbf8;border-radius:12px;padding:12px 14px}.demo-load-note>i{width:30px;height:30px;border-radius:9px;background:#d8f4eb;color:var(--green);font-style:normal;display:grid;place-items:center}.demo-load-note b,.demo-load-note span{display:block}.demo-load-note b{font-size:12px}.demo-load-note span{font-size:10px;color:var(--muted);margin-top:3px}.installer-submit{width:100%;margin-top:12px}.installer-submit:disabled{opacity:.5;cursor:not-allowed}.install-success{text-align:center;margin:110px auto 0;max-width:500px}.install-success>i{display:grid;place-items:center;width:76px;height:76px;border-radius:24px;background:#e2f7ee;color:var(--green);font-style:normal;font-size:36px;margin:0 auto 22px}.install-success .btn{margin-top:20px}
.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:260px;background:linear-gradient(180deg,#102842,#0d2138);color:#fff;padding:22px 16px;z-index:60;display:flex;flex-direction:column;transition:.22s}.brand{display:flex;align-items:center;gap:11px;padding:2px 8px 23px}.brand-mark{width:40px;height:40px;border-radius:13px;background:linear-gradient(140deg,var(--blue),var(--teal));display:grid;place-items:center;font:800 21px Georgia}.brand b,.brand small{display:block}.brand b{font-size:15px}.brand small{font-size:8px;color:#91a6bc;letter-spacing:.2em;margin-top:3px}.company-box{background:#173655;border:1px solid #244763;border-radius:13px;padding:12px;margin-bottom:18px;display:flex;align-items:center;gap:10px}.company-box>span,.user-card>span:first-child{width:34px;height:34px;border-radius:10px;background:#245ca7;display:grid;place-items:center;font-weight:800}.company-box b,.company-box small{display:block}.company-box b{font-size:11px}.company-box small{font-size:9px;color:#92aac1;margin-top:2px}.sidebar nav{display:flex;flex-direction:column;gap:4px;overflow:auto}.sidebar nav a{display:flex;align-items:center;gap:12px;color:#a9bbce;border-radius:10px;padding:10px 11px;font-size:11px;border-left:3px solid transparent}.sidebar nav a:hover,.sidebar nav a.active{color:#fff;background:#1e4163;border-left-color:#1dc0c2}.sidebar nav i{font-style:normal;width:20px;text-align:center;font-size:15px}.sidebar nav em{font-style:normal;margin-left:auto;background:#d94b53;color:#fff;border-radius:10px;padding:2px 6px;font-size:8px}.sidebar-footer{margin-top:auto}.sidebar-footer>a{display:flex;gap:10px;color:#9eb1c5;font-size:11px;padding:10px}.user-card{border-top:1px solid #29445f;padding:15px 7px 0;display:flex;align-items:center;gap:9px}.user-card b,.user-card small{display:block}.user-card b{font-size:10px}.user-card small{font-size:8px;color:#8fa6bd}.sidebar-toggle{position:absolute;right:-17px;top:190px;width:34px;height:34px;border-radius:50%;border:3px solid var(--bg);background:#1d5fb6;color:#fff;cursor:pointer}.main{margin-left:260px;min-height:100vh;transition:.22s}.topbar{height:78px;background:#fff;border-bottom:1px solid var(--line);padding:0 28px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:40}.topbar-title span{display:block;font-size:8px;letter-spacing:.18em;color:#7f8da0;font-weight:850}.topbar-title h1{font-size:20px;margin:5px 0 0}.top-actions{display:flex;align-items:center;gap:9px}.top-search{display:flex;align-items:center;border:1px solid var(--line);background:#f6f8fb;border-radius:10px;padding:0 11px;min-height:39px}.top-search input{border:0;background:transparent;outline:0;width:230px;font-size:11px}.notification-btn{width:40px;height:40px;border:1px solid var(--line);background:#fff;border-radius:10px;position:relative}.notification-btn em{position:absolute;right:-4px;top:-5px;background:var(--red);color:#fff;border:2px solid #fff;border-radius:12px;font-size:8px;padding:1px 5px;font-style:normal}.mobile-toggle{display:none}.content{padding:26px 28px 40px}.page-intro{display:flex;justify-content:space-between;align-items:end;margin-bottom:20px}.page-intro>div>span{font-size:9px;color:#188c91;letter-spacing:.15em;font-weight:850}.page-intro h2{font-size:26px;margin:6px 0}.page-intro p{margin:0;color:var(--muted);font-size:12px}.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:15px}.kpi{background:#fff;border:1px solid var(--line);border-radius:15px;padding:17px;display:flex;gap:12px;box-shadow:var(--shadow)}.kpi>i{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;font-style:normal;font-weight:900}.kpi.blue>i{background:#e8f0ff;color:var(--blue)}.kpi.teal>i{background:#e2f7f4;color:#0b9288}.kpi.red>i{background:#fdecee;color:var(--red)}.kpi.gold>i{background:#fcf2dd;color:#b67b17}.kpi span,.kpi small{display:block;color:#7c8a9d;font-size:9px}.kpi span{letter-spacing:.08em;font-weight:800}.kpi b{display:block;font-size:21px;margin:3px 0}.panel{background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow);overflow:hidden}.panel-head{min-height:64px;padding:14px 17px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-head h3{font-size:14px;margin:0}.panel-head p{font-size:10px;color:var(--muted);margin:4px 0 0}.panel-head-actions{display:flex;gap:7px;align-items:center}.dashboard-grid{display:grid;grid-template-columns:1.7fr 1fr;gap:15px;margin-bottom:15px}.bar-chart{height:270px;padding:20px 24px;display:flex;align-items:end;justify-content:space-around;background:repeating-linear-gradient(to bottom,#fff 0,#fff calc(25% - 1px),#e9eef4 25%)}.bar-month{height:100%;display:flex;align-items:end;gap:5px;position:relative;padding-bottom:28px}.bar-month i{width:17px;border-radius:5px 5px 1px 1px}.bar-month i:first-child{background:#cbd8ea}.bar-month i:nth-child(2){background:linear-gradient(#3177ed,#1f5bca)}.bar-month span{position:absolute;bottom:3px;left:50%;transform:translateX(-50%);font-size:9px;color:#7d8b9e}.summary-card{padding:20px}.donut-row{display:flex;align-items:center;gap:23px}.donut{--p:68;width:120px;height:120px;border-radius:50%;background:conic-gradient(#18aeb0 calc(var(--p)*1%),#e7edf4 0);display:grid;place-items:center;position:relative}.donut:after{content:"";position:absolute;width:80px;height:80px;border-radius:50%;background:#fff}.donut b{z-index:1;font-size:23px}.summary-list{flex:1}.summary-list h3{font-size:18px;margin:0 0 12px}.summary-list p{display:flex;justify-content:space-between;color:#6e7d91;font-size:10px}.summary-list i{width:7px;height:7px;border-radius:50%;display:inline-block;margin-right:6px}.dashboard-lower{display:grid;grid-template-columns:minmax(0,2.8fr) minmax(250px,1fr);gap:15px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:820px}th{background:#f7f9fc;color:#7d8ca0;font-size:9px;letter-spacing:.06em;text-align:left;padding:11px 14px}td{border-top:1px solid #edf1f5;padding:12px 14px;font-size:11px;vertical-align:middle}td b,td small{display:block}td small{color:#8795a7;margin-top:3px;font-size:9px}tbody tr:hover{background:#fbfcfe}.badge{display:inline-flex;padding:5px 8px;border-radius:10px;font-size:9px;font-weight:800;white-space:nowrap}.badge.success{background:#e3f6ed;color:#147e5b}.badge.danger{background:#fdebed;color:#c93e47}.badge.warning{background:#fff1dc;color:#ac7115}.badge.info{background:#e9f1ff;color:#235faf}.progress{width:78px;height:5px;border-radius:6px;background:#e5ebf1}.progress i{display:block;height:100%;border-radius:6px;background:#1ba4ad}.notice-list a{display:flex;gap:11px;padding:14px;border-bottom:1px solid #edf1f5}.notice-list a>i{width:29px;height:29px;border-radius:9px;background:#fdebed;color:var(--red);font-style:normal;display:grid;place-items:center;font-weight:900}.notice-list b,.notice-list small{display:block}.notice-list b{font-size:11px}.notice-list p{font-size:9px;color:var(--muted);margin:4px 0}.notice-list small{font-size:8px;color:#98a4b3}.toolbar{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}.toolbar select,.toolbar input{border:1px solid var(--line);border-radius:9px;background:#fff;padding:10px 11px;font-size:11px;min-width:170px}.two-column{display:grid;grid-template-columns:2.2fr 1fr;gap:15px}.detail-list{padding:12px 17px}.detail-list p{display:flex;justify-content:space-between;border-bottom:1px solid #edf1f5;padding:10px 0;margin:0;font-size:11px}.detail-list span{color:var(--muted)}.empty-state{text-align:center;padding:70px 20px;color:var(--muted)}.empty-state i{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 14px;border-radius:18px;background:#edf3fd;color:var(--blue);font-size:27px;font-style:normal}.empty-state h3{color:var(--ink);margin:0 0 8px}.form-panel{padding:18px}.form-panel .form-grid{gap:12px}.form-panel label{font-size:11px;font-weight:750;color:#516176}.form-panel textarea{min-height:80px;resize:vertical}.flash{position:fixed;right:24px;bottom:24px;z-index:100;background:#153e34;color:#fff;border-radius:11px;padding:14px 18px;font-size:12px;box-shadow:0 12px 30px rgba(12,40,30,.25);transition:.3s}.flash.danger{background:#7f232a}.flash.hide{opacity:0;transform:translateY(15px);pointer-events:none}
.modal-backdrop{display:none;position:fixed;inset:0;z-index:90;background:rgba(5,20,39,.68);padding:20px;place-items:center}.modal-backdrop.open{display:grid}.modal{width:min(720px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:18px;box-shadow:0 30px 80px rgba(0,0,0,.3)}.modal-head{padding:20px 23px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between}.modal-head span{font-size:9px;letter-spacing:.14em;color:var(--blue);font-weight:850}.modal-head h2{font-size:20px;margin:5px 0 0}.modal-head button{border:0;background:#eff3f7;width:32px;height:32px;border-radius:9px;font-size:20px}.modal form{padding:20px 23px}.modal-foot{padding:14px 23px;background:#f7f9fc;display:flex;justify-content:flex-end;gap:8px;border-radius:0 0 18px 18px}.modal label{font-size:11px;font-weight:750;color:#526176}.modal textarea{min-height:75px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.settings-grid .panel{padding:18px}.settings-grid h3{margin-top:0}.report-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.report-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;box-shadow:var(--shadow)}.report-card i{width:42px;height:42px;border-radius:12px;background:#eaf1fc;color:var(--blue);font-style:normal;display:grid;place-items:center;font-size:20px}.report-card h3{font-size:14px}.report-card p{color:var(--muted);font-size:10px;line-height:1.6}.report-card .btn{width:100%}
.sidebar-collapsed .sidebar{width:82px;padding-left:12px;padding-right:12px}.sidebar-collapsed .main{margin-left:82px}.sidebar-collapsed .brand>div,.sidebar-collapsed .company-box>div,.sidebar-collapsed .sidebar nav span,.sidebar-collapsed .sidebar nav em,.sidebar-collapsed .sidebar-footer>a span,.sidebar-collapsed .user-card>div{display:none}.sidebar-collapsed .company-box,.sidebar-collapsed .sidebar nav a,.sidebar-collapsed .user-card{justify-content:center}.sidebar-collapsed .sidebar-toggle{transform:rotate(180deg)}
.print-page{background:#e9edf2;padding:24px}.print-toolbar{max-width:210mm;margin:0 auto 14px;display:flex;justify-content:flex-end;gap:8px}.print-sheet{width:210mm;min-height:297mm;margin:auto;background:#fff;padding:15mm 14mm;box-shadow:0 8px 30px rgba(0,0,0,.12);color:#17243a}.print-head{display:flex;justify-content:space-between;border-bottom:2px solid #173b61;padding-bottom:7mm}.print-brand{display:flex;gap:9px;align-items:center}.print-brand>i{width:36px;height:36px;border-radius:10px;background:linear-gradient(140deg,var(--blue),var(--teal));color:#fff;display:grid;place-items:center;font:800 19px Georgia}.print-head b,.print-head small{display:block}.print-head small{font-size:8px;color:#76859a;margin-top:2px}.print-title{text-align:right}.print-title b{font-size:13px}.print-title small{letter-spacing:.08em}.print-subject{padding:7mm 0 5mm}.print-subject>span{font-size:8px;letter-spacing:.13em;color:#14898e;font-weight:850}.print-subject h1{font-size:22px;margin:2mm 0}.print-subject p{font-size:9px;color:#6f7e92}.print-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:2mm;margin-bottom:5mm}.print-summary>div{border:1px solid #dfe6ee;border-radius:2mm;padding:3mm}.print-summary span,.print-summary b{display:block}.print-summary span{font-size:7px;color:#7e8b9d}.print-summary b{font-size:11px;margin-top:1mm}.print-table{min-width:0}.print-table th,.print-table td{font-size:7.5px;padding:2.5mm;border:1px solid #e0e6ed}.print-table th{background:#edf3f7}.print-sign{display:grid;grid-template-columns:repeat(3,1fr);gap:7mm;margin-top:9mm}.print-sign div{border-top:1px solid #dfe5ec;padding-top:3mm}.print-sign span,.print-sign b,.print-sign small{display:block}.print-sign span{font-size:7px;color:#7b899b}.print-sign b{font-size:9px;margin:2mm 0}.print-sign small{font-size:7px;color:#8b97a7}.print-footer{border-top:1px solid #dfe5ec;margin-top:8mm;padding-top:3mm;text-align:center;font-size:7px;color:#8794a5}
@media(max-width:1100px){.kpi-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid,.dashboard-lower,.two-column{grid-template-columns:1fr}.report-grid{grid-template-columns:1fr 1fr}.installer-shell{grid-template-columns:1fr}.installer-aside{display:none}}
@media(max-width:760px){.auth-body,.installer-body{padding:0}.auth-shell,.installer-shell{display:block;min-height:100vh;border-radius:0}.auth-card,.installer-card{padding:28px 20px}.auth-visual{display:none}.auth-copy{margin-top:50px}.form-grid,.settings-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.requirements{grid-template-columns:1fr 1fr}.sidebar{transform:translateX(-100%);box-shadow:20px 0 60px rgba(0,0,0,.2)}.sidebar.mobile-open{transform:translateX(0)}.main,.sidebar-collapsed .main{margin-left:0}.topbar{padding:0 15px}.mobile-toggle{display:block}.top-search{display:none}.content{padding:18px 14px}.page-intro{align-items:flex-start}.page-intro h2{font-size:22px}.kpi-grid{grid-template-columns:1fr 1fr;gap:9px}.kpi{padding:12px}.kpi>i{display:none}.kpi b{font-size:16px}.dashboard-grid,.dashboard-lower{grid-template-columns:1fr}.report-grid{grid-template-columns:1fr}.sidebar-toggle{display:none}}
@media print{body.print-page{background:#fff;padding:0}.print-toolbar{display:none}.print-sheet{box-shadow:none;margin:0;width:100%;min-height:0;padding:0}.print-table tr,.print-summary,.print-sign{break-inside:avoid}.print-table thead{display:table-header-group}@page{size:A4 portrait;margin:12mm}}
.detail-hero{background:linear-gradient(135deg,#102d4d,#174c72);color:#fff;border-radius:18px;padding:24px 27px;margin-bottom:14px;display:flex;justify-content:space-between;gap:20px;align-items:center;box-shadow:0 14px 35px rgba(16,45,77,.18)}.detail-hero>div>span{display:block;font-size:9px;letter-spacing:.15em;color:#67d2d2;font-weight:850;margin-top:10px}.detail-hero h2{font-size:29px;margin:6px 0}.detail-hero p{margin:0;color:#c5d5e5;font-size:11px;max-width:760px;line-height:1.55}.back-link{font-size:10px;color:#a9c7e1}.detail-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.detail-tabs{display:flex;gap:6px;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:13px;padding:7px;margin-bottom:15px;position:sticky;top:84px;z-index:20}.detail-tabs a{white-space:nowrap;padding:9px 12px;border-radius:8px;font-size:10px;font-weight:800;color:#52667e}.detail-tabs a:hover{background:#eaf2ff;color:var(--blue)}.detail-overview{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:15px}.detail-section{margin:15px 0;scroll-margin-top:145px}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.info-grid.four{grid-template-columns:repeat(4,1fr)}.info-item{border-bottom:1px solid #edf1f5;padding:10px 0;min-width:0}.info-item span,.info-item b{display:block}.info-item span{font-size:8px;letter-spacing:.08em;color:#8794a6;font-weight:750;margin-bottom:4px}.info-item b{font-size:11px;overflow-wrap:anywhere}.large-progress{height:11px;border-radius:10px;background:#e4ebf3;overflow:hidden;margin:28px 0 8px}.large-progress i{display:block;height:100%;border-radius:10px;background:linear-gradient(90deg,var(--teal),var(--blue))}.progress-caption{display:flex;justify-content:space-between;font-size:10px}.progress-caption span{color:var(--muted)}.muted-copy{font-size:10px;color:var(--muted);line-height:1.6;margin-top:22px}.entity-card-grid{padding:16px;display:grid;grid-template-columns:repeat(4,1fr);gap:11px}.entity-card-grid.vendors{grid-template-columns:repeat(3,1fr)}.entity-card{border:1px solid var(--line);border-radius:13px;padding:15px;background:#fff;transition:.18s;min-width:0}.entity-card:hover{transform:translateY(-2px);border-color:#91b5e9;box-shadow:0 10px 25px rgba(20,58,96,.1)}.entity-card>span{font-size:8px;color:#168c91;letter-spacing:.1em;font-weight:850}.entity-card h4{font-size:14px;margin:6px 0}.entity-card p{font-size:9px;color:var(--muted);line-height:1.55;min-height:28px}.entity-card footer{border-top:1px solid #edf1f5;margin-top:11px;padding-top:10px;display:flex;justify-content:space-between;align-items:center;gap:8px}.entity-card footer b{font-size:9px}.entity-card footer em{font-size:8px;color:var(--blue);font-style:normal;font-weight:800}.mini-finance{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-top:10px}.mini-finance span{font-size:7px;color:var(--muted)}.mini-finance b{display:block;font-size:9px;color:var(--ink);margin-top:3px}.table-link{color:#214f85}.table-link:hover{color:var(--blue);text-decoration:underline}.text-danger{color:var(--red);font-weight:750}.text-success{color:var(--green);font-weight:750}.empty-state.compact{padding:32px;grid-column:1/-1}.empty-state.compact i{width:42px;height:42px;font-size:18px}.owner-focus{border:1px solid #cfe0f4;background:#f5f9fe;border-radius:13px;padding:16px;margin-bottom:14px}.owner-focus>span{font-size:8px;letter-spacing:.12em;color:var(--blue);font-weight:850}.owner-focus h3{font-size:18px;margin:6px 0}.owner-focus p{font-size:9px;color:var(--muted)}.work-description{margin-top:15px;border:1px solid var(--line);border-radius:12px;padding:14px;background:#fafbfd}.work-description span{font-size:8px;letter-spacing:.1em;color:var(--muted);font-weight:850}.work-description p{font-size:11px;line-height:1.65;margin:7px 0 0}.audit-card{padding:18px}.audit-card>p{border:1px solid var(--line);background:#f8fafc;border-radius:11px;padding:14px;font-size:11px}.audit-card ol{list-style:none;margin:18px 0 0;padding:0}.audit-card li{position:relative;padding:0 0 18px 23px;border-left:2px solid #b8e2da;margin-left:6px}.audit-card li:last-child{border-left-color:transparent}.audit-card li:before{content:"";position:absolute;left:-6px;top:1px;width:10px;height:10px;border-radius:50%;background:var(--teal)}.audit-card li b,.audit-card li span{display:block;font-size:10px}.audit-card li span{color:var(--muted);margin-top:4px}.kpi-grid.three{grid-template-columns:repeat(3,1fr)}.project-command{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:15px}.receipt-ready{border:1px solid #9bd8c2;background:#edf9f4;border-radius:13px;padding:13px 15px;margin-bottom:15px;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#146e52}
@media(max-width:1100px){.detail-overview{grid-template-columns:1fr}.entity-card-grid,.entity-card-grid.vendors{grid-template-columns:repeat(2,1fr)}.info-grid.four{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.detail-hero{padding:19px;align-items:flex-start;flex-direction:column}.detail-hero h2{font-size:23px}.detail-actions{justify-content:flex-start}.detail-tabs{top:78px}.entity-card-grid,.entity-card-grid.vendors{grid-template-columns:1fr}.info-grid,.info-grid.four{grid-template-columns:1fr}.kpi-grid.three{grid-template-columns:1fr 1fr}}

/* KDTS PRO v2: canlı sürümle eşdeğer etkileşim katmanı */
.global-search-box{position:relative}.global-search-results{display:none;position:absolute;right:0;top:48px;width:min(440px,82vw);max-height:430px;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 22px 60px rgba(9,29,52,.2);padding:7px;z-index:80}.global-search-results.open{display:block}.search-result{display:flex;align-items:center;gap:10px;padding:11px;border-radius:10px}.search-result:hover{background:#f1f6fc}.search-result>i{width:34px;height:34px;border-radius:10px;background:#eaf2ff;color:var(--blue);display:grid;place-items:center;font-style:normal}.search-result b,.search-result span{display:block}.search-result b{font-size:11px}.search-result span{font-size:9px;color:var(--muted);margin-top:2px}.search-empty{padding:22px;text-align:center;color:var(--muted);font-size:11px}
.notification-drawer-backdrop{display:none;position:fixed;inset:0;background:rgba(3,17,34,.55);z-index:120}.notification-drawer-backdrop.open{display:block}.notification-drawer{position:absolute;right:0;top:0;bottom:0;width:min(520px,100%);background:#fff;display:flex;flex-direction:column;box-shadow:-24px 0 70px rgba(4,20,39,.25)}.notification-drawer-head{background:linear-gradient(140deg,#0b3d4c,#0b5960);color:#fff;padding:25px 27px;display:flex;justify-content:space-between;gap:15px}.notification-drawer-head span{font-size:9px;letter-spacing:.16em;color:#62d5d2;font-weight:850}.notification-drawer-head h2{font-size:23px;margin:7px 0}.notification-drawer-head p{font-size:10px;color:#b5d5d6;margin:0}.notification-drawer-head button{width:34px;height:34px;border:0;border-radius:9px;background:rgba(255,255,255,.12);color:#fff;font-size:20px}.notification-toolbar{padding:11px 18px;border-bottom:1px solid var(--line);text-align:right}.notification-list{overflow:auto;flex:1}.notification-item{display:grid;grid-template-columns:38px 1fr auto;gap:11px;padding:15px 18px;border-bottom:1px solid #edf1f5}.notification-item.unread{background:#f2f8ff}.notification-item>i{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-style:normal;font-weight:900}.notification-item>i.success{background:#e3f6ed;color:var(--green)}.notification-item>i.danger,.notification-item>i.warning{background:#fdecee;color:var(--red)}.notification-item b,.notification-item span,.notification-item small{display:block}.notification-item b{font-size:11px}.notification-item span{font-size:10px;color:#607087;margin:4px 0}.notification-item small{font-size:8px;color:#93a0b0}.notification-item>strong{color:var(--blue)}.notification-footer{padding:16px 18px;border-top:1px solid var(--line)}.notification-footer .btn{width:100%}
.v2-approval-center{margin-top:15px}.approval-list{padding:5px 17px}.approval-row{display:grid;grid-template-columns:35px minmax(180px,1fr) auto auto;gap:11px;align-items:center;padding:12px 0;border-bottom:1px solid #edf1f5}.approval-row>i{width:31px;height:31px;border-radius:9px;display:grid;place-items:center;font-style:normal;font-weight:900}.approval-row>i.warning{background:#fff1dc;color:#ad7215}.approval-row>i.success{background:#e3f6ed;color:var(--green)}.approval-row>div>b,.approval-row>div>span,.approval-row>div>small{display:block}.approval-row>div>b{font-size:11px}.approval-row>div>span{font-size:9px;color:#67768b;margin:3px 0}.approval-row>div>small{font-size:8px;color:#97a2b1}.approval-row>strong{font-size:12px}.approval-actions{display:flex!important;gap:5px}.approval-actions form{margin:0}.empty-state.compact{padding:28px}
.v2-module-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:17px}.v2-module-head>div:first-child>span{font-size:9px;letter-spacing:.15em;color:#14898e;font-weight:850}.v2-module-head h2{font-size:26px;margin:6px 0}.v2-module-head p{font-size:11px;color:var(--muted);margin:0}.v2-module-head>div:last-child{display:flex;gap:8px}.workflow-steps{display:grid;grid-template-columns:1fr 28px 1fr 28px 1fr 28px 1fr;align-items:center;margin-bottom:15px}.workflow-steps article{background:#fff;border:1px solid var(--line);border-radius:14px;padding:15px;display:grid;grid-template-columns:32px 1fr auto;align-items:center;gap:9px;box-shadow:var(--shadow)}.workflow-steps article i{width:30px;height:30px;border-radius:9px;background:#e8f1ff;color:var(--blue);display:grid;place-items:center;font-style:normal;font-weight:900}.workflow-steps article span{font-size:8px;color:var(--muted);font-weight:850}.workflow-steps article b{font-size:20px}.workflow-steps>em{text-align:center;color:#94a3b6;font-style:normal}.v2-mini-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:14px}.v2-mini-kpis article{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 16px}.v2-mini-kpis span{font-size:8px;letter-spacing:.08em;color:#7d8b9d;font-weight:850}.v2-mini-kpis b{display:block;font-size:20px;margin-top:4px}
.permission-card-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.permission-card{padding:17px}.permission-user{display:grid;grid-template-columns:40px 1fr 135px;gap:10px;align-items:center}.permission-user>i{width:39px;height:39px;border-radius:12px;background:#e8f1ff;color:var(--blue);display:grid;place-items:center;font-style:normal;font-weight:900}.permission-user b,.permission-user span{display:block}.permission-user b{font-size:11px}.permission-user span{font-size:9px;color:var(--muted)}.permission-user select{border:1px solid var(--line);border-radius:9px;padding:8px;font-size:9px}.permission-checks{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:15px 0}.permission-checks label,.checkbox-line{display:flex!important;align-items:center;gap:7px;font-size:9px!important}.permission-checks input,.checkbox-line input{width:auto!important;margin:0!important}.automation-settings{margin-top:15px}.automation-grid{padding:17px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.automation-grid>label{border:1px solid var(--line);border-radius:11px;padding:12px;display:flex;gap:9px;align-items:flex-start;font-size:10px}.automation-grid>label>input[type=checkbox]{margin-top:2px}.automation-grid b,.automation-grid small{display:block}.automation-grid small{color:var(--muted);font-size:8px;margin-top:3px}.automation-grid .select-rule{display:block}.automation-grid select,.automation-grid .select-rule input{width:100%;border:1px solid var(--line);border-radius:8px;padding:8px;margin-top:8px}.modal-foot.inline{border-radius:0 0 15px 15px}.task-line{display:grid;grid-template-columns:30px 1fr auto;gap:9px;align-items:center;border-bottom:1px solid #edf1f5;padding:10px 0}.task-check{width:28px;height:28px;border:1px solid #ccd7e4;border-radius:9px;background:#fff;color:#7790aa;cursor:pointer}.task-check.done{background:#e3f6ed;color:var(--green);border-color:#bde4d2}.task-line b,.task-line small{display:block}.task-line b{font-size:10px}.task-line small{font-size:8px;color:var(--muted)}.task-line strong{text-align:right;font-size:9px}.document-dropzone{position:relative;border:2px dashed #b9c9db;border-radius:14px;background:#f7faff;text-align:center;padding:24px;margin-bottom:15px}.document-dropzone input{position:absolute;inset:0;opacity:0;cursor:pointer}.document-dropzone i,.document-dropzone b,.document-dropzone span{display:block}.document-dropzone i{font-style:normal;color:var(--blue);font-size:28px}.document-dropzone b{font-size:12px;margin:4px}.document-dropzone span{font-size:9px;color:var(--muted)}.small-modal{width:min(480px,100%)}.modal-body-copy{padding:22px}.modal-body-copy p{color:var(--muted);font-size:11px;line-height:1.6}.detail-finance-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:14px;margin:15px 0}.profit-card{padding:20px;background:linear-gradient(140deg,#12314f,#16516a);color:#fff;border-radius:16px}.profit-card span,.profit-card small{display:block}.profit-card span{font-size:9px;letter-spacing:.12em;color:#75d9d7}.profit-card b{display:block;font-size:31px;margin:8px 0}.profit-card small{font-size:9px;color:#bdd0dc}.projection-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:14px}.projection-grid>div{border:1px solid var(--line);border-radius:10px;padding:11px}.projection-grid span,.projection-grid b{display:block}.projection-grid span{font-size:8px;color:var(--muted)}.projection-grid b{font-size:12px;margin-top:4px}.vendor-statement{border-color:#cfdceb}.vendor-statement .panel-head{background:linear-gradient(90deg,#f8fbff,#fff)}.vendor-statement table tfoot th{background:#edf4fa;border-top:2px solid #cbd8e6;color:#203954;font-size:9px;padding:12px 14px}.vendor-statement table tfoot small{display:block;color:#728198;margin-top:3px}.detail-actions form{margin:0}
@media(max-width:1100px){.workflow-steps{grid-template-columns:1fr 18px 1fr}.workflow-steps article:nth-of-type(n+3),.workflow-steps>em:nth-of-type(n+2){margin-top:10px}.permission-card-grid,.detail-finance-grid{grid-template-columns:1fr}.automation-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.global-search-box{display:none}.v2-module-head{align-items:flex-start;flex-direction:column}.v2-module-head h2{font-size:22px}.workflow-steps{display:block}.workflow-steps>em{display:block;transform:rotate(90deg);padding:4px}.workflow-steps article{margin:0!important}.v2-mini-kpis{grid-template-columns:1fr 1fr}.approval-row{grid-template-columns:32px 1fr}.approval-row>strong,.approval-actions{grid-column:2}.permission-card-grid{grid-template-columns:1fr}.permission-user{grid-template-columns:38px 1fr}.permission-user select{grid-column:1/-1}.automation-grid{grid-template-columns:1fr}.notification-drawer{width:100%}}

/* WhatsApp hemen gönder, güvenli makbuz paylaşımı ve entegrasyon ayarları */
.inline-form{display:inline-flex;margin:2px 0}
.btn.whatsapp-btn{background:#169b63;border-color:#169b63;color:#fff;box-shadow:0 8px 18px rgba(22,155,99,.18)}.btn.whatsapp-btn:hover{background:#118453}.panel-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.settings-subhead{margin:2px 17px 0;padding:18px 0 13px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}.settings-subhead>div>span{font-size:8px;letter-spacing:.15em;color:#168c78;font-weight:850}.settings-subhead h3{font-size:17px;margin:5px 0}.settings-subhead p{font-size:9px;color:var(--muted);margin:0}.whatsapp-settings-grid{padding:4px 17px 17px;display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.whatsapp-settings-grid label{display:block;border:1px solid var(--line);border-radius:11px;padding:12px;font-size:9px;font-weight:800;color:#526176}.whatsapp-settings-grid input,.whatsapp-settings-grid select{display:block;width:100%;border:1px solid var(--line);border-radius:8px;background:#fff;padding:9px;margin-top:7px;color:var(--ink)}.whatsapp-settings-grid small{display:block;color:var(--muted);font-size:8px;line-height:1.45;margin-top:6px;font-weight:500}.whatsapp-settings-note{margin:0 17px 15px;padding:12px 14px;border:1px solid #bfe5d3;border-radius:11px;background:#edf9f4;color:#276b55;font-size:9px;line-height:1.55}.whatsapp-recipient{margin:0 0 16px;display:flex;align-items:center;gap:12px;border:1px solid #bfe5d3;background:#edf9f4;border-radius:13px;padding:13px}.whatsapp-recipient>i{width:42px;height:42px;border-radius:13px;background:#159a62;color:#fff;display:grid;place-items:center;font-style:normal;font-size:10px;font-weight:900}.whatsapp-recipient span,.whatsapp-recipient b,.whatsapp-recipient small{display:block}.whatsapp-recipient span{font-size:8px;letter-spacing:.12em;color:#168259;font-weight:850}.whatsapp-recipient b{font-size:12px;margin:3px 0}.whatsapp-recipient small{font-size:9px;color:#65786f}
@media(max-width:1100px){.whatsapp-settings-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.panel-head{align-items:flex-start}.panel-actions{justify-content:flex-start}.settings-subhead{align-items:flex-start}.whatsapp-settings-grid{grid-template-columns:1fr}.whatsapp-settings-note{font-size:8px}}
/* v2.1 kurumsal kimlik ve kapsamlı firma ayarları */
.sidebar{background:linear-gradient(180deg,var(--brand-sidebar,#102641),#071a2d)}
.auth-visual,.installer-aside{background:linear-gradient(155deg,var(--brand-sidebar,#102641),#07182b)}
.sidebar-brand-logo{width:44px;height:44px;min-width:44px;max-width:44px;object-fit:contain;border-radius:11px}
img.sidebar-brand-logo{background:transparent}
.auth-company-logo{width:52px;height:52px;object-fit:contain;border-radius:12px}
img.auth-company-logo{background:#f4f7fb;padding:5px}
.print-company-logo{width:42px;height:42px;object-fit:contain;border-radius:8px}
img.print-company-logo{background:#fff}
.settings-hero{background:linear-gradient(135deg,var(--brand-sidebar,#102641),var(--brand-primary,#1f63da));color:#fff;border-radius:18px;padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px;box-shadow:0 15px 38px rgba(13,39,69,.18)}
.settings-brand-preview{display:flex;align-items:center;gap:15px;min-width:0}.settings-hero-logo{width:62px;height:62px;object-fit:contain;border-radius:14px}.settings-brand-preview img{background:#fff;padding:7px}.settings-brand-preview>div{min-width:0}.settings-brand-preview span{font-size:8px;letter-spacing:.16em;color:#73ded9;font-weight:850}.settings-brand-preview h2{font-size:24px;margin:5px 0;overflow-wrap:anywhere}.settings-brand-preview p{margin:0;color:#d6e5f1;font-size:10px}.settings-hero-info{max-width:350px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.08);border-radius:12px;padding:12px 14px}.settings-hero-info b,.settings-hero-info span{display:block}.settings-hero-info b{font-size:10px}.settings-hero-info span{font-size:8px;line-height:1.5;color:#d6e5f1;margin-top:4px}
.settings-nav{display:flex;gap:6px;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:12px;padding:7px;margin:12px 0;position:sticky;top:84px;z-index:24}.settings-nav a{white-space:nowrap;padding:9px 12px;border-radius:8px;color:#55667c;font-size:9px;font-weight:800}.settings-nav a:hover{background:#eaf2ff;color:var(--brand-primary,var(--blue))}
.company-settings-form{display:grid;gap:13px}.settings-section{scroll-margin-top:142px}.settings-section>.panel-head{background:linear-gradient(90deg,#f8fbff,#fff)}
.logo-upload-grid{padding:17px;display:grid;grid-template-columns:repeat(4,1fr);gap:11px}.logo-upload-card{position:relative;display:flex;flex-direction:column;gap:5px;border:1px solid var(--line);border-radius:13px;padding:12px;cursor:pointer;background:#fff;min-width:0}.logo-upload-card:hover{border-color:#89afe6;box-shadow:0 8px 24px rgba(15,56,96,.08)}.logo-upload-card.dark{background:var(--brand-sidebar,#102641);border-color:var(--brand-sidebar,#102641);color:#fff}.logo-preview{height:72px;border-radius:10px;background:#f4f7fb;display:grid;place-items:center;padding:8px;margin-bottom:4px}.logo-preview.dark{background:rgba(255,255,255,.08)}.logo-preview.favicon{max-width:86px}.upload-preview{max-width:100%;max-height:58px;width:auto;height:auto;object-fit:contain}.logo-upload-card b{font-size:10px}.logo-upload-card small{font-size:8px;line-height:1.45;color:var(--muted);min-height:24px}.logo-upload-card.dark small{color:#aebfd1}.logo-upload-card input{font-size:8px;max-width:100%;margin-top:auto;color:inherit}.logo-upload-card input::file-selector-button{border:0;border-radius:7px;padding:7px 9px;background:#eaf2ff;color:var(--brand-primary,var(--blue));font-weight:800;margin-right:6px}
.settings-fields{padding:17px;display:grid;gap:12px}.settings-fields.three{grid-template-columns:repeat(3,1fr)}.settings-fields.four{grid-template-columns:repeat(4,1fr)}.settings-fields label{font-size:9px;font-weight:800;color:#526176}.settings-fields input,.settings-fields select,.settings-fields textarea{display:block;width:100%;border:1px solid var(--line);border-radius:9px;background:#fff;padding:10px 11px;margin-top:6px;color:var(--ink);outline:none}.settings-fields textarea{min-height:78px;resize:vertical}.settings-fields input:focus,.settings-fields select:focus,.settings-fields textarea:focus{border-color:#6b96df;box-shadow:0 0 0 3px rgba(31,99,218,.1)}.settings-fields .span-two{grid-column:span 2}.settings-fields .span-three{grid-column:1/-1}
.color-setting-grid{padding:0 17px 17px;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.color-setting-grid label{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:10px;padding:10px 11px;font-size:9px;font-weight:800;color:#526176}.color-setting-grid input{width:42px;height:30px;padding:2px;border:1px solid var(--line);border-radius:7px;background:#fff}
.settings-save-bar{margin:0 17px 17px;border:1px solid #bfe5d3;background:#edf9f4;border-radius:12px;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:14px}.settings-save-bar b,.settings-save-bar span{display:block}.settings-save-bar b{font-size:10px;color:#176c52}.settings-save-bar span{font-size:8px;color:#607b70;margin-top:3px}
.whatsapp-settings-grid textarea{display:block;width:100%;border:1px solid var(--line);border-radius:8px;background:#fff;padding:9px;margin-top:7px;color:var(--ink);resize:vertical}.whatsapp-settings-grid .wide{grid-column:1/-1}
@media(max-width:1100px){.logo-upload-grid{grid-template-columns:1fr 1fr}.settings-fields.three,.settings-fields.four,.color-setting-grid{grid-template-columns:1fr 1fr}.settings-fields .span-three{grid-column:1/-1}}
@media(max-width:760px){.settings-hero{align-items:flex-start;flex-direction:column}.settings-hero-info{max-width:none;width:100%}.settings-nav{top:78px}.logo-upload-grid,.settings-fields.three,.settings-fields.four,.color-setting-grid{grid-template-columns:1fr}.settings-fields .span-two,.settings-fields .span-three{grid-column:auto}.settings-save-bar{align-items:flex-start;flex-direction:column}.settings-save-bar .btn{width:100%}}
@media print{.print-company-logo{width:38px;height:38px}.print-brand .brand-mark{width:38px;height:38px}}
@media print{body.print-page .modal-backdrop{display:none!important}}
@media(max-width:760px){.print-page{padding:10px}.print-toolbar{flex-wrap:wrap;justify-content:center}.print-sheet{width:100%;min-height:auto;padding:18px;overflow:auto}.print-summary{grid-template-columns:1fr 1fr}}


/* SaaS canlı firma kontrol merkezi */
.tenant-kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:14px 0}.tenant-kpi-grid article{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px;box-shadow:0 7px 22px rgba(19,43,72,.05)}.tenant-kpi-grid article>i{width:42px;height:42px;border-radius:12px;background:#f3f7fc;display:grid;place-items:center;font-style:normal;font-size:21px}.tenant-kpi-grid span,.tenant-kpi-grid b,.tenant-kpi-grid small{display:block}.tenant-kpi-grid span{font-size:8px;letter-spacing:.1em;color:#718198;font-weight:850}.tenant-kpi-grid b{font-size:22px;margin:3px 0}.tenant-kpi-grid small{font-size:8px;color:#8b98a9}.tenant-toolbar{display:flex;justify-content:space-between;gap:10px;padding:13px 15px;border-bottom:1px solid var(--line);background:#fbfcfe}.tenant-toolbar label{display:flex;align-items:center;gap:8px;min-width:260px;border:1px solid var(--line);border-radius:9px;background:#fff;padding:0 10px}.tenant-toolbar input{width:100%;border:0;outline:0;padding:10px 0;background:transparent}.tenant-toolbar select{border:1px solid var(--line);border-radius:9px;background:#fff;padding:9px 12px}.tenant-company-cell{display:flex;align-items:flex-start;gap:9px}.tenant-company-cell>span{font-size:11px;line-height:1.6}.tenant-company-cell b,.tenant-company-cell small,.tenant-live-table td>b,.tenant-live-table td>small{display:block}.tenant-company-cell small,.tenant-live-table td>small{margin-top:3px;color:var(--muted);font-size:8px}.tenant-badge{display:inline-flex;align-items:center;border-radius:999px;padding:6px 9px;font-size:9px;font-weight:850;white-space:nowrap}.tenant-badge.success{background:#e9f8ef;color:#16783c}.tenant-badge.danger{background:#fff0f0;color:#b42323}.tenant-badge.warning{background:#fff8df;color:#916a00}.tenant-badge.neutral{background:#eef1f5;color:#566171}.tenant-actions{display:flex;flex-wrap:wrap;gap:5px}.tenant-live-table th{white-space:nowrap}.tenant-live-table td{vertical-align:top}.tenant-control-panel{overflow:hidden}
@media(max-width:1250px){.tenant-kpi-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.tenant-kpi-grid{grid-template-columns:1fr 1fr}.tenant-toolbar{align-items:stretch;flex-direction:column}.tenant-toolbar label{min-width:0}.tenant-kpi-grid article{padding:12px}.tenant-kpi-grid article>i{width:36px;height:36px;font-size:18px}}

/* SaaS canlı kullanıcı popup bildirimi */
.presence-popup-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.28);backdrop-filter:blur(3px);z-index:1198;opacity:0;transition:opacity .22s ease}.presence-popup-backdrop.show{opacity:1}
.presence-popup{position:fixed;top:24px;right:24px;z-index:1199;width:min(430px,calc(100vw - 32px));background:#fff;border:1px solid #dce4ee;border-radius:20px;box-shadow:0 24px 70px rgba(15,23,42,.22);padding:24px;display:grid;grid-template-columns:52px 1fr;gap:16px;opacity:0;transform:translateY(-18px) scale(.98);transition:opacity .22s ease,transform .22s ease}.presence-popup.show{opacity:1;transform:translateY(0) scale(1)}
.presence-popup-icon{width:52px;height:52px;border-radius:16px;background:#ecfdf3;display:grid;place-items:center}.presence-popup-icon span{color:#16a34a;font-size:27px;line-height:1;animation:presencePulse 1.35s ease-in-out infinite}.presence-popup-copy small{display:block;color:#64748b;font-weight:800;font-size:11px;letter-spacing:.12em;margin-bottom:5px}.presence-popup-copy h3{margin:0 30px 7px 0;font-size:20px;color:#0f172a}.presence-popup-copy p{margin:0;color:#475569;line-height:1.55}.presence-popup-copy time{display:block;margin-top:8px;color:#94a3b8;font-size:12px;font-weight:700}.presence-popup-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:10px;padding-top:4px}.presence-popup-actions form{margin:0}.presence-popup-close{position:absolute;right:14px;top:12px;width:32px;height:32px;border:0;border-radius:10px;background:#f1f5f9;color:#64748b;font-size:22px;cursor:pointer}.presence-popup-close:hover{background:#e2e8f0;color:#0f172a}
.presence-live-chip{position:fixed;right:22px;bottom:20px;z-index:900;background:#fff;border:1px solid #dce4ee;border-radius:999px;box-shadow:0 10px 30px rgba(15,23,42,.12);padding:9px 14px;font-size:12px;color:#475569;display:flex;align-items:center;gap:6px}.presence-live-chip>span{width:8px;height:8px;border-radius:50%;background:#22c55e;animation:presencePulse 1.5s ease-in-out infinite}.presence-live-chip b{color:#0f172a}.presence-live-chip i{font-style:normal;color:#cbd5e1}
@keyframes presencePulse{0%,100%{opacity:1}50%{opacity:.35}}
@media(max-width:640px){.presence-popup{top:12px;right:12px;padding:20px;grid-template-columns:44px 1fr}.presence-popup-icon{width:44px;height:44px;border-radius:13px}.presence-popup-actions{flex-direction:column-reverse}.presence-popup-actions .btn,.presence-popup-actions form,.presence-popup-actions form .btn{width:100%}.presence-live-chip{right:12px;bottom:12px}}

/* SaaS canlı yenileme v8 */
.tenant-intro-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.tenant-refresh-status{display:flex;align-items:center;gap:9px;min-height:38px;padding:6px 11px;border:1px solid var(--border);border-radius:10px;background:var(--panel);white-space:nowrap}
.tenant-refresh-status>span{width:9px;height:9px;border-radius:50%;flex:0 0 9px}
.tenant-refresh-status div{display:flex;flex-direction:column;line-height:1.15}
.tenant-refresh-status b{font-size:11px;letter-spacing:.08em}
.tenant-refresh-status small{font-size:10px;color:var(--muted);margin-top:2px}
.tenant-refresh-status.is-live>span{background:#22c55e;animation:tenantSoftPulse 1.7s ease-in-out infinite}
.tenant-refresh-status.is-live b{color:#16833f}
.tenant-refresh-status.is-offline>span{background:#ef4444;animation:tenantSoftPulse 1s ease-in-out infinite}
.tenant-refresh-status.is-offline b{color:#c32929}
@keyframes tenantSoftPulse{0%,100%{opacity:1}50%{opacity:.35}}
#tenantTableBody tr{transition:background-color .35s ease}
#tenantTableBody tr.tenant-row-online-flash{background:rgba(34,197,94,.13)}
#tenantTableBody tr.tenant-row-offline-flash{background:rgba(239,68,68,.11)}
@media(max-width:760px){.tenant-intro-actions{justify-content:flex-start}.tenant-refresh-status{order:3;width:100%;justify-content:center}}

.suspended-overlay{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:22px;background:rgba(15,23,42,.72);backdrop-filter:blur(8px)}.suspended-popup{width:min(440px,100%);background:#fff;border:1px solid #e2e8f0;border-radius:24px;padding:30px;text-align:center;box-shadow:0 30px 80px rgba(15,23,42,.35);animation:suspendedIn .28s ease-out}.suspended-icon{width:68px;height:68px;margin:0 auto 14px;border-radius:22px;display:grid;place-items:center;background:#fef2f2;font-size:31px}.suspended-kicker{display:block;color:#dc2626;font-size:11px;font-weight:900;letter-spacing:.16em;margin-bottom:8px}.suspended-popup h2{margin:0 0 10px;color:#0f172a;font-size:25px}.suspended-popup p{margin:0;color:#64748b;line-height:1.65}.suspended-phone{display:flex;align-items:center;justify-content:center;margin:20px 0;padding:13px 16px;border-radius:14px;background:#f8fafc;border:1px solid #e2e8f0;color:#0f172a;font-size:20px;font-weight:900;text-decoration:none;letter-spacing:.02em}.suspended-ok{width:100%;justify-content:center}.suspended-popup b{color:#0f172a}@keyframes suspendedIn{from{opacity:0;transform:translateY(14px) scale(.97)}to{opacity:1;transform:none}}@media(max-width:520px){.suspended-popup{padding:24px 18px;border-radius:20px}.suspended-popup h2{font-size:22px}}

/* v10 - Firma yoneticisine ozel canli personel merkezi */
.staff-live-status{display:flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid #dce7df;border-radius:12px;background:#f8fffa}.staff-live-status>span{width:10px;height:10px;border-radius:50%;background:#20a15a;animation:staffPulse 1.4s ease-in-out infinite}.staff-live-status b,.staff-live-status small{display:block}.staff-live-status small{color:#6b7280;margin-top:2px}.staff-live-status.error{border-color:#f2c8c8;background:#fff8f8}.staff-live-status.error>span{background:#dc3545}.staff-live-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}.staff-live-kpis article{display:flex;align-items:center;gap:13px;padding:18px;border:1px solid #e5e7eb;border-radius:16px;background:#fff}.staff-live-kpis i{font-style:normal;font-size:25px}.staff-live-kpis span{display:block;font-size:11px;letter-spacing:.08em;color:#6b7280}.staff-live-kpis b{display:block;font-size:26px;margin-top:3px}.staff-live-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,.8fr);gap:18px;align-items:start}.staff-live-panel,.staff-activity-panel{min-width:0}.staff-live-search{display:flex;align-items:center;gap:7px;border:1px solid #e2e8f0;border-radius:10px;padding:7px 10px}.staff-live-search input{border:0;outline:0;background:transparent;min-width:180px}.staff-live-table td{vertical-align:middle}.staff-state{display:inline-flex;align-items:center;gap:5px;font-weight:700;font-size:12px;white-space:nowrap}.staff-user{display:flex;align-items:center;gap:10px}.staff-user>span{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#eef3ff;font-weight:800}.staff-user small,.staff-action,.staff-device{display:block;color:#7a8493;margin-top:3px;font-size:12px}.staff-row.online{background:rgba(32,161,90,.035)}.staff-row.idle{background:rgba(245,158,11,.035)}.staff-activity-feed{display:flex;flex-direction:column;gap:0}.staff-feed-item{display:flex;gap:11px;padding:14px 2px;border-bottom:1px solid #eef0f3}.staff-feed-item:last-child{border-bottom:0}.staff-feed-dot{width:9px;height:9px;border-radius:50%;background:#9ca3af;margin-top:6px;flex:none}.staff-feed-dot.online{background:#20a15a}.staff-feed-item p{margin:4px 0;color:#3f4753}.staff-feed-item small{color:#7a8493}.staff-presence-backdrop{position:fixed;inset:0;background:rgba(12,18,28,.42);backdrop-filter:blur(3px);z-index:9998;opacity:0;transition:.18s}.staff-presence-backdrop.show{opacity:1}.staff-presence-popup{position:fixed;left:50%;top:50%;transform:translate(-50%,-46%) scale(.96);z-index:9999;width:min(430px,calc(100% - 32px));background:#fff;border-radius:20px;padding:28px;text-align:center;box-shadow:0 24px 70px rgba(0,0,0,.22);opacity:0;transition:.18s}.staff-presence-popup.show{opacity:1;transform:translate(-50%,-50%) scale(1)}.staff-presence-icon{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;margin:0 auto 14px;background:#eef9f2;font-size:28px}.staff-presence-popup small{font-weight:800;letter-spacing:.08em;color:#20a15a}.staff-presence-popup h3{margin:8px 0}.staff-presence-popup p{color:#5f6875}.staff-presence-actions{margin-top:20px;display:flex;justify-content:center}@keyframes staffPulse{0%,100%{opacity:.45}50%{opacity:1}}@media(max-width:1050px){.staff-live-layout{grid-template-columns:1fr}.staff-live-kpis{grid-template-columns:repeat(3,1fr)}}@media(max-width:700px){.staff-live-kpis{grid-template-columns:1fr}.staff-live-panel .panel-head{align-items:stretch;flex-direction:column}.staff-live-search input{min-width:0;width:100%}}

/* v13 modal hard fix */
.modal-backdrop{display:none;visibility:hidden;opacity:0;pointer-events:none}
.modal-backdrop.open{display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;position:fixed!important;inset:0!important;z-index:100000!important;align-items:center!important;justify-content:center!important;background:rgba(15,23,42,.56)!important;padding:20px!important}
.modal-backdrop.open>.modal{display:block!important;visibility:visible!important;opacity:1!important;position:relative!important;z-index:100001!important;max-height:calc(100vh - 40px)!important;overflow:auto!important}
body.modal-open{overflow:hidden!important}

/* KDTS v14 - SaaS ana yonetiminde kapali canli bildirim katmanlari tiklamalari engellemesin */
.presence-popup-backdrop[hidden],
.presence-popup[hidden],
.staff-presence-backdrop[hidden],
.staff-presence-popup[hidden]{
  display:none !important;
  visibility:hidden !important;
  pointer-events:none !important;
}
.presence-popup-backdrop:not(.show),
.presence-popup:not(.show),
.staff-presence-backdrop:not(.show),
.staff-presence-popup:not(.show){
  pointer-events:none !important;
}
.presence-popup-backdrop.show,
.presence-popup.show,
.staff-presence-backdrop.show,
.staff-presence-popup.show{
  pointer-events:auto !important;
}

/* KDTS v29 - Dark mode + responsive mobile navigation */
.theme-toggle{height:40px;min-width:40px;border:1px solid var(--line);border-radius:10px;background:var(--white);color:var(--ink);display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 11px;cursor:pointer;font-weight:800;font-size:11px;transition:.18s ease}.theme-toggle:hover{transform:translateY(-1px);box-shadow:var(--shadow)}.theme-icon{font-size:17px;line-height:1}.theme-label{display:none}
.mobile-nav-overlay{position:fixed;inset:0;background:rgba(4,12,24,.58);backdrop-filter:blur(4px);z-index:55;opacity:0;pointer-events:none;transition:opacity .2s ease}.mobile-nav-overlay.show{opacity:1;pointer-events:auto}
html[data-theme="dark"]{color-scheme:dark;--ink:#e7eef8;--muted:#9aabc0;--line:#2a3d55;--bg:#08131f;--white:#0f2031;--shadow:0 10px 30px rgba(0,0,0,.28)}
html[data-theme="dark"] body{background:var(--bg);color:var(--ink)}
html[data-theme="dark"] .main,html[data-theme="dark"] .content{background:var(--bg)}
html[data-theme="dark"] .topbar,html[data-theme="dark"] .panel,html[data-theme="dark"] .kpi,html[data-theme="dark"] .v2-mini-kpis article,html[data-theme="dark"] .workflow-steps article,html[data-theme="dark"] .staff-live-kpis article,html[data-theme="dark"] .modal,html[data-theme="dark"] .detail-tabs,html[data-theme="dark"] .entity-card,html[data-theme="dark"] .info-card,html[data-theme="dark"] .report-card,html[data-theme="dark"] .settings-card,html[data-theme="dark"] .tenant-control-panel{background:#0f2031;color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .btn,html[data-theme="dark"] .notification-btn,html[data-theme="dark"] .theme-toggle,html[data-theme="dark"] .task-check{background:#14283b;color:#d9e6f6;border-color:#31465e}
html[data-theme="dark"] .btn.danger{background:#301c25;color:#ff9da5;border-color:#6b3340}
html[data-theme="dark"] .top-search,html[data-theme="dark"] .global-search-results,html[data-theme="dark"] .document-dropzone,html[data-theme="dark"] .tenant-toolbar label,html[data-theme="dark"] .staff-live-search{background:#0b1b2a;border-color:var(--line);color:var(--ink)}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea,html[data-theme="dark"] .modal input,html[data-theme="dark"] .modal select,html[data-theme="dark"] .modal textarea,html[data-theme="dark"] .form-field input,html[data-theme="dark"] .form-field select,html[data-theme="dark"] .form-field textarea{background:#0b1b2a!important;color:#e7eef8!important;border-color:#31465e!important}
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#71859d}
html[data-theme="dark"] table{color:#dbe6f5}html[data-theme="dark"] thead th{background:#13273a!important;color:#91a5bb!important}html[data-theme="dark"] tbody td,html[data-theme="dark"] tfoot th{border-color:#23384f!important}html[data-theme="dark"] tbody tr:hover{background:#11263a}
html[data-theme="dark"] .panel-head,html[data-theme="dark"] .settings-subhead,html[data-theme="dark"] .detail-section,html[data-theme="dark"] .info-item,html[data-theme="dark"] .task-line,html[data-theme="dark"] .staff-feed-item{border-color:#23384f}
html[data-theme="dark"] .page-intro p,html[data-theme="dark"] .panel-head p,html[data-theme="dark"] small,html[data-theme="dark"] .info-item span{color:#91a5bb}
html[data-theme="dark"] .alert.success,html[data-theme="dark"] .whatsapp-settings-note{background:#0c3028;border-color:#185d49;color:#71d5ad}html[data-theme="dark"] .alert.danger{background:#321a22;border-color:#6e303d;color:#ff9aa4}
html[data-theme="dark"] .modal-backdrop.open{background:rgba(1,7,15,.72)!important}
html[data-theme="dark"] .suspended-popup,html[data-theme="dark"] .staff-presence-popup{background:#102235;color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .vendor-statement .panel-head{background:linear-gradient(90deg,#102235,#0f2031)}
html[data-theme="dark"] .company-box{background:#14314b;border-color:#26506e}
html[data-theme="dark"] .sidebar-toggle{border-color:var(--bg)}

@media(max-width:900px){
 .topbar{height:68px;padding:0 14px}.topbar-title h1{font-size:17px}.topbar-title span{font-size:7px}.top-actions{gap:7px}.top-actions>.btn.primary{padding:0 11px;min-height:38px}.theme-toggle{height:38px}.content{padding:18px 14px 34px}
 .sidebar{width:min(330px,calc(100vw - 34px));padding:18px 14px 16px;transform:translateX(calc(-100% - 16px));box-shadow:24px 0 70px rgba(0,0,0,.36);border-radius:0 22px 22px 0;z-index:70;transition:transform .24s cubic-bezier(.2,.8,.2,1)}
 .sidebar.mobile-open{transform:translateX(0)}.sidebar .brand{padding-bottom:16px}.sidebar .company-box{margin-bottom:12px}.sidebar nav{gap:5px;padding-right:2px}.sidebar nav a{min-height:44px;font-size:12px;padding:11px 12px}.sidebar-footer{padding-bottom:max(2px,env(safe-area-inset-bottom))}
 .main,.sidebar-collapsed .main{margin-left:0}.sidebar-toggle{display:none!important}.mobile-toggle{display:inline-flex!important;width:40px;padding:0;font-size:18px}.theme-label{display:none}.global-search-box{display:none}
 body.mobile-menu-open{overflow:hidden}
}
@media(max-width:620px){
 .topbar{height:auto;min-height:64px;padding:9px 11px;gap:8px}.topbar-title{min-width:0;flex:1}.topbar-title h1{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:44vw}.top-actions{gap:5px}.top-actions>.btn:not(.mobile-toggle){min-height:38px;padding:0 9px;font-size:10px}.theme-toggle{width:38px;padding:0}.notification-btn{width:38px;height:38px}.content{padding:14px 10px 28px}.page-intro{gap:12px;flex-direction:column;align-items:stretch}.page-intro .btn{align-self:flex-start}.kpi-grid{grid-template-columns:1fr 1fr}.panel{border-radius:13px}.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.modal-backdrop.open{padding:10px!important;align-items:flex-end!important}.modal-backdrop.open>.modal{width:100%!important;max-width:none!important;max-height:92dvh!important;border-radius:20px 20px 12px 12px!important}.detail-tabs{overflow-x:auto;justify-content:flex-start;white-space:nowrap;scrollbar-width:none}.detail-tabs::-webkit-scrollbar{display:none}
}
@media(max-width:400px){.kpi-grid{grid-template-columns:1fr}.topbar-title h1{max-width:38vw}}

/* KDTS PRO v30 - softer, lower-contrast dark theme */
html[data-theme="dark"]{
 --ink:#d8e2ee;
 --muted:#91a2b5;
 --line:#2a3a4d;
 --bg:#101923;
 --white:#172432;
 --shadow:0 8px 22px rgba(0,0,0,.18);
}
html[data-theme="dark"] body,
html[data-theme="dark"] .main,
html[data-theme="dark"] .content{background:#101923;color:#d8e2ee}
html[data-theme="dark"] .sidebar{background:linear-gradient(180deg,#16283a,#132233)}
html[data-theme="dark"] .company-box{background:#1c3348;border-color:#2c465e}
html[data-theme="dark"] .sidebar nav a{color:#aebdcb}
html[data-theme="dark"] .sidebar nav a:hover,
html[data-theme="dark"] .sidebar nav a.active{background:#24405a;color:#f2f6fb;border-left-color:#4eb7c2}
html[data-theme="dark"] .topbar{background:#172432!important;border-color:#2a3a4d!important}
html[data-theme="dark"] .panel,
html[data-theme="dark"] .kpi,
html[data-theme="dark"] .v2-mini-kpis article,
html[data-theme="dark"] .workflow-steps article,
html[data-theme="dark"] .staff-live-kpis article,
html[data-theme="dark"] .modal,
html[data-theme="dark"] .detail-tabs,
html[data-theme="dark"] .entity-card,
html[data-theme="dark"] .info-card,
html[data-theme="dark"] .report-card,
html[data-theme="dark"] .settings-card,
html[data-theme="dark"] .tenant-control-panel{background:#172432!important;color:#d8e2ee!important;border-color:#2a3a4d!important;box-shadow:0 8px 22px rgba(0,0,0,.13)!important}
html[data-theme="dark"] .panel-head{background:#192837;border-color:#2a3a4d}
html[data-theme="dark"] .btn,
html[data-theme="dark"] .notification-btn,
html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .task-check{background:#1d2d3d;color:#dce6f0;border-color:#34485d}
html[data-theme="dark"] .btn:hover,
html[data-theme="dark"] .notification-btn:hover,
html[data-theme="dark"] .theme-toggle:hover{background:#233649}
html[data-theme="dark"] .top-search,
html[data-theme="dark"] .global-search-results,
html[data-theme="dark"] .document-dropzone,
html[data-theme="dark"] .tenant-toolbar label,
html[data-theme="dark"] .staff-live-search{background:#14212e;border-color:#304255;color:#d8e2ee}
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea,
html[data-theme="dark"] .modal input,
html[data-theme="dark"] .modal select,
html[data-theme="dark"] .modal textarea,
html[data-theme="dark"] .form-field input,
html[data-theme="dark"] .form-field select,
html[data-theme="dark"] .form-field textarea{background:#14212e!important;color:#d8e2ee!important;border-color:#304255!important}
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder{color:#73879a}
html[data-theme="dark"] table{color:#d5dfeb}
html[data-theme="dark"] thead th{background:#1b2a39!important;color:#94a6b8!important}
html[data-theme="dark"] tbody td,
html[data-theme="dark"] tfoot th{border-color:#28394b!important}
html[data-theme="dark"] tbody tr:hover{background:#1b2b3a}
html[data-theme="dark"] .bar-chart{background:repeating-linear-gradient(to bottom,#172432 0,#172432 calc(25% - 1px),#253648 25%)!important}
html[data-theme="dark"] .bar-month i:first-child{background:#6f8499!important}
html[data-theme="dark"] .bar-month i:nth-child(2){background:linear-gradient(#3f78c8,#3266ad)!important}
html[data-theme="dark"] .bar-month span{color:#91a2b5!important}
html[data-theme="dark"] .donut{background:conic-gradient(#42a7aa calc(var(--p)*1%),#2a3a4a 0)!important}
html[data-theme="dark"] .donut:after{background:#172432!important}
html[data-theme="dark"] .summary-list p{color:#9aabba!important}
html[data-theme="dark"] .progress{background:#314152!important}
html[data-theme="dark"] .progress i{background:#3f9ea7!important}
html[data-theme="dark"] .notice-list a{border-color:#2a3a4d!important}
html[data-theme="dark"] .notice-list a>i{background:#3a252d!important;color:#eba0a6!important}
html[data-theme="dark"] .badge.success{background:#203b35;color:#9bd3bd}
html[data-theme="dark"] .badge.info{background:#233850;color:#a9c7ec}
html[data-theme="dark"] .badge.warning{background:#3a3222;color:#e0c58e}
html[data-theme="dark"] .badge.danger{background:#40282e;color:#e8a0a8}
html[data-theme="dark"] .kpi.blue>i{background:#25384d;color:#a7c6ef}
html[data-theme="dark"] .kpi.teal>i{background:#213b39;color:#9bd5cf}
html[data-theme="dark"] .kpi.red>i{background:#3d292f;color:#e6a2aa}
html[data-theme="dark"] .kpi.gold>i{background:#3b3425;color:#e3c78d}
html[data-theme="dark"] .kpi span,
html[data-theme="dark"] .kpi small{color:#95a5b6}
html[data-theme="dark"] .page-intro>div>span{color:#53aeb4}
html[data-theme="dark"] .table-link,
html[data-theme="dark"] a.table-link{color:#9ec2e9}
html[data-theme="dark"] .modal-backdrop.open{background:rgba(8,14,22,.58)!important}
html[data-theme="dark"] .kdts-view-switch{background:#1b2a39!important;border-color:#2d4053!important}
html[data-theme="dark"] .kdts-view-switch a{color:#9eb0c1!important}
html[data-theme="dark"] .kdts-view-switch a.active{background:#22364a!important;color:#b9d4f4!important;box-shadow:none!important}
html[data-theme="dark"] .kdts-project-card{background:linear-gradient(180deg,#192837,#172432)!important;border-color:#2b3d50!important}
html[data-theme="dark"] .kdts-project-title h3,
html[data-theme="dark"] .kdts-project-stat b,
html[data-theme="dark"] .kdts-project-budget b{color:#d8e2ee!important}
html[data-theme="dark"] .kdts-project-location,
html[data-theme="dark"] .kdts-project-title small,
html[data-theme="dark"] .kdts-project-budget span,
html[data-theme="dark"] .kdts-project-progress-head{color:#96a7b8!important}
html[data-theme="dark"] .kdts-project-stat{background:#1d2d3d!important;border-color:#304255!important}
html[data-theme="dark"] .kdts-project-actions{border-color:#2a3a4d!important}

/* KDTS PRO v31 - full dark surface coverage */
html[data-theme="dark"] .table-wrap,
html[data-theme="dark"] .owner-project-card,
html[data-theme="dark"] .owner-building,
html[data-theme="dark"] .kdts-picker,
html[data-theme="dark"] .vendor-kpi,
html[data-theme="dark"] .vendor-card,
html[data-theme="dark"] .vendor-location,
html[data-theme="dark"] .vendor-location-fin div,
html[data-theme="dark"] .cost-filter-panel,
html[data-theme="dark"] .cost-filter-card,
html[data-theme="dark"] .cost-summary-box,
html[data-theme="dark"] .tenant-kpi-grid article,
html[data-theme="dark"] .tenant-toolbar,
html[data-theme="dark"] .presence-popup,
html[data-theme="dark"] .presence-live-chip,
html[data-theme="dark"] .staff-live-status,
html[data-theme="dark"] .staff-live-kpis article,
html[data-theme="dark"] .staff-presence-popup,
html[data-theme="dark"] .suspended-popup{
  background:#172432!important;
  color:#d8e2ee!important;
  border-color:#2a3a4d!important;
  box-shadow:0 8px 22px rgba(0,0,0,.12)!important;
}
html[data-theme="dark"] .owner-building-head,
html[data-theme="dark"] .tenant-toolbar,
html[data-theme="dark"] .vendor-location,
html[data-theme="dark"] .cost-filter-card{
  background:#1a2938!important;
  border-color:#2d3e50!important;
}
html[data-theme="dark"] .owner-project-head{
  background:linear-gradient(135deg,#1d3650,#23465f)!important;
}
html[data-theme="dark"] .owner-project-head small,
html[data-theme="dark"] .owner-building-head small,
html[data-theme="dark"] .vendor-work,
html[data-theme="dark"] .vendor-meta span,
html[data-theme="dark"] .vendor-location p,
html[data-theme="dark"] .vendor-location-fin span,
html[data-theme="dark"] .cost-filter-head small,
html[data-theme="dark"] .cost-filter-card span,
html[data-theme="dark"] .cost-empty,
html[data-theme="dark"] .cost-summary-box span,
html[data-theme="dark"] .cost-summary-box small,
html[data-theme="dark"] .staff-user small,
html[data-theme="dark"] .staff-action,
html[data-theme="dark"] .staff-device,
html[data-theme="dark"] .staff-feed-item small,
html[data-theme="dark"] .presence-popup-copy small,
html[data-theme="dark"] .presence-popup-copy time{
  color:#91a2b5!important;
}
html[data-theme="dark"] .owner-building-head b,
html[data-theme="dark"] .vendor-card h3,
html[data-theme="dark"] .vendor-location h4,
html[data-theme="dark"] .cost-filter-head h3,
html[data-theme="dark"] .cost-summary-box b,
html[data-theme="dark"] .presence-popup-copy h3,
html[data-theme="dark"] .presence-live-chip b,
html[data-theme="dark"] .suspended-popup h2,
html[data-theme="dark"] .suspended-popup b{
  color:#dce6f0!important;
}
html[data-theme="dark"] .vendor-meta div,
html[data-theme="dark"] .vendor-location-fin div,
html[data-theme="dark"] .staff-user>span,
html[data-theme="dark"] .staff-presence-icon,
html[data-theme="dark"] .presence-popup-icon{
  background:#1d2d3d!important;
  border-color:#304255!important;
}
html[data-theme="dark"] .cost-filter-card select,
html[data-theme="dark"] .tenant-toolbar select,
html[data-theme="dark"] .color-setting-grid input,
html[data-theme="dark"] .whatsapp-settings-grid textarea{
  background:#14212e!important;
  color:#d8e2ee!important;
  border-color:#304255!important;
}
html[data-theme="dark"] .owner-building table,
html[data-theme="dark"] .owner-building .table-wrap,
html[data-theme="dark"] .vendor-card table,
html[data-theme="dark"] .table-wrap table{
  background:#172432!important;
}
html[data-theme="dark"] .owner-building tbody tr,
html[data-theme="dark"] .table-wrap tbody tr{
  background:#172432!important;
}
html[data-theme="dark"] .owner-building tbody tr:nth-child(even),
html[data-theme="dark"] .table-wrap tbody tr:nth-child(even){
  background:#182736!important;
}
html[data-theme="dark"] .owner-building tbody tr:hover,
html[data-theme="dark"] .table-wrap tbody tr:hover{
  background:#1d2e3f!important;
}
html[data-theme="dark"] .owner-building th,
html[data-theme="dark"] .table-wrap th{
  background:#1b2a39!important;
  color:#9cadbd!important;
  border-color:#2a3a4d!important;
}
html[data-theme="dark"] .owner-building td,
html[data-theme="dark"] .table-wrap td{
  color:#cbd7e3!important;
  border-color:#2a3a4d!important;
}
html[data-theme="dark"] .owner-building td a,
html[data-theme="dark"] .table-wrap td a:not(.btn){color:#a8c8e8!important}
html[data-theme="dark"] .owner-unmatched{background:#39272d!important;border-color:#70404a!important;color:#e8a5ad!important}
html[data-theme="dark"] .cost-summary-box.is-over{background:#38272c!important;border-color:#66404a!important}
html[data-theme="dark"] .cost-summary-box.is-over b{color:#e8a4ab!important}
html[data-theme="dark"] .cost-summary-box.is-ok{background:#20342f!important;border-color:#35584e!important}
html[data-theme="dark"] .cost-filter-summary span{background:#21364a!important;color:#a9c7e4!important}
html[data-theme="dark"] .tenant-kpi-grid article>i{background:#203244!important}
html[data-theme="dark"] .tenant-toolbar label{background:#14212e!important;border-color:#304255!important}
html[data-theme="dark"] .tenant-toolbar input{color:#d8e2ee!important}
html[data-theme="dark"] .staff-live-status.error{background:#38272c!important;border-color:#66404a!important}
html[data-theme="dark"] .staff-feed-item p,
html[data-theme="dark"] .presence-popup-copy p,
html[data-theme="dark"] .presence-live-chip,
html[data-theme="dark"] .suspended-popup p{color:#aebdcc!important}
html[data-theme="dark"] .presence-popup-close{background:#1d2d3d!important;color:#9fb0c0!important}
html[data-theme="dark"] .presence-popup-close:hover{background:#24384a!important;color:#dce6f0!important}
html[data-theme="dark"] .suspended-phone{background:#1d2d3d!important;border-color:#304255!important;color:#dce6f0!important}
html[data-theme="dark"] .suspended-icon{background:#39272d!important}

/* KDTS v34 - Mobile drawer footer / presence chip collision fix */
@media (max-width:900px){
  .sidebar{
    height:100dvh;
    max-height:100dvh;
    overflow:hidden;
    padding-bottom:max(12px,env(safe-area-inset-bottom));
  }
  .sidebar nav{
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto;
    overflow-x:hidden;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    padding-bottom:12px;
  }
  .sidebar-footer{
    flex:0 0 auto;
    margin-top:10px;
    padding-top:8px;
    padding-bottom:max(6px,env(safe-area-inset-bottom));
    background:linear-gradient(180deg,rgba(13,33,56,0),rgba(13,33,56,.96) 18%,#0d2138 46%);
    position:relative;
    z-index:3;
  }
  .user-card{
    min-height:58px;
    padding-top:12px;
  }
  body.mobile-menu-open .presence-live-chip{
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transform:translateY(12px) scale(.96)!important;
  }
  .presence-live-chip{
    transition:opacity .18s ease,visibility .18s ease,transform .18s ease;
  }
}

/* KDTS PRO v35 - restore project detail building cards */
.detail-section > .building-zone{
  margin:14px 16px 16px;
  border:1px solid var(--line);
  border-radius:15px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 4px 14px rgba(20,58,96,.035);
}
.detail-section > .building-zone + .building-zone{margin-top:18px}
.building-zone-head{
  min-height:50px;
  padding:12px 15px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  background:#f8fbff;
  border-bottom:1px solid var(--line);
}
.building-zone-head h4{
  margin:0;
  color:#087f83;
  font-size:13px;
  font-weight:850;
}
.building-zone-head span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:27px;
  padding:4px 10px;
  border-radius:999px;
  background:#edf4fb;
  color:#52667e;
  font-size:9px;
  font-weight:800;
  white-space:nowrap;
}
.building-zone > .table-wrap{margin:0;border:0;border-radius:0;box-shadow:none}
.building-zone > .table-wrap table{margin:0;width:100%}
.building-zone > .entity-card-grid{padding:14px}

html[data-theme="dark"] .detail-section > .building-zone{
  background:#172432;
  border-color:#2a3a4d;
  box-shadow:none;
}
html[data-theme="dark"] .building-zone-head{
  background:#1b2a39;
  border-color:#2a3a4d;
}
html[data-theme="dark"] .building-zone-head h4{color:#64c4c7}
html[data-theme="dark"] .building-zone-head span{
  background:#213448;
  color:#b4c3d2;
}

@media(max-width:900px){
  .detail-section > .building-zone{margin:12px 12px 14px}
}
@media(max-width:620px){
  .detail-section > .building-zone{margin:10px 8px 12px;border-radius:13px}
  .building-zone-head{padding:11px 12px;min-height:46px}
  .building-zone-head h4{font-size:12px}
  .building-zone-head span{font-size:8px;padding:4px 8px}
  .building-zone > .entity-card-grid{padding:10px}
}

/* v41 Saha Operasyonlari */
.field-intro{align-items:flex-end}.field-project-picker{margin-top:16px}.field-kpis{margin-bottom:16px}.field-log-list{display:grid;gap:14px}.field-log-list.compact{gap:10px}.field-log-card{border:1px solid #d9e5ef;border-radius:18px;background:#fff;padding:16px;box-shadow:0 8px 24px rgba(20,42,67,.05)}.field-log-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding-bottom:12px;border-bottom:1px solid #e8eef4}.field-log-head span:first-child{font-size:11px;letter-spacing:.08em;font-weight:800;color:#0f8f92}.field-log-head h4{margin:4px 0;font-size:17px;color:#13263e}.field-log-head p{margin:0;color:#718096;font-size:12px}.field-log-meta{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:10px;padding:12px 0}.field-log-meta>div{background:#f6f9fc;border:1px solid #e4ebf2;border-radius:12px;padding:10px 12px;min-width:0}.field-log-meta span{display:block;font-size:10px;letter-spacing:.08em;color:#8493a6;font-weight:800}.field-log-meta b{display:block;margin-top:4px;color:#18304d;overflow-wrap:anywhere}.field-log-meta small{display:block;color:#8493a6;margin-top:2px}.field-log-note{margin:0 0 12px;padding:12px 14px;border-radius:12px;background:#f8fbfd;color:#41536a;line-height:1.5}.field-log-footer{display:flex;justify-content:space-between;gap:14px;align-items:center}.field-files{display:flex;flex-wrap:wrap;gap:7px}.field-operation-modal{max-width:760px}.field-upload-label{border:1px dashed #a9bfd3;border-radius:14px;padding:13px!important;background:#f8fbfe}.field-upload-label small{display:block;color:#718096;font-weight:500;margin:4px 0 9px}.field-project-assign{border:1px solid #dce6ef;border-radius:14px;padding:12px 14px;margin:0}.field-project-assign legend{font-weight:800;color:#18304d;padding:0 6px}.field-project-assign p{margin:0 0 10px;color:#718096;font-size:12px}.field-project-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.field-project-checks label{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;background:#f7f9fc;border:1px solid #e2e9f0;border-radius:10px;padding:9px 10px}.field-project-checks input{width:auto!important;margin:0}.field-project-checks span{font-weight:700;color:#29415c}
html[data-theme="dark"] .field-log-card{background:#16283a;border-color:#2a4258;box-shadow:none}html[data-theme="dark"] .field-log-head{border-color:#2a4258}html[data-theme="dark"] .field-log-head h4,html[data-theme="dark"] .field-log-meta b,html[data-theme="dark"] .field-project-assign legend{color:#e8f0f7}html[data-theme="dark"] .field-log-head p,html[data-theme="dark"] .field-log-meta small,html[data-theme="dark"] .field-project-assign p{color:#94a8bb}html[data-theme="dark"] .field-log-meta>div,html[data-theme="dark"] .field-log-note,html[data-theme="dark"] .field-project-checks label,html[data-theme="dark"] .field-upload-label{background:#122334;border-color:#2b4257;color:#cbd7e2}html[data-theme="dark"] .field-project-assign{border-color:#2b4257}html[data-theme="dark"] .field-project-checks span{color:#dbe6ef}
@media(max-width:800px){.field-log-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.field-log-footer{align-items:flex-start;flex-direction:column}.field-project-checks{grid-template-columns:1fr}.field-intro{align-items:flex-start}.field-intro>.btn{width:100%}}
@media(max-width:480px){.field-log-meta{grid-template-columns:1fr}.field-log-card{padding:13px;border-radius:14px}.field-log-head{gap:8px}.field-log-head h4{font-size:15px}}

/* v42 - Canli saha bildirimi */
.field-live-backdrop{position:fixed;inset:0;background:rgba(7,19,33,.54);backdrop-filter:blur(5px);z-index:1600;opacity:0;transition:.2s ease}.field-live-backdrop.show{opacity:1}.field-live-popup{position:fixed;z-index:1601;left:50%;top:50%;transform:translate(-50%,-46%) scale(.97);width:min(880px,calc(100vw - 32px));display:grid;grid-template-columns:minmax(280px,.9fr) minmax(360px,1.1fr);background:var(--card-bg,#fff);border:1px solid var(--border,#d9e4ef);border-radius:26px;box-shadow:0 32px 100px rgba(4,18,36,.30);overflow:hidden;opacity:0;transition:.22s ease}.field-live-popup.show{opacity:1;transform:translate(-50%,-50%) scale(1)}.field-live-close{position:absolute;right:16px;top:14px;width:38px;height:38px;border:0;border-radius:12px;background:rgba(10,28,48,.08);font-size:24px;cursor:pointer;z-index:2}.field-live-visual{min-height:360px;background:linear-gradient(145deg,#0d2238,#123b5d);display:grid;place-items:center;overflow:hidden}.field-live-visual img{width:100%;height:100%;max-height:520px;object-fit:cover;cursor:pointer}.field-live-placeholder{width:84px;height:84px;display:grid;place-items:center;border-radius:24px;background:rgba(255,255,255,.12);color:#fff;font-size:38px}.field-live-content{padding:34px 30px 28px}.field-live-content>small{display:block;color:#14a7b4;font-weight:900;letter-spacing:.14em;margin-bottom:8px}.field-live-content h3{font-size:27px;margin:0 42px 12px 0}.field-live-project{display:flex;flex-direction:column;gap:4px;margin:0 0 14px}.field-live-project b{font-size:18px}.field-live-project span{color:var(--muted,#718096)}.field-live-chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.field-live-chips span{padding:7px 10px;border-radius:999px;background:var(--soft-bg,#eef4f8);font-weight:800;font-size:12px}.field-live-summary{font-size:18px;font-weight:900;margin:10px 0}.field-live-description{color:var(--muted,#6f8195);line-height:1.55;max-height:88px;overflow:auto}.field-live-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:22px}.field-live-actions .btn{flex:1 1 auto;text-align:center;justify-content:center}.notification-item.field-live-new{animation:fieldPulse 1.1s ease}@keyframes fieldPulse{0%{background:rgba(21,177,190,.25)}100%{background:transparent}}
html[data-theme="dark"] .field-live-popup{background:#142536;border-color:#2a4056}html[data-theme="dark"] .field-live-close{color:#dce9f6;background:#20384d}html[data-theme="dark"] .field-live-chips span{background:#1d3448;color:#dbe9f5}
@media(max-width:760px){.field-live-popup{grid-template-columns:1fr;max-height:92vh;overflow:auto}.field-live-visual{min-height:210px;max-height:280px}.field-live-content{padding:24px 20px}.field-live-content h3{font-size:22px}.field-live-actions{display:grid;grid-template-columns:1fr}.field-live-actions .btn{width:100%}}

/* v45 - Saha proje kartlari ve yeniden acilan bildirim */
.field-project-card{cursor:pointer;position:relative;outline:none}
.field-project-card:focus-visible{box-shadow:0 0 0 3px rgba(37,99,235,.20),0 10px 25px rgba(20,58,96,.10);border-color:#4f8edc}
.field-project-card.selected{border-color:#4f8edc;background:#f8fbff}
.field-project-card .field-project-open{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 12px;border-radius:9px;background:#edf4ff;color:#1764c0;font-size:10px;font-style:normal;font-weight:850;text-decoration:none;position:relative;z-index:2}
.field-project-card .field-project-open:hover{background:#dceaff;color:#0f56ad}
.field-log-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
html[data-theme="dark"] .field-project-card.selected{background:#172b3e;border-color:#447eae}
html[data-theme="dark"] .field-project-card .field-project-open{background:#203a52;color:#9fd0ff}
@media(max-width:760px){.field-project-card .field-project-open{min-height:38px;padding:8px 14px}.field-log-actions{width:100%;justify-content:flex-start}}

/* v46 - Saha proje kartlari tamamen gercek link */
.field-project-card{display:block;color:inherit;text-decoration:none!important;cursor:pointer;position:relative;outline:none;z-index:1}
.field-project-card:visited{color:inherit}
.field-project-card>*{pointer-events:none}
.field-project-card:hover{text-decoration:none!important}
.field-project-card .field-project-open{pointer-events:none;display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 12px;border-radius:9px;background:#edf4ff;color:#1764c0;font-size:10px;font-style:normal;font-weight:850;text-decoration:none}
html[data-theme="dark"] .field-project-card{color:inherit}

/* v47 - Saha proje secimi: yonetici ve saha personeli icin native form/button. */
.field-project-grid .field-project-form{margin:0;min-width:0;display:block}
.field-project-grid .field-project-form .field-project-card{width:100%;height:100%;display:block;text-align:left;font:inherit;color:inherit;appearance:none;-webkit-appearance:none;border:1px solid var(--line);background:#fff;padding:15px;border-radius:13px;cursor:pointer;position:relative;z-index:1}
.field-project-grid .field-project-form .field-project-card span,.field-project-grid .field-project-form .field-project-card h4,.field-project-grid .field-project-form .field-project-card p,.field-project-grid .field-project-form .field-project-card footer{pointer-events:none}
.field-project-grid .field-project-form .field-project-card:hover{transform:translateY(-2px);border-color:#91b5e9;box-shadow:0 10px 25px rgba(20,58,96,.1)}
.field-project-grid .field-project-form .field-project-card:focus-visible{outline:0;box-shadow:0 0 0 3px rgba(37,99,235,.20),0 10px 25px rgba(20,58,96,.10);border-color:#4f8edc}
html[data-theme="dark"] .field-project-grid .field-project-form .field-project-card{background:#0f2031;color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .field-project-grid .field-project-form .field-project-card.selected{background:#172b3e;border-color:#447eae}

/* v48 - Saha canli popup kapaliyken yonetici ekranindaki tiklamalari engellemesin */
.field-live-backdrop[hidden],
.field-live-popup[hidden]{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}
.field-live-backdrop:not(.show),
.field-live-popup:not(.show){
  pointer-events:none!important;
}
.field-live-backdrop.show:not([hidden]),
.field-live-popup.show:not([hidden]){
  pointer-events:auto!important;
}

/* v47 - Muhasebe komuta paneli, dil ve doviz */
.dashboard-command-intro{align-items:center}.fx-live-badge{display:flex;flex-direction:column;align-items:flex-end;gap:3px;padding:10px 14px;border:1px solid var(--line,#dfe5ec);border-radius:14px;background:var(--panel,#fff)}.fx-live-badge b{font-size:18px}.fx-live-badge span{font-size:11px;opacity:.68}.dashboard-action-grid{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:16px;margin:18px 0 30px}.dashboard-action-card{appearance:none;border:1px solid var(--line,#dce4ec);background:var(--panel,#fff);border-radius:20px;padding:22px;text-align:left;cursor:pointer;min-height:178px;transition:.18s ease;box-shadow:0 10px 30px rgba(20,37,60,.05)}.dashboard-action-card:hover{transform:translateY(-3px);box-shadow:0 16px 35px rgba(20,37,60,.12);border-color:var(--brand-primary,#1f63da)}.dashboard-action-card i{display:flex;width:48px;height:48px;border-radius:14px;align-items:center;justify-content:center;font-style:normal;font-size:24px;background:rgba(31,99,218,.09);margin-bottom:24px}.dashboard-action-card span{display:block;font-size:10px;letter-spacing:.14em;font-weight:800;opacity:.55;margin-bottom:5px}.dashboard-action-card b{display:block;font-size:18px;margin-bottom:8px}.dashboard-action-card small{display:block;line-height:1.45;opacity:.65}.dashboard-action-card.receive i{background:rgba(19,174,176,.12)}.dashboard-action-card.pay i{background:rgba(217,78,85,.10)}.dashboard-action-card.vendor i{background:rgba(213,162,59,.13)}
.language-picker{position:relative}.language-button{min-width:74px;justify-content:center}.language-menu{position:absolute;right:0;top:calc(100% + 8px);width:170px;background:var(--panel,#fff);border:1px solid var(--line,#dfe5ec);border-radius:14px;padding:7px;box-shadow:0 16px 42px rgba(17,30,48,.16);display:none;z-index:1000}.language-menu.open{display:grid}.language-menu button{border:0;background:transparent;text-align:left;padding:9px 10px;border-radius:9px;cursor:pointer;color:inherit}.language-menu button:hover{background:rgba(31,99,218,.08)}.top-currency-form select{height:38px;border:1px solid var(--line,#dfe5ec);border-radius:10px;background:var(--panel,#fff);color:inherit;padding:0 9px;font-weight:700}.check-fields{margin:18px 0 0;padding:16px;border-radius:16px;border:1px dashed var(--brand-secondary,#13aeb0);background:rgba(19,174,176,.05)}html[dir="rtl"] body{direction:rtl}html[dir="rtl"] .sidebar{right:0;left:auto}html[dir="rtl"] .main{direction:rtl}
@media(max-width:1180px){.dashboard-action-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:760px){.dashboard-action-grid{grid-template-columns:1fr 1fr}.dashboard-action-card{min-height:150px;padding:17px}.dashboard-action-card i{margin-bottom:15px}.language-button span{display:none}.top-currency-form select{max-width:80px}}@media(max-width:500px){.dashboard-action-grid{grid-template-columns:1fr}.dashboard-action-card{min-height:auto}.fx-live-badge{align-items:flex-start}}

/* Muhasebe belge gorunumu */
.print-sheet.accounting-sheet{max-width:900px}.accounting-head{display:grid;grid-template-columns:1.2fr .8fr;gap:28px;border-bottom:2px solid #172337;padding-bottom:18px;margin-bottom:18px}.accounting-company{display:flex;gap:16px;align-items:flex-start}.accounting-company .print-company-logo{max-width:150px;max-height:64px}.accounting-company-info h1{font-size:17px;margin:0 0 7px}.accounting-company-info p{margin:2px 0;font-size:11px}.accounting-document-box{border:1px solid #aeb8c5;border-radius:10px;padding:14px}.accounting-document-box h2{font-size:20px;margin:0 0 12px;text-align:center}.accounting-document-box dl{display:grid;grid-template-columns:1fr 1fr;gap:5px 10px;margin:0}.accounting-document-box dt{font-size:10px;color:#657080}.accounting-document-box dd{margin:0;text-align:right;font-size:11px;font-weight:700}.accounting-party-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:16px 0}.accounting-party-card{border:1px solid #d6dde5;border-radius:10px;padding:14px;min-height:96px}.accounting-party-card span{font-size:10px;font-weight:800;color:#657080;letter-spacing:.08em}.accounting-party-card h3{font-size:14px;margin:8px 0}.accounting-party-card p{font-size:11px;margin:3px 0}.accounting-total-box{margin-left:auto;width:min(370px,100%);border:1px solid #cdd5df;border-radius:10px;overflow:hidden}.accounting-total-box p{display:flex;justify-content:space-between;padding:9px 12px;margin:0;border-bottom:1px solid #e7ebef}.accounting-total-box p:last-child{border-bottom:0;background:#eef3f8;font-size:14px}.accounting-check-box{margin:14px 0;border:1px solid #d8dee6;border-radius:10px;padding:13px}.accounting-check-box h3{font-size:12px;margin:0 0 8px}.accounting-check-box .check-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;font-size:11px}.accounting-receipt-amount{border:2px solid #172337;border-radius:12px;padding:16px 18px;margin:15px 0;display:flex;justify-content:space-between;align-items:center}.accounting-receipt-amount b{font-size:22px}
@media print{.print-sheet.accounting-sheet{max-width:none}.accounting-document-box,.accounting-party-card,.accounting-check-box,.accounting-total-box{break-inside:avoid}}


/* v49 - accounting dashboard dark mode, quick actions, payment vehicle */
.quick-select-body{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:end}.quick-select-body label{display:grid;gap:7px;font-weight:800}.quick-select-body select{min-height:44px}
html[data-theme="dark"] .dashboard-action-card{background:#14283a!important;border-color:#2b4359!important;color:#edf5fc!important;box-shadow:0 10px 28px rgba(0,0,0,.22)!important}
html[data-theme="dark"] .dashboard-action-card:hover{background:#193148!important;border-color:#4d82b4!important;box-shadow:0 16px 38px rgba(0,0,0,.30)!important}
html[data-theme="dark"] .dashboard-action-card span,html[data-theme="dark"] .dashboard-action-card small{color:#bcd0e3!important;opacity:.88!important}
html[data-theme="dark"] .dashboard-action-card b{color:#f7fbff!important}
html[data-theme="dark"] .fx-live-badge{background:#14283a!important;border-color:#2b4359!important;color:#edf5fc!important}
html[data-theme="dark"] .language-menu{background:#14283a!important;border-color:#2b4359!important;color:#edf5fc!important;box-shadow:0 18px 44px rgba(0,0,0,.38)!important}
html[data-theme="dark"] .language-menu button:hover{background:#203d57!important}
html[data-theme="dark"] .check-fields{background:#122d37!important;border-color:#2f7582!important;color:#e8f5f7!important}
html[data-theme="dark"] .modal{background:#122435!important;color:#eaf3fb!important;border-color:#294155!important}
html[data-theme="dark"] .modal input,html[data-theme="dark"] .modal select,html[data-theme="dark"] .modal textarea{background:#0d1e2d!important;border-color:#31506a!important;color:#eef7ff!important}
html[data-theme="dark"] .modal label{color:#d6e5f2!important}html[data-theme="dark"] .modal-head span,html[data-theme="dark"] .settings-subhead p{color:#9fb7cb!important}
html[data-theme="dark"] .alert.success{background:#123b32!important;border-color:#266d5a!important;color:#c7f3e4!important}
@media(max-width:700px){.quick-select-body{grid-template-columns:1fr}.quick-select-body .btn{width:100%;justify-content:center}}

/* v50 accounting submenu + searchable finance UI */
.sidebar-group{margin:4px 0;border-radius:14px;overflow:hidden}.sidebar-group-toggle{width:100%;border:0;background:transparent;color:inherit;display:grid;grid-template-columns:28px 1fr auto auto;align-items:center;gap:8px;padding:12px 14px;text-align:left;font:inherit;cursor:pointer}.sidebar-group-toggle i{font-style:normal;text-align:center}.sidebar-group-toggle b{transition:transform .2s}.sidebar-group.open .sidebar-group-toggle b{transform:rotate(180deg)}.sidebar-group.active>.sidebar-group-toggle,.sidebar-group-toggle:hover{background:rgba(56,189,248,.10)}.sidebar-group-toggle em{min-width:20px;height:20px;border-radius:99px;display:grid;place-items:center;background:#e34d59;color:#fff;font-size:11px;font-style:normal}.sidebar-submenu{display:none;padding:0 8px 8px 22px}.sidebar-group.open .sidebar-submenu{display:block}.sidebar-submenu a{padding:9px 12px!important;margin:2px 0;border-radius:10px}.sidebar-submenu a i{font-size:12px!important}
.quick-search-panel{display:grid;gap:14px}.quick-search-controls{display:grid;grid-template-columns:minmax(170px,.42fr) minmax(260px,1fr);gap:10px}.quick-search-controls input,.quick-search-controls select{width:100%}.quick-search-result{font-size:12px;color:var(--muted,#718096);padding:0 2px}.collection-flow-grid label small{font-weight:500;opacity:.65}.fx-settings-status{margin-top:16px;padding:16px;border:1px solid var(--border,#dbe4ef);border-radius:16px;display:grid;grid-template-columns:minmax(220px,.8fr) 2fr;gap:16px;align-items:center}.fx-settings-status>div:first-child{display:grid;gap:4px}.fx-settings-status>div:first-child span{font-size:11px;letter-spacing:.12em;font-weight:800;opacity:.65}.fx-settings-status>div:first-child small{opacity:.7}.fx-rate-cards{display:grid;grid-template-columns:repeat(5,minmax(90px,1fr));gap:8px}.fx-rate-cards>div{padding:10px 12px;border:1px solid var(--border,#dbe4ef);border-radius:12px;background:rgba(127,127,127,.04);display:grid;gap:3px}.fx-rate-cards span{font-size:10px;font-weight:800;letter-spacing:.08em;opacity:.65}.fx-rate-cards b{font-size:14px}
[data-theme="dark"] .sidebar-group-toggle:hover,[data-theme="dark"] .sidebar-group.active>.sidebar-group-toggle{background:rgba(34,211,238,.12)}[data-theme="dark"] .fx-settings-status,[data-theme="dark"] .fx-rate-cards>div{border-color:rgba(148,163,184,.18);background:rgba(255,255,255,.025)}[data-theme="dark"] .quick-search-result{color:#94a3b8}
@media(max-width:760px){.quick-search-controls{grid-template-columns:1fr}.fx-settings-status{grid-template-columns:1fr}.fx-rate-cards{grid-template-columns:repeat(2,1fr)}}

/* v51 visible searchable entity results */
.quick-search-matches{display:grid;gap:7px;margin:8px 0 12px;max-height:230px;overflow:auto}
.quick-search-matches:empty{display:none}
.quick-match-item{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;border:1px solid var(--line,#dbe4ef);background:var(--panel,#fff);border-radius:11px;padding:11px 13px;cursor:pointer;color:inherit}
.quick-match-item:hover,.quick-match-item.selected{border-color:#2563eb;box-shadow:0 0 0 2px rgba(37,99,235,.10)}
.quick-match-title{font-weight:700}
.quick-match-action{font-size:12px;font-weight:800;color:#2563eb}
.quick-match-empty{padding:12px;border:1px dashed var(--line,#dbe4ef);border-radius:10px;opacity:.72}
html[data-theme="dark"] .quick-match-item,body.dark .quick-match-item{background:#13283b;border-color:#29445d;color:#e8f0f8}

/* v52 centralized localization / RTL */
html[dir="rtl"] body{direction:rtl}
html[dir="rtl"] .sidebar{right:0;left:auto}
html[dir="rtl"] .app-shell,html[dir="rtl"] .main{direction:rtl}
html[dir="rtl"] .modal-card,html[dir="rtl"] .panel,html[dir="rtl"] .card,html[dir="rtl"] .form-grid label{text-align:right}
html[dir="rtl"] input,html[dir="rtl"] textarea,html[dir="rtl"] select{text-align:right}
html[dir="rtl"] .quick-match-item{text-align:right}
html[dir="rtl"] .quick-match-action{margin-right:auto;margin-left:0}
.language-menu [data-lang].active{font-weight:800}


/* v54 translation manager */
.translation-manager{margin-top:24px;padding:0;overflow:hidden}
.translation-manager-head{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:24px 26px;border-bottom:1px solid var(--line)}
.translation-manager-head span,.translation-add-form>div span{font-size:12px;font-weight:900;letter-spacing:.14em;color:var(--accent)}
.translation-manager-head h2,.translation-add-form h3{margin:5px 0 4px}.translation-manager-head p{margin:0;max-width:760px;color:var(--muted)}
.translation-kpi{min-width:110px;text-align:center;padding:12px 16px;border-radius:16px;background:var(--soft)}.translation-kpi b{display:block;font-size:25px}.translation-kpi small{color:var(--muted)}
.translation-search-form{display:grid;grid-template-columns:190px minmax(260px,1fr) auto;gap:12px;align-items:end;padding:20px 26px;background:var(--soft)}
.translation-search-form label,.translation-add-form label,.translation-row label{display:grid;gap:6px;font-weight:700}.translation-search-form input,.translation-search-form select,.translation-add-form input,.translation-add-form select,.translation-add-form textarea,.translation-row textarea{width:100%;border:1px solid var(--line);border-radius:10px;padding:10px 12px;background:var(--panel);color:var(--text)}
.translation-help{margin:18px 26px;padding:13px 15px;border:1px solid rgba(19,174,176,.3);background:rgba(19,174,176,.08);border-radius:12px;display:flex;gap:10px;align-items:flex-start}.translation-help span{color:var(--muted)}
.translation-list{padding:0 26px 22px;display:grid;gap:9px;max-height:720px;overflow:auto}.translation-row{display:grid;grid-template-columns:minmax(220px,.9fr) minmax(300px,1.3fr) auto;gap:14px;align-items:center;padding:13px;border:1px solid var(--line);border-radius:13px;background:var(--panel)}.translation-row.custom{border-color:rgba(37,99,235,.45)}
.translation-source{display:grid;gap:4px}.translation-source small,.translation-row label small{font-size:10px;letter-spacing:.1em;color:var(--muted)}.translation-source b{word-break:break-word}.translation-source em{width:max-content;font-style:normal;font-size:10px;background:#dbeafe;color:#1d4ed8;padding:3px 7px;border-radius:999px}
.translation-row textarea{resize:vertical;min-height:52px}.translation-add-form{margin:0 26px 26px;padding:18px;border:1px dashed var(--line);border-radius:14px;display:grid;grid-template-columns:1fr 180px;gap:12px}.translation-add-form>div,.translation-add-form .wide,.translation-add-form>button{grid-column:1/-1}
html[dir=rtl] .translation-manager-head,html[dir=rtl] .translation-help{text-align:right}
@media(max-width:820px){.translation-search-form,.translation-row,.translation-add-form{grid-template-columns:1fr}.translation-add-form>div,.translation-add-form .wide,.translation-add-form>button{grid-column:auto}.translation-manager-head{align-items:flex-start}.translation-kpi{min-width:90px}}


/* v56 Arabic stability: application geometry stays LTR; Arabic text is RTL locally. */
html.kdts-arabic, html.kdts-arabic body { direction:ltr !important; }
html.kdts-arabic .app-shell,
html.kdts-arabic .main,
html.kdts-arabic .content,
html.kdts-arabic .topbar,
html.kdts-arabic .top-actions,
html.kdts-arabic .dashboard-grid,
html.kdts-arabic .project-grid,
html.kdts-arabic .cards-grid { direction:ltr !important; }
html.kdts-arabic .sidebar { left:0 !important; right:auto !important; direction:ltr !important; }
html.kdts-arabic .sidebar nav,
html.kdts-arabic .sidebar .sidebar-group,
html.kdts-arabic .sidebar .sidebar-submenu { direction:ltr !important; }
html.kdts-arabic .sidebar a,
html.kdts-arabic .sidebar button { text-align:right !important; }
html.kdts-arabic .sidebar .nav-icon,
html.kdts-arabic .sidebar i { direction:ltr !important; }
html.kdts-arabic .topbar-title,
html.kdts-arabic .page-intro,
html.kdts-arabic .panel-head,
html.kdts-arabic .panel p,
html.kdts-arabic .panel h1,
html.kdts-arabic .panel h2,
html.kdts-arabic .panel h3,
html.kdts-arabic .panel h4,
html.kdts-arabic .card,
html.kdts-arabic .stat-card,
html.kdts-arabic .modal-head,
html.kdts-arabic .modal-body-copy,
html.kdts-arabic .form-grid label,
html.kdts-arabic .settings-subhead,
html.kdts-arabic th,
html.kdts-arabic td,
html.kdts-arabic .empty-state,
html.kdts-arabic .translation-manager-head,
html.kdts-arabic .translation-help,
html.kdts-arabic .translation-source,
html.kdts-arabic .document-card,
html.kdts-arabic .project-card { direction:rtl; text-align:right; }
html.kdts-arabic input:not([type=number]):not([type=date]):not([type=time]),
html.kdts-arabic textarea { direction:rtl; text-align:right; }
html.kdts-arabic select { direction:rtl; text-align:right; }
html.kdts-arabic [data-no-i18n],
html.kdts-arabic select[data-no-i18n] { direction:ltr !important; text-align:left !important; }
html.kdts-arabic .language-picker,
html.kdts-arabic .language-menu,
html.kdts-arabic .language-menu button,
html.kdts-arabic .top-currency-form { direction:ltr !important; text-align:left !important; }
html.kdts-arabic .language-menu { right:0 !important; left:auto !important; }

/* Language names in Translation Manager are fixed UI data, never translated. */
.translation-search-form select[data-no-i18n],
.translation-add-form select[data-no-i18n] { direction:ltr !important; text-align:left !important; }

/* v57 - centralized manager approval center */
.menu-count{margin-left:auto;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#ef4444;color:#fff;font-size:11px;font-style:normal;display:inline-flex;align-items:center;justify-content:center;font-weight:800}
.approval-page-intro{align-items:center}.approval-summary{display:flex;gap:8px;flex-wrap:wrap}
.approval-tabs{display:flex;gap:8px;margin:0 0 14px;flex-wrap:wrap}.approval-tabs a{display:flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--text);font-weight:800;text-decoration:none}.approval-tabs a.active{border-color:var(--primary);box-shadow:0 0 0 2px rgba(37,99,235,.08)}.approval-tabs b{min-width:22px;height:22px;border-radius:999px;background:var(--soft);display:inline-flex;align-items:center;justify-content:center;font-size:11px}
.approval-filter-bar{display:flex;justify-content:flex-end;margin-bottom:14px}.approval-filter-bar label{min-width:240px;font-weight:700}.approval-filter-bar select{display:block;width:100%;margin-top:6px}
.approval-center-list{display:grid;gap:12px}.approval-center-card{display:grid;grid-template-columns:180px minmax(0,1fr) auto;gap:18px;align-items:center;background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:16px 18px;box-shadow:var(--shadow-sm)}.approval-center-card.pending{border-left:4px solid #f59e0b}.approval-center-card.decided{opacity:.93}.approval-kind{display:flex;gap:10px;align-items:center}.approval-kind>i{width:42px;height:42px;border-radius:12px;background:var(--soft);display:grid;place-items:center;font-style:normal;font-weight:900}.approval-kind span{display:block;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.approval-kind small{display:block;margin-top:4px}.approval-title-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.approval-title-row h3{margin:0;font-size:16px}.approval-main p{margin:6px 0 10px;color:var(--muted)}.approval-meta{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;color:var(--muted)}.approval-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.approval-actions form{margin:0}
@media(max-width:900px){.approval-center-card{grid-template-columns:1fr}.approval-actions{justify-content:flex-start}.approval-filter-bar{justify-content:stretch}.approval-filter-bar label{width:100%;min-width:0}}

/* v58 - Approval Center visual alignment */
.approval-page-intro{margin-bottom:16px;padding:0;align-items:flex-end}.approval-page-intro>div:first-child>span{color:#15949b;font-size:11px;font-weight:900;letter-spacing:.15em}.approval-page-intro h2{font-size:26px;letter-spacing:-.03em;margin:6px 0 4px}.approval-page-intro p{max-width:720px}.approval-summary{display:flex;gap:8px;align-items:center}.approval-summary .badge{padding:7px 11px;border-radius:10px;font-size:11px;letter-spacing:.08em}.approval-tabs{display:inline-flex;padding:4px;background:var(--soft);border:1px solid var(--line);border-radius:14px;gap:3px;margin:0 0 16px}.approval-tabs a{border:0;border-radius:10px;background:transparent;padding:9px 13px;font-size:13px}.approval-tabs a.active{background:var(--panel);box-shadow:0 2px 8px rgba(18,38,63,.08);border:1px solid var(--line)}.approval-tabs b{background:rgba(37,99,235,.09);color:var(--primary)}.approval-filter-bar{margin:-58px 0 16px;min-height:42px;align-items:flex-end}.approval-filter-bar label{min-width:220px;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.07em}.approval-filter-bar select{height:40px;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--text);padding:0 34px 0 11px;font-weight:700}.approval-center-list{gap:10px}.approval-center-card{grid-template-columns:165px minmax(0,1fr) auto;gap:16px;border-radius:14px;padding:14px 16px;box-shadow:none;transition:.18s ease;border-color:var(--line);position:relative;overflow:hidden}.approval-center-card:hover{transform:translateY(-1px);box-shadow:0 8px 24px rgba(18,38,63,.07);border-color:#c9d8e8}.approval-center-card.pending{border-left:1px solid var(--line)}.approval-center-card.pending:before{content:'';position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:0 4px 4px 0;background:#f2a900}.approval-kind>i{width:38px;height:38px;border-radius:10px;background:var(--soft);color:var(--primary)}.approval-kind span{font-size:10px;letter-spacing:.1em;color:var(--muted)}.approval-kind small{font-size:12px;color:var(--text);font-weight:700}.approval-title-row h3{font-size:15px;letter-spacing:-.01em}.approval-title-row .badge{font-size:10px;border-radius:999px;padding:5px 8px}.approval-main p{font-size:13px;margin:5px 0 8px}.approval-meta{font-size:11px;gap:12px}.approval-actions .btn{min-height:38px;border-radius:10px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:800}.approval-actions .btn.primary{box-shadow:0 5px 12px rgba(37,99,235,.16)}.approval-actions .btn.danger{background:transparent;color:#dc2626;border-color:#fecaca}.approval-actions .btn.danger:hover{background:#fff1f2}.approval-center-list .empty-state{border:1px dashed var(--line);box-shadow:none}
html[data-theme="dark"] .approval-tabs a.active{box-shadow:none}html[data-theme="dark"] .approval-center-card:hover{border-color:#35506b;box-shadow:0 8px 24px rgba(0,0,0,.18)}html[data-theme="dark"] .approval-actions .btn.danger{background:rgba(220,38,38,.06);border-color:#69343b;color:#ff8f99}
@media(max-width:1100px){.approval-filter-bar{margin:0 0 14px}.approval-center-card{grid-template-columns:150px minmax(0,1fr) auto}}@media(max-width:900px){.approval-page-intro{align-items:flex-start}.approval-summary{margin-top:10px}.approval-tabs{display:flex;width:100%}.approval-tabs a{flex:1;justify-content:center}.approval-center-card{grid-template-columns:1fr;padding:15px}.approval-actions{justify-content:flex-start}.approval-filter-bar{justify-content:stretch}.approval-filter-bar label{width:100%;min-width:0}}

/* v62 Harem live FX */
.fx-rate-cards>div small{display:block;margin-top:4px;font-size:11px;opacity:.72}.fx-manual-refresh{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-top:12px;padding-top:12px;border-top:1px solid var(--line,#dfe5ec)}.fx-manual-refresh span{font-size:12px;color:var(--muted,#708097)}@media(max-width:760px){.fx-manual-refresh{align-items:stretch;flex-direction:column}.fx-manual-refresh .btn{width:100%}}

/* v64 procurement / inventory */
.inventory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:18px}
@media(max-width:1050px){.inventory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.inventory-grid{grid-template-columns:1fr}}

/* v66 module home: desktop sidebar removed */
.module-home-layout .sidebar{display:none!important}.module-home-layout .main,.module-home-layout.sidebar-collapsed .main{margin-left:0!important}.module-home-layout .mobile-toggle{display:none!important}
.module-section-title{margin:30px 0 14px}.module-section-title>span{font-size:9px;letter-spacing:.15em;color:#188c91;font-weight:850}.module-section-title h3{font-size:22px;margin:6px 0}.module-section-title p{margin:0;color:var(--muted);font-size:12px}.module-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.module-card{min-height:165px;background:var(--white);border:1px solid var(--line);border-radius:18px;padding:18px;display:flex;flex-direction:column;box-shadow:var(--shadow);transition:.18s}.module-card:hover{transform:translateY(-2px);border-color:#8bb6e8;box-shadow:0 15px 35px rgba(18,48,80,.10)}.module-card i{width:42px;height:42px;border-radius:12px;background:#eaf2ff;color:var(--blue);display:grid;place-items:center;font-style:normal;font-size:19px;margin-bottom:16px}.module-card span{font-size:9px;letter-spacing:.12em;color:#168c91;font-weight:850}.module-card b{font-size:16px;margin:5px 0;color:var(--ink)}.module-card small{color:var(--muted);line-height:1.5;font-size:10px}@media(max-width:1100px){.module-card-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:760px){.module-card-grid{grid-template-columns:1fr 1fr}.module-home-layout .topbar-title{display:block}}@media(max-width:480px){.module-card-grid{grid-template-columns:1fr}}

/* v67 module navigation + owner cash discount */
.detail-module-layout .sidebar{display:none!important}
.detail-module-layout .main,.detail-module-layout.sidebar-collapsed .main{margin-left:0!important}
.detail-module-layout .mobile-toggle{display:none!important}
.module-home-button{white-space:nowrap;font-weight:800}
.owner-discount-panel{margin:15px 0;border-color:#c9daf7;background:linear-gradient(180deg,#fff,#f8fbff)}
.owner-discount-panel .eyebrow{display:block;font-size:9px;letter-spacing:.14em;font-weight:900;color:var(--brand-secondary,#0d9399);margin-bottom:4px}
.owner-discount-summary,.discount-modal-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:15px 17px}
.owner-discount-summary>div,.discount-modal-summary>div{border:1px solid var(--line);background:var(--panel,#fff);border-radius:12px;padding:12px}
.owner-discount-summary span,.discount-modal-summary span{display:block;font-size:9px;color:var(--muted);font-weight:800;letter-spacing:.06em}
.owner-discount-summary b,.discount-modal-summary b{display:block;margin-top:5px;font-size:17px}
.owner-discount-cta{box-shadow:0 8px 20px rgba(31,99,218,.16)}
html[data-theme="dark"] .owner-discount-panel{background:#17283a;border-color:#2a4662}
html[data-theme="dark"] .owner-discount-summary>div,html[data-theme="dark"] .discount-modal-summary>div{background:#132335}
@media(max-width:760px){.module-home-button{padding:9px 10px;font-size:10px}.owner-discount-summary,.discount-modal-summary{grid-template-columns:1fr}.detail-module-layout .top-actions{gap:6px}}

/* v68 owner discount + immediate settlement */
.discount-payment-preview{margin:12px 0 0;padding:15px 17px;border:1px solid #b7dccd;border-radius:14px;background:#f2fbf7;display:grid;gap:4px}
.discount-payment-preview span{font-size:10px;font-weight:850;letter-spacing:.08em;color:#17835f;text-transform:uppercase}
.discount-payment-preview b{font-size:24px;letter-spacing:-.02em;color:var(--ink)}
.discount-payment-preview small{color:var(--muted);line-height:1.45}
.receipt-ready .panel-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.btn.success{background:#14966f;color:#fff;border-color:#14966f}.btn.success:hover{filter:brightness(.96)}
html[data-theme="dark"] .discount-payment-preview{background:#132d28;border-color:#285348}html[data-theme="dark"] .discount-payment-preview span{color:#72d8b5}

/* v69 - professional incoming/outgoing invoice center */
.invoice-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0 18px}
.invoice-action-card{position:relative;border:1px solid var(--line,#dce5f0);background:var(--panel,#fff);border-radius:18px;padding:22px;text-align:left;color:inherit;cursor:pointer;min-height:190px;box-shadow:0 10px 26px rgba(15,35,65,.06);transition:.18s ease;overflow:hidden}
.invoice-action-card:hover{transform:translateY(-2px);box-shadow:0 15px 34px rgba(15,35,65,.10);border-color:#9dbce9}
.invoice-action-card>i{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;font-style:normal;font-size:24px;margin-bottom:18px;background:#eef6ff;color:#1865ce}
.invoice-action-card.incoming>i{background:#eafaf4;color:#07805b}.invoice-action-card.outgoing>i{background:#edf3ff;color:#1857c7}
.invoice-action-card>span{display:block;font-size:11px;letter-spacing:.13em;font-weight:800;color:#6d7f94}.invoice-action-card h3{margin:5px 0 7px;font-size:21px}.invoice-action-card p{margin:0;max-width:620px;color:#718197;line-height:1.5}
.invoice-action-card strong{display:inline-block;margin-top:18px;color:#175ec8}.invoice-action-card small{position:absolute;right:20px;top:22px;padding:6px 9px;border-radius:999px;background:#f3f7fb;color:#667990;font-weight:700}
.invoice-page-actions{display:flex;gap:9px;flex-wrap:wrap}.compact-invoice-flow{margin-top:4px}
.invoice-modal{max-width:760px}.invoice-modal-head p{margin:4px 0 0;color:#718197;max-width:600px}.invoice-modal-head.incoming span{color:#07805b}.invoice-modal-head.outgoing span{color:#1857c7}
.invoice-entry-form{padding-top:2px}.invoice-form-section{padding:18px 20px;border-bottom:1px solid var(--line,#e1e8f1)}.invoice-form-section:last-of-type{border-bottom:0}
.invoice-form-section .section-title{display:flex;gap:11px;align-items:center;margin-bottom:14px}.invoice-form-section .section-title>i{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#eef4ff;color:#2465cf;font-style:normal;font-weight:800}.invoice-form-section .section-title b{display:block;font-size:15px}.invoice-form-section .section-title small{display:block;color:#8090a3;margin-top:2px}
.invoice-total-preview{align-self:end;border:1px solid #dbe7f4;background:#f6f9fd;border-radius:12px;padding:12px 14px;min-height:76px}.invoice-total-preview span{display:block;font-size:10px;letter-spacing:.12em;font-weight:800;color:#78899c}.invoice-total-preview b{display:block;font-size:20px;margin:3px 0}.invoice-total-preview small{color:#7b899a}
.invoice-accounting-note{margin:0 20px 16px;display:flex;align-items:center;gap:12px;padding:13px 15px;border:1px solid #bfe8d9;background:#effbf6;border-radius:12px;color:#17694f}.invoice-accounting-note.outgoing{border-color:#c9daf6;background:#f2f6fd;color:#25558e}.invoice-accounting-note>i{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:rgba(255,255,255,.7);font-style:normal;font-weight:900}.invoice-accounting-note b,.invoice-accounting-note span{display:block}.invoice-accounting-note span{font-size:12px;margin-top:2px;opacity:.88}
html[data-theme="dark"] .invoice-action-card,body.dark .invoice-action-card{background:#14283a;border-color:#29445d}html[data-theme="dark"] .invoice-total-preview,body.dark .invoice-total-preview{background:#102437;border-color:#29445d}html[data-theme="dark"] .invoice-form-section,body.dark .invoice-form-section{border-color:#29445d}
@media(max-width:760px){.invoice-action-grid{grid-template-columns:1fr}.invoice-page-actions{width:100%}.invoice-page-actions .btn{flex:1}.invoice-modal{width:calc(100vw - 18px);max-height:94vh}.invoice-form-section{padding:15px}.invoice-accounting-note{margin-left:15px;margin-right:15px}}

/* v70 top account / functional procurement */
.account-menu-wrap{position:relative;z-index:1200}.account-menu-button{display:flex;align-items:center;gap:9px;min-height:42px;padding:6px 10px}.account-avatar{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:#e9f2ff;color:#1764c0;font-weight:900}.account-avatar.large{width:42px;height:42px;border-radius:13px}.account-button-text{display:grid;text-align:left;line-height:1.08}.account-button-text b{font-size:12px}.account-button-text small{font-size:10px;color:var(--muted,#72839a)}.account-popover{display:none;position:absolute;right:0;top:calc(100% + 10px);width:min(340px,calc(100vw - 28px));background:var(--panel,#fff);border:1px solid var(--line,#dce5f0);border-radius:18px;box-shadow:0 18px 55px rgba(15,42,70,.20);padding:14px;z-index:10000}.account-popover.open{display:block}.account-popover-head{display:flex;align-items:center;gap:12px;padding:4px 4px 12px;border-bottom:1px solid var(--line,#e4ebf3);margin-bottom:10px}.account-popover-head div{display:grid}.account-popover-head small{color:var(--muted,#72839a)}.account-form{display:grid;gap:9px}.account-form label{display:grid;gap:4px;font-size:11px;font-weight:800;color:var(--muted,#63758b)}.account-form input{width:100%;min-height:38px}.account-divider{height:1px;background:var(--line,#e5edf5);margin:2px 0}.wide-account-save{width:100%;justify-content:center}.account-logout{display:flex;justify-content:center;margin-top:10px;padding:10px;border-radius:11px;background:#fff1f2;color:#b4232c;font-weight:800;text-decoration:none}.top-actions,.topbar{overflow:visible}.topbar{z-index:1100}.inventory-purchase-modal{max-width:760px}
@media(max-width:760px){.account-button-text{display:none}.account-popover{position:fixed;right:14px;top:72px}.top-actions{gap:6px}}

/* v71 notification inbox + immutable audit log */
.notification-toolbar{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.notification-drawer-empty{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;padding:28px;color:var(--muted)}
.notification-drawer-empty i{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;background:#eaf8f3;color:#0f8f72;font-style:normal;font-size:22px}.notification-drawer-empty b{color:var(--text);font-size:16px}.notification-drawer-empty span{font-size:13px;max-width:310px}
.notification-log-kpis{display:flex;gap:8px;align-items:center}.notification-log-list{display:grid;gap:10px}.notification-log-item{border:1px solid var(--line);border-radius:16px;background:var(--panel);overflow:hidden}.notification-log-item.is-unread{border-left:4px solid #e6a11a}.notification-log-item.is-read{border-left:4px solid #13a183}.notification-log-item summary{list-style:none;display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;padding:16px 18px;cursor:pointer}.notification-log-item summary::-webkit-details-marker{display:none}.notification-log-icon{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:var(--soft);font-weight:900}.notification-log-main{display:grid;gap:3px}.notification-log-main b{font-size:15px}.notification-log-main span,.notification-log-main small{color:var(--muted)}.notification-log-detail{border-top:1px solid var(--line);padding:18px;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:20px;background:var(--soft)}.notification-log-content h4,.notification-readers h4{margin:0 0 10px}.notification-reader{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--line)}.notification-reader>span{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:#e9f2ff;color:#1e63d5;font-weight:800}.notification-reader div{display:grid}.notification-reader small{color:var(--muted)}
html[data-theme="dark"] .notification-drawer-empty i{background:#12372f}.notification-footer{display:flex;gap:8px;flex-wrap:wrap}.notification-footer .btn{flex:1;justify-content:center}
@media(max-width:760px){.notification-log-detail{grid-template-columns:1fr}.notification-log-item summary{grid-template-columns:auto 1fr}.notification-log-item summary>.badge{grid-column:2;justify-self:start}}


/* v72 counterparty + general payment workflow */
.inline-counterparty-card{margin:14px 0;padding:16px;border:1px solid var(--border,#dbe5ef);border-radius:16px;background:var(--surface-soft,#f8fbff)}.inline-counterparty-card[hidden]{display:none!important}.general-payment-banner{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;margin:0 0 16px;border:1px solid #cfe3ff;border-radius:16px;background:#f4f8ff}.general-payment-banner>i{display:grid;place-items:center;min-width:36px;height:36px;border-radius:11px;background:#e5efff;font-style:normal;font-weight:900}.general-payment-banner b,.general-payment-banner span{display:block}.general-payment-banner span{margin-top:4px;color:#61728b;font-size:13px;line-height:1.45}.payment-allocation-modal .allocation-summary{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:14px 0 0;padding:13px 15px;border-radius:14px;background:#f2fbf7;border:1px solid #cdeedd}.payment-allocation-modal .allocation-summary span{font-size:12px;color:#47705d}.payment-allocation-modal .allocation-summary b{white-space:nowrap}@media(max-width:720px){.payment-allocation-modal .allocation-summary{align-items:flex-start;flex-direction:column}}html[data-theme="dark"] .inline-counterparty-card,html[data-theme="dark"] .general-payment-banner{background:#13263a;border-color:#28445f}html[data-theme="dark"] .general-payment-banner span{color:#a8bad0}html[data-theme="dark"] .payment-allocation-modal .allocation-summary{background:#132b27;border-color:#275348}


/* v73 ERP-grade stock cards */
.stock-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:18px 0}.stock-card{background:var(--panel,#fff);border:1px solid var(--line,#dce5ef);border-radius:20px;padding:18px;box-shadow:0 12px 30px rgba(19,49,82,.06);display:grid;gap:16px;min-width:0}.stock-card-top{display:flex;gap:12px;align-items:flex-start}.stock-icon{width:44px;height:44px;border-radius:14px;background:#eaf2ff;display:grid;place-items:center;color:#1764d6;font-size:19px;font-weight:900;flex:0 0 auto}.stock-title{min-width:0;flex:1}.stock-title>span{font-size:10px;font-weight:900;letter-spacing:.09em;color:#76879d}.stock-title h3{margin:3px 0 2px;font-size:19px}.stock-title small{color:#73849a}.stock-balance{padding:16px;border-radius:16px;background:linear-gradient(135deg,#0f3552,#124c67);color:#fff;display:grid;gap:3px}.stock-balance span{font-size:10px;font-weight:900;letter-spacing:.12em;opacity:.72}.stock-balance strong{font-size:28px;line-height:1.05}.stock-balance strong small{font-size:13px}.stock-balance em{font-size:11px;font-style:normal;opacity:.76}.stock-metrics{display:grid;grid-template-columns:1fr 1fr;gap:8px}.stock-metrics>div{padding:10px 11px;border:1px solid var(--line,#e1e8f0);border-radius:12px;display:grid;gap:3px}.stock-metrics span{font-size:9px;font-weight:900;color:#8090a5;letter-spacing:.08em}.stock-metrics b{font-size:12px}.stock-card-actions{display:flex;gap:8px}.stock-card-actions .btn{flex:1;justify-content:center}.stock-dispatch-summary,.stock-detail-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:14px 20px}.stock-dispatch-summary>div,.stock-detail-kpis>div{border:1px solid var(--line,#e0e8f1);border-radius:12px;padding:10px;display:grid;gap:3px}.stock-dispatch-summary span,.stock-detail-kpis span{font-size:9px;font-weight:900;color:#7a8ca2;letter-spacing:.08em}.stock-dispatch-summary b,.stock-detail-kpis b{font-size:12px}.destination-switch{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:2px 20px 14px;padding:5px;background:#f2f6fb;border-radius:12px}.destination-switch button{border:0;background:transparent;border-radius:9px;padding:10px;font-weight:800;cursor:pointer}.destination-switch button.active{background:#fff;color:#1764d6;box-shadow:0 3px 10px rgba(24,76,125,.12)}.stock-detail-section{padding:0 20px 18px}.stock-detail-section h3{font-size:14px;margin:8px 0}.stock-detail-modal{max-width:900px}.stock-allocation-modal{max-width:760px}.empty-stock{margin-top:18px}@media(max-width:1100px){.stock-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.stock-card-grid{grid-template-columns:1fr}.stock-dispatch-summary,.stock-detail-kpis{grid-template-columns:1fr 1fr}.stock-card-actions{flex-direction:column}}
html[data-theme="dark"] .stock-card{background:var(--panel);border-color:#284158}html[data-theme="dark"] .destination-switch{background:#0f2233}html[data-theme="dark"] .destination-switch button.active{background:#19364e;color:#8fc4ff}

/* v76 stock valuation */
.stock-metrics-valuation{grid-template-columns:1fr 1fr}.stock-metrics .value-up{color:#0f8a61}.stock-metrics .value-down{color:#cf3e4f}.stock-card-actions{flex-wrap:wrap}.stock-card-actions .btn{min-width:120px}.stock-detail-kpis-six{grid-template-columns:repeat(3,1fr)}.stock-detail-kpis-six small{display:block;color:#7b8da3;font-size:10px;margin-top:2px}.stock-valuation-banner{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:18px 20px 8px}.stock-valuation-banner>div{border:1px solid var(--line,#dfe7f0);border-radius:14px;padding:13px;background:var(--panel,#fff)}.stock-valuation-banner span{display:block;font-size:10px;font-weight:900;letter-spacing:.08em;color:#7b8da2}.stock-valuation-banner b{display:block;font-size:16px;margin-top:4px}.stock-valuation-banner small{display:block;color:#8190a4;margin-top:3px}.stock-edit-modal{max-width:760px}
@media(max-width:700px){.stock-detail-kpis-six,.stock-valuation-banner{grid-template-columns:1fr 1fr}.stock-card-actions .btn{min-width:0}}



/* v81 - single interaction core */
.modal-backdrop{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;position:fixed;inset:0;z-index:100000;background:rgba(15,23,42,.56);padding:20px;align-items:center;justify-content:center}
.modal-backdrop.open{display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
.modal-backdrop.open>.modal{display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;position:relative;z-index:100001;max-height:calc(100vh - 40px);overflow:auto}
.module-card,.module-home-button{pointer-events:auto!important;cursor:pointer!important;position:relative;z-index:1}
.notification-drawer-backdrop:not(.open),.mobile-nav-overlay:not(.show),.presence-popup-backdrop:not(.show),.staff-presence-backdrop:not(.show),.field-live-backdrop:not(.show){pointer-events:none!important}
body.modal-open{overflow:hidden}

/* v87 e-Fatura kurumsal referans alanlari */
.einvoice-reference-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 16px}.einvoice-reference-grid>div{border:1px solid #d9e1ea;border-radius:10px;padding:10px 12px;background:#f8fafc;min-width:0}.einvoice-reference-grid span{display:block;font-size:10px;font-weight:800;letter-spacing:.08em;color:#718096;margin-bottom:4px}.einvoice-reference-grid b{display:block;font-size:11px;word-break:break-word}.einvoice-reference-grid small{display:block;margin-top:3px;color:#718096;font-size:10px}@media(max-width:760px){.einvoice-reference-grid{grid-template-columns:1fr 1fr}}@media print{.einvoice-reference-grid{grid-template-columns:repeat(4,1fr);gap:6px;margin:8px 0}.einvoice-reference-grid>div{padding:7px 8px}}

/* v90 premium project income + barter modules */
.finance-module-intro{align-items:flex-end}.finance-intro-actions{display:flex;gap:9px;flex-wrap:wrap}.finance-kpis{margin-bottom:18px}.finance-ledger-panel{overflow:hidden}.finance-ledger-panel .panel-head{padding:18px 20px}.finance-entry-modal{max-width:780px}.finance-modal-body{padding:18px 20px 6px}.finance-entry-modal .form-grid{gap:12px}.finance-entry-modal .form-grid label{font-size:11px;font-weight:800;color:#52657d}.finance-entry-modal input,.finance-entry-modal select,.finance-entry-modal textarea{width:100%;margin-top:6px;min-height:42px;border:1px solid var(--line,#dce5ef);border-radius:11px;padding:10px 12px;background:var(--panel,#fff);color:var(--text,#17263b);font:inherit}.finance-entry-modal textarea{min-height:88px;resize:vertical}.finance-step{display:flex;gap:11px;align-items:center;margin:4px 0 13px;padding-top:4px}.finance-step>strong{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:#eaf2ff;color:#1764d6;font-size:13px}.finance-step div{display:grid;gap:2px}.finance-step b{font-size:13px}.finance-step small{color:var(--muted,#72839a)}.finance-accounting-note{display:flex;gap:11px;align-items:flex-start;margin:16px 0;padding:13px 14px;border-radius:14px;background:#eefaf5;border:1px solid #ccebdc;color:#137451}.finance-accounting-note>i{width:31px;height:31px;border-radius:10px;background:#dff5ea;display:grid;place-items:center;font-style:normal;font-weight:900;flex:0 0 auto}.finance-accounting-note div{display:grid;gap:3px}.finance-accounting-note span{font-size:12px;line-height:1.4}.portfolio-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin:20px 0 12px}.portfolio-section-head span{font-size:10px;font-weight:900;letter-spacing:.12em;color:#0f8f92}.portfolio-section-head h3{font-size:20px;margin:4px 0}.portfolio-section-head p{margin:0;color:var(--muted,#72839a)}.contractor-unit-grid,.barter-asset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:18px}.contractor-unit-card,.barter-asset-card{background:var(--panel,#fff);border:1px solid var(--line,#dce5ef);border-radius:18px;padding:17px;box-shadow:0 10px 28px rgba(20,49,82,.05);display:grid;gap:14px;min-width:0}.contractor-unit-card{border-top:3px solid #1ab0b6}.unit-card-top,.barter-card-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.unit-project span,.barter-eyebrow{font-size:10px;font-weight:900;letter-spacing:.08em;color:#0d8c91}.unit-project h3,.barter-asset-card h3{margin:4px 0 2px;font-size:18px}.unit-project small,.barter-asset-card p{color:var(--muted,#72839a);margin:0}.unit-card-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.unit-card-metrics>div{border:1px solid var(--line,#e1e8f0);border-radius:11px;padding:9px;display:grid;gap:3px}.unit-card-metrics span,.barter-value span{font-size:9px;font-weight:900;color:#8090a5;letter-spacing:.08em}.unit-card-metrics b{font-size:12px}.wide-card-button{width:100%;justify-content:center}.selected-asset-summary{display:flex;gap:12px;align-items:center;padding:14px;border:1px solid #d7e5f7;background:#f5f9ff;border-radius:14px;margin-bottom:16px}.selected-asset-summary>i{width:42px;height:42px;border-radius:13px;background:#e6f0ff;color:#1764d6;display:grid;place-items:center;font-style:normal;font-size:19px}.selected-asset-summary div{display:grid;gap:3px}.selected-asset-summary span{font-size:9px;font-weight:900;letter-spacing:.08em;color:#7b8da3}.selected-asset-summary small{color:#72839a}.barter-asset-card{border-top:3px solid #3171d9}.barter-asset-card.is-used{opacity:.72}.barter-card-icon{width:42px;height:42px;border-radius:13px;background:#eaf2ff;display:grid;place-items:center;color:#1764d6;font-size:18px}.barter-value{padding:13px 14px;border-radius:13px;background:linear-gradient(135deg,#102f4d,#14506a);color:#fff;display:grid;gap:3px}.barter-value span{color:rgba(255,255,255,.68)}.barter-value b{font-size:18px}.empty-portfolio{grid-column:1/-1}.modal-actions{display:flex;justify-content:flex-end;gap:8px;padding:14px 20px 18px;border-top:1px solid var(--line,#e2e9f1);background:var(--soft,#f8fbff)}
html[data-theme="dark"] .finance-entry-modal input,html[data-theme="dark"] .finance-entry-modal select,html[data-theme="dark"] .finance-entry-modal textarea{background:#122335;color:#eaf0f7;border-color:#29435c}html[data-theme="dark"] .finance-accounting-note{background:#112b26;border-color:#295347;color:#92e1bf}html[data-theme="dark"] .selected-asset-summary{background:#12263a;border-color:#2a4660}
@media(max-width:1050px){.contractor-unit-grid,.barter-asset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.finance-module-intro,.portfolio-section-head{align-items:stretch;flex-direction:column}.finance-intro-actions{width:100%}.finance-intro-actions .btn{flex:1;justify-content:center}.contractor-unit-grid,.barter-asset-grid{grid-template-columns:1fr}.unit-card-metrics{grid-template-columns:1fr 1fr}.finance-entry-modal{width:calc(100vw - 16px);max-height:94vh}.finance-modal-body{padding:14px}.modal-actions{padding:12px 14px}.modal-actions .btn{flex:1;justify-content:center}}

/* v95 - ready construction service/provider directory */
.service-picker{grid-column:1/-1;border:1px solid var(--line,#dfe7f1);background:linear-gradient(180deg,#f8fbff 0%,#f3f7fc 100%);border-radius:18px;padding:16px;margin-bottom:4px}.service-picker-head{display:flex;flex-direction:column;gap:3px;margin-bottom:14px}.service-picker-head span{font-size:11px;font-weight:800;letter-spacing:.14em;color:#0b8b91}.service-picker-head b{font-size:15px;color:#14233d}.service-picker-head small{color:#6f7f97;line-height:1.45}.service-picker select{min-height:44px}.service-picker .form-grid{margin:0}@media(max-width:720px){.service-picker{padding:13px;border-radius:14px}.service-picker .form-grid{grid-template-columns:1fr}}

.card-action-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.card-action-row .btn{justify-content:center;width:100%}.card-action-row .btn:disabled{opacity:.48;cursor:not-allowed;filter:grayscale(.15)}

/* v2.7.9 Tevhid & Yeni Yerleşim */
.tevhid-command{border-color:#8bd8d8!important;background:#ecfbfa!important;color:#087b7c!important;font-weight:800}.tevhid-section{scroll-margin-top:96px;overflow:visible}.section-eyebrow{display:block;font-size:10px;font-weight:900;letter-spacing:.13em;color:#0a8e90;margin-bottom:5px}.tevhid-panel-head{align-items:flex-end}.tevhid-empty{display:flex;align-items:center;gap:16px;padding:22px;border:1px dashed #b8d9da;border-radius:16px;background:#f7fcfc}.tevhid-empty-icon{width:48px;height:48px;border-radius:14px;background:#e2f7f6;color:#09888a;display:grid;place-items:center;font-size:22px;flex:0 0 auto}.tevhid-empty h4{margin:0 0 4px;font-size:17px}.tevhid-empty p{margin:0;color:var(--muted,#72839a);line-height:1.45}.tevhid-empty .btn{margin-left:auto;white-space:nowrap}.tevhid-workspace{border:1px solid var(--line,#dbe5ef);border-radius:18px;background:var(--panel,#fff);overflow:hidden;margin-top:16px;box-shadow:0 12px 30px rgba(18,49,76,.05)}.tevhid-workspace.is-cancelled{opacity:.7}.tevhid-workspace-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:18px 20px;border-bottom:1px solid var(--line,#e3eaf1);background:linear-gradient(135deg,#f7fcfc 0%,#f6f9ff 100%)}.tevhid-title-row{display:flex;gap:8px;align-items:center;margin-bottom:7px}.tevhid-status,.tevhid-code{display:inline-flex;align-items:center;min-height:25px;padding:4px 9px;border-radius:999px;font-size:9px;font-weight:900;letter-spacing:.08em}.tevhid-status.info{background:#eaf2ff;color:#2867c9}.tevhid-status.warning{background:#fff5d9;color:#9a6a00}.tevhid-status.success{background:#e2f7ec;color:#16784f}.tevhid-status.danger{background:#fee9e7;color:#b42318}.tevhid-code{background:#edf1f5;color:#607087}.tevhid-workspace-head h4{font-size:20px;margin:0 0 5px}.tevhid-workspace-head p{margin:0;color:var(--muted,#72839a)}.tevhid-head-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.tevhid-flow{display:grid;grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr) 28px minmax(0,1fr);gap:8px;align-items:center;padding:16px 20px}.tevhid-flow>i{font-style:normal;text-align:center;color:#87a0b9;font-weight:900}.tevhid-flow-card{border:1px solid var(--line,#dce5ef);border-radius:14px;padding:13px 14px;display:grid;gap:3px;min-width:0}.tevhid-flow-card span{font-size:9px;font-weight:900;letter-spacing:.1em;color:#8190a3}.tevhid-flow-card b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tevhid-flow-card small{color:var(--muted,#72839a);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tevhid-flow-card.old{background:#fbfaf8}.tevhid-flow-card.merge{background:#fff8e8;border-color:#f4dfad}.tevhid-flow-card.new{background:#edf9f7;border-color:#c7e9e3}.tevhid-columns{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.7fr);gap:14px;padding:0 20px 18px}.tevhid-subpanel,.tevhid-new-units{border:1px solid var(--line,#dce5ef);border-radius:15px;padding:15px;min-width:0;background:var(--panel,#fff)}.tevhid-subhead{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.tevhid-subhead span{font-size:9px;font-weight:900;letter-spacing:.1em;color:#0a8d90}.tevhid-subhead h5{margin:3px 0 0;font-size:15px}.count-pill{background:#eef3f8!important;color:#53677e!important;border-radius:999px;padding:5px 9px}.tevhid-old-list{display:grid;gap:8px}.tevhid-old-item{display:flex;justify-content:space-between;gap:10px;align-items:center;border:1px solid var(--line,#e3e9ef);border-radius:11px;padding:10px 11px}.tevhid-old-item>div{display:grid;gap:2px}.tevhid-old-item small,.tevhid-old-item span{font-size:9px;color:#8290a2;font-weight:800;letter-spacing:.05em}.tevhid-block-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tevhid-block-card{border:1px solid var(--line,#dce5ef);border-radius:13px;padding:12px;background:#fbfdff;display:grid;gap:10px;min-width:0}.tevhid-block-card header{display:flex;justify-content:space-between;gap:8px}.tevhid-block-card header span{font-size:9px;font-weight:900;color:#0b8b8d}.tevhid-block-card h5{margin:3px 0 0;font-size:14px}.tevhid-block-card header>b{font-size:11px;color:#63758a}.tevhid-block-meta{display:grid;grid-template-columns:1fr 1fr;gap:7px}.tevhid-block-meta span{padding:7px 8px;border-radius:9px;background:#f0f5f9;font-size:10px;color:#718096;display:grid;gap:2px}.tevhid-block-meta b{color:var(--text,#17263b)}.mini-empty{padding:18px;border-radius:12px;background:#f7f9fb;color:#74859a;text-align:center}.tevhid-new-units{margin:0 20px 18px;padding:15px;overflow:hidden}.tevhid-allocation-strip{margin:0 20px 20px;border:1px solid #cde8dc;background:#f3fbf7;border-radius:14px;padding:13px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.tevhid-allocation-strip>span{font-size:9px;font-weight:900;color:#1d7758;letter-spacing:.1em;margin-right:4px}.tevhid-allocation-strip>div{display:grid;gap:1px;padding:7px 9px;background:#fff;border:1px solid #dfece6;border-radius:9px}.tevhid-allocation-strip small{color:#6d7f76}.tevhid-modal{max-width:800px;max-height:min(92vh,900px);overflow:auto}.tevhid-modal-body{padding:18px 20px}.tevhid-modal-body>label{display:grid;gap:6px;font-size:11px;font-weight:800;color:#53667c;margin-bottom:14px}.tevhid-modal input,.tevhid-modal select,.tevhid-modal textarea{width:100%;min-height:42px;border:1px solid var(--line,#dce5ef);border-radius:11px;padding:10px 12px;background:var(--panel,#fff);color:var(--text,#17263b);font:inherit}.tevhid-modal textarea{min-height:88px;resize:vertical}.building-select-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:10px 0 16px}.building-check{display:flex!important;gap:10px!important;align-items:center;border:1px solid var(--line,#dce5ef);border-radius:12px;padding:11px;background:#fbfdff;cursor:pointer}.building-check input{width:18px!important;min-height:18px!important;flex:0 0 auto}.building-check span{display:grid;gap:2px}.building-check small{color:#75869a}.building-check:has(input:checked){border-color:#4ec2c1;background:#effafa;box-shadow:0 0 0 2px rgba(38,170,170,.08)}
[data-theme="dark"] .tevhid-command{background:#123638!important;border-color:#276f70!important;color:#80dfdf!important}[data-theme="dark"] .tevhid-workspace-head{background:linear-gradient(135deg,#122329,#162334)}[data-theme="dark"] .tevhid-flow-card.old,[data-theme="dark"] .tevhid-block-card,[data-theme="dark"] .building-check{background:#17232f}[data-theme="dark"] .tevhid-flow-card.merge{background:#302918;border-color:#5b4d29}[data-theme="dark"] .tevhid-flow-card.new{background:#15302d;border-color:#285a55}[data-theme="dark"] .tevhid-empty{background:#142529;border-color:#2d6567}[data-theme="dark"] .mini-empty{background:#17232f}
@media(max-width:1050px){.tevhid-columns{grid-template-columns:1fr}.tevhid-flow{grid-template-columns:1fr 22px 1fr 22px 1fr}.tevhid-workspace-head{flex-direction:column}.tevhid-head-actions{justify-content:flex-start}.tevhid-block-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.tevhid-section{scroll-margin-top:70px}.tevhid-panel-head{align-items:stretch;flex-direction:column}.tevhid-panel-head .btn{width:100%;justify-content:center}.tevhid-empty{align-items:flex-start;flex-wrap:wrap;padding:15px}.tevhid-empty .btn{margin-left:0;width:100%;justify-content:center}.tevhid-workspace-head,.tevhid-flow,.tevhid-columns{padding-left:13px;padding-right:13px}.tevhid-flow{grid-template-columns:1fr;gap:7px}.tevhid-flow>i{transform:rotate(90deg)}.tevhid-columns{gap:10px}.tevhid-block-grid{grid-template-columns:1fr}.tevhid-new-units,.tevhid-allocation-strip{margin-left:13px;margin-right:13px}.building-select-grid{grid-template-columns:1fr}.tevhid-modal{width:calc(100vw - 14px);max-height:94vh}.tevhid-modal-body{padding:14px}.tevhid-head-actions{width:100%}.tevhid-head-actions .btn{flex:1;justify-content:center}.tevhid-workspace{margin-bottom:4px}}
