/* NET ISG V120 — unified visual system */
:root{--ni-navy:#0b2748;--ni-navy-2:#123b68;--ni-blue:#1473e6;--ni-blue-2:#0d5fc5;--ni-sky:#eaf3ff;--ni-bg:#f3f6fa;--ni-card:#fff;--ni-text:#172b43;--ni-muted:#687b91;--ni-line:#dce5ef;--ni-success:#138a61;--ni-warning:#c5790a;--ni-danger:#c94252;--ni-radius:16px;--ni-shadow:0 8px 28px rgba(18,48,82,.07)}
html{font-size:16px;scroll-behavior:smooth}body{background:var(--ni-bg);color:var(--ni-text);font-family:"Segoe UI",Arial,sans-serif;line-height:1.5;-webkit-font-smoothing:antialiased}body:before{content:"";position:fixed;inset:0 0 auto 0;height:3px;z-index:1000;background:linear-gradient(90deg,#0b2748,#1473e6 52%,#29a9c7);pointer-events:none}a,button,input,select,textarea{transition:border-color .18s,background-color .18s,color .18s,box-shadow .18s,transform .18s}button,input,select,textarea{font-family:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid rgba(20,115,230,.2);outline-offset:2px}
/* Main shell */
.portal{background:var(--ni-bg)}.side{width:268px;padding:22px 15px 18px;background:linear-gradient(180deg,#0a2849 0%,#0d3158 55%,#09233f 100%);border:0;box-shadow:7px 0 28px rgba(8,30,55,.11);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#ffffff2b transparent}.portal-main{margin-left:268px}.portal-brand{margin:0 3px;padding:0 7px 21px;border-bottom-color:#ffffff1c}.portal-brand>span{width:44px;height:44px;border-radius:13px;background:linear-gradient(145deg,#31a7ff,#1262d1);box-shadow:0 8px 22px rgba(5,16,34,.3);font-family:Arial,sans-serif;font-weight:300}.portal-brand>b{color:#fff;font-size:19px;letter-spacing:.15px}.portal-brand small{color:#9db5cc;font-size:10px;font-weight:500;letter-spacing:.2px}.side nav{padding:18px 0;gap:5px}.side nav>a,.side nav details>summary,.side-group summary{min-height:43px;height:auto;padding:10px 12px;border-radius:10px;color:#c5d4e3;font-size:12px;font-weight:650}.side nav>a:hover,.side nav>a.active,.side nav details>summary:hover,.side nav details[open]>summary,.side-group summary.active{background:#ffffff16;color:#fff}.side nav>a.active{background:linear-gradient(135deg,#197bec,#1164cb);box-shadow:0 7px 18px rgba(3,21,44,.24)}.side nav i{color:#8fb4d7}.side nav>a.active i{color:#fff}.side nav em{background:#ffdfdf;color:#a72d3d}.side-user{padding:16px 7px 0;border-top-color:#ffffff1c}.side-user>span{background:#ffffff17;color:#dceeff}.side-user b{color:#fff;font-size:11px}.side-user small{color:#91a9bf;font-size:9px}.side-user img{border:2px solid #ffffff35}.portal-main>header{height:70px;padding:0 32px;border-bottom-color:var(--ni-line);box-shadow:0 2px 12px rgba(24,54,86,.025)}.header-label{color:#3d526a;font-size:12px}.account{color:#65788e;font-size:11px}.account button{height:36px;padding:0 14px;border-color:#d7e1eb;border-radius:9px}.account button:hover{border-color:#aac3df;background:#f4f8fd;color:#164f8e}.portal-content{max-width:1540px;padding:30px 34px 55px}.mobile-menu{width:40px;height:40px;border-radius:10px;color:var(--ni-navy);font-size:21px}.mobile-menu:hover{background:var(--ni-sky)}
/* Typography */
.hello small,.section-kicker,.panel-title>div>small,.form-heading small{color:var(--ni-blue);font-size:10px;font-weight:800;letter-spacing:1.25px}.hello h1,.page-head h1{color:var(--ni-navy);font-size:28px;line-height:1.2;letter-spacing:-.55px}.hello p,.page-head p{color:var(--ni-muted);font-size:13px}.section-title h2{color:var(--ni-navy);font-size:19px}.section-title p{color:var(--ni-muted);font-size:11px;line-height:1.55}.panel-head h1,.panel-head h2,.panel h2{color:var(--ni-navy);font-size:18px}.panel-head p,.panel>p{color:var(--ni-muted);font-size:11px;line-height:1.55}.muted{color:var(--ni-muted)}
/* Cards and panels */
.panel,.quick-stats article,.module-grid article,.profile-top,.member-company-card,.dashboard-company{border-color:var(--ni-line);border-radius:var(--ni-radius);background:var(--ni-card);box-shadow:var(--ni-shadow)}.panel{padding:22px}.panel-head{gap:18px;margin-bottom:18px;padding-bottom:15px;border-bottom:1px solid #edf2f7}.quick-stats{gap:16px}.quick-stats article{min-height:112px;padding:20px}.quick-stats article:hover,.module-grid article:hover{transform:translateY(-2px);border-color:#bed2e7;box-shadow:0 13px 32px rgba(18,48,82,.1)}.quick-stats article>span,.module-grid article>span{width:44px;height:44px;flex-basis:44px;border-radius:12px;font-size:14px}.quick-stats small{font-size:11px}.quick-stats b{color:var(--ni-navy);font-size:26px}.module-grid{gap:16px}.module-grid article{padding:20px}.module-grid h3{font-size:14px}.module-grid article>p{font-size:11px}.no-modules,.empty-notice,.empty{color:#718398;font-size:12px}.no-modules{border-color:#b9c9db;background:#f8fafc}
/* Buttons, forms and feedback */
.btn{min-height:40px;padding:0 16px;border-radius:10px;font-size:11px;line-height:1.2;white-space:normal;text-align:center}.btn.primary,.primary{background:linear-gradient(135deg,var(--ni-blue),var(--ni-blue-2));box-shadow:0 7px 18px rgba(20,115,230,.2)}.btn.primary:hover,.primary:hover{filter:none;transform:translateY(-1px);background:linear-gradient(135deg,#2183f1,#0c58b5);box-shadow:0 10px 23px rgba(20,115,230,.27)}.btn.secondary,.secondary{border-color:#d3deea;background:#fff;color:#38536f}.btn.secondary:hover,.secondary:hover{border-color:#aac2dd;background:#f5f9fd}.mini{min-height:29px;padding:5px 9px;border-radius:7px;font-size:9px}.alert{padding:14px 16px;border-radius:11px;font-size:12px}.filters,.risk-filters{border-color:var(--ni-line);border-radius:14px;background:#f8fafc}.auth-card input,.auth-card select,.filters input,.filters select,.form-panel input,.form-panel select,.form-panel textarea,.profile-form input,.profile-form select,.profile-form textarea,.risk-form input,.risk-form select,.risk-form textarea{border-color:#ccd8e5;border-radius:10px;color:#203850;font-size:11px}.auth-card input:focus,.auth-card select:focus,.filters input:focus,.filters select:focus,.form-panel input:focus,.form-panel select:focus,.form-panel textarea:focus,.profile-form input:focus,.profile-form select:focus,.profile-form textarea:focus{border-color:#5c9dea;box-shadow:0 0 0 3px rgba(20,115,230,.1)}label{line-height:1.4}
/* Data tables */
.table-wrap{border:1px solid #e0e8f1;border-radius:12px;background:#fff}table{background:#fff}th{padding:12px 11px;border-top:0;background:#f4f7fb;color:#526a82;font-size:9px;letter-spacing:.35px}td{padding:13px 11px;color:#30475f;font-size:11px}tbody tr:hover td{background:#f8fbff}td small{color:#7a899a;font-size:9px}.badge{padding:6px 9px;font-size:9px}.text-link{color:#0e67ce}.inline-actions{flex-wrap:wrap}
/* Authentication */
.auth-page{background:radial-gradient(circle at 15% 15%,#2a87f42d,transparent 28%),linear-gradient(135deg,#06192f,#0c3159)}.auth-wrap{border:1px solid #ffffff1a;border-radius:24px;box-shadow:0 28px 80px rgba(0,0,0,.38)}.auth-brand{background:linear-gradient(150deg,#0d4f91,#09294a)}.auth-card h2{color:var(--ni-navy)}
/* Shared module navigation */
.ppe-side-title,.health-side-title{margin:4px 3px 12px;padding:13px;border:1px solid #ffffff14;border-radius:12px;background:#ffffff0b}.ppe-side-title b,.health-side-title b{color:#fff}.ppe-side-title small,.health-side-title small{color:#94adc4}.ppe-back,.health-back{color:#afc2d5!important}.ppe-menu summary,.health-menu-group summary{color:#c5d4e3!important}.ppe-menu[open] summary,.health-menu-group[open] summary{color:#fff!important}.ppe-menu>div a,.health-menu-items a{color:#aabed1!important}.ppe-menu>div a:hover,.health-menu-items a:hover{color:#fff!important;background:#ffffff0d!important}.ppe-menu>div a.active,.health-menu-items a.active{color:#fff!important;background:#1473e6!important}.ppe-company-link,.health-company-link{border-color:#ffffff18!important;background:#ffffff0b!important;color:#fff!important}
/* Company records */
.company-head{padding:23px}.company-facts,.contact-status-grid{gap:12px}.company-facts>div,.contact-status{border-color:#e0e8f1;border-radius:12px}.contact-status.complete{background:#f1fbf7}.contact-status.missing{background:#fff7f7}.record-layout{gap:18px}.company-module-grid a{border-color:var(--ni-line);border-radius:14px;box-shadow:0 5px 17px rgba(18,48,82,.04)}.company-module-grid a:hover{transform:translateY(-2px);border-color:#b3cae4;box-shadow:var(--ni-shadow)}
/* Firmalarim tree on the dark unified sidebar */
.side .company-tree{border-left-color:#8eb4d8}
.side .company-tree .company-city-title{color:#e9f3ff;font-size:11px;font-weight:800;letter-spacing:.15px}
.side .company-tree .company-city-title i{color:#2f94ff}
.side nav .company-tree .company-city>a{color:#bfd2e5!important;border-left-color:#799bbb;background:transparent}
.side nav .company-tree .company-city>a:before{background:#8eb8df}
.side nav .company-tree .company-city>a:hover{color:#fff!important;border-left-color:#46a4ff;background:#ffffff10}
.side nav .company-tree .company-city>a.active{color:#fff!important;border-left-color:#59b0ff;background:#1673da;font-weight:800;box-shadow:0 5px 14px rgba(3,21,44,.2)}
.side nav .company-tree .company-city>a:hover:before,.side nav .company-tree .company-city>a.active:before{background:#fff}
/* Specialized module surfaces retain a restrained identity */
.risk-hero{border-color:#cadced;border-radius:20px;box-shadow:var(--ni-shadow)}.risk-summary article,.risk-stat-cards article{border-color:var(--ni-line);border-radius:13px;box-shadow:0 5px 17px rgba(18,48,82,.035)}.health-hero,.ppe-hero{border-radius:20px;box-shadow:0 14px 36px rgba(12,49,79,.15)}.health-content .panel,.ppe-content .panel{border-color:var(--ni-line);border-radius:var(--ni-radius);box-shadow:var(--ni-shadow)}.health-tabs a,.ppe-tabs a{font-size:11px}.health-table,.ppe-table{font-size:11px}.health-table th,.ppe-table th{font-size:9px}.health-table td,.ppe-table td{font-size:11px}
/* Improve legacy tiny text without breaking compact controls */
.form-panel label,.profile-form label,.risk-form label,.risk-tools form label,.add-panel label{font-size:11px}.permission-list b,.permission-table b,.category-cards h3,.company-cards h3,.workplace-list h3{font-size:11px}.permission-table small,.category-cards p,.company-cards p,.workplace-list p{font-size:9px}.detail-grid small{font-size:9px}.detail-grid b{font-size:11px}.category-label,.module-labels>span{font-size:9px}
/* Mobile and tablet */
@media(max-width:1180px){.side{width:250px}.portal-main{margin-left:250px}.portal-content{padding-left:25px;padding-right:25px}.quick-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){body:before{height:2px}.side{width:min(292px,86vw);z-index:30}.portal-main{margin-left:0}.portal-main>header{height:64px;padding:0 16px}.portal-content{padding:21px 15px 42px}.hello h1,.page-head h1{font-size:24px}.panel{padding:17px}.panel-head{align-items:flex-start;flex-direction:column}.panel-head>.btn,.panel-head>form{width:100%}.panel-head>form .btn{width:100%}.quick-stats{gap:10px}.quick-stats article{min-height:94px;padding:15px}.filters,.risk-filters{grid-template-columns:1fr 1fr}.record-layout{grid-template-columns:1fr}.table-wrap{border-radius:10px}.shade.show{z-index:25;background:rgba(4,19,36,.68);backdrop-filter:blur(2px)}}
@media(max-width:520px){.quick-stats,.filters,.risk-filters{grid-template-columns:1fr}.quick-stats article{min-height:84px}.hello h1,.page-head h1{font-size:22px}.hello p,.page-head p{font-size:12px}.panel{padding:15px}.btn{width:100%}.inline-actions .btn,.inline-actions .mini,td .btn,td .mini{width:auto}.account>span{display:none}.portal-main>header{gap:8px}.table-wrap{margin-left:-2px;margin-right:-2px}}
@media print{body:before,.side,.portal-main>header,.mobile-menu,.shade{display:none!important}.portal-main{margin:0!important}.portal-content{max-width:none;padding:0}.panel{box-shadow:none}}
/* NETISG V173 - Admin paneli: 18004 referansli yesil yonetim temasi */
body:has(.admin-portal){--admin-green:#06a85e;--admin-green-dark:#078d51;--admin-side:#202f34;--admin-bg:#edf1f7;background:var(--admin-bg)}
body:has(.admin-portal):before{height:0;background:none}
body:has(.admin-portal) .admin-portal .side{
  width:225px;padding:0 0 16px;background:#223137;border:0;box-shadow:3px 0 13px rgba(20,38,45,.16)
}
body:has(.admin-portal) .admin-portal .portal-main{margin-left:225px}
body:has(.admin-portal) .admin-portal .portal-brand{
  min-height:74px;margin:0;padding:0 18px;border:0;background:#07a85e;color:#fff
}
body:has(.admin-portal) .admin-portal .portal-brand>span{
  width:38px;height:38px;border-radius:4px;background:rgba(255,255,255,.16);box-shadow:none;font-size:25px
}
body:has(.admin-portal) .admin-portal .portal-brand>b,
body:has(.admin-portal) .admin-portal .portal-brand small{color:#fff}
body:has(.admin-portal) .admin-portal .side nav{padding:12px 0;gap:0}
body:has(.admin-portal) .admin-portal .side nav a{
  min-height:45px;padding:0 18px;border-radius:0;color:#c6d1d5;font-size:12px;font-weight:600
}
body:has(.admin-portal) .admin-portal .side nav a:hover,
body:has(.admin-portal) .admin-portal .side nav a.active{
  background:#19272c;color:#fff;box-shadow:inset 4px 0 0 #08b566
}
body:has(.admin-portal) .admin-portal .side nav i{color:#91a5ac}
body:has(.admin-portal) .admin-portal .side-user{margin:0 15px;padding-top:15px;border-top-color:#3a494e}
body:has(.admin-portal) .admin-portal .portal-main>header{
  height:74px;padding:0 27px;border:0;background:#07a85e;box-shadow:0 3px 12px rgba(5,124,72,.22)
}
body:has(.admin-portal) .admin-portal .header-label,
body:has(.admin-portal) .admin-portal .account,
body:has(.admin-portal) .admin-portal .account>span{color:#fff}
body:has(.admin-portal) .admin-portal .account button{border-color:rgba(255,255,255,.55);background:rgba(255,255,255,.1);color:#fff}
body:has(.admin-portal) .admin-portal .portal-content{max-width:none;padding:25px 28px 52px}
body:has(.admin-portal) .admin-portal .hello h1{color:#263b44}
body:has(.admin-portal) .admin-portal .quick-stats{gap:28px}
body:has(.admin-portal) .admin-portal .quick-stats article{
  position:relative;overflow:hidden;min-height:126px;padding:20px;border:0;border-radius:2px;
  color:#fff;background:#10bcdc;box-shadow:0 5px 14px rgba(27,76,89,.13)
}
body:has(.admin-portal) .admin-portal .quick-stats article:nth-child(2){background:#04aa61}
body:has(.admin-portal) .admin-portal .quick-stats article:nth-child(3){background:#e84b3b}
body:has(.admin-portal) .admin-portal .quick-stats article:nth-child(4){background:#f5a20b}
body:has(.admin-portal) .admin-portal .quick-stats article:after{
  content:"Devamı  ❯";position:absolute;left:0;right:0;bottom:0;height:30px;display:grid;place-items:center;
  background:rgba(0,0,0,.09);color:#fff;font-size:11px
}
body:has(.admin-portal) .admin-portal .quick-stats article>span{
  position:absolute;right:20px;top:18px;width:auto;height:auto;background:transparent!important;color:rgba(0,0,0,.16)!important;font-size:52px
}
body:has(.admin-portal) .admin-portal .quick-stats small,
body:has(.admin-portal) .admin-portal .quick-stats b{color:#fff}
body:has(.admin-portal) .admin-portal .quick-stats small{font-size:13px}
body:has(.admin-portal) .admin-portal .quick-stats b{font-size:30px}
body:has(.admin-portal) .admin-portal .panel,
body:has(.admin-portal) .admin-portal .profile-top,
body:has(.admin-portal) .admin-portal .member-company-card{border:1px solid #dce3eb;border-radius:3px;box-shadow:0 4px 13px rgba(30,56,70,.06)}
body:has(.admin-portal) .admin-portal .btn.primary,
body:has(.admin-portal) .admin-portal .primary{background:#08a75f;box-shadow:0 4px 12px rgba(8,167,95,.22)}
body:has(.admin-portal) .admin-portal .table-wrap{border-radius:2px}
body:has(.admin-portal) .admin-portal th{background:#f0f4f7;color:#536a72}
@media(max-width:760px){
  body:has(.admin-portal) .admin-portal .side{width:min(280px,86vw)}
  body:has(.admin-portal) .admin-portal .portal-main{margin-left:0}
  body:has(.admin-portal) .admin-portal .portal-main>header{height:66px;padding:0 16px}
  body:has(.admin-portal) .admin-portal .quick-stats{gap:12px}
}
