:root{
  --primary:#14506B; --primary2:#0F3E53; --accent:#C86F22; --stone:#F7F5F0;
  --white:#fff; --dark:#16202A; --gray:#6B6B6B; --line:#D9E0E3;
  --green:#2E8B57; --yellow:#C89B22; --red:#B03030;
  --softblue:#EAF3F6; --softgreen:#EAF5EE; --softyellow:#FFF6D8; --softred:#F9EAEA;
  --shadow:0 12px 28px rgba(18,35,46,.12);
}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:var(--stone);color:var(--dark)}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
.hidden{display:none!important}
.app{min-height:100vh;display:flex;flex-direction:column}
.topbar{
  height:68px;background:var(--primary);color:#fff;display:flex;align-items:center;
  justify-content:space-between;padding:0 24px;position:sticky;top:0;z-index:20;
  box-shadow:0 2px 10px rgba(0,0,0,.1)
}
.brand{display:flex;align-items:center;gap:12px}
.brandmark{width:38px;height:38px;border:2px solid var(--accent);border-radius:12px;display:grid;place-items:center;font-weight:800}
.brand strong{letter-spacing:.11em;font-size:14px}
.brand small{display:block;color:#B9D4D8;font-style:italic;margin-top:2px}
.top-actions{display:flex;gap:10px;align-items:center}
.pill,.ghost,.primary,.secondary,.danger{
  border:none;border-radius:999px;padding:10px 16px;font-weight:700
}
.pill{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.28)}
.primary{background:var(--accent);color:#fff}
.secondary{background:#fff;color:var(--primary);border:1.5px solid var(--primary)}
.ghost{background:transparent;color:var(--primary);border:1px solid var(--line)}
.danger{background:#fff;color:var(--red);border:1px solid #e8bcbc}
.shell{display:grid;grid-template-columns:250px 1fr;min-height:calc(100vh - 68px)}
.sidebar{background:#fff;border-right:1px solid var(--line);padding:22px 16px;position:sticky;top:68px;height:calc(100vh - 68px);overflow:auto}
.nav-title{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:var(--gray);margin:4px 10px 12px}
.nav a{display:flex;gap:10px;align-items:center;padding:11px 12px;border-radius:10px;color:var(--dark);text-decoration:none;margin-bottom:4px}
.nav a.active{background:var(--softblue);color:var(--primary);font-weight:800}
.nav .num{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#e8eef1;color:var(--primary);font-size:12px;font-weight:800}
.nav a.active .num{background:var(--primary);color:#fff}
.sidebar-note{margin-top:20px;background:var(--stone);border:1px solid var(--line);border-radius:12px;padding:12px;font-size:12px;line-height:1.45;color:var(--gray)}
.main{padding:28px;max-width:1320px;width:100%;margin:0 auto}
.card{background:#fff;border:1px solid #e7ecef;border-radius:16px;box-shadow:var(--shadow);padding:24px;margin-bottom:20px}
.card h1,.card h2,.card h3{margin-top:0}
.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.13em;color:var(--accent);font-weight:800}
.lead{font-size:15px;color:var(--gray);line-height:1.55}
.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.field{margin-bottom:15px}
label{display:block;font-size:13px;font-weight:800;margin-bottom:7px}
.req{color:var(--accent)}
input,select,textarea{
  width:100%;padding:12px 13px;border:1px solid #cfd9de;border-radius:10px;background:#fff;color:var(--dark)
}
input:focus,select:focus,textarea:focus{outline:3px solid rgba(20,80,107,.12);border-color:var(--primary)}
.help{font-size:11.5px;color:var(--gray);margin-top:6px;line-height:1.4}
.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.choice{
  border:1.5px solid var(--line);border-radius:14px;padding:16px;background:#fff;cursor:pointer;transition:.15s;
}
.choice:hover{transform:translateY(-1px);border-color:#a9c1cc}
.choice.selected{border-color:var(--accent);box-shadow:0 0 0 3px rgba(200,111,34,.12);background:#fffaf6}
.choice strong{display:block;color:var(--primary);margin-bottom:5px}
.progress{height:9px;background:#e9eff2;border-radius:999px;overflow:hidden}
.progress > span{display:block;height:100%;background:var(--accent);width:0;transition:width .35s}
.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.kpi{padding:18px;border-radius:14px;border:1px solid var(--line);background:#fff}
.kpi b{font-size:26px;color:var(--primary)}
.kpi small{display:block;color:var(--gray);margin-top:6px}
.status{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:999px;font-size:12px;font-weight:800}
.status.ok{background:var(--softgreen);color:var(--green)}
.status.warn{background:var(--softyellow);color:#8a6c11}
.status.bad{background:var(--softred);color:var(--red)}
.table{width:100%;border-collapse:collapse}
.table th,.table td{padding:12px 10px;border-bottom:1px solid var(--line);text-align:left;font-size:13px}
.table th{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--gray)}
.map{
  min-height:270px;border-radius:14px;background:
  radial-gradient(circle at 65% 38%,rgba(200,111,34,.28) 0 7px,transparent 8px),
  radial-gradient(circle at 42% 62%,rgba(46,139,87,.35) 0 8px,transparent 9px),
  linear-gradient(135deg,#dbe5e8 25%,#eef2f3 25% 50%,#dde7e9 50% 75%,#eef2f3 75%);
  border:1px solid #ccd8dd;position:relative;overflow:hidden
}
.map:before,.map:after{content:"";position:absolute;background:rgba(255,255,255,.55)}
.map:before{height:26px;width:120%;left:-10%;top:45%;transform:rotate(-12deg)}
.map:after{width:28px;height:120%;left:56%;top:-10%;transform:rotate(8deg)}
.map-label{position:absolute;z-index:3;background:#fff;padding:8px 10px;border-radius:9px;box-shadow:0 4px 12px rgba(0,0,0,.15);font-size:12px;font-weight:800}
.pin{position:absolute;z-index:4;width:22px;height:22px;border-radius:50%;border:4px solid #fff;box-shadow:0 2px 7px rgba(0,0,0,.25)}
.pin.green{background:var(--green)} .pin.yellow{background:var(--yellow)} .pin.red{background:var(--red)}
.upload{border:2px dashed #bfcdd3;border-radius:14px;padding:24px;text-align:center;background:#fbfcfc;cursor:pointer}
.upload:hover{border-color:var(--primary);background:var(--softblue)}
.file-chip{display:inline-flex;gap:8px;align-items:center;background:var(--stone);border:1px solid var(--line);padding:7px 10px;border-radius:999px;margin:5px 5px 0 0;font-size:12px}
.timeline{display:grid;gap:12px}
.timeline-step{display:flex;gap:12px;align-items:flex-start}
.timeline-step .dot{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#dfe9ed;color:var(--primary);font-size:12px;font-weight:800;flex:0 0 auto}
.timeline-step.done .dot{background:var(--green);color:#fff}
.timeline-step.active .dot{background:var(--accent);color:#fff}
.callout{border-left:4px solid var(--accent);padding:12px 14px;background:#fff8f2;border-radius:0 10px 10px 0;font-size:13px;line-height:1.5}
.score{width:110px;height:110px;border-radius:50%;background:var(--accent);display:grid;place-items:center;color:#fff;font-size:29px;font-weight:900;margin:auto}
.heat{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.heat > div{border-radius:12px;padding:15px;color:#fff;font-weight:800;text-align:center}
.bg-green{background:var(--green)}.bg-yellow{background:var(--yellow)}.bg-red{background:var(--red)}
.badge{padding:4px 8px;border-radius:999px;background:var(--softblue);color:var(--primary);font-size:11px;font-weight:800}
.report{
  background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden
}
.report-head{background:var(--primary);color:#fff;padding:24px}
.report-body{padding:24px}
.report-section{border-top:1px solid var(--line);padding:18px 0}
.report-section:first-child{border-top:none}
.device-wrap{transition:.2s}
.device-wrap.mobile{max-width:430px;margin:18px auto;border:10px solid #1c2c35;border-radius:28px;overflow:hidden;box-shadow:0 20px 50px rgba(0,0,0,.2);min-height:760px;background:var(--stone)}
.device-wrap.mobile .shell{grid-template-columns:1fr}
.device-wrap.mobile .sidebar{display:none}
.device-wrap.mobile .topbar{position:relative;top:auto;height:62px;padding:0 14px}
.device-wrap.mobile .main{padding:16px}
.device-wrap.mobile .grid2,.device-wrap.mobile .grid3,.device-wrap.mobile .grid4,.device-wrap.mobile .kpis{grid-template-columns:1fr}
.device-wrap.mobile .choice-grid{grid-template-columns:1fr}
.device-wrap.mobile .top-actions .pill:nth-child(2){display:none}
.device-wrap.mobile .brand small{display:none}
.auth-wrap{min-height:calc(100vh - 68px);display:grid;place-items:center;padding:28px}
.auth-card{max-width:840px;width:100%}
.auth-side{background:var(--primary);color:#fff;border-radius:16px;padding:26px;min-height:100%}
.auth-side h2{font-size:28px}
.muted{color:var(--gray)}
.small{font-size:12px}
hr{border:0;border-top:1px solid var(--line);margin:20px 0}
.toast{position:fixed;right:18px;bottom:18px;background:var(--dark);color:#fff;padding:12px 16px;border-radius:10px;box-shadow:var(--shadow);z-index:100;display:none;max-width:320px}
.modal{position:fixed;inset:0;background:rgba(8,20,28,.55);display:none;align-items:center;justify-content:center;z-index:80;padding:20px}
.modal.open{display:flex}
.modal-inner{max-width:900px;max-height:90vh;overflow:auto;background:#fff;border-radius:18px;width:100%;box-shadow:var(--shadow)}
.modal-bar{position:sticky;top:0;background:#fff;border-bottom:1px solid var(--line);padding:12px 16px;display:flex;justify-content:space-between;z-index:3}
.checkbox-row{display:flex;align-items:flex-start;gap:9px;font-size:13px;margin:8px 0}
.checkbox-row input{width:auto;margin-top:2px}
.segment{display:inline-flex;border:1px solid rgba(255,255,255,.3);border-radius:999px;overflow:hidden}
.segment button{border:0;padding:8px 11px;background:transparent;color:#fff;font-size:12px}
.segment button.active{background:#fff;color:var(--primary);font-weight:800}
.project-row{cursor:pointer}
.project-row:hover td{background:#fbfcfd}
.avatar{width:32px;height:32px;border-radius:50%;background:#e1edf2;color:var(--primary);display:grid;place-items:center;font-weight:800}
@media(max-width:900px){
  .shell{grid-template-columns:1fr}.sidebar{display:none}.main{padding:18px}
  .grid2,.grid3,.grid4,.kpis{grid-template-columns:1fr}
  .choice-grid{grid-template-columns:1fr}
}
@media print{
  body{background:#fff}.topbar,.sidebar,.actions,.modal-bar{display:none!important}
  .shell{display:block}.main{padding:0}.card{box-shadow:none;border:none}
}

/* ============================================================
   SMART CITY SERVICE WEBSITE DESIGN SYSTEM – v2
   Branding adaptation: Petrol · Weiß · Schwarz
   ============================================================ */
:root{
  --primary:#055B68;
  --primary2:#0A7482;
  --accent:#055B68;
  --accent2:#0A7482;
  --stone:#F7F8F8;
  --white:#FFFFFF;
  --dark:#000000;
  --gray:#4D565A;
  --line:#D8E1E4;
  --green:#5A9A45;
  --yellow:#D9B52C;
  --red:#CA2D20;
  --softblue:#EDF5F7;
  --softgreen:#F0F7ED;
  --softyellow:#FFF9E6;
  --softred:#FFF1EE;
  --shadow:0 8px 24px rgba(5,91,104,.08);
}

body{
  background:#FFFFFF;
  color:var(--dark);
  letter-spacing:-.006em;
}
.topbar{
  height:76px;
  background:rgba(255,255,255,.97);
  color:var(--primary);
  border-bottom:1px solid #E2E8EA;
  box-shadow:0 2px 14px rgba(5,91,104,.055);
  backdrop-filter:blur(14px);
  padding:0 30px;
}
.brand{gap:15px}
.brandmark{
  width:49px;height:49px;border:none;border-radius:0;
  background:transparent;color:var(--primary);
  font-family:Georgia,"Times New Roman",serif;
  font-size:24px;letter-spacing:-.08em;font-weight:500;
  position:relative;
}
.brandmark:after{
  content:""; position:absolute; width:25px; height:1px;
  background:var(--accent); bottom:8px; left:12px; transform:rotate(-18deg);
  transform-origin:center;
}
.brand strong{
  color:var(--primary);font-family:Georgia,"Times New Roman",serif;
  font-weight:500;letter-spacing:.22em;font-size:13px;
}
.brand small{
  color:#5F6669;font-family:Georgia,"Times New Roman",serif;
  font-size:10px;letter-spacing:.04em;font-style:italic;margin-top:3px;
}
.top-actions .pill{
  color:var(--primary);background:#fff;border:1px solid #B9CCD3;
  box-shadow:none;
}
.segment{border:1px solid #B9CCD3;background:#F8FAFA}
.segment button{color:var(--primary)}
.segment button.active{background:var(--primary);color:#fff}
.sidebar{
  background:#fff;
  border-right:1px solid #E3E9EB;
  padding:28px 18px;
}
.nav-title{
  color:#829097;font-size:10px;letter-spacing:.18em;
  margin:4px 11px 16px;
}
.nav a{
  padding:12px 13px;border-radius:9px;color:#26393C;
  transition:background .16s,color .16s,transform .16s;
}
.nav a:hover{background:#F5F8F9;transform:translateX(2px)}
.nav a.active{
  background:#F4F9FA;color:var(--primary);font-weight:800;
  box-shadow:inset 3px 0 0 var(--accent);
}
.nav .num{
  background:#F0F4F5;color:var(--primary);border-radius:7px;
}
.nav a.active .num{background:var(--primary);color:#fff}
.sidebar-note{
  background:#F9F8F4;border:1px solid #E5E2DA;border-radius:10px;
  color:#69767B;
}
.main{padding:36px 42px;max-width:1360px}
.card{
  border:1px solid #E3E9EB;border-radius:12px;
  box-shadow:0 7px 22px rgba(5,91,104,.055);
  padding:28px;background:#fff;
}
.card h1{
  font-size:32px;line-height:1.08;color:var(--primary);
  letter-spacing:-.035em;margin-bottom:11px;
}
.card h2{color:var(--primary);font-size:22px;letter-spacing:-.025em}
.card h3{color:var(--primary)}
.eyebrow{
  color:var(--accent);font-size:10px;letter-spacing:.18em;
  font-weight:800;margin-bottom:8px;
}
.lead{color:#65767E;font-size:15px;max-width:780px}
.primary{
  background:linear-gradient(100deg,var(--accent),var(--accent2));
  border-radius:10px;padding:13px 21px;box-shadow:0 7px 16px rgba(5,91,104,.18);
  transition:transform .15s,box-shadow .15s,filter .15s;
}
.primary:hover{transform:translateY(-1px);box-shadow:0 9px 20px rgba(5,91,104,.24);filter:saturate(1.05)}
.secondary{
  color:var(--primary);background:#fff;border:1.4px solid #9EB8C3;
  border-radius:10px;padding:12px 20px;
}
.secondary:hover,.ghost:hover{background:#F4F8F9}
.ghost{border-radius:10px}
.danger{border-radius:10px}
.choice{
  border:1px solid #D7E1E4;border-radius:11px;padding:18px;
  box-shadow:0 2px 8px rgba(5,91,104,.025);
}
.choice strong{font-size:15px}
.choice.selected{
  border-color:var(--accent);background:#F7FAFA;
  box-shadow:0 0 0 2px rgba(5,91,104,.10);
}
input,select,textarea{
  border-color:#C9D7DC;border-radius:8px;padding:13px 14px;
  background:#fff;
}
input:focus,select:focus,textarea:focus{
  outline:3px solid rgba(5,91,104,.085);border-color:#4A8196;
}
label{color:#151A1B;font-size:12.5px}
.help,.small{color:#75838A}
.progress{height:5px;background:#EDF1F2}
.progress > span{background:linear-gradient(90deg,var(--accent),#4E9AA4)}
.kpi{
  border-radius:10px;border:1px solid #DDE6E9;box-shadow:none;
  padding:19px;background:#fff;
}
.kpi b{color:var(--primary);font-size:29px;letter-spacing:-.04em}
.kpi small{color:#6D7B82}
.table th{
  color:var(--primary);font-size:10px;letter-spacing:.11em;
  background:#F7F9F9;
}
.table td{color:#2C3B3E}
.table tr:last-child td{border-bottom:none}
.status{border-radius:6px;padding:6px 9px}
.badge{border-radius:5px}
.callout{
  background:#F2F7F8;border-left:3px solid var(--accent);
  border-radius:0 8px 8px 0;color:#4D5960;
}
.upload{
  background:#FCFDFC;border:1.5px dashed #A9C0C9;border-radius:10px;
  padding:30px;color:var(--primary);
}
.upload:hover{background:#F4F9FA;border-color:var(--accent)}
.file-chip{border-radius:6px;background:#F7F8F6}
.map{
  border-radius:10px;border:1px solid #BFCFD4;
  background:
    radial-gradient(circle at 43% 55%,rgba(226,73,23,.58) 0 5%,rgba(232,117,21,.46) 6% 13%,rgba(240,175,77,.30) 14% 22%,transparent 34%),
    radial-gradient(circle at 68% 36%,rgba(223,118,25,.26) 0 7%,transparent 24%),
    linear-gradient(25deg,#A7B6AE 0 12%,#C8D0C8 12% 18%,#8DA39A 18% 31%,#C6CFC8 31% 39%,#A4B1AA 39% 54%,#CBD1CC 54% 63%,#91A49D 63% 78%,#C8D0CA 78%);
}
.map:before{
  height:23px;background:rgba(238,236,223,.66);box-shadow:0 0 0 1px rgba(111,131,130,.08)
}
.map:after{width:22px;background:rgba(226,230,218,.62)}
.map-label{
  color:var(--primary);border-radius:7px;border:1px solid rgba(5,91,104,.12);
  box-shadow:0 4px 12px rgba(5,91,104,.12)
}
.pin{border-width:3px}
.score{
  background:linear-gradient(145deg,#044D58,#0A7482);
  box-shadow:0 10px 25px rgba(218,120,20,.22)
}
.heat > div{border-radius:8px}
.timeline-step .dot{border-radius:7px}
.auth-wrap{background:#FFFFFF}
.auth-card{
  max-width:930px;padding:0;overflow:hidden;border-radius:14px;
}
.auth-card > .grid2{gap:0}
.auth-card > .grid2 > div:first-child{padding:36px}
.auth-side{
  border-radius:0;background:
    linear-gradient(rgba(5,91,104,.95),rgba(5,91,104,.95)),
    linear-gradient(135deg,#0E617B,#055B68);
  padding:40px;color:#fff;
}
.auth-side h2{
  color:#fff;font-size:34px;letter-spacing:-.045em;
}
.auth-side .small{color:#D2E0E5}
.auth-side .timeline-step .dot{background:rgba(255,255,255,.12);color:#fff}
.auth-side .timeline-step.done .dot{background:var(--accent)}
.auth-side .pill{
  border:1px solid rgba(255,255,255,.45);background:transparent;color:#fff;
}
.report{border-radius:8px}
.report-head{
  background:#fff;color:var(--primary);border-bottom:3px solid var(--primary);
  padding:30px 30px 22px;
}
.report-head h1{color:var(--primary)}
.report-body{padding:30px}
.report-section h2{font-size:18px;color:var(--primary)}
.modal-inner{border-radius:12px}
.modal-bar{border-bottom:1px solid #DDE5E8;color:var(--primary)}
.device-wrap.mobile{
  border-color:#1D272C;background:#fff;border-radius:38px;max-width:428px;
}
.device-wrap.mobile .topbar{
  justify-content:center;height:70px;border-bottom:1px solid #DDE5E8;
}
.device-wrap.mobile .top-actions{position:absolute;right:13px}
.device-wrap.mobile .brand strong{font-size:11px}
.device-wrap.mobile .brand small{display:none}
.device-wrap.mobile .brandmark{width:38px;height:38px;font-size:19px}
.device-wrap.mobile .card{
  border:none;box-shadow:none;border-radius:0;padding:22px 18px;margin-bottom:8px;
}
.device-wrap.mobile .main{background:#fff;padding:0}
.device-wrap.mobile .card h1{font-size:27px}
.device-wrap.mobile .primary{width:100%;font-size:15px;padding:15px 18px}
.device-wrap.mobile .secondary{width:100%}
.device-wrap.mobile .actions{display:grid;grid-template-columns:1fr}
.device-wrap.mobile .map{min-height:300px}
.device-wrap.mobile .kpi{background:#FAFBFB}
@media(max-width:900px){
  .topbar{padding:0 16px}
  .main{padding:22px 16px}
  .card{padding:22px}
  .card h1{font-size:28px}
}


/* ===== Legal / approval report extension v3 ===== */
.legal-hero{background:linear-gradient(135deg,#055B68 0%,#0A7482 100%);color:#fff;border-radius:12px;padding:24px;margin-bottom:18px}.legal-hero h2,.legal-hero h3{color:#fff;margin-bottom:7px}.legal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.legal-card{border:1px solid #DDE6E9;border-radius:10px;padding:16px;background:#fff}.legal-card h4{margin:0 0 7px;color:#055B68}.legal-card p{font-size:12.5px;line-height:1.5;color:#5D6F77;margin:0}.criterion{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:11px;align-items:start;padding:13px 0;border-bottom:1px solid #E7ECEE}.criterion:last-child{border-bottom:none}.criterion-icon{width:28px;height:28px;border-radius:7px;display:grid;place-items:center;background:#EDF5F7;color:#055B68;font-weight:900}.criterion strong{color:#151A1B}.criterion small{display:block;color:#6D7C83;line-height:1.45;margin-top:3px}.legal-result{border-radius:10px;padding:17px 18px;border:1px solid #DCE4E7}.legal-result.free{background:#F0F7ED;border-color:#C9DFC2}.legal-result.review{background:#FFF9E6;border-color:#E8D895}.legal-result.permit{background:#FFF1EE;border-color:#E6B7AE}.legal-result h3{margin:0 0 7px}.rule-table{width:100%;border-collapse:collapse}.rule-table th,.rule-table td{padding:10px;border-bottom:1px solid #E3E9EB;text-align:left;font-size:12.5px;vertical-align:top}.rule-table th{background:#F7F9F9;color:#055B68;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.source-pill{display:inline-block;padding:4px 7px;border-radius:5px;background:#EDF5F7;color:#055B68;font-weight:800;font-size:10px}.report-checklist{display:grid;gap:8px}.report-check{display:grid;grid-template-columns:22px 1fr auto;gap:9px;align-items:start;border:1px solid #E1E7E9;border-radius:8px;padding:11px;background:#fff}.report-check .tick{font-weight:900;color:#5A9A45}.report-check.warn .tick{color:#D9B52C}.report-check.bad .tick{color:#CA2D20}.report-legal-section{border-left:3px solid #055B68;padding-left:15px;margin:18px 0}.report-legal-section h3{color:#055B68;margin-bottom:8px}@media(max-width:900px){.legal-grid{grid-template-columns:1fr}}


/* ===== Enhanced premium report v4 ===== */
.premium-report{background:#F6F7F4}
.report-book{padding:24px!important;background:#F6F7F4}
.report-page{background:#fff;border:1px solid #DEE6E8;border-radius:10px;box-shadow:0 8px 24px rgba(7,62,86,.06);margin:0 auto 24px;max-width:900px;min-height:920px;padding:42px 44px 36px;position:relative;overflow:hidden}
.report-page:last-child{margin-bottom:0}
.report-page:after{content:attr(data-page);position:absolute;right:34px;bottom:18px;color:#8A969B;font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.report-cover{background:linear-gradient(135deg,#044D58 0%,#0A7482 60%,#F5F7F6 60%,#FFFFFF 100%)}
.report-cover .cover-inner{display:grid;grid-template-columns:1.2fr .8fr;gap:28px;align-items:start}.report-cover .cover-left{color:#fff}.report-cover .cover-title{font-size:38px;line-height:1.03;letter-spacing:-.05em;color:#fff;margin:12px 0 16px}.report-cover .cover-sub{font-size:15px;line-height:1.6;max-width:470px;color:#D4E3E8}.report-cover .cover-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:22px}.report-cover .meta-card{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);border-radius:10px;padding:14px}.report-cover .meta-card b{display:block;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#B9D4D8;margin-bottom:6px}.report-cover .meta-card span{font-size:15px;color:#fff}.report-cover .cover-right{display:grid;gap:14px}.report-cover .cover-panel{background:#fff;border:1px solid #DDE5E8;border-radius:10px;padding:18px 18px 16px}.report-cover .cover-panel h3{margin:0 0 10px;color:#055B68;font-size:18px}.report-cover .cover-panel p{margin:0;color:#4A5558;line-height:1.55;font-size:13px}
.report-kpi-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}.report-mini-kpi{border:1px solid #DCE5E8;border-radius:10px;padding:14px;background:#FAFBFB}.report-mini-kpi b{display:block;font-size:22px;color:#055B68;letter-spacing:-.04em}.report-mini-kpi span{display:block;font-size:12px;color:#6D7A7F;margin-top:6px}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}.section-head h2{font-size:28px;color:#055B68;letter-spacing:-.04em;margin:0}.section-head p{margin:0;color:#66767D;max-width:520px;line-height:1.55;font-size:14px}
.hero-status{display:grid;grid-template-columns:1.1fr .9fr;gap:18px;align-items:start}.big-status{border:1px solid #DDE5E8;border-radius:12px;padding:22px;background:#FAFBFB}.big-status .status-line{display:flex;gap:12px;align-items:center;margin-bottom:10px;flex-wrap:wrap}.big-status .status-pill{padding:8px 12px;border-radius:999px;font-size:12px;font-weight:800}.status-pill.free{background:#F0F7ED;color:#5A9A45}.status-pill.review{background:#FFF9E6;color:#8A6C11}.status-pill.permit{background:#FFF1EE;color:#B13A2D}.big-status h3{font-size:24px;line-height:1.15;margin:0 0 10px;color:#055B68}.big-status p{font-size:14px;line-height:1.6;color:#4A5558;margin:0}
.score-stack{display:grid;gap:12px}.readiness-box,.source-box{border:1px solid #DDE5E8;border-radius:12px;background:#fff;padding:16px}.readiness-top{display:flex;align-items:center;gap:16px}.readiness-ring{--p:87;width:92px;height:92px;border-radius:50%;background:conic-gradient(var(--accent) calc(var(--p)*1%), #E9EFF1 0);display:grid;place-items:center;flex:0 0 auto}.readiness-ring span{width:68px;height:68px;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:22px;font-weight:900;color:#055B68}.readiness-box h4,.source-box h4{margin:0 0 8px;color:#055B68}.readiness-box p,.source-box p{margin:0;color:#607078;font-size:13px;line-height:1.5}
.decision-matrix{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}.matrix-card{border:1px solid #DDE5E8;border-radius:10px;padding:16px;background:#fff;position:relative;overflow:hidden}.matrix-card.ok{background:#F7FBF5}.matrix-card.warn{background:#FFFDF5}.matrix-card.bad{background:#FFF7F5}.matrix-card .matrix-tag{display:inline-block;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;margin-bottom:8px}.matrix-card.ok .matrix-tag{background:#E5F2DF;color:#4F8B3E}.matrix-card.warn .matrix-tag{background:#FFF2C7;color:#967400}.matrix-card.bad .matrix-tag{background:#F7D9D2;color:#B13A2D}.matrix-card h4{margin:0 0 6px;color:#055B68}.matrix-card p{margin:0;color:#607078;font-size:13px;line-height:1.55}.matrix-outcome{margin-top:14px;border:1px dashed #C7D4D9;border-radius:10px;padding:16px;background:#FAFBFB}
.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.info-panel{border:1px solid #DDE5E8;border-radius:10px;background:#fff;padding:18px}.info-panel h3{margin:0 0 12px;color:#055B68;font-size:20px}.info-panel p{margin:0;color:#5F7077;font-size:13px;line-height:1.55}
.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}.metric{border:1px solid #DDE5E8;border-radius:10px;background:#FAFBFB;padding:14px}.metric b{display:block;color:#055B68;font-size:20px;letter-spacing:-.03em}.metric span{display:block;color:#718087;font-size:12px;margin-top:6px}
.report-note{margin-top:14px;padding:14px 16px;border-left:3px solid var(--accent);background:#F2F7F8;border-radius:0 8px 8px 0;color:#506068;font-size:13px;line-height:1.55}
.checklist{display:grid;gap:10px;margin-top:14px}.check-item{display:grid;grid-template-columns:24px 1fr auto;gap:10px;align-items:start;border:1px solid #E1E8EA;border-radius:10px;padding:12px;background:#fff}.check-item .i{font-weight:900;color:#5A9A45}.check-item.warn .i{color:#D3A61F}.check-item.bad .i{color:#C53C31}.check-item b{color:#055B68}.check-item div{font-size:13px;color:#627279;line-height:1.5}.check-item small{display:block;color:#6F7E85;margin-top:3px}
.doc-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.doc-card{border:1px solid #DDE5E8;border-radius:10px;padding:15px;background:#fff}.doc-card.ok{background:#F7FBF5}.doc-card.warn{background:#FFFDF5}.doc-card h4{margin:0 0 6px;color:#055B68}.doc-card p{margin:0;color:#627279;font-size:12.5px;line-height:1.5}
.report-map{min-height:260px;border-radius:10px;border:1px solid #BFCFD4;position:relative;overflow:hidden;background:radial-gradient(circle at 43% 55%,rgba(226,73,23,.58) 0 5%,rgba(232,117,21,.46) 6% 13%,rgba(240,175,77,.30) 14% 22%,transparent 34%),radial-gradient(circle at 68% 36%,rgba(223,118,25,.26) 0 7%,transparent 24%),linear-gradient(25deg,#A7B6AE 0 12%,#C8D0C8 12% 18%,#8DA39A 18% 31%,#C6CFC8 31% 39%,#A4B1AA 39% 54%,#CBD1CC 54% 63%,#91A49D 63% 78%,#C8D0CA 78%)}.report-map:before{content:"";position:absolute;left:-8%;top:47%;width:118%;height:24px;background:rgba(238,236,223,.66);transform:rotate(-12deg)}.report-map:after{content:"";position:absolute;left:58%;top:-6%;width:22px;height:118%;background:rgba(226,230,218,.62);transform:rotate(8deg)}.report-map .label{position:absolute;left:14px;top:14px;background:#fff;border:1px solid rgba(5,91,104,.12);padding:8px 10px;border-radius:7px;color:#055B68;font-weight:800;font-size:12px;z-index:2}.report-map .p{position:absolute;z-index:3;width:22px;height:22px;border:3px solid #fff;border-radius:50%;box-shadow:0 3px 9px rgba(0,0,0,.18)}.report-map .p.green{background:#5A9A45}.report-map .p.yellow{background:#D9B52C}.report-map .p.red{background:#CA2D20}
.report-tbl{width:100%;border-collapse:collapse;margin-top:14px}.report-tbl th,.report-tbl td{padding:10px;border-bottom:1px solid #E3E9EB;text-align:left;vertical-align:top;font-size:12.5px}.report-tbl th{background:#F7F9F9;color:#055B68;font-size:10px;text-transform:uppercase;letter-spacing:.08em}
.report-split{display:grid;grid-template-columns:1fr 1fr;gap:18px}.next-steps{display:grid;gap:12px;margin-top:16px}.step-line{display:grid;grid-template-columns:30px 1fr;gap:12px;align-items:start}.step-line .n{width:30px;height:30px;border-radius:8px;background:#055B68;color:#fff;display:grid;place-items:center;font-weight:800}.step-line b{display:block;color:#055B68;margin-bottom:4px}.step-line span{display:block;color:#4D565A;font-size:13px;line-height:1.5}
.footnote-strip{margin-top:18px;padding-top:12px;border-top:1px solid #E3E9EB;color:#7A878D;font-size:11.5px;line-height:1.55}
@media print{.report-book{padding:0!important;background:#fff!important}.report-page{box-shadow:none;border:none;border-radius:0;max-width:none;min-height:auto;margin:0;padding:22mm 16mm 18mm;page-break-after:always;break-after:page}.report-page:last-child{page-break-after:auto;break-after:auto}.report-cover{background:linear-gradient(135deg,#044D58 0%,#0A7482 56%,#FFFFFF 56%,#FFFFFF 100%)!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}}
@media(max-width:900px){.report-page{padding:26px 22px}.report-cover .cover-inner,.hero-status,.detail-grid,.report-split,.doc-list,.decision-matrix,.metric-grid,.report-kpi-row{grid-template-columns:1fr}}


/* ===== SMART CITY SERVICE CI v4.5 ===== */
:root{
  --scs-petrol:#055B68;
  --scs-petrol-light:#0A7482;
  --scs-black:#000000;
  --scs-white:#FFFFFF;
  --primary:var(--scs-petrol);
  --primary2:#044D58;
  --accent:var(--scs-petrol);
  --accent2:var(--scs-petrol-light);
  --stone:#F6F8F8;
  --dark:var(--scs-black);
  --gray:#4D565A;
  --softblue:#EDF5F6;
  --shadow:0 8px 24px rgba(5,91,104,.09);
}
body{background:#F7F8F8;color:#000}
.topbar{height:82px;background:#fff;color:#000;border-bottom:1px solid #DCE4E5;box-shadow:0 2px 14px rgba(5,91,104,.06)}
.brand{min-width:210px;align-items:center}
.scs-logo{display:block;width:205px;height:66px;object-fit:contain;object-position:center;background:#fff}
.top-actions .pill{color:#000;border-color:#B7C9CC;background:#fff}
.top-actions .pill:hover{border-color:var(--scs-petrol);color:var(--scs-petrol)}
.card h1,.card h2,.card h3,.section-head h2,.info-panel h3,.metric b,.report-mini-kpi b,.big-status h3,.readiness-box h4,.source-box h4,.matrix-card h4,.doc-card h4,.step-line b{color:#000}
.eyebrow,.req{color:var(--scs-petrol)}
.primary{background:linear-gradient(100deg,#055B68,#0A7482);color:#fff;box-shadow:0 7px 16px rgba(5,91,104,.18)}
.primary:hover{box-shadow:0 9px 20px rgba(5,91,104,.24)}
.secondary{background:#fff;color:#000;border-color:#055B68}
.nav a.active{background:#EEF5F6;color:#000;box-shadow:inset 3px 0 0 #055B68}
.nav a.active .num{background:#055B68;color:#fff}
.progress > span{background:linear-gradient(90deg,#055B68,#0A7482)}
.choice.selected{border-color:#055B68;background:#F4F9F9;box-shadow:0 0 0 2px rgba(5,91,104,.1)}
.callout,.report-note{background:#F2F7F8;border-left-color:#055B68}
.score{background:linear-gradient(145deg,#044D58,#0A7482);box-shadow:0 10px 25px rgba(5,91,104,.20)}
.auth-side{background:linear-gradient(rgba(5,91,104,.96),rgba(5,91,104,.96)),linear-gradient(135deg,#0A7482,#044D58)}
.auth-side .timeline-step.done .dot{background:#fff;color:#055B68}
.legal-hero{background:linear-gradient(135deg,#044D58 0%,#0A7482 100%)}
.report-cover{background:linear-gradient(135deg,#044D58 0%,#055B68 60%,#F4F7F7 60%,#FFFFFF 100%)}
.report-cover .meta-card b{color:#B9D4D8}
.report-cover .cover-logo-card{background:#fff;border:1px solid #DCE4E5;border-radius:10px;padding:14px 18px;text-align:center;margin-bottom:14px}
.report-cover .cover-logo-card img{width:100%;max-width:285px;height:auto;display:block;margin:0 auto}
.report-cover .cover-panel h3{color:#000}
.readiness-ring span{color:#000}
.report-tbl th,.rule-table th{color:#000;background:#F3F6F6}
.source-pill{background:#EDF5F6;color:#055B68}
.step-line .n{background:#055B68}
.modal-bar{color:#000}
@media(max-width:900px){.scs-logo{width:158px;height:52px}.topbar{height:70px}.brand{min-width:160px}}
@media print{.report-cover{background:linear-gradient(135deg,#044D58 0%,#055B68 56%,#FFFFFF 56%,#FFFFFF 100%)!important}}


/* ===== v4.5 contrast fix: Petrolflächen immer mit weißer Schrift ===== */
.primary,.primary *,.report-head,.report-head *,.auth-side,.auth-side *,.segment button.active,.nav a.active .num,.score,.score *,.timeline-step.active .dot,.timeline-step.done .dot{color:#fff!important}
[style*="background:#055B68"],[style*="background: #055B68"],[style*="background:#0A7482"],[style*="background: #0A7482"]{color:#fff!important}
[style*="background:#055B68"] *,[style*="background: #055B68"] *,[style*="background:#0A7482"] *,[style*="background: #0A7482"] *{color:#fff!important}


/* ===== v4.5 Apple / Safari compatibility ===== */
html{
  height:100%;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
  background:#F7F8F8;
}
body{
  min-height:100%;
  min-height:-webkit-fill-available;
  padding-left:env(safe-area-inset-left);
  padding-right:env(safe-area-inset-right);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
.app{min-height:100vh;min-height:var(--app-height,100vh)}
.shell{min-height:calc(var(--app-height,100vh) - 82px)}
.sidebar{
  height:calc(var(--app-height,100vh) - 82px);
  position:-webkit-sticky;
  position:sticky;
  -webkit-overflow-scrolling:touch;
}
.topbar{
  position:-webkit-sticky;
  position:sticky;
  padding-left:calc(30px + env(safe-area-inset-left));
  padding-right:calc(30px + env(safe-area-inset-right));
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
}
.modal{padding-bottom:calc(20px + env(safe-area-inset-bottom))}
.modal-inner{
  max-height:calc(var(--app-height,100vh) - 40px);
  -webkit-overflow-scrolling:touch;
}
.toast{bottom:calc(18px + env(safe-area-inset-bottom));right:calc(18px + env(safe-area-inset-right))}
button,.upload,.nav a,.choice,.project-row,label[for]{
  touch-action:manipulation;
  -webkit-tap-highlight-color:rgba(5,91,104,.12);
}
button,.pill,.primary,.secondary,.ghost,.danger{min-height:44px}
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),select,textarea{
  font-size:16px; /* iOS Safari: verhindert Auto-Zoom beim Fokus */
  max-width:100%;
}
select,input,textarea,button{border-radius:8px}
input[type="checkbox"],input[type="radio"]{accent-color:#055B68}
.upload-label{
  display:block;
  width:100%;
  min-height:96px;
  user-select:none;
  -webkit-user-select:none;
}
/* Nicht display:none: iOS Safari kann programmatisch versteckte File-Inputs blockieren. */
.file-input-apple{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
  opacity:.01!important;
}
.file-input-apple:focus + div,
.upload-label:focus-within{outline:2px solid #0A7482;outline-offset:3px}
.report-page{transform:none}.card,.modal-inner{transform:none!important;-webkit-transform:none!important}
@supports (-webkit-touch-callout:none){
  body{min-height:-webkit-fill-available}
  .topbar{padding-top:env(safe-area-inset-top)}
  .main{padding-bottom:calc(28px + env(safe-area-inset-bottom))}
}
@media(max-width:900px){
  .topbar{
    min-height:70px;
    height:auto;
    padding-left:calc(14px + env(safe-area-inset-left));
    padding-right:calc(14px + env(safe-area-inset-right));
  }
  .shell{min-height:calc(var(--app-height,100vh) - 70px)}
  .main{width:100%;min-width:0;overflow-x:hidden}
  .card{width:100%;min-width:0}
  .table-wrap,.rule-table,.report-tbl{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
}

/* ===== SMART CITY SERVICE v4.6 — Apple/iOS editable-field fix =====
   Ziel: Text- und Zahlenfelder muessen in iPhone/iPad/macOS Safari
   den Fokus und die Bildschirmtastatur zuverlaessig erhalten. */
.field,
.grid2 > div,
.grid3 > div,
.grid4 > div{
  position:relative;
}

/* Eingabefelder duerfen nie von dekorativen Layern blockiert werden. */
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
textarea,
select{
  position:relative!important;
  z-index:2!important;
  pointer-events:auto!important;
  touch-action:auto!important;
  -webkit-user-select:text!important;
  user-select:text!important;
  opacity:1!important;
  -webkit-text-fill-color:var(--dark)!important;
  caret-color:#055B68!important;
  background-color:#fff!important;
}

/* Native Text-/Zahleneingabe auf WebKit stabil halten. */
input[type="text"],
input:not([type]),
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[inputmode],
textarea{
  -webkit-appearance:none;
  appearance:none;
  cursor:text;
  min-height:46px;
}

/* Selects bewusst nativ lassen, damit iOS seinen stabilen Picker verwendet. */
select{
  -webkit-appearance:menulist;
  appearance:auto;
  cursor:pointer;
  min-height:46px;
}

/* Fokus muss auf Apple deutlich sichtbar bleiben. */
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
textarea:focus,
select:focus{
  position:relative!important;
  z-index:10!important;
  outline:3px solid rgba(5,91,104,.20)!important;
  outline-offset:1px;
  border-color:#055B68!important;
  box-shadow:0 0 0 1px #055B68!important;
}

/* Formulare nicht durch parent user-select/touch Regeln beeintraechtigen. */
.field,
.field *{
  -webkit-touch-callout:default;
}
.field label{
  pointer-events:auto;
}
.field input,
.field textarea,
.field select{
  -webkit-user-select:text!important;
  user-select:text!important;
}

/* iOS Tastatur: genug Scrollraum unter dem letzten Feld. */
@supports (-webkit-touch-callout:none){
  .main{
    padding-bottom:calc(140px + env(safe-area-inset-bottom))!important;
  }
  .auth-card{
    padding-bottom:calc(30px + env(safe-area-inset-bottom));
  }
}

/* Falls die Seite in einem schmalen Apple-Viewport laeuft, keine transformierten
   Vorschau-Layer um Formulare verwenden. */
@media(max-width:900px){
  .device-wrap,
  .device-wrap.mobile,
  .card,
  .auth-card,
  .modal-inner{
    transform:none!important;
    -webkit-transform:none!important;
  }
}


/* ===== v4.8 Two-report UX ===== */
.report-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:24px}.report-choice-card{border:1px solid #D8E1E4;border-radius:14px;padding:22px;background:#fff;box-shadow:0 7px 20px rgba(5,91,104,.06)}.report-choice-card h2{margin:7px 0 8px}.report-choice-card p{color:#5C686D;line-height:1.55}.report-choice-kicker{font-size:10px;letter-spacing:.16em;font-weight:900;color:#055B68}.report-choice-meta{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0}.report-choice-meta span{background:#F1F6F7;border:1px solid #DCE7E9;border-radius:999px;padding:7px 10px;font-size:11px;color:#3E4B50}.report-choice-meta b{color:#055B68}.acceptance-report{background:#F4F7F7}.acceptance-cover{background:linear-gradient(145deg,#044D58 0%,#055B68 68%,#fff 68%,#fff 100%);color:#fff}.acceptance-brand{display:flex;justify-content:space-between;align-items:center;gap:20px}.acceptance-brand img{width:190px;max-height:70px;object-fit:contain;background:#fff;border-radius:8px;padding:7px}.acceptance-brand span{font-size:11px;letter-spacing:.18em;font-weight:900}.acceptance-hero{max-width:610px;margin-top:110px}.acceptance-hero h1{font-size:46px;line-height:1.02;letter-spacing:-.045em;color:#fff;margin:12px 0 18px}.acceptance-hero p{font-size:16px;line-height:1.65;color:#D9E9EB}.acceptance-cover-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:45px;max-width:670px}.acceptance-cover-grid>div{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.18);border-radius:9px;padding:13px}.acceptance-cover-grid small{display:block;color:#BFD8DC;font-size:9px;letter-spacing:.14em;margin-bottom:5px}.acceptance-cover-grid b{color:#fff}.acceptance-note{margin-top:22px;border-left:3px solid #0A7482;background:#F1F7F8;padding:14px 16px;color:#4D5D62;font-size:12.5px;line-height:1.55}.acceptance-cover .acceptance-note{background:rgba(255,255,255,.92);color:#33474D;border-left-color:#fff;max-width:690px}.acceptance-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.acceptance-summary{border:1px solid #DCE6E8;border-radius:11px;padding:15px;background:#FAFCFC}.acceptance-summary span{display:block;font-size:9px;font-weight:900;letter-spacing:.13em;color:#6F7D82;text-transform:uppercase}.acceptance-summary b{display:block;font-size:17px;color:#055B68;margin:6px 0}.acceptance-summary small{color:#6D777B}.acceptance-explain{margin-top:20px;padding:18px;border-radius:12px;background:#055B68;color:#fff;line-height:1.6}.acceptance-flow{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:22px}.acceptance-flow>div{border-top:3px solid #055B68;padding-top:10px}.acceptance-flow b{display:block;color:#055B68;font-size:18px}.acceptance-flow span{font-size:11px;color:#526167}.benefit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.benefit-card{border:1px solid #DCE6E8;border-radius:12px;padding:18px;background:#fff}.benefit-card h3{margin:8px 0;color:#000}.benefit-card p{margin:0;color:#5B676B;line-height:1.55;font-size:13px}.benefit-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:9px;background:#EAF4F5;color:#055B68;font-size:20px;font-weight:900}.acceptance-callout{margin-top:20px;padding:17px 18px;border-radius:11px;background:#FFF9E7;border:1px solid #E7DDB8;color:#5B5140;line-height:1.55}.acceptance-implementation{display:grid;grid-template-columns:.8fr 1.2fr;gap:24px}.shaft-diagram{height:440px;position:relative;border:1px solid #CBD9DD;border-radius:12px;background:linear-gradient(90deg,#fff 0 70%,#EDF4F5 70%);overflow:hidden}.shaft-line{position:absolute;left:58%;top:55px;bottom:20px;width:9px;background:#055B68}.roof-unit{position:absolute;left:48%;top:20px;padding:8px 13px;background:#055B68;color:#fff;border-radius:6px;font-size:12px}.floor{position:absolute;left:8%;right:8%;height:1px;background:#A8B7BC;color:#4F5E63;font-weight:800;font-size:12px;padding-top:8px}.f3{top:135px}.f2{top:245px}.f1{top:355px}.shaft-label{position:absolute;left:61%;top:210px;writing-mode:vertical-rl;color:#055B68;font-weight:900;font-size:12px}.cost-banner{padding:22px;border-radius:12px;background:linear-gradient(110deg,#044D58,#0A7482);color:#fff;font-size:17px;line-height:1.55;margin-bottom:20px}.approval-panel{display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center;border:1px solid #D8E4E6;border-radius:13px;padding:22px;background:#FAFCFC}.approval-panel small{font-size:9px;letter-spacing:.14em;color:#6D7B80;font-weight:900}.approval-panel h3{font-size:25px;margin:7px 0;color:#000}.approval-badge{padding:14px 18px;border-radius:999px;background:#FFF3D1;color:#806517;font-weight:900;letter-spacing:.08em}.acceptance-footer{margin-top:65px;text-align:center;padding:35px 20px;border-top:1px solid #DCE5E8}.acceptance-footer b{display:block;letter-spacing:.23em;color:#055B68}.acceptance-footer span{display:block;font-family:Georgia,serif;font-style:italic;color:#0A7482;margin-top:5px}.acceptance-footer p{color:#6A787D}.report-print-target{display:block!important}
@media(max-width:900px){.report-choice-grid,.acceptance-summary-grid,.acceptance-flow,.benefit-grid,.acceptance-implementation,.acceptance-cover-grid{grid-template-columns:1fr}.acceptance-hero{margin-top:55px}.acceptance-hero h1{font-size:34px}.shaft-diagram{height:360px}}

/* ===== v4.8 Apple Native Form Mode =====
   Deliberately removes synthetic focus/touch handling. Safari gets plain native controls. */
html.is-apple-webkit input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
html.is-apple-webkit textarea,
html.is-apple-webkit select{
  position:static!important;z-index:auto!important;pointer-events:auto!important;
  -webkit-user-select:auto!important;user-select:auto!important;
  -webkit-text-fill-color:#000!important;color:#000!important;background:#fff!important;
  transform:none!important;-webkit-transform:none!important;filter:none!important;
  min-height:48px!important;font-size:16px!important;line-height:1.25!important;
  border:1px solid #BFCED2!important;border-radius:8px!important;
}
html.is-apple-webkit input:not([type="checkbox"]):not([type="radio"]):not([type="file"]){-webkit-appearance:auto!important;appearance:auto!important}
html.is-apple-webkit select{-webkit-appearance:menulist!important;appearance:auto!important}
html.is-apple-webkit input:focus,html.is-apple-webkit textarea:focus,html.is-apple-webkit select:focus{outline:2px solid #0A7482!important;outline-offset:2px!important;box-shadow:none!important}
html.is-apple-webkit .card,html.is-apple-webkit .auth-card,html.is-apple-webkit .modal-inner,html.is-apple-webkit .device-wrap,html.is-apple-webkit .main,html.is-apple-webkit section,html.is-apple-webkit .grid2,html.is-apple-webkit .grid3,html.is-apple-webkit .grid4{transform:none!important;-webkit-transform:none!important;perspective:none!important;filter:none!important}
html.is-apple-webkit .topbar,html.is-apple-webkit .sidebar{position:relative!important;top:auto!important;height:auto!important}
html.is-apple-webkit .device-wrap.mobile,html.is-apple-webkit .auth-card{overflow:visible!important}
html.is-apple-webkit body{overflow-y:auto!important;-webkit-overflow-scrolling:touch!important}
html.is-apple-webkit .field,html.is-apple-webkit .field *{touch-action:auto!important}
html.is-apple-webkit label{pointer-events:auto!important}
@supports(height:100dvh){html.is-apple-webkit .app{min-height:100dvh}html.is-apple-webkit .shell{min-height:calc(100dvh - 82px)}}

@media print{
 body.print-one-report .app,body.print-one-report #legalModal{display:none!important}
 body.print-one-report .modal{display:none!important;position:static!important;background:#fff!important;padding:0!important}
 body.print-one-report .modal.report-print-target{display:block!important}
 body.print-one-report .modal.report-print-target .modal-inner{display:block!important;max-width:none!important;max-height:none!important;overflow:visible!important;box-shadow:none!important;border-radius:0!important}
 body.print-one-report .modal.report-print-target .modal-bar{display:none!important}
}

