
:root{
  --blue:#0b56c6;
  --gold:#e5b24b;
  --ink:#14213d;
  --muted:#64748b;
  --bg:#f6f8fb;
  --card:#ffffff;
  --line:#e5e7eb;
  --ok:#e8f7ee;
  --warn:#fff5db;
  --danger:#fdecec;
  --shadow:0 18px 40px rgba(15,23,42,.08);
  --radius:22px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--ink);font-family:Georgia, "Times New Roman", serif}
body{min-height:100vh}
button,input,select,textarea{font:inherit}
a{color:var(--blue);text-decoration:none}
.shell{display:grid;grid-template-columns:270px 1fr;min-height:100vh}
.sidebar{background:#0d1b3d;color:#fff;padding:26px 18px;display:flex;flex-direction:column;gap:18px}
.brand{display:flex;flex-direction:column;gap:12px;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.14)}
.brand img{max-width:220px;height:auto;filter:brightness(0) invert(1) contrast(1.05)}
.brand .tag{font-size:14px;line-height:1.45;color:#dbe5ff}
.menu{display:flex;flex-direction:column;gap:8px;margin-top:8px}
.menu button{background:transparent;border:0;color:#fff;text-align:left;padding:12px 14px;border-radius:14px;cursor:pointer}
.menu button.active,.menu button:hover{background:rgba(255,255,255,.1)}
.userbox{margin-top:auto;padding:14px;border-radius:16px;background:rgba(255,255,255,.08);font-size:14px}

.mobile-menu-toggle,.mobile-sidebar,.mobile-menu-overlay{display:none}
.mobile-menu-toggle{
  position:fixed;
  top:12px;
  left:12px;
  z-index:1200;
  width:48px;
  height:48px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  color:var(--ink);
  box-shadow:var(--shadow);
  font-size:24px;
  line-height:1;
}
.mobile-menu-overlay{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.45);
  z-index:1090;
}
.mobile-sidebar{
  position:fixed;
  top:0;
  left:0;
  bottom:0;
  width:min(320px,86vw);
  background:#0d1b3d;
  color:#fff;
  padding:18px;
  z-index:1100;
  transform:translateX(-105%);
  transition:transform .22s ease;
  overflow:auto;
  display:flex;
  flex-direction:column;
  gap:18px;
  box-shadow:0 18px 40px rgba(15,23,42,.28);
}
.mobile-sidebar-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-bottom:12px;
  border-bottom:1px solid rgba(255,255,255,.14);
}
.mobile-sidebar .sidebar-logo{max-width:180px;height:auto;filter:brightness(0) invert(1) contrast(1.05)}
.mobile-menu-close{
  width:40px;
  height:40px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:20px;
}
.mobile-menu{margin-top:0}
.shell.mobile-menu-open .mobile-sidebar{transform:translateX(0)}
.shell.mobile-menu-open .mobile-menu-overlay{display:block}

.main{padding:28px}
.topbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}
.title h1{margin:0;font-size:34px}
.title p{margin:6px 0 0;color:var(--muted)}
.actions{display:flex;gap:10px;flex-wrap:wrap}
.btn{border:0;border-radius:14px;padding:12px 16px;font-weight:700;cursor:pointer}
.btn.primary{background:var(--blue);color:#fff}
.btn.secondary{background:#fff;border:1px solid var(--line);color:var(--ink)}
.btn.gold{background:var(--gold);color:#1f2937}
.grid{display:grid;gap:18px}
.grid.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:22px}
.card h2,.card h3{margin:0 0 10px}
.card p{color:#475569;line-height:1.5}
.hero{display:grid;grid-template-columns:1.1fr .9fr;gap:24px;align-items:center}
.hero img{width:100%;border-radius:28px;display:block;box-shadow:var(--shadow)}
.kpi{
  padding:18px;
  border-radius:18px;
  background:#fff;
  border:1px solid var(--line);
  min-width:0;
  overflow:hidden;
}
.kpi .v{
  font-size:clamp(24px,2.4vw,32px);
  font-weight:700;
  color:var(--blue);
  line-height:1.04;
  overflow-wrap:break-word;
  word-break:normal;
  hyphens:none;
  text-wrap:balance;
}
.kpi .l{
  font-size:14px;
  color:var(--muted);
}
.table{width:100%;border-collapse:collapse}
.table th,.table td{padding:12px 10px;border-bottom:1px solid var(--line);vertical-align:top;text-align:left}
.table th{font-size:14px;color:var(--muted)}
.status{display:inline-block;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700}
.status.utkast{background:#eef2ff;color:#3730a3}
.status.pågående{background:#e0f2fe;color:#075985}
.status.slutförd{background:#e8f7ee;color:#166534}
.status.hög{background:var(--danger);color:#991b1b}
.status.förhöjd{background:var(--warn);color:#92400e}
.status.lägre{background:var(--ok);color:#166534}
.formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.field{display:flex;flex-direction:column;gap:8px}
.field label{font-size:14px;color:var(--muted);font-weight:700}
.field input,.field select,.field textarea{border:1px solid var(--line);border-radius:14px;padding:12px 14px;background:#fff}
.field textarea{min-height:110px;resize:vertical}
.stepper{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}
.step{padding:10px 14px;border-radius:999px;background:#fff;border:1px solid var(--line);font-size:14px}
.step.active{background:var(--blue);color:#fff;border-color:var(--blue)}
.area-nav{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}
.area-nav button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:10px 14px;cursor:pointer}
.area-nav button.active{background:var(--blue);color:#fff;border-color:var(--blue)}
.question{padding:18px 0;border-bottom:1px solid var(--line)}
.question:last-child{border-bottom:0}
.question h4{margin:0 0 6px;font-size:20px}
.question .meta{font-size:14px;color:var(--muted);margin-bottom:6px}
.score-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.score-btn{min-width:42px;height:42px;border-radius:12px;border:1px solid var(--line);background:#fff;cursor:pointer;font-weight:700}
.score-btn.active{background:var(--blue);color:#fff;border-color:var(--blue)}
.helpbox{margin-top:12px;padding:14px;border-radius:16px;background:#f8fafc;color:#334155;white-space:pre-line}
.split{display:grid;grid-template-columns:1.3fr .7fr;gap:18px}
.summary-list{display:grid;gap:10px}
.summary-item{display:grid;grid-template-columns:1.4fr .7fr .6fr .7fr;gap:10px;padding:12px 0;border-bottom:1px solid var(--line);align-items:center}
.meter{height:10px;border-radius:999px;background:#e5e7eb;overflow:hidden}
.meter > span{display:block;height:100%;background:linear-gradient(90deg,#2f80ed,#0b56c6)}
.login-wrap{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at top left, rgba(229,178,75,.18), transparent 25%), radial-gradient(circle at bottom right, rgba(11,86,198,.16), transparent 25%), var(--bg)}
.login-card{max-width:960px;width:100%;display:grid;grid-template-columns:1.05fr .95fr;background:#fff;border-radius:32px;overflow:hidden;box-shadow:var(--shadow)}
.login-art{background:#0d1b3d;padding:36px;display:flex;flex-direction:column;justify-content:space-between}
.login-art img{width:100%;border-radius:24px}
.small{font-size:13px;color:var(--muted)}
.notice{padding:14px;border-radius:16px;background:#eff6ff;color:#1d4ed8;margin-top:16px}
footer.note{margin-top:18px;font-size:13px;color:var(--muted)}
.compact-topbar{align-items:flex-start;margin-bottom:14px}
.kpi.compact{padding:14px}
.kpi .small-v{
  font-size:clamp(20px,2vw,23px);
  line-height:1.08;
  overflow-wrap:break-word;
  word-break:normal;
  hyphens:none;
  text-wrap:balance;
}
.nested-card{background:#fbfcff}
.field textarea#cfg-weight-overrides{min-height:220px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px}
@media (max-width: 1200px){
  .grid.cols-4,.grid.cols-3{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width: 980px){
  .shell,.hero,.split,.login-card{grid-template-columns:1fr}
  .sidebar{display:none}
  .mobile-menu-toggle{display:grid;place-items:center}
  .mobile-sidebar{display:flex}
  .grid.cols-4,.grid.cols-3,.grid.cols-2,.formgrid{grid-template-columns:1fr}
  .main{padding:70px 18px 18px}
}


.progress-card{margin-bottom:18px}
.progress-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px}
.progress-value{font-size:28px;font-weight:700;color:var(--blue);white-space:nowrap}
.progress{height:10px;border-radius:999px;background:#e5e7eb;overflow:hidden;margin:16px 0 10px}
.progress>div{height:100%;background:linear-gradient(90deg,#2f80ed,#0b56c6)}
.table-progress{display:flex;flex-direction:column;gap:8px;min-width:140px}
.table-progress strong{font-size:13px;color:var(--ink)}
.table-progress-bar{height:8px;border-radius:999px;background:#e5e7eb;overflow:hidden}
.table-progress-bar span{display:block;height:100%;background:linear-gradient(90deg,#2f80ed,#0b56c6)}
.area-footer-nav{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:22px;padding-top:18px;border-top:1px solid var(--line);flex-wrap:wrap}
@media (max-width: 980px){
  .progress-head{align-items:flex-start;flex-direction:column}
  .table-progress{min-width:110px}
  .area-footer-nav{align-items:stretch}
}

.support-card{display:flex;flex-direction:column;gap:10px}
.support-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.support-signals{padding:12px 14px;border-radius:14px;background:#f8fafc;color:#334155;border:1px solid var(--line)}
.support-sidecard{background:#fbfcff}


.followup-card textarea,.plu-table textarea{min-height:88px;width:100%;border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:#fff;font:inherit;resize:vertical}
.plu-table input,.plu-table select{width:100%;border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:#fff;font:inherit}
.plu-table td{min-width:120px}
.plu-table td:first-child,.plu-table td:nth-child(2),.plu-table td:nth-child(3),.plu-table td:nth-child(6){min-width:180px}
.followup-card .notice ul,.support-signals ul{margin:8px 0 0 18px;padding:0}

.step-card{position:relative}
.step-label{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;background:#eef2ff;color:#1d4ed8;font-size:12px;font-weight:700;margin-bottom:12px}
.compact-notice{font-size:14px;line-height:1.5}
.compact-notice ul{margin:8px 0 0 18px;padding:0}


.followup-history{margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}
.history-list{display:grid;gap:10px;margin-top:10px}
.history-item{display:grid;grid-template-columns:120px 120px 120px 1fr;gap:10px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:#fbfcff;align-items:start}
.history-item strong{color:var(--ink)}
@media (max-width: 980px){
  .history-item{grid-template-columns:1fr}
}

.login-art{justify-content:center;align-items:center}
.login-art-center{display:flex;align-items:center;justify-content:center;min-height:100%;width:100%}
.login-logo{max-width:430px;width:100%;height:auto;filter:brightness(0) invert(1) contrast(1.05)}
.inner-card textarea[readonly]{background:#f8fafc;color:#334155}


.login-art{
  justify-content:center;
  align-items:center;
  padding:42px;
}

.login-form{
  display:flex;
  align-items:center;
  padding:48px 56px;
}

.login-form-inner{
  width:100%;
  max-width:500px;
}

.login-form h1{
  margin:0 0 14px;
  font-size:32px;
  line-height:1.08;
}

.login-intro{
  margin:0 0 24px;
  font-size:15px;
  line-height:1.45;
  color:var(--muted);
  max-width:440px;
}

.login-form .field label{
  color:#51627f;
  font-size:13px;
  letter-spacing:.01em;
}

.login-form .field input{
  height:66px;
  font-size:18px;
  border-radius:18px;
}

.login-actions{
  margin-top:22px;
  display:flex;
  align-items:center;
  gap:12px;
}

.login-actions .btn{
  min-width:154px;
  min-height:62px;
  font-size:18px;
  border-radius:20px;
}

.login-help{
  margin:18px 0 0;
  font-size:14px;
  line-height:1.45;
  color:var(--muted);
  max-width:430px;
}

.login-version{
  margin-top:36px;
  color:#8a94a6;
}

@media (max-width: 980px){
  .login-form{
    padding:34px 28px;
  }
  .login-form-inner{
    max-width:none;
  }
}


.case-workspace-nav{margin-bottom:18px}
.case-tab-row{display:flex;gap:10px;flex-wrap:wrap}
.case-tab-btn{border:1px solid var(--line);background:#fff;border-radius:999px;padding:10px 14px;cursor:pointer;font:inherit;font-weight:700;color:var(--ink)}
.case-tab-btn:hover,.case-tab-btn.active{background:var(--blue);color:#fff;border-color:var(--blue)}
.case-list-actions{display:flex;justify-content:flex-end;align-items:flex-start;gap:10px;min-width:190px}
.case-open-btn{min-width:132px}
.case-actions-menu{position:relative}
.case-actions-summary{list-style:none;border:1px solid var(--line);background:#fff;border-radius:16px;padding:12px 16px;cursor:pointer;font-weight:700;color:var(--ink);min-width:96px;text-align:center;box-shadow:var(--shadow)}
.case-actions-summary::-webkit-details-marker{display:none}
.case-actions-menu[open] .case-actions-summary,.case-actions-summary:hover{border-color:#cbd5e1}
.case-actions-panel{position:absolute;right:0;top:calc(100% + 8px);display:grid;gap:6px;min-width:220px;padding:10px;border-radius:18px;border:1px solid var(--line);background:#fff;box-shadow:var(--shadow);z-index:20}
.case-action-link{border:0;background:#fff;text-align:left;padding:12px 14px;border-radius:12px;cursor:pointer;font:inherit;font-weight:700;color:var(--ink)}
.case-action-link:hover{background:#f8fafc}
.case-action-link.danger{color:#b91c1c}
.case-action-link.danger:hover{background:#fff5f5}
@media (max-width: 980px){
  .case-list-actions{justify-content:flex-start;min-width:0}
  .case-actions-panel{position:static;min-width:0;margin-top:8px}
  .case-tab-row{flex-direction:column}
}

.grid.cols-4 .kpi,
.grid.cols-3 .kpi{
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}

.grid.cols-4 .kpi .v,
.grid.cols-3 .kpi .v{
  font-size:clamp(20px,1.9vw,28px);
  line-height:1.02;
  max-width:100%;
  overflow-wrap:normal;
  word-break:normal;
  hyphens:none;
  text-wrap:pretty;
}

.grid.cols-4 .kpi .l,
.grid.cols-3 .kpi .l{
  margin-top:6px;
}

@media (max-width: 1400px){
  .grid.cols-4 .kpi .v,
  .grid.cols-3 .kpi .v{
    font-size:clamp(18px,1.8vw,25px);
  }
}

.grid.cols-2 .kpi{
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  min-width:0;
}

.grid.cols-2 .kpi .v{
  font-size:clamp(16px,1.55vw,22px);
  line-height:1.03;
  max-width:100%;
  overflow-wrap:break-word;
  word-break:normal;
  hyphens:none;
  text-wrap:pretty;
}

.grid.cols-2 .kpi .small-v{
  font-size:clamp(16px,1.45vw,20px);
  line-height:1.04;
  max-width:100%;
  overflow-wrap:break-word;
  word-break:normal;
  hyphens:none;
  text-wrap:pretty;
}

@media (max-width: 1400px){
  .grid.cols-2 .kpi .v{
    font-size:clamp(15px,1.45vw,20px);
  }
  .grid.cols-2 .kpi .small-v{
    font-size:clamp(15px,1.35vw,18px);
  }
}

.card.inner-card > .grid.cols-3{
  grid-template-columns:1fr !important;
  gap:12px !important;
}
.card.inner-card > .grid.cols-3 > .kpi{
  display:grid !important;
  grid-template-columns:44px 1fr !important;
  align-items:start !important;
  gap:8px 14px !important;
  padding:16px 18px !important;
  min-height:auto !important;
}
.card.inner-card > .grid.cols-3 > .kpi .v,
.card.inner-card > .grid.cols-3 > .kpi .small-v{
  grid-column:1 !important;
  font-size:clamp(18px,1.7vw,24px) !important;
  line-height:1 !important;
  margin:0 !important;
}
.card.inner-card > .grid.cols-3 > .kpi .l{
  grid-column:2 !important;
  font-size:16px !important;
  line-height:1.28 !important;
  color:var(--ink) !important;
  margin-top:0 !important;
}


.main > section.grid.cols-2:last-of-type > .card > .grid.cols-2{
  gap:12px !important;
}
.main > section.grid.cols-2:last-of-type > .card > .grid.cols-2 > .kpi{
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-start !important;
  padding:16px 18px !important;
  min-height:120px !important;
}
.main > section.grid.cols-2:last-of-type > .card > .grid.cols-2 > .kpi .v,
.main > section.grid.cols-2:last-of-type > .card > .grid.cols-2 > .kpi .small-v{
  font-size:clamp(22px,2vw,28px) !important;
  line-height:1 !important;
  margin:0 0 8px 0 !important;
  max-width:none !important;
}
.main > section.grid.cols-2:last-of-type > .card > .grid.cols-2 > .kpi .l{
  font-size:16px !important;
  line-height:1.18 !important;
  color:var(--ink) !important;
  margin-top:0 !important;
}

@media (max-width: 980px){
  .card.inner-card > .grid.cols-3 > .kpi{
    grid-template-columns:38px 1fr !important;
    padding:14px 16px !important;
  }
  .card.inner-card > .grid.cols-3 > .kpi .l{
    font-size:15px !important;
  }
  .main > section.grid.cols-2:last-of-type > .card > .grid.cols-2 > .kpi{
    min-height:auto !important;
  }
  .main > section.grid.cols-2:last-of-type > .card > .grid.cols-2 > .kpi .l{
    font-size:15px !important;
  }
}


.participation-card{
  background:
    radial-gradient(circle at top right, rgba(229,178,75,.16), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}
.participation-hero{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:22px;
  align-items:start;
  margin-bottom:16px;
}
.participation-overview{
  padding:20px;
  border-radius:22px;
  border:1px solid rgba(11,86,198,.12);
  background:linear-gradient(180deg, rgba(11,86,198,.06), rgba(229,178,75,.08));
}
.participation-value{
  font-size:clamp(42px,5vw,64px);
  line-height:.96;
  font-weight:700;
  color:var(--blue);
  margin-bottom:10px;
}
.participation-badge{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  margin-bottom:10px;
}
.participation-badge.strong{background:#e8f7ee;color:#166534}
.participation-badge.stable{background:#eef2ff;color:#1d4ed8}
.participation-badge.limited{background:#fff5db;color:#92400e}
.participation-badge.low{background:#fdecec;color:#b45309}
.participation-badge.critical{background:#fee2e2;color:#991b1b}
.participation-summary{
  margin:12px 0 16px;
  border:1px solid rgba(11,86,198,.08);
  background:#f8fbff;
}
.participation-score-grid .participation-score{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-height:176px;
}
.participation-score.is-lowest{
  border-color:#f3c5c5;
  background:linear-gradient(180deg, #fff 0%, #fff8f8 100%);
}
.participation-score.is-highest{
  border-color:#cfe3ff;
  background:linear-gradient(180deg, #fff 0%, #f7fbff 100%);
}
.participation-meter{
  margin:4px 0 2px;
}
.participation-insight-grid{
  margin-top:8px;
}
.participation-insight{
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  padding:16px 18px;
  box-shadow:var(--shadow);
}
.participation-insight.accent{
  background:linear-gradient(180deg, rgba(229,178,75,.12), rgba(11,86,198,.06));
  border-color:rgba(229,178,75,.45);
}
.participation-insight-label{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:var(--muted);
  font-weight:700;
  margin-bottom:8px;
}
.participation-insight strong{
  display:block;
  margin-bottom:8px;
  color:var(--ink);
}
@media (max-width: 980px){
  .participation-hero{grid-template-columns:1fr}
}

.summary-shell{
  background:linear-gradient(180deg,#ffffff 0%, #fbfdff 100%);
}
.summary-header{
  margin-bottom:8px;
}
.summary-section{
  margin-top:22px;
  padding-top:22px;
  border-top:1px solid var(--line);
}
.summary-section:first-of-type{
  margin-top:0;
  padding-top:0;
  border-top:0;
}
.summary-section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:16px;
  margin-bottom:14px;
}
.summary-section-head h2,
.summary-section-head h3{
  margin:0 0 4px;
}
.support-overview-card{
  background:linear-gradient(180deg,#ffffff 0%, #fbfdff 100%);
}
@media (max-width: 980px){
  .summary-section-head{
    align-items:flex-start;
    flex-direction:column;
  }
}


.question-bank-grid{display:grid;gap:18px}
.question-bank-card h3{margin-bottom:14px}
.question-bank-list{display:grid;gap:14px}
.question-admin-row{border:1px solid var(--line);border-radius:18px;background:#fff;padding:16px;min-width:0}
.question-admin-top{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:12px;flex-wrap:wrap}
.question-admin-id{font-weight:700;color:var(--blue)}
.question-admin-weight{display:flex;flex-direction:column;gap:6px;min-width:120px}
.question-admin-weight label{font-size:13px;color:var(--muted);font-weight:700}
.question-admin-row textarea,.question-admin-row input{min-width:0}
.question-admin-row textarea{line-height:1.45}

:root{
  --shadow:0 20px 46px rgba(20,33,61,.08);
  --soft-blue:#eef4ff;
  --soft-gold:#fff7e6;
}
body{background:linear-gradient(180deg,#f8fafc 0%,#f6f8fb 42%,#f3f6fb 100%);}
.sidebar{background:linear-gradient(180deg,#0d1b3d 0%,#102554 100%);box-shadow:12px 0 34px rgba(20,33,61,.12);}
.brand{gap:14px;}
.brand .tag,.mobile-sidebar .tag{color:#f5e7c0;letter-spacing:.02em;}
.menu button{transition:background .16s ease,transform .16s ease,color .16s ease;}
.menu button:hover{transform:translateX(2px);}
.menu button.active{background:linear-gradient(90deg,rgba(229,178,75,.24),rgba(255,255,255,.10));border:1px solid rgba(229,178,75,.20);}
.main{max-width:1480px;width:100%;}
.card{box-shadow:0 18px 44px rgba(20,33,61,.075);border-color:rgba(20,33,61,.08);}
.card h2,.card h3,.title h1{letter-spacing:-.025em;}
.btn{transition:transform .16s ease,box-shadow .16s ease,background .16s ease,border-color .16s ease;}
.btn:hover{transform:translateY(-1px);box-shadow:0 12px 26px rgba(20,33,61,.10);}
.btn.primary{background:linear-gradient(135deg,#0b56c6,#084aa8);}
.btn.gold{background:linear-gradient(135deg,#e5b24b,#f0c86d);}
.btn.secondary{background:rgba(255,255,255,.92);}
.kpi{box-shadow:0 14px 34px rgba(20,33,61,.06);border-color:rgba(20,33,61,.08);}
.table tr{transition:background .14s ease;}
.table tbody tr:hover{background:#fbfcff;}
.status{border:1px solid rgba(20,33,61,.06);}
.field input,.field select,.field textarea{box-shadow:0 8px 18px rgba(20,33,61,.035);}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:rgba(11,86,198,.45);box-shadow:0 0 0 4px rgba(11,86,198,.08);}
.case-actions-menu{position:relative;}
.case-actions-summary{box-shadow:none;background:#fbfcff;}
.case-actions-panel{position:static;min-width:0;margin-top:8px;box-shadow:0 12px 28px rgba(20,33,61,.08);z-index:auto;}
.case-action-link{border-radius:12px;}
.progress>div,.meter>span,.table-progress-bar span{background:linear-gradient(90deg,#2f80ed,#0b56c6);}
.question{border-bottom-color:rgba(20,33,61,.08);}
.score-btn.active{background:linear-gradient(135deg,#0b56c6,#084aa8);}
.helpbox,.notice{border:1px solid rgba(11,86,198,.08);}
@media (max-width:980px){.main{max-width:none;}}


.ebic-reference-shell{
  --ref-navy:#062553;
  --ref-navy-2:#071e44;
  --ref-blue:#0b5fc8;
  --ref-gold:#e7b64d;
  --ref-text:#081936;
  --ref-muted:#667086;
  --ref-line:#e4e8f0;
  --ref-soft:#f6f8fc;
  grid-template-columns:248px minmax(0,1fr) !important;
  background:#f4f6fa;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.ebic-reference-shell.sidebar-collapsed{grid-template-columns:88px minmax(0,1fr) !important;}
.reference-sidebar{
  position:sticky;
  top:0;
  height:100vh;
  overflow:hidden;
  padding:22px 12px 20px !important;
  background:linear-gradient(180deg,#062553 0%,#071e44 100%) !important;
  box-shadow:12px 0 38px rgba(6,24,52,.16) !important;
  gap:18px !important;
}
.sidebar-minimize{
  position:absolute;
  top:18px;
  right:12px;
  width:34px;
  height:34px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.07);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index:3;
}
.sidebar-minimize svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.reference-brand{min-height:132px;padding:8px 10px 22px !important;border:0 !important;align-items:center;justify-content:center;}
.reference-brand img{filter:brightness(0) invert(1) !important;max-width:170px !important;object-fit:contain;}
.reference-brand .mark-logo{display:none;max-width:54px !important;}
.ebic-reference-shell.sidebar-collapsed .reference-brand .full-logo{display:none;}
.ebic-reference-shell.sidebar-collapsed .reference-brand .mark-logo{display:block;}
.reference-menu{gap:8px !important;}
.reference-menu button{
  display:grid;
  grid-template-columns:32px minmax(0,1fr);
  align-items:center;
  gap:14px;
  min-height:48px;
  padding:10px 12px !important;
  color:rgba(255,255,255,.94) !important;
  border-radius:13px !important;
  border:1px solid transparent !important;
  font-weight:760;
  font-size:15px;
  letter-spacing:-.01em;
}
.reference-menu button .nav-icon{display:flex;width:26px;height:26px;align-items:center;justify-content:center;}
.reference-menu button svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
.reference-menu button.active{
  background:rgba(255,255,255,.105) !important;
  border-color:rgba(255,255,255,.12) !important;
  box-shadow:inset 4px 0 0 var(--ref-gold);
}
.reference-menu button:hover{background:rgba(255,255,255,.08) !important;transform:none !important;}
.reference-sidebar-bottom{margin-top:auto;display:grid;gap:12px;min-width:0;}
.reference-school-card,.reference-user-card{
  display:grid;
  grid-template-columns:32px minmax(0,1fr) 18px;
  align-items:center;
  gap:10px;
  padding:12px 10px;
  border-radius:14px;
  background:rgba(255,255,255,.075);
  border:1px solid rgba(255,255,255,.08);
  color:#fff;
  min-width:0;
}
.reference-school-card strong,.reference-user-card strong{display:block;font-size:13px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.reference-school-card small,.reference-user-card small{display:block;color:rgba(255,255,255,.72);font-size:11px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.reference-avatar{width:32px;height:32px;border-radius:999px;background:var(--ref-gold);color:#10213f;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:12px;}
.reference-user-card button{border:0;background:transparent;color:#fff;padding:0;display:flex;}
.reference-school-card svg,.reference-user-card svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.9;}
.ebic-reference-shell.sidebar-collapsed .reference-sidebar{padding-left:10px !important;padding-right:10px !important;}
.ebic-reference-shell.sidebar-collapsed .reference-menu button{grid-template-columns:1fr;justify-items:center;padding:10px 0 !important;}
.ebic-reference-shell.sidebar-collapsed .nav-text,
.ebic-reference-shell.sidebar-collapsed .reference-school-card span:not(.nav-icon),
.ebic-reference-shell.sidebar-collapsed .reference-school-card i,
.ebic-reference-shell.sidebar-collapsed .reference-user-card span:not(.reference-avatar),
.ebic-reference-shell.sidebar-collapsed .reference-user-card button{display:none;}
.ebic-reference-shell.sidebar-collapsed .reference-school-card,.ebic-reference-shell.sidebar-collapsed .reference-user-card{grid-template-columns:1fr;justify-items:center;padding:10px 0;}
.reference-main{
  max-width:none !important;
  width:100% !important;
  min-width:0;
  padding:28px 34px 34px !important;
  overflow-x:hidden;
}
.dashboard-reference{
  max-width:1640px;
  margin:0 auto;
  color:var(--ref-text);
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.dashboard-topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:22px;
  margin-bottom:22px;
}
.dashboard-titleblock h1{
  margin:0;
  color:#111827;
  font-size:clamp(28px,2.2vw,38px);
  line-height:1;
  letter-spacing:-.045em;
  font-weight:850;
}
.dashboard-titleblock p{display:none !important;}
.dashboard-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end;}
.dashboard-select,.dashboard-date{
  height:46px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 13px;
  border:1px solid var(--ref-line);
  border-radius:11px;
  background:#fff;
  box-shadow:0 10px 24px rgba(15,23,42,.04);
  color:#18243a;
}
.dashboard-select select,.dashboard-date input{
  border:0;
  outline:0;
  background:transparent;
  color:#18243a;
  font:inherit;
  font-size:14px;
  min-width:0;
}
.dashboard-select svg,.dashboard-date svg,.dashboard-print svg,.dashboard-newcase svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto;}
.dashboard-select > svg:last-child,.dashboard-date > svg:last-child{width:16px;height:16px;color:#7b8496;}
.dashboard-print,.dashboard-newcase{
  height:46px;
  border:0;
  border-radius:11px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 18px;
  color:#fff;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 12px 24px rgba(6,37,83,.16);
}
.dashboard-print{background:#071e44;}
.dashboard-newcase{background:linear-gradient(135deg,#0b5fc8,#084aa8);}
.dashboard-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px;}
.dashboard-kpi-card{
  display:grid;
  grid-template-columns:76px minmax(0,1fr);
  align-items:center;
  gap:18px;
  min-height:132px;
  padding:22px 24px;
  border:1px solid var(--ref-line);
  border-radius:15px;
  background:linear-gradient(180deg,#fff,#fbfcff);
  box-shadow:0 16px 38px rgba(15,23,42,.07);
  overflow:hidden;
}
.dashboard-kpi-icon{width:76px;height:76px;border-radius:999px;display:flex;align-items:center;justify-content:center;}
.dashboard-kpi-icon svg{width:40px;height:40px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.dashboard-kpi-card.blue .dashboard-kpi-icon{background:#eef3ff;color:#0b3677;}
.dashboard-kpi-card.green .dashboard-kpi-icon{background:#eef8ef;color:#23814a;}
.dashboard-kpi-card.gold .dashboard-kpi-icon{background:#fff4df;color:#b17a0a;}
.dashboard-kpi-card.red .dashboard-kpi-icon{background:#ffecec;color:#c94040;}
.dashboard-kpi-title{font-size:14px;font-weight:800;color:#111827;margin-bottom:6px;}
.dashboard-kpi-value{font-size:clamp(28px,2.15vw,38px);line-height:.95;font-weight:900;letter-spacing:-.045em;color:#071e44;margin-bottom:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.dashboard-kpi-subtitle{font-size:14px;color:#3f485a;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.dashboard-kpi-track{height:5px;border-radius:99px;background:#ebedf2;margin-top:14px;overflow:hidden;}
.dashboard-kpi-track span{display:block;height:100%;border-radius:inherit;background:#0b3677;}
.dashboard-kpi-card.green .dashboard-kpi-track span{background:#3b8e62;}
.dashboard-kpi-card.gold .dashboard-kpi-track span{background:#d3a13c;}
.dashboard-kpi-card.red .dashboard-kpi-track span{background:#d94444;}
.dashboard-main-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,420px);gap:18px;align-items:start;}
.dashboard-left{display:grid;gap:18px;min-width:0;}
.dashboard-row{display:grid;gap:18px;min-width:0;}
.dashboard-row.two{grid-template-columns:minmax(280px,.9fr) minmax(360px,1.1fr);}
.dashboard-row.profile-priority{grid-template-columns:minmax(0,1fr) minmax(280px,320px);align-items:stretch;}
.dashboard-panel{
  min-width:0;
  border:1px solid var(--ref-line);
  border-radius:16px;
  background:linear-gradient(180deg,#fff 0%,#fbfcff 100%);
  box-shadow:0 16px 40px rgba(15,23,42,.065);
  padding:18px;
  overflow:hidden;
}
.dashboard-panel h2{display:flex;align-items:center;gap:10px;margin:0 0 16px;color:#111827;font-size:18px;line-height:1.2;letter-spacing:-.02em;font-weight:850;}
.dashboard-panel h2 svg{width:20px;height:20px;stroke:#071e44;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.dashboard-narrative p{font-size:14px;line-height:1.55;margin:0 0 13px;color:#263246;}
.dashboard-narrative p:last-child{margin-bottom:0;}
.dashboard-index-panel{padding-bottom:14px;}
.dashboard-index-row{display:grid;grid-template-columns:minmax(150px,.9fr) minmax(140px,1fr) 48px;gap:14px;align-items:center;margin:13px 0;}
.dashboard-index-row span{font-size:14px;color:#111827;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.dashboard-index-row strong{text-align:right;color:#071e44;font-size:14px;font-weight:850;}
.dashboard-bar{height:9px;background:#e9ebef;border-radius:99px;overflow:hidden;}
.dashboard-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#071e44,#0b5fc8);}
.dashboard-profile-panel{min-height:330px;}
.dashboard-profile-content{display:grid;grid-template-columns:minmax(220px,.88fr) minmax(260px,1.12fr);gap:14px;align-items:center;min-width:0;}
.dashboard-radar{display:flex;align-items:center;justify-content:center;min-width:0;overflow:visible;padding:4px;}
.dashboard-radar svg{width:100%;max-width:270px;height:auto;display:block;overflow:visible;}
.radar-svg text{font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round;}
.radar-svg polygon,.radar-svg line,.radar-svg circle{vector-effect:non-scaling-stroke;}
.dashboard-area-table{display:grid;gap:8px;min-width:0;}
.dashboard-area-head{display:grid;grid-template-columns:minmax(0,1fr) 58px 72px;gap:10px;padding:0 0 4px 34px;color:#4f5c70;font-size:12px;font-weight:800;}
.dashboard-area-row{display:grid;grid-template-columns:24px minmax(0,1fr) 52px 72px;gap:10px;align-items:center;min-width:0;}
.dashboard-area-row b{width:22px;height:22px;border-radius:999px;background:#071e44;color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:850;}
.dashboard-area-row span{font-size:13px;color:#152139;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.dashboard-area-row strong{font-size:13px;text-align:right;color:#071e44;font-variant-numeric:tabular-nums;}
.mini-status,.dashboard-area-row em{display:inline-flex;align-items:center;justify-content:center;min-width:0;padding:5px 8px;border-radius:8px;font-size:12px;line-height:1;font-weight:850;font-style:normal;white-space:nowrap;}
.mini-status.low{background:#fde7eb;color:#b42335;}
.mini-status.mid{background:#fff0cf;color:#a66c00;}
.mini-status.strong{background:#ddf4e5;color:#167642;}
.dashboard-priority-panel{display:flex;flex-direction:column;gap:12px;}
.priority-card{
  width:100%;
  min-height:92px;
  display:grid;
  grid-template-columns:52px minmax(0,1fr) 18px;
  gap:14px;
  align-items:center;
  border:0;
  border-radius:14px;
  padding:14px 14px 14px 16px;
  text-align:left;
  cursor:pointer;
  overflow:hidden;
}
.priority-card > span{grid-row:1 / span 2;width:52px;height:52px;border-radius:15px;display:flex;align-items:center;justify-content:center;}
.priority-card > span svg{width:27px;height:27px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
.priority-card strong{display:block;color:#111827;font-size:15px;font-weight:850;line-height:1.15;white-space:normal;overflow-wrap:anywhere;}
.priority-card small{display:block;color:#263246;font-size:12px;line-height:1.35;margin-top:4px;min-width:0;}
.priority-card i{grid-column:3;grid-row:1 / span 2;color:#071e44;display:flex;}
.priority-card i svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;}
.priority-card.tone-1{background:#edf4ff;}.priority-card.tone-1 > span{background:#dbeafe;color:#0b5fc8;}
.priority-card.tone-2{background:#edf8f0;}.priority-card.tone-2 > span{background:#dff3e5;color:#23814a;}
.priority-card.tone-3{background:#fff6e3;}.priority-card.tone-3 > span{background:#ffedbd;color:#b17a0a;}
.dashboard-support-strip{padding:16px 18px;}
.support-strip-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
.support-strip-card{display:grid;grid-template-columns:50px minmax(0,1fr);gap:14px;align-items:start;min-width:0;border-radius:14px;padding:15px;}
.support-strip-card > span{width:50px;height:50px;border-radius:999px;display:flex;align-items:center;justify-content:center;}
.support-strip-card svg{width:28px;height:28px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.support-strip-card strong{display:block;font-size:13px;color:#111827;margin-bottom:6px;}
.support-strip-card ul{margin:0;padding-left:18px;color:#263246;font-size:12px;line-height:1.45;}
.support-strip-card.blue{background:#eef4ff;}.support-strip-card.blue > span{background:#dbeafe;color:#0b5fc8;}
.support-strip-card.green{background:#edf8f0;}.support-strip-card.green > span{background:#dff3e5;color:#23814a;}
.support-strip-card.gold{background:#fff6e3;}.support-strip-card.gold > span{background:#ffedbd;color:#b17a0a;}
.dashboard-report-preview{padding:18px 20px 24px;}
.dashboard-report-paper{position:relative;background:#fff;border:1px solid #d9dee8;box-shadow:0 10px 25px rgba(15,23,42,.08);padding:22px 24px 30px;min-height:560px;overflow:hidden;}
.preview-head{display:grid;grid-template-columns:72px 1fr auto;gap:14px;align-items:start;}
.preview-head img{width:58px;height:auto;object-fit:contain;}
.preview-head h4{margin:0;color:#071e44;font-size:16px;line-height:1.2;}
.preview-head p{margin:3px 0 0;color:#4a5568;font-size:11px;}
.preview-head span{font-size:10px;color:#071e44;white-space:nowrap;}
.preview-line{height:1px;background:#d9dee8;margin:18px 0;}
.dashboard-report-paper h5{margin:0 0 12px;color:#071e44;font-size:13px;font-weight:850;}
.preview-summary{display:grid;grid-template-columns:1fr 1.2fr;gap:6px 18px;margin:0;font-size:11px;line-height:1.35;}
.preview-summary dt{color:#4b5568;}.preview-summary dd{margin:0;font-weight:800;color:#071e44;}
.preview-profile{display:grid;grid-template-columns:minmax(130px,168px) minmax(0,1fr);gap:12px;align-items:center;min-width:0;}
.preview-profile svg{width:100%;height:auto;display:block;overflow:visible;}
.preview-profile table{width:100%;border-collapse:collapse;min-width:0;}
.preview-profile td{border-bottom:1px solid #e7eaf0;padding:5px 6px;font-size:10px;color:#071e44;vertical-align:middle;}
.preview-profile td:first-child{max-width:112px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.preview-icons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:8px 0 18px;}
.preview-icons span{display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center;font-size:9px;color:#071e44;line-height:1.2;min-width:0;}
.preview-icons svg{width:24px;height:24px;stroke:#0b5fc8;fill:none;stroke-width:1.8;}
.dashboard-report-paper ul{font-size:10px;line-height:1.45;margin:0;padding-left:16px;color:#071e44;}
.preview-watermark{position:absolute;right:36px;bottom:35px;width:70px;opacity:.22;}
.dashboard-empty-card{border:1px dashed #cfd6e3;border-radius:18px;background:#fff;padding:30px;box-shadow:0 16px 38px rgba(15,23,42,.06);}
@media (max-width:1500px){
  .reference-main{padding:24px 26px 30px !important;}
  .dashboard-main-grid{grid-template-columns:minmax(0,1fr) minmax(340px,390px);}
  .dashboard-row.profile-priority{grid-template-columns:minmax(0,1fr) minmax(260px,300px);}
  .dashboard-kpi-card{grid-template-columns:64px minmax(0,1fr);padding:20px;gap:15px;}
  .dashboard-kpi-icon{width:64px;height:64px;}
  .dashboard-kpi-icon svg{width:34px;height:34px;}
}
@media (max-width:1280px){
  .dashboard-main-grid{grid-template-columns:1fr;}
  .dashboard-report-preview{max-width:760px;}
}
@media (max-width:1120px){
  .dashboard-topbar{align-items:flex-start;flex-direction:column;}
  .dashboard-controls{justify-content:flex-start;}
  .dashboard-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .dashboard-row.two,.dashboard-row.profile-priority{grid-template-columns:1fr;}
  .dashboard-profile-content{grid-template-columns:1fr;}
  .support-strip-grid{grid-template-columns:1fr;}
}
@media (max-width:980px){
  .ebic-reference-shell{display:block !important;}
  .reference-main{padding:72px 16px 24px !important;}
  .reference-sidebar{display:none !important;}
  .mobile-menu-toggle{display:grid !important;place-items:center;}
  .reference-mobile-sidebar{font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;background:#062553 !important;}
  .reference-mobile-sidebar .reference-school-card,.reference-mobile-sidebar .reference-user-card{margin-top:12px;}
}
@media (max-width:720px){
  .dashboard-kpi-grid{grid-template-columns:1fr;}
  .dashboard-kpi-card{min-height:118px;grid-template-columns:58px minmax(0,1fr);}
  .dashboard-kpi-icon{width:58px;height:58px;}
  .dashboard-index-row{grid-template-columns:1fr;gap:7px;}
  .dashboard-index-row strong{text-align:left;}
  .dashboard-controls{width:100%;}
  .dashboard-select,.dashboard-date,.dashboard-newcase,.dashboard-print{width:100%;justify-content:center;}
  .preview-profile{grid-template-columns:1fr;}
  .dashboard-report-paper{padding:18px;min-height:auto;}
  .dashboard-area-head{display:none;}
  .dashboard-area-row{grid-template-columns:24px minmax(0,1fr) 48px 68px;}
}
@media print{
  .reference-sidebar,.mobile-menu-toggle,.dashboard-controls{display:none !important;}
  .ebic-reference-shell{display:block !important;background:#fff !important;}
  .reference-main{padding:0 !important;}
  .dashboard-reference{max-width:none;}
  .dashboard-panel,.dashboard-kpi-card{box-shadow:none !important;break-inside:avoid;}
}


.dashboard-date{display:none !important;}
.dashboard-main-grid{grid-template-columns:1fr !important;}
.dashboard-left{width:100%;}
.dashboard-report-preview{display:none !important;}
.dashboard-row.profile-priority{grid-template-columns:minmax(0,1fr) minmax(300px,360px);}
.dashboard-profile-content{grid-template-columns:minmax(260px,.72fr) minmax(360px,1.28fr);gap:22px;}
.dashboard-profile-panel{min-height:360px;}
.dashboard-radar svg{max-width:320px;}
.dashboard-priority-panel{min-height:360px;}
.dashboard-secondary{
  height:46px;
  border:1px solid var(--ref-line);
  border-radius:11px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 16px;
  color:#071e44;
  background:#fff;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(15,23,42,.04);
}
.dashboard-secondary svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto;}
.dashboard-select,.dashboard-secondary,.dashboard-newcase{transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;}
.dashboard-select:hover,.dashboard-secondary:hover,.dashboard-newcase:hover{transform:translateY(-1px);box-shadow:0 14px 28px rgba(15,23,42,.08);}
.priority-card:hover{transform:translateY(-1px);box-shadow:0 12px 26px rgba(15,23,42,.08);}
.priority-card{transition:transform .16s ease, box-shadow .16s ease;}
.reference-menu button{transition:background .14s ease, transform .14s ease;}
.reference-menu button:hover{transform:translateX(2px);}
@media (max-width:1500px){
  .dashboard-main-grid{grid-template-columns:1fr !important;}
  .dashboard-row.profile-priority{grid-template-columns:minmax(0,1fr) minmax(300px,350px);}
  .dashboard-profile-content{grid-template-columns:minmax(250px,.72fr) minmax(330px,1.28fr);}
}
@media (max-width:1180px){
  .dashboard-row.profile-priority{grid-template-columns:1fr;}
  .dashboard-profile-content{grid-template-columns:minmax(260px,.8fr) minmax(320px,1.2fr);}
  .dashboard-priority-panel{min-height:auto;}
}
@media (max-width:900px){
  .dashboard-profile-content{grid-template-columns:1fr;}
  .dashboard-radar svg{max-width:300px;}
}
@media (max-width:720px){
  .dashboard-secondary{width:100%;justify-content:center;}
  .dashboard-profile-panel{min-height:auto;}
  .dashboard-radar svg{max-width:280px;}
}

.reference-brand .full-logo{
  max-width:245px !important;
  width:245px !important;
}
.ebic-reference-shell.sidebar-collapsed .reference-brand .mark-logo{
  width:44px !important;
  max-width:44px !important;
}
.dashboard-reference{
  max-width:1380px;
}
.dashboard-topbar{
  align-items:flex-start;
  padding:22px 24px;
  border:1px solid rgba(226,232,240,.92);
  border-radius:26px;
  background:linear-gradient(135deg,#ffffff 0%,#f8fbff 58%,#f4f8ff 100%);
  box-shadow:0 14px 36px rgba(15,23,42,.045);
  margin-bottom:18px;
}
.dashboard-titleblock{
  max-width:720px;
}
.dashboard-titleblock h1{
  font-size:clamp(30px,2.2vw,40px);
  letter-spacing:-.035em;
}
.dashboard-titleblock p{
  display:block !important;
  margin:8px 0 0;
  color:#64748b;
  font-size:15px;
  line-height:1.45;
}
.dashboard-controls{
  padding-top:2px;
}
.dashboard-select,
.dashboard-secondary,
.dashboard-newcase{
  height:42px;
  border-radius:14px;
  box-shadow:none;
}
.dashboard-newcase{
  background:#0b56c6;
}
.dashboard-kpi-grid{
  gap:12px;
  margin-bottom:16px;
}
.dashboard-kpi-card{
  grid-template-columns:50px minmax(0,1fr);
  min-height:104px;
  padding:16px 18px;
  gap:14px;
  border-radius:22px;
  box-shadow:0 10px 26px rgba(15,23,42,.045);
  background:#fff;
}
.dashboard-kpi-icon{
  width:50px;
  height:50px;
}
.dashboard-kpi-icon svg{
  width:25px;
  height:25px;
}
.dashboard-kpi-title{
  color:#475569;
  font-size:13px;
  margin-bottom:5px;
}
.dashboard-kpi-value{
  font-size:clamp(23px,1.7vw,30px);
  color:#0f172a;
  margin-bottom:4px;
}
.dashboard-kpi-subtitle{
  font-size:13px;
  color:#64748b;
}
.dashboard-kpi-track{
  height:4px;
  margin-top:10px;
  background:#eef2f7;
}
.dashboard-left{
  gap:14px;
}
.dashboard-row{
  gap:14px;
}
.dashboard-panel{
  border-radius:24px;
  padding:18px 20px;
  box-shadow:0 10px 28px rgba(15,23,42,.045);
  background:#fff;
}
.dashboard-panel h2{
  margin-bottom:13px;
  font-size:17px;
}
.dashboard-narrative p{
  font-size:14px;
  line-height:1.58;
  color:#475569;
}
.dashboard-index-row{
  margin:10px 0;
}
.dashboard-row.two{
  grid-template-columns:minmax(300px,.92fr) minmax(380px,1.08fr);
}
.dashboard-row.profile-priority{
  grid-template-columns:minmax(0,1fr) minmax(300px,340px);
}
.dashboard-profile-panel,
.dashboard-priority-panel{
  min-height:auto;
}
.dashboard-profile-content{
  grid-template-columns:minmax(240px,.72fr) minmax(360px,1.28fr);
  gap:18px;
}
.dashboard-radar svg{
  max-width:280px;
}
.dashboard-area-row{
  min-height:28px;
}
.priority-card{
  min-height:78px;
  border-radius:18px;
  padding:12px 13px;
  background:#f8fafc !important;
  border:1px solid #e7edf5;
}
.priority-card > span{
  width:42px;
  height:42px;
  border-radius:14px;
}
.priority-card > span svg{
  width:22px;
  height:22px;
}
.priority-card strong{
  font-size:14px;
}
.priority-card small{
  font-size:12px;
  color:#64748b;
}
.dashboard-support-strip{
  padding:18px 20px;
}
.support-strip-grid{
  gap:12px;
}
.support-strip-card{
  border:1px solid #e7edf5;
  border-radius:18px;
  padding:14px;
  background:#f8fafc !important;
}
.support-strip-card > span{
  width:42px;
  height:42px;
}
.support-strip-card svg{
  width:23px;
  height:23px;
}
@media (max-width:1120px){
  .dashboard-topbar{padding:20px;}
  .dashboard-row.two,.dashboard-row.profile-priority,.dashboard-profile-content{grid-template-columns:1fr;}
}
@media (max-width:720px){
  .dashboard-topbar{border-radius:22px;}
  .dashboard-titleblock h1{font-size:30px;}
  .dashboard-kpi-card{min-height:96px;}
  .dashboard-panel{border-radius:20px;padding:16px;}
  .priority-card{min-height:auto;}
}


:root{
  --bg:#f5f7fb;
  --ink:#0f172a;
  --muted:#64748b;
  --line:#e3e8f0;
  --card:#ffffff;
  --blue:#0b56c6;
  --gold:#e5b24b;
  --shadow:0 10px 26px rgba(15,23,42,.055);
  --radius:18px;
}
html,body{
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  background:#f5f7fb !important;
  color:#0f172a !important;
}
.card,.btn,input,select,textarea,button{font-family:inherit !important;}
.ebic-reference-shell{
  grid-template-columns:232px minmax(0,1fr) !important;
  background:linear-gradient(180deg,#f7f9fd 0%,#f3f6fb 100%) !important;
}
.ebic-reference-shell.sidebar-collapsed{grid-template-columns:74px minmax(0,1fr) !important;}
.reference-main{padding:22px 28px 30px !important;}
.reference-sidebar{
  padding:18px 10px 16px !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.24) transparent;
  box-shadow:8px 0 24px rgba(6,24,52,.12) !important;
}
.reference-sidebar::-webkit-scrollbar{width:6px;}
.reference-sidebar::-webkit-scrollbar-thumb{background:rgba(255,255,255,.24);border-radius:99px;}
.sidebar-minimize{
  top:14px !important;
  right:10px !important;
  width:32px !important;
  height:32px !important;
  border-radius:11px !important;
  opacity:.9;
}
.reference-brand{
  min-height:104px !important;
  padding:16px 10px 18px !important;
  justify-content:flex-start !important;
}
.reference-brand .full-logo{
  width:185px !important;
  max-width:185px !important;
  filter:brightness(0) invert(1) contrast(1.05) !important;
}
.ebic-reference-shell.sidebar-collapsed .reference-brand{
  min-height:50px !important;
  padding:42px 0 4px !important;
}
.ebic-reference-shell.sidebar-collapsed .reference-brand .mark-logo,
.ebic-reference-shell.sidebar-collapsed .reference-brand img{
  display:none !important;
}
.reference-menu{
  flex:1 1 auto !important;
  min-height:0 !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  padding-right:2px !important;
  gap:5px !important;
}
.reference-menu::-webkit-scrollbar{width:0;}
.reference-menu button{
  min-height:40px !important;
  grid-template-columns:28px minmax(0,1fr) !important;
  gap:11px !important;
  padding:8px 10px !important;
  border-radius:12px !important;
  font-size:14px !important;
  font-weight:650 !important;
  letter-spacing:-.01em !important;
}
.reference-menu button svg{width:20px !important;height:20px !important;stroke-width:1.85 !important;}
.reference-menu button.active{box-shadow:inset 3px 0 0 var(--ref-gold) !important;}
.reference-sidebar-bottom{margin-top:12px !important;gap:8px !important;}
.reference-school-card,.reference-user-card{
  padding:10px 9px !important;
  border-radius:13px !important;
  background:rgba(255,255,255,.065) !important;
}
.ebic-reference-shell.sidebar-collapsed .reference-menu button{
  grid-template-columns:1fr !important;
  min-height:42px !important;
  padding:9px 0 !important;
}
.ebic-reference-shell.sidebar-collapsed .reference-sidebar-bottom{display:none !important;}

.dashboard-reference{max-width:1400px !important;margin:0 auto !important;}
.dashboard-topbar{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  gap:18px !important;
  align-items:start !important;
  padding:4px 2px 14px !important;
  margin-bottom:14px !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
.dashboard-titleblock h1{
  font-size:clamp(27px,2vw,34px) !important;
  line-height:1.05 !important;
  font-weight:750 !important;
  letter-spacing:-.035em !important;
  color:#0f172a !important;
}
.dashboard-titleblock p{
  display:block !important;
  margin:7px 0 0 !important;
  max-width:650px !important;
  font-size:14px !important;
  line-height:1.45 !important;
  color:#64748b !important;
}
.dashboard-controls{
  display:grid !important;
  grid-template-columns:auto auto !important;
  gap:9px !important;
  padding-top:2px !important;
  justify-content:end !important;
}
.dashboard-newcase{grid-column:2 !important;}
.dashboard-select,.dashboard-secondary,.dashboard-newcase{
  height:38px !important;
  border-radius:12px !important;
  padding:0 14px !important;
  font-size:14px !important;
  font-weight:650 !important;
  box-shadow:0 4px 12px rgba(15,23,42,.045) !important;
}
.dashboard-newcase{background:#0b56c6 !important;}
.dashboard-select svg,.dashboard-secondary svg,.dashboard-newcase svg{width:17px !important;height:17px !important;}
.dashboard-kpi-grid{
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:10px !important;
  margin-bottom:12px !important;
}
.dashboard-kpi-card{
  grid-template-columns:40px minmax(0,1fr) !important;
  min-height:82px !important;
  padding:13px 14px !important;
  gap:11px !important;
  border-radius:16px !important;
  border:1px solid rgba(226,232,240,.95) !important;
  box-shadow:0 6px 18px rgba(15,23,42,.04) !important;
  background:rgba(255,255,255,.92) !important;
}
.dashboard-kpi-icon{width:40px !important;height:40px !important;}
.dashboard-kpi-icon svg{width:21px !important;height:21px !important;}
.dashboard-kpi-title{font-size:12px !important;font-weight:650 !important;color:#64748b !important;margin-bottom:3px !important;}
.dashboard-kpi-value{font-size:clamp(20px,1.55vw,27px) !important;font-weight:760 !important;letter-spacing:-.035em !important;color:#0f172a !important;margin-bottom:2px !important;}
.dashboard-kpi-subtitle{font-size:12px !important;line-height:1.2 !important;color:#64748b !important;}
.dashboard-kpi-track{height:3px !important;margin-top:8px !important;background:#edf1f6 !important;}
.dashboard-left,.dashboard-row{gap:10px !important;}
.dashboard-panel{
  border-radius:17px !important;
  padding:15px 17px !important;
  border:1px solid rgba(226,232,240,.95) !important;
  box-shadow:0 6px 18px rgba(15,23,42,.038) !important;
  background:rgba(255,255,255,.94) !important;
}
.dashboard-panel h2{
  font-size:15px !important;
  font-weight:700 !important;
  margin-bottom:10px !important;
  letter-spacing:-.015em !important;
}
.dashboard-panel h2 svg{width:17px !important;height:17px !important;}
.dashboard-narrative p{font-size:13px !important;line-height:1.52 !important;color:#334155 !important;margin-bottom:10px !important;}
.dashboard-row.two{grid-template-columns:minmax(280px,.95fr) minmax(360px,1.05fr) !important;}
.dashboard-index-row{grid-template-columns:minmax(155px,.9fr) minmax(130px,1fr) 42px !important;gap:10px !important;margin:8px 0 !important;}
.dashboard-index-row span,.dashboard-index-row strong{font-size:13px !important;font-weight:650 !important;}
.dashboard-bar{height:7px !important;}
.dashboard-row.profile-priority{grid-template-columns:minmax(0,1fr) minmax(280px,310px) !important;}
.dashboard-profile-content{grid-template-columns:minmax(210px,.68fr) minmax(330px,1.32fr) !important;gap:12px !important;}
.dashboard-profile-panel{min-height:0 !important;}
.dashboard-radar svg{max-width:235px !important;}
.dashboard-area-table{gap:5px !important;}
.dashboard-area-head{font-size:11px !important;grid-template-columns:minmax(0,1fr) 48px 62px !important;padding-left:28px !important;}
.dashboard-area-row{grid-template-columns:20px minmax(0,1fr) 44px 62px !important;gap:8px !important;min-height:24px !important;}
.dashboard-area-row b{width:19px !important;height:19px !important;font-size:10px !important;font-weight:700 !important;}
.dashboard-area-row span,.dashboard-area-row strong{font-size:12px !important;}
.mini-status,.dashboard-area-row em{font-size:10px !important;padding:4px 7px !important;border-radius:7px !important;}
.dashboard-priority-panel{gap:9px !important;}
.priority-card{
  min-height:62px !important;
  padding:10px 11px !important;
  border-radius:14px !important;
  grid-template-columns:34px minmax(0,1fr) 16px !important;
  gap:10px !important;
  background:#f8fafc !important;
  box-shadow:none !important;
}
.priority-card > span{width:34px !important;height:34px !important;border-radius:11px !important;}
.priority-card > span svg{width:18px !important;height:18px !important;}
.priority-card strong{font-size:13px !important;font-weight:700 !important;}
.priority-card small{font-size:11px !important;line-height:1.25 !important;}
.dashboard-support-strip{padding:15px 17px !important;}
.support-strip-grid{gap:10px !important;}
.support-strip-card{border-radius:14px !important;padding:12px !important;gap:10px !important;}
.support-strip-card > span{width:34px !important;height:34px !important;border-radius:11px !important;}
.support-strip-card svg{width:18px !important;height:18px !important;}
.support-strip-card strong{font-size:12px !important;}
.support-strip-card li{font-size:11px !important;line-height:1.35 !important;}


.cases-page{max-width:1280px;margin:0 auto;}
.cases-topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px;}
.cases-title h1{margin:0;font-size:clamp(28px,2vw,36px);font-weight:760;letter-spacing:-.035em;color:#0f172a;}
.cases-title p{margin:7px 0 0;color:#64748b;font-size:14px;line-height:1.45;}
.cases-new-btn{height:42px;border-radius:13px;padding:0 18px;box-shadow:0 8px 18px rgba(11,86,198,.16);}
.cases-panel{background:transparent;border:0;box-shadow:none;padding:0;}
.case-card-list{display:grid;gap:9px;}
.case-row-card{
  display:grid;
  grid-template-columns:minmax(160px,1.1fr) 104px minmax(110px,.7fr) minmax(120px,.75fr) 102px auto;
  align-items:center;
  gap:14px;
  padding:13px 14px;
  border:1px solid rgba(226,232,240,.95);
  border-radius:17px;
  background:rgba(255,255,255,.94);
  box-shadow:0 6px 18px rgba(15,23,42,.035);
}
.case-row-code{font-weight:720;color:#0f172a;font-size:15px;line-height:1.2;}
.case-row-meta,.case-row-level span,.case-row-date span{display:block;font-size:12px;color:#64748b;line-height:1.2;margin-top:3px;}
.case-row-level strong,.case-row-date strong{font-size:13px;color:#0f172a;font-weight:650;white-space:nowrap;}
.case-row-progress{display:grid;gap:6px;}
.case-row-progress span{font-size:12px;font-weight:700;color:#0f172a;}
.case-row-card .table-progress-bar{height:5px;min-width:86px;background:#edf1f6;}
.case-list-actions{display:flex !important;align-items:center !important;justify-content:flex-end !important;gap:8px !important;min-width:0 !important;}
.case-open-btn{min-width:78px !important;height:36px !important;border-radius:12px !important;padding:0 14px !important;font-size:13px !important;box-shadow:none !important;}
.case-actions-summary{height:36px !important;min-width:64px !important;border-radius:12px !important;padding:8px 12px !important;font-size:13px !important;box-shadow:none !important;background:#fff !important;}
.case-actions-panel{position:absolute !important;right:0 !important;top:calc(100% + 8px) !important;min-width:190px !important;border-radius:15px !important;box-shadow:0 18px 34px rgba(15,23,42,.12) !important;z-index:50 !important;}
.case-action-link{font-size:13px !important;padding:10px 12px !important;}
.status{font-size:11px !important;padding:5px 9px !important;font-weight:650 !important;}
.cases-empty{padding:26px;border:1px dashed #cfd8e6;border-radius:18px;background:#fff;text-align:left;}
.cases-empty h2{margin:0 0 6px;font-size:20px;}
.cases-empty p{margin:0 0 16px;color:#64748b;}

@media (max-width:1280px){
  .dashboard-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
  .dashboard-row.two,.dashboard-row.profile-priority,.dashboard-profile-content{grid-template-columns:1fr !important;}
  .dashboard-radar svg{max-width:260px !important;}
  .case-row-card{grid-template-columns:minmax(150px,1.2fr) 98px minmax(90px,.6fr) minmax(115px,.7fr) auto;}
  .case-row-date{display:none;}
}
@media (max-width:980px){
  .reference-main{padding:68px 15px 22px !important;}
  .dashboard-topbar{display:block !important;}
  .dashboard-controls{display:grid !important;grid-template-columns:1fr !important;margin-top:14px;}
  .dashboard-newcase{grid-column:auto !important;}
  .dashboard-select,.dashboard-secondary,.dashboard-newcase{width:100% !important;justify-content:center !important;}
  .case-row-card{grid-template-columns:1fr;align-items:start;gap:10px;padding:14px;}
  .case-list-actions{justify-content:stretch !important;width:100% !important;}
  .case-open-btn,.case-actions-menu,.case-actions-summary{width:100% !important;}
  .case-actions-panel{position:static !important;margin-top:8px !important;min-width:0 !important;}
}
@media (max-width:720px){
  .dashboard-kpi-grid{grid-template-columns:1fr !important;}
  .dashboard-titleblock h1,.cases-title h1{font-size:27px !important;}
  .dashboard-panel,.dashboard-kpi-card{border-radius:16px !important;}
  .cases-topbar{display:grid;gap:12px;}
  .cases-new-btn{width:100%;}
}


.ebic-reference-shell{
  grid-template-columns:220px minmax(0,1fr) !important;
}
.ebic-reference-shell.sidebar-collapsed{
  grid-template-columns:70px minmax(0,1fr) !important;
}
.reference-main{
  padding:24px 30px 32px !important;
}
.reference-sidebar{
  padding:14px 8px 14px !important;
  gap:8px !important;
  background:linear-gradient(180deg,#062452 0%,#071d41 100%) !important;
  box-shadow:7px 0 22px rgba(6,24,52,.14) !important;
}
.sidebar-minimize{
  top:10px !important;
  right:10px !important;
  width:31px !important;
  height:31px !important;
  border-radius:10px !important;
  background:rgba(255,255,255,.06) !important;
  border-color:rgba(255,255,255,.12) !important;
}
.reference-brand{
  height:88px !important;
  min-height:88px !important;
  padding:48px 10px 8px !important;
  align-items:flex-start !important;
  justify-content:flex-start !important;
  border:0 !important;
}
.reference-brand .full-logo{
  width:164px !important;
  max-width:164px !important;
  height:auto !important;
  object-fit:contain !important;
  filter:brightness(0) invert(1) contrast(1.04) !important;
}
.ebic-reference-shell.sidebar-collapsed .reference-brand{
  height:44px !important;
  min-height:44px !important;
  padding:38px 0 0 !important;
}
.ebic-reference-shell.sidebar-collapsed .reference-brand .full-logo,
.ebic-reference-shell.sidebar-collapsed .reference-brand .mark-logo,
.ebic-reference-shell.sidebar-collapsed .reference-brand img{
  display:none !important;
}
.reference-menu{
  gap:3px !important;
  padding-right:2px !important;
  scrollbar-width:none !important;
}
.reference-menu::-webkit-scrollbar{display:none !important;}
.reference-menu button{
  min-height:37px !important;
  grid-template-columns:26px minmax(0,1fr) !important;
  gap:9px !important;
  padding:7px 9px !important;
  border-radius:11px !important;
  font-size:13.5px !important;
  font-weight:630 !important;
  color:rgba(255,255,255,.88) !important;
  letter-spacing:-.005em !important;
  border:1px solid transparent !important;
}
.reference-menu button .nav-icon{
  width:23px !important;
  height:23px !important;
}
.reference-menu button svg{
  width:18px !important;
  height:18px !important;
  stroke-width:1.8 !important;
}
.reference-menu button.active{
  background:rgba(255,255,255,.082) !important;
  border-color:rgba(255,255,255,.08) !important;
  box-shadow:inset 3px 0 0 var(--gold) !important;
  color:#fff !important;
}
.reference-menu button:hover{
  background:rgba(255,255,255,.06) !important;
}
.reference-sidebar-bottom{
  margin-top:8px !important;
  gap:7px !important;
}
.reference-school-card,.reference-user-card{
  padding:8px 9px !important;
  border-radius:12px !important;
  background:rgba(255,255,255,.055) !important;
  border-color:rgba(255,255,255,.075) !important;
}
.reference-school-card strong,.reference-user-card strong{
  font-size:12.5px !important;
  font-weight:640 !important;
}
.reference-school-card small,.reference-user-card small{
  font-size:10.5px !important;
}
.reference-avatar{
  width:29px !important;
  height:29px !important;
  font-size:11px !important;
}
.ebic-reference-shell.sidebar-collapsed .reference-menu button{
  min-height:38px !important;
  padding:8px 0 !important;
  border-radius:11px !important;
}
.ebic-reference-shell.sidebar-collapsed .reference-menu button.active{
  box-shadow:inset 3px 0 0 var(--gold) !important;
}

.dashboard-reference{
  max-width:1360px !important;
}
.dashboard-titleblock h1{
  font-size:clamp(26px,1.9vw,32px) !important;
  font-weight:720 !important;
}
.dashboard-titleblock p{
  font-size:13.5px !important;
  color:#6b7280 !important;
}
.dashboard-controls{
  gap:8px !important;
}
.dashboard-select,.dashboard-secondary,.dashboard-newcase{
  height:36px !important;
  border-radius:11px !important;
  padding:0 12px !important;
  font-size:13.5px !important;
  font-weight:630 !important;
  box-shadow:0 3px 10px rgba(15,23,42,.035) !important;
}
.dashboard-select select{
  appearance:none !important;
  -webkit-appearance:none !important;
  -moz-appearance:none !important;
  padding-right:0 !important;
  cursor:pointer !important;
}
.dashboard-select > svg:last-child{
  pointer-events:none !important;
  width:14px !important;
  height:14px !important;
  opacity:.72 !important;
}
.dashboard-kpi-grid{
  gap:9px !important;
}
.dashboard-kpi-card{
  min-height:78px !important;
  padding:12px 13px !important;
  border-radius:15px !important;
  box-shadow:0 4px 14px rgba(15,23,42,.034) !important;
}
.dashboard-panel{
  border-radius:16px !important;
  box-shadow:0 4px 14px rgba(15,23,42,.032) !important;
}
.dashboard-panel h2{
  font-weight:660 !important;
}


.case-row-card{
  box-shadow:0 4px 14px rgba(15,23,42,.032) !important;
  border-radius:16px !important;
}
.case-open-btn,.case-actions-summary{
  height:34px !important;
  border-radius:11px !important;
  font-size:12.5px !important;
  font-weight:650 !important;
}

@media (max-width:980px){
  .reference-main{padding:66px 14px 22px !important;}
  .dashboard-titleblock h1{font-size:26px !important;}
  .dashboard-controls{grid-template-columns:1fr !important;}
}

.ebic-reference-shell{
  grid-template-columns:216px minmax(0,1fr) !important;
}
.ebic-reference-shell.sidebar-collapsed{
  grid-template-columns:68px minmax(0,1fr) !important;
}
.reference-sidebar{
  position:sticky !important;
  top:0 !important;
  height:100vh !important;
  min-height:100vh !important;
  overflow:hidden !important;
  display:flex !important;
  flex-direction:column !important;
  gap:8px !important;
  padding:12px 8px 12px !important;
  background:linear-gradient(180deg,#062452 0%,#071d41 100%) !important;
}
.sidebar-minimize{
  z-index:5 !important;
}
.reference-brand{
  flex:0 0 auto !important;
  height:92px !important;
  min-height:92px !important;
  padding:34px 10px 10px !important;
  margin:0 !important;
  display:flex !important;
  align-items:flex-start !important;
  justify-content:flex-start !important;
  overflow:hidden !important;
  border:0 !important;
}
.reference-brand .full-logo{
  display:block !important;
  width:168px !important;
  max-width:168px !important;
  height:auto !important;
  max-height:54px !important;
  object-fit:contain !important;
  filter:brightness(0) invert(1) contrast(1.05) !important;
}
.reference-brand .mark-logo{
  display:none !important;
}
.reference-menu{
  flex:1 1 auto !important;
  min-height:0 !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  margin:0 !important;
  padding:0 2px 0 0 !important;
  gap:4px !important;
  scrollbar-width:thin !important;
  scrollbar-color:rgba(255,255,255,.18) transparent !important;
}
.reference-menu::-webkit-scrollbar{
  width:4px !important;
  display:block !important;
}
.reference-menu::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,.18) !important;
  border-radius:999px !important;
}
.reference-menu button{
  min-height:39px !important;
  padding:8px 10px !important;
  border-radius:11px !important;
  grid-template-columns:26px minmax(0,1fr) !important;
  gap:10px !important;
  font-size:13.5px !important;
  font-weight:640 !important;
}
.reference-menu button .nav-icon{
  width:22px !important;
  height:22px !important;
}
.reference-menu button svg{
  width:18px !important;
  height:18px !important;
}
.reference-sidebar-bottom{
  flex:0 0 auto !important;
  margin-top:6px !important;
  gap:7px !important;
}
.reference-school-card,.reference-user-card{
  min-height:0 !important;
  padding:8px 9px !important;
  border-radius:12px !important;
}
.ebic-reference-shell.sidebar-collapsed .reference-brand{
  display:none !important;
  height:0 !important;
  min-height:0 !important;
  padding:0 !important;
}
.ebic-reference-shell.sidebar-collapsed .reference-menu{
  padding-top:42px !important;
}
.ebic-reference-shell.sidebar-collapsed .reference-menu button{
  grid-template-columns:1fr !important;
  justify-items:center !important;
  padding:8px 0 !important;
}
.ebic-reference-shell.sidebar-collapsed .reference-sidebar-bottom{
  display:none !important;
}
@media (max-width:980px){
  .reference-sidebar{display:none !important;}
}

.ebic-reference-shell{
  grid-template-columns:216px minmax(0,1fr) !important;
}
.ebic-reference-shell.sidebar-collapsed{
  grid-template-columns:68px minmax(0,1fr) !important;
}
.reference-sidebar{
  position:sticky !important;
  top:0 !important;
  height:100vh !important;
  min-height:100vh !important;
  overflow:hidden !important;
  display:flex !important;
  flex-direction:column !important;
  gap:12px !important;
  padding:14px 9px 12px !important;
  background:linear-gradient(180deg,#062553 0%,#071d41 100%) !important;
  box-shadow:8px 0 22px rgba(6,24,52,.13) !important;
}
.sidebar-minimize{
  position:absolute !important;
  top:12px !important;
  right:10px !important;
  width:32px !important;
  height:32px !important;
  border-radius:11px !important;
  z-index:10 !important;
}
.reference-brand{
  flex:0 0 auto !important;
  height:126px !important;
  min-height:126px !important;
  padding:46px 8px 14px !important;
  margin:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:hidden !important;
  border:0 !important;
  background:transparent !important;
}
.reference-brand .full-logo{
  display:block !important;
  width:178px !important;
  max-width:178px !important;
  height:auto !important;
  max-height:none !important;
  object-fit:contain !important;
  filter:brightness(0) invert(1) contrast(1.05) !important;
  opacity:.98 !important;
}
.reference-brand .mark-logo{
  display:none !important;
}
.reference-menu{
  flex:1 1 auto !important;
  min-height:0 !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  margin:0 !important;
  padding:2px 2px 2px 0 !important;
  display:flex !important;
  flex-direction:column !important;
  gap:5px !important;
  scrollbar-width:thin !important;
  scrollbar-color:rgba(255,255,255,.22) transparent !important;
}
.reference-menu::-webkit-scrollbar{
  width:4px !important;
  display:block !important;
}
.reference-menu::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,.22) !important;
  border-radius:999px !important;
}
.reference-menu button{
  min-height:40px !important;
  padding:8px 10px !important;
  border-radius:12px !important;
  display:grid !important;
  grid-template-columns:27px minmax(0,1fr) !important;
  align-items:center !important;
  gap:10px !important;
  font-size:13.7px !important;
  font-weight:640 !important;
  color:rgba(255,255,255,.90) !important;
  background:transparent !important;
  border:1px solid transparent !important;
  box-shadow:none !important;
}
.reference-menu button .nav-icon{
  width:22px !important;
  height:22px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
.reference-menu button svg{
  width:18px !important;
  height:18px !important;
  stroke-width:1.85 !important;
}
.reference-menu button.active{
  background:rgba(255,255,255,.085) !important;
  border-color:rgba(255,255,255,.08) !important;
  color:#fff !important;
  box-shadow:inset 3px 0 0 var(--gold) !important;
}
.reference-menu button:hover{
  background:rgba(255,255,255,.055) !important;
}
.reference-sidebar-bottom{
  flex:0 0 auto !important;
  display:flex !important;
  flex-direction:column !important;
  gap:7px !important;
  margin-top:6px !important;
}
.reference-school-card,.reference-user-card{
  min-height:0 !important;
  padding:8px 9px !important;
  border-radius:12px !important;
}
.ebic-reference-shell.sidebar-collapsed .reference-brand{
  display:none !important;
  height:0 !important;
  min-height:0 !important;
  padding:0 !important;
}
.ebic-reference-shell.sidebar-collapsed .reference-menu{
  padding-top:44px !important;
}
.ebic-reference-shell.sidebar-collapsed .reference-menu button{
  grid-template-columns:1fr !important;
  justify-items:center !important;
  padding:8px 0 !important;
}
.ebic-reference-shell.sidebar-collapsed .reference-menu button .nav-text{
  display:none !important;
}
.ebic-reference-shell.sidebar-collapsed .reference-sidebar-bottom{
  display:none !important;
}
@media (max-width:980px){
  .reference-sidebar{display:none !important;}
}

.ebic-return-heading{
  margin:22px 0 8px;
  font-size:1rem;
  line-height:1.25;
  color:#173761;
  letter-spacing:.01em;
}
.ebic-narrative-card .ebic-return-heading:first-child{margin-top:0}
.language-bank-details{margin-top:10px;border:1px solid var(--line);border-radius:16px;background:#fbfcff;padding:14px}
.language-bank-details summary{cursor:pointer;font-weight:700;color:var(--ink)}
.language-bank-list{margin-top:14px;display:grid;gap:12px}
.language-bank-list ul{margin:6px 0 0 20px;padding:0;color:#334155;line-height:1.55}
.language-bank-list li{margin-bottom:8px}
.language-bank-list span{color:#475569}


#report-participation .ebic-index-grid,
#report-participation .ebic-index-grid-v64{
  grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr) !important;
  align-items:stretch !important;
  max-width:100% !important;
  overflow:visible !important;
}
#report-participation .ebic-score-list{
  min-width:0 !important;
  max-width:100% !important;
  overflow:visible !important;
}
#report-participation .ebic-score-row,
#report-participation .ebic-score-row-v64{
  grid-template-columns:minmax(190px,.9fr) minmax(130px,1fr) minmax(46px,auto) !important;
  gap:12px !important;
  max-width:100% !important;
  overflow:visible !important;
}
#report-participation .ebic-score-row strong{
  min-width:0 !important;
  overflow-wrap:anywhere !important;
}
#report-participation .ebic-score-row .ebic-meter{
  min-width:0 !important;
}
#report-participation .ebic-score-row .pct{
  min-width:46px !important;
  text-align:right !important;
  white-space:nowrap !important;
  overflow:visible !important;
}
.ebic-return-heading{
  margin:24px 0 8px !important;
  padding-top:2px !important;
  font-size:1.02rem !important;
  line-height:1.25 !important;
  color:#123667 !important;
  letter-spacing:.005em !important;
}
.ebic-narrative-card .ebic-return-heading:first-child{margin-top:0 !important;}
@media (max-width:1180px){
  #report-participation .ebic-index-grid,
  #report-participation .ebic-index-grid-v64{grid-template-columns:1fr !important;}
}
@media (max-width:760px){
  #report-participation .ebic-score-row,
  #report-participation .ebic-score-row-v64{grid-template-columns:1fr !important;}
  #report-participation .ebic-score-row .pct{text-align:left !important;}
}


#report-participation .ebic-index-grid-v65{
  display:grid !important;
  grid-template-columns: minmax(240px,.55fr) minmax(0,1.45fr) !important;
  gap:18px !important;
  max-width:100% !important;
  overflow:visible !important;
}
#report-participation .ebic-score-list-v65{
  min-width:0 !important;
  max-width:100% !important;
  overflow:visible !important;
}
#report-participation .ebic-score-row-v65{
  display:grid !important;
  grid-template-columns:minmax(210px, .85fr) minmax(120px, 1fr) 54px !important;
  align-items:center !important;
  gap:12px !important;
  min-width:0 !important;
  max-width:100% !important;
  overflow:visible !important;
}
#report-participation .ebic-score-row-v65 strong{min-width:0 !important; overflow-wrap:anywhere !important;}
#report-participation .ebic-score-row-v65 .ebic-meter{min-width:0 !important; max-width:100% !important;}
#report-participation .ebic-score-row-v65 .pct{min-width:52px !important; text-align:right !important; white-space:nowrap !important; overflow:visible !important;}
@media (max-width:1100px){
  #report-participation .ebic-index-grid-v65{grid-template-columns:1fr !important;}
  #report-participation .ebic-score-row-v65{grid-template-columns:minmax(170px,.9fr) minmax(120px,1fr) 54px !important;}
}
@media (max-width:700px){
  #report-participation .ebic-score-row-v65{grid-template-columns:1fr !important; gap:8px !important;}
  #report-participation .ebic-score-row-v65 .pct{text-align:left !important;}
}

.ebic-insight-v67 .meaning strong{letter-spacing:.01em}
.ebic-insight-list-v67 .ebic-insight{min-height:auto}
.ebic-insight-v67 p{line-height:1.55}


.ebic-insight-primary{
  border:1px solid rgba(11,86,198,.20);
  background:linear-gradient(135deg,#f7fbff,#ffffff);
  box-shadow:0 18px 34px rgba(15,23,42,.06);
  margin-bottom:18px;
}
.ebic-insight-primary h3{font-size:1.25rem;margin-bottom:.5rem;color:#0b2b5c}
.ebic-insight-primary p{font-size:1.02rem;line-height:1.65;color:#23395d}
.ebic-insight-list-v69{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.ebic-insight-v69{
  padding:24px;
  border-radius:22px;
  border:1px solid #d9e3f2;
  background:#fff;
  box-shadow:0 14px 28px rgba(15,23,42,.045);
}
.ebic-insight-v69 h3{font-size:1.18rem;line-height:1.22;margin:0 0 12px;color:#0b2b5c}
.ebic-insight-v69 p{line-height:1.62;margin:0 0 12px;color:#243b5a}
.ebic-insight-v69 .meaning{
  border-top:1px solid #e4ebf5;
  padding-top:12px;
  margin-top:14px;
}
.ebic-evidence-list{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.ebic-evidence{font-size:.9rem;line-height:1.25;padding:7px 11px;border-radius:999px;background:#eef5ff;border:1px solid #d8e7fb;color:#113b73}
@media (max-width: 980px){
  .ebic-insight-list-v69{grid-template-columns:1fr}
  .ebic-insight-v69{padding:18px}
}


.ebic-evidence-wrap{margin-top:12px;display:grid;gap:8px}
.ebic-evidence-label{font-size:12px;font-weight:700;color:#64748b;letter-spacing:.02em;text-transform:uppercase}
.ebic-insight .meaning{margin-top:10px;color:#334155}

.ebic-build-marker{
  margin-top:18px;
  padding-top:8px;
  border-top:1px solid rgba(148,163,184,.22);
  font-size:10px;
  line-height:1.2;
  color:#94a3b8;
  letter-spacing:.02em;
  text-align:right;
  font-family:Georgia,"Times New Roman",serif;
}
@media print{
  .ebic-build-marker{font-size:8px;color:#a8a8a8;border-top:0;margin-top:10px;}
}

.ebic-build-marker-runtime{font-size:10px!important;color:#9ca3af!important;margin-top:18px!important;text-align:right!important;font-weight:400!important;letter-spacing:.01em!important;}

.ebic-action-plan{margin-top:18px;border:1px solid #dbe4f0;border-radius:22px;background:#fbfcff;padding:18px;display:grid;gap:16px;}
.ebic-action-plan-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;border-bottom:1px solid #e2e8f1;padding-bottom:12px;}
.ebic-action-plan h3,.ebic-action-plan h4{margin:0;color:#173761;}
.ebic-action-plan p{line-height:1.6;}
.ebic-plan-priority,.ebic-plan-goals,.ebic-plan-section,.ebic-plan-followup{border:1px solid #e2e8f1;border-radius:18px;background:#fff;padding:16px;}
.ebic-plan-priority p,.ebic-plan-goals ul,.ebic-plan-section ul,.ebic-plan-followup ul{margin-bottom:0;}
.plan-evidence{margin-top:10px;}
.ebic-action-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px;}
.ebic-action-card{border:1px solid #dbe4f0;border-radius:16px;background:#f8fafc;padding:14px;min-width:0;}
.ebic-action-card h4{font-size:1rem;line-height:1.35;margin-bottom:10px;}
.ebic-action-card dl{margin:0;display:grid;gap:7px;}
.ebic-action-card dt{font-size:.74rem;letter-spacing:.05em;text-transform:uppercase;color:#72839a;font-weight:800;}
.ebic-action-card dd{margin:0;color:#334155;line-height:1.5;}
.ebic-plan-phases{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px;}
.ebic-plan-phases article{border:1px solid #dbe4f0;border-radius:16px;background:#f8fafc;padding:14px;}
.ebic-plan-phases span{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:999px;background:#0b56c6;color:#fff;font-weight:800;margin-bottom:8px;}
.ebic-plan-phases strong{display:block;color:#173761;margin-bottom:6px;}
.ebic-plan-phases p{margin:0;color:#334155;}
.ebic-plan-followup{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;}
@media (max-width:1100px){.ebic-action-card-grid,.ebic-plan-phases,.ebic-plan-followup{grid-template-columns:1fr;}}
@media print{.ebic-action-plan,.ebic-plan-priority,.ebic-plan-goals,.ebic-plan-section,.ebic-plan-followup,.ebic-action-card,.ebic-plan-phases article{break-inside:avoid;}}


/* EBIC 145.5.3: stödprofilens åtgärdsplan */
.plan-evidence .ebic-evidence-label{font-size:12px;font-weight:700;color:var(--muted);margin:0 0 6px;width:100%;}
.ebic-action-card dl{margin:0;}
.ebic-action-card dt{font-weight:700;color:var(--ink);margin-top:8px;}
.ebic-action-card dd{margin:2px 0 0;color:#475569;line-height:1.45;}


/* EBIC 145.5.4: rapportkvalitet och printfinish */
@media print{
  .ebic-report-section,
  .ebic-card,
  .ebic-narrative-card,
  .ebic-action-card,
  .ebic-plan-priority,
  .ebic-plan-goals,
  .ebic-plan-section,
  .ebic-plan-followup,
  .ebic-plan-phases article{
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .ebic-report-radar-svg text{
    display:none !important;
  }
  .ebic-profile-radar-wrap{
    max-width:340px !important;
  }
  .ebic-report-radar-svg{
    max-height:340px !important;
  }
  .ebic-evidence{
    border-radius:10px !important;
    padding:5px 8px !important;
    line-height:1.25 !important;
  }
  .ebic-action-card-grid,
  .ebic-plan-phases,
  .ebic-plan-followup{
    gap:10px !important;
  }
}


/* EBIC 145.5.4.4 – förklaringsikoner */
.ebic-report-section{
  position:relative;
}
.ebic-help-btn{
  position:absolute;
  top:18px;
  right:18px;
  width:30px;
  height:30px;
  border-radius:999px;
  border:1px solid rgba(11,86,198,.22);
  background:#fff;
  color:var(--blue);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:15px;
  line-height:1;
  box-shadow:0 8px 18px rgba(15,23,42,.08);
  cursor:pointer;
  z-index:3;
}
.ebic-help-btn:hover,
.ebic-help-btn:focus{
  background:var(--blue);
  color:#fff;
  border-color:var(--blue);
  outline:none;
}
.ebic-section-head{
  padding-right:42px;
}
.ebic-report-reading-guide{
  position:relative;
  display:flex;
  align-items:flex-start;
  gap:14px;
  margin:0 0 18px 0;
  padding:18px 20px;
  border:1px solid #dbeafe;
  border-radius:18px;
  background:linear-gradient(180deg,#eff6ff 0%, #ffffff 100%);
  box-shadow:0 10px 22px rgba(15,23,42,.08);
}
.ebic-reading-guide-icon{
  flex:0 0 auto;
  width:32px;
  height:32px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#0b56c6;
  color:#fff;
  border:1px solid rgba(11,86,198,.22);
  font-weight:900;
  line-height:1;
  margin-top:2px;
  box-shadow:0 8px 18px rgba(11,86,198,.18);
}
.ebic-report-reading-guide h3{
  margin:0 0 8px 0;
  color:var(--ink);
}
.ebic-report-reading-guide p{
  margin:8px 0 0 0;
  color:#334155;
  line-height:1.55;
}
.ebic-help-overlay{
  display:none;
  position:fixed;
  inset:0;
  z-index:3000;
}
.ebic-help-overlay.open{
  display:block;
}
.ebic-help-backdrop{
  position:absolute;
  inset:0;
  background:rgba(15,23,42,.42);
}
.ebic-help-panel{
  position:relative;
  max-width:680px;
  margin:8vh auto;
  background:#fff;
  border-radius:24px;
  padding:28px 32px 30px;
  box-shadow:0 28px 80px rgba(15,23,42,.30);
  border:1px solid rgba(226,232,240,.9);
}
.ebic-help-close{
  position:absolute;
  top:14px;
  right:14px;
  width:34px;
  height:34px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  color:#334155;
  font-size:22px;
  line-height:1;
  cursor:pointer;
}
.ebic-help-kicker{
  margin:0 0 8px 0;
  color:var(--blue);
  font-size:13px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.ebic-help-panel h2{
  margin:0 0 16px 0;
  color:var(--ink);
  line-height:1.18;
}
.ebic-help-panel p{
  margin:12px 0 0 0;
  color:#334155;
  line-height:1.65;
}
@media (max-width: 720px){
  .ebic-help-panel{
    margin:5vh 14px;
    padding:24px 22px 26px;
  }
  .ebic-help-btn{
    top:14px;
    right:14px;
  }
  .ebic-report-reading-guide{
    padding:16px;
  }
}
@media print{
  .no-print,
  .ebic-help-btn,
  .ebic-help-overlay{
    display:none !important;
  }
  .ebic-section-head{
    padding-right:0 !important;
  }
  .ebic-report-reading-guide{
    box-shadow:none !important;
    border:1px solid #d7deea !important;
    break-inside:avoid;
    page-break-inside:avoid;
  }
}



/* EBIC 145.5.4.5.1 – Elevens perspektiv */
.optional-step{
  font-size:11px;
  font-weight:700;
  opacity:.72;
  margin-left:4px;
}
.student-perspective-card{
  border-color:#dbeafe;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
}
.student-perspective-details summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}
.student-perspective-details summary::-webkit-details-marker{display:none}
.student-perspective-details summary h2{
  margin:2px 0 6px;
}
.student-perspective-summary-pill{
  flex:0 0 auto;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid #bfdbfe;
  background:#eff6ff;
  color:#1d4ed8;
  font-size:13px;
  font-weight:800;
}
.student-perspective-summary-pill.filled{
  border-color:#bbf7d0;
  background:#ecfdf5;
  color:#166534;
}
.student-perspective-body{
  margin-top:18px;
  display:grid;
  gap:18px;
}
.student-perspective-index-row{
  align-items:stretch;
}
.student-own-index{
  border-color:#bfdbfe;
  background:linear-gradient(180deg,#eff6ff,#ffffff);
}
.student-perspective-meta{
  margin-top:2px;
}
.student-score-panel{
  padding:18px;
  border-radius:18px;
  border:1px solid var(--line);
  background:#fff;
}
.student-score-panel h3{
  margin:0 0 4px;
}
.student-score-item{
  display:grid;
  grid-template-columns:minmax(0,1fr) 240px;
  gap:14px;
  align-items:center;
  padding:14px 0;
  border-top:1px solid #eef2f7;
}
.student-score-item:first-of-type{
  margin-top:12px;
}
.student-score-item strong{
  color:var(--ink);
}
.student-score-item p{
  margin:4px 0;
}
.student-score-item select{
  width:100%;
  border:1px solid var(--line);
  border-radius:14px;
  padding:11px 12px;
  background:#fff;
}
.student-tag-section{
  display:grid;
  gap:16px;
}
.student-tag-group{
  padding:16px;
  border-radius:18px;
  border:1px solid var(--line);
  background:#fff;
}
.student-tag-group h4{
  margin:0 0 12px;
  color:var(--ink);
}
.student-tag-grid{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.student-tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 11px;
  border:1px solid #dbe4f0;
  border-radius:999px;
  background:#f8fafc;
  color:#334155;
  font-size:13px;
  cursor:pointer;
  user-select:none;
}
.student-tag input{
  margin:0;
}
.student-tag.checked,
.student-tag:has(input:checked){
  border-color:#93c5fd;
  background:#eff6ff;
  color:#1d4ed8;
}
.student-own-words textarea{
  min-height:96px;
}
.student-perspective-summary{
  margin:14px 0 18px;
  padding:16px;
  border-radius:18px;
  border:1px solid #dbeafe;
  background:linear-gradient(180deg,#eff6ff,#ffffff);
}
.student-perspective-summary-main{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
}
.student-perspective-summary h3{
  margin:0 0 6px;
}
.student-perspective-summary p{
  margin:0;
}
.student-own-index-mini{
  width:min(240px,36%);
  min-width:190px;
  padding:12px;
  border-radius:16px;
  background:#fff;
  border:1px solid #dbeafe;
}
.student-own-index-value{
  font-size:28px;
  line-height:1;
  color:var(--blue);
  font-weight:900;
  margin-bottom:10px;
}
.student-perspective-chip-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}
.student-perspective-chip-row span{
  display:inline-block;
  padding:8px 10px;
  border-radius:12px;
  background:#fff;
  border:1px solid #dbeafe;
  color:#334155;
  font-size:13px;
}
.student-report-grid{
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
  gap:14px;
}
.student-report-index{
  border-color:#bfdbfe;
  background:linear-gradient(180deg,#eff6ff,#fff);
}
.student-report-value{
  font-size:38px;
  line-height:1;
  font-weight:900;
  color:var(--blue);
  margin:8px 0 12px;
}
.student-report-quotes{
  margin-top:14px;
  display:grid;
  gap:10px;
}
.student-quote{
  padding:14px 16px;
  border-radius:16px;
  border:1px solid #e2e8f0;
  background:#f8fafc;
}
.student-quote .label{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:#64748b;
  font-weight:900;
  margin-bottom:6px;
}
.student-quote p{
  margin:0;
  color:#334155;
}
@media (max-width: 980px){
  .student-score-item{
    grid-template-columns:1fr;
  }
  .student-perspective-summary-main,
  .student-perspective-details summary{
    flex-direction:column;
  }
  .student-own-index-mini{
    width:100%;
  }
  .student-report-grid{
    grid-template-columns:1fr;
  }
}
@media print{
  .student-perspective-card{
    background:#fff !important;
  }
}




/* EBIC 145.5.4.5.6 – staplar i rapport och fördjupad sammanställning
   Dashboard lämnas orörd. */

/* Högre värde är bättre: delaktighet, elevens upplevelse och ärendeprogress */
#sammanstallning .participation-meter > span,
#sammanstallning .student-own-index .meter > span,
#sammanstallning .student-own-index-mini .meter > span,
#report-participation .ebic-meter > span,
#report-student-perspective .ebic-meter > span,
.ebic-trend-section-b1 .trend-meter > span,
.progress-card .progress > div,
.case-row-progress .table-progress-bar span{
  background:linear-gradient(90deg,#2f80ed,#0b56c6) !important;
}

/* Lägre värde är bättre: områdesprofil i fördjupad sammanställning */
#sammanstallning .summary-top .summary-list .summary-item:has(.status.lägre) .meter > span{
  background:linear-gradient(90deg,#4ade80,#2f9e57) !important;
}
#sammanstallning .summary-top .summary-list .summary-item:has(.status.förhöjd) .meter > span{
  background:linear-gradient(90deg,#f6c453,#f59e0b) !important;
}
#sammanstallning .summary-top .summary-list .summary-item:has(.status.hög) .meter > span{
  background:linear-gradient(90deg,#fb7185,#ef4444) !important;
}

/* Lägre värde är bättre: områdesprofil i rapport */
.ebic-profile-section-b1 .ebic-profile-list-b1{
  display:grid;
  gap:12px;
}
.ebic-profile-section-b1 .ebic-profile-row-b1{
  padding:16px;
  border:1px solid #d9e4f3;
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 22px rgba(15,23,42,.045);
}
.ebic-profile-section-b1 .ebic-profile-row-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:10px;
}
.ebic-profile-section-b1 .ebic-profile-row-top strong,
.ebic-profile-section-b1 .ebic-profile-row-top span{
  color:#123667;
  font-weight:900;
  font-size:16px;
  line-height:1.25;
}
.ebic-profile-section-b1 .ebic-meter{
  height:10px;
  border-radius:999px;
  background:#e8edf4;
  overflow:hidden;
}
.ebic-profile-section-b1 .ebic-meter > span{
  display:block;
  height:100%;
  border-radius:999px;
}
.ebic-profile-section-b1 .impact-low .ebic-meter > span{
  background:linear-gradient(90deg,#4ade80,#2f9e57) !important;
}
.ebic-profile-section-b1 .impact-elevated .ebic-meter > span{
  background:linear-gradient(90deg,#f6c453,#f59e0b) !important;
}
.ebic-profile-section-b1 .impact-high .ebic-meter > span{
  background:linear-gradient(90deg,#fb7185,#ef4444) !important;
}
.ebic-profile-section-b1 .ebic-profile-row-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:10px;
  color:#5b6f8f;
  font-size:14px;
}
.ebic-profile-section-b1 .status{
  font-size:12px;
  padding:7px 11px;
  border-radius:999px;
}

/* Lägre värde är bättre: områdesrader i rapportens uppföljningsdel */
#report-followup .ebic-area-row:has(.status.lägre) .ebic-meter > span{
  background:linear-gradient(90deg,#4ade80,#2f9e57) !important;
}
#report-followup .ebic-area-row:has(.status.förhöjd) .ebic-meter > span{
  background:linear-gradient(90deg,#f6c453,#f59e0b) !important;
}
#report-followup .ebic-area-row:has(.status.hög) .ebic-meter > span{
  background:linear-gradient(90deg,#fb7185,#ef4444) !important;
}

/* Statuspiller i rapport/sammanställning */
#sammanstallning .status.hög,
.ebic-report-section .status.hög{
  background:#fdecec !important;
  color:#b42335 !important;
  border:1px solid rgba(180,35,53,.12);
}
#sammanstallning .status.förhöjd,
.ebic-report-section .status.förhöjd{
  background:#fff4dc !important;
  color:#a35a00 !important;
  border:1px solid rgba(163,90,0,.14);
}
#sammanstallning .status.lägre,
.ebic-report-section .status.lägre{
  background:#e9f8ef !important;
  color:#167642 !important;
  border:1px solid rgba(22,118,66,.12);
}

/* Mjukare kort i fördjupad områdeslista */
#sammanstallning .summary-top .summary-item{
  border:1px solid #d9e4f3;
  border-radius:18px;
  padding:16px;
  background:#fff;
  margin-bottom:10px;
}
#sammanstallning .summary-top .summary-item .meter{
  height:10px;
  background:#e8edf4;
}

/* Utveckling över tid om jämförelse finns i rapporten */
.ebic-trend-card-b1{
  display:grid;
  gap:0;
  padding:0 !important;
  overflow:hidden;
}
.ebic-trend-row-b1{
  display:grid;
  grid-template-columns:150px minmax(0,1fr) 64px;
  gap:16px;
  align-items:center;
  padding:16px 18px;
  border-bottom:1px solid #edf1f7;
}
.ebic-trend-row-b1:last-child{border-bottom:0}
.ebic-trend-row-b1 .date{
  color:#123667;
  font-weight:750;
}
.ebic-trend-row-b1 .trend-main{
  display:grid;
  grid-template-columns:58px minmax(0,1fr);
  gap:12px;
  align-items:center;
}
.ebic-trend-row-b1 .trend-main strong{
  color:#123667;
  font-weight:900;
  text-align:right;
}
.trend-change{
  justify-self:end;
  min-width:44px;
  text-align:center;
  padding:7px 10px;
  border-radius:999px;
  font-weight:900;
  font-size:13px;
}
.trend-change.up{
  background:#e9f8ef;
  color:#167642;
}
.trend-change.down{
  background:#fdecec;
  color:#b42335;
}
.trend-change.same{
  background:#f1f5f9;
  color:#64748b;
}

@media (max-width:760px){
  .ebic-profile-section-b1 .ebic-profile-row-top,
  .ebic-profile-section-b1 .ebic-profile-row-meta,
  .ebic-trend-row-b1{
    align-items:flex-start;
    flex-direction:column;
  }
  .ebic-trend-row-b1{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
  }
  .ebic-trend-row-b1 .trend-main{
    grid-template-columns:50px minmax(0,1fr);
  }
  .trend-change{
    justify-self:start;
  }
}


/* EBIC 145.5.4.5.7 – radardiagram återställt i rapporten */
.ebic-profile-panel-b1{
  display:grid;
  grid-template-columns:minmax(260px,.85fr) minmax(320px,1.15fr);
  gap:18px;
  align-items:center;
}
.ebic-profile-panel-b1 .ebic-profile-radar-box{
  min-width:0;
}
.ebic-profile-panel-b1 .ebic-profile-list-b1{
  min-width:0;
}
@media (max-width:980px){
  .ebic-profile-panel-b1{
    grid-template-columns:1fr;
  }
}


/* EBIC 145.5.4.5.8 – elevens perspektiv i rapporten ska följa ny blå färg */
#report-student-perspective .participation-meter > span{
  background:linear-gradient(90deg,#2f80ed,#0b56c6) !important;
}

/* EBIC 151.9 – startsida enligt bild 2, vänsterspalt orörd */
.dashboard-v2-page{
  max-width:1360px !important;
  margin:0 auto !important;
  color:#0b1f3f;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.dashboard-v2-topbar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  margin:8px 0 28px;
}
.dashboard-v2-titleblock h1{
  margin:0;
  font-family:Georgia, "Times New Roman", serif;
  font-size:clamp(32px,2.55vw,42px);
  line-height:1;
  font-weight:700;
  letter-spacing:-.035em;
  color:#081b38;
}
.dashboard-v2-titleblock p{
  margin:10px 0 0;
  font-size:14px;
  color:#6b7487;
}
.dashboard-v2-controls{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}
.dashboard-v2-select,
.dashboard-v2-secondary,
.dashboard-v2-newcase{
  height:40px;
  border-radius:11px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:0 14px;
  border:1px solid #dbe3ee;
  background:rgba(255,255,255,.92);
  color:#10213f;
  font-size:13.5px;
  font-weight:700;
  box-shadow:0 8px 18px rgba(15,23,42,.035);
  cursor:pointer;
}
.dashboard-v2-select select{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  border:0;
  background:transparent;
  outline:0;
  color:inherit;
  font:inherit;
  cursor:pointer;
  min-width:160px;
}
.dashboard-v2-select svg,
.dashboard-v2-secondary svg,
.dashboard-v2-newcase svg{
  width:18px;
  height:18px;
  stroke:currentColor;
  fill:none;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.dashboard-v2-newcase{
  border-color:#0b56c6;
  color:#fff;
  background:linear-gradient(135deg,#0b63d8,#0b4fb8);
  box-shadow:0 12px 24px rgba(11,86,198,.20);
}
.dashboard-v2-hero{
  position:relative;
  min-height:262px;
  border-radius:16px;
  border:1px solid rgba(214,222,233,.95);
  overflow:hidden;
  background:#f8fbff url('./assets/dashboard-hero-waves.png') center center / 100% 100% no-repeat;
  box-shadow:0 14px 34px rgba(15,23,42,.05);
  margin-bottom:14px;
  isolation:isolate;
}
.dashboard-v2-hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:linear-gradient(90deg, rgba(249,251,255,.99) 0%, rgba(249,251,255,.985) 24%, rgba(249,251,255,.965) 39%, rgba(249,251,255,.92) 50%, rgba(249,251,255,.58) 62%, rgba(249,251,255,0) 76%);
}
.dashboard-v2-hero-copy{
  position:relative;
  z-index:1;
  width:min(520px,47%);
  padding:35px 0 28px 42px;
}
.dashboard-v2-eyebrow{
  margin-bottom:12px;
  color:#253a63;
  text-transform:uppercase;
  letter-spacing:.05em;
  font-size:11px;
  font-weight:800;
}
.dashboard-v2-hero h2{
  margin:0 0 17px;
  font-family:Georgia,"Times New Roman",serif;
  color:#122a57;
  font-size:clamp(29px,2.34vw,38px);
  line-height:1.04;
  font-weight:500;
  letter-spacing:-.03em;
}
.dashboard-v2-hero p{
  margin:0 0 4px;
  color:#4f5d72;
  font-size:15px;
  line-height:1.46;
}
.dashboard-v2-hero-actions{
  display:flex;
  align-items:center;
  gap:18px;
  margin-top:18px;
  flex-wrap:wrap;
}
.dashboard-v2-hero-actions button{
  height:37px;
  border:0;
  border-radius:8px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:0 16px;
  background:transparent;
  color:#1d3e75;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
}
.dashboard-v2-hero-actions button:first-child{
  background:#0a2e69;
  color:#fff;
  box-shadow:0 10px 18px rgba(7,31,73,.16);
}
.dashboard-v2-hero-actions svg{
  width:17px;
  height:17px;
  stroke:currentColor;
  fill:none;
  stroke-width:2.15;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.dashboard-v2-metrics{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-bottom:10px;
}
.dashboard-v2-metric{
  min-height:126px;
  display:grid;
  grid-template-columns:70px minmax(0,1fr);
  gap:18px;
  align-items:center;
  padding:21px 23px;
  border:1px solid #e1e7f0;
  border-radius:15px;
  background:linear-gradient(180deg,#fff 0%,#fcfdff 100%);
  box-shadow:0 9px 24px rgba(15,23,42,.045);
  cursor:pointer;
  text-align:left;
}
.dashboard-v2-metric.focus{
  grid-template-columns:70px minmax(0,1fr) 18px;
}
.dashboard-v2-metric > i svg{
  width:19px;
  height:19px;
  stroke:#061f45;
  fill:none;
  stroke-width:2.2;
}
.dashboard-v2-metric-icon{
  width:60px;
  height:60px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#eef4ff;
  color:#0b3677;
}
.dashboard-v2-metric.green .dashboard-v2-metric-icon{background:#e9f8ee;color:#18824b;}
.dashboard-v2-metric.focus .dashboard-v2-metric-icon{background:#eef4ff;color:#0b56c6;}
.dashboard-v2-metric-icon svg{
  width:31px;
  height:31px;
  stroke:currentColor;
  fill:none;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.dashboard-v2-metric-label{
  font-size:13px;
  color:#33445f;
  font-weight:700;
  margin-bottom:6px;
}
.dashboard-v2-metric strong{
  display:block;
  margin:0 0 7px;
  font-family:Georgia,"Times New Roman",serif;
  color:#091f40;
  font-size:30px;
  line-height:1;
  letter-spacing:-.02em;
}
.dashboard-v2-metric p{
  margin:0;
  color:#495871;
  font-size:13.5px;
  line-height:1.35;
}
.dashboard-v2-track{
  height:5px;
  margin-top:13px;
  background:#e9edf3;
  border-radius:999px;
  overflow:hidden;
}
.dashboard-v2-track span{
  display:block;
  height:100%;
  background:linear-gradient(90deg,#071f49,#0b63d8);
  border-radius:inherit;
}
.dashboard-v2-metric.green .dashboard-v2-track span{background:#4aae73;}
.dashboard-v2-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-bottom:10px;
}
.dashboard-v2-panel{
  border:1px solid #e1e7f0;
  border-radius:15px;
  background:linear-gradient(180deg,#fff 0%,#fcfdff 100%);
  box-shadow:0 9px 24px rgba(15,23,42,.043);
  padding:21px 24px;
}
.dashboard-v2-panel h3{
  margin:0 0 22px;
  color:#10213f;
  font-size:16px;
  line-height:1.2;
  font-weight:800;
  letter-spacing:-.015em;
}
.dashboard-v2-index-row{
  display:grid;
  grid-template-columns:minmax(180px,.9fr) minmax(160px,1fr) 48px;
  gap:18px;
  align-items:center;
  margin:16px 0;
}
.dashboard-v2-index-row span{
  color:#14213d;
  font-size:13.5px;
  font-weight:700;
}
.dashboard-v2-index-row div{
  height:8px;
  border-radius:999px;
  background:#e8ecf2;
  overflow:hidden;
}
.dashboard-v2-index-row i{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#071f49,#0b63d8);
}
.dashboard-v2-index-row strong{
  font-size:13.5px;
  color:#071f49;
  text-align:right;
  font-weight:800;
}
.dashboard-v2-textlink{
  margin-top:20px;
  border:0;
  background:transparent;
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:#0b3677;
  font-weight:800;
  font-size:13px;
  cursor:pointer;
  padding:0;
}
.dashboard-v2-textlink svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2.1;}
.dashboard-v2-focus-list{
  display:flex;
  flex-direction:column;
}
.dashboard-v2-focus-card{
  width:100%;
  min-height:58px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr) 16px;
  gap:15px;
  align-items:center;
  padding:10px 13px;
  border:1px solid #e1e7f0;
  border-radius:12px;
  background:#fff;
  text-align:left;
  cursor:pointer;
  margin-bottom:8px;
}
.dashboard-v2-focus-card > span{
  width:36px;
  height:36px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#0b56c6;
  background:#eaf2ff;
}
.dashboard-v2-focus-card.tone-2 > span{background:#eaf8ef;color:#16804a;}
.dashboard-v2-focus-card.tone-3 > span{background:#fff1ce;color:#bd8210;}
.dashboard-v2-focus-card svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:2;}
.dashboard-v2-focus-card strong{
  display:block;
  color:#11213f;
  font-size:14px;
  line-height:1.1;
  margin-bottom:4px;
}
.dashboard-v2-focus-card small{
  display:block;
  color:#697386;
  font-size:12px;
  line-height:1.25;
}
.dashboard-v2-support{
  padding:17px 24px 20px;
}
.dashboard-v2-support h3{
  margin-bottom:14px;
}
.dashboard-v2-support-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
}
.dashboard-v2-support-item{
  display:grid;
  grid-template-columns:54px minmax(0,1fr);
  gap:14px;
  align-items:center;
  min-height:84px;
  padding:0 25px;
  border-right:1px solid #dfe6ef;
}
.dashboard-v2-support-item:first-child{padding-left:0;}
.dashboard-v2-support-item:last-child{border-right:0;padding-right:0;}
.dashboard-v2-support-item > span{
  width:48px;
  height:48px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#eaf2ff;
  color:#0b56c6;
}
.dashboard-v2-support-item.green > span{background:#eaf8ef;color:#18824b;}
.dashboard-v2-support-item.gold > span{background:#fff1ce;color:#bd8210;}
.dashboard-v2-support-item svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:2;}
.dashboard-v2-support-item ul{
  margin:0;
  padding-left:18px;
  color:#27364f;
}
.dashboard-v2-support-item li{
  margin:4px 0;
  font-size:12.5px;
  line-height:1.28;
}
@media (max-width:1280px){
  .dashboard-v2-metrics,.dashboard-v2-grid,.dashboard-v2-support-grid{grid-template-columns:1fr;}
  .dashboard-v2-support-item{border-right:0;border-bottom:1px solid #dfe6ef;padding:14px 0;}
  .dashboard-v2-support-item:last-child{border-bottom:0;}
}
@media (max-width:980px){
  .dashboard-v2-topbar{display:block;}
  .dashboard-v2-controls{justify-content:stretch;margin-top:14px;display:grid;grid-template-columns:1fr;}
  .dashboard-v2-select,.dashboard-v2-secondary,.dashboard-v2-newcase{width:100%;}
  .dashboard-v2-hero{min-height:auto;background-position:center bottom;}
  .dashboard-v2-hero-copy{width:100%;padding:30px 24px 150px;}
  .dashboard-v2-hero h2{font-size:28px;}
  .dashboard-v2-index-row{grid-template-columns:1fr;gap:8px;}
  .dashboard-v2-index-row strong{text-align:left;}
}

@media (max-width: 1100px){
  .dashboard-v2-hero{background-position:center right;}
  .dashboard-v2-hero::before{background:linear-gradient(90deg, rgba(249,251,255,.99) 0%, rgba(249,251,255,.98) 44%, rgba(249,251,255,.92) 63%, rgba(249,251,255,.25) 82%, rgba(249,251,255,0) 100%);}  
}
@media (max-width: 760px){
  .dashboard-v2-hero{background-size:cover; min-height:300px;}
  .dashboard-v2-hero-copy{width:auto; padding:30px 22px 24px 22px;}
  .dashboard-v2-hero::before{background:linear-gradient(180deg, rgba(249,251,255,.98) 0%, rgba(249,251,255,.96) 58%, rgba(249,251,255,.78) 100%);}  
}


/* EBIC 151.9.2 – dashboard typography and dynamic hero polish */
.dashboard-v2-page,
.dashboard-v2-page button,
.dashboard-v2-page select{
  font-family:Inter, "Segoe UI", Roboto, Arial, sans-serif;
}
.dashboard-v2-titleblock h1,
.dashboard-v2-hero h2{
  font-family:Georgia, "Times New Roman", serif;
}
.dashboard-v2-hero h2{
  font-size:clamp(29px,2.18vw,37px);
  font-weight:400;
  letter-spacing:-.035em;
  line-height:1.08;
  color:#112854;
  max-width:520px;
}
.dashboard-v2-hero p{
  font-family:Inter, "Segoe UI", Roboto, Arial, sans-serif;
  font-size:14.5px;
  line-height:1.48;
  font-weight:450;
  color:#4a5a71;
  max-width:520px;
}
.dashboard-v2-hero-actions{
  gap:16px;
  margin-top:18px;
}
.dashboard-v2-hero-actions button{
  min-height:36px;
  height:36px;
  border-radius:8px;
  padding:0 15px;
  font-family:Inter, "Segoe UI", Roboto, Arial, sans-serif;
  font-size:12.8px;
  line-height:1;
  font-weight:700;
  letter-spacing:-.005em;
}
.dashboard-v2-hero-actions button:first-child{
  padding:0 17px;
  background:#092b60;
  box-shadow:0 9px 16px rgba(7,31,73,.15);
}
.dashboard-v2-hero-actions svg{
  width:15px;
  height:15px;
  stroke-width:2.05;
}
.dashboard-v2-eyebrow{
  font-family:Inter, "Segoe UI", Roboto, Arial, sans-serif;
  font-size:11px;
  font-weight:800;
  letter-spacing:.055em;
}

/* EBIC 151.11 – Ärendesida enligt alternativ 3, utan ändring av vänsterspalten */
.cases-v3-page{
  max-width:1320px;
}
.cases-v3-topbar{
  margin-bottom:18px !important;
}
.cases-v3-title h1{
  font-size:clamp(32px,3vw,42px) !important;
  letter-spacing:-.045em !important;
  font-weight:780 !important;
}
.cases-v3-title p{
  font-size:15px !important;
  color:#64748b !important;
}
.cases-v3-new-btn{
  height:48px !important;
  border-radius:13px !important;
  padding:0 22px !important;
  font-size:15px !important;
  box-shadow:0 12px 26px rgba(11,86,198,.20) !important;
}
.cases-v3-filter-card{
  background:rgba(255,255,255,.94);
  border:1px solid rgba(226,232,240,.96);
  border-radius:22px;
  box-shadow:0 16px 36px rgba(15,23,42,.055);
  padding:16px;
  margin-bottom:16px;
}
.cases-v3-filter-grid{
  display:grid;
  grid-template-columns:minmax(260px,2.1fr) repeat(5,minmax(128px,1fr));
  gap:12px;
  align-items:stretch;
}
.cases-v3-search,
.cases-v3-select{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:3px;
  min-height:56px;
  border:1px solid rgba(203,213,225,.82);
  border-radius:14px;
  background:#fff;
  padding:9px 13px;
  box-shadow:0 2px 8px rgba(15,23,42,.02);
}
.cases-v3-search span,
.cases-v3-select span{
  font-size:11px;
  line-height:1;
  color:#64748b;
  font-weight:690;
}
.cases-v3-search input,
.cases-v3-select select{
  width:100%;
  border:0;
  outline:0;
  background:transparent;
  color:#0f172a;
  font:inherit;
  font-size:14px;
  font-weight:620;
  padding:0;
}
.cases-v3-search input::placeholder{
  color:#94a3b8;
  font-weight:520;
}
.cases-v3-select select{
  cursor:pointer;
  appearance:auto;
}
.cases-v3-filter-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-top:14px;
  flex-wrap:wrap;
}
.cases-v3-status-row{
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
}
.cases-status-chip{
  min-height:38px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(226,232,240,.92);
  border-radius:10px;
  background:#fff;
  color:#1e293b;
  padding:0 12px;
  font-size:13px;
  font-weight:720;
  cursor:pointer;
  box-shadow:0 2px 8px rgba(15,23,42,.018);
}
.cases-status-chip strong{
  min-width:24px;
  min-height:22px;
  padding:2px 7px;
  border-radius:8px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#f1f5f9;
  color:#334155;
  font-size:12px;
}
.cases-status-chip::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:999px;
  background:#94a3b8;
}
.cases-status-chip.all::before{display:none;}
.cases-status-chip.slutförd::before{background:#16a34a;}
.cases-status-chip.pågående::before{background:#0b56c6;}
.cases-status-chip.utkast::before{background:#7c3aed;}
.cases-status-chip.ejstartad::before{background:#94a3b8;}
.cases-status-chip.active{
  color:#0b56c6;
  border-color:rgba(11,86,198,.34);
  background:#f8fbff;
  box-shadow:0 0 0 3px rgba(11,86,198,.055);
}
.cases-status-chip.active strong{
  background:#eaf2ff;
  color:#0b56c6;
}
.cases-v3-utilities{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
.cases-v3-utilities .btn{
  height:38px;
  border-radius:11px;
  padding:0 13px;
  font-size:13px;
  font-weight:700;
  box-shadow:none;
}
.cases-v3-table-card{
  overflow:hidden;
  border:1px solid rgba(226,232,240,.96);
  border-radius:22px;
  background:rgba(255,255,255,.96);
  box-shadow:0 16px 36px rgba(15,23,42,.055);
}
.cases-v3-table-head,
.cases-v3-row{
  display:grid;
  grid-template-columns:minmax(150px,1.06fr) minmax(116px,.82fr) 70px 104px minmax(120px,.82fr) minmax(130px,.86fr) minmax(112px,.72fr) minmax(118px,.8fr) 118px;
  align-items:center;
  gap:12px;
}
.cases-v3-table-head{
  min-height:46px;
  padding:0 16px;
  background:linear-gradient(180deg,#ffffff,#fbfcff);
  border-bottom:1px solid rgba(226,232,240,.9);
  color:#64748b;
  font-size:11px;
  font-weight:820;
  letter-spacing:.035em;
  text-transform:uppercase;
}
.cases-v3-table-body{
  display:block;
}
.cases-v3-row{
  min-height:64px;
  padding:10px 16px;
  border-bottom:1px solid rgba(226,232,240,.84);
  color:#1e293b;
  font-size:13.5px;
}
.cases-v3-row:last-child{
  border-bottom:0;
}
.cases-v3-row:hover{
  background:#fbfdff;
}
.cases-v3-case-cell{
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:0;
}
.cases-v3-case-cell strong{
  color:#0f172a;
  font-size:15px;
  font-weight:780;
  line-height:1.15;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.cases-v3-case-cell span{
  color:#64748b;
  font-size:12px;
  font-weight:560;
}
.cases-v3-owner{
  color:#334155;
  font-weight:620;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.cases-v3-level{
  color:#0f172a;
  font-weight:660;
}
.cases-v3-progress{
  display:grid;
  gap:6px;
  align-items:center;
}
.cases-v3-progress strong{
  color:#0f172a;
  font-size:12.5px;
  font-weight:760;
}
.cases-v3-progress .table-progress-bar{
  height:5px;
  background:#edf1f6;
  min-width:0;
}
.cases-v3-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
}
.cases-v3-open{
  height:34px !important;
  border-radius:10px !important;
  padding:0 14px !important;
  color:#0b56c6 !important;
  border-color:rgba(11,86,198,.24) !important;
  background:#fff !important;
  font-size:12.5px !important;
  font-weight:760 !important;
  box-shadow:none !important;
}
.cases-v3-open:hover{
  background:#f8fbff !important;
}
.cases-v3-more .case-actions-summary{
  min-width:34px !important;
  width:34px !important;
  height:34px !important;
  border-radius:10px !important;
  padding:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:20px !important;
  line-height:1 !important;
}
.status.ejstartad{
  background:#f1f5f9 !important;
  color:#475569 !important;
}
.cases-v3-no-results{
  padding:28px;
  text-align:left;
}
.cases-v3-no-results h2{
  margin:0 0 6px;
  font-size:20px;
}
.cases-v3-no-results p{
  margin:0 0 14px;
  color:#64748b;
}
.cases-v3-pagination{
  min-height:56px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:14px;
  align-items:center;
  padding:10px 16px;
  border-top:1px solid rgba(226,232,240,.9);
  color:#64748b;
  font-size:13px;
}
.cases-v3-pages{
  display:flex;
  align-items:center;
  gap:6px;
  justify-content:center;
}
.cases-v3-pages .btn{
  min-width:34px;
  height:34px;
  padding:0 10px;
  border-radius:10px;
  box-shadow:none;
}
.cases-v3-pages .btn.active{
  background:#0b56c6;
  color:#fff;
  border-color:#0b56c6;
}
.cases-v3-pages .btn[disabled]{
  opacity:.45;
  cursor:not-allowed;
}
.cases-v3-page-size{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
}
.cases-v3-page-size select{
  border:1px solid rgba(203,213,225,.82);
  border-radius:10px;
  background:#fff;
  padding:7px 28px 7px 10px;
  font:inherit;
  color:#0f172a;
}
@media (max-width:1380px){
  .cases-v3-filter-grid{grid-template-columns:minmax(240px,2fr) repeat(3,minmax(128px,1fr));}
  .cases-v3-table-head,
  .cases-v3-row{grid-template-columns:minmax(150px,1.2fr) minmax(120px,.9fr) 108px minmax(124px,.95fr) minmax(130px,.9fr) minmax(120px,.9fr) 116px;}
  .cases-v3-table-head > div:nth-child(3),
  .cases-v3-row > div:nth-child(3),
  .cases-v3-table-head > div:nth-child(7),
  .cases-v3-row > div:nth-child(7){display:none;}
}
@media (max-width:1120px){
  .cases-v3-filter-grid{grid-template-columns:1fr 1fr;}
  .cases-v3-table-head{display:none;}
  .cases-v3-row{grid-template-columns:1fr;gap:8px;align-items:start;padding:14px 16px;}
  .cases-v3-row > div{display:block;}
  .cases-v3-actions{justify-content:flex-start;}
  .cases-v3-pagination{grid-template-columns:1fr;justify-items:start;}
  .cases-v3-pages{justify-content:flex-start;}
  .cases-v3-page-size{justify-content:flex-start;}
}
@media (max-width:720px){
  .cases-v3-filter-grid{grid-template-columns:1fr;}
  .cases-v3-filter-bottom{align-items:stretch;}
  .cases-v3-status-row,.cases-v3-utilities{width:100%;}
  .cases-status-chip{flex:1 1 auto;justify-content:center;}
  .cases-v3-utilities .btn{flex:1 1 0;}
}


/* EBIC 151.12 – ärendesida: blå progress, ägare och ärendenummer */
.progress > div,
.table-progress-bar span,
.cases-v3-progress .table-progress-bar span{
  background:linear-gradient(90deg,#2f80ed,#0b56c6) !important;
}

/* EBIC 151.14 – matrisens startsida och flyttad Stegvis-tilldelning */
.matrix-card{
  overflow:hidden;
}
.matrix-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:22px;
  align-items:stretch;
  padding:4px 0 18px;
  border-bottom:1px solid rgba(15,23,42,.08);
  margin-bottom:18px;
}
.matrix-hero-copy h2{
  margin:0 0 8px;
  font-size:clamp(28px,2vw,36px);
  line-height:1.05;
  letter-spacing:-.035em;
  color:#071f49;
}
.matrix-hero-copy .small{
  max-width:760px;
  font-size:14px;
  line-height:1.52;
}
.matrix-hero-stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(110px,1fr));
  gap:10px;
  align-self:center;
  min-width:min(520px,100%);
}
.matrix-stat{
  padding:14px 15px;
  border:1px solid rgba(15,23,42,.08);
  border-radius:18px;
  background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);
  box-shadow:0 12px 26px rgba(15,23,42,.045);
}
.matrix-stat span{
  display:block;
  color:#667086;
  font-size:12px;
  font-weight:800;
  letter-spacing:.015em;
  margin-bottom:6px;
}
.matrix-stat strong{
  display:block;
  color:#0b56c6;
  font-size:24px;
  line-height:1;
  letter-spacing:-.02em;
}
.matrix-area-panel{
  padding:16px;
  border:1px solid rgba(15,23,42,.08);
  border-radius:22px;
  background:#fbfcff;
  margin-bottom:8px;
}
.matrix-area-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  margin-bottom:14px;
}
.matrix-area-head h3{
  margin:0 0 4px;
  font-size:18px;
  letter-spacing:-.02em;
}
.matrix-area-progress{
  min-width:180px;
  display:grid;
  gap:8px;
  justify-items:end;
}
.matrix-area-progress span{
  font-weight:900;
  color:#0b56c6;
}
.matrix-area-bar{
  width:180px;
  height:8px;
  border-radius:999px;
  background:#e8edf4;
  overflow:hidden;
}
.matrix-area-bar i{
  display:block;
  height:100%;
  border-radius:999px;
  background:#0b56c6;
}
.matrix-area-nav{
  margin:0;
}
.matrix-area-nav button{
  min-height:40px;
  padding:10px 14px;
  font-weight:800;
  border-radius:999px;
}
.matrix-area-nav button.active{
  box-shadow:0 10px 20px rgba(11,86,198,.16);
}
.support-assignment-card{
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
}
.support-assignment-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  margin-bottom:16px;
}
.support-assignment-head h2{
  margin:0 0 6px;
}
.support-assignment-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
  min-height:36px;
  padding:8px 13px;
  border-radius:999px;
  border:1px solid #cfead9;
  background:#e8f7ee;
  color:#166534;
  font-size:13px;
  font-weight:900;
}
.support-assignment-grid{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);
  gap:16px;
  align-items:stretch;
}
.support-assignment-note{
  margin:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  color:#334155;
}
@media (max-width: 1100px){
  .matrix-hero{
    grid-template-columns:1fr;
  }
  .matrix-hero-stats{
    min-width:0;
  }
}
@media (max-width: 760px){
  .matrix-hero-stats,
  .support-assignment-grid{
    grid-template-columns:1fr;
  }
  .matrix-area-head,
  .support-assignment-head{
    flex-direction:column;
  }
  .matrix-area-progress{
    justify-items:start;
    width:100%;
  }
  .matrix-area-bar{
    width:100%;
  }
}


/* EBIC 151.15 – återställd kompakt processkontroll och snyggare slutför-knapp */
.compact-process-control{
  padding:0;
  overflow:hidden;
  border-color:#dbe4f0;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
}
.process-control-details summary{list-style:none;}
.process-control-details summary::-webkit-details-marker{display:none;}
.process-control-summary{
  cursor:pointer;
  display:grid;
  gap:16px;
  padding:22px;
}
.process-control-summary-main{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}
.process-control-summary-main h2{margin:2px 0 6px;}
.process-control-topbar{
  display:grid;
  grid-template-columns:auto minmax(240px,1fr) auto auto;
  gap:18px;
  align-items:center;
  border:1px solid #e1e8f2;
  border-radius:22px;
  background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);
  padding:18px;
}
.process-progress-ring{
  width:72px;
  height:72px;
  border-radius:999px;
  display:grid;
  place-items:center;
  align-content:center;
  background:conic-gradient(var(--blue) var(--progress), #e8eef7 0deg);
  position:relative;
  color:var(--blue);
  font-weight:900;
  isolation:isolate;
}
.process-progress-ring::before{
  content:"";
  position:absolute;
  inset:7px;
  border-radius:999px;
  background:#fff;
  z-index:-1;
}
.process-progress-ring strong{display:block;font-size:25px;line-height:1;}
.process-progress-ring span{display:block;margin-top:3px;font-size:11px;color:#64748b;font-weight:800;}
.process-control-summary-text{display:grid;gap:4px;min-width:0;}
.process-control-summary-text strong{color:var(--ink);font-size:18px;}
.process-control-summary-text span{color:#334155;line-height:1.45;}
.process-counts{
  display:flex;
  align-items:center;
  gap:8px;
  padding-left:18px;
  border-left:1px solid #e2e8f0;
}
.process-count{min-width:58px;text-align:center;display:grid;gap:2px;}
.process-count strong{font-size:18px;line-height:1;}
.process-count em{font-style:normal;font-size:11px;font-weight:900;text-transform:uppercase;color:#64748b;}
.process-ja{color:#047857!important;}
.process-delvis{color:#a35a00!important;}
.process-nej{color:#b42335!important;}
.process-ej-klart{color:#475569!important;}
.process-expand-cue{
  justify-self:end;
  white-space:nowrap;
  border:1px solid #dbe4f0;
  background:#fff;
  color:#0f3f86;
  padding:10px 13px;
  border-radius:999px;
  font-weight:900;
  font-size:13px;
}
.process-control-details[open] .process-expand-cue::after{content:" ↑";}
.process-control-details:not([open]) .process-expand-cue::after{content:" ↓";}
.process-control-body{display:grid;border-top:1px solid #e8eef7;background:#fff;}
.process-control-row{
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  gap:14px;
  padding:18px 22px;
  border-bottom:1px solid #eef2f7;
}
.process-control-row:last-child{border-bottom:0;}
.process-row-status{
  width:28px;
  height:28px;
  border-radius:999px;
  display:grid;
  place-items:center;
  font-weight:1000;
  font-size:14px;
  background:#f1f5f9;
}
.process-row-status.process-ja{background:#e8f7ee;color:#047857!important;}
.process-row-status.process-delvis{background:#fff5db;color:#a35a00!important;}
.process-row-status.process-nej{background:#fdecec;color:#b42335!important;}
.process-row-status.process-ej-klart{background:#edf2f7;color:#475569!important;}
.process-row-main{display:grid;gap:12px;min-width:0;}
.process-row-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;}
.process-row-head h4{margin:0 0 4px;font-size:18px;line-height:1.25;}
.process-status-pill{
  flex:0 0 auto;
  min-width:78px;
  text-align:center;
  padding:7px 11px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  background:#f1f5f9;
}
.process-status-pill.process-ja{background:#e8f7ee;color:#047857!important;}
.process-status-pill.process-delvis{background:#fff5db;color:#a35a00!important;}
.process-status-pill.process-nej{background:#fdecec;color:#b42335!important;}
.process-status-pill.process-ej-klart{background:#edf2f7;color:#475569!important;}
.process-answer-row{display:flex;flex-wrap:wrap;gap:8px;}
.process-answer-btn{
  min-height:38px;
  padding:9px 13px;
  border-radius:12px;
  border:1px solid #dbe4f0;
  background:#fff;
  color:#0f172a!important;
  cursor:pointer;
  font-weight:900;
}
.process-answer-btn.active{
  background:var(--blue);
  color:#fff!important;
  border-color:var(--blue);
  box-shadow:0 8px 18px rgba(11,86,198,.18);
}
.case-completion-card{
  margin-top:14px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  padding:18px 20px;
  border:1px solid rgba(11,86,198,.16);
  border-radius:22px;
  background:linear-gradient(135deg,#ffffff 0%,#f7fbff 100%);
  box-shadow:0 14px 34px rgba(20,33,61,.055);
}
.case-completion-copy{min-width:0;}
.case-completion-kicker{
  display:inline-flex;
  align-items:center;
  padding:5px 10px;
  border-radius:999px;
  background:#eef4ff;
  color:#0f3f86;
  font-size:12px;
  font-weight:900;
  margin-bottom:8px;
}
.case-completion-card h3{margin:0 0 5px;font-size:20px;letter-spacing:-.02em;}
.case-completion-card p{margin:0;color:#475569;line-height:1.45;}
.case-completion-action{display:flex;align-items:center;gap:12px;flex:0 0 auto;}
.case-finish-btn{
  min-height:48px;
  padding-inline:20px;
  border-radius:16px;
  box-shadow:0 14px 28px rgba(11,86,198,.15);
}
.case-finish-btn[disabled]{opacity:.72;cursor:not-allowed;box-shadow:none;transform:none;}
@media (max-width:1100px){
  .process-control-topbar{grid-template-columns:auto minmax(0,1fr);}
  .process-counts{grid-column:1/-1;border-left:0;border-top:1px solid #e2e8f0;padding-left:0;padding-top:12px;justify-content:flex-start;}
  .process-expand-cue{grid-column:1/-1;justify-self:start;}
}
@media (max-width:760px){
  .process-control-summary-main,.process-row-head,.case-completion-card,.case-completion-action{align-items:flex-start;flex-direction:column;}
  .process-control-topbar{grid-template-columns:1fr;}
  .process-progress-ring{width:66px;height:66px;}
  .case-completion-action{width:100%;}
  .case-finish-btn{width:100%;}
}


/* EBIC 151.16 – slutför-knapp i sammanställning */
.summary-header{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:12px;
}
.summary-completion-row{
  display:flex;
  justify-content:flex-start;
  align-items:center;
  width:100%;
}
.summary-completion-btn{
  border:1px solid #bfdbfe;
  background:#eff6ff;
  color:#1d4ed8;
  border-radius:999px;
  padding:8px 13px;
  font-size:13px;
  font-weight:900;
  line-height:1;
  cursor:pointer;
  box-shadow:none;
}
.summary-completion-btn:hover{
  background:#dbeafe;
  border-color:#93c5fd;
}
.summary-completion-btn.is-done{
  border-color:#bbf7d0;
  background:#ecfdf5;
  color:#166534;
  cursor:default;
}
.summary-completion-btn.is-done:hover{
  background:#ecfdf5;
  border-color:#bbf7d0;
}
.summary-completion-btn[disabled]{
  opacity:1;
}

/* EBIC 151.16 – återställd elevperspektiv-docka och detaljerknapp */
.student-perspective-details summary{
  display:grid !important;
  gap:16px !important;
  cursor:pointer;
}
.student-perspective-summary-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}
.student-perspective-summary-head > div{
  min-width:0;
}
.student-perspective-topbar-row{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:16px;
  align-items:stretch;
}
.student-perspective-topbar{
  flex:1 1 auto;
  min-width:0;
  margin-top:0;
}
.student-perspective-topbar-row .student-perspective-expand-cue{
  align-self:center;
  justify-self:start;
  white-space:nowrap;
  border:1px solid #dbe4f0;
  background:#fff;
  color:#0f3f86;
  padding:10px 13px;
  border-radius:999px;
  font-weight:900;
  font-size:13px;
}
.student-perspective-details[open] .student-perspective-expand-cue::after{content:" ↑";}
.student-perspective-details:not([open]) .student-perspective-expand-cue::after{content:" ↓";}
.student-perspective-topbar-row .student-perspective-index-row{
  margin:0;
}
.student-perspective-card .student-perspective-body{
  border-top:1px solid #e8eef7;
  margin-top:0;
  padding-top:18px;
}
.student-perspective-method-note{
  margin-top:0!important;
  background:#f8fbff;
  color:#334155;
  border:1px solid #e1e8f2;
}
.student-perspective-card .student-perspective-index-row .kpi{
  min-height:112px;
}
@media (max-width: 980px){
  .student-perspective-summary-head{
    flex-direction:column;
  }
  .student-perspective-topbar-row{
    grid-template-columns:1fr;
  }
  .student-perspective-topbar-row .student-perspective-expand-cue{
    justify-self:start;
  }
}

/* EBIC 151.19 – Stegvis planeringsläge */
.stepvis-topbar-v2 .title h1{letter-spacing:-.04em;}
.stepvis-briefing-card{
  display:grid;
  grid-template-columns:minmax(0,.95fr) minmax(0,1.35fr);
  gap:22px;
  align-items:stretch;
  background:linear-gradient(135deg,#ffffff 0%,#f7fbff 58%,#fdfaf2 100%);
}
.stepvis-briefing-copy h2{
  margin:0 0 8px;
  color:#071f49;
  font-size:clamp(28px,2.1vw,38px);
  line-height:1.05;
}
.stepvis-briefing-copy p{max-width:650px;}
.stepvis-briefing-stats{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  align-content:center;
}
.stepvis-planning-grid .card{min-height:100%;}
.stepvis-focus-card,.stepvis-method-card,.stepvis-track-section{
  background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);
}
.stepvis-suggestion-list{
  display:grid;
  gap:10px;
  margin-top:14px;
}
.stepvis-suggestion{
  text-align:left;
  border:1px solid rgba(11,86,198,.14);
  background:#f8fbff;
  color:#14213d;
  border-radius:16px;
  padding:12px 14px;
  font:inherit;
  cursor:pointer;
  line-height:1.35;
}
.stepvis-suggestion:hover{border-color:rgba(11,86,198,.36);box-shadow:0 10px 24px rgba(15,23,42,.06);}
.stepvis-suggestion span{
  display:block;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:#0b56c6;
  font-weight:900;
  margin-bottom:4px;
}
.stepvis-method-list{display:grid;gap:10px;margin-bottom:14px;}
.stepvis-method-list > div{
  border:1px solid rgba(15,23,42,.08);
  background:#fff;
  border-radius:16px;
  padding:13px 14px;
}
.stepvis-method-list strong{display:block;margin-bottom:4px;color:#071f49;}
.stepvis-method-list p{margin:0;color:#475569;}
.stepvis-empty-plan{
  display:grid;
  grid-template-columns:54px minmax(0,1fr) auto;
  gap:16px;
  align-items:center;
  border:1px dashed rgba(11,86,198,.28);
  background:#f8fbff;
  border-radius:22px;
  padding:18px;
}
.stepvis-empty-icon{
  width:54px;
  height:54px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:#e8f1ff;
  color:#0b56c6;
  font-size:28px;
  font-weight:900;
}
.stepvis-empty-plan h3{margin:0 0 4px;}
.stepvis-empty-plan p{margin:0;}
.stepvis-plan-list-v2{display:grid;gap:16px;}
.stepvis-plan-card-v2{
  padding:0;
  overflow:hidden;
  border-color:rgba(15,23,42,.09);
}
.stepvis-plan-head-v2{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  padding:18px 20px;
  border-bottom:1px solid rgba(15,23,42,.08);
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
}
.stepvis-card-kicker{
  color:#0b56c6;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.045em;
  margin-bottom:5px;
}
.stepvis-plan-head-v2 h3{margin:0 0 4px;font-size:22px;color:#071f49;}
.stepvis-card-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end;}
.stepvis-status-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:7px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  border:1px solid #dbe4f0;
  background:#f8fafc;
  color:#334155;
  white-space:nowrap;
}
.stepvis-status-pill.is-active{background:#eef6ff;border-color:#cfe0ff;color:#0b56c6;}
.stepvis-status-pill.is-done{background:#e8f7ee;border-color:#cfead9;color:#166534;}
.stepvis-status-pill.is-new{background:#fff8e8;border-color:#f3dfad;color:#92400e;}
.stepvis-track-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(300px,.38fr);
  gap:18px;
  padding:20px;
}
.stepvis-track-main{display:grid;gap:14px;}
.stepvis-track-side{
  display:grid;
  gap:12px;
  align-content:start;
}
.stepvis-side-box{
  border:1px solid rgba(15,23,42,.08);
  background:#fbfcff;
  border-radius:16px;
  padding:13px 14px;
}
.stepvis-side-box label{
  display:block;
  color:#51627f;
  font-size:13px;
  font-weight:900;
  margin-bottom:8px;
}
.stepvis-side-box input,.stepvis-side-box select,.stepvis-side-box textarea,.stepvis-assignee-select{
  width:100%;
  border:1px solid var(--line);
  border-radius:13px;
  background:#fff;
  padding:11px 12px;
  font:inherit;
}
.stepvis-side-box textarea{min-height:82px;resize:vertical;}
.stepvis-assignment-empty{margin:0;}
.stepvis-sidepanel .xp-bar,.stepvis-sidepanel .signal-bar,
.xp-bar,.signal-bar{
  height:9px;
  border-radius:999px;
  background:#e8edf4;
  overflow:hidden;
  margin:8px 0 6px;
}
.xp-bar span,.signal-bar span{
  display:block;
  height:100%;
  border-radius:999px;
  background:#0b56c6;
}
.signal-bar span{background:#0b56c6;}
@media (max-width:1180px){
  .stepvis-briefing-card,.stepvis-track-grid{grid-template-columns:1fr;}
  .stepvis-briefing-stats{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:760px){
  .stepvis-briefing-stats{grid-template-columns:1fr;}
  .stepvis-empty-plan{grid-template-columns:1fr;}
  .stepvis-plan-head-v2{flex-direction:column;}
  .stepvis-card-actions{justify-content:flex-start;}
}

.stepvis-assigned-readonly{
  min-height:42px;
  display:flex;
  align-items:center;
  border:1px solid #cfead9;
  background:#e8f7ee;
  color:#166534;
  border-radius:13px;
  padding:10px 12px;
  font-weight:900;
}


/* EBIC 151.20 – Stegvis bild 3, planeringsöversikt */
.stepvis-board-page{
  max-width:1640px;
  margin:0 auto;
  color:#0f172a;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.stepvis-board-case-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px;
}
.stepvis-board-back{
  border:0;
  background:transparent;
  color:#0b56c6;
  padding:0;
  margin:0 0 6px;
  font:inherit;
  font-weight:800;
  cursor:pointer;
}
.stepvis-board-case-title h1{
  margin:0;
  color:#071f49;
  font-size:clamp(30px,2.35vw,40px);
  line-height:1.02;
  letter-spacing:-.045em;
  font-weight:850;
}
.stepvis-board-case-title p{margin:7px 0 0;color:#64748b;font-size:14px;}
.stepvis-board-summary-strip{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:0;
  border:1px solid #e3e9f2;
  border-radius:18px;
  background:#fff;
  box-shadow:0 18px 44px rgba(15,23,42,.06);
  overflow:hidden;
  margin-bottom:18px;
}
.stepvis-board-summary-item{
  display:grid;
  grid-template-columns:64px minmax(0,1fr);
  gap:16px;
  align-items:center;
  min-height:116px;
  padding:22px 28px;
  border-right:1px solid #e8edf4;
}
.stepvis-board-summary-item:last-child{border-right:0;}
.stepvis-board-summary-item > span{
  width:52px;
  height:52px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:#eef4ff;
  color:#0b56c6;
  font-size:24px;
  font-weight:900;
}
.stepvis-board-summary-item.direction > span{background:#fff5db;color:#9a6a09;}
.stepvis-board-summary-item p{margin:0 0 3px;color:#475569;font-size:13px;font-weight:800;}
.stepvis-board-summary-item strong{display:block;color:#071f49;font-size:clamp(20px,1.45vw,28px);line-height:1.05;letter-spacing:-.025em;}
.stepvis-board-summary-item small{display:block;margin-top:7px;color:#64748b;font-size:13px;}
.stepvis-board-tabs{
  display:flex;
  gap:34px;
  align-items:center;
  border-bottom:1px solid #dfe6ef;
  margin:4px 0 18px;
  padding:0 4px;
}
.stepvis-board-tabs button{
  border:0;
  background:transparent;
  color:#475569;
  padding:17px 0 16px;
  font:inherit;
  font-weight:750;
  cursor:pointer;
  border-bottom:3px solid transparent;
}
.stepvis-board-tabs button.active{color:#0b56c6;border-bottom-color:#0b56c6;}
.stepvis-board-info-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  border:1px solid #bcd4f6;
  background:linear-gradient(180deg,#f8fbff 0%,#f0f7ff 100%);
  color:#14305a;
  border-radius:14px;
  padding:13px 16px 13px 18px;
  margin-bottom:14px;
}
.stepvis-board-info-row strong{color:#0b3677;}
.stepvis-board-direction-note{
  border:1px solid rgba(11,86,198,.12);
  background:#fff;
  border-radius:16px;
  padding:14px 16px;
  box-shadow:0 10px 24px rgba(15,23,42,.045);
  margin-bottom:14px;
}
.stepvis-board-direction-note strong{display:block;color:#071f49;margin-bottom:4px;}
.stepvis-board-direction-note p{margin:0;color:#475569;line-height:1.45;}
.stepvis-board-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  align-items:start;
}
.stepvis-board-column{
  border:1px solid #e2e8f0;
  border-radius:20px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 16px 36px rgba(15,23,42,.055);
}
.stepvis-board-column.plan{background:linear-gradient(180deg,#fffaf0 0%,#fff 28%);}
.stepvis-board-column.ongoing{background:linear-gradient(180deg,#f3f8ff 0%,#fff 28%);}
.stepvis-board-column.follow{background:linear-gradient(180deg,#f2fbf5 0%,#fff 28%);}
.stepvis-board-column-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:18px 18px 14px;
}
.stepvis-board-column-title{display:flex;gap:12px;align-items:center;min-width:0;}
.stepvis-board-column-title > span{
  width:38px;
  height:38px;
  border-radius:14px;
  display:grid;
  place-items:center;
  font-size:19px;
  font-weight:900;
  background:#fff4d6;
  color:#9a6a09;
  flex:0 0 auto;
}
.stepvis-board-column.ongoing .stepvis-board-column-title > span{background:#eaf2ff;color:#0b56c6;}
.stepvis-board-column.follow .stepvis-board-column-title > span{background:#e8f7ee;color:#166534;}
.stepvis-board-column-title h2{margin:0;color:#071f49;font-size:22px;letter-spacing:-.025em;}
.stepvis-board-column-title p{margin:3px 0 0;color:#64748b;font-size:13px;line-height:1.25;}
.stepvis-board-column-head > strong{
  min-width:30px;
  height:30px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:#fff;
  border:1px solid #dbe4ef;
  color:#334155;
}
.stepvis-board-column-body{display:grid;gap:12px;padding:0 14px 12px;}
.stepvis-board-card{
  border:1px solid #e1e7f0;
  border-radius:16px;
  background:rgba(255,255,255,.96);
  box-shadow:0 10px 24px rgba(15,23,42,.05);
  padding:14px;
}
.stepvis-board-card.is-plan{border-left:4px solid #e5b24b;}
.stepvis-board-card.is-ongoing{border-left:4px solid #0b56c6;}
.stepvis-board-card.is-follow{border-left:4px solid #16a34a;}
.stepvis-board-card-head{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:flex-start;
  margin-bottom:10px;
}
.stepvis-board-card-head h3{margin:0;color:#071f49;font-size:16px;line-height:1.25;letter-spacing:-.02em;}
.stepvis-board-card-tools{display:flex;align-items:center;gap:6px;}
.stepvis-board-status{
  display:inline-flex;
  padding:5px 9px;
  border-radius:999px;
  font-size:11px;
  font-weight:900;
  border:1px solid #dbe4ef;
  background:#f8fafc;
  white-space:nowrap;
}
.stepvis-board-status.plan{background:#fff5db;color:#92400e;border-color:#f3d99d;}
.stepvis-board-status.ongoing{background:#e8f1ff;color:#0b56c6;border-color:#cfe0ff;}
.stepvis-board-status.follow{background:#e8f7ee;color:#166534;border-color:#cfead9;}
.stepvis-board-icon-btn{
  width:30px;
  height:30px;
  border-radius:10px;
  border:1px solid #dbe4ef;
  background:#fff;
  cursor:pointer;
  font-weight:900;
  color:#334155;
}
.stepvis-board-field{display:grid;gap:5px;margin-top:9px;}
.stepvis-board-field label,.stepvis-board-dates label{
  color:#475569;
  font-size:12px;
  font-weight:900;
}
.stepvis-board-field textarea,.stepvis-board-field input,.stepvis-board-field select,.stepvis-board-assignee,.stepvis-board-footer select,.stepvis-board-dates input{
  width:100%;
  border:1px solid #dbe4ef;
  background:#fff;
  border-radius:11px;
  padding:8px 10px;
  color:#0f172a;
  font:inherit;
  font-size:13px;
  line-height:1.28;
}
.stepvis-board-field textarea{resize:vertical;min-height:42px;}
.stepvis-board-field.is-assignee{margin-bottom:4px;}
.stepvis-board-assigned-readonly{
  min-height:38px;
  display:flex;
  align-items:center;
  border:1px solid #cfead9;
  background:#e8f7ee;
  color:#166534;
  border-radius:11px;
  padding:8px 10px;
  font-weight:900;
  font-size:13px;
}
.stepvis-board-assignment-empty{margin:0;}
.stepvis-board-dates{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:10px;
}
.stepvis-board-dates > label{grid-column:1/-1;}
.stepvis-board-dates div{display:grid;gap:4px;}
.stepvis-board-dates span{font-size:11px;color:#64748b;font-weight:800;}
.stepvis-board-footer{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:10px;
}
.stepvis-board-field.is-muted{opacity:.72;}
.stepvis-board-add{
  width:calc(100% - 28px);
  margin:0 14px 14px;
  border:1px dashed #c6d4e8;
  background:rgba(255,255,255,.75);
  color:#0b56c6;
  border-radius:14px;
  min-height:44px;
  cursor:pointer;
  font:inherit;
  font-weight:900;
}
.stepvis-board-add:hover{background:#f8fbff;border-color:#0b56c6;}
.stepvis-board-empty{
  border:1px dashed #dbe4ef;
  border-radius:14px;
  padding:18px;
  color:#64748b;
  text-align:center;
  background:rgba(255,255,255,.7);
}
.stepvis-board-start-empty{
  display:grid;
  grid-template-columns:54px minmax(0,1fr) auto;
  gap:16px;
  align-items:center;
  border:1px dashed rgba(11,86,198,.28);
  background:#f8fbff;
  border-radius:22px;
  padding:18px;
}
.stepvis-board-start-icon{
  width:54px;
  height:54px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:#e8f1ff;
  color:#0b56c6;
  font-size:28px;
  font-weight:900;
}
.stepvis-board-start-empty h3{margin:0 0 4px;color:#071f49;}
.stepvis-board-start-empty p{margin:0;color:#475569;}
@media (max-width:1280px){
  .stepvis-board-summary-strip,.stepvis-board-grid{grid-template-columns:1fr;}
  .stepvis-board-summary-item{border-right:0;border-bottom:1px solid #e8edf4;}
  .stepvis-board-summary-item:last-child{border-bottom:0;}
}
@media (max-width:760px){
  .stepvis-board-case-head,.stepvis-board-info-row{flex-direction:column;align-items:flex-start;}
  .stepvis-board-tabs{gap:18px;overflow:auto;}
  .stepvis-board-dates,.stepvis-board-footer{grid-template-columns:1fr;}
  .stepvis-board-start-empty{grid-template-columns:1fr;}
  .stepvis-board-summary-item{grid-template-columns:48px minmax(0,1fr);padding:18px;}
  .stepvis-board-summary-item > span{width:42px;height:42px;font-size:20px;}
}


/* EBIC 151.21 – gemensam ärendemeny i ärendets alla vyer */
.case-context-nav{
  margin:0 0 18px;
  padding:14px 16px 12px;
  border-radius:20px;
  background:#fff;
  border:1px solid rgba(214,224,238,.95);
  box-shadow:0 14px 34px rgba(15,23,42,.055);
}
.case-context-nav-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:10px;
}
.case-context-nav-head strong{
  display:block;
  color:#071f49;
  font-size:14px;
  letter-spacing:-.01em;
}
.case-context-nav-head span{
  display:block;
  margin-top:2px;
  color:#64748b;
  font-size:12px;
  font-weight:700;
}
.case-context-tab-row{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
}
.case-context-tab-row .case-tab-btn{
  min-height:38px;
  border-radius:12px;
  border:1px solid #dbe4ef;
  background:#fff;
  color:#26364d;
  padding:9px 13px;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size:13px;
  font-weight:850;
  box-shadow:none;
}
.case-context-tab-row .case-tab-btn:hover{
  transform:none;
  background:#f8fbff;
  border-color:#bcd4f6;
  color:#0b56c6;
}
.case-context-tab-row .case-tab-btn.active{
  background:#0b56c6;
  border-color:#0b56c6;
  color:#fff;
  box-shadow:0 10px 20px rgba(11,86,198,.16);
}
@media (max-width:760px){
  .case-context-nav{padding:12px;}
  .case-context-tab-row{display:grid;grid-template-columns:1fr;}
  .case-context-tab-row .case-tab-btn{text-align:left;}
}

/* EBIC 151.22 – PLU, uppföljning och rapportversioner */
.case-context-nav-15122 .case-context-tab-row{gap:8px;overflow-x:auto;padding-bottom:2px;}
.case-context-nav-15122 .case-tab-btn{white-space:nowrap;}
.plu-hero-card{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:22px;align-items:center;background:linear-gradient(135deg,#ffffff 0%,#f7fbff 100%);}
.plu-hero-card h2{margin:4px 0 8px;font-size:30px;letter-spacing:-.03em;}
.plu-hero-kpis{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.plu-hero-kpis>div{border:1px solid var(--line);background:#fff;border-radius:18px;padding:18px;box-shadow:0 12px 28px rgba(20,33,61,.055);}
.plu-hero-kpis span{display:block;color:var(--muted);font-size:13px;font-weight:750;margin-bottom:7px;}
.plu-hero-kpis strong{display:block;color:var(--blue);font-size:24px;line-height:1.05;}
.plu-direction-card{margin-top:16px;margin-bottom:16px;}
.plu-list-section{display:grid;gap:14px;margin-bottom:18px;}
.plu-row-card{background:#fff;border:1px solid rgba(20,33,61,.09);border-radius:22px;box-shadow:0 16px 34px rgba(20,33,61,.065);padding:18px;}
.plu-row-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:14px;}
.plu-row-head span{display:inline-flex;border-radius:999px;background:#eef4ff;color:#0b56c6;font-size:12px;font-weight:850;padding:6px 10px;margin-bottom:6px;}
.plu-row-head strong{display:block;font-size:18px;color:#0f1f3a;}
.plu-row-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
.plu-row-grid .field:nth-child(5),.plu-row-grid .field:nth-child(6),.plu-row-grid .field:nth-child(8){grid-column:span 2;}
.plu-history-card{margin-top:18px;}
.follow-create-card{margin-bottom:18px;background:linear-gradient(135deg,#ffffff 0%,#f7fbff 100%);}
.follow-create-grid{display:grid;grid-template-columns:1fr 1fr 180px 1.2fr;gap:12px;align-items:end;}
.follow-section{margin-bottom:18px;}
.follow-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px;}
.follow-section-head h2{margin:0 0 4px;}
.follow-track-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
.follow-track-card{border:1px solid rgba(20,33,61,.09);background:#fff;border-radius:20px;padding:16px;box-shadow:0 12px 28px rgba(20,33,61,.05);display:flex;flex-direction:column;gap:8px;}
.follow-track-head{display:flex;gap:10px;align-items:center;margin-bottom:4px;}
.follow-track-head span{width:32px;height:32px;border-radius:12px;background:#eef4ff;color:#0b56c6;display:grid;place-items:center;font-weight:850;}
.follow-track-head strong{font-size:16px;line-height:1.2;color:#0f1f3a;}
.follow-track-card p{margin:0;color:#475569;line-height:1.35;}
.follow-matrix-compare{overflow:hidden;}
.follow-compare-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0 16px;}
.follow-compare-kpi{border:1px solid var(--line);background:#fbfdff;border-radius:18px;padding:16px;}
.follow-compare-kpi span{display:block;font-size:12px;color:var(--muted);font-weight:800;margin-bottom:6px;}
.follow-compare-kpi strong{font-size:24px;color:#0b56c6;}
.follow-compare-table td,.follow-compare-table th{vertical-align:middle;}
.follow-delta-pill{display:inline-flex;align-items:center;justify-content:center;min-width:54px;border-radius:999px;padding:6px 10px;font-weight:850;font-size:12px;}
.follow-delta-pill.up{background:#fee2e2;color:#991b1b;}
.follow-delta-pill.down{background:#e8f7ee;color:#166534;}
.follow-delta-pill.same{background:#eef2ff;color:#1d4ed8;}
.followup-meetings-table input,.followup-meetings-table select,.followup-meetings-table textarea{width:100%;border:1px solid var(--line);border-radius:12px;padding:9px 10px;background:#fff;font:inherit;}
.followup-meetings-table textarea{min-height:54px;resize:vertical;}
.follow-readonly-person{border:1px solid var(--line);border-radius:12px;background:#f8fafc;padding:10px 12px;color:#334155;}
.report-version-toolbar{margin-bottom:18px;}
.report-version-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:10px;}
.report-version-row h2{margin:0 0 4px;}
.report-version-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end;}
.report-version-controls select{min-width:280px;border:1px solid var(--line);border-radius:14px;background:#fff;padding:12px 14px;font:inherit;}
@media (max-width:1200px){
  .plu-hero-card{grid-template-columns:1fr;}
  .plu-row-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .follow-create-grid{grid-template-columns:1fr 1fr;}
  .follow-track-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:760px){
  .plu-hero-kpis,.plu-row-grid,.follow-create-grid,.follow-track-grid,.follow-compare-kpis{grid-template-columns:1fr;}
  .plu-row-grid .field:nth-child(5),.plu-row-grid .field:nth-child(6),.plu-row-grid .field:nth-child(8){grid-column:auto;}
  .follow-section-head,.report-version-row{flex-direction:column;}
  .report-version-controls,.report-version-controls select{width:100%;}
}


/* EBIC 151.23 – elevnära EBIC-sida */
.ebic-student-topbar .title h1{letter-spacing:-.04em;}
.ebic-student-guide-hero{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);
  gap:22px;
  align-items:end;
  background:
    radial-gradient(circle at 92% 18%, rgba(11,86,198,.12), transparent 28%),
    linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
}
.ebic-student-guide-hero h2{max-width:760px;font-size:clamp(26px,2.1vw,36px);line-height:1.08;margin:6px 0 12px;color:#0b1f3f;}
.ebic-student-guide-hero p{max-width:720px;margin:0;color:#53627a;}
.ebic-student-selector-panel{display:grid;gap:14px;}
.ebic-student-stage-row{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
.ebic-student-stage{border:1px solid #d8e0eb;background:#fff;border-radius:999px;padding:10px 15px;font-weight:800;color:#193153;cursor:pointer;}
.ebic-student-stage.active{background:#0b56c6;color:#fff;border-color:#0b56c6;box-shadow:0 12px 22px rgba(11,86,198,.16);}
.ebic-student-guide-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px;margin-top:18px;align-items:start;}
.ebic-student-guide-main{min-height:460px;display:flex;flex-direction:column;}
.ebic-student-guide-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px;}
.ebic-student-guide-head span{display:inline-flex;margin-bottom:8px;padding:7px 11px;border-radius:999px;background:#eef4ff;color:#0b56c6;font-size:12px;font-weight:900;}
.ebic-student-guide-head h2{margin:0 0 6px;font-size:30px;line-height:1.08;color:#0b1f3f;}
.ebic-student-guide-head p{margin:0;color:#5b677b;}
.ebic-student-step-count{min-width:64px;text-align:center;border:1px solid #d8e3f1;border-radius:16px;padding:10px 12px;font-weight:900;color:#0b56c6;background:#f8fbff;}
.ebic-student-slide-wrap{position:relative;flex:1;min-height:260px;}
.ebic-student-slide{display:none;border:1px solid rgba(11,86,198,.12);background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);border-radius:24px;padding:28px;gap:22px;align-items:flex-start;box-shadow:0 18px 38px rgba(20,33,61,.055);}
.ebic-student-slide.active{display:grid;grid-template-columns:82px minmax(0,1fr);}
.ebic-student-slide-icon{width:74px;height:74px;border-radius:24px;display:flex;align-items:center;justify-content:center;background:#eaf2ff;color:#0b56c6;}
.ebic-student-slide-icon svg{width:38px;height:38px;stroke:currentColor;fill:none;stroke-width:1.9;}
.ebic-student-slide-copy span{display:block;color:#0b56c6;font-size:12px;text-transform:uppercase;letter-spacing:.05em;font-weight:900;margin-bottom:8px;}
.ebic-student-slide-copy h3{font-size:30px;line-height:1.08;margin:0 0 12px;color:#0b1f3f;}
.ebic-student-slide-copy p{font-size:17px;line-height:1.48;margin:0;color:#34445f;}
.ebic-student-say{margin-top:18px;border-left:4px solid #0b56c6;background:#f0f6ff;border-radius:14px;padding:14px 16px;color:#243552;line-height:1.45;}
.ebic-student-controls{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin-top:18px;}
.ebic-student-controls .btn[disabled]{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none;}
.ebic-student-dots{display:flex;justify-content:center;gap:8px;}
.ebic-student-dots button{width:11px;height:11px;border-radius:999px;border:0;background:#cfd8e8;cursor:pointer;}
.ebic-student-dots button.active{width:30px;background:#0b56c6;}
.ebic-student-case-card{display:grid;gap:16px;}
.ebic-student-case-card h2{font-size:26px;margin-bottom:0;}
.ebic-student-signal-box{border:1px solid #d9e6f6;background:#f8fbff;border-radius:20px;padding:16px 18px;}
.ebic-student-signal-box p{margin:8px 0 0;color:#46566f;}
.ebic-student-mini-stats{display:grid;gap:10px;}
.ebic-student-mini-stats div{border:1px solid var(--line);border-radius:18px;padding:14px 16px;background:#fff;}
.ebic-student-mini-stats span{display:block;color:#64748b;font-size:13px;font-weight:700;margin-bottom:5px;}
.ebic-student-mini-stats strong{font-size:20px;color:#0b56c6;}
.ebic-student-threeways{margin-top:18px;}
#ebic-guide-student-perspective{margin-top:18px;}
#ebic-guide-student-perspective .student-perspective-card{margin-top:0!important;}
@media (max-width:1200px){
  .ebic-student-guide-hero,.ebic-student-guide-grid{grid-template-columns:1fr;}
  .ebic-student-stage-row{justify-content:flex-start;}
}
@media (max-width:760px){
  .ebic-student-slide.active{grid-template-columns:1fr;}
  .ebic-student-controls{grid-template-columns:1fr;}
  .ebic-student-dots{order:-1;}
}


/* EBIC 151.24 – elevnära EBIC enligt alternativ 2 */
.ebic-guide-page-15124{
  --guide-blue:#0b56c6;
  --guide-navy:#071f49;
  --guide-text:#25354d;
  --guide-muted:#66758c;
  --guide-cream:#fffaf0;
  color:var(--guide-text);
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  display:flex;
  flex-direction:column;
  gap:16px;
}
.ebic-guide-header-15124{
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:flex-start;
}
.ebic-guide-header-15124 h1{
  margin:0 0 8px;
  color:var(--guide-navy);
  font-family:Georgia, "Times New Roman", serif;
  font-size:clamp(40px,4vw,64px);
  line-height:.95;
  letter-spacing:-.045em;
}
.ebic-guide-header-15124 p{margin:0;max-width:560px;color:#31425c;font-size:17px;line-height:1.45;}
.ebic-guide-header-controls{display:flex;gap:14px;align-items:flex-end;flex-wrap:wrap;justify-content:flex-end;}
.ebic-guide-header-controls label{display:grid;gap:6px;color:#0f1f3a;font-weight:800;font-size:13px;}
.ebic-guide-header-controls select{min-width:260px;height:48px;border:1px solid #d8e0eb;border-radius:13px;background:#fff;padding:0 42px 0 14px;color:#0f1f3a;font-weight:750;box-shadow:0 8px 22px rgba(15,23,42,.035);}
.ebic-guide-grade-row{height:48px;border:1px solid #d8e0eb;background:#fff;border-radius:14px;display:flex;align-items:center;overflow:hidden;box-shadow:0 8px 22px rgba(15,23,42,.035);}
.ebic-guide-grade{height:100%;min-width:72px;border:0;background:transparent;color:#0f1f3a;font-weight:900;cursor:pointer;border-right:1px solid #d8e0eb;}
.ebic-guide-grade:last-child{border-right:0;}
.ebic-guide-grade.active{background:linear-gradient(180deg,#0f3a78,#082957);color:#fff;box-shadow:inset 0 0 0 2px rgba(255,255,255,.18);}
.ebic-guide-picture-toggle{display:flex!important;align-items:center;gap:10px;height:48px;grid-auto-flow:column;}
.ebic-guide-picture-toggle button{width:58px;height:32px;border:0;border-radius:999px;background:#c8c8c8;position:relative;cursor:pointer;padding:3px;}
.ebic-guide-picture-toggle button.on{background:#0b56c6;}
.ebic-guide-picture-toggle i{display:block;width:26px;height:26px;border-radius:50%;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.18);transition:transform .18s ease;}
.ebic-guide-picture-toggle button.on i{transform:translateX(26px);}
.ebic-guide-stepper-15124{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:0;
  background:#fff;
  border:1px solid rgba(216,224,235,.95);
  border-radius:22px;
  padding:16px 18px;
  box-shadow:0 14px 34px rgba(15,23,42,.045);
}
.ebic-guide-stepper-15124 button{position:relative;border:0;background:transparent;display:grid;justify-items:center;gap:8px;color:#64748b;cursor:pointer;min-height:72px;}
.ebic-guide-stepper-15124 button:not(:last-child)::after{content:"";position:absolute;top:22px;left:calc(50% + 32px);right:calc(-50% + 32px);border-top:2px solid #e1e7f0;}
.ebic-guide-stepper-15124 span{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;border:1px solid #d0d8e4;background:#f8fafc;color:#64748b;font-size:20px;font-weight:950;position:relative;z-index:2;}
.ebic-guide-stepper-15124 strong{font-size:14px;color:inherit;text-align:center;}
.ebic-guide-stepper-15124 button.active span{background:#0b56c6;color:#fff;border-color:#0b56c6;box-shadow:0 12px 24px rgba(11,86,198,.2);}
.ebic-guide-stepper-15124 button.active strong{color:#071f49;}
.ebic-guide-main-card-15124{
  display:grid;
  grid-template-columns:minmax(0,1fr) 420px;
  gap:28px;
  background:#fff;
  border:1px solid rgba(225,231,240,.95);
  border-radius:24px;
  padding:28px;
  box-shadow:0 18px 42px rgba(15,23,42,.06);
}
.ebic-guide-left-content h2{margin:0 0 8px;color:#071f49;font-size:30px;letter-spacing:-.03em;}
.ebic-guide-left-content>p{margin:0 0 22px;color:#31425c;font-size:17px;line-height:1.45;}
.ebic-guide-cards-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
.ebic-guide-picture-card{border:1px solid #e0e7f1;border-radius:18px;padding:14px;background:#f8fbff;min-height:272px;box-shadow:0 12px 30px rgba(15,23,42,.035);}
.ebic-guide-picture-card:nth-child(2){background:#fff8e8;}
.ebic-guide-picture-card:nth-child(3){background:#f0faef;}
.ebic-guide-picture-card.no-picture{min-height:210px;}
.ebic-guide-card-img{height:128px;border-radius:15px;overflow:hidden;background:#fff;margin-bottom:14px;display:grid;place-items:center;}
.ebic-guide-card-img img{width:100%;height:100%;object-fit:cover;display:block;}
.ebic-guide-icon-only{width:70px;height:70px;border-radius:24px;background:#eaf2ff;color:#0b56c6;display:grid;place-items:center;}
.ebic-guide-icon-only svg{width:36px;height:36px;stroke:currentColor;fill:none;stroke-width:1.8;}
.ebic-guide-picture-card h3{margin:0 0 8px;color:#071f49;font-size:17px;line-height:1.15;}
.ebic-guide-picture-card p{margin:0;color:#3e4f69;font-size:14px;line-height:1.38;}
.ebic-guide-timeline-card{border-radius:22px;background:linear-gradient(180deg,#fffdf7,#ffffff);border:1px solid #e7edf6;padding:24px;box-shadow:0 12px 28px rgba(15,23,42,.035);}
.ebic-guide-timeline-card h3{margin:0 0 20px;color:#071f49;font-size:21px;}
.ebic-guide-timeline{display:grid;gap:0;}
.ebic-guide-timeline-item{display:grid;grid-template-columns:58px minmax(0,1fr);gap:16px;position:relative;padding-bottom:18px;}
.ebic-guide-timeline-item:not(:last-child)::after{content:"";position:absolute;left:29px;top:58px;bottom:0;border-left:2px solid #d8e0eb;}
.ebic-guide-timeline-item>div{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:#eaf2ff;z-index:2;}
.ebic-guide-timeline-item img{width:58px;height:58px;object-fit:cover;}
.ebic-guide-timeline-item svg{width:28px;height:28px;stroke:#0b56c6;fill:none;}
.ebic-guide-timeline-item strong{display:block;color:#071f49;font-size:16px;margin-bottom:3px;}
.ebic-guide-timeline-item small{display:block;color:#3e4f69;font-size:13px;line-height:1.35;}
.ebic-guide-perspective-15124{background:#fff;border:1px solid #d8e7fb;border-radius:24px;padding:22px;box-shadow:0 18px 42px rgba(11,86,198,.08);}
.ebic-guide-perspective-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:14px;}
.ebic-guide-perspective-head h2{margin:0 0 4px;color:#071f49;font-size:23px;}
.ebic-guide-perspective-head p{margin:0;color:#52627a;}
.ebic-guide-perspective-head span{border-radius:999px;background:#e8f7ee;color:#166534;padding:7px 12px;font-size:12px;font-weight:900;white-space:nowrap;}
.ebic-guide-perspective-grid{display:grid;grid-template-columns:1.1fr 1.15fr 1.25fr 1.15fr;gap:14px;}
.ebic-guide-perspective-grid article{border:1px solid #dbe7f7;border-radius:18px;background:#fff;padding:16px;min-width:0;}
.ebic-guide-perspective-grid h3{margin:0 0 4px;font-size:16px;color:#071f49;}
.ebic-guide-perspective-grid p{margin:0 0 12px;color:#64748b;font-size:13px;}
.ebic-guide-face-row{display:flex;gap:8px;align-items:flex-end;justify-content:space-between;}
.ebic-guide-face-row button{border:0;background:transparent;display:grid;gap:6px;justify-items:center;cursor:pointer;padding:0;color:#31425c;}
.ebic-guide-face-row span{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;font-size:21px;box-shadow:inset 0 -4px rgba(0,0,0,.08);}
.ebic-guide-face-row small{font-size:10px;font-weight:800;text-align:center;}
.ebic-guide-face-row .face-0 span{background:#ff7b63}.ebic-guide-face-row .face-1 span{background:#ffb84c}.ebic-guide-face-row .face-2 span{background:#ffd95a}.ebic-guide-face-row .face-3 span{background:#a7d878}.ebic-guide-face-row .face-4 span{background:#47ad63}
.ebic-guide-face-row button.active span{outline:4px solid #0b56c6;outline-offset:3px;}
.ebic-guide-pill-list{display:grid;gap:7px;}
.ebic-guide-pill-list label{display:flex;align-items:center;gap:8px;border:1px solid #d8e5f5;border-radius:999px;background:#f8fbff;padding:8px 10px;font-size:12px;font-weight:800;color:#1f3658;cursor:pointer;}
.ebic-guide-pill-list label.checked{background:#eaf2ff;border-color:#0b56c6;color:#0b56c6;}
.ebic-guide-pill-list input{width:14px;height:14px;}
.ebic-guide-help-card textarea,.ebic-guide-more-grid textarea{width:100%;min-height:86px;border:1px solid #d8e5f5;border-radius:14px;padding:10px 12px;resize:vertical;background:#fff;font:inherit;margin-top:10px;}
.ebic-guide-slider-dots{height:42px;display:grid;grid-template-columns:repeat(5,1fr);align-items:center;position:relative;margin:12px 0 8px;}
.ebic-guide-slider-dots::before{content:"";position:absolute;left:16px;right:16px;height:4px;border-radius:999px;background:linear-gradient(90deg,#ea5b5b,#f2bc4c,#f5dd6d,#7fc57e,#47ad63);}
.ebic-guide-slider-dots button{width:22px;height:22px;border-radius:50%;border:3px solid #fff;box-shadow:0 2px 8px rgba(15,23,42,.15);justify-self:center;z-index:2;cursor:pointer;}
.ebic-guide-slider-dots .dot-0{background:#ea5b5b}.ebic-guide-slider-dots .dot-1{background:#f2bc4c}.ebic-guide-slider-dots .dot-2{background:#f5dd6d}.ebic-guide-slider-dots .dot-3{background:#7fc57e}.ebic-guide-slider-dots .dot-4{background:#47ad63}
.ebic-guide-slider-dots button.active{width:32px;height:32px;border:5px solid #d9e9ff;box-shadow:0 0 0 3px #0b56c6;}
.ebic-guide-slider-labels{display:grid;grid-template-columns:repeat(5,1fr);gap:3px;font-size:9px;color:#66758c;text-align:center;font-weight:800;}
.ebic-guide-thanks{margin-top:12px;background:#f8fbff;border:1px solid #dbe7f7;border-radius:16px;padding:10px;color:#3e4f69;font-size:13px;line-height:1.35;}
.ebic-guide-more-perspective{margin-top:14px;border-top:1px solid #e4ecf7;padding-top:12px;}
.ebic-guide-more-perspective summary{cursor:pointer;font-weight:900;color:#0b56c6;}
.ebic-guide-more-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:12px;}
.ebic-guide-footer-15124{display:grid;grid-template-columns:auto 1fr auto;gap:20px;align-items:center;background:#fffaf0;border:1px solid #ecdcc5;border-radius:18px;padding:12px;}
.ebic-guide-footer-15124 .btn[disabled]{opacity:.45;cursor:not-allowed;}
.ebic-guide-footer-15124>div{text-align:center;color:#52627a;font-size:13px;}
.ebic-guide-footer-15124 span{display:block;max-width:340px;height:8px;background:#e5e7eb;border-radius:999px;margin:7px auto 0;overflow:hidden;}
.ebic-guide-footer-15124 i{display:block;height:100%;background:#0b56c6;border-radius:999px;}
.ebic-guide-case-note-15124{border:1px solid #ecdcc5;background:#fffaf0;border-radius:18px;padding:14px 18px;color:#3e4f69;line-height:1.45;}
.ebic-guide-case-note-15124 strong{color:#071f49;}
.ebic-guide-case-note-15124 span{display:inline-block;margin-left:8px;color:#0b56c6;font-weight:800;}
@media (max-width:1320px){
  .ebic-guide-header-15124{flex-direction:column;}
  .ebic-guide-header-controls{justify-content:flex-start;}
  .ebic-guide-main-card-15124{grid-template-columns:1fr;}
  .ebic-guide-perspective-grid{grid-template-columns:1fr 1fr;}
  .ebic-guide-more-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:860px){
  .ebic-guide-stepper-15124{grid-template-columns:1fr;gap:8px;}
  .ebic-guide-stepper-15124 button{display:flex;align-items:center;justify-content:flex-start;min-height:48px;}
  .ebic-guide-stepper-15124 button:not(:last-child)::after{display:none;}
  .ebic-guide-cards-row,.ebic-guide-perspective-grid,.ebic-guide-more-grid{grid-template-columns:1fr;}
  .ebic-guide-footer-15124{grid-template-columns:1fr;}
  .ebic-guide-header-controls select{min-width:0;width:100%;}
}


/* EBIC 151.25 – EBiC-Elev, fördjupad elevdelaktighet och bildstöd */
.ebic-guide-page-15125{--guide-warm:#fffaf0;--guide-blue:#0b56c6;--guide-navy:#071f49;--guide-soft:#f6fbff;}
.ebic-guide-header-15125 h1{font-size:clamp(42px,4vw,62px);}
.ebic-guide-main-card-15125{align-items:stretch;}
.ebic-guide-involvement-15125{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;}
.ebic-guide-involvement-15125 article{display:grid;grid-template-columns:58px minmax(0,1fr);gap:12px;align-items:center;background:linear-gradient(180deg,#ffffff,#f8fbff);border:1px solid #dfe8f4;border-radius:20px;padding:14px;box-shadow:0 12px 30px rgba(15,23,42,.04);}
.ebic-guide-involvement-15125 img{width:58px;height:58px;border-radius:16px;display:block;}
.ebic-guide-involvement-15125 svg{width:36px;height:36px;color:#0b56c6;stroke:currentColor;fill:none;}
.ebic-guide-involvement-15125 h3{margin:0 0 3px;color:#071f49;font-size:15px;line-height:1.18;}
.ebic-guide-involvement-15125 p{margin:0;color:#53647b;font-size:12px;line-height:1.35;}
.ebic-guide-perspective-15125{background:linear-gradient(180deg,#f8fbff,#ffffff);}
.ebic-guide-perspective-summary-15125{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px;}
.ebic-guide-perspective-summary-15125>div{background:#fff;border:1px solid #dbe7f7;border-radius:17px;padding:14px;display:grid;gap:4px;}
.ebic-guide-perspective-summary-15125 strong{color:#51617a;font-size:12px;text-transform:uppercase;letter-spacing:.04em;}
.ebic-guide-perspective-summary-15125 span{font-size:26px;font-weight:950;color:#0b56c6;line-height:1.05;}
.ebic-guide-perspective-summary-15125 small{color:#66758c;}
.ebic-guide-perspective-summary-15125 select{width:100%;border:1px solid #d8e5f5;border-radius:12px;background:#fff;padding:10px 12px;font-weight:800;color:#071f49;}
.ebic-student-main-questions-15125{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px;}
.ebic-student-question-grid-15125{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px;}
.ebic-student-question-card{display:grid;grid-template-columns:62px minmax(0,1fr);gap:12px;background:#fff;border:1px solid #dbe7f7;border-radius:18px;padding:14px;min-width:0;}
.ebic-student-question-card.compact{grid-template-columns:54px minmax(0,1fr);}
.ebic-student-question-card>img{width:62px;height:62px;border-radius:18px;display:block;}
.ebic-student-question-card.compact>img{width:54px;height:54px;border-radius:16px;}
.ebic-student-question-card h3{margin:0 0 4px;color:#071f49;font-size:15px;line-height:1.15;}
.ebic-student-question-card p{margin:0;color:#33445e;font-size:13px;line-height:1.35;}
.ebic-student-question-card small{display:block;margin-top:5px;color:#748198;font-size:11px;line-height:1.3;}
.ebic-student-question-scale{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin-top:10px;}
.ebic-student-question-scale button{border:1px solid #dbe7f7;border-radius:12px;background:#f8fbff;color:#33445e;padding:6px 4px;display:grid;justify-items:center;gap:2px;cursor:pointer;font-weight:850;}
.ebic-student-question-scale button span{width:24px;height:24px;border-radius:999px;display:grid;place-items:center;background:#eaf2ff;color:#0b56c6;font-size:12px;}
.ebic-student-question-scale button small{margin:0;font-size:9px;color:#64748b;text-align:center;line-height:1.05;}
.ebic-student-question-scale button.active{border-color:#0b56c6;background:#eaf2ff;box-shadow:0 0 0 3px rgba(11,86,198,.12);}
.ebic-student-question-scale button.active span{background:#0b56c6;color:#fff;}
.ebic-student-tag-grid-15125{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px;}
.ebic-student-tag-card{display:grid;grid-template-columns:54px minmax(0,1fr);gap:12px;background:#fff;border:1px solid #dbe7f7;border-radius:18px;padding:14px;}
.ebic-student-tag-card>img{width:54px;height:54px;border-radius:16px;}
.ebic-student-tag-card h3{margin:0 0 10px;color:#071f49;font-size:15px;}
.ebic-guide-textarea-grid-15125{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px;}
.ebic-guide-textarea-grid-15125 label,.ebic-guide-nextwish-15125{display:grid;gap:6px;color:#071f49;font-weight:900;font-size:14px;}
.ebic-guide-textarea-grid-15125 textarea,.ebic-guide-nextwish-15125 textarea{width:100%;min-height:82px;border:1px solid #d8e5f5;border-radius:14px;background:#fff;padding:11px 12px;resize:vertical;font:inherit;color:#25354d;}
.ebic-guide-nextwish-15125{margin-top:12px;}
.student-score-item-15125{display:grid!important;grid-template-columns:58px minmax(0,1fr) minmax(160px,220px)!important;align-items:center;}
.student-score-picture-15125 img{width:54px;height:54px;border-radius:16px;display:block;}
@media (max-width:1320px){.ebic-guide-involvement-15125{grid-template-columns:repeat(2,minmax(0,1fr));}.ebic-student-main-questions-15125{grid-template-columns:repeat(2,minmax(0,1fr));}.ebic-student-question-grid-15125{grid-template-columns:repeat(2,minmax(0,1fr));}.ebic-guide-perspective-summary-15125{grid-template-columns:1fr 1fr 1fr;}}
@media (max-width:860px){.ebic-guide-involvement-15125,.ebic-student-main-questions-15125,.ebic-student-question-grid-15125,.ebic-student-tag-grid-15125,.ebic-guide-textarea-grid-15125,.ebic-guide-perspective-summary-15125{grid-template-columns:1fr;}.student-score-item-15125{grid-template-columns:48px 1fr!important;}.student-score-item-15125 select{grid-column:1/-1;}}


/* EBIC 151.26 – ren bildstödslogik för EBiC-Elev */
.ebic-guide-page-15126.no-pictures .ebic-guide-main-card-15126{
  grid-template-columns:1.15fr .85fr;
}
.ebic-guide-picture-card.no-picture{
  padding:22px;
  min-height:auto;
  background:linear-gradient(180deg,#ffffff,#f8fbff);
  border:1px solid rgba(15,23,42,.10);
}
.ebic-guide-picture-card.no-picture h3{margin-top:0;}
.ebic-guide-picture-card.no-picture p{font-size:15px;line-height:1.55;}
.ebic-guide-timeline-card.no-picture .ebic-guide-timeline-item{
  grid-template-columns:1fr;
  padding:12px 0;
  border-bottom:1px solid rgba(15,23,42,.08);
}
.ebic-guide-timeline-card.no-picture .ebic-guide-timeline-item:last-child{border-bottom:0;}
.ebic-guide-involvement-15126.no-picture{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.ebic-guide-involvement-15126.no-picture article{
  grid-template-columns:1fr;
  min-height:0;
  padding:18px;
}
.ebic-student-question-card.no-picture{
  grid-template-columns:1fr;
  padding:18px;
}
.ebic-student-tag-card.no-picture{
  grid-template-columns:1fr;
}
.ebic-guide-perspective-15126.no-pictures .ebic-student-main-questions-15125,
.ebic-guide-perspective-15126.no-pictures .ebic-student-question-grid-15125{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.ebic-guide-page-15126.no-pictures .ebic-guide-cards-row{
  align-items:stretch;
}
@media(max-width:1100px){
  .ebic-guide-involvement-15126.no-picture{grid-template-columns:repeat(2,minmax(0,1fr));}
  .ebic-guide-perspective-15126.no-pictures .ebic-student-main-questions-15125,
  .ebic-guide-perspective-15126.no-pictures .ebic-student-question-grid-15125{grid-template-columns:1fr;}
}

/* EBIC 151.27 – EBiC-Elev: Din röst som stegvis, lekfull men ren elevdialog */
.ebic-guide-page-15127 .ebic-guide-main-card-15127.voice-intro{
  grid-template-columns:1fr;
  padding-bottom:20px;
}
.ebic-guide-page-15127 .ebic-guide-main-card-15127.voice-intro .ebic-guide-cards-row{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.ebic-student-voice-15127{
  margin-top:16px;
  padding:20px;
  border:1px solid rgba(11,86,198,.16);
  border-radius:30px;
  background:
    radial-gradient(circle at top left, rgba(229,178,75,.13), transparent 30%),
    radial-gradient(circle at bottom right, rgba(11,86,198,.10), transparent 32%),
    linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  box-shadow:0 22px 58px rgba(15,23,42,.09);
}
.ebic-student-voice-head-15127{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px;
}
.ebic-student-voice-head-15127 h2{margin:0 0 5px;color:#071f49;font-size:30px;line-height:1.05;}
.ebic-student-voice-head-15127 p{margin:0;color:#56667f;line-height:1.45;}
.ebic-student-voice-head-15127 .voice-count{
  min-width:138px;
  padding:12px 14px;
  border-radius:20px;
  background:#fff;
  border:1px solid #dce8f7;
  display:grid;
  justify-items:center;
  gap:2px;
  box-shadow:0 12px 30px rgba(15,23,42,.06);
}
.ebic-student-voice-head-15127 .voice-count strong{font-size:24px;color:#0b56c6;line-height:1;}
.ebic-student-voice-head-15127 .voice-count span{font-size:12px;font-weight:850;color:#66758c;text-transform:uppercase;letter-spacing:.05em;}
.ebic-student-question-layout-15127{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);
  gap:16px;
  align-items:stretch;
}
.ebic-student-current-question-15127,
.ebic-student-side-15127>article,
.ebic-student-mini-card-15127,
.ebic-student-understand-15127{
  border:1px solid #dbe7f7;
  border-radius:24px;
  background:rgba(255,255,255,.94);
  box-shadow:0 14px 36px rgba(15,23,42,.065);
}
.ebic-student-current-question-15127{
  padding:20px;
  min-width:0;
}
.question-kicker{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  margin-bottom:14px;
}
.question-kicker span{
  display:inline-flex;
  align-items:center;
  padding:7px 12px;
  border-radius:999px;
  background:#eef6ff;
  color:#0b56c6;
  font-size:12px;
  font-weight:950;
  letter-spacing:.03em;
  text-transform:uppercase;
}
.question-kicker strong{color:#66758c;font-size:13px;}
.question-content-15127{
  display:grid;
  grid-template-columns:116px minmax(0,1fr);
  gap:18px;
  align-items:center;
  padding:14px;
  border-radius:24px;
  background:linear-gradient(180deg,#f9fcff 0%,#f2f7ff 100%);
  border:1px solid rgba(11,86,198,.10);
}
.ebic-student-voice-15127.no-pictures .question-content-15127{grid-template-columns:1fr;}
.question-content-15127 img{
  width:116px;
  height:116px;
  border-radius:26px;
  display:block;
  background:#fff;
  box-shadow:inset 0 0 0 1px rgba(11,86,198,.10);
}
.question-content-15127 h3{margin:0 0 8px;color:#071f49;font-size:28px;line-height:1.08;}
.question-content-15127 p{margin:0;color:#27364d;font-size:20px;line-height:1.35;font-weight:800;}
.question-content-15127 small{display:block;margin-top:8px;color:#64748b;font-size:13px;line-height:1.35;}
.ebic-student-play-scale-15127{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
  margin-top:18px;
}
.ebic-student-play-scale-15127 button{
  border:1px solid #dbe7f7;
  border-radius:18px;
  min-height:82px;
  padding:10px 6px;
  background:#fff;
  display:grid;
  justify-items:center;
  align-content:center;
  gap:6px;
  cursor:pointer;
  font-weight:950;
  color:#31425c;
  transition:transform .13s ease, box-shadow .13s ease, border-color .13s ease, background .13s ease;
}
.ebic-student-play-scale-15127 button:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(15,23,42,.09);}
.ebic-student-play-scale-15127 button span{
  width:34px;
  height:34px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:#edf4ff;
  color:#0b56c6;
  font-size:15px;
}
.ebic-student-play-scale-15127 button small{margin:0;color:#52627a;font-size:12px;line-height:1.1;text-align:center;}
.ebic-student-play-scale-15127 button.scale-0 span{background:#ffe8e8;color:#b91c1c;}
.ebic-student-play-scale-15127 button.scale-1 span{background:#fff2d5;color:#a15c00;}
.ebic-student-play-scale-15127 button.scale-2 span{background:#fff8cf;color:#8a6a00;}
.ebic-student-play-scale-15127 button.scale-3 span{background:#e4f6ed;color:#166534;}
.ebic-student-play-scale-15127 button.scale-4 span{background:#dff4ea;color:#047857;}
.ebic-student-play-scale-15127 button.active{
  border-color:#0b56c6;
  background:#edf5ff;
  box-shadow:0 0 0 4px rgba(11,86,198,.13), 0 16px 34px rgba(11,86,198,.12);
}
.ebic-student-play-scale-15127 button.active span{background:#0b56c6;color:#fff;}
.question-move-row-15127{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-top:16px;
}
.ebic-student-question-dots-15127{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid rgba(15,23,42,.08);
}
.ebic-student-question-dots-15127 button{
  width:34px;
  height:34px;
  border-radius:999px;
  border:1px solid #dbe7f7;
  background:#fff;
  color:#52627a;
  cursor:pointer;
  font-weight:950;
  font-size:12px;
}
.ebic-student-question-dots-15127 button.done{background:#e8f7ee;border-color:#bde8cf;color:#166534;}
.ebic-student-question-dots-15127 button.active{background:#0b56c6;border-color:#0b56c6;color:#fff;}
.ebic-student-side-15127{display:grid;gap:14px;align-content:start;}
.ebic-student-side-15127>article{padding:16px;}
.mini-head{display:flex;align-items:center;gap:10px;margin-bottom:10px;}
.mini-head>span{width:42px;height:42px;border-radius:15px;background:#eef6ff;color:#0b56c6;display:grid;place-items:center;flex:0 0 auto;}
.mini-head h3{margin:0;color:#071f49;font-size:17px;line-height:1.15;}
.ebic-student-side-15127 p,.ebic-student-mini-card-15127 p{color:#56667f;line-height:1.45;margin:8px 0 12px;}
.participation-number{font-size:38px;font-weight:950;color:#0b56c6;line-height:1;margin:8px 0 12px;}
.student-rainbow-meter-15127{position:relative;height:12px;border-radius:999px;background:linear-gradient(90deg,#e85d5d 0%,#f2b84b 28%,#eadb59 52%,#74c98d 76%,#30a46c 100%);margin:10px 4px 8px;}
.student-rainbow-meter-15127 i{position:absolute;top:50%;transform:translate(-50%,-50%);width:22px;height:22px;border-radius:999px;background:#fff;border:5px solid #0b56c6;box-shadow:0 8px 16px rgba(15,23,42,.15);}
.student-rainbow-labels-15127{display:flex;justify-content:space-between;color:#66758c;font-size:11px;font-weight:850;}
.ebic-student-support-grid-15127{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin-top:16px;
}
.ebic-student-mini-card-15127{padding:16px;min-width:0;}
.ebic-guide-pill-list-15127{display:flex;flex-wrap:wrap;gap:8px;}
.ebic-guide-pill-list-15127 label{
  border:1px solid #dbe7f7;
  background:#f8fbff;
  border-radius:999px;
  padding:8px 11px;
  cursor:pointer;
  font-size:12px;
  font-weight:850;
  color:#394960;
}
.ebic-guide-pill-list-15127 label.checked{background:#eaf2ff;border-color:#0b56c6;color:#0b56c6;box-shadow:0 0 0 3px rgba(11,86,198,.09);}
.ebic-guide-pill-list-15127 input{display:none;}
.ebic-student-mini-card-15127 textarea,
.ebic-student-understand-15127 textarea{
  margin-top:12px;
  width:100%;
  min-height:82px;
  border:1px solid #d8e5f5;
  border-radius:16px;
  background:#fff;
  padding:12px;
  resize:vertical;
  font:inherit;
  color:#25354d;
}
.ebic-student-understand-15127{
  display:grid;
  gap:8px;
  margin-top:14px;
  padding:16px;
  color:#071f49;
  font-weight:950;
}
.ebic-student-voice-15127.mature .question-content-15127 h3{font-size:24px;}
.ebic-student-voice-15127.mature .question-content-15127 p{font-size:17px;font-weight:760;}
.ebic-student-voice-15127.mature .ebic-student-play-scale-15127 button{min-height:72px;}
.ebic-guide-footer-15127 .btn[disabled],
.ebic-student-voice-15127 .btn[disabled]{opacity:.48;cursor:not-allowed;filter:saturate(.7);}
.ebic-guide-page-15127.no-pictures .question-content-15127,
.ebic-guide-page-15127.no-pictures .ebic-guide-picture-card.no-picture,
.ebic-guide-page-15127.no-pictures .ebic-student-mini-card-15127,
.ebic-guide-page-15127.no-pictures .ebic-student-current-question-15127{
  background:linear-gradient(180deg,#ffffff 0%,#f9fbff 100%);
}
@media(max-width:1280px){
  .ebic-student-question-layout-15127{grid-template-columns:1fr;}
  .ebic-student-side-15127{grid-template-columns:repeat(2,minmax(0,1fr));}
  .ebic-student-support-grid-15127{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:920px){
  .ebic-guide-page-15127 .ebic-guide-main-card-15127.voice-intro .ebic-guide-cards-row,
  .ebic-student-support-grid-15127,
  .ebic-student-side-15127{grid-template-columns:1fr;}
  .question-content-15127{grid-template-columns:1fr;}
  .question-content-15127 img{width:90px;height:90px;}
  .ebic-student-play-scale-15127{grid-template-columns:repeat(5,minmax(52px,1fr));overflow-x:auto;padding-bottom:4px;}
  .question-move-row-15127{flex-direction:column;}
  .ebic-student-voice-head-15127{flex-direction:column;}
}

/* EBIC 151.28 – EBiC-Elev snyggare Din röst */
.ebic-guide-page-15128 .ebic-guide-main-card-15128.voice-start{
  display:block;
  padding:26px 28px;
  border:1px solid rgba(149,173,210,.34);
  background:linear-gradient(135deg,#fff,#f7fbff 58%,#fef8ec);
  box-shadow:0 22px 55px rgba(15,23,42,.08);
}
.ebic-guide-main-card-15128.voice-start h2{margin:0 0 8px;font-size:clamp(28px,3.2vw,42px);color:#061b46;letter-spacing:-.04em;}
.ebic-guide-main-card-15128.voice-start p{max-width:760px;font-size:18px;color:#526079;margin:0;}
.voice-start-row-15128{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px;}
.voice-start-row-15128 span{display:inline-flex;align-items:center;border:1px solid #dbeafe;background:#fff;border-radius:999px;padding:10px 14px;font-weight:800;color:#153e75;box-shadow:0 8px 22px rgba(29,78,216,.06);}
.ebic-student-voice-15128{margin-top:18px;padding:22px;border-radius:30px;border:1px solid rgba(191,210,235,.72);background:linear-gradient(180deg,#ffffff,#f8fbff);box-shadow:0 24px 60px rgba(15,23,42,.08);}
.voice-top-15128{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;}
.voice-top-15128 h2{margin:0;font-size:clamp(28px,3vw,40px);letter-spacing:-.04em;color:#061b46;}
.voice-top-15128 p{margin:6px 0 0;color:#5b6b83;font-size:17px;line-height:1.5;}
.voice-progress-15128{min-width:150px;border:1px solid #dbeafe;background:#eef6ff;border-radius:20px;padding:14px 16px;text-align:center;color:#0b3b76;}
.voice-progress-15128 strong{display:block;font-size:24px;line-height:1;}
.voice-progress-15128 span{display:block;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#55708f;margin-top:6px;}
.voice-panel-tabs-15128{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:18px;}
.voice-panel-tabs-15128 button{border:1px solid #dbe7f7;background:#fff;border-radius:18px;padding:14px 14px;font-weight:900;color:#1d3355;cursor:pointer;display:flex;gap:10px;align-items:center;justify-content:center;box-shadow:0 10px 25px rgba(15,23,42,.04);}
.voice-panel-tabs-15128 button span{font-size:20px;line-height:1;}
.voice-panel-tabs-15128 button.active{background:#0b56c6;color:#fff;border-color:#0b56c6;box-shadow:0 16px 34px rgba(11,86,198,.22);}
.voice-panel-grid-15128{display:grid;grid-template-columns:minmax(280px,.95fr) minmax(320px,1.05fr);gap:16px;align-items:start;}
.voice-large-card-15128,.voice-slider-card-15128,.voice-mood-card-15128{border:1px solid #dce8f7;border-radius:24px;background:#fff;padding:20px;box-shadow:0 15px 34px rgba(15,23,42,.06);}
.voice-large-card-15128{min-height:100%;background:linear-gradient(135deg,#fff,#f4f9ff);}
.voice-large-card-15128.warm{background:linear-gradient(135deg,#fff,#fff8e8);}
.voice-large-card-15128.blue{background:linear-gradient(135deg,#fff,#eef6ff);}
.voice-large-card-15128.green{background:linear-gradient(135deg,#fff,#f0fbf4);}
.voice-large-card-15128.purple{background:linear-gradient(135deg,#fff,#f6f1ff);}
.voice-large-card-15128.next{background:linear-gradient(135deg,#fff,#f8fbff);}
.voice-card-icon-15128{width:56px;height:56px;border-radius:18px;display:grid;place-items:center;background:#fff;border:1px solid #dce8f7;box-shadow:0 10px 24px rgba(15,23,42,.05);font-size:28px;margin-bottom:12px;}
.voice-large-card-15128 h3,.voice-mood-card-15128 h4,.voice-slider-card-15128 h4{margin:0 0 8px;color:#061b46;letter-spacing:-.025em;}
.voice-large-card-15128 h3{font-size:26px;}
.voice-large-card-15128 p,.voice-mood-card-15128 p,.voice-slider-card-15128 p{margin:0 0 14px;color:#526079;line-height:1.45;}
.voice-stack-15128{display:grid;gap:12px;}
.voice-slider-grid-15128{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.voice-slider-card-15128.answered{border-color:#aac8f2;background:#fbfdff;}
.voice-slider-row-15128{display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center;margin-top:12px;}
.voice-slider-row-15128 strong{min-width:86px;text-align:center;border-radius:999px;background:#eef6ff;color:#0b56c6;padding:8px 10px;font-size:13px;}
.voice-slider-row-15128 input[type="range"]{width:100%;accent-color:#0b56c6;}
.voice-slider-labels-15128{display:flex;justify-content:space-between;color:#7a8798;font-size:12px;font-weight:800;margin-top:4px;}
.voice-mood-options-15128{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px;}
.voice-mood-options-15128 button{border:1px solid #dce8f7;background:#fff;border-radius:18px;min-width:86px;padding:12px 10px;cursor:pointer;display:grid;gap:6px;place-items:center;font-weight:900;color:#1c3352;box-shadow:0 8px 20px rgba(15,23,42,.04);}
.voice-mood-options-15128 button b{font-size:30px;line-height:1;}
.voice-mood-options-15128 button.active{background:#0b56c6;color:#fff;border-color:#0b56c6;box-shadow:0 16px 32px rgba(11,86,198,.22);}
.voice-mood-options-15128.mature button{min-width:110px;display:inline-flex;justify-content:center;}
.voice-chip-cloud-15128{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px;}
.voice-chip-cloud-15128 label{cursor:pointer;}
.voice-chip-cloud-15128 input{display:none;}
.voice-chip-cloud-15128 span{display:inline-flex;align-items:center;border:1px solid #d7e5f7;border-radius:999px;background:rgba(255,255,255,.82);padding:10px 13px;font-weight:900;color:#34445d;box-shadow:0 6px 16px rgba(15,23,42,.035);}
.voice-chip-cloud-15128 label.checked span{background:#0b56c6;border-color:#0b56c6;color:#fff;box-shadow:0 12px 26px rgba(11,86,198,.20);}
.voice-textarea-15128{width:100%;min-height:104px;border:1px solid #d7e5f7;border-radius:20px;margin-top:14px;padding:14px 16px;background:#fff;color:#1d3355;resize:vertical;}
.voice-understand-15128{display:block;margin-top:16px;border:1px solid #dce8f7;border-radius:24px;background:#fff;padding:18px;box-shadow:0 12px 28px rgba(15,23,42,.04);font-weight:900;color:#061b46;}
.voice-understand-15128 span{display:block;margin-bottom:8px;font-size:18px;}
.voice-actions-15128{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;margin-top:18px;}
.voice-step-meter-15128{height:12px;background:#e8eef7;border-radius:999px;overflow:hidden;}
.voice-step-meter-15128 span{display:block;height:100%;background:linear-gradient(90deg,#0b56c6,#7aa7e8);border-radius:999px;}
.ebic-guide-case-note-15128 span{display:none!important;}
.ebic-guide-footer-15128{margin-top:18px;}
.ebic-student-voice-15128.no-pictures .voice-card-icon-15128{display:none;}
.ebic-guide-timeline-15128 .timeline-emoji-15128{width:44px;height:44px;border-radius:16px;display:grid;place-items:center;background:#eef6ff;border:1px solid #dbeafe;font-size:22px;flex:0 0 auto;}
@media (max-width: 1000px){
  .voice-panel-grid-15128{grid-template-columns:1fr;}
  .voice-slider-grid-15128{grid-template-columns:1fr;}
  .voice-panel-tabs-15128{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 700px){
  .ebic-student-voice-15128{padding:16px;border-radius:24px;}
  .voice-top-15128{display:block;}
  .voice-progress-15128{margin-top:12px;text-align:left;}
  .voice-panel-tabs-15128{grid-template-columns:1fr;}
  .voice-actions-15128{grid-template-columns:1fr;}
  .voice-actions-15128 .btn{width:100%;}
  .voice-mood-options-15128 button{min-width:72px;}
}
.voice-slider-head-15128{display:grid;grid-template-columns:54px 1fr;gap:12px;align-items:start;}
.voice-slider-head-15128 img{width:54px;height:54px;border-radius:17px;display:block;box-shadow:0 8px 18px rgba(15,23,42,.05);}
.ebic-student-voice-15128.no-pictures .voice-slider-head-15128{grid-template-columns:1fr;}
.ebic-student-voice-15128.no-pictures .voice-slider-head-15128 img{display:none;}
@media (max-width: 520px){.voice-slider-head-15128{grid-template-columns:46px 1fr}.voice-slider-head-15128 img{width:46px;height:46px}}

/* EBIC 151.29 – EBiC-Elev: elevlås, ren elevväljare och borttagen underlagsbar */
.ebic-guide-header-15129{
  align-items:flex-start;
}
.ebic-guide-header-controls-15129{
  align-items:flex-start;
  gap:12px;
}
.ebic-guide-student-select-15129,
.ebic-guide-selected-grade-15129{
  min-width:210px;
  background:#fff;
  border:1px solid #dbe7f7;
  border-radius:18px;
  padding:10px 12px;
  box-shadow:0 12px 24px rgba(15,23,42,.045);
}
.ebic-guide-student-select-15129 span,
.ebic-guide-selected-grade-15129 span{
  display:block;
  color:#6b7890;
  font-size:12px;
  font-weight:850;
  margin-bottom:5px;
}
.ebic-guide-student-select-15129 select{
  width:100%;
  border:0;
  background:transparent;
  padding:2px 0;
  color:#0b1f3f;
  font-weight:900;
  outline:0;
}
.ebic-guide-selected-grade-15129 strong{
  display:block;
  color:#0b56c6;
  font-size:18px;
  line-height:1.1;
}
.ebic-guide-right-controls-15129{
  display:grid;
  gap:8px;
  min-width:150px;
  justify-items:end;
}
.ebic-guide-right-controls-15129 .ebic-guide-picture-toggle{
  margin:0;
  justify-content:flex-end;
}
.ebic-guide-lock-control-15129{
  display:grid;
  gap:5px;
  justify-items:end;
}
.ebic-guide-lock-control-15129 > span{
  color:#6b7890;
  font-size:12px;
  font-weight:900;
}
.ebic-guide-lock-control-15129 button{
  border:1px solid #dbe7f7;
  border-radius:999px;
  background:#fff;
  color:#0b1f3f;
  padding:8px 11px;
  display:flex;
  align-items:center;
  gap:7px;
  cursor:pointer;
  font-weight:900;
  box-shadow:0 10px 18px rgba(15,23,42,.045);
}
.ebic-guide-lock-control-15129 button b{
  display:grid;
  place-items:center;
  width:24px;
  height:24px;
  border-radius:999px;
  background:#eef4ff;
  font-size:14px;
}
.ebic-guide-lock-control-15129.locked button{
  background:#0b56c6;
  border-color:#0b56c6;
  color:#fff;
}
.ebic-guide-lock-control-15129.locked button b{
  background:rgba(255,255,255,.18);
}
.ebic-guide-page-15129.ebic-elev-locked{
  border-radius:28px;
  outline:2px solid rgba(11,86,198,.18);
  outline-offset:8px;
}
.ebic-elev-locked .ebic-guide-stage-row button,
.ebic-elev-locked .ebic-guide-grade-row button,
.ebic-elev-locked .ebic-guide-student-select-15129 select,
.ebic-elev-locked .ebic-guide-picture-toggle button{
  pointer-events:none;
  opacity:.55;
}
.ebic-elev-locked-shell .reference-sidebar .reference-menu button,
.ebic-elev-locked-shell .reference-sidebar .sidebar-minimize,
.ebic-elev-locked-shell .reference-sidebar-bottom,
.ebic-elev-locked-shell .mobile-menu-toggle,
.ebic-elev-locked-shell .mobile-sidebar,
.ebic-elev-locked-shell .mobile-menu-overlay{
  pointer-events:none!important;
}
.ebic-elev-locked-shell .reference-sidebar .reference-menu button,
.ebic-elev-locked-shell .reference-sidebar-bottom,
.ebic-elev-locked-shell .mobile-menu-toggle{
  opacity:.38;
}
.ebic-guide-empty-15129{
  margin-top:18px;
  background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);
}
.ebic-guide-empty-15129 h2{font-size:28px;color:#0b1f3f;margin-bottom:8px;}
.ebic-guide-empty-list-15129{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:10px;
  margin-top:18px;
}
.ebic-guide-empty-list-15129 button{
  border:1px solid #dbe7f7;
  border-radius:18px;
  padding:13px 14px;
  background:#fff;
  color:#0b1f3f;
  text-align:left;
  font-weight:900;
  cursor:pointer;
}
.ebic-guide-empty-list-15129 button span{
  display:block;
  margin-top:4px;
  color:#6b7890;
  font-size:12px;
  font-weight:800;
}
.ebic-guide-case-note-15128{display:none!important;}
@media (max-width:760px){
  .ebic-guide-header-controls-15129{width:100%;align-items:stretch;}
  .ebic-guide-student-select-15129,.ebic-guide-selected-grade-15129{width:100%;min-width:0;}
  .ebic-guide-right-controls-15129{width:100%;justify-items:stretch;}
  .ebic-guide-lock-control-15129{justify-items:start;}
  .ebic-guide-right-controls-15129 .ebic-guide-picture-toggle{justify-content:space-between;}
}

/* EBIC 151.30 – EBiC-Elev finjustering */
.ebic-guide-header-15130{align-items:flex-start;gap:18px;}
.ebic-guide-header-controls-15130{align-items:center;gap:12px;}
.ebic-guide-student-select-15130{min-width:190px;padding:0;background:#fff;overflow:hidden;}
.ebic-guide-student-select-15130 select{padding:14px 16px;font-weight:900;color:#0b1f3f;}
.ebic-guide-selected-grade-15130{display:grid;align-items:center;min-height:52px;padding:12px 16px;}
.ebic-guide-selected-grade-15130 strong{font-size:16px;color:#0b1f3f;}
.ebic-guide-right-controls-15130{display:flex;align-items:center;gap:12px;min-width:0;}
.ebic-guide-lock-icon-15130{width:48px;height:48px;border-radius:16px;border:1px solid #dbe7f7;background:#fff;color:#061b46;display:grid;place-items:center;font-size:22px;cursor:pointer;box-shadow:0 10px 24px rgba(15,23,42,.055);transition:.18s ease;}
.ebic-guide-lock-icon-15130:hover{transform:translateY(-1px);border-color:#bdd2f0;}
.ebic-guide-lock-icon-15130.locked{background:#0b56c6;border-color:#0b56c6;color:#fff;box-shadow:0 14px 30px rgba(11,86,198,.22);}
.ebic-guide-stepper-15130{margin-top:16px;}
.ebic-guide-main-card-15130{grid-template-columns:minmax(0,1fr) minmax(330px,410px);align-items:start;}
.ebic-guide-timeline-card-15130{padding:28px 30px;background:#fff;border:1px solid #edf0f6;border-radius:26px;box-shadow:0 18px 44px rgba(15,23,42,.055);}
.ebic-guide-timeline-card-15130 h3{font-size:24px;line-height:1.1;margin-bottom:26px;color:#071f49;letter-spacing:-.02em;}
.ebic-guide-timeline-15130{display:grid;gap:0;}
.ebic-guide-timeline-item-15130{grid-template-columns:86px 1fr;gap:20px;min-height:118px;padding-bottom:16px;}
.ebic-guide-timeline-item-15130:not(:last-child)::after{left:43px;top:86px;bottom:0;border-left:3px solid #143c78;opacity:.82;}
.ebic-guide-timeline-item-15130>div{width:86px;height:86px;border-radius:50%;background:#eaf2ff;border:0;box-shadow:inset 0 -10px 18px rgba(15,23,42,.05),0 10px 20px rgba(15,23,42,.045);}
.ebic-guide-timeline-item-15130:nth-child(1)>div{background:#80b4e8;}
.ebic-guide-timeline-item-15130:nth-child(2)>div{background:#ffd67b;}
.ebic-guide-timeline-item-15130:nth-child(3)>div{background:#b8d9a5;}
.ebic-guide-timeline-item-15130:nth-child(4)>div{background:#c7afea;}
.ebic-guide-timeline-item-15130 img{width:48px;height:48px;object-fit:contain;filter:contrast(1.05);}
.ebic-guide-timeline-item-15130 strong{font-size:24px;margin:4px 0 8px;letter-spacing:-.02em;color:#071f49;}
.ebic-guide-timeline-item-15130 small{font-size:17px;line-height:1.42;color:#283a55;}
.ebic-student-voice-wrap-15130{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,410px);gap:24px;align-items:start;margin-top:18px;}
.ebic-student-voice-main-15130{padding:28px;border-radius:30px;border:1px solid rgba(191,210,235,.72);background:linear-gradient(180deg,#ffffff,#fbfdff);box-shadow:0 24px 60px rgba(15,23,42,.075);}
.voice-top-15130{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;}
.voice-top-15130 h2{margin:0;font-size:clamp(30px,3.1vw,44px);letter-spacing:-.045em;color:#061b46;}
.voice-top-15130 p{margin:7px 0 0;color:#53637c;font-size:17px;line-height:1.45;}
.voice-progress-15130{min-width:146px;border:1px solid #e3eaf6;background:#f7fbff;border-radius:20px;padding:13px 15px;text-align:center;color:#0b3b76;}
.voice-progress-15130 strong{display:block;font-size:24px;line-height:1;}
.voice-progress-15130 span{display:block;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;color:#61738e;margin-top:6px;}
.voice-panel-tabs-15130{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:14px 0 20px;}
.voice-panel-tabs-15130 button{border:1px solid #e0e8f4;background:#fff;border-radius:18px;padding:13px 12px;font-weight:900;color:#223653;cursor:pointer;display:grid;gap:5px;justify-items:center;align-items:center;min-height:82px;box-shadow:0 10px 24px rgba(15,23,42,.04);transition:.16s ease;}
.voice-panel-tabs-15130 button span{font-size:24px;line-height:1;}
.voice-panel-tabs-15130 button.active{background:#0b56c6;color:#fff;border-color:#0b56c6;box-shadow:0 16px 34px rgba(11,86,198,.22);transform:translateY(-1px);}
.voice-panel-grid-15130{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(320px,1.1fr);gap:18px;align-items:start;}
.voice-large-card-15130,.voice-question-card-15130,.voice-participation-feeling-15130{border:1px solid #dfe9f6;border-radius:26px;background:#fff;padding:22px;box-shadow:0 16px 36px rgba(15,23,42,.055);}
.voice-large-card-15130 h3{margin:0 0 8px;color:#061b46;font-size:28px;letter-spacing:-.035em;}
.voice-large-card-15130 p{margin:0 0 14px;color:#53637c;line-height:1.46;font-size:16px;}
.voice-large-card-15130.warm{background:linear-gradient(135deg,#fff,#fff8e8);}
.voice-large-card-15130.blue{background:linear-gradient(135deg,#fff,#eef6ff);}
.voice-large-card-15130.purple{background:linear-gradient(135deg,#fff,#f6f1ff);}
.voice-large-card-15130.next{background:linear-gradient(135deg,#fff,#f8fbff);margin-top:12px;}
.voice-question-stack-15130{display:grid;gap:14px;}
.voice-question-board-15130{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.voice-question-card-15130{display:grid;grid-template-columns:58px minmax(0,1fr);gap:15px;align-items:start;}
.voice-question-card-15130.answered{border-color:#afc9ee;background:linear-gradient(180deg,#fff,#fbfdff);}
.voice-question-card-15130 img{width:58px;height:58px;border-radius:18px;display:block;background:#eef6ff;box-shadow:0 8px 18px rgba(15,23,42,.05);}
.voice-question-card-15130 h4{margin:0 0 4px;color:#061b46;font-size:20px;letter-spacing:-.02em;}
.voice-question-card-15130 p{margin:0 0 12px;color:#526079;line-height:1.38;}
.voice-choice-scale-15130{display:flex;flex-wrap:wrap;gap:7px;}
.voice-choice-scale-15130 button{border:1px solid #d8e6f7;background:#fff;border-radius:999px;padding:8px 11px;color:#34445d;font-weight:900;cursor:pointer;box-shadow:0 5px 14px rgba(15,23,42,.035);}
.voice-choice-scale-15130 button.active{background:#0b56c6;border-color:#0b56c6;color:#fff;box-shadow:0 12px 24px rgba(11,86,198,.20);}
.voice-chip-cloud-15130{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px;}
.voice-chip-cloud-15130 label{cursor:pointer;}
.voice-chip-cloud-15130 input{display:none;}
.voice-chip-cloud-15130 span{display:inline-flex;align-items:center;border:1px solid #d7e5f7;border-radius:999px;background:rgba(255,255,255,.88);padding:10px 13px;font-weight:900;color:#34445d;box-shadow:0 6px 16px rgba(15,23,42,.035);}
.voice-chip-cloud-15130 label.checked span{background:#0b56c6;border-color:#0b56c6;color:#fff;box-shadow:0 12px 26px rgba(11,86,198,.20);}
.voice-textarea-15130{width:100%;min-height:100px;border:1px solid #d7e5f7;border-radius:20px;margin-top:14px;padding:14px 16px;background:#fff;color:#1d3355;resize:vertical;}
.voice-panel-single-15130{display:grid;gap:16px;}
.voice-participation-head-15130{display:grid;grid-template-columns:54px 1fr;gap:14px;align-items:start;margin-bottom:22px;}
.voice-participation-head-15130 span{width:54px;height:54px;border-radius:18px;background:#f0ebff;color:#7d5ac7;display:grid;place-items:center;}
.voice-participation-head-15130 h3{margin:0 0 4px;color:#071f49;font-size:26px;}
.voice-participation-head-15130 p{margin:0;color:#526079;font-size:18px;line-height:1.35;}
.student-rainbow-choice-15130{position:relative;margin:24px 10px 18px;height:34px;}
.student-rainbow-choice-15130::before{content:"";position:absolute;left:0;right:0;top:14px;height:8px;border-radius:999px;background:linear-gradient(90deg,#e45145 0%,#f4ad39 28%,#f1d14d 52%,#69b15e 100%);}
.student-rainbow-choice-15130 input{position:absolute;inset:0;width:100%;opacity:.001;cursor:pointer;}
.student-rainbow-choice-15130 i{position:absolute;top:0;transform:translateX(-50%);width:34px;height:34px;border-radius:50%;background:#8a66cc;border:4px solid #d8ccf1;box-shadow:0 10px 24px rgba(76,45,135,.24);pointer-events:none;}
.student-rainbow-labels-choice-15130{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;font-size:13px;font-weight:900;color:#243553;text-align:center;margin-top:10px;}
.student-thanks-15130{margin-top:20px;border:1px solid #edf0f6;border-radius:22px;background:#fff;padding:18px 20px;display:flex;justify-content:space-between;gap:16px;align-items:center;box-shadow:0 12px 26px rgba(15,23,42,.045);}
.student-thanks-15130 strong{font-size:18px;line-height:1.35;color:#071f49;}
.student-thanks-15130 b{font-size:30px;background:#f0ebff;border-radius:999px;width:54px;height:54px;display:grid;place-items:center;flex:0 0 auto;}
.voice-understand-15130{display:block;border:1px solid #dfe9f6;border-radius:26px;background:#fff;padding:20px;box-shadow:0 16px 36px rgba(15,23,42,.055);font-weight:900;color:#061b46;}
.voice-understand-15130 span{display:block;margin-bottom:8px;font-size:20px;}
.voice-actions-15130{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;margin-top:20px;}
.voice-step-meter-15130{height:12px;background:#e9eef7;border-radius:999px;overflow:hidden;}
.voice-step-meter-15130 span{display:block;height:100%;background:linear-gradient(90deg,#0b56c6,#8a66cc);border-radius:999px;}
.ebic-student-voice-main-15130.no-pictures .voice-question-card-15130{grid-template-columns:1fr;}
.ebic-student-voice-main-15130.no-pictures .voice-question-card-15130 img{display:none;}
.ebic-guide-page-15130.ebic-elev-locked{border-radius:28px;outline:2px solid rgba(11,86,198,.16);outline-offset:8px;}
.ebic-elev-locked-shell .reference-sidebar .reference-menu button,
.ebic-elev-locked-shell .reference-sidebar .sidebar-minimize,
.ebic-elev-locked-shell .reference-sidebar-bottom,
.ebic-elev-locked-shell .mobile-menu-toggle,
.ebic-elev-locked-shell .mobile-sidebar,
.ebic-elev-locked-shell .mobile-menu-overlay{pointer-events:none!important;}
.ebic-elev-locked-shell .reference-sidebar .reference-menu button,
.ebic-elev-locked-shell .reference-sidebar-bottom,
.ebic-elev-locked-shell .mobile-menu-toggle{opacity:.38;}
@media (max-width:1100px){.ebic-guide-main-card-15130,.ebic-student-voice-wrap-15130{grid-template-columns:1fr}.ebic-guide-timeline-card-15130{max-width:none}.voice-panel-grid-15130{grid-template-columns:1fr}.voice-question-board-15130{grid-template-columns:1fr}.voice-panel-tabs-15130{grid-template-columns:repeat(2,minmax(0,1fr));}.voice-actions-15130{grid-template-columns:1fr}.voice-actions-15130 .btn{width:100%;}}
@media (max-width:620px){.ebic-guide-header-controls-15130{width:100%;align-items:stretch}.ebic-guide-right-controls-15130{justify-content:space-between}.voice-top-15130{display:block}.voice-progress-15130{margin-top:12px;text-align:left}.voice-panel-tabs-15130{grid-template-columns:1fr}.voice-question-card-15130{grid-template-columns:48px 1fr}.voice-question-card-15130 img{width:48px;height:48px}.ebic-guide-timeline-item-15130{grid-template-columns:66px 1fr;min-height:104px}.ebic-guide-timeline-item-15130>div{width:66px;height:66px}.ebic-guide-timeline-item-15130:not(:last-child)::after{left:33px;top:66px}.ebic-guide-timeline-item-15130 strong{font-size:20px}.ebic-guide-timeline-item-15130 small{font-size:15px}}

/* EBIC 151.31 – ÅPU före STEGvis */
.case-context-nav-15131 .case-context-tab-row{gap:8px;overflow-x:auto;padding-bottom:2px;}
.case-context-nav-15131 .case-tab-btn{white-space:nowrap;}
.apu-topbar .title h1{letter-spacing:-.04em;}
.apu-hero-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) 460px;
  gap:22px;
  align-items:center;
  background:
    radial-gradient(circle at top right, rgba(229,178,75,.14), transparent 30%),
    linear-gradient(135deg,#ffffff 0%,#f7fbff 100%);
  margin-bottom:16px;
}
.apu-hero-card h2{margin:4px 0 8px;font-size:32px;letter-spacing:-.035em;color:#071f49;}
.apu-hero-card p{max-width:760px;}
.apu-ebic-direction{margin-top:14px;padding:14px 16px;border-radius:18px;background:#fff;border:1px solid rgba(11,86,198,.12);color:#334155;line-height:1.45;}
.apu-ebic-direction strong{color:#071f49;}
.apu-ebic-direction span{color:#64748b;}
.apu-hero-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.apu-hero-kpis>div{border:1px solid var(--line);background:#fff;border-radius:18px;padding:18px;box-shadow:0 12px 28px rgba(20,33,61,.055);}
.apu-hero-kpis span{display:block;color:var(--muted);font-size:13px;font-weight:800;margin-bottom:7px;}
.apu-hero-kpis strong{display:block;color:var(--blue);font-size:24px;line-height:1.05;}
.apu-direction-card{margin:16px 0;}
.apu-meta-card{margin-bottom:18px;}
.apu-meta-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px;}
.apu-goal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.apu-goal-grid textarea,.apu-meta-card textarea{min-height:92px;}
.apu-meta-card input[readonly]{background:#f8fafc;color:#475569;}
.apu-list-section{display:grid;gap:14px;margin-bottom:18px;}
.apu-list-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin:2px 0 2px;}
.apu-list-head h2{margin:0 0 4px;color:#071f49;letter-spacing:-.025em;}
.apu-list-head p{margin:0;}
.apu-row-card{background:#fff;border:1px solid rgba(20,33,61,.09);border-radius:24px;box-shadow:0 16px 34px rgba(20,33,61,.065);padding:18px;}
.apu-row-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:14px;}
.apu-row-head span{display:inline-flex;border-radius:999px;background:#eef4ff;color:#0b56c6;font-size:12px;font-weight:850;padding:6px 10px;margin-bottom:6px;}
.apu-row-head strong{display:block;font-size:20px;color:#071f49;letter-spacing:-.02em;}
.apu-row-head small{display:block;color:#64748b;font-size:13px;margin-top:3px;}
.apu-row-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
.apu-row-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
.apu-row-grid .field:nth-child(5),.apu-row-grid .field:nth-child(6),.apu-row-grid .field:nth-child(8){grid-column:span 2;}
.apu-row-grid .field:last-child{grid-column:1/-1;}
.apu-row-grid textarea{min-height:86px;}
.apu-history-card{margin-top:18px;}
.apu-empty-card{background:linear-gradient(135deg,#ffffff 0%,#f8fbff 100%);}
@media (max-width: 1100px){
  .apu-hero-card{grid-template-columns:1fr;}
  .apu-hero-kpis{grid-template-columns:repeat(3,minmax(0,1fr));}
  .apu-meta-grid,.apu-row-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 760px){
  .apu-hero-kpis,.apu-meta-grid,.apu-goal-grid,.apu-row-grid{grid-template-columns:1fr;}
  .apu-row-grid .field:nth-child(5),.apu-row-grid .field:nth-child(6),.apu-row-grid .field:nth-child(8){grid-column:auto;}
  .apu-list-head,.apu-row-head{flex-direction:column;align-items:flex-start;}
  .apu-row-actions{justify-content:flex-start;}
}

/* EBIC 151.35 – EBiC-Elev layoutåterställning */
.ebic-guide-page-15135{
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color:#071f49;
}
.ebic-guide-header-15135{align-items:flex-start;gap:22px;margin-bottom:22px;}
.ebic-guide-header-15135 h1{font-size:clamp(34px,3vw,48px);letter-spacing:-.045em;color:#071f49;}
.ebic-guide-header-15135 p{font-size:16px;line-height:1.42;color:#54637a;}
.ebic-guide-header-controls-15135{display:flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:flex-end;}
.ebic-guide-right-controls-15135{display:flex;align-items:center;gap:14px;}
.ebic-guide-student-select-15135 select,.ebic-guide-selected-grade-15135{
  min-height:54px;border-radius:18px;border:1px solid #dce6f4;background:#fff;box-shadow:0 12px 28px rgba(15,23,42,.05);font-weight:900;color:#0b1f3f;
}
.ebic-guide-student-select-15135 select{padding:0 18px;min-width:210px;}
.ebic-guide-selected-grade-15135{display:flex;align-items:center;padding:0 18px;min-width:176px;}
.ebic-guide-lock-icon-15135{
  width:52px;height:52px;border-radius:18px;border:1px solid #dbe6f4;background:#fff;color:#0b56c6;display:grid;place-items:center;font-size:23px;cursor:pointer;box-shadow:0 12px 28px rgba(15,23,42,.06);
}
.ebic-guide-lock-icon-15135.locked{background:#0b56c6;color:#fff;border-color:#0b56c6;}
.ebic-guide-stepper-15135{margin:18px 0 18px;}
.ebic-guide-main-card-15135{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,420px);gap:24px;align-items:stretch;border-radius:32px;border:1px solid rgba(205,218,237,.88);background:rgba(255,255,255,.86);box-shadow:0 24px 70px rgba(15,23,42,.075);padding:22px;
}
.ebic-guide-main-card-15135 .ebic-guide-left-content{padding:8px 6px 8px 8px;}
.ebic-guide-main-card-15135 .ebic-guide-left-content h2{font-size:clamp(30px,3vw,44px);line-height:1.05;letter-spacing:-.045em;color:#061b46;margin:0 0 10px;}
.ebic-guide-main-card-15135 .ebic-guide-left-content>p{font-size:17px;line-height:1.5;color:#53637c;margin:0 0 20px;}
.ebic-guide-picture-card-15135{border-radius:24px;border:1px solid #e1eaf6;background:linear-gradient(180deg,#fff,#fbfdff);box-shadow:0 16px 34px rgba(15,23,42,.045);padding:18px;}
.ebic-guide-picture-card-15135.no-picture{display:block;padding:22px;min-height:150px;}
.ebic-guide-picture-card-15135 h3{font-size:20px;letter-spacing:-.02em;color:#071f49;margin:10px 0 8px;}
.ebic-guide-picture-card-15135 p{font-size:15px;line-height:1.45;color:#33445d;margin:0;}
.ebic-guide-page-15135.no-pictures .ebic-guide-cards-row{grid-template-columns:repeat(3,minmax(0,1fr));}
.ebic-guide-page-15135.no-pictures .ebic-guide-card-img{display:none;}
.ebic-guide-timeline-card-15135{
  align-self:stretch;max-width:none;border-radius:30px;border:1px solid rgba(223,230,242,.95);background:linear-gradient(180deg,#ffffff,#fffefa);box-shadow:0 20px 54px rgba(15,23,42,.065);padding:28px 28px 24px;
}
.ebic-guide-timeline-card-15135 h3{font-size:28px;line-height:1.08;margin:0 0 28px;color:#071f49;letter-spacing:-.035em;}
.ebic-guide-timeline-15135{display:grid;gap:0;}
.ebic-guide-timeline-item-15135{position:relative;display:grid;grid-template-columns:86px 1fr;gap:20px;min-height:122px;padding-bottom:18px;align-items:start;}
.ebic-guide-timeline-item-15135:last-child{min-height:86px;padding-bottom:0;}
.ebic-guide-timeline-item-15135:not(:last-child)::after{content:"";position:absolute;left:42px;top:82px;bottom:0;border-left:3px solid #143c78;opacity:.75;}
.timeline-circle-15135{width:86px;height:86px;border-radius:50%;display:grid;place-items:center;box-shadow:inset 0 -9px 18px rgba(15,23,42,.07),0 14px 25px rgba(15,23,42,.065);z-index:1;}
.ebic-guide-timeline-item-15135:nth-child(1) .timeline-circle-15135{background:#7fb4ea;}
.ebic-guide-timeline-item-15135:nth-child(2) .timeline-circle-15135{background:#ffd778;}
.ebic-guide-timeline-item-15135:nth-child(3) .timeline-circle-15135{background:#b9d9a6;}
.ebic-guide-timeline-item-15135:nth-child(4) .timeline-circle-15135{background:#c9b2ec;}
.timeline-circle-15135 img{width:48px;height:48px;object-fit:contain;filter:contrast(1.04);}
.timeline-circle-15135 b{font-size:28px;color:#0c2b5a;font-weight:950;}
.ebic-guide-timeline-item-15135 strong{display:block;font-size:25px;line-height:1.1;margin:6px 0 8px;letter-spacing:-.025em;color:#071f49;}
.ebic-guide-timeline-item-15135 small{display:block;font-size:17px;line-height:1.42;color:#2c3d56;}
.ebic-guide-timeline-card-15135.no-picture .timeline-circle-15135{background:#eef4ff!important;border:1px solid #d8e6f7;box-shadow:0 10px 22px rgba(15,23,42,.045);}
.ebic-student-voice-wrap-15135{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,420px);gap:24px;align-items:start;margin-top:18px;}
.ebic-student-voice-main-15135{padding:30px;border-radius:34px;border:1px solid rgba(203,217,237,.85);background:linear-gradient(180deg,#ffffff,#fbfdff);box-shadow:0 24px 70px rgba(15,23,42,.075);}
.voice-top-15135{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;}
.voice-top-15135 h2{margin:0;font-size:clamp(34px,3.5vw,48px);letter-spacing:-.05em;color:#061b46;}
.voice-top-15135 p{margin:8px 0 0;color:#53637c;font-size:17px;line-height:1.45;}
.voice-progress-15135{min-width:150px;border:1px solid #e0e8f4;background:#f7fbff;border-radius:22px;padding:14px 16px;text-align:center;color:#0b3b76;}
.voice-progress-15135 strong{display:block;font-size:25px;line-height:1;}
.voice-progress-15135 span{display:block;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;color:#61738e;margin-top:6px;}
.voice-panel-tabs-15135{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:16px 0 22px;}
.voice-panel-tabs-15135 button{border:1px solid #dce7f6;background:#fff;border-radius:18px;padding:12px 10px;font-weight:900;color:#203653;cursor:pointer;display:grid;grid-template-columns:32px 1fr;gap:8px;align-items:center;text-align:left;box-shadow:0 10px 24px rgba(15,23,42,.04);transition:.16s ease;min-height:62px;}
.voice-panel-tabs-15135 button span{width:32px;height:32px;border-radius:999px;background:#eef4ff;color:#0b56c6;display:grid;place-items:center;font-size:14px;}
.voice-panel-tabs-15135 button.active{background:#0b56c6;color:#fff;border-color:#0b56c6;box-shadow:0 16px 34px rgba(11,86,198,.22);transform:translateY(-1px);}
.voice-panel-tabs-15135 button.active span{background:#fff;color:#0b56c6;}
.voice-panel-grid-15135{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(340px,1.1fr);gap:18px;align-items:start;}
.voice-large-card-15135,.voice-question-card-15135,.voice-participation-feeling-15135,.voice-understand-15135{border:1px solid #dfe9f6;border-radius:28px;background:#fff;padding:24px;box-shadow:0 16px 38px rgba(15,23,42,.055);}
.voice-large-card-15135 h3{margin:0 0 9px;color:#061b46;font-size:29px;line-height:1.05;letter-spacing:-.04em;}
.voice-large-card-15135 p{margin:0 0 14px;color:#53637c;line-height:1.48;font-size:16px;}
.voice-large-card-15135.warm{background:linear-gradient(135deg,#fff,#fff8e8);}
.voice-large-card-15135.blue{background:linear-gradient(135deg,#fff,#eef6ff);}
.voice-large-card-15135.green{background:linear-gradient(135deg,#fff,#effaf1);}
.voice-large-card-15135.purple{background:linear-gradient(135deg,#fff,#f6f1ff);}
.voice-large-card-15135.next{background:linear-gradient(135deg,#fff,#f8fbff);}
.voice-question-stack-15135{display:grid;gap:14px;}
.voice-question-board-15135{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.voice-question-card-15135{display:grid;grid-template-columns:58px minmax(0,1fr);gap:15px;align-items:start;}
.voice-question-card-15135.answered{border-color:#a9c7ef;background:linear-gradient(180deg,#fff,#fbfdff);}
.voice-question-card-15135 img{width:58px;height:58px;border-radius:18px;display:block;background:#eef6ff;box-shadow:0 8px 18px rgba(15,23,42,.05);}
.voice-question-card-15135 h4{margin:0 0 4px;color:#061b46;font-size:20px;letter-spacing:-.02em;}
.voice-question-card-15135 p{margin:0 0 12px;color:#526079;line-height:1.38;}
.voice-choice-scale-15135{display:flex;flex-wrap:wrap;gap:7px;}
.voice-choice-scale-15135 button{border:1px solid #d8e6f7;background:#fff;border-radius:999px;padding:8px 11px;color:#34445d;font-weight:900;cursor:pointer;box-shadow:0 5px 14px rgba(15,23,42,.035);}
.voice-choice-scale-15135 button.active{background:#0b56c6;border-color:#0b56c6;color:#fff;box-shadow:0 12px 24px rgba(11,86,198,.20);}
.voice-chip-cloud-15135{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px;}
.voice-chip-cloud-15135 label{cursor:pointer;}
.voice-chip-cloud-15135 input{display:none;}
.voice-chip-cloud-15135 span{display:inline-flex;align-items:center;border:1px solid #d7e5f7;border-radius:999px;background:rgba(255,255,255,.9);padding:10px 13px;font-weight:900;color:#34445d;box-shadow:0 6px 16px rgba(15,23,42,.035);}
.voice-chip-cloud-15135 label.checked span{background:#0b56c6;border-color:#0b56c6;color:#fff;box-shadow:0 12px 26px rgba(11,86,198,.20);}
.voice-textarea-15135{width:100%;min-height:102px;border:1px solid #d7e5f7;border-radius:20px;margin-top:14px;padding:14px 16px;background:#fff;color:#1d3355;resize:vertical;}
.voice-panel-single-15135{display:grid;gap:16px;}
.voice-actions-15135{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;margin-top:22px;}
.voice-step-meter-15135{height:12px;background:#e9eef7;border-radius:999px;overflow:hidden;}
.voice-step-meter-15135 span{display:block;height:100%;background:linear-gradient(90deg,#0b56c6,#8a66cc);border-radius:999px;}
.ebic-student-voice-main-15135.no-pictures .voice-question-card-15135{grid-template-columns:1fr;}
.ebic-student-voice-main-15135.no-pictures .voice-question-card-15135 img{display:none;}
.ebic-student-voice-main-15135.no-pictures .voice-panel-grid-15135{grid-template-columns:minmax(240px,.86fr) minmax(340px,1.14fr);}
.ebic-guide-page-15135.no-pictures .ebic-guide-main-card-15135{background:linear-gradient(180deg,#ffffff,#fbfdff);}
.ebic-guide-page-15135.no-pictures .ebic-guide-picture-card-15135{box-shadow:0 12px 28px rgba(15,23,42,.04);}
.ebic-guide-page-15135.ebic-elev-locked{border-radius:28px;outline:2px solid rgba(11,86,198,.16);outline-offset:8px;}
@media (max-width:1100px){
  .ebic-guide-main-card-15135,.ebic-student-voice-wrap-15135{grid-template-columns:1fr;}
  .ebic-guide-timeline-card-15135{max-width:none;}
  .voice-panel-grid-15135,.ebic-student-voice-main-15135.no-pictures .voice-panel-grid-15135{grid-template-columns:1fr;}
  .voice-question-board-15135{grid-template-columns:1fr;}
  .voice-panel-tabs-15135{grid-template-columns:repeat(2,minmax(0,1fr));}
  .voice-actions-15135{grid-template-columns:1fr;}
  .voice-actions-15135 .btn{width:100%;}
}
@media (max-width:620px){
  .ebic-guide-header-controls-15135{width:100%;align-items:stretch;}
  .ebic-guide-right-controls-15135{justify-content:space-between;}
  .voice-top-15135{display:block;}
  .voice-progress-15135{margin-top:12px;text-align:left;}
  .voice-panel-tabs-15135{grid-template-columns:1fr;}
  .voice-question-card-15135{grid-template-columns:48px 1fr;}
  .voice-question-card-15135 img{width:48px;height:48px;}
  .ebic-guide-timeline-item-15135{grid-template-columns:66px 1fr;min-height:104px;}
  .timeline-circle-15135{width:66px;height:66px;}
  .ebic-guide-timeline-item-15135:not(:last-child)::after{left:33px;top:66px;}
  .ebic-guide-timeline-item-15135 strong{font-size:20px;}
  .ebic-guide-timeline-item-15135 small{font-size:15px;}
}


/* EBIC 151.36 – EBiC-Elev småfix: renare bilder, lugnare tidslinje och snygg textvy utan bilder */
.ebic-guide-main-card-15135 .ebic-guide-cards-row{
  align-items:stretch;
}
.ebic-guide-picture-card-15135{
  overflow:hidden;
  min-height:0;
  padding:24px 24px 26px !important;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%) !important;
}
.ebic-guide-picture-card-15135:nth-child(2){background:linear-gradient(180deg,#fffaf0 0%,#fff7e6 100%) !important;}
.ebic-guide-picture-card-15135:nth-child(3){background:linear-gradient(180deg,#f8fff8 0%,#eef9f1 100%) !important;}
.ebic-guide-card-img{
  height:154px !important;
  margin:0 0 18px !important;
  border-radius:0 !important;
  background:transparent !important;
  overflow:visible !important;
  display:flex !important;
  align-items:flex-end !important;
  justify-content:center !important;
}
.ebic-guide-card-img img{
  width:100% !important;
  height:100% !important;
  max-width:250px !important;
  object-fit:contain !important;
  display:block !important;
  filter:none !important;
}
.ebic-guide-picture-card-15135 h3{
  margin-top:0 !important;
  font-size:21px !important;
  line-height:1.12 !important;
}
.ebic-guide-picture-card-15135 p{
  max-width:30ch;
}
.ebic-guide-page-15135.no-pictures .ebic-guide-picture-card-15135{
  position:relative;
  min-height:142px !important;
  padding:26px 24px 24px 76px !important;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:#fff !important;
}
.ebic-guide-page-15135.no-pictures .ebic-guide-picture-card-15135::before{
  position:absolute;
  left:24px;
  top:28px;
  width:36px;
  height:36px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:#eef4ff;
  color:#0b56c6;
  font-weight:950;
  box-shadow:inset 0 0 0 1px #d8e6f7;
}
.ebic-guide-page-15135.no-pictures .ebic-guide-picture-card-15135:nth-child(1)::before{content:"1";}
.ebic-guide-page-15135.no-pictures .ebic-guide-picture-card-15135:nth-child(2)::before{content:"2";background:#fff4d8;color:#935f04;box-shadow:inset 0 0 0 1px #f7d28b;}
.ebic-guide-page-15135.no-pictures .ebic-guide-picture-card-15135:nth-child(3)::before{content:"3";background:#eaf8ed;color:#166534;box-shadow:inset 0 0 0 1px #ccebd4;}
.ebic-guide-page-15135.no-pictures .ebic-guide-picture-card-15135 h3{margin-top:0 !important;}

.ebic-guide-timeline-card-15135{
  padding:30px 32px !important;
  border-radius:30px !important;
  background:linear-gradient(180deg,#ffffff 0%,#fdfefe 100%) !important;
  border:1px solid #e5edf8 !important;
  box-shadow:0 18px 42px rgba(15,23,42,.055) !important;
}
.ebic-guide-timeline-card-15135 h3{
  font-size:27px !important;
  margin-bottom:26px !important;
  letter-spacing:-.04em !important;
}
.ebic-guide-timeline-item-15135{
  grid-template-columns:78px minmax(0,1fr) !important;
  gap:20px !important;
  min-height:112px !important;
  padding-bottom:18px !important;
}
.ebic-guide-timeline-item-15135:last-child{min-height:76px !important;}
.ebic-guide-timeline-item-15135:not(:last-child)::after{
  left:38px !important;
  top:76px !important;
  bottom:0 !important;
  border-left:3px solid #0a3c7b !important;
  opacity:.72 !important;
}
.timeline-circle-15135{
  width:76px !important;
  height:76px !important;
  border-radius:999px !important;
  background:#ffffff !important;
  border:9px solid #7fb4ea !important;
  box-shadow:0 13px 24px rgba(15,23,42,.07) !important;
}
.ebic-guide-timeline-item-15135:nth-child(1) .timeline-circle-15135{background:#eef7ff !important;border-color:#7fb4ea !important;}
.ebic-guide-timeline-item-15135:nth-child(2) .timeline-circle-15135{background:#fff8df !important;border-color:#ffd778 !important;}
.ebic-guide-timeline-item-15135:nth-child(3) .timeline-circle-15135{background:#f1faee !important;border-color:#b9d9a6 !important;}
.ebic-guide-timeline-item-15135:nth-child(4) .timeline-circle-15135{background:#f7f2ff !important;border-color:#c9b2ec !important;}
.timeline-circle-15135 img{
  width:38px !important;
  height:38px !important;
  object-fit:contain !important;
  filter:none !important;
}
.timeline-circle-15135 b{font-size:23px !important;}
.ebic-guide-timeline-item-15135 strong{
  font-size:24px !important;
  margin:4px 0 6px !important;
  line-height:1.1 !important;
}
.ebic-guide-timeline-item-15135 small{
  font-size:16px !important;
  line-height:1.42 !important;
  color:#33445f !important;
}
.ebic-guide-timeline-card-15135.no-picture .ebic-guide-timeline-item-15135{
  min-height:96px !important;
}
.ebic-guide-timeline-card-15135.no-picture .timeline-circle-15135{
  background:#fff !important;
  border-width:7px !important;
}
.ebic-guide-timeline-card-15135.no-picture .ebic-guide-timeline-item-15135:not(:last-child)::after{
  top:74px !important;
}

.ebic-student-voice-main-15135{
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%) !important;
}
.voice-top-15135 h2{font-size:clamp(32px,3.1vw,44px) !important;}
.voice-top-15135 p{font-size:16px !important;max-width:62ch;}
.voice-progress-15135{
  border-radius:18px !important;
  padding:12px 14px !important;
  min-width:136px !important;
}
.voice-panel-tabs-15135{
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px !important;
}
.voice-panel-tabs-15135 button{
  min-height:54px !important;
  padding:10px 9px !important;
  border-radius:16px !important;
  font-size:14px !important;
}
.voice-large-card-15135 h3{
  font-size:clamp(23px,2vw,28px) !important;
}
.voice-large-card-15135 p,
.voice-question-card-15135 p{
  font-size:15px !important;
  line-height:1.42 !important;
}
.voice-question-card-15135 img{
  background:transparent !important;
  border-radius:0 !important;
  box-shadow:none !important;
  object-fit:contain !important;
}
.ebic-student-voice-main-15135.no-pictures .voice-large-card-15135,
.ebic-student-voice-main-15135.no-pictures .voice-question-card-15135,
.ebic-student-voice-main-15135.no-pictures .voice-participation-feeling-15135,
.ebic-student-voice-main-15135.no-pictures .voice-understand-15135{
  box-shadow:0 12px 28px rgba(15,23,42,.045) !important;
}
.ebic-student-voice-main-15135.no-pictures .voice-question-card-15135{
  padding-left:24px !important;
}
@media (max-width:620px){
  .ebic-guide-page-15135.no-pictures .ebic-guide-picture-card-15135{padding-left:70px !important;}
  .ebic-guide-timeline-card-15135{padding:24px !important;}
  .ebic-guide-timeline-item-15135{grid-template-columns:62px 1fr !important;min-height:96px !important;}
  .timeline-circle-15135{width:62px !important;height:62px !important;border-width:7px !important;}
  .timeline-circle-15135 img{width:30px !important;height:30px !important;}
  .ebic-guide-timeline-item-15135:not(:last-child)::after{left:31px !important;top:62px !important;}
}


/* EBIC 160.6 – master buildmarker och stödets villkor */
.ebic-master-build-fixed{position:fixed;right:14px;bottom:10px;z-index:99999;background:rgba(15,23,42,.72);color:#fff;border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:5px 9px;font-size:10px;line-height:1;font-weight:600;letter-spacing:.02em;box-shadow:0 8px 22px rgba(15,23,42,.18);pointer-events:none}
.ebic-condition-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ebic-condition-card,.ebic-condition-head,.ebic-action-card15150,.ebic-problem-card15150,.ebic-follow-card15150{border:1px solid rgba(148,163,184,.28);background:#fff;border-radius:18px;padding:16px;box-shadow:0 10px 24px rgba(15,23,42,.04)}
.ebic-condition-card h4,.ebic-condition-head h3,.ebic-action-card15150 h4{margin:0 0 8px;color:#0f2f4a}
.ebic-condition-card p,.ebic-condition-head p,.ebic-action-card15150 p,.ebic-problem-card15150 p,.ebic-follow-card15150 p{margin:.25rem 0;color:#334155;line-height:1.55}
.ebic-action-card15150{display:flex;flex-direction:column;gap:11px}
.ebic-action-card15150 strong{display:block;color:#0f2f4a;margin-bottom:3px}
.ebic-condition-head{background:#f8fafc}
.ebic-condition-grid-actions{margin-top:14px}
@media(max-width:900px){.ebic-condition-grid{grid-template-columns:1fr}}


/* EBIC 160.6 – rapportens rubriker och stödets villkor */
.ebic-narrative-card .ebic-return-heading,.ebic-return-heading{display:block!important;margin:1.35rem 0 .55rem!important;color:#173761!important;font-size:1.08rem!important;font-weight:850!important;line-height:1.25!important;letter-spacing:-.01em!important;border-left:4px solid #3A86A0!important;padding-left:.7rem!important;background:linear-gradient(90deg,rgba(58,134,160,.09),rgba(58,134,160,0))!important;border-radius:8px!important;}
.ebic-report-section .ebic-section-head h3,.ebic-action-plan15150 h3,.ebic-condition-head h3,.ebic-action-card15150 h4{font-weight:850!important;color:#173761!important;letter-spacing:-.015em!important;}
.ebic-condition-head h3{font-size:1.08rem!important;}

/* EBIC 160.11 – tydligare nivåfördelning i skol- och kommunprofil */
.level-distribution-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px;
}
.level-distribution-card{
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
  border:1px solid rgba(20,33,61,.10);
  border-radius:18px;
  padding:16px 16px 14px;
  min-height:118px;
  box-shadow:0 14px 34px rgba(20,33,61,.06);
  display:flex;
  flex-direction:column;
  gap:10px;
}
.level-distribution-card-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.level-distribution-card h3{
  margin:0;
  color:#071f49;
  font-size:clamp(15px,1.05vw,18px);
  line-height:1.18;
  font-weight:850;
  letter-spacing:-.01em;
}
.level-distribution-card span{
  min-width:34px;
  height:34px;
  padding:0 10px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#eef6ff;
  color:#0b56c6;
  font-size:18px;
  font-weight:900;
  line-height:1;
  flex:0 0 auto;
}
.level-distribution-card p{
  margin:0;
  color:#52637a;
  font-size:13px;
  line-height:1.35;
}
.level-stage-table th{
  color:#31445f;
  font-weight:850;
}
.level-stage-table th,
.level-stage-table td{
  white-space:normal;
}
@media (max-width: 1500px){
  .level-distribution-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media (max-width: 900px){
  .level-distribution-grid{grid-template-columns:1fr;}
}


/* EBIC 160.12 – renare nivåfördelning med hjälpknappar */
.level-distribution-grid-16012{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:16px!important;
}
.level-distribution-card-16012{
  position:relative;
  min-height:104px!important;
  padding:18px 18px 16px!important;
  border-radius:22px!important;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%)!important;
  border:1px solid rgba(20,33,61,.10)!important;
  box-shadow:0 18px 42px rgba(20,33,61,.07)!important;
  overflow:hidden;
}
.level-distribution-card-16012::after{
  content:"";
  position:absolute;
  inset:auto -20px -34px auto;
  width:92px;
  height:92px;
  border-radius:999px;
  background:rgba(11,86,198,.055);
  pointer-events:none;
}
.level-distribution-card-main{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding-right:34px;
}
.level-distribution-card-16012 h3{
  margin:0!important;
  font-size:clamp(20px,1.35vw,26px)!important;
  line-height:1.05!important;
  font-weight:900!important;
  letter-spacing:-.03em!important;
  color:#061b46!important;
}
.level-distribution-number{
  min-width:42px;
  height:42px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#eef6ff;
  color:#0b56c6;
  font-size:22px;
  font-weight:950;
  line-height:1;
  flex:0 0 auto;
  box-shadow:inset 0 0 0 1px rgba(11,86,198,.04);
}
.level-distribution-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:18px;
  color:#31445f;
  font-size:13px;
  line-height:1.2;
}
.level-distribution-meta span{
  width:auto!important;
  min-width:0!important;
  height:auto!important;
  padding:7px 10px!important;
  border-radius:999px!important;
  background:#f4f8ff!important;
  color:#31445f!important;
  font-size:12px!important;
  font-weight:850!important;
  line-height:1!important;
}
.level-help-btn{
  position:absolute;
  top:14px;
  right:14px;
  width:28px;
  height:28px;
  border-radius:999px;
  border:1px solid rgba(11,86,198,.22);
  background:#fff;
  color:#0b56c6;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:14px;
  line-height:1;
  box-shadow:0 8px 18px rgba(15,23,42,.08);
  cursor:pointer;
  z-index:3;
}
.level-help-btn:hover,.level-help-btn:focus{
  background:#0b56c6;
  color:#fff;
  border-color:#0b56c6;
  outline:none;
}
.level-stage-table th{
  white-space:normal;
  vertical-align:bottom;
}
.level-stage-table td{
  vertical-align:middle;
}
.stage-level-sub{
  display:block;
  color:#64748b;
  font-size:12px;
  line-height:1.25;
  margin-top:3px;
  font-weight:650;
}
@media (max-width: 1300px){
  .level-distribution-grid-16012{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media (max-width: 760px){
  .level-distribution-grid-16012{grid-template-columns:1fr!important;}
}

/* EBIC 160.13 – snyggare nivåkort i skolprofil och kommunprofil */
.level-distribution-panel16013{
  position:relative;
  padding-top:2px;
}
.level-help-single16013{
  position:absolute;
  top:-46px;
  right:0;
  width:32px;
  height:32px;
  border-radius:999px;
  border:1px solid rgba(11,86,198,.22);
  background:#fff;
  color:#0b56c6;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:15px;
  line-height:1;
  box-shadow:0 8px 18px rgba(15,23,42,.08);
  cursor:pointer;
  z-index:3;
}
.level-help-single16013:hover,
.level-help-single16013:focus{
  background:#0b56c6;
  color:#fff;
  border-color:#0b56c6;
  outline:none;
}
.level-distribution-grid16013{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.level-distribution-card16013{
  position:relative;
  min-height:126px;
  border-radius:22px;
  padding:18px 18px 16px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 16px 34px rgba(15,23,42,.06);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.level-distribution-card16013::before{
  content:"";
  position:absolute;
  inset:0;
  border-top:4px solid rgba(11,86,198,.24);
  pointer-events:none;
}
.level-tone-1::before{border-top-color:rgba(58,134,160,.34);}
.level-tone-2::before{border-top-color:rgba(76,151,119,.34);}
.level-tone-3::before{border-top-color:rgba(245,158,11,.36);}
.level-card-label16013{
  color:#061b46;
  font-size:18px;
  line-height:1.1;
  font-weight:900;
  letter-spacing:-.02em;
}
.level-card-number16013{
  margin-top:10px;
  color:#0b56c6;
  font-size:38px;
  line-height:1;
  font-weight:950;
  letter-spacing:-.04em;
}
.level-distribution-split16013{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:12px;
}
.level-distribution-split16013 span{
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:28px;
  padding:7px 10px;
  border-radius:999px;
  background:#eef6ff;
  color:#31445f;
  font-size:12px;
  font-weight:800;
  line-height:1;
}
.level-distribution-split16013 b{
  color:#0b56c6;
  font-weight:950;
}
.level-distribution-empty16013{visibility:hidden;}
.ebic-master-build-fixed-16013{
  position:fixed;
  right:14px;
  bottom:10px;
  z-index:99999;
  background:rgba(15,23,42,.76);
  color:#fff;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  padding:5px 9px;
  font-size:10px;
  line-height:1;
  font-weight:700;
  letter-spacing:.02em;
  box-shadow:0 8px 22px rgba(15,23,42,.18);
  pointer-events:none;
}
@media (max-width: 1250px){
  .level-distribution-grid16013{grid-template-columns:repeat(2,minmax(0,1fr));}
  .level-help-single16013{top:-42px;}
}
@media (max-width: 760px){
  .level-distribution-grid16013{grid-template-columns:1fr;}
  .level-card-number16013{font-size:34px;}
}

/* EBIC 160.14 – mobil robusthet, säkra ytor och tangentbordsstöd */
html{overflow-x:hidden;}
body{overflow-x:hidden;}
body.ebic-mobile-menu-open{overflow:hidden;touch-action:none;}
img,svg,canvas{max-width:100%;}
.main,.reference-main,.card,.ebic-card{min-width:0;}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{
  outline:3px solid #f3bd4f;
  outline-offset:3px;
}
.mobile-menu-toggle{
  top:max(12px,env(safe-area-inset-top));
  left:max(12px,env(safe-area-inset-left));
}
.mobile-sidebar{
  padding-top:max(18px,env(safe-area-inset-top));
  padding-right:max(18px,env(safe-area-inset-right));
  padding-bottom:max(18px,env(safe-area-inset-bottom));
  padding-left:max(18px,env(safe-area-inset-left));
  visibility:hidden;
  pointer-events:none;
}
.shell.mobile-menu-open .mobile-sidebar{visibility:visible;pointer-events:auto;}
.shell.mobile-menu-open>.mobile-menu-toggle{visibility:hidden;pointer-events:none;}
.mobile-menu-overlay{cursor:pointer;}
.ebic-master-build-fixed-16014{font-variant-numeric:tabular-nums;}
.ebic-guide-lock-icon-15135{position:relative;font-size:0!important;}
.ebic-guide-lock-icon-15135::before{
  content:"";
  width:15px;
  height:12px;
  border:2px solid currentColor;
  border-radius:3px;
  box-sizing:border-box;
}
.ebic-guide-lock-icon-15135::after{
  content:"";
  position:absolute;
  left:50%;
  top:10px;
  width:10px;
  height:10px;
  border:2px solid currentColor;
  border-bottom:0;
  border-radius:7px 7px 0 0;
  transform:translateX(-50%);
  box-sizing:border-box;
}
.ebic-guide-lock-icon-15135:not(.locked)::after{
  transform:translateX(-26%) rotate(28deg);
  transform-origin:left bottom;
}

@media (max-width:980px){
  .reference-main,.main{
    padding-top:calc(70px + env(safe-area-inset-top))!important;
    padding-right:max(16px,env(safe-area-inset-right))!important;
    padding-bottom:max(24px,env(safe-area-inset-bottom))!important;
    padding-left:max(16px,env(safe-area-inset-left))!important;
  }
  .topbar,.compact-topbar,.actions,.area-footer-nav{min-width:0;}
  .table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;}
}

@media (max-width:640px){
  input,select,textarea{font-size:16px;}
  .card,.ebic-card{padding:16px;border-radius:18px;}
  .topbar,.compact-topbar{align-items:stretch;flex-direction:column;}
  .title h1{font-size:clamp(26px,8vw,34px);overflow-wrap:anywhere;}
  .actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));width:100%;}
  .actions .btn{width:100%;min-height:46px;}
  .area-footer-nav{width:100%;}
  .area-footer-nav .btn{flex:1 1 180px;min-height:46px;}
  .score-row{gap:8px;}
  .score-btn{min-width:44px;min-height:44px;}
  .summary-item{grid-template-columns:1fr;gap:6px;}
  .ebic-profile-panel-b1{grid-template-columns:minmax(0,1fr);}
}

@media (prefers-reduced-motion:reduce){
  .mobile-sidebar{transition:none;}
  html:focus-within{scroll-behavior:auto;}
}

/* EBIC 170.21 – en kanonisk rapportkolumn och stabil slutmarkering */
.ebic-return-grid.ebic-return-grid-single,
.ebic-return-grid.ebic-unified-report-17021 {
  grid-template-columns: minmax(0, 1fr) !important;
}

.ebic-return-grid-single .ebic-narrative-card,
.ebic-unified-report-17021 .ebic-narrative-card {
  width: 100%;
  min-width: 0;
}

.ebic-release-badge-17021 {
  position: fixed;
  right: 14px;
  bottom: 10px;
  z-index: 99999;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(15, 23, 42, .82);
  color: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .18);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  pointer-events: none;
}

@media print {
  .ebic-release-badge-17021 {
    display: none !important;
  }
}

/* EBIC 170.27 – områdesnära, icke-poängstyrande kontext */
.area-context-card{
  margin:20px 0 4px;
  padding:18px 20px;
  border:1px solid #dbe4f0;
  border-radius:18px;
  background:linear-gradient(180deg,#f8fbff 0%,#ffffff 100%);
  box-shadow:0 10px 24px rgba(15,23,42,.035);
}
.area-context-card.is-passive{background:#fafbfc;border-style:dashed;box-shadow:none;color:#64748b;}
.area-context-card.is-passive strong{display:block;color:#334155;margin:4px 0 5px;}
.area-context-card.is-passive p{margin:0;color:#64748b;font-size:13px;line-height:1.45;}
.area-context-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:12px;}
.area-context-head h3{margin:3px 0 0;font-size:17px;color:#173761;}
.area-context-head>span{white-space:nowrap;font-size:11px;font-weight:800;color:#64748b;background:#f1f5f9;border-radius:999px;padding:7px 10px;}
.area-context-kicker{font-size:11px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:#0b56c6;}
.area-context-card>p{margin:0 0 12px;color:#334155;line-height:1.5;}
.area-context-chips{display:flex;flex-wrap:wrap;gap:8px;}
.area-context-pill{border:1px solid #d7e0ec;background:#fff;color:#334155;border-radius:999px;padding:8px 11px;font:inherit;font-size:12.5px;font-weight:750;cursor:pointer;}
.area-context-pill:hover{border-color:#93baf0;background:#f8fbff;}
.area-context-pill.active{border-color:#0b56c6;background:#0b56c6;color:#fff;box-shadow:0 7px 16px rgba(11,86,198,.14);}
.area-context-two{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px;}
.area-context-two>div,.area-context-detail{border:1px solid #e4eaf2;border-radius:14px;background:#fff;padding:13px;}
.area-context-two strong,.area-context-detail strong{display:block;margin-bottom:9px;color:#173761;font-size:13px;}
.area-context-note{margin-top:12px;padding:12px 14px;border:1px solid #dbe4f0;border-radius:14px;background:#f8fafc;color:#334155;font-size:13px;line-height:1.5;}
.area-context-note.warning{border-color:#f2d4a1;background:#fff8e8;color:#7c4a03;}
.area-context-foot{margin:14px 0 0!important;padding-top:12px;border-top:1px solid #e8edf4;color:#64748b!important;font-size:12px;line-height:1.45!important;}
@media(max-width:760px){.area-context-head{flex-direction:column}.area-context-head>span{white-space:normal}.area-context-two{grid-template-columns:1fr}}
@media print{.area-context-card{break-inside:avoid;box-shadow:none}.area-context-pill{display:none}.area-context-card.is-passive{display:none}}


/* EBIC 170.27 – processkontrollens svar bedöms semantiskt. För riskfrågorna är NEJ ett positivt svar. */
.process-row-status.semantic-positive,
.process-status-pill.semantic-positive{background:#e8f7ee !important;color:#047857 !important;border-color:#cfead9 !important;}
.process-row-status.semantic-negative,
.process-status-pill.semantic-negative{background:#fdecec !important;color:#b42335 !important;border-color:#f3c5c5 !important;}
.process-row-status.semantic-attention,
.process-status-pill.semantic-attention{background:#fff5db !important;color:#a35a00 !important;border-color:#f3d99d !important;}
.process-row-status.semantic-neutral,
.process-status-pill.semantic-neutral{background:#edf2f7 !important;color:#475569 !important;border-color:#dbe4ef !important;}
.process-answer-btn.active.semantic-positive{background:#047857 !important;color:#fff !important;border-color:#047857 !important;box-shadow:0 8px 18px rgba(4,120,87,.16) !important;}
.process-answer-btn.active.semantic-negative{background:#b42335 !important;color:#fff !important;border-color:#b42335 !important;box-shadow:0 8px 18px rgba(180,35,53,.15) !important;}
.process-answer-btn.active.semantic-attention{background:#a35a00 !important;color:#fff !important;border-color:#a35a00 !important;box-shadow:0 8px 18px rgba(163,90,0,.14) !important;}
.process-answer-btn.active.semantic-neutral{background:#64748b !important;color:#fff !important;border-color:#64748b !important;box-shadow:none !important;}


/* EBIC 170.28 – stabil buildvisning utan historiska versionsblinkningar */
.login-version,
.login-version-reviewed,
.ebic-build-marker,
.ebic-master-build-fixed,
[class*="ebic-master-build-fixed-"],
.ebic-release-badge-reviewed,
[id^="ebic-release-badge"],
[data-ebic-final-build]{
  display:none !important;
}
body::after{
  content:"build 171.02";
  position:fixed;
  right:14px;
  bottom:12px;
  z-index:2147483646;
  padding:7px 13px;
  border-radius:999px;
  background:#1f2937;
  color:#fff;
  border:1px solid rgba(255,255,255,.22);
  box-shadow:0 8px 24px rgba(15,23,42,.18);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:12px;
  line-height:1;
  font-weight:800;
  letter-spacing:.01em;
  pointer-events:none;
  white-space:nowrap;
}
@media print{
  body::after{display:none !important;}
}

/* EBIC 170.32 */
.context-note-17029{margin-top:10px;padding:10px 12px;border-left:3px solid #0b56c6;background:#f8fbff;color:#334155;font-size:13px;line-height:1.5;}

/* EBIC 170.33 – matrisfrågor utan staplade svarsalternativ */
.question{padding:22px 0!important}.question h4{font-size:18px!important;line-height:1.3!important}.question>p{max-width:920px;line-height:1.55;color:#334155}.question .score-row{display:grid!important;grid-template-columns:repeat(5,48px) minmax(190px,240px)!important;gap:9px!important;align-items:center!important;margin-top:15px!important}.question .score-btn{width:48px!important;min-width:48px!important;height:44px!important}.question .score-row select{width:100%!important;min-width:0!important;margin-left:5px!important;height:44px!important}.question .helpbox{max-width:920px;font-size:13px;line-height:1.55}.ebic-need-action-card{display:grid;gap:10px}.ebic-need-action-card h4{margin:4px 0 0;color:#173761}.ebic-need-action-card p{margin:0;line-height:1.6}.ebic-need-action-card ol{margin:0;padding-left:22px;display:grid;gap:8px;line-height:1.55}@media(max-width:760px){.question .score-row{grid-template-columns:repeat(5,minmax(42px,1fr))!important}.question .score-row select{grid-column:1/-1!important;margin-left:0!important}.question .score-btn{width:100%!important;min-width:0!important}}

/* EBIC 170.70 – vårdnadshavarperspektiv och mänsklig återgivning */
.guardian-perspective-card{
  border-color:#e7dfc8;
  background:linear-gradient(180deg,#ffffff 0%,#fffdf7 100%);
}
.guardian-perspective-details summary{
  list-style:none;
  cursor:pointer;
  display:grid;
  gap:16px;
}
.guardian-perspective-details summary::-webkit-details-marker{display:none}
.guardian-perspective-body{
  border-top:1px solid #eee7d8;
  margin-top:0;
  padding-top:18px;
}
.guardian-score-panel{
  background:linear-gradient(180deg,#fffefb,#ffffff);
  border-color:#ece3cf;
}
.guardian-score-item{
  grid-template-columns:minmax(0,1fr) 250px;
}
.guardian-score-item select{
  width:100%;
  border:1px solid var(--line);
  border-radius:14px;
  padding:11px 12px;
  background:#fff;
}
.guardian-tag-group{
  background:#fffefb;
  border-color:#ece3cf;
}
.guardian-perspective-card .student-own-index,
#report-guardian-perspective .student-report-index{
  background:linear-gradient(180deg,#fffaf0,#fff);
  border-color:#ead8ad;
}
#report-guardian-perspective .participation-meter>span{
  background:linear-gradient(90deg,#2f80ed,#0b56c6)!important;
}
.ebic-perspective-synthesis .ebic-card{
  background:linear-gradient(180deg,#f8fbff,#fff);
  border-color:#d8e7fb;
}
.ebic-perspective-synthesis p{
  line-height:1.62;
  color:#334155;
}
.ebic-perspective-synthesis p+p{
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid #e7edf6;
}
.guardian-admin-bank{
  border-color:#ead8ad;
  background:#fffdf7;
}
@media (max-width:980px){
  .guardian-score-item{grid-template-columns:1fr;}
}
@media print{
  .guardian-perspective-card,#report-guardian-perspective,.ebic-perspective-synthesis{break-inside:avoid;page-break-inside:avoid;}
}

/* EBIC 170.80 – mänsklig återgivning */
.ebic-human-patterns-17080 .ebic-insight-list-v69{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ebic-human-patterns-17080 .ebic-insight-v69{position:relative;padding:22px 22px 20px 56px;border-radius:20px;background:#fff;border:1px solid #dbe5f1;box-shadow:0 12px 28px rgba(15,23,42,.045)}
.ebic-human-pattern-number{position:absolute;left:18px;top:20px;width:28px;height:28px;border-radius:999px;display:grid;place-items:center;background:#edf4ff;color:#0b56c6;font-weight:900;font-size:13px}
.ebic-human-patterns-17080 .ebic-insight-v69 h3{margin:0 0 10px;color:#102d58;font-size:1.08rem;line-height:1.3}
.ebic-human-patterns-17080 .ebic-insight-v69 p{margin:0;color:#334155;line-height:1.62}
.ebic-human-patterns-17080 .ebic-insight-v69 .meaning{margin-top:12px;padding-top:12px;border-top:1px solid #e7edf5;color:#243b5a}
.language-quality-gate-17080{background:linear-gradient(180deg,#fff,#f8fbff)}
@media(max-width:900px){.ebic-human-patterns-17080 .ebic-insight-list-v69{grid-template-columns:1fr}}
@media print{.ebic-human-patterns-17080 .ebic-insight-v69{box-shadow:none;break-inside:avoid}}

/* EBIC 170.82 – rapportfinish, skolmedel och konkreta prövningar */

.report-17082 .ebic-fact-grid-17082{grid-template-columns:repeat(4,minmax(0,1fr));}
.report-17082 .ebic-fact-text-17082{font-size:1.02rem!important;line-height:1.28!important;}
.ebic-human-return-17082 h4{margin:22px 0 8px;color:#123667;font-size:1.04rem;line-height:1.3;}
.ebic-human-return-17082 h4:first-of-type{margin-top:4px;}
.ebic-human-return-17082 p{margin:0 0 12px;line-height:1.66;color:#334155;}
.ebic-meter-school-average{position:relative!important;overflow:visible!important;}
.ebic-meter-school-average .ebic-meter-fill-17082{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#e8bf4a,#173761)!important;}
.ebic-school-average-dot{position:absolute;top:50%;width:11px;height:11px;border-radius:50%;background:#0b63d8;border:2px solid #fff;box-shadow:0 0 0 1px rgba(11,99,216,.38),0 2px 7px rgba(15,23,42,.18);transform:translate(-50%,-50%);z-index:4;}
.ebic-school-average-legend{display:flex;align-items:center;gap:7px;margin-top:10px;color:#64748b;font-size:11.5px;line-height:1.35;}
.ebic-school-average-legend-dot{display:inline-block;flex:0 0 auto;width:9px;height:9px;border-radius:50%;background:#0b63d8;border:2px solid #fff;box-shadow:0 0 0 1px rgba(11,99,216,.35);}
.ebic-overall-school-average{display:flex;align-items:center;gap:7px;margin-top:13px;padding-top:11px;border-top:1px solid #dbe4f0;color:#53657d;font-size:12px;font-weight:700;}
.ebic-radar-school-average-dot{filter:drop-shadow(0 2px 2px rgba(15,23,42,.18));}
.ebic-actions-17082 .ebic-section-head p{max-width:82ch;}
.ebic-action-stack-17082{display:grid;gap:14px;}
.ebic-action-card-17082{display:grid;grid-template-columns:38px minmax(0,1fr);gap:14px;padding:19px 20px;border:1px solid #dbe4f0;border-radius:20px;background:#fff;box-shadow:0 10px 24px rgba(15,23,42,.035);}
.ebic-action-number-17082{width:32px;height:32px;border-radius:999px;display:grid;place-items:center;background:#0b56c6;color:#fff;font-size:13px;font-weight:900;margin-top:1px;}
.ebic-action-card-17082 h4{margin:0 0 9px;color:#123667;font-size:1.12rem;line-height:1.3;}
.ebic-action-card-17082 p{margin:7px 0;color:#334155;line-height:1.55;}
.ebic-action-card-17082 ol{margin:10px 0 13px;padding-left:22px;display:grid;gap:7px;color:#243b5a;line-height:1.5;}
.ebic-action-basis-17082{background:#f7faff;border:1px solid #e1eaf6;border-radius:13px;padding:10px 12px;}
.ebic-action-details-17082{display:grid;grid-template-columns:1fr 1fr;gap:0 18px;padding-top:11px;border-top:1px solid #e8edf4;}
.ebic-action-details-17082 p:nth-child(n+3){grid-column:1/-1;}
.ebic-decision-box-17082{margin-top:16px;padding:17px 18px;border-radius:18px;border:1px solid #cadcf4;background:linear-gradient(180deg,#f7fbff,#fff);}
.ebic-decision-box-17082 h4{margin:0 0 11px;color:#123667;}
.ebic-decision-grid-17082{display:grid;grid-template-columns:1fr 1fr;gap:8px 16px;color:#334155;font-weight:650;font-size:13px;}
.ebic-trend-card-17082{display:grid;gap:14px;}
.ebic-trend-line-17082{display:grid;grid-template-columns:180px minmax(0,1fr);gap:16px;align-items:center;}
.ebic-trend-line-17082 strong{color:#173761;}
.report-17082 #report-patterns .ebic-insight{position:relative;padding-left:56px;}
.report-17082 #report-patterns .ebic-insight h4{margin:0 0 9px;color:#123667;font-size:1.05rem;line-height:1.3;}
.report-17082 #report-patterns .ebic-insight p{line-height:1.58;}
@media(max-width:900px){.report-17082 .ebic-fact-grid-17082,.ebic-action-details-17082,.ebic-decision-grid-17082{grid-template-columns:1fr}.ebic-action-details-17082 p{grid-column:1/-1}.ebic-trend-line-17082{grid-template-columns:1fr}.ebic-action-card-17082{grid-template-columns:1fr}.ebic-action-number-17082{margin-bottom:2px}}
@media print{.ebic-school-average-dot{print-color-adjust:exact;-webkit-print-color-adjust:exact}.ebic-action-card-17082,.ebic-decision-box-17082{break-inside:avoid;page-break-inside:avoid;box-shadow:none}}

/* EBiC 170.83 – full återgivning, originalfärger och diskret skolmedel */


.report-17083{
  --report-blue:#0b56c6;
  --report-navy:#173761;
  --report-line:#dbe4f0;
  --report-soft:#f7faff;
}
.report-17083 .ebic-report-body{display:grid;gap:18px;}
.report-17083 .ebic-report-section{margin:0;}
.report-17083 .ebic-fact-grid-17083{grid-template-columns:repeat(4,minmax(0,1fr));}
.report-17083 .ebic-fact-text-17083{font-size:1.03rem!important;line-height:1.28!important;}

/* Återgivningen är rapportens huvuddel, inte en samling små kort. */
.ebic-return-section-17083 .ebic-section-head{margin-bottom:12px;}
.ebic-narrative-card-17083{
  padding:28px 30px;
  border:1px solid #d7e2f0;
  border-radius:22px;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
  box-shadow:0 14px 34px rgba(15,23,42,.055);
}
.ebic-return-chapter-17083{
  padding:22px 0 0;
  margin-top:22px;
  border-top:1px solid #e5ebf3;
}
.ebic-return-chapter-17083:first-child{padding-top:0;margin-top:0;border-top:0;}
.ebic-return-chapter-17083 h4{
  margin:0 0 10px;
  color:#123667;
  font-size:1.12rem;
  line-height:1.28;
  letter-spacing:-.01em;
}
.ebic-return-chapter-17083 p{
  margin:0 0 12px;
  max-width:92ch;
  color:#2f4058;
  font-size:1rem;
  line-height:1.67;
}
.ebic-return-chapter-17083 p:last-child{margin-bottom:0;}
.ebic-return-chapter-17083 strong{color:#173761;}

/* Skolmedel läggs ovanpå diagrammen. Stapelns befintliga färg är orörd. */
.ebic-benchmark-meter-17083{position:relative!important;overflow:visible!important;}
.ebic-benchmark-meter-17083>span{display:block;height:100%;border-radius:inherit;}
.ebic-school-average-dot-17083{
  position:absolute;
  top:50%;
  width:11px;
  height:11px;
  border-radius:50%;
  background:#0b56c6;
  border:2px solid #fff;
  box-shadow:0 0 0 1px rgba(11,86,198,.42),0 2px 7px rgba(15,23,42,.2);
  transform:translate(-50%,-50%);
  z-index:4;
}
.ebic-school-average-legend-17083{
  display:flex;
  align-items:center;
  gap:7px;
  margin-top:10px;
  color:#64748b;
  font-size:11.5px;
  line-height:1.4;
}
.ebic-school-average-legend-dot-17083{
  display:inline-block;
  flex:0 0 auto;
  width:9px;
  height:9px;
  border-radius:50%;
  background:#0b56c6;
  border:2px solid #fff;
  box-shadow:0 0 0 1px rgba(11,86,198,.38);
}
.ebic-overall-school-average-17083{
  display:flex;
  align-items:center;
  gap:7px;
  margin-top:13px;
  padding-top:11px;
  border-top:1px solid #dbe4f0;
  color:#53657d;
  font-size:12px;
  font-weight:700;
}
.ebic-radar-school-average-dot-17083{filter:drop-shadow(0 2px 2px rgba(15,23,42,.2));}

/* Delaktighetsstaplar behåller den etablerade blå skalan. */
.report-17083 #report-participation .ebic-meter>span,
.report-17083 #report-trend .ebic-meter>span{
  background:linear-gradient(90deg,#2f80ed,#0b56c6)!important;
}

/* Områdesstaplar behåller grön, gul och röd betydelse. */
.report-17083 .ebic-profile-section-b1 .impact-low .ebic-meter>span{
  background:linear-gradient(90deg,#4ade80,#2f9e57)!important;
}
.report-17083 .ebic-profile-section-b1 .impact-elevated .ebic-meter>span{
  background:linear-gradient(90deg,#f6c453,#f59e0b)!important;
}
.report-17083 .ebic-profile-section-b1 .impact-high .ebic-meter>span{
  background:linear-gradient(90deg,#fb7185,#ef4444)!important;
}

/* Stödets karaktär sammanfattas kompakt. */
.ebic-support-summary-17083{padding:0!important;overflow:hidden;}
.ebic-support-summary-row-17083{padding:18px 20px;border-bottom:1px solid #e8edf4;}
.ebic-support-summary-row-17083:last-child{border-bottom:0;}
.ebic-support-summary-row-17083 h4{margin:0 0 7px;color:#173761;font-size:1.02rem;line-height:1.3;}
.ebic-support-summary-row-17083 p{margin:0 0 6px;line-height:1.55;color:#334155;}
.ebic-support-summary-row-17083 p:last-child{margin-bottom:0;}

/* Nivåbild i människospråk. */
.ebic-level-card-17083 h4{margin:0 0 10px;color:#123667;font-size:1.25rem;}
.ebic-level-card-17083>p{line-height:1.62;}
.ebic-level-grid-17083{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px;}
.ebic-level-grid-17083>div{padding:13px 14px;border:1px solid #e1e8f2;border-radius:14px;background:#f8fbff;}
.ebic-level-grid-17083 span{display:block;margin-bottom:6px;color:#64748b;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.035em;}
.ebic-level-grid-17083 strong{display:block;color:#173761;font-size:13px;line-height:1.4;}

/* Konkreta åtgärder: få, tydliga och möjliga att följa. */
.ebic-action-stack-17083{display:grid;gap:16px;}
.ebic-action-card-17083{
  padding:21px 22px;
  border:1px solid #d8e2ef;
  border-radius:20px;
  background:#fff;
  box-shadow:0 10px 26px rgba(15,23,42,.045);
}
.ebic-action-title-row-17083{display:grid;grid-template-columns:34px minmax(0,1fr);gap:13px;align-items:start;}
.ebic-action-title-row-17083>span{width:31px;height:31px;border-radius:999px;display:grid;place-items:center;background:#0b56c6;color:#fff;font-size:13px;font-weight:900;}
.ebic-action-title-row-17083 h4{margin:0 0 7px;color:#123667;font-size:1.13rem;line-height:1.3;}
.ebic-action-title-row-17083 p{margin:0;color:#40516a;line-height:1.57;}
.ebic-action-situation-17083,
.ebic-action-steps-17083,
.ebic-action-follow-17083{margin-top:16px;padding-top:15px;border-top:1px solid #e8edf4;}
.ebic-action-situation-17083 strong,
.ebic-action-steps-17083>strong,
.ebic-action-follow-17083>div>strong{display:block;margin-bottom:7px;color:#173761;}
.ebic-action-situation-17083 p,
.ebic-action-follow-17083 p{margin:0;line-height:1.55;color:#334155;}
.ebic-action-steps-17083 ol{margin:0;padding-left:23px;display:grid;gap:8px;color:#334155;line-height:1.55;}
.ebic-action-meta-17083{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:15px;}
.ebic-action-meta-17083>div{padding:11px 12px;border-radius:13px;background:#f7faff;border:1px solid #e1eaf6;}
.ebic-action-meta-17083 span{display:block;margin-bottom:4px;color:#64748b;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.035em;}
.ebic-action-meta-17083 strong{display:block;color:#173761;font-size:13px;line-height:1.4;}
.ebic-action-follow-17083{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px;}
.ebic-action-follow-17083>div{min-width:0;}
.ebic-action-follow-17083 ul{margin:0;padding-left:19px;display:grid;gap:5px;color:#334155;font-size:13px;line-height:1.42;}

.ebic-followup-card-17083{display:grid;grid-template-columns:1fr 1fr;gap:24px;}
.ebic-followup-card-17083 h4{margin:0 0 10px;color:#173761;}
.ebic-followup-card-17083 ul,
.ebic-followup-card-17083 ol{margin:0;padding-left:22px;display:grid;gap:8px;color:#334155;line-height:1.52;}

.ebic-trend-card-17083{display:grid;gap:14px;}
.ebic-trend-row-17083{display:grid;grid-template-columns:190px minmax(0,1fr);gap:16px;align-items:center;}
.ebic-trend-row-17083 strong{color:#173761;}

/* Perspektivstaplar behåller sina befintliga färger och får endast jämförelsepunkten. */
.report-17083 #report-student-perspective .participation-meter>span,
.report-17083 #report-guardian-perspective .participation-meter>span{
  background:linear-gradient(90deg,#2f80ed,#0b56c6)!important;
}

@media(max-width:1050px){
  .report-17083 .ebic-fact-grid-17083{grid-template-columns:repeat(2,minmax(0,1fr));}
  .ebic-level-grid-17083{grid-template-columns:1fr;}
  .ebic-action-follow-17083{grid-template-columns:1fr;}
}
@media(max-width:760px){
  .report-17083 .ebic-fact-grid-17083{grid-template-columns:1fr;}
  .ebic-narrative-card-17083{padding:20px 18px;}
  .ebic-return-chapter-17083 p{font-size:.98rem;line-height:1.62;}
  .ebic-action-card-17083{padding:18px;}
  .ebic-action-title-row-17083{grid-template-columns:1fr;}
  .ebic-action-meta-17083,
  .ebic-followup-card-17083,
  .ebic-trend-row-17083{grid-template-columns:1fr;}
}
@media print{
  .report-17083 .ebic-report-body{gap:12px;}
  .ebic-narrative-card-17083,
  .ebic-action-card-17083,
  .ebic-level-card-17083,
  .ebic-followup-card-17083{box-shadow:none!important;}
  .ebic-return-chapter-17083{break-inside:avoid;page-break-inside:avoid;}
  .ebic-action-card-17083{break-inside:avoid;page-break-inside:avoid;}
  .ebic-school-average-dot-17083,
  .ebic-school-average-legend-dot-17083,
  .ebic-radar-school-average-dot-17083{print-color-adjust:exact;-webkit-print-color-adjust:exact;}
}


/* EBiC 170.90 – kvalitetssäkrad återgivning utan ändring av etablerade diagramfärger */
body::after{content:"build 171.02" !important;}

.report-17084{
  --report-blue:#0b56c6;
  --report-navy:#173761;
  --report-line:#dbe4f0;
  --report-soft:#f7faff;
}
.report-17084 .ebic-report-body{display:grid;gap:18px;}
.report-17084 .ebic-report-section{margin:0;}
.report-17084 .ebic-fact-grid-17084{grid-template-columns:repeat(4,minmax(0,1fr));}
.report-17084 .ebic-fact-text-17084{font-size:1.03rem!important;line-height:1.28!important;}

/* Återgivningen är rapportens huvuddel, inte en samling små kort. */
.ebic-return-section-17084 .ebic-section-head{margin-bottom:12px;}
.ebic-narrative-card-17084{
  padding:28px 30px;
  border:1px solid #d7e2f0;
  border-radius:22px;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
  box-shadow:0 14px 34px rgba(15,23,42,.055);
}
.ebic-return-chapter-17084{
  padding:22px 0 0;
  margin-top:22px;
  border-top:1px solid #e5ebf3;
}
.ebic-return-chapter-17084:first-child{padding-top:0;margin-top:0;border-top:0;}
.ebic-return-chapter-17084 h4{
  margin:0 0 10px;
  color:#123667;
  font-size:1.12rem;
  line-height:1.28;
  letter-spacing:-.01em;
}
.ebic-return-chapter-17084 p{
  margin:0 0 12px;
  max-width:92ch;
  color:#2f4058;
  font-size:1rem;
  line-height:1.67;
}
.ebic-return-chapter-17084 p:last-child{margin-bottom:0;}
.ebic-return-chapter-17084 strong{color:#173761;}

/* Skolmedel läggs ovanpå diagrammen. Stapelns befintliga färg är orörd. */
.ebic-benchmark-meter-17084{position:relative!important;overflow:visible!important;}
.ebic-benchmark-meter-17084>span{display:block;height:100%;border-radius:inherit;}
.ebic-school-average-dot-17084{
  position:absolute;
  top:50%;
  width:11px;
  height:11px;
  border-radius:50%;
  background:#0b56c6;
  border:2px solid #fff;
  box-shadow:0 0 0 1px rgba(11,86,198,.42),0 2px 7px rgba(15,23,42,.2);
  transform:translate(-50%,-50%);
  z-index:4;
}
.ebic-school-average-legend-17084{
  display:flex;
  align-items:center;
  gap:7px;
  margin-top:10px;
  color:#64748b;
  font-size:11.5px;
  line-height:1.4;
}
.ebic-school-average-legend-dot-17084{
  display:inline-block;
  flex:0 0 auto;
  width:9px;
  height:9px;
  border-radius:50%;
  background:#0b56c6;
  border:2px solid #fff;
  box-shadow:0 0 0 1px rgba(11,86,198,.38);
}
.ebic-overall-school-average-17084{
  display:flex;
  align-items:center;
  gap:7px;
  margin-top:13px;
  padding-top:11px;
  border-top:1px solid #dbe4f0;
  color:#53657d;
  font-size:12px;
  font-weight:700;
}
.ebic-radar-school-average-dot-17084{filter:drop-shadow(0 2px 2px rgba(15,23,42,.2));}

/* Delaktighetsstaplar behåller den etablerade blå skalan. */
.report-17084 #report-participation .ebic-meter>span,
.report-17084 #report-trend .ebic-meter>span{
  background:linear-gradient(90deg,#2f80ed,#0b56c6)!important;
}

/* Områdesstaplar behåller grön, gul och röd betydelse. */
.report-17084 .ebic-profile-section-b1 .impact-low .ebic-meter>span{
  background:linear-gradient(90deg,#4ade80,#2f9e57)!important;
}
.report-17084 .ebic-profile-section-b1 .impact-elevated .ebic-meter>span{
  background:linear-gradient(90deg,#f6c453,#f59e0b)!important;
}
.report-17084 .ebic-profile-section-b1 .impact-high .ebic-meter>span{
  background:linear-gradient(90deg,#fb7185,#ef4444)!important;
}

/* Stödets karaktär sammanfattas kompakt. */
.ebic-support-summary-17084{padding:0!important;overflow:hidden;}
.ebic-support-summary-row-17084{padding:18px 20px;border-bottom:1px solid #e8edf4;}
.ebic-support-summary-row-17084:last-child{border-bottom:0;}
.ebic-support-summary-row-17084 h4{margin:0 0 7px;color:#173761;font-size:1.02rem;line-height:1.3;}
.ebic-support-summary-row-17084 p{margin:0 0 6px;line-height:1.55;color:#334155;}
.ebic-support-summary-row-17084 p:last-child{margin-bottom:0;}

/* Nivåbild i människospråk. */
.ebic-level-card-17084 h4{margin:0 0 10px;color:#123667;font-size:1.25rem;}
.ebic-level-card-17084>p{line-height:1.62;}
.ebic-level-grid-17084{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px;}
.ebic-level-grid-17084>div{padding:13px 14px;border:1px solid #e1e8f2;border-radius:14px;background:#f8fbff;}
.ebic-level-grid-17084 span{display:block;margin-bottom:6px;color:#64748b;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.035em;}
.ebic-level-grid-17084 strong{display:block;color:#173761;font-size:13px;line-height:1.4;}

/* Konkreta åtgärder: få, tydliga och möjliga att följa. */
.ebic-action-stack-17084{display:grid;gap:16px;}
.ebic-action-card-17084{
  padding:21px 22px;
  border:1px solid #d8e2ef;
  border-radius:20px;
  background:#fff;
  box-shadow:0 10px 26px rgba(15,23,42,.045);
}
.ebic-action-title-row-17084{display:grid;grid-template-columns:34px minmax(0,1fr);gap:13px;align-items:start;}
.ebic-action-title-row-17084>span{width:31px;height:31px;border-radius:999px;display:grid;place-items:center;background:#0b56c6;color:#fff;font-size:13px;font-weight:900;}
.ebic-action-title-row-17084 h4{margin:0 0 7px;color:#123667;font-size:1.13rem;line-height:1.3;}
.ebic-action-title-row-17084 p{margin:0;color:#40516a;line-height:1.57;}
.ebic-action-situation-17084,
.ebic-action-steps-17084,
.ebic-action-follow-17084{margin-top:16px;padding-top:15px;border-top:1px solid #e8edf4;}
.ebic-action-situation-17084 strong,
.ebic-action-steps-17084>strong,
.ebic-action-follow-17084>div>strong{display:block;margin-bottom:7px;color:#173761;}
.ebic-action-situation-17084 p,
.ebic-action-follow-17084 p{margin:0;line-height:1.55;color:#334155;}
.ebic-action-steps-17084 ol{margin:0;padding-left:23px;display:grid;gap:8px;color:#334155;line-height:1.55;}
.ebic-action-meta-17084{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:15px;}
.ebic-action-meta-17084>div{padding:11px 12px;border-radius:13px;background:#f7faff;border:1px solid #e1eaf6;}
.ebic-action-meta-17084 span{display:block;margin-bottom:4px;color:#64748b;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.035em;}
.ebic-action-meta-17084 strong{display:block;color:#173761;font-size:13px;line-height:1.4;}
.ebic-action-follow-17084{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px;}
.ebic-action-follow-17084>div{min-width:0;}
.ebic-action-follow-17084 ul{margin:0;padding-left:19px;display:grid;gap:5px;color:#334155;font-size:13px;line-height:1.42;}

.ebic-followup-card-17084{display:grid;grid-template-columns:1fr 1fr;gap:24px;}
.ebic-followup-card-17084 h4{margin:0 0 10px;color:#173761;}
.ebic-followup-card-17084 ul,
.ebic-followup-card-17084 ol{margin:0;padding-left:22px;display:grid;gap:8px;color:#334155;line-height:1.52;}

.ebic-trend-card-17084{display:grid;gap:14px;}
.ebic-trend-row-17084{display:grid;grid-template-columns:190px minmax(0,1fr);gap:16px;align-items:center;}
.ebic-trend-row-17084 strong{color:#173761;}

/* Perspektivstaplar behåller sina befintliga färger och får endast jämförelsepunkten. */
.report-17084 #report-student-perspective .participation-meter>span,
.report-17084 #report-guardian-perspective .participation-meter>span{
  background:linear-gradient(90deg,#2f80ed,#0b56c6)!important;
}

@media(max-width:1050px){
  .report-17084 .ebic-fact-grid-17084{grid-template-columns:repeat(2,minmax(0,1fr));}
  .ebic-level-grid-17084{grid-template-columns:1fr;}
  .ebic-action-follow-17084{grid-template-columns:1fr;}
}
@media(max-width:760px){
  .report-17084 .ebic-fact-grid-17084{grid-template-columns:1fr;}
  .ebic-narrative-card-17084{padding:20px 18px;}
  .ebic-return-chapter-17084 p{font-size:.98rem;line-height:1.62;}
  .ebic-action-card-17084{padding:18px;}
  .ebic-action-title-row-17084{grid-template-columns:1fr;}
  .ebic-action-meta-17084,
  .ebic-followup-card-17084,
  .ebic-trend-row-17084{grid-template-columns:1fr;}
}
@media print{
  .report-17084 .ebic-report-body{gap:12px;}
  .ebic-narrative-card-17084,
  .ebic-action-card-17084,
  .ebic-level-card-17084,
  .ebic-followup-card-17084{box-shadow:none!important;}
  .ebic-return-chapter-17084{break-inside:avoid;page-break-inside:avoid;}
  .ebic-action-card-17084{break-inside:avoid;page-break-inside:avoid;}
  .ebic-school-average-dot-17084,
  .ebic-school-average-legend-dot-17084,
  .ebic-radar-school-average-dot-17084{print-color-adjust:exact;-webkit-print-color-adjust:exact;}
}

.ebic-followup-single-17084{grid-template-columns:1fr!important;}

/* EBiC 170.90 – tydlig och kompakt skattningsskala */
.ebic-scale-legend-17090{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
  margin:0 0 10px;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#f8fafc;
}
.ebic-scale-legend-17090 span{
  display:flex;
  align-items:center;
  gap:7px;
  min-width:0;
  color:#475569;
  font-size:12px;
  line-height:1.25;
}
.ebic-scale-legend-17090 b{
  flex:0 0 auto;
  width:24px;
  height:24px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:#eef4ff;
  color:#0b56c6;
}
.question .score-row{align-items:center;flex-wrap:nowrap!important;}
.question .score-btn{flex:0 0 42px;}
.question .score-row select{min-width:160px;max-width:210px;}
@media(max-width:760px){
 .ebic-scale-legend-17090{grid-template-columns:1fr 1fr;}
 .ebic-scale-legend-17090 span:last-child{grid-column:1/-1;}
 .question .score-row{overflow-x:auto;padding-bottom:4px;}
 .question .score-row select{flex:0 0 170px;}
}

/* EBiC 170.90 – kompakt skattningsskala */
.ebic-scale-legend-17090{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0 0 10px;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:#f8fafc}
.ebic-scale-legend-17090 span{display:flex;align-items:center;gap:7px;min-width:0;color:#475569;font-size:12px;line-height:1.25}
.ebic-scale-legend-17090 b{flex:0 0 auto;width:24px;height:24px;border-radius:999px;display:grid;place-items:center;background:#eef4ff;color:#0b56c6}
.question .score-row{align-items:center;flex-wrap:nowrap!important}
.question .score-btn{flex:0 0 42px}
.question .score-row select{min-width:160px;max-width:210px}
@media(max-width:760px){.ebic-scale-legend-17090{grid-template-columns:1fr 1fr}.ebic-scale-legend-17090 span:last-child{grid-column:1/-1}.question .score-row{overflow-x:auto;padding-bottom:4px}.question .score-row select{flex:0 0 170px}}


/* EBiC 170.91 – frågespecifika mikrosignaler och oförändrad 0–4-rad */
body::after{content:"build 171.02" !important;}
.ebic-scale-note-17091{
  margin:0 0 8px;
  color:#53657d;
  font-size:13px;
  line-height:1.45;
}
.question[data-question-id]{
  padding:20px 0;
}
.question[data-question-id] .score-row{
  display:flex !important;
  align-items:center !important;
  flex-wrap:nowrap !important;
  gap:8px !important;
  max-width:100%;
  overflow-x:auto;
  overscroll-behavior-inline:contain;
  scrollbar-width:thin;
  padding-bottom:3px;
}
.question[data-question-id] .score-btn{
  flex:0 0 44px !important;
  width:44px !important;
  min-width:44px !important;
  height:44px !important;
}
.question[data-question-id] .score-row select{
  flex:0 0 184px !important;
  width:184px !important;
  min-width:184px !important;
  max-width:184px !important;
  margin-left:4px !important;
}
.ebic-micro-helpbox-17091{
  padding:10px !important;
  background:#fbfdff !important;
  border-color:#dfe7f1 !important;
}
.ebic-micro-scale-17091{
  display:grid;
  gap:6px;
  white-space:normal;
}
.ebic-micro-row-17091{
  display:grid;
  grid-template-columns:30px minmax(0,1fr);
  gap:9px;
  align-items:start;
  padding:8px 10px;
  border:1px solid transparent;
  border-radius:11px;
  color:#475569;
  font-size:13px;
  line-height:1.42;
}
.ebic-micro-row-17091 b{
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#eef3f9;
  color:#35506f;
  font-size:12px;
}
.ebic-micro-row-17091.is-selected{
  border-color:#a9c8f3;
  background:#eef6ff;
  color:#173761;
  box-shadow:0 0 0 2px rgba(11,86,198,.055);
}
.ebic-micro-row-17091.is-selected b{
  background:#0b56c6;
  color:#fff;
}
.question-admin-row [data-qfield="help"]{
  min-height:210px;
  font-size:13px;
  line-height:1.5;
}
@media(max-width:760px){
  .question[data-question-id] .score-row{padding-bottom:7px;}
  .ebic-micro-row-17091{grid-template-columns:28px minmax(0,1fr);padding:8px;font-size:12.5px;}
}
@media print{
  body::after{display:none !important;}
  .ebic-micro-row-17091{break-inside:avoid;page-break-inside:avoid;}
}

/* EBiC 170.94 */
body::after{content:"build 171.02" !important;}

/* EBiC 170.95 – EBiC-referens och utvecklingsperspektiv */
.ebic-benchmark-meter-17084{position:relative;overflow:visible!important}
.ebic-reference-dot-17095{position:absolute;top:50%;width:10px;height:10px;border-radius:50%;background:#2f9e57;border:2px solid #fff;box-shadow:0 0 0 1px rgba(22,118,66,.35);transform:translate(-50%,-50%);z-index:4;pointer-events:none}
.ebic-reference-legend-17095{display:flex;align-items:flex-start;gap:8px;margin-top:10px;color:#64748b;font-size:12px;line-height:1.4}
.ebic-reference-legend-dot-17095{flex:0 0 auto;width:10px;height:10px;margin-top:3px;border-radius:50%;background:#2f9e57;border:2px solid #fff;box-shadow:0 0 0 1px rgba(22,118,66,.35)}
.ebic-developmental-context-17095{background:#f8fbff;border:1px solid #dce8f7;border-radius:16px;padding:14px 16px;margin-bottom:16px}
.ebic-developmental-context-17095 h4{margin-top:0}
body::after{content:"build 171.02" !important;}

/* EBiC 170.96 — only reference markers and narrow-layout fixes; bar fills are unchanged. */
.ebic-reference-dot-17095,.ebic-school-average-dot-17084 {pointer-events:auto;}
.ebic-radar-reference-dot-17096 {fill:#2f9e57;stroke:#fff;stroke-width:2.6px;}
.ebic-benchmark-meter-17084:has(.ebic-reference-dot-17095) .ebic-school-average-dot-17084 {top:35%;}
.ebic-benchmark-meter-17084:has(.ebic-school-average-dot-17084) .ebic-reference-dot-17095 {top:70%;}
.ebic-audit-panel-17096 {margin-top:20px;}
.ebic-audit-panel-17096 summary {cursor:pointer;}
.report-17084 .student-report-grid {grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));}
.report-17084 .student-quote p {white-space:pre-wrap;overflow-wrap:break-word;}
.report-17084 .ebic-score-row-v65 {min-width:0;}
@media print {.ebic-reference-legend-17095,.ebic-school-average-legend-17084{break-inside:avoid;} body::after{display:none!important;}}
body::after{content:"build 171.02" !important;}
/* Print the actual report, not navigation or the version chooser. Permit prose to
   flow between pages; the old whole-section keep-together rules wasted pages. */
@media print {
 html body:has(#report-print-root){background:#fff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact;}
 html body:has(#report-print-root) .main> :not(#report-print-root){display:none!important;}
 html body:has(#report-print-root) .main{padding:0!important;max-width:none!important;width:100%!important;}
 #report-print-root,#report-print-root .ebic-return-sheet,#report-print-root .ebic-report-body {padding:0!important;margin:0!important;border:0!important;box-shadow:none!important;max-width:none!important;width:100%!important;overflow:visible!important;break-inside:auto!important;}
 #report-print-root {font-size:10pt!important;line-height:1.4!important;}
 #report-print-root .ebic-report-hero{padding:14px!important;border-radius:8px!important;min-height:0!important;display:block!important;break-inside:avoid!important;}
 #report-print-root .ebic-report-hero h2{font-size:22pt!important;}
 #report-print-root .ebic-report-meta{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin-top:12px!important;}
 #report-print-root .ebic-report-section {margin:12px 0!important;padding:0!important;border:0!important;box-shadow:none!important;break-inside:auto!important;page-break-inside:auto!important;}
 #report-print-root .ebic-section-head{margin:0 0 8px!important;break-after:avoid!important;page-break-after:avoid!important;}
 #report-print-root .ebic-section-head h3{font-size:14pt!important;}
 #report-print-root .ebic-narrative-card-17084,#report-print-root .ebic-narrative-card {break-inside:auto!important;page-break-inside:auto!important;padding:12px!important;font-size:10pt!important;line-height:1.45!important;}
 #report-print-root h4,#report-print-root h5 {break-after:avoid!important;page-break-after:avoid!important;}
 #report-print-root p,#report-print-root li {font-size:10pt!important;line-height:1.45!important;orphans:3;widows:3;}
 #report-print-root .ebic-fact-grid {grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;}
 #report-print-root .ebic-fact{padding:10px!important;min-height:0!important;break-inside:avoid!important;}
 #report-print-root .ebic-fact .value{font-size:18pt!important;}
 #report-print-root .ebic-fact .ebic-fact-text-17084{font-size:11pt!important;line-height:1.25!important;}
 #report-print-root .ebic-profile-panel-b1{display:grid!important;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;gap:14px!important;padding:12px!important;break-inside:avoid!important;}
 #report-print-root .ebic-profile-list-b1{gap:7px!important;}
 #report-print-root .ebic-profile-row-b1{padding:9px!important;box-shadow:none!important;}
 #report-print-root .ebic-profile-row-top strong,#report-print-root .ebic-profile-row-top span{font-size:10pt!important;}
 #report-print-root .ebic-profile-row-meta{margin-top:7px!important;font-size:8pt!important;}
 #report-print-root .ebic-profile-row-meta .status{padding:4px 6px!important;font-size:8pt!important;}
 #report-print-root .ebic-index-grid-v65{grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr)!important;}
 #report-print-root .ebic-score-row-v65{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 38px!important;gap:8px!important;}
 #report-print-root .ebic-card,#report-print-root .ebic-action-card-17084,#report-print-root .student-quote {box-shadow:none!important;}
 #report-print-root .ebic-action-card-17084 {padding:12px!important;break-inside:avoid!important;page-break-inside:avoid!important;}
 #report-print-root .ebic-action-follow-17084 {gap:8px!important;}
 #report-print-root .ebic-build-marker{font-size:8pt!important;}
}

.ebic-report-build-17096{font-size:10px;color:#64748b;margin-top:18px;text-align:right;font-weight:400;}
@media print {
 #report-print-root .ebic-profile-row-top{display:flex!important;justify-content:space-between!important;align-items:flex-start!important;gap:10px!important;}
 #report-print-root .ebic-profile-row-top span{white-space:nowrap!important;}
 #report-print-root .ebic-profile-row-meta{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;}
 #report-print-root .ebic-profile-row-b1,#report-print-root .ebic-score-row-v65{break-inside:avoid!important;page-break-inside:avoid!important;}
}

/* EBIC 170.97 – utvecklingskänslig återgivning */
.ebic-development-note-17097{margin:0 0 16px;padding:14px 16px;border:1px solid #dbe7f5;border-radius:16px;background:#f8fbff;color:#334155;line-height:1.55}
.ebic-development-note-17097 strong{color:#173761}
.ebic-development-note-17097 p{margin:5px 0 0}
.ebic-narrative-lead-17097{font-size:1.04rem;line-height:1.65;color:#1f3658}
.ebic-development-action-17097{border-color:#cfe0f5;background:linear-gradient(180deg,#fbfdff,#fff)}
#report-radar .ebic-profile-panel-b1{grid-template-columns:1fr!important;justify-items:center}
#report-radar .ebic-profile-radar-box{width:min(100%,560px)}
#report-radar .ebic-profile-radar-wrap{max-width:470px;margin:0 auto}
.ebic-audit-panel-17097{margin-top:18px;border-color:#dbe7f5;background:linear-gradient(180deg,#fbfdff,#fff)}
@media print{.ebic-development-note-17097,.ebic-development-action-17097{break-inside:avoid;page-break-inside:avoid}}
.ebic-age-anchor-17097{margin:9px 0 2px;padding:10px 12px;border-left:3px solid #b9cceb;background:#f8fbff;border-radius:0 10px 10px 0;color:#52627a;font-size:12.5px;line-height:1.45}

/* EBIC 170.98 – syntes före uppdelning. */
.ebic-narrative-lead-17098{font-size:1.06rem;line-height:1.68;color:#173761;font-weight:650}
.ebic-synthesis-17098{margin-top:18px;padding:20px;border:1px solid #dbe7f7;border-radius:22px;background:linear-gradient(180deg,#f8fbff,#fff)}
.ebic-synthesis-17098>h4{margin:0 0 14px;color:#123667}.ebic-synthesis-grid-17098{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.ebic-synthesis-card-17098{display:grid;grid-template-columns:32px minmax(0,1fr);gap:10px;padding:14px;border:1px solid #e1e8f2;border-radius:16px;background:#fff}.ebic-synthesis-card-17098>b{width:30px;height:30px;border-radius:999px;background:#0b56c6;color:#fff;display:grid;place-items:center}.ebic-synthesis-card-17098 h4{margin:0 0 5px;color:#173761}.ebic-synthesis-card-17098 p{margin:0 0 6px;line-height:1.45}.ebic-synthesis-card-17098 small{color:#64748b;line-height:1.4}
@media(max-width:980px){.ebic-synthesis-grid-17098{grid-template-columns:1fr}}
@media print{.ebic-synthesis-card-17098{break-inside:avoid}}

/* EBIC 170.99 – återställd full områdesprofil utan ändring av befintlig färglogik */
.ebic-profile-section-b1 .ebic-profile-list-b1[data-ebic-restored="170.99"]{display:grid;gap:12px;min-width:0;}
.ebic-profile-legends-17099{display:flex;gap:14px;flex-wrap:wrap;margin-top:12px;color:#64748b;font-size:12px;line-height:1.35;}
.ebic-profile-legend-item-17099{display:inline-flex;align-items:center;gap:7px;}
.ebic-reference-legend-dot-17099{width:10px;height:10px;border-radius:999px;background:#2f9e57;display:inline-block;box-shadow:0 0 0 2px #fff,0 0 0 3px rgba(47,158,87,.24);flex:0 0 auto;}
@media(max-width:760px){.ebic-profile-legends-17099{display:grid;gap:8px;}}
\n\n/* EBiC 171.01 — Editorial A: nära EBIC.se */\n:root{--editorial-navy:#08294f;--editorial-navy-deep:#061f3f;--editorial-gold:#d9a72f;--editorial-paper:#fbfaf6;--editorial-ink:#10233e;--editorial-muted:#657186;}\n.ebic-reference-shell{background:linear-gradient(180deg,#fbfaf6 0%,#f5f7fa 100%) !important;}\n.reference-sidebar{background:linear-gradient(180deg,#062846 0%,#041f38 100%) !important;box-shadow:10px 0 32px rgba(5,31,56,.12) !important;}\n.reference-menu button.active{background:rgba(255,255,255,.10) !important;box-shadow:inset 3px 0 0 var(--editorial-gold) !important;}\n.reference-main{padding:28px 38px 38px !important;}\n.dashboard-v2-page{max-width:1450px !important;}\n.dashboard-v2-topbar{padding:4px 0 18px !important;margin:0 0 8px !important;border:0 !important;background:transparent !important;box-shadow:none !important;}\n.dashboard-v2-titleblock h1{font-family:Georgia,"Times New Roman",serif !important;font-size:clamp(38px,3.4vw,58px) !important;font-weight:500 !important;line-height:.98 !important;letter-spacing:-.045em !important;color:var(--editorial-navy) !important;}\n.dashboard-v2-titleblock p{font-family:Georgia,"Times New Roman",serif !important;font-size:18px !important;color:#3e5068 !important;margin-top:9px !important;}\n.dashboard-v2-titleblock:after{content:"";display:block;width:46px;height:2px;background:var(--editorial-gold);margin-top:18px;}\n.dashboard-v2-select,.dashboard-v2-secondary,.dashboard-v2-newcase{background:rgba(255,255,255,.82) !important;border:1px solid #e4e3dc !important;box-shadow:none !important;}\n.dashboard-v2-newcase{background:var(--editorial-navy) !important;border-color:var(--editorial-navy) !important;}\n.dashboard-v2-hero{min-height:300px !important;border-radius:20px !important;border:1px solid #e6e3da !important;background:#f8f5ee url('./assets/ebic-editorial-hero-clean.jpg') right center/52% auto no-repeat !important;box-shadow:0 18px 42px rgba(16,35,62,.055) !important;}\n.dashboard-v2-hero::before{background:linear-gradient(90deg,#fbfaf6 0%,rgba(251,250,246,.99) 38%,rgba(251,250,246,.90) 52%,rgba(251,250,246,.12) 78%,rgba(251,250,246,0) 100%) !important;}\n.dashboard-v2-hero-copy{width:min(610px,58%) !important;padding:42px 0 34px 44px !important;}\n.dashboard-v2-eyebrow{color:#7d6b42 !important;letter-spacing:.09em !important;}\n.dashboard-v2-hero h2{font-family:Georgia,"Times New Roman",serif !important;font-size:clamp(31px,2.7vw,45px) !important;font-weight:400 !important;color:var(--editorial-navy) !important;max-width:580px !important;}\n.dashboard-v2-hero p{font-family:Georgia,"Times New Roman",serif !important;font-size:16px !important;line-height:1.58 !important;color:#43536a !important;}\n.dashboard-v2-hero-actions button:first-child{background:var(--editorial-navy) !important;}\n.dashboard-v2-metrics{gap:0 !important;border:1px solid #e5e4de;border-radius:18px;background:rgba(255,255,255,.82);overflow:hidden;box-shadow:0 12px 28px rgba(16,35,62,.04);margin-top:14px !important;}\n.dashboard-v2-metric{border:0 !important;border-right:1px solid #e7e6e0 !important;border-radius:0 !important;box-shadow:none !important;background:transparent !important;min-height:120px !important;padding:22px 28px !important;}\n.dashboard-v2-metric:last-child{border-right:0 !important;}\n.dashboard-v2-metric strong{font-family:Georgia,"Times New Roman",serif !important;font-size:34px !important;font-weight:500 !important;color:var(--editorial-navy) !important;}\n.dashboard-v2-metric-icon{background:transparent !important;color:var(--editorial-gold) !important;width:48px !important;height:48px !important;}\n.dashboard-v2-track{height:3px !important;}\n.dashboard-v2-grid{gap:14px !important;margin-top:14px !important;}\n.dashboard-v2-panel{border:1px solid #e6e5df !important;border-radius:18px !important;background:rgba(255,255,255,.86) !important;box-shadow:0 12px 28px rgba(16,35,62,.04) !important;padding:24px 26px !important;}\n.dashboard-v2-panel h3{font-family:Georgia,"Times New Roman",serif !important;font-size:21px !important;font-weight:600 !important;color:var(--editorial-navy) !important;}\n.dashboard-v2-focus-card{border-radius:12px !important;box-shadow:none !important;background:#fff !important;}\n.dashboard-v2-support{margin-top:14px !important;}\n.cases-v3-title h1,.stepvis-board-case-title h1,.title h1{font-family:Georgia,"Times New Roman",serif !important;color:var(--editorial-navy) !important;font-weight:500 !important;}\n.case-context-nav,.cases-v3-filter-card,.cases-v3-table-card,.card{border-color:#e5e4de !important;box-shadow:0 12px 30px rgba(16,35,62,.04) !important;}\n.case-context-tab-row .case-tab-btn.active{background:var(--editorial-navy) !important;border-color:var(--editorial-navy) !important;}\n@media(max-width:980px){.reference-main{padding:70px 16px 28px !important}.dashboard-v2-titleblock h1{font-size:40px !important}.dashboard-v2-titleblock p{font-size:16px !important}.dashboard-v2-hero{min-height:410px !important;background-position:center bottom !important;background-size:100% auto !important}.dashboard-v2-hero::before{background:linear-gradient(180deg,#fbfaf6 0%,rgba(251,250,246,.98) 50%,rgba(251,250,246,.70) 72%,rgba(251,250,246,.08) 100%) !important}.dashboard-v2-hero-copy{width:100% !important;padding:28px 22px 170px !important}.dashboard-v2-metrics{display:grid !important;grid-template-columns:1fr !important}.dashboard-v2-metric{border-right:0 !important;border-bottom:1px solid #e7e6e0 !important;min-height:96px !important;padding:17px 18px !important}.dashboard-v2-metric:last-child{border-bottom:0 !important}.dashboard-v2-grid{grid-template-columns:1fr !important}.dashboard-v2-panel{padding:20px !important}}\n@media(max-width:600px){.dashboard-v2-titleblock h1{font-size:36px !important}.dashboard-v2-hero{min-height:390px !important}.dashboard-v2-hero-copy{padding-bottom:155px !important}.dashboard-v2-hero h2{font-size:30px !important}.dashboard-v2-controls{display:grid !important;grid-template-columns:1fr !important}.dashboard-v2-select,.dashboard-v2-secondary,.dashboard-v2-newcase{width:100% !important}}\n

/* EBiC 171.01 — A exactly aligned to approved mockup */
.dashboard-v2-page{max-width:1500px!important}
.dashboard-v2-topbar{margin-bottom:4px!important}
.dashboard-v2-hero{background:#fbfaf6 url('./assets/ebic-editorial-hero-clean.jpg') right center/46% 100% no-repeat!important;min-height:292px!important;border-radius:0!important;border-left:0!important;border-right:0!important;box-shadow:none!important}
.dashboard-v2-hero::before{background:linear-gradient(90deg,#fbfaf6 0%,#fbfaf6 46%,rgba(251,250,246,.94) 55%,rgba(251,250,246,.18) 72%,rgba(251,250,246,0) 100%)!important}
.dashboard-v2-hero-copy{padding:35px 0 30px 0!important;width:min(630px,56%)!important}
.dashboard-v2-hero h2{font-size:clamp(30px,2.35vw,40px)!important}
.dashboard-v2-hero p{font-size:16px!important;max-width:540px!important}
.dashboard-v2-metrics{margin-top:0!important;border-radius:10px!important}
.dashboard-v2-metric{min-height:112px!important}
.dashboard-v2-panel{border-radius:10px!important}
.dashboard-v2-focus-card{border-radius:8px!important}

.editorial-case-hero-17101{position:relative;min-height:180px;margin:-14px -16px 18px;padding:24px 34px;display:flex;align-items:flex-end;background:#fbfaf6 url('./assets/ebic-editorial-case-clean.jpg') right center/48% 100% no-repeat;border-bottom:1px solid #e6e2d7;overflow:hidden}
.editorial-case-hero-17101::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fbfaf6 0%,#fbfaf6 43%,rgba(251,250,246,.88) 58%,rgba(251,250,246,0) 78%);pointer-events:none}
.editorial-case-copy-17101{position:relative;z-index:1;max-width:540px}
.editorial-case-copy-17101 h1{margin:6px 0 4px;font-family:Georgia,"Times New Roman",serif;font-size:44px;font-weight:500;line-height:1;color:var(--editorial-navy);letter-spacing:-.04em}
.editorial-case-copy-17101 p{margin:0 0 12px;font-family:Georgia,"Times New Roman",serif;font-size:18px;color:#31455f}
.editorial-case-back-17101{border:0;background:transparent;padding:0;color:#25486d;font-weight:700;cursor:pointer}
.editorial-case-status-17101{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:999px;background:#e7f6ec;color:#167642;font-size:13px;font-weight:800}
.editorial-process-17101{display:grid;grid-template-columns:repeat(5,1fr);gap:0;margin:0 0 16px;padding:0 8px 14px;border-bottom:1px solid #e6e2d7}
.editorial-process-17101 span{position:relative;display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto;gap:1px 8px;align-items:center;color:#142b49;font-weight:800;font-size:13px}
.editorial-process-17101 span:not(:last-child)::after{content:"";position:absolute;top:16px;left:42px;right:4px;height:1px;background:#cfd7df}
.editorial-process-17101 b{grid-row:1/3;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#0b315b;color:#fff;z-index:1}
.editorial-process-17101 small{font-weight:500;color:#718096;font-size:11px}
.case-context-nav{padding:14px 16px 12px!important;overflow:hidden!important}
.case-context-nav-head{display:none!important}
.case-context-tab-row{border-top:1px solid #ece9e1;padding-top:12px!important}

.editorial-mobile-bottom-17101{display:none}
@media(max-width:980px){
 body{padding-bottom:72px!important}
 .mobile-menu-toggle{top:14px!important;right:14px!important;left:auto!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#08294f!important}
 .dashboard-v2-topbar{padding-top:0!important}
 .dashboard-v2-titleblock h1{font-size:34px!important;max-width:300px}
 .dashboard-v2-titleblock p{font-size:16px!important}
 .dashboard-v2-hero{min-height:420px!important;background-position:center bottom!important;background-size:100% auto!important;border-radius:0!important}
 .dashboard-v2-hero::before{background:linear-gradient(180deg,#fbfaf6 0%,#fbfaf6 48%,rgba(251,250,246,.88) 62%,rgba(251,250,246,.02) 100%)!important}
 .dashboard-v2-hero-copy{padding:22px 6px 180px!important;width:100%!important}
 .dashboard-v2-metric{min-height:82px!important;grid-template-columns:52px minmax(0,1fr)!important}
 .dashboard-v2-metric strong{font-size:30px!important}
 .editorial-mobile-bottom-17101{position:fixed;left:0;right:0;bottom:0;height:66px;background:rgba(255,255,255,.97);border-top:1px solid #dfe4ea;display:grid;grid-template-columns:repeat(5,1fr);z-index:2500;padding:max(5px,env(safe-area-inset-bottom)) 10px 6px;box-shadow:0 -8px 22px rgba(15,23,42,.07)}
 .editorial-mobile-bottom-17101 button{border:0;background:transparent;display:grid;justify-items:center;align-content:center;gap:2px;color:#14375b;font:inherit;cursor:pointer}
 .editorial-mobile-bottom-17101 button span{display:grid;place-items:center;width:24px;height:24px}
 .editorial-mobile-bottom-17101 button svg{width:20px;height:20px;stroke:currentColor;fill:none}
 .editorial-mobile-bottom-17101 small{font-size:10px;font-weight:750}
 .editorial-mobile-new-17101 span{width:42px!important;height:42px!important;margin-top:-18px;border-radius:50%;background:#08294f;color:#fff;box-shadow:0 8px 18px rgba(8,41,79,.22)}
 .editorial-case-hero-17101{min-height:210px;margin:-12px -12px 14px;padding:18px 20px 20px;background-position:center bottom;background-size:100% auto;align-items:flex-start}
 .editorial-case-hero-17101::before{background:linear-gradient(180deg,#fbfaf6 0%,rgba(251,250,246,.98) 48%,rgba(251,250,246,.60) 70%,rgba(251,250,246,0) 100%)}
 .editorial-case-copy-17101 h1{font-size:34px}
 .editorial-case-copy-17101 p{font-size:15px}
 .editorial-process-17101{grid-template-columns:repeat(5,minmax(64px,1fr));overflow-x:auto;gap:14px;padding:0 0 12px}
 .editorial-process-17101 span{grid-template-columns:28px 1fr;font-size:11px;min-width:105px}
 .editorial-process-17101 b{width:26px;height:26px}
 .editorial-process-17101 span:not(:last-child)::after{top:13px;left:35px}
}
@media(max-width:600px){
 .reference-main{padding-left:14px!important;padding-right:14px!important}
 .dashboard-v2-hero{min-height:400px!important}
 .dashboard-v2-hero-copy{padding-bottom:165px!important}
 .dashboard-v2-panel{padding:18px!important}
}
body::after{content:"build 171.02"!important}

/* EBiC 171.02  Editorial A genom hela applikationen */
:root{
  --editorial-navy:#03283f;
  --editorial-navy-2:#082f49;
  --editorial-gold:#d9a11d;
  --editorial-cream:#f7f5ef;
  --editorial-paper:#fffdfa;
  --editorial-ink:#0c2740;
  --editorial-muted:#6d7781;
  --editorial-line:#e5e0d7;
  --editorial-green:#2aa56f;
}
html,body{background:var(--editorial-cream)!important;color:var(--editorial-ink)!important}
body::after{display:none!important;content:none!important}
.ebic-build-marker-runtime,.ebic-master-build-fixed,[class*="ebic-master-build-fixed-"]{display:none!important}
.ebic-reference-shell{grid-template-columns:216px minmax(0,1fr)!important;background:var(--editorial-cream)!important}
.reference-main{padding:0 30px 38px!important;background:var(--editorial-cream)!important;max-width:none!important}
.reference-sidebar{
  background:linear-gradient(180deg,#02253b 0%,#062f49 100%)!important;
  border-right:1px solid rgba(255,255,255,.05)!important;
  box-shadow:none!important;
  padding:0 0 18px!important;
  gap:0!important;
}
.sidebar-minimize{top:14px!important;right:10px!important;background:rgba(255,255,255,.07)!important}
.reference-brand{
  min-height:112px!important;height:auto!important;padding:25px 22px 16px!important;
  display:block!important;text-align:left!important;border-bottom:1px solid rgba(255,255,255,.08)!important;
}
.editorial-wordmark-17102{font-family:Georgia,"Times New Roman",serif;font-size:32px;line-height:.95;color:#fff;letter-spacing:-.035em;font-weight:500}
.editorial-tagline-17102{margin-top:9px;color:rgba(255,255,255,.72);font-size:10.5px;letter-spacing:.01em}
.reference-menu{padding:10px 0!important;gap:0!important;overflow:visible!important}
.reference-menu button{
  min-height:43px!important;border-radius:0!important;padding:9px 18px!important;
  grid-template-columns:24px minmax(0,1fr)!important;gap:11px!important;
  font-size:12.5px!important;font-weight:600!important;color:rgba(255,255,255,.9)!important;
  border:0!important;border-left:3px solid transparent!important;
}
.reference-menu button:hover{background:rgba(255,255,255,.055)!important;transform:none!important}
.reference-menu button.active{
  background:rgba(255,255,255,.11)!important;border-left-color:var(--editorial-gold)!important;
  box-shadow:none!important;color:#fff!important;
}
.reference-menu button svg{width:17px!important;height:17px!important;stroke-width:1.8!important}
.reference-sidebar-bottom{margin-top:auto!important;padding:0 14px!important;gap:8px!important}
.reference-school-card{display:none!important}
.reference-user-card{background:transparent!important;border:0!important;padding:10px 5px!important}
.reference-avatar{background:#f2f4f5!important;color:#16324a!important;width:31px!important;height:31px!important}
.reference-user-card strong{font-size:11.5px!important}.reference-user-card small{font-size:9.5px!important;color:rgba(255,255,255,.62)!important}
.editorial-sidebar-quote-17102{margin:12px 22px 0;padding-top:15px;border-top:1px solid rgba(255,255,255,.13);font:italic 12px/1.35 Georgia,"Times New Roman",serif;color:rgba(255,255,255,.75)}
.editorial-sidebar-build-17102{margin:11px 22px 0;font-size:9px;letter-spacing:.04em;color:rgba(255,255,255,.42);text-transform:lowercase}

.editorial-globalbar-17102{
  height:62px;display:flex;align-items:center;justify-content:space-between;gap:18px;
  border-bottom:1px solid #ebe6dd;background:rgba(255,253,250,.9);margin:0 -30px 24px;padding:0 30px;
  position:sticky;top:0;z-index:90;backdrop-filter:blur(16px);
}
.editorial-globalbar-17102 form{display:flex;align-items:center;gap:8px;min-width:320px;max-width:480px;flex:0 1 480px;height:36px;border:1px solid #dedbd4;border-radius:14px;background:#fff;padding:0 12px}
.editorial-globalbar-17102 form svg{width:15px;height:15px;stroke:#789}
.editorial-globalbar-17102 input{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;width:100%;font-size:12px!important;padding:0!important}
.editorial-global-actions-17102{display:flex;align-items:center;gap:9px;font-size:11px;color:#21384d}
.editorial-global-actions-17102>svg{width:12px;height:12px}
.editorial-school-17102,.editorial-icon-button-17102{border:0;background:#f8f7f4;color:#23394d;border-radius:999px;min-height:32px;padding:0 11px;font:inherit;display:flex;align-items:center;gap:6px}
.editorial-icon-button-17102{width:32px;padding:0;justify-content:center}.editorial-icon-button-17102 svg{width:15px;height:15px}
.editorial-avatar-17102{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:#0b1720;color:#fff;font-weight:700}

/* Gemensam editorial typografi och ytor */
.title h1,.dashboard-v2-titleblock h1,.cases-title h1,.cases-v3-title h1,.stepvis-board-case-title h1,
.ebic-report-section h1,.ebic-report-section h2,.ebic-report-section h3,.ebic-report-section h4,
.card>h1,.card>h2,.card>h3,.matrix-hero-copy h2,.plu-hero-card h2,.ebic-student-guide-head h2{
  font-family:Georgia,"Times New Roman",serif!important;color:var(--editorial-ink)!important;font-weight:500!important;letter-spacing:-.025em!important;
}
.title h1{font-size:38px!important}.title p{color:var(--editorial-muted)!important;font-size:13px!important}
.card,.dashboard-v2-panel,.dashboard-v2-metric,.cases-v3-filter-card,.cases-v3-table-card,.case-context-nav,.plu-row-card,.follow-track-card,.stepvis-board-column,.stepvis-board-card{
  border:1px solid var(--editorial-line)!important;background:rgba(255,255,255,.94)!important;
  box-shadow:0 8px 22px rgba(34,48,59,.035)!important;border-radius:13px!important;
}
.card{padding:22px!important}.small{color:var(--editorial-muted)!important;line-height:1.45!important}
.btn{border-radius:8px!important;min-height:38px!important;padding:9px 14px!important;font-size:12px!important;font-weight:700!important;box-shadow:none!important}
.btn.primary{background:var(--editorial-navy)!important}.btn.secondary{background:#fff!important;border:1px solid #d9d5ce!important;color:#23394d!important}.btn.gold{background:var(--editorial-gold)!important}
.field input,.field select,.field textarea,.plu-table input,.plu-table select,.plu-table textarea,.followup-meetings-table input,.followup-meetings-table select,.followup-meetings-table textarea{
  border:1px solid #dcd8d0!important;border-radius:9px!important;background:#fff!important;box-shadow:none!important;padding:10px 11px!important
}
.field label{font-size:11px!important;letter-spacing:.015em!important;color:#687583!important}
.table th{font-size:10.5px!important;text-transform:none!important;letter-spacing:.02em!important;color:#7a838d!important;background:#fbfaf7!important}
.table th,.table td{border-bottom:1px solid #ece8e1!important;padding:11px 10px!important}
.status{border-radius:999px!important;font-size:10px!important;padding:4px 8px!important}

/* Startsidan som godkänd mockup */
.dashboard-v2-page{max-width:1240px!important;margin:0 auto!important}
.dashboard-v2-topbar{margin:0 0 10px!important;display:block!important;padding:0!important}
.dashboard-v2-titleblock h1{font-size:44px!important;line-height:1!important;margin:0!important}
.dashboard-v2-titleblock p{font:20px/1.2 Georgia,"Times New Roman",serif!important;color:#20374d!important;margin:6px 0 0!important}
.dashboard-v2-controls{display:none!important}
.dashboard-v2-hero{
  min-height:242px!important;margin:0 0 14px!important;border:0!important;border-radius:0!important;box-shadow:none!important;
  background-image:linear-gradient(90deg,rgba(255,253,250,1) 0%,rgba(255,253,250,.99) 31%,rgba(255,253,250,.74) 48%,rgba(255,253,250,.02) 70%),url('./assets/ebic-editorial-hero-clean.jpg')!important;
  background-size:cover!important;background-position:right top!important;overflow:hidden!important;
}
.dashboard-v2-hero::before{display:none!important}
.dashboard-v2-hero-copy{width:55%!important;padding:34px 0 24px 0!important}
.dashboard-v2-eyebrow{display:none!important}
.dashboard-v2-hero h2{font-family:Georgia,"Times New Roman",serif!important;font-size:17px!important;line-height:1.32!important;font-weight:500!important;max-width:500px!important;margin:0 0 8px!important;color:#17334b!important}
.dashboard-v2-hero p{font-family:Georgia,"Times New Roman",serif!important;font-size:15px!important;line-height:1.38!important;max-width:500px!important;color:#17334b!important}
.dashboard-v2-hero-actions{display:none!important}
.editorial-hero-quote-17102{position:absolute;right:13%;top:93px;text-align:center;font:italic 14px/1.35 Georgia,"Times New Roman",serif;color:#16354e;z-index:2}
.editorial-hero-quote-17102 small{display:block;font-style:normal;margin-top:7px;font-size:10px}
.dashboard-v2-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;margin:-48px 0 12px!important;position:relative;z-index:3}
.dashboard-v2-metric{min-height:102px!important;grid-template-columns:52px minmax(0,1fr)!important;padding:15px 18px!important;border-radius:10px!important}
.dashboard-v2-metric-icon{width:44px!important;height:44px!important;background:transparent!important;border-radius:0!important;color:var(--editorial-gold)!important}
.dashboard-v2-metric.green .dashboard-v2-metric-icon{color:#2cb67d!important;background:transparent!important}.dashboard-v2-metric-icon svg{width:28px!important;height:28px!important}
.dashboard-v2-metric-label{font-size:10px!important}.dashboard-v2-metric strong{font-size:27px!important}.dashboard-v2-metric p{font-size:11px!important}.dashboard-v2-track{display:none!important}
.dashboard-v2-grid{gap:10px!important}.dashboard-v2-panel{padding:17px 18px!important}.dashboard-v2-panel h3{font-family:Georgia,"Times New Roman",serif!important;font-size:17px!important;font-weight:500!important}

/* Ärendetop exakt mot mockup */
.editorial-case-topbar-17102{position:relative;min-height:184px;margin:0 0 0!important;padding:20px 0 16px!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(380px,.8fr)!important;overflow:hidden;border-bottom:1px solid #ded9d0}
.editorial-case-topbar-17102 .title{position:relative;z-index:2;padding-top:6px}.editorial-case-topbar-17102 .title h1{font-size:50px!important;line-height:.95!important;margin:6px 0!important}.editorial-case-topbar-17102 .title p{font:20px/1.2 Georgia,"Times New Roman",serif!important;color:#1e3850!important;margin:0 0 10px!important}
.editorial-backlink-17102{border:0;background:transparent;color:#48657d;padding:0;font-size:11px;cursor:pointer}
.editorial-case-status-17102{display:inline-flex;background:#dff5e9;color:#176844;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:700}
.editorial-case-topbar-17102>.actions{display:none!important}
.editorial-case-image-17102{position:absolute;right:0;top:0;width:53%;height:100%;background:linear-gradient(90deg,#f7f5ef 0%,rgba(247,245,239,.28) 36%,transparent 60%),url('./assets/ebic-editorial-case-clean.jpg') right top/cover no-repeat;z-index:1}
.editorial-case-quote-17102{position:absolute;left:34%;top:58px;text-align:center;color:#17354c;font:italic 13px/1.35 Georgia,"Times New Roman",serif}.editorial-case-quote-17102 small{display:block;font-style:normal;font-size:10px;margin-top:7px}
.editorial-case-tabs-17102{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;margin:0 0 16px!important}
.editorial-case-tabs-17102 .case-tab-row{border-bottom:1px solid #ded9d0;gap:0!important;overflow-x:auto;flex-wrap:nowrap!important}
.editorial-case-tabs-17102 .case-tab-btn{border:0!important;border-radius:0!important;background:transparent!important;color:#213b52!important;padding:13px 18px!important;white-space:nowrap;font-size:11px!important;box-shadow:none!important;border-bottom:2px solid transparent!important}
.editorial-case-tabs-17102 .case-tab-btn.active{color:#0f2d46!important;border-bottom-color:var(--editorial-gold)!important}.editorial-case-tabs-17102>p{display:none!important}
.editorial-five-process-17102{display:grid;grid-template-columns:repeat(5,1fr);gap:0;padding:4px 0 18px;margin:0 0 14px;border-bottom:1px solid #e5e0d7}
.editorial-five-process-17102 span{position:relative;padding:0 12px;color:#1d374e;font:13px/1.2 Georgia,"Times New Roman",serif}
.editorial-five-process-17102 span:not(:last-child)::after{content:"";position:absolute;left:37px;right:-5px;top:13px;border-top:1px solid #a9b6bf;z-index:0}
.editorial-five-process-17102 b{position:relative;z-index:1;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#1d4a67;color:#fff;font:11px/1 Arial,sans-serif;margin-bottom:8px}.editorial-five-process-17102 small{display:block;font:9.5px/1.25 Inter,Arial,sans-serif;color:#647582;margin-top:3px}
#case-top .progress-head,#case-top>.progress,#case-top>.stepper{display:none!important}

/* Matris som mockup, vänster områdeslist och fokus på en fråga */
.editorial-matrix-17102{display:grid!important;grid-template-columns:185px minmax(0,1fr)!important;column-gap:18px!important;align-items:start!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.editorial-matrix-17102>.matrix-hero{grid-column:1/-1!important;margin:0 0 10px!important;padding:18px 0 15px!important;border:0!important;border-bottom:1px solid #e2ded6!important}
.editorial-matrix-17102 .matrix-hero-copy h2{font-size:27px!important}.editorial-matrix-17102 .matrix-hero-stats{display:none!important}
.editorial-matrix-17102>.matrix-area-panel{grid-column:1!important;grid-row:2/span 99!important;position:sticky!important;top:82px!important;padding:8px!important;border:0!important;background:transparent!important;margin:0!important}
.editorial-matrix-17102 .matrix-area-head{display:none!important}.editorial-matrix-17102 .matrix-area-nav{display:flex!important;flex-direction:column!important;gap:3px!important}
.editorial-matrix-17102 .matrix-area-nav button{border:0!important;border-radius:8px!important;background:transparent!important;color:#29445a!important;text-align:left!important;padding:10px 11px!important;font-size:11px!important;font-weight:600!important;min-height:36px!important}
.editorial-matrix-17102 .matrix-area-nav button.active{background:#eef1ef!important;color:#193950!important;box-shadow:none!important;border-left:3px solid var(--editorial-gold)!important}
.editorial-matrix-17102>.ebic-scale-note-17091,.editorial-matrix-17102>.ebic-scale-legend-17090,.editorial-matrix-17102>.question,.editorial-matrix-17102>.area-footer-nav{grid-column:2!important}
.editorial-matrix-17102>.ebic-scale-note-17091{margin:0 0 6px!important}.editorial-matrix-17102>.ebic-scale-legend-17090{margin:0 0 10px!important}
.editorial-matrix-17102>.question{background:#fff!important;border:1px solid var(--editorial-line)!important;border-radius:11px!important;margin:0 0 10px!important;padding:18px 20px!important;box-shadow:0 7px 18px rgba(34,48,59,.025)!important}
.editorial-matrix-17102 .question .meta{font-size:10px!important}.editorial-matrix-17102 .question h4{font-family:Georgia,"Times New Roman",serif!important;font-size:18px!important;font-weight:600!important;color:#122f47!important}
.editorial-matrix-17102 .question p{font-size:11.5px!important;line-height:1.42!important;color:#526271!important}
.score-row{flex-wrap:nowrap!important;overflow-x:auto!important;gap:8px!important;padding-bottom:2px}
.score-btn{flex:1 0 58px!important;max-width:160px!important;height:38px!important;border-radius:6px!important;border:1px solid #e1e3e1!important;background:#f5f6f5!important;color:#223d52!important}
.score-btn.active{background:#f2c84e!important;color:#143048!important;border-color:#e3b739!important;box-shadow:none!important}

/* Rapport som professionellt utlåtande */
.editorial-report-toolbar-17102{display:flex!important;align-items:flex-end!important;border-bottom:1px solid #ded9d0;padding:0 0 12px!important;margin-bottom:0!important}.editorial-report-toolbar-17102 .title h1{font-size:30px!important}.editorial-report-toolbar-17102 .title p{font-size:11px!important}
.editorial-report-tabs-17102{display:flex;gap:0;border-bottom:1px solid #ded9d0;background:transparent;margin:0 0 18px;overflow-x:auto;position:sticky;top:62px;z-index:60;background:rgba(247,245,239,.96)}
.editorial-report-tabs-17102 button{border:0;background:transparent;padding:11px 14px;font-size:10.5px;color:#304a5f;white-space:nowrap;border-bottom:2px solid transparent;cursor:pointer}.editorial-report-tabs-17102 button:first-child{border-bottom-color:var(--editorial-gold);font-weight:700}
.ebic-report-section,.editorial-report-section-17102{border:0!important;border-bottom:1px solid #e2ded7!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:25px 0!important;margin:0!important}
.ebic-report-section .ebic-section-head h3{font-family:Georgia,"Times New Roman",serif!important;font-size:24px!important;font-weight:500!important}.ebic-report-section .ebic-section-head p{font-size:11px!important;color:#76808a!important}
.ebic-narrative-card,.ebic-card,.ebic-action-plan,.ebic-plan-priority,.ebic-plan-goals,.ebic-plan-section,.ebic-plan-followup,.ebic-action-card,.ebic-insight-v69{border:1px solid var(--editorial-line)!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important}
.ebic-narrative-card p,.ebic-report-section p,.ebic-report-section li{font-size:13px!important;line-height:1.6!important;color:#23394d!important}

/* Cases, ÅPL, STEGvis, admin och profiler får samma formspråk */
.cases-v3-filter-card{padding:12px!important}.cases-v3-search,.cases-v3-select{border-radius:8px!important;box-shadow:none!important}.cases-status-chip{border-radius:999px!important;box-shadow:none!important}
.cases-v3-table-card{border-radius:10px!important}.cases-v3-row{min-height:58px!important}.cases-v3-case-cell strong{font-family:Georgia,"Times New Roman",serif!important;font-size:15px!important;font-weight:500!important}
.stepvis-board-tabs,.case-context-tab-row{border-bottom-color:#ded9d0!important}.stepvis-board-tabs button,.case-context-tab-row .case-tab-btn{border-radius:0!important}
.plu-hero-card,.follow-create-card,.stepvis-briefing-card{background:#fff!important;border-color:var(--editorial-line)!important}

/* Mobil, exakt samma identitet */
.editorial-mobile-bottom-17102{display:none}
@media (max-width:980px){
  .reference-main{padding:0 14px 78px!important}
  .editorial-globalbar-17102{display:none!important}
  .mobile-menu-toggle{display:grid!important;place-items:center!important;top:10px!important;left:auto!important;right:12px!important;width:34px!important;height:34px!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#12344d!important;font-size:0!important}.mobile-menu-toggle::after{content:"☰";font-size:19px}
  .reference-mobile-sidebar{background:var(--editorial-navy)!important}.editorial-mobile-wordmark-17102 .editorial-wordmark-17102{font-size:28px}
  .editorial-mobile-bottom-17101,.editorial-mobile-bottom-17102{display:grid!important;grid-template-columns:repeat(5,1fr)!important;position:fixed!important;left:0!important;right:0!important;bottom:0!important;height:58px!important;background:rgba(255,253,250,.98)!important;border-top:1px solid #ded9d0!important;z-index:1000!important;padding:4px 8px calc(4px + env(safe-area-inset-bottom))!important;box-shadow:0 -4px 18px rgba(25,43,58,.06)!important}
  .editorial-mobile-bottom-17101 button,.editorial-mobile-bottom-17102 button{border:0!important;background:transparent!important;color:#17384e!important;display:grid!important;justify-items:center!important;align-content:center!important;gap:2px!important;font-size:0!important;padding:0!important}.editorial-mobile-bottom-17101 button svg,.editorial-mobile-bottom-17102 button svg{width:18px!important;height:18px!important}.editorial-mobile-bottom-17101 small,.editorial-mobile-bottom-17102 small{font-size:8.5px!important;color:#365166!important}.editorial-mobile-new-17101 span{width:34px!important;height:34px!important;border-radius:50%!important;background:var(--editorial-navy)!important;color:#fff!important;display:grid!important;place-items:center!important}.editorial-mobile-new-17101 small{display:none!important}
  .dashboard-v2-page{padding-top:18px!important}.dashboard-v2-titleblock h1{font-size:31px!important;max-width:270px!important}.dashboard-v2-titleblock p{font-size:15px!important;max-width:270px!important}
  .dashboard-v2-hero{min-height:206px!important;margin:0 -14px 10px!important;background-image:linear-gradient(180deg,rgba(255,253,250,1) 0%,rgba(255,253,250,.98) 44%,rgba(255,253,250,.20) 66%,transparent 100%),url('./assets/ebic-editorial-hero-clean.jpg')!important;background-size:cover!important;background-position:right top!important}
  .dashboard-v2-hero-copy{width:100%!important;padding:18px 14px 120px!important}.dashboard-v2-hero h2{font-size:13px!important;max-width:280px!important}.dashboard-v2-hero p{font-size:12px!important;max-width:280px!important}.editorial-hero-quote-17102{right:18px!important;top:auto!important;bottom:20px!important;font-size:10px!important}
  .dashboard-v2-metrics{grid-template-columns:1fr!important;margin:0!important;gap:7px!important}.dashboard-v2-metric{min-height:68px!important;grid-template-columns:42px minmax(0,1fr) 18px!important;padding:10px 13px!important}.dashboard-v2-metric-icon{width:38px!important;height:38px!important}.dashboard-v2-metric strong{font-size:22px!important}.dashboard-v2-grid{grid-template-columns:1fr!important}.dashboard-v2-support{display:none!important}
  .editorial-case-topbar-17102{min-height:210px!important;display:block!important;padding-top:48px!important}.editorial-case-topbar-17102 .title h1{font-size:36px!important}.editorial-case-topbar-17102 .title p{font-size:14px!important}.editorial-case-image-17102{width:48%!important;height:116px!important;top:50px!important;background-image:linear-gradient(90deg,#f7f5ef 0%,rgba(247,245,239,.15) 48%,transparent 75%),url('./assets/ebic-editorial-case-clean.jpg')!important;background-position:right top!important}.editorial-case-quote-17102{display:none!important}
  .editorial-five-process-17102{grid-template-columns:repeat(5,minmax(54px,1fr));overflow-x:auto;padding-bottom:12px}.editorial-five-process-17102 span{font-size:9px;padding:0 4px}.editorial-five-process-17102 small{display:none}.editorial-five-process-17102 span:not(:last-child)::after{left:29px}.editorial-five-process-17102 b{width:22px;height:22px;font-size:9px}
  .editorial-case-tabs-17102 .case-tab-row{display:flex!important;overflow-x:auto!important}.editorial-case-tabs-17102 .case-tab-btn{width:auto!important;padding:10px 12px!important}
  .editorial-matrix-17102{display:block!important}.editorial-matrix-17102>.matrix-area-panel{position:static!important;display:block!important;padding:0!important;margin-bottom:8px!important}.editorial-matrix-17102 .matrix-area-nav{flex-direction:row!important;overflow-x:auto!important}.editorial-matrix-17102 .matrix-area-nav button{white-space:nowrap!important}.editorial-matrix-17102>.question{padding:14px!important}.score-btn{flex:0 0 46px!important}.editorial-matrix-17102>.ebic-scale-legend-17090{display:none!important}
  .editorial-report-toolbar-17102{padding-top:48px!important}.editorial-report-toolbar-17102 .title h1{font-size:25px!important}.editorial-report-toolbar-17102 .actions{display:none!important}.editorial-report-tabs-17102{top:0!important;margin-left:-14px!important;margin-right:-14px!important;padding-left:14px!important}.editorial-report-tabs-17102 button{font-size:9.5px!important;padding:10px 12px!important}
  .card{padding:16px!important}.title h1{font-size:29px!important}
}
@media print{
  .editorial-globalbar-17102,.editorial-mobile-bottom-17101,.editorial-mobile-bottom-17102,.editorial-sidebar-build-17102,.editorial-sidebar-quote-17102,.editorial-report-tabs-17102{display:none!important}
}

/* EBiC 171.02 login och återstående arbetsvyer */
.login-wrap{background:var(--editorial-cream)!important;padding:28px!important}
.login-card{max-width:1060px!important;border-radius:16px!important;box-shadow:0 20px 54px rgba(15,35,52,.10)!important;border:1px solid #e2ded6!important;background:#fff!important}
.login-art{background:var(--editorial-navy)!important;padding:48px!important;position:relative!important;overflow:hidden!important}
.login-art::before{content:"EBiC";font:500 46px/1 Georgia,"Times New Roman",serif;color:#fff;position:absolute;left:42px;top:44px;letter-spacing:-.04em}
.login-art::after{content:"Elevens behov i centrum";position:absolute;left:44px;top:96px;color:rgba(255,255,255,.68);font-size:11px}
.login-art img{opacity:.88!important;border-radius:0!important;box-shadow:none!important;max-width:86%!important;margin-top:52px!important}
.login-form{padding:56px 64px!important}.login-form h1{font-family:Georgia,"Times New Roman",serif!important;font-size:36px!important;font-weight:500!important;color:var(--editorial-ink)!important;letter-spacing:-.03em!important}.login-intro{font-size:13px!important;color:#687582!important}
.login-form .field input{height:54px!important;border-radius:9px!important;font-size:15px!important}.login-actions .btn{min-height:48px!important;border-radius:8px!important}.login-version{font-size:9px!important;color:#9ba1a6!important}

/* Profiler och admin får samma redaktionella rytm */
.summary-shell,.support-overview-card,.participation-card{background:transparent!important;border:0!important;box-shadow:none!important;padding-left:0!important;padding-right:0!important}
.summary-section{border-top:1px solid #e2ded7!important;padding-top:24px!important;margin-top:24px!important}
.summary-section-head h2,.summary-section-head h3{font-family:Georgia,"Times New Roman",serif!important;font-weight:500!important;color:var(--editorial-ink)!important}
.question-bank-card,.question-admin-row{border-color:var(--editorial-line)!important;box-shadow:none!important}.question-admin-id{color:#183d57!important}
.process-control-topbar,.process-control-row,.student-perspective-card,.student-score-panel,.student-tag-group{border-color:var(--editorial-line)!important;background:#fff!important;box-shadow:none!important}
.process-answer-btn,.student-tag{border-radius:8px!important}.process-answer-btn.active{background:var(--editorial-navy)!important;border-color:var(--editorial-navy)!important}

/* Gamla 171.01 visuella lager får inte visas */
.editorial-case-hero-17101,.editorial-process-17101{display:none!important}

/* EBiC 171.03 — slutligt sammanhållet visuellt lager */
:root{
  --e17103-navy:#062846;
  --e17103-blue:#0b56c6;
  --e17103-gold:#d9a72f;
  --e17103-paper:#fbfaf6;
  --e17103-ink:#10233e;
  --e17103-muted:#64748b;
  --e17103-line:#e3e0d8;
}

/* Globala skydd mot överlappning och avklippt text */
.reference-main,.reference-main *,.card,.kpi,.field,.question,.ebic-report-section,.report-version-toolbar{min-width:0}
.card p,.card li,.kpi,.question h4,.question .meta,.notice,.helpbox,.ebic-report-section p,.ebic-report-section li,.case-context-tab-row button{overflow-wrap:break-word;word-break:normal}
.card,.kpi,.question,.ebic-report-section{overflow:visible}

/* Riktig EBiC-logotyp i blå spalten */
.reference-brand{display:flex!important;align-items:center!important;justify-content:center!important;padding:34px 15px 18px!important;min-height:116px!important;height:auto!important}
.reference-brand .full-logo{display:block!important;width:176px!important;max-width:100%!important;height:auto!important;filter:brightness(0) invert(1) contrast(1.04)!important}
.reference-brand .mark-logo{display:none!important;width:42px!important;height:auto!important}
.ebic-reference-shell.sidebar-collapsed .reference-brand{display:flex!important;height:auto!important;min-height:82px!important;padding:36px 8px 12px!important}
.ebic-reference-shell.sidebar-collapsed .reference-brand .full-logo{display:none!important}
.ebic-reference-shell.sidebar-collapsed .reference-brand .mark-logo{display:block!important}

/* Byggnummer hör till sidfoten, aldrig som flytande badge */
body::after,[data-ebic-final-build],.ebic-master-build-fixed,[class*="ebic-master-build-fixed-"],.ebic-build-marker-runtime{display:none!important;content:none!important}
.editorial-sidebar-build-17103,.mobile-build-17103{margin-top:8px;padding-top:9px;border-top:1px solid rgba(255,255,255,.10);font-size:9px;line-height:1;color:rgba(255,255,255,.40);letter-spacing:.03em;text-align:right;font-variant-numeric:tabular-nums}

/* Vänstermenyn är den primära navigeringen */
.reference-menu button{min-height:43px!important;padding:9px 12px!important;grid-template-columns:25px minmax(0,1fr)!important;gap:10px!important;font-size:13.5px!important;border-radius:9px!important;color:rgba(255,255,255,.90)!important}
.reference-menu button .nav-icon{width:22px!important;height:22px!important}
.reference-menu button svg{width:18px!important;height:18px!important;stroke:currentColor!important;fill:none!important}
.reference-menu button.active{background:rgba(255,255,255,.10)!important;color:#fff!important;box-shadow:inset 3px 0 0 var(--e17103-gold)!important}
.reference-sidebar-bottom{margin-top:auto!important;padding-top:8px!important}

/* Ärende: exakt ett huvud, ett processflöde och en kontextmeny */
.editorial-case-topbar-17103{position:relative!important;min-height:206px!important;margin:-2px 0 16px!important;padding:31px 38% 28px 2px!important;overflow:hidden!important;border-bottom:1px solid var(--e17103-line)!important}
.editorial-case-topbar-17103 .title{position:relative!important;z-index:2!important}
.editorial-backlink-17103{border:0;background:transparent;padding:0 0 9px;color:#466078;font:600 12px/1.2 Inter,system-ui,sans-serif;cursor:pointer}
.editorial-backlink-17103::before{content:"← ";color:#173e5d}
.editorial-case-topbar-17103 .title h1{margin:0 0 5px!important;font:500 clamp(40px,4vw,58px)/.98 Georgia,"Times New Roman",serif!important;color:var(--e17103-navy)!important;letter-spacing:-.045em!important}
.editorial-case-topbar-17103 .title p{margin:0 0 13px!important;font:400 16px/1.35 Georgia,"Times New Roman",serif!important;color:#395069!important}
.editorial-case-status-17103{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border-radius:999px;background:#e8f7ee;color:#166534;font-size:12px;font-weight:700}
.editorial-case-status-17103 i{width:8px;height:8px;border-radius:50%;background:#20aa67}
.editorial-case-image-17103{position:absolute;right:0;top:0;width:44%;height:100%;background:linear-gradient(90deg,var(--e17103-paper) 0%,rgba(251,250,246,.62) 23%,rgba(251,250,246,.02) 58%),url('./assets/ebic-editorial-case-clean.jpg') right center/cover no-repeat!important;z-index:1}
.editorial-case-image-17103 blockquote{position:absolute;left:25%;top:42%;transform:translateY(-50%);margin:0;width:min(230px,55%);font:italic 15px/1.45 Georgia,"Times New Roman",serif;color:#17334f;text-shadow:0 1px 8px rgba(255,255,255,.88)}
.editorial-case-image-17103 blockquote small{display:block;margin-top:8px;font-size:10px;font-style:normal;text-align:center;color:#35546d}
.editorial-case-image-17102{display:none!important}
.editorial-five-process-17103{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important;margin:0 0 15px!important;padding:15px 14px 17px!important;border:1px solid var(--e17103-line)!important;border-radius:12px!important;background:#fff!important}
.editorial-five-process-17103 span{position:relative;text-align:center;font-size:12px;color:#1e3a52;padding:0 10px}
.editorial-five-process-17103 span:not(:last-child)::after{content:"";position:absolute;left:calc(50% + 22px);right:calc(-50% + 22px);top:13px;border-top:1px solid #b8c6d2}
.editorial-five-process-17103 b{position:relative;z-index:2;display:grid;place-items:center;width:27px;height:27px;margin:0 auto 6px;border-radius:50%;background:#214a67;color:#fff;font-size:11px}
.editorial-five-process-17103 small{display:block;margin-top:2px;color:#6b7a88;font-size:10px}
.case-context-nav-17103{padding:0!important;margin:0 0 16px!important;border:0!important;border-bottom:1px solid var(--e17103-line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.case-context-nav-17103 .case-context-nav-head{display:none!important}
.case-context-nav-17103 .case-context-tab-row{display:flex!important;gap:0!important;overflow-x:auto!important;border:0!important;padding:0!important;scrollbar-width:none}
.case-context-nav-17103 .case-context-tab-row::-webkit-scrollbar{display:none}
.case-context-nav-17103 .case-tab-btn{flex:0 0 auto!important;min-height:42px!important;padding:10px 15px!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:transparent!important;color:#54677a!important;font-size:12.5px!important;box-shadow:none!important}
.case-context-nav-17103 .case-tab-btn.active{background:transparent!important;color:var(--e17103-navy)!important;border-bottom-color:var(--e17103-gold)!important;box-shadow:none!important}

/* Rapport: en enda rubrik och en enda ärendemeny */
.editorial-report-tabs-17102{display:none!important}
.report-toolbar-17103{padding:4px 0 15px!important;margin:0 0 13px!important;border-bottom:1px solid var(--e17103-line)!important;align-items:flex-end!important}
.report-toolbar-17103 .title h1{margin:0!important;font:500 38px/1 Georgia,"Times New Roman",serif!important;color:var(--e17103-navy)!important;letter-spacing:-.035em!important}
.report-toolbar-17103 .title p{margin:7px 0 0!important;color:#627285!important;font-size:13px!important}
.report-version-toolbar{border-radius:12px!important;background:#fff!important;border:1px solid var(--e17103-line)!important;box-shadow:none!important;padding:16px 18px!important}
.ebic-report-section{scroll-margin-top:22px}

/* Citat: ingen punkt efter citat och ordentlig läsbarhet */
.editorial-hero-quote-17102{max-width:255px!important;padding:12px 15px!important;border-radius:10px!important;background:rgba(251,250,246,.84)!important;backdrop-filter:blur(3px);font:italic 15px/1.42 Georgia,"Times New Roman",serif!important;color:#17334f!important;text-shadow:none!important}
.editorial-hero-quote-17102 small{display:block;margin-top:6px;font-size:10px;font-style:normal;text-align:right;color:#5c6d7d}

/* Inloggning: återställ den välbalanserade tidigare designen */
.ebic-login-17103 .login-wrap,.login-wrap{min-height:100vh!important;display:grid!important;place-items:center!important;padding:24px!important;background:radial-gradient(circle at top left,rgba(229,178,75,.18),transparent 25%),radial-gradient(circle at bottom right,rgba(11,86,198,.16),transparent 25%),#f6f8fb!important}
.ebic-login-17103 .login-card,.login-card{max-width:960px!important;width:100%!important;display:grid!important;grid-template-columns:1.05fr .95fr!important;background:#fff!important;border:0!important;border-radius:32px!important;overflow:hidden!important;box-shadow:0 18px 40px rgba(15,23,42,.10)!important}
.ebic-login-17103 .login-art,.login-art{background:#0d1b3d!important;padding:42px!important;display:flex!important;align-items:center!important;justify-content:center!important;position:static!important}
.ebic-login-17103 .login-art::before,.ebic-login-17103 .login-art::after,.login-art::before,.login-art::after{content:none!important;display:none!important}
.ebic-login-17103 .login-art-center,.login-art-center{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:100%!important}
.ebic-login-17103 .login-logo,.login-logo{display:block!important;width:100%!important;max-width:430px!important;height:auto!important;margin:0!important;opacity:1!important;filter:brightness(0) invert(1) contrast(1.05)!important;border-radius:0!important;box-shadow:none!important}
.ebic-login-17103 .login-form,.login-form{display:flex!important;align-items:center!important;padding:48px 56px!important;background:#fff!important}
.ebic-login-17103 .login-form-inner,.login-form-inner{width:100%!important;max-width:500px!important}
.ebic-login-17103 .login-form h1,.login-form h1{margin:0 0 14px!important;font:700 32px/1.08 Georgia,"Times New Roman",serif!important;letter-spacing:-.02em!important;color:#14213d!important}
.ebic-login-17103 .login-intro,.login-intro{margin:0 0 24px!important;font-size:15px!important;line-height:1.45!important;color:#64748b!important}
.ebic-login-17103 .login-form .field input,.login-form .field input{height:66px!important;font-size:18px!important;border:1px solid #e5e7eb!important;border-radius:18px!important;padding:12px 14px!important;box-shadow:none!important}
.ebic-login-17103 .login-actions,.login-actions{margin-top:22px!important;display:flex!important;gap:12px!important}
.ebic-login-17103 .login-actions .btn,.login-actions .btn{min-width:154px!important;min-height:62px!important;font-size:18px!important;border-radius:20px!important;background:#0b56c6!important;color:#fff!important}
.ebic-login-17103 .login-help,.login-help{margin:18px 0 0!important;font-size:14px!important;line-height:1.45!important;color:#64748b!important}
.ebic-login-17103 .login-version,.login-version{margin-top:36px!important;color:#8a94a6!important;font-size:13px!important}

/* Mobil: bottenmenyn är den enda fasta menyn; blå lådmeny öppnas från Meny */
.mobile-case-section-17103{display:grid;gap:3px;margin:10px 0;padding:12px 0;border-top:1px solid rgba(255,255,255,.12);border-bottom:1px solid rgba(255,255,255,.12)}
.mobile-case-label-17103{padding:0 12px 8px;color:#f0d89d;font-size:11px;font-weight:700;letter-spacing:.03em;text-transform:uppercase}
.mobile-case-section-17103 button{display:grid;grid-template-columns:25px 1fr;align-items:center;gap:10px;min-height:41px;border:0;border-radius:9px;background:transparent;color:#fff;text-align:left;padding:8px 12px;font:600 13px/1.2 Inter,system-ui,sans-serif}
.mobile-case-section-17103 button svg{width:18px;height:18px;stroke:currentColor;fill:none}
.mobile-sidebar-logo-17103{width:168px!important;max-width:68%!important;height:auto!important;filter:brightness(0) invert(1) contrast(1.05)!important}

@media(max-width:980px){
  .mobile-menu-toggle{display:none!important}
  .reference-main{padding:16px 14px calc(82px + env(safe-area-inset-bottom))!important}
  .reference-mobile-sidebar{left:0!important;right:auto!important;width:min(340px,88vw)!important;padding:18px 14px 14px!important;background:var(--e17103-navy)!important;box-shadow:18px 0 48px rgba(4,31,56,.28)!important}
  .mobile-sidebar-head{min-height:50px!important;padding:0 0 14px!important}
  .mobile-menu-close{width:38px!important;height:38px!important;border-radius:10px!important}
  .editorial-mobile-bottom-17101,.editorial-mobile-bottom-17102,.editorial-mobile-bottom-17103{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;position:fixed!important;left:0!important;right:0!important;bottom:0!important;width:100vw!important;min-width:0!important;height:70px!important;padding:7px 8px calc(7px + env(safe-area-inset-bottom))!important;background:rgba(255,253,250,.985)!important;border-top:1px solid #d8dce2!important;box-shadow:0 -8px 24px rgba(18,42,63,.08)!important;z-index:1200!important}
  .editorial-mobile-bottom-17101 button,.editorial-mobile-bottom-17102 button,.editorial-mobile-bottom-17103 button{min-width:0!important;width:100%!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;padding:2px!important;border:0!important;background:transparent!important;color:#546779!important}
  .editorial-mobile-bottom-17101 button span,.editorial-mobile-bottom-17102 button span,.editorial-mobile-bottom-17103 button span{display:grid!important;place-items:center!important;width:28px!important;height:26px!important;background:transparent!important;color:inherit!important;border-radius:0!important}
  .editorial-mobile-bottom-17101 button svg,.editorial-mobile-bottom-17102 button svg,.editorial-mobile-bottom-17103 button svg{width:21px!important;height:21px!important;stroke:currentColor!important;fill:none!important}
  .editorial-mobile-bottom-17101 small,.editorial-mobile-bottom-17102 small,.editorial-mobile-bottom-17103 small{display:block!important;font-size:10.5px!important;line-height:1!important;color:inherit!important;font-weight:600!important;white-space:nowrap!important}
  .editorial-mobile-bottom-17101 button.is-active,.editorial-mobile-bottom-17102 button.is-active,.editorial-mobile-bottom-17103 button.is-active{color:var(--e17103-blue)!important}
  .editorial-mobile-new-17101 span{width:38px!important;height:38px!important;border-radius:50%!important;background:var(--e17103-navy)!important;color:#fff!important;margin-top:-11px!important;box-shadow:0 6px 14px rgba(6,40,70,.22)!important}
  .editorial-mobile-new-17101 small{display:block!important;margin-top:-3px!important;color:#546779!important}

  .case-context-nav-17103{display:none!important}
  .editorial-five-process-17103{grid-template-columns:repeat(5,minmax(52px,1fr))!important;overflow-x:auto!important;margin-bottom:10px!important;padding:12px 5px 13px!important;border-radius:10px!important}
  .editorial-five-process-17103 span{font-size:9px!important;padding:0 3px!important;min-width:52px!important}.editorial-five-process-17103 small{display:none!important}.editorial-five-process-17103 b{width:23px!important;height:23px!important;font-size:9px!important}
  .editorial-five-process-17103 span:not(:last-child)::after{left:calc(50% + 18px)!important;right:calc(-50% + 18px)!important;top:11px!important}
  .editorial-case-topbar-17103{min-height:176px!important;margin:0 -14px 10px!important;padding:44px 43% 20px 14px!important;border-bottom:1px solid var(--e17103-line)!important}
  .editorial-case-topbar-17103 .title h1{font-size:35px!important}.editorial-case-topbar-17103 .title p{font-size:13px!important}.editorial-backlink-17103{font-size:11px!important}.editorial-case-status-17103{font-size:10px!important;padding:5px 8px!important}
  .editorial-case-image-17103{width:52%!important;height:100%!important;background-image:linear-gradient(90deg,var(--e17103-paper) 0%,rgba(251,250,246,.30) 35%,transparent 65%),url('./assets/ebic-editorial-case-clean.jpg')!important}
  .editorial-case-image-17103 blockquote{display:none!important}

  .report-toolbar-17103{padding-top:3px!important;align-items:flex-start!important}.report-toolbar-17103 .title h1{font-size:31px!important}.report-toolbar-17103 .actions{display:flex!important;width:100%!important;margin-top:9px!important}.report-toolbar-17103 .actions .btn{flex:1 1 0!important;min-width:0!important;padding:10px 8px!important;font-size:11px!important}
  .report-version-toolbar{padding:13px!important}.report-version-row{display:grid!important;grid-template-columns:1fr!important}.report-version-controls{width:100%!important;justify-content:stretch!important}.report-version-controls select,.report-version-controls .btn{width:100%!important;min-width:0!important}

  .dashboard-v2-hero{min-height:280px!important}.dashboard-v2-hero-copy{padding-bottom:145px!important}.editorial-hero-quote-17102{right:14px!important;bottom:16px!important;top:auto!important;max-width:210px!important;font-size:12px!important}
  .dashboard-v2-metric,.dashboard-v2-panel,.card,.kpi{max-width:100%!important}
  .grid.cols-2,.grid.cols-3,.grid.cols-4,.formgrid,.split{grid-template-columns:1fr!important}
  .table{display:block!important;max-width:100%!important;overflow-x:auto!important}
  .score-row{flex-wrap:nowrap!important;overflow-x:auto!important;padding-bottom:5px!important}.score-btn{flex:0 0 46px!important}
}

@media(max-width:620px){
  .reference-main{padding-left:12px!important;padding-right:12px!important}
  .dashboard-v2-titleblock h1{font-size:33px!important}.dashboard-v2-titleblock p{font-size:15px!important}
  .dashboard-v2-hero{margin-left:-12px!important;margin-right:-12px!important}
  .editorial-case-topbar-17103{margin-left:-12px!important;margin-right:-12px!important}
  .editorial-mobile-bottom-17101 small,.editorial-mobile-bottom-17102 small,.editorial-mobile-bottom-17103 small{font-size:9.5px!important}
  .login-wrap{padding:14px!important}.login-card{grid-template-columns:1fr!important;border-radius:22px!important}.login-art{min-height:170px!important;padding:28px!important}.login-logo{max-width:260px!important}.login-form{padding:30px 24px!important}.login-form .field input{height:56px!important;font-size:16px!important}.login-actions .btn{min-height:54px!important;font-size:16px!important}
}

@media print{
  .editorial-sidebar-build-17103,.mobile-build-17103,.editorial-mobile-bottom-17103,.mobile-case-section-17103{display:none!important}
}

/* EBiC 171.05 — Editorial A, unified production pass */
:root{
  --e17105-navy:#062846;
  --e17105-navy-deep:#041f38;
  --e17105-blue:#0b56c6;
  --e17105-gold:#d8a62e;
  --e17105-paper:#fbfaf6;
  --e17105-ink:#10233e;
  --e17105-muted:#667589;
  --e17105-line:#e3e1da;
}
html,body{background:var(--e17105-paper)!important;color:var(--e17105-ink)!important}
.ebic-reference-shell{background:var(--e17105-paper)!important;grid-template-columns:216px minmax(0,1fr)!important}
.ebic-reference-shell.sidebar-collapsed{grid-template-columns:68px minmax(0,1fr)!important}
.reference-sidebar{background:linear-gradient(180deg,var(--e17105-navy) 0%,var(--e17105-navy-deep) 100%)!important;width:auto!important;padding:14px 9px 12px!important;gap:10px!important;box-shadow:8px 0 24px rgba(4,31,56,.13)!important}
.reference-brand{height:112px!important;min-height:112px!important;padding:42px 10px 18px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:visible!important}
.reference-brand .full-logo{display:block!important;width:172px!important;max-width:172px!important;height:auto!important;filter:none!important;object-fit:contain!important}
.reference-brand .mark-logo{display:none!important;width:42px!important;height:auto!important;filter:none!important}
.ebic-reference-shell.sidebar-collapsed .reference-brand{height:72px!important;min-height:72px!important;padding:38px 0 0!important;display:flex!important}
.ebic-reference-shell.sidebar-collapsed .reference-brand .full-logo{display:none!important}
.ebic-reference-shell.sidebar-collapsed .reference-brand .mark-logo{display:block!important}
.reference-menu{gap:4px!important}
.reference-menu button{min-height:42px!important;padding:9px 11px!important;border-radius:8px!important;grid-template-columns:24px minmax(0,1fr)!important;gap:10px!important;font-size:13px!important;font-weight:620!important;color:rgba(255,255,255,.92)!important}
.reference-menu button .nav-icon{width:22px!important;height:22px!important;display:grid!important;place-items:center!important}
.reference-menu button svg{width:18px!important;height:18px!important;stroke:currentColor!important;fill:none!important;stroke-width:1.85!important}
.reference-menu button.active{background:rgba(255,255,255,.10)!important;color:#fff!important;box-shadow:inset 3px 0 0 var(--e17105-gold)!important}
.reference-menu button:hover{background:rgba(255,255,255,.07)!important;transform:none!important}
.reference-sidebar-bottom{margin-top:auto!important;gap:7px!important}
.reference-school-card,.reference-user-card{background:rgba(255,255,255,.055)!important;border-color:rgba(255,255,255,.075)!important;border-radius:10px!important;padding:8px 9px!important}
.editorial-sidebar-build-17103,.mobile-build-17103{font-size:9px!important;line-height:1.2!important;color:rgba(255,255,255,.48)!important;letter-spacing:.03em!important;text-align:center!important;margin-top:3px!important;padding-top:6px!important;border-top:1px solid rgba(255,255,255,.08)!important}
.sidebar-minimize{top:11px!important;right:10px!important;width:31px!important;height:31px!important;border-radius:9px!important}
.reference-main{padding:24px 30px 34px!important;max-width:none!important;overflow-x:hidden!important}

/* Consistent editorial typography and content fit */
.dashboard-v2-titleblock h1,.cases-v3-title h1,.editorial-case-topbar-17103 .title h1,.report-toolbar-17103 .title h1,.stepvis-board-case-title h1,.title h1,.card>h2,.card>h3,.ebic-report-section h2,.ebic-report-section h3{
  font-family:Georgia,"Times New Roman",serif!important;color:var(--e17105-navy)!important;font-weight:500!important;letter-spacing:-.025em!important
}
.card,.kpi,.dashboard-v2-metric,.dashboard-v2-panel,.priority-card,.case-row-card,.cases-v3-filter-card,.cases-v3-table-card,.report-version-toolbar,.ebic-report-section{min-width:0!important;max-width:100%!important;height:auto!important}
.card p,.card li,.kpi,.dashboard-v2-metric,.dashboard-v2-panel,.priority-card,.case-row-card,.ebic-report-section p,.ebic-report-section li,.field label,.question h4,.question .meta{overflow-wrap:break-word!important;word-break:normal!important;hyphens:auto!important}
.dashboard-v2-metric strong,.kpi .v,.kpi .small-v{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}

/* Desktop case/report hierarchy: one case navigation, one report title */
.case-context-nav-17103{padding:0!important;margin:0 0 18px!important;border:0!important;border-bottom:1px solid var(--e17105-line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.case-context-nav-17103 .case-context-tab-row{display:flex!important;gap:0!important;overflow-x:auto!important;padding:0!important;scrollbar-width:none!important}
.case-context-nav-17103 .case-tab-btn{flex:0 0 auto!important;padding:11px 16px!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:transparent!important;color:#536679!important;font-size:12px!important;font-weight:700!important;box-shadow:none!important}
.case-context-nav-17103 .case-tab-btn.active{background:transparent!important;color:var(--e17105-navy)!important;border-bottom-color:var(--e17105-gold)!important}
.editorial-report-tabs-17102{display:none!important}
.report-toolbar-17103{padding:4px 0 14px!important;margin:0 0 14px!important;border-bottom:1px solid var(--e17105-line)!important}
.report-toolbar-17103 .title h1{font-size:38px!important;line-height:1!important;margin:0!important}
.report-toolbar-17103 .title p{margin:7px 0 0!important;color:var(--e17105-muted)!important;font-size:13px!important}
.ebic-screen-duplicate-report-title-17105{display:none!important}

/* Editorial imagery, quotes and hero */
.dashboard-v2-hero{background-image:url('./assets/ebic-editorial-hero-clean.jpg')!important;background-position:right center!important;background-size:48% 100%!important;background-repeat:no-repeat!important;background-color:var(--e17105-paper)!important;border:0!important;border-top:1px solid var(--e17105-line)!important;border-bottom:1px solid var(--e17105-line)!important;border-radius:0!important;box-shadow:none!important;min-height:286px!important}
.dashboard-v2-hero::before{background:linear-gradient(90deg,var(--e17105-paper) 0%,var(--e17105-paper) 44%,rgba(251,250,246,.94) 56%,rgba(251,250,246,.18) 76%,rgba(251,250,246,0) 100%)!important}
.dashboard-v2-hero-copy{width:min(610px,56%)!important;padding:34px 0 30px!important}
.editorial-hero-quote-17102{max-width:250px!important;padding:10px 13px!important;border-radius:8px!important;background:rgba(251,250,246,.84)!important;backdrop-filter:blur(6px)!important;color:#17334b!important;font:italic 15px/1.42 Georgia,"Times New Roman",serif!important;text-shadow:none!important;box-shadow:0 5px 18px rgba(6,40,70,.06)!important}
.editorial-hero-quote-17102 small{display:block!important;margin-top:5px!important;font:600 10px/1.2 Inter,system-ui,sans-serif!important;letter-spacing:.04em!important;color:#50667a!important}
.editorial-case-topbar-17103{position:relative!important;overflow:hidden!important;min-height:190px!important;padding:38px 48% 25px 0!important;border-bottom:1px solid var(--e17105-line)!important;background:var(--e17105-paper)!important}
.editorial-case-image-17103{position:absolute!important;right:0!important;top:0!important;bottom:0!important;width:49%!important;height:auto!important;background-image:linear-gradient(90deg,var(--e17105-paper) 0%,rgba(251,250,246,.65) 23%,rgba(251,250,246,.08) 57%,transparent 100%),url('./assets/ebic-editorial-case-clean.jpg')!important;background-size:cover!important;background-position:center!important}
.editorial-case-image-17103 blockquote{position:absolute!important;left:20%!important;top:50%!important;transform:translateY(-50%)!important;max-width:260px!important;margin:0!important;padding:11px 14px!important;border:0!important;border-radius:8px!important;background:rgba(251,250,246,.84)!important;backdrop-filter:blur(6px)!important;color:#18344d!important;font:italic 15px/1.45 Georgia,"Times New Roman",serif!important;text-shadow:none!important}
.editorial-case-image-17103 blockquote small{display:block!important;margin-top:6px!important;font:600 10px/1.2 Inter,system-ui,sans-serif!important;color:#586b7e!important;letter-spacing:.04em!important}

/* Login restored as a polished two-panel page */
.login-wrap{min-height:100vh!important;display:grid!important;place-items:center!important;padding:24px!important;background:radial-gradient(circle at top left,rgba(216,166,46,.16),transparent 28%),radial-gradient(circle at bottom right,rgba(11,86,198,.12),transparent 26%),#f5f7fb!important}
.login-card{max-width:960px!important;width:100%!important;display:grid!important;grid-template-columns:1.05fr .95fr!important;background:#fff!important;border-radius:32px!important;overflow:hidden!important;box-shadow:0 24px 64px rgba(15,23,42,.12)!important}
.login-art{background:linear-gradient(180deg,var(--e17105-navy) 0%,var(--e17105-navy-deep) 100%)!important;padding:42px!important;display:flex!important;align-items:center!important;justify-content:center!important;min-height:610px!important}
.login-art-center{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important}
.login-logo{display:block!important;width:min(100%,390px)!important;max-width:390px!important;height:auto!important;filter:none!important;border-radius:0!important}
.login-form{display:flex!important;align-items:center!important;padding:48px 56px!important}
.login-form-inner{width:100%!important;max-width:500px!important}
.login-form h1{margin:0 0 14px!important;font:500 34px/1.05 Georgia,"Times New Roman",serif!important;color:var(--e17105-navy)!important;letter-spacing:-.025em!important}
.login-intro{margin:0 0 24px!important;font-size:15px!important;line-height:1.5!important;color:#667589!important}
.login-form .field input{height:62px!important;border-radius:16px!important;font-size:17px!important;border:1px solid #dce2e9!important;box-shadow:none!important}
.login-actions .btn{min-width:154px!important;min-height:58px!important;border-radius:16px!important;background:var(--e17105-blue)!important;font-size:17px!important}
.login-help{font-size:13.5px!important;line-height:1.5!important;color:#718096!important}.login-version{margin-top:32px!important;color:#9aa5b3!important;font-size:11px!important}

/* Mobile top bar + left drawer + bottom navigation. One system, two entry points. */
.mobile-appbar-17105{display:none}
@media(max-width:980px){
  .ebic-reference-shell{display:block!important}
  .reference-sidebar{display:none!important}
  .mobile-appbar-17105{display:grid!important;grid-template-columns:48px auto 1fr 44px!important;align-items:center!important;gap:8px!important;position:fixed!important;left:0!important;right:0!important;top:0!important;height:62px!important;padding:7px 12px!important;background:rgba(251,250,246,.985)!important;border-bottom:1px solid #dfe2e6!important;z-index:1250!important;box-shadow:0 4px 16px rgba(18,42,63,.045)!important}
  .mobile-menu-toggle{display:grid!important;place-items:center!important;position:static!important;width:48px!important;height:48px!important;padding:0!important;border:1px solid #d9dee5!important;border-radius:12px!important;background:#fff!important;color:var(--e17105-navy)!important;box-shadow:none!important;z-index:auto!important;font-size:0!important;cursor:pointer!important;touch-action:manipulation!important}
  .mobile-menu-toggle svg{width:25px!important;height:25px!important;stroke:currentColor!important;fill:none!important;stroke-width:2!important}
  .mobile-appbar-logo-17105{display:block!important;width:92px!important;max-height:42px!important;object-fit:contain!important;object-position:left center!important}
  .mobile-appbar-spacer-17105{display:block!important}
  .mobile-appbar-action-17105{display:grid!important;place-items:center!important;width:42px!important;height:42px!important;border:0!important;border-radius:11px!important;background:transparent!important;color:var(--e17105-navy)!important;padding:0!important}
  .mobile-appbar-action-17105 svg{width:21px!important;height:21px!important;stroke:currentColor!important;fill:none!important;stroke-width:1.9!important}
  .reference-main{padding:78px 14px calc(88px + env(safe-area-inset-bottom))!important}
  .mobile-menu-overlay{z-index:1280!important;background:rgba(10,30,48,.40)!important}
  .reference-mobile-sidebar{display:flex!important;left:0!important;right:auto!important;top:0!important;bottom:0!important;width:min(350px,88vw)!important;padding:18px 14px 14px!important;background:linear-gradient(180deg,var(--e17105-navy) 0%,var(--e17105-navy-deep) 100%)!important;box-shadow:18px 0 48px rgba(4,31,56,.28)!important;z-index:1300!important;transform:translateX(-105%)!important}
  .shell.mobile-menu-open .reference-mobile-sidebar{transform:translateX(0)!important}
  .mobile-sidebar-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:64px!important;padding:0 2px 14px!important;border-bottom:1px solid rgba(255,255,255,.12)!important}
  .mobile-sidebar-logo-17103{width:180px!important;max-width:72%!important;height:auto!important;filter:none!important}
  .mobile-menu-close{display:grid!important;place-items:center!important;width:44px!important;height:44px!important;border-radius:11px!important;border:1px solid rgba(255,255,255,.16)!important;background:rgba(255,255,255,.08)!important;color:#fff!important;font-size:20px!important;cursor:pointer!important}
  .reference-mobile-sidebar .reference-menu{margin-top:8px!important;overflow-y:auto!important}
  .reference-mobile-sidebar .reference-menu button{min-height:46px!important;font-size:14px!important;padding:10px 12px!important}
  .mobile-case-section-17103 button{min-height:44px!important;font-size:13.5px!important}
  .editorial-mobile-bottom-17101,.editorial-mobile-bottom-17102,.editorial-mobile-bottom-17103{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;position:fixed!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;height:76px!important;padding:7px 7px calc(8px + env(safe-area-inset-bottom))!important;background:rgba(255,253,250,.99)!important;border-top:1px solid #d8dce2!important;box-shadow:0 -8px 24px rgba(18,42,63,.08)!important;z-index:1240!important}
  .editorial-mobile-bottom-17101 button,.editorial-mobile-bottom-17102 button,.editorial-mobile-bottom-17103 button{min-width:0!important;width:100%!important;min-height:54px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;padding:3px!important;border:0!important;background:transparent!important;color:#5a6b7c!important;cursor:pointer!important;touch-action:manipulation!important}
  .editorial-mobile-bottom-17101 button span,.editorial-mobile-bottom-17102 button span,.editorial-mobile-bottom-17103 button span{display:grid!important;place-items:center!important;width:30px!important;height:28px!important;color:inherit!important;background:transparent!important}
  .editorial-mobile-bottom-17101 button svg,.editorial-mobile-bottom-17102 button svg,.editorial-mobile-bottom-17103 button svg{width:22px!important;height:22px!important;stroke:currentColor!important;fill:none!important;stroke-width:1.9!important}
  .editorial-mobile-bottom-17101 small,.editorial-mobile-bottom-17102 small,.editorial-mobile-bottom-17103 small{display:block!important;font-size:10px!important;line-height:1!important;font-weight:650!important;color:inherit!important;white-space:nowrap!important}
  .editorial-mobile-bottom-17101 button.is-active,.editorial-mobile-bottom-17102 button.is-active,.editorial-mobile-bottom-17103 button.is-active{color:var(--e17105-blue)!important}
  .editorial-mobile-bottom-17101 button.is-active span,.editorial-mobile-bottom-17102 button.is-active span,.editorial-mobile-bottom-17103 button.is-active span{color:var(--e17105-blue)!important}
  .editorial-mobile-new-17101 span{width:42px!important;height:42px!important;border-radius:50%!important;background:var(--e17105-navy)!important;color:#fff!important;margin-top:-13px!important;box-shadow:0 6px 14px rgba(6,40,70,.22)!important}
  .editorial-mobile-new-17101 small{margin-top:-4px!important;color:#5a6b7c!important}
  .case-context-nav-17103{display:none!important}
  .editorial-case-topbar-17103{min-height:170px!important;margin:0 -14px 10px!important;padding:34px 43% 18px 14px!important}
  .editorial-case-topbar-17103 .title h1{font-size:34px!important}.editorial-case-topbar-17103 .title p{font-size:12.5px!important}
  .editorial-case-image-17103{width:53%!important}.editorial-case-image-17103 blockquote{display:none!important}
  .editorial-five-process-17103{grid-template-columns:repeat(5,minmax(58px,1fr))!important;overflow-x:auto!important;padding:12px 4px!important;margin-bottom:10px!important;border-radius:10px!important;scrollbar-width:none!important}
  .editorial-five-process-17103::-webkit-scrollbar{display:none!important}.editorial-five-process-17103 small{display:none!important}.editorial-five-process-17103 span{font-size:9px!important;min-width:58px!important}
  .dashboard-v2-hero{min-height:268px!important;margin:0 -14px 10px!important;background-size:cover!important;background-position:center bottom!important}
  .dashboard-v2-hero::before{background:linear-gradient(180deg,var(--e17105-paper) 0%,rgba(251,250,246,.98) 43%,rgba(251,250,246,.60) 68%,rgba(251,250,246,.05) 100%)!important}
  .dashboard-v2-hero-copy{width:100%!important;padding:20px 14px 125px!important}
  .editorial-hero-quote-17102{right:16px!important;bottom:14px!important;top:auto!important;max-width:220px!important;font-size:11px!important;padding:8px 10px!important}
  .report-toolbar-17103{align-items:flex-start!important}.report-toolbar-17103 .title h1{font-size:30px!important}.report-toolbar-17103 .actions{display:flex!important;width:100%!important;margin-top:9px!important}.report-toolbar-17103 .actions .btn{flex:1 1 0!important;min-width:0!important;font-size:11px!important;padding:10px 8px!important}
  .report-version-toolbar{padding:13px!important}.report-version-row{display:grid!important;grid-template-columns:1fr!important}.report-version-controls{width:100%!important}.report-version-controls select,.report-version-controls .btn{width:100%!important;min-width:0!important}
  .grid.cols-2,.grid.cols-3,.grid.cols-4,.formgrid,.split{grid-template-columns:1fr!important}.table{display:block!important;max-width:100%!important;overflow-x:auto!important}
  .score-row{flex-wrap:nowrap!important;overflow-x:auto!important;padding-bottom:5px!important}.score-btn{flex:0 0 46px!important}
  .login-wrap{padding:14px!important}.login-card{grid-template-columns:1fr!important;max-width:560px!important;border-radius:24px!important}.login-art{min-height:180px!important;padding:28px!important}.login-logo{max-width:260px!important}.login-form{padding:32px 26px!important}.login-form h1{font-size:30px!important}.login-form .field input{height:56px!important;font-size:16px!important}.login-actions .btn{min-height:54px!important;font-size:16px!important}
}
@media(max-width:620px){
  .mobile-appbar-17105{grid-template-columns:48px 82px 1fr 42px!important;padding-left:10px!important;padding-right:10px!important}
  .mobile-appbar-logo-17105{width:82px!important}
  .reference-main{padding-left:12px!important;padding-right:12px!important}
  .editorial-case-topbar-17103,.dashboard-v2-hero{margin-left:-12px!important;margin-right:-12px!important}
  .editorial-mobile-bottom-17101 small,.editorial-mobile-bottom-17102 small,.editorial-mobile-bottom-17103 small{font-size:9.5px!important}
}
@media print{.mobile-appbar-17105,.editorial-mobile-bottom-17101,.editorial-mobile-bottom-17102,.editorial-mobile-bottom-17103,.reference-mobile-sidebar,.mobile-menu-overlay{display:none!important}}

/* 171.05 finishing details */
.report-toolbar-17103 .title{display:none!important}
.report-toolbar-17103{display:flex!important;justify-content:flex-end!important;align-items:center!important;border-bottom:0!important;padding-top:0!important;margin-bottom:8px!important}
.editorial-matrix-17102 .matrix-area-nav button{display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;align-items:center!important;gap:9px!important}
.matrix-area-icon-17105{display:grid!important;place-items:center!important;width:20px!important;height:20px!important;color:#526b80!important}
.matrix-area-icon-17105 svg{width:18px!important;height:18px!important;stroke:currentColor!important;fill:none!important;stroke-width:1.75!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.editorial-matrix-17102 .matrix-area-nav button.active .matrix-area-icon-17105{color:var(--e17105-blue)!important}
@media print{.report-toolbar-17103{display:none!important}.ebic-screen-duplicate-report-title-17105{display:block!important}}
.editorial-sidebar-quote-17105{margin:7px 5px 2px;padding:10px 8px 7px;border-top:1px solid rgba(255,255,255,.10);color:rgba(255,255,255,.75);font:italic 11px/1.42 Georgia,"Times New Roman",serif;text-align:center}
.editorial-sidebar-quote-17105.mobile{margin-top:auto}
.reference-sidebar-bottom>.reference-school-card{display:none!important}
@media(max-width:980px){.reference-mobile-sidebar>.reference-school-card{display:none!important}}

/* EBiC 171.05 — mobile and editorial cleanup */
.ebic-age-anchor-17097{display:none!important}
/* only one mobile app bar menu control */
@media(max-width:820px){
  .mobile-appbar-17105{grid-template-columns:52px 1fr 44px!important;min-height:66px!important;padding:7px 12px!important;gap:10px!important;align-items:center!important}
  .mobile-appbar-logo-17105{display:none!important}
  .mobile-appbar-spacer-17105{display:block!important}
  .mobile-menu-toggle{width:52px!important;height:52px!important;border-radius:14px!important;font-size:0!important}
  .mobile-menu-toggle svg{width:27px!important;height:27px!important}
  .reference-mobile-sidebar{width:min(340px,86vw)!important;padding:18px 18px 24px!important;overflow-y:auto!important}
  .reference-mobile-sidebar .sidebar-brand{margin-bottom:12px!important}
  .reference-mobile-sidebar .sidebar-quote,.reference-mobile-sidebar .editorial-sidebar-quote-17105{display:none!important}
  .reference-mobile-sidebar .sidebar-user{margin-top:18px!important}
  .reference-mobile-sidebar .sidebar-footer{margin-top:10px!important}
  .reference-mobile-sidebar .sidebar-footer .build-label{margin-top:8px!important}
  .editorial-mobile-bottom-17101,.editorial-mobile-bottom-17102,.editorial-mobile-bottom-17103{height:72px!important;padding:6px 8px max(6px,env(safe-area-inset-bottom))!important}
  .editorial-mobile-bottom-17101 button,.editorial-mobile-bottom-17102 button,.editorial-mobile-bottom-17103 button{min-width:0!important;min-height:56px!important;font-size:11px!important;gap:3px!important}
  .editorial-mobile-bottom-17101 button svg,.editorial-mobile-bottom-17102 button svg,.editorial-mobile-bottom-17103 button svg{width:23px!important;height:23px!important}
  .editorial-mobile-new-17101 span{width:44px!important;height:44px!important}
  body{padding-bottom:78px!important}
  .editorial-case-hero-17101,.editorial-case-hero-17102,.editorial-case-hero-17103{min-height:210px!important;height:auto!important;padding:26px 22px!important;background-position:center!important}
  .editorial-case-hero-17101 h1,.editorial-case-hero-17102 h1,.editorial-case-hero-17103 h1{font-size:clamp(34px,11vw,48px)!important;line-height:1.02!important}
  .dashboard-v2-hero{min-height:300px!important;height:auto!important;padding:26px 22px!important;background-position:center!important}
  .dashboard-v2-hero h1{font-size:clamp(38px,12vw,54px)!important;line-height:.98!important;overflow-wrap:anywhere!important}
  .dashboard-v2-hero p,.dashboard-v2-hero .dashboard-v2-support{max-width:100%!important;overflow-wrap:anywhere!important}
  .editorial-hero-quote-17101,.editorial-case-quote-17101{font-size:15px!important;line-height:1.35!important;max-width:68%!important;padding:9px 11px!important}
  .case-process-17101,.case-process-17102,.case-process-17103{overflow-x:auto!important;display:flex!important;gap:12px!important;padding:14px 12px!important;scrollbar-width:none!important}
  .case-process-17101>* ,.case-process-17102>* ,.case-process-17103>*{min-width:92px!important;flex:0 0 auto!important}
  .card,.panel,.report-card,.ebic-report-section,.question{max-width:100%!important;min-width:0!important;overflow-wrap:anywhere!important}
}
/* remove decorative gold text treatment in report body; gold reserved for small accents */
.report-body h1,.report-body h2,.report-body h3,.report-body h4,.ebic-report h1,.ebic-report h2,.ebic-report h3,.ebic-report h4,.ebic-report-section h2,.ebic-report-section h3{color:#082f4f!important}
.report-body p,.report-body li,.ebic-report p,.ebic-report li{color:#24384a!important}
/* no trailing punctuation on editorial quotations */
.editorial-hero-quote-17101,.editorial-case-quote-17101,.editorial-sidebar-quote-17105{font-style:italic}

/* EBiC 171.06 — login restored and production build marker */
/* Login: preserve the proven two-panel EBiC layout. */
.login-wrap{
  min-height:100vh!important;
  display:grid!important;
  place-items:center!important;
  padding:24px!important;
  background:radial-gradient(circle at top left,rgba(229,178,75,.18),transparent 25%),radial-gradient(circle at bottom right,rgba(11,86,198,.16),transparent 25%),#f6f8fb!important;
}
.login-card{
  max-width:960px!important;
  width:100%!important;
  display:grid!important;
  grid-template-columns:1.05fr .95fr!important;
  background:#fff!important;
  border:0!important;
  border-radius:32px!important;
  overflow:hidden!important;
  box-shadow:0 18px 40px rgba(15,23,42,.10)!important;
}
.login-art{
  min-height:610px!important;
  padding:42px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#0d1b3d!important;
  position:relative!important;
}
.login-art::before,.login-art::after{content:none!important;display:none!important}
.login-art-center{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:100%!important}
.login-logo{
  display:block!important;
  width:100%!important;
  max-width:430px!important;
  height:auto!important;
  margin:0!important;
  opacity:1!important;
  filter:none!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.login-form{display:flex!important;align-items:center!important;padding:48px 56px!important;background:#fff!important}
.login-form-inner{width:100%!important;max-width:500px!important}
.login-form h1{margin:0 0 14px!important;font:700 32px/1.08 Georgia,"Times New Roman",serif!important;letter-spacing:-.02em!important;color:#14213d!important}
.login-intro{margin:0 0 24px!important;font-size:15px!important;line-height:1.45!important;color:#64748b!important}
.login-form .field label{color:#51627f!important;font-size:13px!important;letter-spacing:.01em!important}
.login-form .field input{height:66px!important;font-size:18px!important;border:1px solid #e5e7eb!important;border-radius:18px!important;padding:12px 14px!important;box-shadow:none!important}
.login-actions{margin-top:22px!important;display:flex!important;align-items:center!important;gap:12px!important}
.login-actions .btn{min-width:154px!important;min-height:62px!important;font-size:18px!important;border-radius:20px!important;background:#0b56c6!important;color:#fff!important}
.login-help{margin:18px 0 0!important;font-size:14px!important;line-height:1.45!important;color:#64748b!important;max-width:430px!important}
.login-version{display:block!important;margin-top:34px!important;padding-top:14px!important;border-top:1px solid #eef1f5!important;color:#8a94a6!important;font-size:12px!important;line-height:1.2!important;text-align:right!important;font-variant-numeric:tabular-nums!important}

@media(max-width:980px){
  .login-wrap{padding:0!important;place-items:stretch!important;background:#f6f8fb!important}
  .login-card{max-width:none!important;min-height:100vh!important;border-radius:0!important;grid-template-columns:1fr!important;grid-template-rows:190px auto!important;box-shadow:none!important}
  .login-art{min-height:190px!important;height:190px!important;padding:28px!important}
  .login-logo{max-width:300px!important;max-height:112px!important;object-fit:contain!important}
  .login-form{align-items:flex-start!important;justify-content:center!important;padding:34px 24px 42px!important}
  .login-form-inner{max-width:520px!important}
  .login-form h1{font-size:30px!important}
  .login-form .field input{height:58px!important;font-size:16px!important;border-radius:15px!important}
  .login-actions .btn{min-height:54px!important;font-size:16px!important;border-radius:16px!important}
  .login-version{margin-top:28px!important;text-align:left!important}
}
@media(max-width:520px){
  .login-card{grid-template-rows:154px auto!important}
  .login-art{min-height:154px!important;height:154px!important;padding:22px 26px!important}
  .login-logo{max-width:250px!important;max-height:88px!important}
  .login-form{padding:28px 22px 38px!important}
  .login-form h1{font-size:28px!important}
  .login-intro{font-size:14px!important}
  .login-help{font-size:13px!important}
}


/* EBiC 171.08 — final responsive corrections */
:root{--e17107-navy:#082f4f;--e17107-blue:#0b56c6;--e17107-paper:#fbfaf6;--e17107-gold:#d8a62e;--e17107-line:#dfe4e8}

/* Login: compact, balanced and production-safe */
.ebic-login-17107{margin:0!important;background:#f4f7fb!important}
.login17107{min-height:100dvh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 0 0,rgba(216,166,46,.16),transparent 28%),radial-gradient(circle at 100% 100%,rgba(11,86,198,.11),transparent 26%),#f4f7fb}
.login17107-card{width:min(980px,100%);display:grid;grid-template-columns:1.02fr .98fr;background:#fff;border-radius:28px;overflow:hidden;box-shadow:0 24px 70px rgba(8,47,79,.13);border:1px solid rgba(8,47,79,.07)}
.login17107-brand{min-height:570px;padding:54px 46px;background:linear-gradient(160deg,#082f4f 0%,#041f38 100%);display:flex;flex-direction:column;justify-content:center;gap:42px;color:#fff}
.login17107-logo{width:min(420px,100%);height:auto;object-fit:contain}
.login17107-brandcopy{padding-top:28px;border-top:1px solid rgba(255,255,255,.16);display:grid;gap:9px}.login17107-brandcopy strong{font:500 25px/1.15 Georgia,"Times New Roman",serif}.login17107-brandcopy span{font-size:14px;line-height:1.55;color:rgba(255,255,255,.72);max-width:370px}
.login17107-form{display:flex;align-items:center;padding:48px 54px;background:#fff}.login17107-inner{width:100%;max-width:430px;margin:auto}.login17107-kicker{font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#9a7828;margin-bottom:9px}.login17107 h1{margin:0 0 8px;font:600 38px/1.06 Georgia,"Times New Roman",serif;color:var(--e17107-navy);letter-spacing:-.035em}.login17107-intro{margin:0 0 28px;color:#68788a;font-size:15px}.login17107 .field{gap:7px;margin-top:15px}.login17107 .field label{font-size:13px;color:#506276}.login17107 .field input{box-sizing:border-box;width:100%;height:58px;border:1px solid #dce3ea;border-radius:14px;padding:0 16px;font-size:16px;color:#132d46;background:#fff;box-shadow:none}.login17107 .field input:focus{outline:3px solid rgba(11,86,198,.12);border-color:#8ab1e8}.login17107-button{width:100%;min-height:56px;margin-top:22px;border-radius:14px!important;background:var(--e17107-blue)!important;font-size:17px!important}.login17107-help{margin:18px 0 0;color:#68788a;font-size:13.5px;line-height:1.5}.login17107 .login-version{margin-top:28px;padding-top:14px;border-top:1px solid #e8edf2;color:#8491a2;font-size:12px;text-align:left}
@media(max-width:720px){.login17107{place-items:center;padding:18px 14px;min-height:100dvh}.login17107-card{grid-template-columns:1fr;width:min(480px,100%);border-radius:22px}.login17107-brand{min-height:118px;padding:22px 26px;gap:0;justify-content:center}.login17107-logo{width:min(280px,82%)}.login17107-brandcopy{display:none}.login17107-form{padding:26px 24px 28px}.login17107-inner{max-width:none}.login17107-kicker{font-size:10px;margin-bottom:6px}.login17107 h1{font-size:30px}.login17107-intro{font-size:14px;margin-bottom:20px}.login17107 .field{margin-top:12px}.login17107 .field input{height:54px;font-size:16px}.login17107-button{min-height:52px;margin-top:18px}.login17107-help{font-size:13px;margin-top:15px}.login17107 .login-version{margin-top:20px;padding-top:12px}}
@media(max-width:380px){.login17107{padding:10px}.login17107-brand{min-height:104px;padding:18px 22px}.login17107-form{padding:22px 20px 24px}.login17107 h1{font-size:28px}}

/* Mobile top bar and hamburger: one control, one icon, left aligned */
@media(max-width:980px){
 .mobile-appbar-17105{display:grid!important;grid-template-columns:52px auto 1fr 44px!important;align-items:center!important;gap:10px!important;min-height:70px!important;padding:9px 14px!important;background:rgba(255,253,250,.98)!important;border-bottom:1px solid #e4e1db!important}
 .mobile-menu-toggle{display:grid!important;place-items:center!important;position:static!important;width:52px!important;height:52px!important;margin:0!important;border:1px solid #d8e0e7!important;border-radius:14px!important;background:#fff!important;color:var(--e17107-navy)!important;box-shadow:none!important;font-size:0!important}
 .mobile-menu-toggle::before,.mobile-menu-toggle::after{content:none!important;display:none!important}
 .mobile-menu-toggle svg{display:block!important;width:27px!important;height:27px!important;stroke:currentColor!important;fill:none!important}
 .mobile-appbar-logo-17105{display:none!important}.mobile-appbar-brand-17107{font:600 24px/1 Georgia,"Times New Roman",serif;color:var(--e17107-navy);white-space:nowrap}.mobile-appbar-spacer-17105{display:block!important}.mobile-appbar-action-17105{width:44px!important;height:44px!important}
 .reference-main{padding-top:84px!important}
}

/* Mobile drawer: one unified menu, no duplicate quote or case menu */
.reference-mobile-sidebar .mobile-menu{display:block!important;padding:8px 0 0!important}.mobile-global-menu-17107,.mobile-case-menu-17107{display:grid;gap:3px}.mobile-case-menu-17107{margin-top:16px;padding-top:16px;border-top:1px solid rgba(255,255,255,.15)}.mobile-case-label-17107{padding:0 14px 9px;color:#e5b84c;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.mobile-case-label-17107 strong{display:block;margin-top:3px;color:#fff;font-size:13px;letter-spacing:0;text-transform:none}.mobile-drawer-row-17107{width:100%;min-height:48px;border:0;background:transparent;color:#fff;display:flex;align-items:center;gap:13px;padding:10px 14px;border-radius:10px;font:600 14px/1.2 Inter,system-ui,sans-serif;text-align:left}.mobile-drawer-row-17107:hover,.mobile-drawer-row-17107:focus{background:rgba(255,255,255,.08)}.mobile-drawer-row-17107 .nav-icon{width:23px;height:23px;display:grid;place-items:center}.mobile-drawer-row-17107 svg{width:21px;height:21px;stroke:currentColor;fill:none}.mobile-build-17107{margin-top:auto;padding:18px 14px 4px;color:rgba(255,255,255,.47);font-size:10px;letter-spacing:.04em}
.sidebar-editorial-footer-17107{margin:10px 18px 0;padding-top:12px;border-top:1px solid rgba(255,255,255,.12);text-align:center}.sidebar-quote-17107{font:italic 11px/1.45 Georgia,"Times New Roman",serif;color:rgba(255,255,255,.72)}.sidebar-build-17107{margin-top:13px;color:rgba(255,255,255,.44);font-size:9.5px;letter-spacing:.04em}

/* One bottom menu only */
@media(max-width:980px){.editorial-mobile-bottom-17107{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;position:fixed!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;height:72px!important;z-index:1200!important;background:rgba(255,253,250,.985)!important;border-top:1px solid #d8dce2!important;padding:6px 7px max(6px,env(safe-area-inset-bottom))!important}.editorial-mobile-bottom-17107 button{min-width:0!important;min-height:56px!important;color:#587084!important}.editorial-mobile-bottom-17107 button.is-active{color:var(--e17107-blue)!important}.editorial-mobile-bottom-17107 button svg{width:23px!important;height:23px!important}.editorial-mobile-bottom-17107 small{font-size:10px!important;font-weight:650!important}}

/* Questionnaire: never show age-scoring instructions to the respondent */
.ebic-age-anchor-17097{display:none!important}

/* Report: full narrative, no gold body text, no duplicated navigation layer */
.ebic-rich-return-17107{display:grid!important;gap:0!important;padding:0!important;background:transparent!important;border:0!important}.return-chapter-17107{padding:22px 0;border-bottom:1px solid #e3e8ed}.return-chapter-17107:first-child{padding-top:4px}.return-chapter-17107:last-child{border-bottom:0}.return-chapter-17107 h4,#report-print-root .report-heading-17107,#report-print-root h1,#report-print-root h2,#report-print-root h3,#report-print-root h4{color:var(--e17107-navy)!important}.return-chapter-17107 h4{margin:0 0 10px;font:600 21px/1.18 Georgia,"Times New Roman",serif}.return-chapter-17107 p{margin:0 0 11px!important;font-size:14.5px!important;line-height:1.68!important;color:#263e52!important;max-width:86ch}.return-chapter-17107 p:last-child{margin-bottom:0!important}.ebic-return-heading{color:var(--e17107-navy)!important;border-left-color:#3a86a0!important}.editorial-report-tabs-17102{display:none!important}
#report-print-root strong:not(.status):not(.value){color:inherit}.ebic-report-section .meaning{color:#314b61!important}.ebic-report-section a{color:var(--e17107-blue)!important}
@media(max-width:700px){.return-chapter-17107{padding:18px 0}.return-chapter-17107 h4{font-size:19px}.return-chapter-17107 p{font-size:14px!important;line-height:1.62!important}}

/* EBiC 171.08: login refinement and genuinely animated mobile drawer */
.login17107-kicker{display:none!important}
.login17107-brand{align-items:center!important;text-align:center!important}
.login17107-logo{display:block!important;margin:0 auto!important;width:min(500px,96%)!important;max-width:500px!important;max-height:170px!important;object-fit:contain!important;object-position:center!important}
@media(max-width:720px){
  .login17107-brand{min-height:150px!important;padding:24px 22px!important;align-items:center!important;justify-content:center!important}
  .login17107-logo{width:min(350px,94%)!important;max-width:350px!important;max-height:108px!important;margin:0 auto!important}
  .login17107-form{padding-top:28px!important}
}
@media(max-width:380px){
  .login17107-brand{min-height:138px!important}
  .login17107-logo{width:min(320px,94%)!important;max-height:98px!important}
}

@media(max-width:980px){
  .mobile-menu-overlay{
    display:block!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transition:opacity .28s ease,visibility 0s linear .28s!important;
    will-change:opacity!important;
  }
  .reference-mobile-sidebar{
    display:flex!important;
    transform:translate3d(-104%,0,0)!important;
    visibility:visible!important;
    transition:transform .34s cubic-bezier(.22,.8,.22,1)!important;
    will-change:transform!important;
    backface-visibility:hidden!important;
  }
  .ebic-reference-shell.mobile-menu-open .reference-mobile-sidebar{
    transform:translate3d(0,0,0)!important;
  }
  .ebic-reference-shell.mobile-menu-open .mobile-menu-overlay{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transition:opacity .28s ease,visibility 0s!important;
  }
  body.ebic-mobile-menu-open{overflow:hidden!important;touch-action:none!important}
}
@media(prefers-reduced-motion:reduce){
  .reference-mobile-sidebar,.mobile-menu-overlay{transition:none!important}
}

/* EBiC 171.09 — login logo sizing + bounded mobile scroll */
.login17107-logo{
  width:min(560px,92%)!important;
  max-width:560px!important;
  max-height:190px!important;
  object-fit:contain!important;
  object-position:center!important;
  margin:0 auto!important;
}
@media(max-width:720px){
  .login17107-brand{
    min-height:168px!important;
    height:168px!important;
    padding:20px 22px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  .login17107-logo{
    width:min(390px,88vw)!important;
    max-width:390px!important;
    max-height:118px!important;
    margin:0 auto!important;
  }
}
@media(max-width:380px){
  .login17107-brand{min-height:154px!important;height:154px!important}
  .login17107-logo{width:min(330px,86vw)!important;max-height:104px!important}
}

@media(max-width:980px){
  html,body{
    overscroll-behavior-y:none!important;
    overscroll-behavior-x:none!important;
    height:auto!important;
    min-height:100dvh!important;
  }
  body{
    padding-bottom:0!important;
  }
  .ebic-reference-shell{
    min-height:100dvh!important;
    height:auto!important;
  }
  .reference-main,.main{
    box-sizing:border-box!important;
    padding-bottom:calc(86px + env(safe-area-inset-bottom))!important;
  }
  .editorial-mobile-bottom-17101,
  .editorial-mobile-bottom-17102,
  .editorial-mobile-bottom-17103,
  .editorial-mobile-bottom-17107{
    position:fixed!important;
    bottom:0!important;
  }
}


/* EBiC 171.11 — proportionally correct login logo */
.login17107-logo{
  display:block!important;
  width:min(520px,72%)!important;
  max-width:520px!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center!important;
  aspect-ratio:auto!important;
  margin:0 auto!important;
}
@media(max-width:720px){
  .login17107-brand{
    min-height:184px!important;
    height:184px!important;
    padding:20px 24px!important;
  }
  .login17107-logo{
    width:min(520px,70vw)!important;
    max-width:520px!important;
    height:auto!important;
    max-height:none!important;
  }
}
@media(max-width:380px){
  .login17107-brand{
    min-height:168px!important;
    height:168px!important;
  }
  .login17107-logo{
    width:min(460px,72vw)!important;
  }
}

/* EBiC 171.12 — one bounded mobile scroll container */
@media(max-width:980px){
  body.ebic-app-scroll-17112{
    height:100dvh!important;
    min-height:100dvh!important;
    overflow:hidden!important;
    padding-bottom:0!important;
    overscroll-behavior:none!important;
    background:#fbfaf6!important;
  }
  body.ebic-app-scroll-17112 .ebic-reference-shell{
    height:100dvh!important;
    min-height:0!important;
    overflow:hidden!important;
  }
  body.ebic-app-scroll-17112 .reference-main{
    height:100dvh!important;
    min-height:0!important;
    max-height:100dvh!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior-y:contain!important;
    scroll-padding-bottom:82px!important;
    padding-bottom:calc(78px + env(safe-area-inset-bottom))!important;
  }
  body.ebic-app-scroll-17112 .main{
    min-height:0!important;
  }
}

/* EBiC 171.13 expert synthesis */
.ebic-expert-synthesis-17113 .ebic-synthesis-card-17113{padding:24px 26px}
.ebic-expert-synthesis-17113 .ebic-synthesis-card-17113 p{font-size:1rem;line-height:1.65;margin:0 0 12px;color:#17324d}
.ebic-pattern-grid-17113,.ebic-action-grid-17113{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ebic-pattern-grid-17113 .ebic-card,.ebic-action-card-17113{padding:20px}
.ebic-action-kicker-17113{font-size:.74rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#927020;margin-bottom:8px}
.ebic-action-card-17113 ol{margin:10px 0 12px;padding-left:20px}
.ebic-action-card-17113 li{margin:0 0 7px;line-height:1.5}
@media(max-width:760px){.ebic-pattern-grid-17113,.ebic-action-grid-17113{grid-template-columns:1fr}.ebic-expert-synthesis-17113 .ebic-synthesis-card-17113{padding:18px}.ebic-expert-synthesis-17113 .ebic-synthesis-card-17113 p{font-size:.96rem}}

/* EBiC 171.16 — HQ login logo, preserve native proportions */
.login17107-logo{width:min(560px,74%)!important;max-width:560px!important;height:auto!important;max-height:none!important;object-fit:contain!important;aspect-ratio:auto!important;margin-inline:auto!important}
@media(max-width:720px){.login17107-logo{width:min(560px,72vw)!important;max-width:560px!important;height:auto!important;max-height:none!important}}

/* EBiC 171.19 – riktade skolutvecklingsförslag */
.ebic-development-17119{margin-top:18px}
.ebic-dev-grid-17119{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ebic-dev-card-17119{background:#fff;border:1px solid #e5e8ec;border-radius:18px;padding:22px;box-shadow:0 8px 28px rgba(8,44,68,.05)}
.ebic-dev-card-17119 h3{margin:6px 0 10px;color:#082c44;font-family:Georgia,serif;font-size:1.3rem;line-height:1.18}
.ebic-dev-kicker-17119{font-size:.78rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#9a6b12}
.ebic-dev-evidence-17119{display:flex;flex-direction:column;gap:4px;margin:14px 0;padding:12px 14px;background:#f7f9fb;border-radius:12px;color:#33485a}
.ebic-dev-note-17119{margin-top:12px;max-width:1000px}
@media(max-width:800px){.ebic-dev-grid-17119{grid-template-columns:1fr}.ebic-dev-card-17119{padding:18px}}
