/* Shared walkthroughs: embedded workspace guidance and the standalone institutional guide. */
.opig-shell, .opig-panel {
  --opig-blue: var(--opi-blue, #126ca8);
  --opig-ink: var(--opi-ink, #17324d);
  --opig-line: var(--opi-line, #dbe5ec);
  --opig-muted: var(--opi-muted, #546b7e);
  color: var(--opig-ink);
  font: 400 16px/1.7 var(--opi-font, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  box-sizing: border-box;
}
.opig-shell { width: 1100px; margin: 32px auto 64px; padding: 0 24px; }
.opig-shell *, .opig-panel *, .opig-shell *::before, .opig-panel *::before, .opig-shell *::after, .opig-panel *::after { box-sizing: border-box; }
.opig-shell :where(h1, h2, h3), .opig-panel h3 { color: var(--opig-ink); font-family: inherit; line-height: 1.3; letter-spacing: -.025em; font-weight: 700; }
.opig-shell h1 { font-size: clamp(28px, 4vw, 40px); margin: 10px 0 18px; }
.opig-shell h2 { font-size: 25px; margin: 0 0 16px; }
.opig-shell h3, .opig-panel h3 { font-size: 20px; margin: 0 0 12px; }
.opig-shell p, .opig-panel p { margin: 0 0 16px; }
.opig-hero { background: var(--opig-ink); border: 1px solid #294862; border-radius: 22px; padding: clamp(24px, 4vw, 42px); color: #e0eaf2; margin-bottom: 26px; }
.opig-hero h1 { color: #fff; }
.opig-hero p:last-child { margin-bottom: 0; max-width: 48rem; }
.opig-kicker { color: #bcd9ee; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; font-weight: 700; }
.opig-panel { background: var(--opi-paper, #fffdf7); border: 1px solid var(--opig-line); border-radius: 16px; margin: 24px 0; }
.opig-panel > summary { padding: 20px 24px; min-height: 56px; font-size: 17px; font-weight: 650; line-height: 1.5; cursor: pointer; background: #f0f6fa; border-radius: 15px; }
.opig-panel > summary::marker { color: var(--opig-blue); }
.opig-panel[open] > summary { border-bottom: 1px solid var(--opig-line); border-radius: 15px 15px 0 0; }
.opig-body { padding: 24px; }
.opig-intro { color: var(--opig-muted); }
.opig-progress { font-size: 13px; color: var(--opig-muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.opig-step { padding: 24px; background: #fff; border: 1px solid var(--opig-line); border-radius: 14px; margin: 18px 0; min-height: 180px; }
.opig-number { color: #256188; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.opig-step p:last-child { margin-bottom: 0; }
.opig-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 20px 0; }
.opig-controls button, .opig-primary { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; min-height: 48px; min-width: 44px; padding: 12px 19px; border: 1px solid var(--opig-blue); border-radius: 10px; background: var(--opig-blue); color: #fff; font-family: inherit; font-size: 14px; font-weight: 650; line-height: 1.5; text-align: center; text-decoration: none; white-space: normal; overflow-wrap: anywhere; cursor: pointer; touch-action: manipulation; transition: background-color .15s ease, border-color .15s ease; }
.opig-controls button:hover:not(:disabled), a.opig-primary:hover { background: #0b5b94; border-color: #0b5b94; }
.opig-controls button:disabled { background: #edf1f5; color: #657787; border-color: #d8e1e8; cursor: default; opacity: 1; }
.opig-controls button[data-opig-all] { background: #fff; color: #205378; border-color: #b8cede; }
.opig-controls button[data-opig-all]:hover:not(:disabled) { background: #edf5fb; border-color: var(--opig-blue); }
.opig-panel a, .opig-shell a { color: #17618f; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.opig-panel a.opig-primary, .opig-shell a.opig-primary { color: #fff; text-decoration: none; }
.opig-foot, .opig-footer { font-size: 13px; color: var(--opig-muted); }
.opig-card { background: #fff; border: 1px solid var(--opig-line); border-radius: 18px; padding: clamp(20px, 3vw, 30px); margin: 24px 0; }
.opig-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.opig-tabs a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 18px; border: 1px solid #c5d6e3; border-radius: 10px; background: #fff; text-align: center; font-size: 14px; font-weight: 600; text-decoration: none; touch-action: manipulation; }
.opig-tabs a:hover { background: #f0f6fa; }
.opig-tabs [aria-current] { background: var(--opig-ink); border-color: var(--opig-ink); color: #fff; }
.opig-tabs [aria-current]:hover { background: var(--opig-ink); }
.opig-card details { border-top: 1px solid var(--opig-line); padding: 10px 0; }
.opig-card summary { cursor: pointer; font-weight: 600; padding: 12px 0; min-height: 48px; line-height: 1.5; touch-action: manipulation; }
.opig-card summary::marker { color: var(--opig-blue); }
.opig-check { display: flex; align-items: flex-start; gap: 18px; border-top: 1px solid var(--opig-line); padding: 20px 0; }
.opig-check h3 { font-size: 17px; margin: 0 0 6px; }
.opig-check p { margin: 0; }
.opig-state { flex: 0 0 82px; font-size: 11px; letter-spacing: .035em; font-weight: 700; padding: 6px 10px !important; border-radius: 99px; text-align: center; }
.opig-pass { background: #e7f4ee; color: #22624e; }
.opig-blocked { background: #fcebe7; color: #92392e; }
.opig-review { background: #fff2d8; color: #7b571b; }
.opig-plain { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; max-width: 100%; }
.opig-panel :focus-visible, .opig-shell :focus-visible { outline: 3px solid var(--opi-focus, #ac711a); outline-offset: 4px; }
.opig-footer { text-align: center; padding: 24px; }
.opig-sample iframe { margin-top: 16px; max-width: 100%; border: 1px solid var(--opig-line); border-radius: 12px; }
.opig-panel :where(.opig-body, .opig-step, .opig-controls), .opig-shell :where(.opig-card, .opig-check > *, .opig-hero) { min-width: 0; max-width: 100%; }
.opig-shell :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]), select, textarea) { font-family: inherit; font-size: 16px; min-height: 48px; max-width: 100%; min-width: 0; }
.opig-shell [hidden], .opig-panel [hidden] { display: none !important; }
@media (max-width: 620px) { .opig-shell { padding: 0 16px; margin-top: 18px; } .opig-hero { border-radius: 16px; padding: 24px 20px; } .opig-card, .opig-body { padding: 18px; } .opig-step { padding: 18px; min-height: 0; } .opig-panel > summary { padding: 18px; } .opig-check { gap: 12px; } .opig-state { flex-basis: 72px; } .opig-controls button { flex: 1 1 auto; } }
@media (max-width: 420px) { .opig-shell { padding-inline: 12px; } .opig-panel > .opig-body, .opig-panel .opig-step, .opig-shell .opig-card { padding: 14px; } .opig-panel > summary { padding: 16px 14px; } .opig-panel .opig-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } .opig-panel .opig-controls [data-opig-all] { grid-column: 1 / -1; } .opig-shell .opig-check { flex-direction: column; } .opig-shell .opig-state { flex-basis: auto; } .opig-shell .opig-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } .opig-shell .opig-tabs a { padding: 12px 8px; } .opig-shell a.opig-primary { display: flex; width: 100%; } }
@media (prefers-reduced-motion: reduce) { .opig-panel *, .opig-shell * { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
@media print { .opig-controls, .opig-tabs { display: none !important; } .opig-panel .opig-step[hidden] { display: block !important; } .opig-shell { width: 100%; max-width: none; margin: 0; padding: 0; } .opig-hero { background: #fff; color: #000; border: 0; } .opig-hero h1 { color: #000; } .opig-step { break-inside: avoid; } }
