/* ポータルと社員の画面（画面イメージ「社員 1〜5」・ADR-0014） */
.si { min-height: 100vh; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; padding: 14px 18px 0; }
.si-mid { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; width: 100%; max-width: 420px; padding: 24px 0; }
.si-word { font-weight: 700; font-size: 24px; letter-spacing: .01em; }
.si-lead { margin: 4px 0 0; font-size: 14px; color: var(--label); line-height: 1.8; }
.si-btn { width: 100%; max-width: 330px; min-height: 52px; justify-content: center; font-size: 16px; margin-top: 18px; }
.si-note { font-size: 13px; color: var(--label); margin: 0; line-height: 1.7; }
.rolegrid { display: grid; gap: 10px; width: 100%; margin-top: 18px; }
.rolecard { display: flex; flex-direction: column; gap: 2px; text-align: left; border: 1px solid var(--border); border-radius: 14px; padding: 12px 16px; background: var(--bg-soft); color: var(--text); text-decoration: none; }
.rolecard:hover { border-color: var(--fill); }
.rolecard .nm { font-weight: 700; color: var(--fill); }
.rolecard .ds { font-size: 12.5px; color: var(--label); }
.si .app-footer { align-self: stretch; margin-bottom: 14px; }
/* 社員の画面 */
.emp { max-width: 560px; margin: 0 auto; padding: 24px 20px; display: flex; flex-direction: column; gap: 18px; }
.step { font-size: 13px; color: var(--label); }
.big { height: 52px; font-size: 18px; width: 100%; }
.code-inp { font-family: ui-monospace, Menlo, monospace; font-size: 24px; letter-spacing: .15em; height: 56px; width: 100%; }
.ok-text { color: var(--ok); font-size: 13px; }
.ng-text { color: var(--ng); font-size: 13px; }
.wide-btn { width: 100%; min-height: 52px; justify-content: center; font-size: 17px; }
.ack { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; }
.ack input { width: 20px; height: 20px; }
.bar { height: 6px; border-radius: 3px; background: var(--grid); }
.bar > div { height: 6px; border-radius: 3px; background: var(--label); }
.opts { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.opt { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 14px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; line-height: 1.4; cursor: pointer; }
.opt input { width: 18px; height: 18px; }
.opt b { width: 14px; }
.opt.on { border: 2px solid var(--fill); background: var(--fill-tint); }
.nav { display: flex; gap: 12px; }
.nav .btn { flex: 1; justify-content: center; min-height: 48px; }
.nav .btn.main { flex: 2; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { padding: 12px; border-radius: 8px; background: var(--bg-soft); display: flex; flex-direction: column; gap: 2px; }
.tile b { font-size: 26px; }
.axis { display: grid; grid-template-columns: 9em 1fr 2.4em; align-items: center; gap: 8px; font-size: 13px; }
.axis .track { height: 10px; background: var(--grid); border-radius: 5px; }
.axis .track > div { height: 10px; background: #5A6B85; border-radius: 5px; }
.warn { padding: 10px 12px; border-radius: 8px; background: var(--warn-bg); font-size: 13px; line-height: 1.6; }
.review { margin: 0; padding-left: 18px; font-size: 13.5px; line-height: 1.9; }
@media print { .top, .noprint, .app-footer { display: none !important; } .emp { padding: 0; } }
.ver { font-size: 12px; color: var(--label); font-family: ui-monospace, Menlo, monospace; }
.opt .def { display: block; font-size: 12px; color: var(--label); }
.sc p { line-height: 1.9; margin: 0; }
.sc th, .sc td { white-space: normal; }
.sc td.wrap { min-width: 7em; }
.sc td:nth-child(2) { min-width: 6.5em; }
.refs { margin: 0; padding-left: 24px; font-size: 13.5px; line-height: 1.8; }
.refs li { overflow-wrap: anywhere; }
/* サインインの画面とポータル：DSP（実践）のトップと同じ形（2026-11-30 user「かなり違うので揃えたいですね」） */
.si-sub { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; font-size: 13px; color: var(--label); }
.chip-blue { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--fill-tint); color: var(--fill); }
.si-btn svg { margin-right: 8px; }
.si-field { width: 100%; max-width: 330px; text-align: left; }
.si-qr { display: none; align-items: center; gap: 16px; margin-top: 22px; padding: 12px 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-soft); text-align: left; }
.si-qr .code { width: 112px; height: 112px; flex: none; background: #fff; border-radius: 10px; padding: 6px; box-sizing: border-box; }
.si-qr .code svg { display: block; width: 100%; height: 100%; }
.si-qr b { font-size: 15px; }
@media (min-width: 700px) { .si-qr.on { display: flex; } }
.si .msg { width: 100%; max-width: 420px; box-sizing: border-box; text-align: left; }
.si .msg:empty { display: none; }
.si-btn.quiet { background: var(--bg); }
