
/* FMSAFEAI Accident OS integration layer */
:root{--fms-red:#e3071b;--fms-dark:#15171c;--fms-soft:#f3f4f6}
.fms-brand{display:inline-flex;align-items:center;gap:.08em;font-weight:900;letter-spacing:-.04em;color:var(--fms-dark);text-decoration:none;font-size:1.35rem}
.fms-brand .ai{color:var(--fms-red)}
.fms-brand-sub{font-size:.64rem;font-weight:800;letter-spacing:.18em;color:#777;margin-left:.55rem}
.fms-accident-chip{display:inline-flex;align-items:center;gap:.45rem;border:1px solid #ffd4d8;background:#fff6f7;color:#a80012;padding:.55rem .8rem;border-radius:999px;font-weight:800;font-size:.82rem}
.fms-accident-chip:before{content:'';width:.5rem;height:.5rem;border-radius:50%;background:var(--fms-red)}
.fms-legal-note{border-left:4px solid var(--fms-red);background:#fff8f8;padding:1rem 1.1rem;margin:1rem 0 1.4rem;border-radius:0 14px 14px 0;color:#3d4047;line-height:1.55}
.fms-legal-note strong{color:#9f0012}
@media(max-width:720px){.fms-brand-sub{display:none}.nav-v06 a:not(:last-child){display:none}}

/* v3.5.0 integration harmony */
.archive-dashboard,.document-board-original{--fms-accent:#d7192d}.archive-dashboard .section-label,.document-board-original .document-board-head span{color:var(--fms-accent)!important}

/* ★ 2026-08-23 — 사고 → 수시 위험성평가 넘기기
   65세 이상이 보시는 화면이다. 글자와 단추를 크게 둔다.
   미리보기를 두는 이유 — 무엇이 넘어가는지 보지 않고 누르면
   위험성평가에 엉뚱한 줄이 들어간다. 누르기 전에 보이게 한다. */
.risk-handoff .rh-preview{
  margin:18px 0;border:1px solid #e4e6ea;border-radius:14px;overflow:hidden;background:#fff;
}
.risk-handoff .rh-row{
  display:flex;gap:14px;padding:14px 16px;border-bottom:1px solid #eef0f3;
  font-size:16px;line-height:1.65;
}
.risk-handoff .rh-row:last-child{border-bottom:0}
.risk-handoff .rh-row>b{
  flex:0 0 128px;color:#565b63;font-weight:700;
}
.risk-handoff .rh-row>span{flex:1;color:#171717;font-weight:600}
.risk-handoff .rh-row em{color:#b26a00;font-style:normal;font-weight:700}
.risk-handoff .rh-row i{
  display:block;font-style:normal;font-weight:500;color:#3c4149;
  padding:3px 0 3px 14px;position:relative;
}
.risk-handoff .rh-row i::before{
  content:'';position:absolute;left:3px;top:12px;width:5px;height:5px;
  border-radius:50%;background:#c3c7cd;
}
.risk-handoff .rh-warn{
  margin:0 0 14px;padding:13px 15px;border-radius:12px;
  background:#fff6e5;color:#8a5a00;font-size:15px;font-weight:700;line-height:1.6;
}
.risk-handoff .calc-btn{
  min-height:58px;font-size:18px;font-weight:800;padding:0 26px;
}
.risk-handoff .calc-btn.done{background:#1f7a3d}
.risk-handoff .rh-after{
  margin-top:12px;color:#565b63;font-size:15px;line-height:1.65;
}
@media(max-width:560px){
  .risk-handoff .rh-row{flex-direction:column;gap:4px}
  .risk-handoff .rh-row>b{flex:none}
  .risk-handoff .calc-btn{width:100%}
}
