:root {
  color-scheme: light;
  --navy: #172b3a;
  --navy-soft: #20394a;
  --ink: #1d2b34;
  --muted: #78838b;
  --line: #e8e9e5;
  --paper: #fbfaf7;
  --white: #fff;
  --teal: #2f786d;
  --teal-dark: #28675e;
  --sand: #c8a772;
  --font-body: "Segoe UI", Arial, sans-serif;
  --font-display: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.sr-only, .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

.pres-intro {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  flex-direction: column;
  justify-content: space-between;
  overflow: auto;
  padding: clamp(18px, 3.2vw, 46px) clamp(20px, 5vw, 76px) 20px;
  background: #080e16;
  color: #eee9dd;
  font-family: "Segoe UI", Arial, sans-serif;
}
.pres-intro-media { position: absolute; inset: 0; overflow: hidden; background: #0a111a; }
.pres-intro-media::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,11,17,.97) 0%, rgba(7,12,19,.83) 45%, rgba(7,12,19,.26) 100%), linear-gradient(0deg, rgba(5,9,14,.77), transparent 35%, rgba(5,9,14,.3)); content: ""; }
.pres-intro-photo, .pres-intro-illustration { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pres-intro-photo { object-position: center 45%; opacity: .63; filter: saturate(.58) contrast(1.12) brightness(.77); }
.pres-intro-illustration { opacity: .22; mix-blend-mode: screen; }
.pres-intro-header, .pres-intro-main, .pres-intro-footer { position: relative; z-index: 1; }
.pres-intro-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.pres-intro-brand { display: inline-flex; align-items: center; gap: 11px; color: #f5f0e5; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-decoration: none; }
.pres-intro-brand > span:last-child { display: grid; gap: 4px; }
.pres-intro-brand small { color: #a6a7a3; font-size: 8px; font-weight: 600; letter-spacing: .2em; }
.pres-intro-main { width: min(100%, 1120px); margin: auto auto auto clamp(0px, 8vw, 120px); padding: 40px 0; }
.pres-intro-main .pres-cover-overline { margin-top: 37px; }
.pres-intro-main h1 { margin: 0; color: #f4f0e6; font-family: Georgia, "Times New Roman", serif; font-size: clamp(64px, 9.5vw, 118px); font-weight: 400; letter-spacing: -.06em; line-height: .91; }
.pres-intro-main h1 em { color: #d0ad67; font-weight: 400; }
.pres-intro-lead { max-width: 470px; margin: 22px 0 0; color: #c2c4c4; font-size: clamp(14px, 1.4vw, 17px); line-height: 1.7; }
.pres-intro-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin: 25px 0 24px; color: #a4a7a4; font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.pres-intro-meta i, .pres-intro-footer i { width: 3px; height: 3px; border-radius: 50%; background: #b28c50; }
.pres-intro-start { min-height: 49px; padding: 0 20px; font-size: 12px; }
.pres-intro-footer { display: flex; justify-content: space-between; gap: 18px; color: #8d9292; font-size: 9px; line-height: 1.5; }
.pres-intro-footer span:first-child { color: #b8a47a; font-weight: 700; letter-spacing: .12em; white-space: nowrap; }
.pres-intro-footer i { display: inline-block; margin: 0 5px; vertical-align: middle; }
.security-back-button { display: block; margin-top: 15px; padding: 0; border: 0; background: transparent; color: #526b76; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.security-back-button:hover { color: #20394a; }

button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #78aaa1; outline-offset: 3px; }

.app-shell { min-height: 100vh; }

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 5;
  display: flex;
  width: 252px;
  flex-direction: column;
  overflow-y: auto;
  padding: 27px 17px 15px;
  color: #e5ecee;
  background: var(--navy);
}

.brand { display: flex; width: fit-content; align-items: center; gap: 11px; margin: 0 0 35px 7px; color: inherit; text-decoration: none; }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(220, 196, 152, .53); border-radius: 11px; color: #d3b77f; }
.brand-mark svg { width: 26px; height: 26px; }
.brand-copy { display: flex; flex-direction: column; gap: 1px; font-family: var(--font-display); letter-spacing: .13em; }
.brand-copy strong { color: #fff; font-size: 17px; font-weight: 800; line-height: 1.15; }
.brand-copy span { color: #c3b18e; font-size: 9px; font-weight: 600; letter-spacing: .22em; }
.brand-copy small { color: #94a3a6; font-size: 8px; font-weight: 500; letter-spacing: .08em; }
.workspace-label, .nav-section-label { color: #83929a; font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.workspace-label { margin: 0 0 10px 9px; }
.workspace-switcher { display: flex; height: 43px; align-items: center; gap: 9px; padding: 0 9px; border: 1px solid rgba(219, 232, 235, .13); border-radius: 7px; background: rgba(255,255,255,.035); }
.workspace-avatar { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 5px; background: #355a64; color: #e6eceb; font-size: 9px; font-weight: 700; }
.workspace-name { flex: 1; overflow: hidden; color: #e1e7e8; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.chevron { width: 15px; color: #8d9ba0; }
.navigation { padding-top: 31px; }
.nav-section-label { margin: 0 0 11px 9px; }
.nav-section-spaced { margin-top: 28px; }
.nav-item { display: flex; width: 100%; min-height: 41px; align-items: center; gap: 12px; margin: 2px 0; padding: 0 10px; border: 0; border-radius: 6px; background: transparent; color: #b7c3c6; text-align: left; transition: background .16s ease, color .16s ease; }
.nav-item:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav-item.is-active { background: #284354; color: #fff; box-shadow: inset 2px 0 #d0b77f; }
.nav-item svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.nav-item span:nth-child(2) { flex: 1; font-size: 12px; font-weight: 500; }
.nav-count { display: grid; min-width: 20px; height: 20px; place-items: center; border-radius: 5px; background: rgba(255,255,255,.08); color: #c0cbcc; font-size: 10px; }
.sidebar-bottom { margin-top: auto; }
.privacy-note { display: flex; gap: 9px; margin: 0 1px 14px; padding: 13px 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 7px; background: rgba(255,255,255,.035); }
.privacy-icon { flex: 0 0 auto; color: #a7c7b9; }
.privacy-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.3; }
.privacy-note p { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.privacy-note strong { color: #e4e9e7; font-size: 10px; font-weight: 600; }
.privacy-note p span { color: #96a4a8; font-size: 9px; line-height: 1.45; }
.profile-button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 12px 3px 4px; border: 0; border-top: 1px solid rgba(255,255,255,.12); background: transparent; color: inherit; text-align: left; }
.profile-avatar, .topbar-avatar { display: grid; width: 33px; height: 33px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #d2bd96; color: #34434a; font-family: var(--font-display); font-size: 13px; font-weight: 700; }
.profile-copy { display: flex; flex: 1; flex-direction: column; gap: 3px; }
.profile-copy strong { color: #e4e9e7; font-size: 10px; font-weight: 600; }
.profile-copy span { color: #93a2a5; font-size: 9px; }
.profile-menu { color: #93a2a5; font-size: 20px; letter-spacing: 1px; transform: translateY(-4px); }

.main-content { min-height: 100vh; margin-left: 252px; }
.topbar { display: flex; height: 67px; align-items: center; justify-content: space-between; padding: 0 4.3%; border-bottom: 1px solid #ededea; background: rgba(255,255,255,.66); }
.breadcrumb { display: flex; align-items: center; gap: 10px; color: #899197; font-size: 11px; }
.breadcrumb strong { color: #35434b; font-weight: 600; }
.breadcrumb-slash { color: #bec2c1; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.today-label { color: #78838b; font-size: 10px; }
.topbar-divider { width: 1px; height: 20px; background: #e8e9e5; }
.icon-button { position: relative; display: grid; width: 30px; height: 32px; place-items: center; border: 0; background: transparent; color: #68777e; }
.icon-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.notification-dot { position: absolute; top: 5px; right: 4px; width: 6px; height: 6px; border: 1px solid var(--paper); border-radius: 50%; background: #b7875c; }
.topbar-avatar { width: 29px; height: 29px; font-size: 11px; }
.mobile-menu { display: none; }
.page-container { max-width: 1390px; margin: 0 auto; padding: 39px 4.3% 20px; }
.welcome-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 11px; color: #71807e; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.eyebrow-line { width: 18px; height: 1px; background: var(--sand); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); }
h1 { margin-bottom: 8px; color: #20333e; font-size: clamp(25px, 2.3vw, 32px); font-weight: 700; letter-spacing: -.055em; line-height: 1.2; }
h1 span { color: #688078; font-weight: 500; }
.welcome-description { margin: 0; color: #7a8589; font-size: 12px; }
.button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; border-radius: 6px; font-size: 11px; font-weight: 600; transition: background .16s ease, transform .16s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { border: 1px solid var(--teal); background: var(--teal); color: #fff; box-shadow: 0 3px 8px rgba(47,120,109,.13); }
.button-primary:hover { border-color: var(--teal-dark); background: var(--teal-dark); }
.button-primary svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.7; }

.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-bottom: 21px; }
.stat-card { min-height: 151px; padding: 16px 18px 14px; border: 1px solid #eaeae6; border-radius: 8px; background: #fff; box-shadow: 0 2px 8px rgba(27,43,50,.018); }
.stat-top { display: flex; align-items: center; justify-content: space-between; }
.stat-icon { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 8px; }
.stat-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.stat-icon-navy { background: #edf2f2; color: #45636d; }
.stat-icon-sand { background: #f7f1e8; color: #a2804e; }
.stat-icon-green { background: #edf4ef; color: #598272; }
.stat-caption { color: #a0a6a4; font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.stat-value { margin: 10px 0 1px; color: #233843; font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -.05em; line-height: 1.1; }
.stat-value-text { margin-top: 7px; font-size: 17px; line-height: 1.12; }
.stat-label { color: #58656b; font-size: 10px; font-weight: 600; }
.stat-foot { display: flex; align-items: center; gap: 6px; margin-top: 10px; color: #9aa2a2; font-size: 9px; }
.quiet-dot { width: 5px; height: 5px; border-radius: 50%; background: #bdc5c1; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(255px, .9fr); align-items: start; gap: 19px; }
.primary-column, .secondary-column { min-width: 0; }
.start-card { position: relative; display: flex; min-height: 204px; overflow: hidden; align-items: center; justify-content: space-between; padding: 25px 28px; border: 1px solid #dfe7e2; border-radius: 8px; background: linear-gradient(108deg, #f1f5f0 0%, #f5f5ee 68%, #edf2ec 100%); }
.start-copy { position: relative; z-index: 1; max-width: 370px; }
.card-kicker { color: #71867d; font-size: 8px; font-weight: 700; letter-spacing: .13em; }
.start-card h2 { margin: 9px 0 8px; color: #243941; font-size: 20px; font-weight: 700; letter-spacing: -.045em; line-height: 1.28; }
.start-card p { max-width: 355px; margin-bottom: 13px; color: #727f7c; font-size: 10px; line-height: 1.6; }
.text-button, .resource-link, .subtle-button, .empty-action { padding: 0; border: 0; background: transparent; color: #2d7569; font-size: 10px; font-weight: 700; }
.text-button span, .subtle-button span, .empty-action span { margin-left: 5px; font-size: 14px; vertical-align: -1px; transition: margin .15s ease; }
.text-button:hover span, .subtle-button:hover span, .empty-action:hover span { margin-left: 9px; }
.timeline-illustration { position: relative; width: 218px; height: 138px; flex: 0 0 218px; margin: 0 2px 0 5px; opacity: .8; }
.timeline-line { position: absolute; top: 47px; right: 11px; left: 16px; height: 1px; background: #bacbc1; }
.timeline-circle { position: absolute; z-index: 1; top: 41px; width: 13px; height: 13px; border: 3px solid #f1f5f0; border-radius: 50%; box-shadow: 0 0 0 1px #91afa0; background: #668d7c; }
.circle-one { left: 10px; }.circle-two { left: 99px; background: #ba9c68; box-shadow: 0 0 0 1px #d5bc8e; }.circle-three { right: 8px; background: #526e7c; box-shadow: 0 0 0 1px #94a8ac; }
.timeline-card { position: absolute; top: 72px; left: 62px; display: flex; width: 96px; height: 45px; flex-direction: column; justify-content: center; gap: 6px; padding: 0 12px 0 20px; border: 1px solid #e2e8df; border-radius: 5px; background: rgba(255,255,255,.82); box-shadow: 0 5px 15px rgba(45,69,60,.06); }
.timeline-card span:not(.timeline-card-dot) { width: 61px; height: 3px; border-radius: 3px; background: #dce5dc; }
.timeline-card span:last-child { width: 39px; }
.timeline-card-dot { position: absolute; left: 9px; width: 5px; height: 5px; border-radius: 50%; background: #6a9681; }
.timeline-label { position: absolute; top: 23px; color: #798c81; font-size: 7px; font-weight: 700; letter-spacing: .08em; }
.label-one { left: 2px; }.label-two { left: 84px; }.label-three { right: -3px; }
.processes-section { margin-top: 23px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section-heading h2 { margin: 0 0 4px; color: #2b3b43; font-size: 14px; font-weight: 700; letter-spacing: -.025em; }
.section-heading p { margin: 0; color: #909899; font-size: 9px; }
.subtle-button { color: #6e7c7b; font-size: 9px; font-weight: 600; white-space: nowrap; }
.empty-processes { display: flex; min-height: 170px; flex-direction: column; align-items: center; justify-content: center; padding: 20px; border: 1px dashed #dfe3dd; border-radius: 7px; background: rgba(255,255,255,.53); text-align: center; }
.empty-icon { display: grid; width: 35px; height: 35px; place-items: center; margin-bottom: 9px; border-radius: 50%; background: #f0f3ee; color: #71867e; }
.empty-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.4; }
.empty-processes strong { margin-bottom: 4px; color: #506067; font-size: 10px; font-weight: 600; }
.empty-processes > span:not(.empty-icon) { color: #929b9b; font-size: 9px; }
.empty-action { margin-top: 11px; font-size: 9px; }
.process-list { overflow: hidden; border: 1px solid #e8e9e5; border-radius: 7px; background: white; }
.process-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #eff0ed; }
.process-row:last-child { border-bottom: 0; }
.process-row-main { min-width: 0; }
.process-row strong { display: block; overflow: hidden; color: #33464d; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.process-row span { display: block; margin-top: 4px; color: #8a9695; font-size: 9px; }
.process-row .process-warning { margin-top: 6px; color: #8d744b; line-height: 1.45; white-space: normal; }
.status-pill { flex: 0 0 auto; padding: 5px 8px; border-radius: 20px; background: #f7f1e5; color: #8e7448; font-size: 8px; font-weight: 600; }

.secondary-column { display: grid; gap: 14px; }
.attention-card { padding: 19px 18px 14px; border: 1px solid #ecdfc8; border-radius: 8px; background: #fbf7ef; }
.attention-heading { display: flex; align-items: center; gap: 7px; color: #9a7c4c; font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.attention-icon { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 6px; background: #f3ead8; }
.attention-icon svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.4; }
.attention-card h3 { margin: 13px 0 7px; color: #4a4134; font-size: 15px; font-weight: 700; letter-spacing: -.035em; line-height: 1.35; }
.attention-card > p { margin: 0; color: #827a6e; font-size: 9px; line-height: 1.65; }
.attention-rule { height: 1px; margin: 14px 0 10px; background: #eadfcf; }
.attention-foot { display: flex; align-items: flex-start; gap: 6px; color: #887b66; font-size: 8px; line-height: 1.45; }
.attention-foot svg { width: 13px; height: 13px; flex: 0 0 auto; fill: none; stroke: #9d8b6a; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.25; }
.resources-card { padding: 17px 17px 14px; border: 1px solid #e8e9e5; border-radius: 8px; background: #fff; }
.resources-title { display: flex; align-items: center; gap: 8px; }
.book-icon { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 7px; background: #eef2f1; color: #5e7779; }
.book-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.4; }
.resources-title h3 { margin: 0; color: #35454b; font-size: 11px; font-weight: 700; }
.resources-card > p { margin: 11px 0 10px; color: #828c8d; font-size: 9px; line-height: 1.65; }
.resource-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.resource-tags span { padding: 5px 7px; border: 1px solid #e7ece8; border-radius: 4px; background: #f7f9f6; color: #667772; font-size: 8px; }
.resource-link { display: flex; width: 100%; align-items: center; justify-content: space-between; margin-top: 13px; padding-top: 11px; border-top: 1px solid #eff0ed; text-align: left; }
.resource-link span { font-size: 12px; }
.source-note { display: block; margin-top: 7px; color: #a0a6a3; font-size: 8px; line-height: 1.4; }
.page-footer { display: flex; justify-content: space-between; gap: 14px; margin-top: 24px; padding-top: 12px; border-top: 1px solid #ededea; color: #a0a6a3; font-size: 8px; }
.footer-divider { padding: 0 3px; color: #c6b28c; }

.analysis-dialog { width: min(660px, calc(100vw - 32px)); max-height: min(92vh, 780px); padding: 0; overflow: auto; border: 1px solid #e5e8e3; border-radius: 10px; background: #fff; color: var(--ink); box-shadow: 0 24px 80px rgba(19,37,44,.25); }
.analysis-dialog::backdrop { background: rgba(17,35,43,.48); backdrop-filter: blur(2px); }
.analysis-form { padding: 27px 29px 22px; }
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.dialog-header h2 { margin: 7px 0 5px; color: #263c46; font-size: 22px; letter-spacing: -.04em; }
.dialog-header p { margin: 0; color: #7e898c; font-size: 10px; }
.dialog-close { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid #e8eae6; border-radius: 6px; background: #fff; color: #718084; font-size: 21px; line-height: 1; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 13px; }
.field { display: flex; min-width: 0; flex-direction: column; gap: 7px; color: #47575d; font-size: 10px; font-weight: 600; }
.field-wide, .form-section-label { grid-column: 1 / -1; }
.field-optional, .field-required { margin-left: 4px; color: #9ba4a3; font-size: 8px; font-weight: 400; }
.field-required { color: #a47d4f; }
.field input, .field textarea { width: 100%; min-height: 38px; padding: 9px 10px; border: 1px solid #e1e6e2; border-radius: 5px; background: #fdfdfb; color: #33434a; font-size: 10px; font-weight: 400; }
.field textarea { resize: vertical; line-height: 1.45; }
.field input::placeholder { color: #aeb6b4; }
.form-section-label { display: flex; align-items: center; justify-content: space-between; margin-top: 3px; padding-top: 15px; border-top: 1px solid #eff0ed; color: #78877f; font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.form-section-label span { color: #a1a8a4; font-size: 8px; font-weight: 400; letter-spacing: 0; }
.form-alert { margin-top: 17px; padding: 10px 12px; border: 1px solid #ebdfc9; border-radius: 5px; background: #fbf7ef; color: #786947; font-size: 9px; line-height: 1.55; }
.dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 15px; border-top: 1px solid #eff0ed; }
.dialog-footer > span { max-width: 285px; color: #9aa3a0; font-size: 8px; line-height: 1.5; }
.dialog-footer .button { min-height: 38px; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 10; max-width: min(360px, calc(100vw - 32px)); padding: 12px 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 7px; background: var(--navy); color: white; box-shadow: 0 8px 26px rgba(22,42,52,.2); font-size: 10px; line-height: 1.5; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

.security-gate { display: grid; min-height: 100vh; place-items: center; padding: 24px; background: radial-gradient(circle at 50% 35%, #f5f7f2, #f8f7f3 60%); }
.security-card { width: min(460px, 100%); padding: 32px; border: 1px solid #e4e8e2; border-radius: 12px; background: #fff; box-shadow: 0 18px 55px rgba(27,43,50,.08); }
.security-brand { margin: 0 0 28px; color: var(--ink); }
.security-brand .brand-copy strong { color: #233843; }
.security-card h1 { margin-bottom: 10px; font-size: 25px; }
.security-intro { margin-bottom: 20px; color: #748185; font-size: 11px; line-height: 1.65; }
.security-form { display: grid; gap: 13px; }
.security-form .field input { height: 42px; }
.security-form .button { width: 100%; margin-top: 4px; }
.security-status { min-height: 18px; margin: 12px 0 0; color: #5e756b; font-size: 10px; line-height: 1.5; }
.security-warning { margin-top: 15px; padding: 11px 12px; border: 1px solid #eadfcf; border-radius: 6px; background: #fbf7ef; color: #796c53; font-size: 9px; line-height: 1.55; }
.topbar-lock { min-height: 30px; }
.management-view { max-width: 1190px; }
.management-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.management-heading h1 { margin-bottom: 7px; }
.management-heading p { margin-bottom: 0; }
.management-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.management-toolbar { display: flex; align-items: center; gap: 10px; margin: 15px 0; }
.search-field { display: block; flex: 1; }
.search-field input { width: 100%; min-height: 40px; padding: 0 12px; border: 1px solid #e1e6e2; border-radius: 6px; background: #fff; color: #33434a; font: inherit; font-size: 10px; }
.search-field input::placeholder { color: #9da7a4; }
.import-backup-label { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.management-list { display: grid; gap: 9px; }
.management-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 17px; border: 1px solid #e8e9e5; border-radius: 7px; background: #fff; }
.management-row-details { min-width: 0; }
.management-row-details h2 { margin: 0 0 5px; overflow-wrap: anywhere; color: #33464d; font-size: 12px; }
.management-row-details p { margin: 3px 0; color: #69777a; font-size: 9px; line-height: 1.5; overflow-wrap: anywhere; }
.management-row-details .management-meta { color: #909b9a; }
.management-row-actions { display: flex; flex: 0 0 auto; gap: 7px; }
.danger-button { color: #8b5a50; }
.management-empty { margin: 0; padding: 22px; border: 1px dashed #dfe3dd; border-radius: 7px; color: #8b9696; background: rgba(255,255,255,.55); font-size: 10px; text-align: center; }
.history-section { margin-top: 26px; }
.history-list { display: grid; gap: 0; margin: 0; padding: 0; border: 1px solid #e8e9e5; border-radius: 7px; background: #fff; list-style: none; }
.history-entry { display: grid; grid-template-columns: 140px minmax(0,1fr); gap: 6px 12px; padding: 11px 14px; border-bottom: 1px solid #eff0ed; color: #667477; font-size: 9px; line-height: 1.45; }
.history-entry:last-child { border-bottom: 0; }
.history-entry time { color: #8c7958; }
.history-entry small { grid-column: 2; color: #97a09e; }
.client-options { display: grid; gap: 5px; max-height: 130px; overflow-y: auto; padding: 8px; border: 1px solid #e1e6e2; border-radius: 5px; background: #fdfdfb; }
.client-option { display: flex; align-items: center; gap: 8px; color: #536368; font-size: 10px; font-weight: 400; cursor: pointer; }
.client-option input { width: 14px; height: 14px; margin: 0; accent-color: var(--teal); }
.client-search { margin-bottom: 15px; }
.study-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 19px; }
.study-heading h1 { margin-bottom: 7px; }
.study-heading p { margin-bottom: 0; }
.study-actions, .study-bottom-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.study-index { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; padding: 12px 14px; border: 1px solid #e8e9e5; border-radius: 7px; background: #fff; }
.study-index strong { margin-right: 3px; color: #536368; font-size: 9px; }
.study-index a { padding: 6px 8px; border-radius: 4px; background: #f5f7f4; color: #55736b; font-size: 9px; text-decoration: none; }
.study-index a:hover { background: #edf3ee; color: #2f786d; }
.study-content { display: grid; gap: 12px; }
.study-card { scroll-margin-top: 20px; padding: 21px 23px; border: 1px solid #e8e9e5; border-radius: 8px; background: #fff; }
.study-card-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.study-number { display: grid; min-width: 31px; height: 31px; place-items: center; padding: 0 5px; border-radius: 7px; background: #eef3ef; color: #668075; font-size: 9px; font-weight: 700; }
.study-card-heading h2 { margin: 0; color: #2d4149; font-size: 15px; font-weight: 700; letter-spacing: -.025em; line-height: 1.4; }
.study-card > p, .study-subsection > p { margin: 0 0 10px; color: #5f6e72; font-size: 11px; line-height: 1.7; }
.study-card h3 { margin: 0 0 6px; color: #425b5c; font-size: 11px; font-weight: 700; }
.study-two-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0; }
.study-note { padding: 13px 14px; border: 1px solid #e5ebe6; border-radius: 6px; background: #f8faf7; }
.study-note p, .study-subsection > p:last-child { margin: 0; color: #687678; font-size: 10px; line-height: 1.65; }
.study-subsection { margin: 13px 0; padding: 14px 15px; border-left: 2px solid #c8a772; background: #fbfaf7; }
.study-subsection ul, .study-card > ul { margin: 8px 0 10px; padding-left: 19px; color: #5f6e72; font-size: 10px; line-height: 1.7; }
.study-example { padding: 10px 12px; border-radius: 5px; background: #f2f6f2; color: #526b61 !important; }
.study-articles { margin-top: 12px !important; padding-top: 10px; border-top: 1px solid #eff0ed; color: #7b725e !important; font-size: 9px !important; }
.study-table-wrap { overflow-x: auto; margin: 12px 0; }
.study-table { width: 100%; border-collapse: collapse; background: #fff; color: #56666b; font-size: 10px; text-align: left; }
.study-table caption { padding: 0 0 8px; color: #7b8785; font-size: 9px; text-align: left; }
.study-table th, .study-table td { padding: 9px 10px; border: 1px solid #e8e9e5; }
.study-table th { background: #f4f6f2; color: #4a605b; font-size: 9px; }
.study-causes { display: grid; gap: 8px; margin: 11px 0; padding-left: 20px; color: #5f6e72; font-size: 10px; line-height: 1.65; }
.study-case { border-color: #ecdfc8; background: #fffefa; }
.study-case blockquote { margin: 0 0 15px; padding: 13px 15px; border-left: 3px solid #c8a772; background: #fbf7ef; color: #6e6555; font-size: 11px; line-height: 1.7; }
.study-case > ul { margin-top: 8px; }
.study-warning { margin: 14px 0; padding: 12px 14px; border: 1px solid #ecdfc8; border-radius: 6px; background: #fbf7ef; color: #786947; font-size: 10px; line-height: 1.65; }
.study-bottom-actions { justify-content: flex-end; margin-top: 15px; }
.library-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.library-heading h1 { margin-bottom: 7px; }
.library-heading p { margin-bottom: 0; }
.library-local-notice { margin-bottom: 15px; }
.library-editor { margin-bottom: 15px; padding: 12px 14px; border: 1px solid #e8e9e5; border-radius: 7px; background: #fff; }
.library-editor > summary { color: #3e7568; font-size: 10px; font-weight: 700; cursor: pointer; }
.library-entry-form { padding-top: 16px; }
.library-form-status { min-height: 16px; margin: 10px 0 0; color: #8d744b; font-size: 10px; line-height: 1.5; }
.library-form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.library-layout { display: grid; grid-template-columns: 175px minmax(235px, .85fr) minmax(300px, 1.25fr); align-items: start; gap: 12px; }
.library-areas, .library-search-panel, .library-detail { min-width: 0; padding: 15px; border: 1px solid #e8e9e5; border-radius: 7px; background: #fff; }
.library-areas h2, .library-results-heading h2 { margin: 0; color: #35474e; font-size: 12px; }
#library-area-list { display: grid; gap: 3px; margin-top: 10px; }
.library-area-button { width: 100%; padding: 7px 8px; border: 0; border-radius: 4px; background: transparent; color: #6d7b7d; font-size: 9px; text-align: left; }
.library-area-button:hover, .library-area-button[aria-pressed="true"] { background: #eef3ef; color: #356e61; }
.library-search-label { display: block; margin-bottom: 6px; color: #47575d; font-size: 10px; font-weight: 600; }
#library-search { width: 100%; min-height: 39px; padding: 0 11px; border: 1px solid #e1e6e2; border-radius: 5px; background: #fdfdfb; color: #33434a; font-size: 10px; }
#library-search::placeholder { color: #a0aaa7; }
.library-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 10px 0 15px; }
.library-filters .field { font-size: 9px; }
.library-filters select, .library-entry-form select { min-height: 35px; padding: 0 8px; border: 1px solid #e1e6e2; border-radius: 5px; background: #fff; color: #526267; font-size: 9px; }
.library-results-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
#library-result-count { color: #99a19f; font-size: 8px; }
.library-results { display: grid; gap: 6px; max-height: 550px; overflow-y: auto; }
.library-result { display: grid; gap: 4px; width: 100%; padding: 10px; border: 1px solid #ebede9; border-radius: 5px; background: #fff; color: inherit; text-align: left; }
.library-result:hover, .library-result.is-selected { border-color: #b7cec0; background: #f7faf6; }
.library-result strong { color: #3d5455; font-size: 10px; line-height: 1.4; }
.library-result span { color: #788487; font-size: 9px; line-height: 1.45; }
.library-result small { color: #9a8b6d; font-size: 8px; }
.library-detail { min-height: 240px; }
.library-detail > h2 { margin: 6px 0 8px; color: #2d4149; font-size: 16px; line-height: 1.4; }
.library-detail > h3, .library-detail h3 { margin: 14px 0 6px; color: #425b5c; font-size: 10px; }
.library-detail > p, .library-selected-exercise > p { margin: 7px 0; color: #637275; font-size: 10px; line-height: 1.65; }
.library-detail-area, .library-content-type { display: inline-block; margin: 0 5px 0 0; padding: 4px 7px; border-radius: 20px; background: #f1f5f1; color: #688075; font-size: 8px; }
.library-detail-summary { color: #758181 !important; }
.library-explanation-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; }
.library-explanation-heading h3 { margin: 0 !important; }
.library-explanation-controls { display: flex; gap: 5px; }
.library-level-button, .library-related-button { padding: 6px 8px; border: 1px solid #e2e8e2; border-radius: 4px; background: #fff; color: #698077; font-size: 8px; }
.library-level-button[aria-pressed="true"] { border-color: #9eb9a8; background: #edf4ee; color: #356e61; }
.library-explanation { padding: 10px 11px; border-radius: 5px; background: #f7f9f6; }
.library-detail ul { margin: 6px 0 10px; padding-left: 18px; color: #637275; font-size: 9px; line-height: 1.65; }
.library-hypothetical, .library-selected-exercise { padding: 10px 11px; border-left: 2px solid #c8a772; background: #fbf8f1; }
.library-question, .library-selected-exercise details { margin: 6px 0; padding: 8px 9px; border: 1px solid #eceee9; border-radius: 4px; color: #536368; font-size: 9px; }
.library-question summary, .library-selected-exercise summary { cursor: pointer; font-weight: 600; }
.library-question p, .library-selected-exercise details p { margin: 7px 0 0; color: #718083; line-height: 1.6; }
.library-reference-list, .library-official-sources { display: grid; gap: 7px; margin-top: 7px; }
.library-reference-card, .library-source-card { display: grid; gap: 4px; padding: 9px; border: 1px solid #ebede9; border-radius: 5px; background: #fcfcfa; }
.library-reference-card a, .library-source-card a { color: #3d756a; font-size: 9px; font-weight: 700; overflow-wrap: anywhere; }
.library-reference-card p, .library-source-card p { margin: 0; color: #778385; font-size: 8px; line-height: 1.5; }
.library-reference-card code, .library-source-card code { color: #86928e; font-size: 8px; overflow-wrap: anywhere; }
.library-reference-card small, .library-source-card small { color: #9a8b6d; font-size: 8px; line-height: 1.4; }
.library-related-button { margin-top: 10px; }
.library-detail-empty { margin: 0 !important; color: #98a19e !important; font-size: 10px !important; }
.library-no-results { margin-top: 12px; padding: 12px; border: 1px solid #ecdfc8; border-radius: 6px; background: #fbf7ef; }
.library-no-results h3 { margin: 0 0 6px; color: #65573e; font-size: 10px; }
.library-no-results > p { margin: 0; color: #7d7567; font-size: 9px; line-height: 1.55; }
.library-integration-note { margin: 13px 0 0; color: #87918e; font-size: 9px; line-height: 1.6; }

@media (min-width: 1450px) {
  .page-container { padding-top: 47px; }
  .stats-grid { gap: 18px; }
  .stat-card { min-height: 160px; padding: 18px 20px; }
  .content-grid { gap: 22px; }
  .start-card { min-height: 225px; padding: 29px 33px; }
  .attention-card { padding: 22px 20px 16px; }
  .resources-card { padding: 20px 19px 16px; }
}

@media (max-width: 1120px) {
  .sidebar { width: 225px; padding-right: 14px; padding-left: 14px; }
  .main-content { margin-left: 225px; }
  .topbar { padding-right: 3.5%; padding-left: 3.5%; }
  .page-container { padding-right: 3.5%; padding-left: 3.5%; }
  .content-grid { grid-template-columns: minmax(0, 1.5fr) minmax(230px, .9fr); gap: 14px; }
  .start-card { padding-right: 19px; padding-left: 21px; }
  .timeline-illustration { width: 165px; flex-basis: 165px; transform: scale(.85); transform-origin: center right; }
}

@media (max-width: 850px) {
  .sidebar { width: 212px; }
  .main-content { margin-left: 212px; }
  .content-grid { grid-template-columns: 1fr; }
  .secondary-column { grid-template-columns: 1fr 1fr; }
  .timeline-illustration { width: 190px; flex-basis: 190px; }
  .page-footer { flex-direction: column; gap: 5px; }
  .library-layout { grid-template-columns: 150px minmax(0, 1fr); }
  .library-detail { grid-column: 2; }
}

@media (max-width: 1120px) {
  .library-layout { grid-template-columns: 150px minmax(0, 1fr); }
  .library-detail { grid-column: 2; }
}

@media (max-width: 650px) {
  .sidebar { width: 255px; box-shadow: 10px 0 30px rgba(16,35,43,.13); transform: translateX(-105%); transition: transform .22s ease; }
  .sidebar.is-open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .topbar { height: 58px; padding: 0 18px; }
  .mobile-menu { display: grid; width: 30px; height: 30px; place-items: center; padding: 0; border: 0; background: transparent; color: #52666d; }
  .mobile-menu svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.6; }
  .breadcrumb { margin-right: auto; margin-left: 12px; font-size: 10px; }
  .topbar-right { gap: 10px; }
  .today-label, .topbar-divider, .notification-button { display: none; }
  .page-container { padding: 28px 18px 20px; }
  .welcome-row { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 21px; }
  .welcome-row .button { width: 100%; }
  h1 { font-size: 26px; }
  .welcome-description { max-width: 340px; font-size: 11px; line-height: 1.6; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 15px; }
  .stat-card { min-height: 136px; padding: 13px; }
  .stat-card:last-child { grid-column: 1 / -1; min-height: 118px; }
  .stat-card:last-child .stat-value-text br { display: none; }
  .stat-value-text { margin: 8px 0 4px; }
  .stat-foot { margin-top: 8px; }
  .content-grid { gap: 15px; }
  .start-card { min-height: 215px; padding: 21px 19px; }
  .start-copy { max-width: 100%; }
  .start-card h2 { font-size: 19px; }
  .start-card p { max-width: 300px; }
  .timeline-illustration { position: absolute; right: -65px; bottom: -16px; width: 160px; margin: 0; opacity: .28; transform: scale(.88); }
  .processes-section { margin-top: 21px; }
  .section-heading { align-items: flex-start; }
  .section-heading p { max-width: 220px; line-height: 1.5; }
  .secondary-column { grid-template-columns: 1fr; }
  .attention-card, .resources-card { padding: 17px; }
  .page-footer { margin-top: 20px; line-height: 1.5; }
  .analysis-form { padding: 22px 18px 17px; }
  .form-grid { grid-template-columns: 1fr; gap: 13px; }
  .field-wide, .form-section-label { grid-column: auto; }
  .form-section-label { flex-direction: column; align-items: flex-start; gap: 5px; }
  .dialog-footer { align-items: stretch; flex-direction: column; }
  .dialog-footer > span { max-width: none; }
  .dialog-footer .button { width: 100%; }
  .security-gate { padding: 16px; }
  .security-card { padding: 24px 19px; }
  .management-heading { align-items: stretch; flex-direction: column; }
  .management-actions { align-items: stretch; flex-direction: column; }
  .management-actions > button { width: 100%; }
  .management-toolbar { align-items: stretch; flex-direction: column; }
  .study-heading { align-items: stretch; flex-direction: column; }
  .study-actions { align-items: stretch; flex-direction: column; }
  .study-actions > button, .study-bottom-actions > button { width: 100%; }
  .study-index { align-items: flex-start; }
  .study-two-columns { grid-template-columns: 1fr; }
  .study-card { padding: 17px 15px; }
  .library-heading { align-items: stretch; flex-direction: column; }
  .library-heading > button { width: 100%; }
  .library-layout { grid-template-columns: 1fr; }
  .library-detail { grid-column: auto; }
  .library-filters { grid-template-columns: 1fr; }
  .library-form-actions { align-items: stretch; flex-direction: column; }
  .library-form-actions > button { width: 100%; }
  .library-areas, .library-search-panel, .library-detail { padding: 12px; }
  #library-area-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .import-backup-label { min-height: 36px; }
  .management-row { align-items: flex-start; flex-direction: column; }
  .management-row-actions { width: 100%; }
  .management-row-actions button { flex: 1; }
  .history-entry { grid-template-columns: 1fr; gap: 4px; }
  .history-entry small { grid-column: auto; }
  .topbar-lock { min-height: 28px; padding: 0 7px; font-size: 8px; }
}

.calculator-view .page-container { max-width: 1190px; }
.calculator-heading, .result-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.calculator-heading h1 { margin-bottom: 7px; }
.calculator-heading p { margin: 0; color: #78858a; font-size: 11px; }
.calculator-heading .calculator-case-context { margin-top: 8px; color: #59756b; font-size: 9px; line-height: 1.5; }
.preliminary-badge { flex: 0 0 auto; padding: 7px 10px; border: 1px solid #e8dcc5; border-radius: 20px; background: #fbf6ed; color: #8d744c; font-size: 9px; font-weight: 700; }
.legal-notice, .result-safety-notice { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; padding: 13px 15px; border: 1px solid #eadfcf; border-left: 3px solid #bd9a62; border-radius: 6px; background: #fbf7ef; color: #72664e; font-size: 10px; line-height: 1.55; }
.legal-notice strong, .result-safety-notice strong { color: #5d5038; font-size: 10px; }
#calculator-form { display: grid; gap: 13px; }
.calc-card, .result-panel, .track-card { padding: 19px 20px; border: 1px solid #e7e9e4; border-radius: 8px; background: #fff; box-shadow: 0 2px 8px rgba(27,43,50,.018); }
.calc-card-heading { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 17px; }
.calc-step { display: grid; width: 27px; height: 27px; flex: 0 0 auto; place-items: center; border-radius: 7px; background: #eef3ef; color: #5e7b6e; font-family: var(--font-display); font-size: 10px; font-weight: 700; }
.calc-card-heading h2 { margin: 1px 0 4px; color: #2a3c43; font-size: 14px; font-weight: 700; letter-spacing: -.025em; }
.calc-card-heading p { margin: 0; color: #90999a; font-size: 9px; line-height: 1.5; }
.calc-fields { display: grid; gap: 14px 13px; }
.calc-fields-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.calc-field-span { grid-column: 1 / -1; }
.calc-card .field { font-size: 10px; }
.calc-card .field input, .calc-card .field select, .calc-card .field textarea, .event-row select, .event-row input { min-width: 0; width: 100%; min-height: 38px; padding: 0 10px; border: 1px solid #e1e6e2; border-radius: 5px; background: #fdfdfb; color: #33434a; font-size: 10px; font-weight: 400; }
.calc-card .field select, .event-row select { padding-right: 26px; }
.calc-card .field textarea { min-height: 62px; padding: 9px 10px; resize: vertical; line-height: 1.45; }
.calc-card .field input::placeholder, .calc-card .field textarea::placeholder { color: #aeb6b4; }
.article109-reference { margin-top: 15px; padding-top: 12px; border-top: 1px solid #eef0ec; }
.article109-reference summary { color: #3e7568; font-size: 9px; font-weight: 700; cursor: pointer; }
.reference-table-wrap { overflow-x: auto; margin-top: 11px; }
.reference-table-wrap table { width: 100%; border-collapse: collapse; color: #53636a; font-size: 9px; text-align: left; }
.reference-table-wrap caption { padding: 0 0 7px; color: #7d8988; text-align: left; }
.reference-table-wrap th, .reference-table-wrap td { padding: 7px 9px; border: 1px solid #e8ece8; }
.reference-table-wrap th { background: #f5f7f4; color: #46595b; font-weight: 700; }
.reference-note { margin: 8px 0 0; color: #87918f; font-size: 8px; line-height: 1.5; }
.field-help { margin: 13px 0 0; color: #8b9696; font-size: 9px; line-height: 1.6; }
.event-editor { padding-top: 15px; border-top: 1px solid #eef0ec; }
.event-editor + .event-editor { margin-top: 15px; }
.event-editor-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.event-editor-heading h3 { margin: 0 0 4px; color: #3a4b50; font-size: 11px; font-weight: 700; }
.event-editor-heading p { margin: 0; color: #929b9b; font-size: 9px; line-height: 1.45; }
.small-outline-button { flex: 0 0 auto; min-height: 31px; padding: 0 10px; border: 1px solid #dfe7e1; border-radius: 5px; background: #fff; color: #3e7568; font-size: 9px; font-weight: 600; }
.small-outline-button:hover { background: #f2f6f2; }
.event-list { display: grid; gap: 8px; margin-top: 11px; }
.event-row { display: grid; align-items: center; gap: 8px; }
.interruption-row { grid-template-columns: minmax(220px, 1fr) minmax(150px, .56fr) auto; }
.process-event-row { grid-template-columns: minmax(250px, 1fr) minmax(150px, .55fr) auto; }
.suspension-row { grid-template-columns: minmax(220px, 1.2fr) minmax(130px, .7fr) minmax(130px, .7fr) auto; }
.remove-event-button { min-height: 31px; padding: 0 8px; border: 1px solid #ece8e1; border-radius: 5px; background: #fff; color: #8a7263; font-size: 8px; }
.confirm-check { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; color: #69777a; font-size: 9px; font-weight: 500; line-height: 1.5; cursor: pointer; }
.confirm-check input { width: 14px; height: 14px; flex: 0 0 auto; margin: 0; accent-color: var(--teal); }
.verification-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px 16px; padding: 13px 14px; border: 1px solid #eef0ec; border-radius: 6px; background: #fbfcfa; }
.verification-grid .confirm-check { margin: 5px 0; }
.checklist-card { border-color: #dfe8e1; }
.calc-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 4px 1px 15px; }
.calc-actions p { max-width: 650px; margin: 0; color: #8b9696; font-size: 9px; line-height: 1.6; }
.calc-actions .button { flex: 0 0 auto; }
.calculation-results { display: grid; gap: 13px; padding-top: 6px; scroll-margin-top: 18px; }
.result-header { margin: 0; padding: 4px 1px; }
.result-header h2 { margin: 5px 0 0; color: #293d45; font-size: 19px; letter-spacing: -.035em; }
.report-actions { display: flex; align-items: center; gap: 9px; }
.result-safety-notice { margin-bottom: 0; }
.result-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.result-panel h3 { margin: 0 0 10px; color: #35474e; font-size: 11px; font-weight: 700; }
.result-panel ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.age-result-panel p { margin: 0 0 7px; color: #788486; font-size: 9px; line-height: 1.5; }
.age-result-panel p strong { color: #56676a; }
.age-result-panel .age-result-note { margin-top: 9px; padding-top: 8px; border-top: 1px solid #eef0ec; }
.result-panel li { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; color: #657276; font-size: 9px; line-height: 1.5; }
.result-reference { flex: 0 0 auto; color: #8e7958; font-size: 8px; }
.result-empty { color: #8a9695 !important; }
.track-results { display: grid; gap: 11px; }
.track-card { padding: 16px 18px; }
.track-heading, .scenario-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.track-heading h3 { margin: 0; color: #2e444c; font-size: 12px; font-weight: 700; }
.track-status, .scenario-status { display: inline-flex; width: fit-content; padding: 5px 8px; border-radius: 20px; background: #f0f3f0; color: #627568; font-size: 8px; font-weight: 700; line-height: 1.4; }
.status-possible_elapsed { background: #fbf2e7; color: #8c6841; }
.status-running { background: #edf5ef; color: #4c7661; }
.status-suspended, .status-stopped, .status-boundary_review, .status-scenario_review { background: #f4f0e8; color: #806f4c; }
.status-unavailable, .status-invalid { background: #f4eeee; color: #886b68; }
.track-articles { margin: 6px 0 0; color: #8f9998; font-size: 8px; }
.track-reason, .scenario-reason { margin: 9px 0 0; color: #788486; font-size: 9px; line-height: 1.55; }
.track-interval, .scenario-evidence { margin: 8px 0 0; color: #68787a; font-size: 8px; line-height: 1.55; }
.scenario-card { margin-top: 11px; padding: 12px; border: 1px solid #edf0eb; border-radius: 6px; background: #fcfcfa; }
.scenario-heading strong { color: #53636a; font-size: 9px; font-weight: 600; }
.scenario-term { flex: 0 0 auto; color: #354e53; font-family: var(--font-display); font-size: 10px; font-weight: 700; }
.scenario-deadline { margin: 8px 0; color: #66777a; font-size: 9px; }
.scenario-status { white-space: normal; }
.result-blocked { padding: 14px; border: 1px solid #e9dcc8; border-radius: 6px; background: #fbf7ef; color: #746449; font-size: 10px; line-height: 1.55; }
.timeline-panel { padding-bottom: 12px; }
.timeline-list { position: relative; display: grid; gap: 0; margin: 13px 0 0; padding: 0 0 0 10px; list-style: none; }
.timeline-item { position: relative; display: grid; grid-template-columns: minmax(130px, .34fr) minmax(155px, .44fr) minmax(0, 1fr); gap: 12px; padding: 0 0 15px 17px; border-left: 1px solid #dce5df; }
.timeline-item:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline-item::before { position: absolute; top: 2px; left: -4px; width: 7px; height: 7px; border: 1px solid white; border-radius: 50%; background: #6b9180; box-shadow: 0 0 0 1px #a9beb1; content: ""; }
.timeline-date { color: #637572; font-size: 9px; font-weight: 600; }
.timeline-interval { color: #9a8b70; font-size: 8px; line-height: 1.4; }
.timeline-detail { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.timeline-detail strong { color: #536166; font-size: 9px; font-weight: 600; }
.timeline-detail small { color: #9a8b70; font-size: 8px; }
.legal-sources { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 15px; padding: 13px 2px 4px; border-top: 1px solid #e9ebe7; color: #899393; font-size: 8px; }
.legal-sources strong { flex-basis: 100%; color: #617074; font-size: 9px; }
.legal-sources a { color: #44776d; font-size: 8px; text-decoration: none; }
.legal-sources a:hover { text-decoration: underline; }
.legal-sources > span { flex-basis: 100%; color: #9aa2a0; }

@media (max-width: 900px) {
  .calc-fields-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result-columns { grid-template-columns: 1fr 1fr; }
  .suspension-row { grid-template-columns: minmax(180px, 1fr) 1fr 1fr auto; }
}

@media (max-width: 650px) {
  .calculator-view .page-container { padding: 25px 16px 20px; }
  .calculator-heading, .result-header { align-items: flex-start; flex-direction: column; gap: 10px; }
  .calc-card, .result-panel, .track-card { padding: 15px 13px; }
  .calc-fields-three, .result-columns, .verification-grid { grid-template-columns: 1fr; }
  .calc-field-span { grid-column: auto; }
  .event-editor-heading { align-items: flex-start; flex-direction: column; }
  .interruption-row, .process-event-row, .suspension-row { grid-template-columns: 1fr; }
  .remove-event-button { justify-self: start; }
  .calc-actions { align-items: stretch; flex-direction: column; }
  .calc-actions .button { width: 100%; }
  .track-heading, .scenario-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
  .timeline-item { grid-template-columns: 1fr; gap: 4px; }
  .report-actions { align-items: flex-start; flex-direction: column; }
  .preliminary-badge { align-self: flex-start; }
}

@media print {
  @page { margin: 14mm; }
  body.printing-report { background: #fff; color: #111; font-size: 10pt; }
  body.printing-report .sidebar,
  body.printing-report .topbar,
  body.printing-report #dashboard-view,
  body.printing-report .calculator-heading,
  body.printing-report .legal-notice,
  body.printing-report #calculator-form,
  body.printing-report #print-report { display: none !important; }
  body.printing-report .main-content { min-height: 0; margin: 0; }
  body.printing-report .calculator-view .page-container { max-width: none; padding: 0; }
  body.printing-report #calculation-results { display: grid !important; gap: 8px; padding: 0; }
  body.printing-report .result-header { align-items: flex-start; }
  body.printing-report .result-safety-notice,
  body.printing-report .result-panel,
  body.printing-report .track-card { break-inside: avoid; border-color: #bbb; box-shadow: none; }
  body.printing-report .track-results { gap: 6px; }
  body.printing-report .scenario-card { break-inside: avoid; background: #fff; }
  body.printing-report .timeline-item { break-inside: avoid; }
  body.printing-report .legal-sources a { color: #222; }
  body.printing-report .legal-sources a::after { content: " (" attr(href) ")"; overflow-wrap: anywhere; }
}

#presentation-view {
  min-height: calc(100vh - 60px);
  padding: clamp(14px, 2.3vw, 30px);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 82% 4%, rgba(181, 138, 67, .1), transparent 34%),
    linear-gradient(145deg, #0c1521, #101c2a 52%, #0b121c);
  color: #eee9dd;
  font-family: "Segoe UI", Arial, sans-serif;
}

.app-shell.is-presenting { min-height: 100vh; min-height: 100dvh; }
.app-shell.is-presenting .sidebar,
.app-shell.is-presenting .topbar { display: none !important; }
.app-shell.is-presenting .main-content { width: 100%; min-height: 100vh; min-height: 100dvh; margin: 0; }
.app-shell.is-presenting #presentation-view {
  position: fixed;
  z-index: 30;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  padding: clamp(10px, 1.7vh, 20px) clamp(12px, 2.5vw, 34px);
  overflow: hidden;
}
.app-shell.is-presenting .pres-shell { display: flex; width: 100%; max-width: none; height: 100%; flex-direction: column; }
.app-shell.is-presenting .pres-topline { flex: 0 0 auto; margin-bottom: 10px; }
.app-shell.is-presenting .pres-stage { height: 0; min-height: 0; flex: 1 1 auto; }
.app-shell.is-presenting .pres-slide { padding: clamp(17px, 3vw, 44px); }
.app-shell.is-presenting .pres-navigation { flex: 0 0 auto; }
.app-shell.is-presenting .pres-final-footer { flex: 0 0 auto; }

.pres-shell { width: min(1500px, 100%); margin: 0 auto; }
.pres-topline { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 auto 15px; }
.pres-wordmark { display: flex; align-items: center; gap: 10px; color: #f5f0e5; font-size: 13px; font-weight: 800; letter-spacing: .16em; }
.pres-wordmark small { display: block; margin-top: 3px; color: #9da2a5; font-size: 8px; font-weight: 600; letter-spacing: .2em; }
.pres-emblem { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(202, 166, 99, .65); border-radius: 50%; color: #d3b16c; font-family: Georgia, serif; font-size: 22px; }
.pres-tools { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.pres-tool-button { min-height: 34px; padding: 0 11px; border: 1px solid rgba(206, 184, 142, .25); border-radius: 4px; background: rgba(255,255,255,.035); color: #d5d3cc; font-size: 10px; transition: border-color .2s, color .2s, background .2s; }
.pres-tool-button:hover { border-color: #b79659; background: rgba(199, 157, 83, .09); color: #f4e3bd; }
.pres-tool-button:focus-visible, .pres-nav-button:focus-visible, .pres-slide-dots button:focus-visible, .pres-hotspot:focus-visible { outline: 2px solid #e1bd73; outline-offset: 3px; }
.pres-exit { color: #b6b9b9; }
.pres-stage { position: relative; min-height: min(72vh, 710px); overflow: hidden; border: 1px solid rgba(203, 169, 104, .28); border-radius: 9px; background: #0c1521; box-shadow: 0 24px 70px rgba(0,0,0,.32); }
.pres-slide { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: clamp(14px, 2vh, 23px); padding: clamp(24px, 4vw, 58px); overflow: auto; background: radial-gradient(ellipse at 100% 0, rgba(174, 133, 66, .07), transparent 35%); }
.pres-slide[hidden] { display: none !important; }
.pres-slide.is-entering { animation: pres-slide-in .42s cubic-bezier(.2,.72,.26,1) both; }
.pres-slide.is-leaving { animation: pres-slide-out .18s ease both; pointer-events: none; }
@keyframes pres-slide-in { from { opacity: 0; transform: translateX(24px) scale(.99); } to { opacity: 1; transform: translateX(0) scale(1); } }
@keyframes pres-slide-out { to { opacity: 0; transform: translateX(-14px); } }
.pres-cover:not([hidden]) { display: grid; grid-template-columns: minmax(0, .92fr) minmax(330px, 1.08fr); align-items: center; gap: clamp(20px, 4vw, 55px); background: linear-gradient(90deg, rgba(9,15,23,.96) 0%, rgba(9,15,23,.82) 48%, rgba(9,15,23,.2) 100%); }
.pres-cover-copy { position: relative; z-index: 1; max-width: 610px; }
.pres-kicker, .pres-index, .pres-card-label { color: #c1a36a; font-size: 9px; font-weight: 700; letter-spacing: .2em; }
.pres-kicker { display: flex; align-items: center; gap: 9px; }
.pres-kicker > span { width: 26px; height: 1px; background: #c7a86a; }
.pres-cover-overline { margin: 30px 0 8px; color: #b8b8b0; font-size: 10px; letter-spacing: .25em; }
.pres-cover h1 { margin: 0; color: #f4f0e6; font-family: Georgia, "Times New Roman", serif; font-size: clamp(52px, 7.3vw, 98px); font-weight: 400; letter-spacing: -.055em; line-height: .96; }
.pres-cover h1 em, .pres-slide-heading h2 em { color: #d0ad67; font-weight: 400; }
.pres-lead { max-width: 440px; margin: 20px 0 0; color: #c2c4c4; font-size: clamp(13px, 1.3vw, 16px); line-height: 1.7; }
.pres-cover-definition { max-width: 470px; margin: 14px 0 0; padding-left: 12px; border-left: 2px solid #b38b4c; color: #aeb2b2; font-size: 11px; line-height: 1.65; }
.pres-cover-definition strong { color: #e2d4b8; font-weight: 600; }
.pres-cover-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 22px 0 23px; color: #969d9f; font-size: 8px; font-weight: 700; letter-spacing: .13em; }
.pres-cover-meta i { width: 3px; height: 3px; border-radius: 50%; background: #b28c50; }
.pres-gold-button { display: inline-flex; min-height: 43px; align-items: center; gap: 16px; padding: 0 17px; border: 1px solid #c5a15e; border-radius: 3px; background: linear-gradient(120deg, #b9965a, #8b6935); color: #101722; font-size: 11px; font-weight: 700; box-shadow: 0 6px 24px rgba(169, 125, 53, .16); transition: transform .2s, filter .2s; }
.pres-gold-button:hover { transform: translateY(-2px); filter: brightness(1.13); }
.pres-cover-art { position: relative; min-height: 395px; height: 100%; max-height: 540px; overflow: hidden; border: 1px solid rgba(207, 172, 103, .23); border-radius: 5px; background: #121b26; box-shadow: 0 24px 60px rgba(0,0,0,.32); }
.pres-cover-art::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,16,24,.35), transparent 56%), linear-gradient(0deg, rgba(6,10,16,.55), transparent 38%); content: ""; pointer-events: none; }
.pres-cover-art .pres-cover-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 47%; filter: saturate(.63) contrast(1.12) brightness(.76); }
.pres-cover-art .pres-cover-illustration { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .31; mix-blend-mode: screen; filter: saturate(.55) contrast(1.1); }
.pres-image-caption { position: absolute; z-index: 1; right: 14px; bottom: 13px; left: 14px; color: #d3c7ac; font-family: Georgia, serif; font-size: 12px; font-style: italic; text-shadow: 0 2px 8px #000; }
.pres-hotspot { position: absolute; z-index: 2; display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid rgba(244, 215, 159, .9); border-radius: 50%; background: rgba(180, 138, 67, .83); color: #171d25; font-size: 10px; font-weight: 800; box-shadow: 0 0 0 6px rgba(200, 163, 97, .16); animation: pres-hotspot-pulse 2.4s ease-in-out infinite; }
.hotspot-clock { top: 16%; right: 19%; }
.hotspot-scales { top: 43%; left: 48%; animation-delay: .35s; }
.hotspot-file { right: 22%; bottom: 22%; animation-delay: .7s; }
@keyframes pres-hotspot-pulse { 50% { box-shadow: 0 0 0 11px rgba(200, 163, 97, .04); } }
.pres-slide-heading { max-width: 900px; }
.pres-slide-heading h2 { margin: 8px 0 7px; color: #f2efe7; font-family: Georgia, "Times New Roman", serif; font-size: clamp(27px, 3.5vw, 45px); font-weight: 400; letter-spacing: -.035em; line-height: 1.12; }
.pres-slide-heading > p { max-width: 680px; margin: 0; color: #aab0b2; font-size: 12px; line-height: 1.65; }
.pres-concept-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pres-concept-card, .pres-type-card, .pres-deadline-aside, .pres-summary-card { padding: clamp(17px, 2.2vw, 27px); border: 1px solid rgba(188, 171, 137, .2); border-radius: 5px; background: linear-gradient(140deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); }
.pres-concept-card h3, .pres-type-card h3 { margin: 10px 0 8px; color: #eee9de; font-family: Georgia, "Times New Roman", serif; font-size: clamp(19px, 2.1vw, 26px); font-weight: 400; }
.pres-concept-card > p, .pres-type-card > p { max-width: 510px; margin: 0; color: #b1b5b4; font-size: 11px; line-height: 1.7; }
.pres-concept-feature { border-color: rgba(192, 154, 87, .35); background: linear-gradient(140deg, rgba(177, 137, 71, .12), rgba(255,255,255,.015)); }
.pres-highlight { display: grid; gap: 4px; margin-top: 17px; padding: 12px 13px; border-left: 2px solid #bf9b5b; background: rgba(197, 158, 89, .09); }
.pres-highlight strong { color: #e8d5ae; font-size: 11px; }
.pres-highlight span { color: #b0b3b0; font-size: 10px; line-height: 1.5; }
.pres-highlight-wide { grid-template-columns: auto 1fr; align-items: center; gap: 12px; }
.pres-inline-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 15px; padding: 0; border: 0; background: transparent; color: #d3b477; font-size: 10px; font-weight: 600; }
.pres-inline-link:hover { color: #f0d59e; }
.pres-bottom-note { display: flex; align-items: center; gap: 9px; color: #a8adad; font-size: 10px; }
.pres-pulse { width: 7px; height: 7px; border-radius: 50%; background: #d1ad66; box-shadow: 0 0 0 5px rgba(209,173,102,.12); }
.pres-hourglass { position: relative; display: inline-block; width: 27px; height: 34px; border-top: 2px solid #c5a05d; border-bottom: 2px solid #c5a05d; }
.pres-hourglass::before, .pres-hourglass::after { position: absolute; left: 2px; width: 19px; height: 15px; border-right: 2px solid #c5a05d; border-left: 2px solid #c5a05d; content: ""; }
.pres-hourglass::before { top: 1px; border-bottom: 2px solid #c5a05d; clip-path: polygon(0 0,100% 0,50% 100%); }
.pres-hourglass::after { bottom: 1px; border-top: 2px solid #c5a05d; clip-path: polygon(50% 0,100% 100%,0 100%); }
.pres-hourglass i { position: absolute; z-index: 1; top: 12px; left: 12px; width: 3px; height: 8px; background: #d1ae6d; transform-origin: top; animation: pres-sand-fall 2.4s linear infinite; }
.pres-hourglass b { position: absolute; bottom: 3px; left: 9px; width: 10px; height: 5px; border-radius: 50% 50% 2px 2px; background: #c79d55; animation: pres-sand-fill 2.4s linear infinite; }
@keyframes pres-sand-fall { 0%, 85% { opacity: 1; transform: scaleY(1); } 95%,100% { opacity: 0; transform: scaleY(.1); } }
@keyframes pres-sand-fill { 0%, 15% { transform: scaleX(.3); } 85%,100% { transform: scaleX(1); } }
.pres-icon { float: right; }
.pres-dual-grid { display: grid; grid-template-columns: 1fr 54px 1fr; align-items: stretch; gap: 10px; }
.pres-type-card { min-height: 235px; }
.pres-type-card-gold { border-color: rgba(198, 161, 91, .36); background: linear-gradient(145deg, rgba(176, 132, 60, .12), rgba(255,255,255,.015)); }
.pres-type-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #929b9d; font-size: 8px; font-weight: 700; letter-spacing: .15em; }
.pres-type-symbol { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid rgba(201, 168, 106, .42); border-radius: 50%; color: #d5b77b; font-family: Georgia, serif; font-size: 11px; }
.pres-info-dot { width: 18px; height: 18px; margin-left: 5px; border: 1px solid rgba(208, 174, 107, .55); border-radius: 50%; background: transparent; color: #e3c682; font-family: Georgia, serif; font-size: 11px; vertical-align: 2px; }
.pres-example { display: grid; gap: 4px; margin-top: 18px; padding-top: 12px; border-top: 1px solid rgba(225, 222, 209, .1); }
.pres-example strong { color: #d9c9a7; font-size: 9px; }
.pres-example span { color: #a3a9aa; font-size: 10px; line-height: 1.5; }
.pres-transition-mark { display: grid; align-content: center; justify-items: center; gap: 9px; color: #aa9976; font-size: 8px; letter-spacing: .1em; }
.pres-transition-mark i { width: 1px; height: 43px; background: linear-gradient(transparent, #a88952, transparent); }
.pres-exam-tip { display: grid; grid-template-columns: minmax(135px, .22fr) 1fr; align-items: center; gap: 14px; padding: 12px 15px; border: 1px solid rgba(200, 162, 89, .21); border-radius: 4px; background: rgba(194, 149, 70, .075); }
.pres-exam-tip > span { color: #d2b273; font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.pres-exam-tip p { margin: 0; color: #b7bbba; font-size: 10px; line-height: 1.5; }
.pres-deadline-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(220px, .55fr); gap: 14px; }
.pres-deadline-table { align-self: stretch; overflow: hidden; border: 1px solid rgba(202, 175, 123, .22); border-radius: 5px; background: rgba(255,255,255,.018); }
.pres-table-header, .pres-table-row { display: grid; grid-template-columns: 1fr 105px 48px; align-items: center; gap: 10px; padding: 10px 15px; }
.pres-table-header { min-height: 37px; background: rgba(194, 151, 77, .12); color: #c1ab7d; font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.pres-table-row { min-height: 39px; border-top: 1px solid rgba(223, 219, 207, .08); color: #c8c9c4; font-size: 10px; transition: background .2s; }
.pres-table-row strong { color: #e0c07b; font-family: Georgia, serif; font-size: 15px; font-weight: 400; }
.pres-table-row small { color: #9fa4a2; font-size: 9px; }
.pres-row-highlight { background: linear-gradient(90deg, rgba(192, 149, 72, .18), rgba(192, 149, 72, .035)); }
.pres-deadline-aside { padding: 16px; }
.pres-deadline-aside > p { margin: 12px 0 0; color: #adb2b1; font-size: 10px; line-height: 1.6; }
.pres-deadline-aside > p strong { color: #e3d2af; }
.pres-clock-art, .pres-glyph.pres-clock-art { position: relative; display: inline-grid; width: 43px; height: 43px; place-items: center; border: 1px solid rgba(204, 168, 101, .65); border-radius: 50%; }
.pres-clock-art::before, .pres-clock-art::after { position: absolute; top: 7px; left: 20px; width: 1px; height: 13px; background: #d7b46b; content: ""; transform-origin: bottom; animation: pres-clock-turn 8s linear infinite; }
.pres-clock-art::after { top: 20px; left: 20px; width: 11px; height: 1px; transform-origin: left; animation: none; }
.pres-clock-art i, .pres-clock-art b { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #ecd39e; }
.pres-clock-art b { top: -4px; width: 9px; height: 3px; border-radius: 2px; }
@keyframes pres-clock-turn { to { transform: rotate(360deg); } }
.pres-extinction-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pres-extinction-card { display: flex; min-height: 190px; flex-direction: column; align-items: flex-start; gap: 11px; padding: 18px; border: 1px solid rgba(202, 175, 123, .2); border-radius: 5px; background: rgba(255,255,255,.025); color: inherit; text-align: left; transition: border-color .2s, transform .2s, background .2s; }
.pres-extinction-card:hover { transform: translateY(-3px); border-color: rgba(217, 180, 107, .6); background: rgba(194, 149, 70, .08); }
.pres-extinction-card.is-emphasis { border-color: rgba(204, 165, 94, .42); background: linear-gradient(145deg, rgba(184, 138, 64, .12), rgba(255,255,255,.02)); }
.pres-extinction-card > strong { color: #ece5d7; font-family: Georgia, serif; font-size: 18px; font-weight: 400; }
.pres-extinction-card > small { color: #a9aeae; font-size: 9px; line-height: 1.5; }
.pres-card-action { margin-top: auto; color: #d2b373; font-size: 9px; }
.pres-glyph { display: grid; min-height: 34px; place-items: center; }
.pres-paper-art { position: relative; width: 28px; height: 34px; border: 1px solid #c1a36a; border-radius: 2px; transform: rotate(4deg); animation: pres-paper-shift 4s ease-in-out infinite; }
.pres-paper-art::before, .pres-paper-art::after { position: absolute; left: 5px; width: 16px; height: 1px; background: #c1a36a; content: ""; }
.pres-paper-art::before { top: 11px; box-shadow: 0 5px 0 rgba(193,163,106,.65), 0 10px 0 rgba(193,163,106,.45); }
.pres-paper-art::after { top: -4px; left: -4px; width: 25px; height: 32px; border: 1px solid rgba(193,163,106,.4); background: transparent; z-index: -1; }
@keyframes pres-paper-shift { 50% { transform: translateY(-3px) rotate(1deg); } }
.pres-cause-list, .pres-cause-compact { display: grid; gap: 9px; }
.pres-cause { display: grid; grid-template-columns: 43px 1fr 20px; align-items: center; gap: 14px; width: 100%; min-height: 70px; padding: 12px 16px; border: 1px solid rgba(202, 175, 123, .17); border-radius: 4px; background: rgba(255,255,255,.025); color: inherit; text-align: left; transition: border-color .18s, background .18s, transform .18s; }
.pres-cause:hover { transform: translateX(3px); border-color: rgba(208, 172, 102, .55); background: rgba(194, 149, 70, .075); }
.pres-cause-number { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(196, 159, 93, .5); border-radius: 50%; color: #d7b571; font-family: Georgia, serif; font-size: 13px; }
.pres-cause-copy { display: grid; gap: 4px; }
.pres-cause-copy strong { color: #e8e4da; font-size: 11px; font-weight: 600; }
.pres-cause-copy small { color: #a9aeae; font-size: 9px; line-height: 1.45; }
.pres-cause-arrow { color: #c9a765; font-size: 15px; }
.pres-visual-strip { display: flex; align-items: center; gap: 20px; padding: 12px 17px; border-left: 2px solid #ae874b; background: linear-gradient(90deg, rgba(187, 143, 69, .1), transparent); }
.pres-visual-strip p { margin: 0; color: #b4b8b6; font-size: 10px; line-height: 1.55; }
.pres-visual-strip p strong { color: #e0d1b3; }
.pres-document-stack { position: relative; display: block; width: 39px; height: 42px; flex: 0 0 auto; border: 1px solid #c2a269; background: rgba(205, 178, 123, .1); transform: rotate(-6deg); }
.pres-document-stack::before, .pres-document-stack::after { position: absolute; inset: 3px -4px -3px 4px; z-index: -1; border: 1px solid rgba(194, 162, 105, .6); background: #17202a; content: ""; }
.pres-document-stack::after { inset: 6px -8px -6px 8px; z-index: -2; }
.pres-document-stack i, .pres-document-stack b, .pres-document-stack em { position: absolute; top: 12px; left: 6px; width: 24px; height: 1px; background: #b99a61; }
.pres-document-stack b { top: 19px; width: 19px; }
.pres-document-stack em { top: 26px; width: 24px; }
.pres-revoked { display: flex; align-items: center; gap: 13px; padding: 10px 14px; border: 1px dashed rgba(160, 166, 166, .28); color: #a8adad; font-size: 10px; }
.pres-revoked-mark { color: #858e91; font-family: Georgia, serif; font-size: 12px; letter-spacing: .1em; text-decoration: line-through; }
.pres-revoked strong { color: #c4c0b4; }
.pres-case-slide { gap: 13px; }
.pres-case-layout { display: grid; grid-template-columns: minmax(225px, .75fr) minmax(340px, 1.25fr); gap: 14px; }
.pres-case-facts, .pres-case-timeline-wrap { padding: 16px; border: 1px solid rgba(194, 169, 123, .18); border-radius: 5px; background: rgba(255,255,255,.022); }
.pres-fact { display: grid; gap: 4px; margin-top: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(223, 219, 207, .08); }
.pres-fact span { color: #c1a36a; font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.pres-fact strong { color: #d3d4cf; font-size: 10px; font-weight: 500; line-height: 1.5; }
.pres-case-law { display: grid; gap: 5px; margin-top: 12px; padding: 10px; border-left: 2px solid #b99559; background: rgba(192, 149, 72, .08); }
.pres-case-law strong { color: #e2cfaa; font-size: 9px; }
.pres-case-law span { color: #b3b7b5; font-size: 9px; line-height: 1.5; }
.pres-timeline { display: grid; gap: 0; margin: 12px 0 0; padding: 0; list-style: none; }
.pres-timeline li { position: relative; min-height: 53px; padding-left: 24px; }
.pres-timeline li::before { position: absolute; top: 10px; bottom: -1px; left: 6px; width: 1px; background: linear-gradient(#a9874d, rgba(169,135,77,.18)); content: ""; }
.pres-timeline li:last-child::before { display: none; }
.pres-timeline-node { display: flex; align-items: flex-start; gap: 11px; width: 100%; padding: 3px 5px 8px; border: 0; border-radius: 3px; background: transparent; color: inherit; text-align: left; }
.pres-timeline-node:hover .pres-timeline-label strong { color: #e6ca8f; }
.pres-timeline-dot { position: absolute; top: 7px; left: 1px; width: 11px; height: 11px; border: 2px solid #bf9b5b; border-radius: 50%; background: #111b27; box-shadow: 0 0 0 4px rgba(191,155,91,.08); }
.pres-timeline-node.is-important .pres-timeline-dot { background: #d3ad65; box-shadow: 0 0 0 5px rgba(211,173,101,.15); }
.pres-timeline-label { display: grid; gap: 3px; }
.pres-timeline-label strong { color: #dedbd2; font-size: 10px; font-weight: 600; }
.pres-timeline-label small { color: #a4aaaa; font-size: 8px; line-height: 1.35; }
.pres-case-warning { display: flex; align-items: center; gap: 12px; padding: 10px 13px; border: 1px solid rgba(202, 156, 82, .35); border-radius: 4px; background: rgba(158, 112, 42, .12); }
.pres-case-warning > span { display: grid; width: 22px; height: 22px; flex: 0 0 auto; place-items: center; border: 1px solid #c69c58; border-radius: 50%; color: #dfbd7b; font-family: Georgia, serif; font-size: 13px; animation: pres-warning-glow 2.3s ease-in-out infinite; }
@keyframes pres-warning-glow { 50% { box-shadow: 0 0 15px rgba(221,177,99,.3); } }
.pres-case-warning p { margin: 0; color: #c1bba9; font-size: 9px; line-height: 1.5; }
.pres-case-warning strong { color: #e9d8b5; }
.pres-summary-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.pres-summary-card { width: 100%; max-width: 1100px; margin: 0 auto; }
.pres-summary-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 10px 0 0; padding: 0; list-style: none; }
.pres-summary-steps li { display: flex; align-items: center; gap: 11px; min-height: 48px; border-bottom: 1px solid rgba(223, 219, 207, .08); }
.pres-summary-steps li > span { color: #c7a260; font-family: Georgia, serif; font-size: 14px; }
.pres-summary-steps p { display: grid; gap: 3px; margin: 0; }
.pres-summary-steps strong { color: #e6e2d9; font-size: 10px; font-weight: 600; }
.pres-summary-steps small { color: #a8aeae; font-size: 9px; }
.pres-summary-warning { margin-top: 12px; padding: 10px; border-left: 2px solid #c29a56; background: rgba(191, 147, 70, .09); color: #b9b9b2; font-size: 9px; line-height: 1.5; }
.pres-summary-warning strong { color: #e5d3ae; }
.pres-sources { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 9px; border-top: 1px solid rgba(223, 219, 207, .1); color: #929a9c; font-size: 8px; }
.pres-sources > span:first-child { color: #c1a36a; font-weight: 700; letter-spacing: .1em; }
.pres-sources > span:last-child { margin-left: auto; }
.pres-sources a { color: #d7bc82; text-decoration: none; }
.pres-sources a:hover { text-decoration: underline; }
.pres-navigation { display: grid; grid-template-columns: 1fr minmax(170px, 1.25fr) 1fr; align-items: center; gap: 14px; min-height: 51px; }
.pres-nav-button { display: inline-flex; width: fit-content; min-height: 34px; align-items: center; gap: 10px; padding: 0 12px; border: 1px solid rgba(206, 184, 142, .25); border-radius: 3px; background: rgba(255,255,255,.025); color: #c8c9c3; font-size: 10px; transition: border-color .2s, color .2s; }
.pres-nav-next { justify-self: end; border-color: rgba(199, 162, 94, .5); color: #e3c786; }
.pres-nav-button:hover:not(:disabled) { border-color: #c49c59; color: #f2dfb6; }
.pres-nav-button:disabled { opacity: .4; cursor: not-allowed; }
.pres-nav-center { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 11px; }
.pres-progress { height: 2px; overflow: hidden; background: rgba(222, 219, 208, .15); }
.pres-progress span { display: block; width: 12.5%; height: 100%; background: linear-gradient(90deg, #98713c, #e1bd75); transition: width .3s ease; }
.pres-slide-dots { display: flex; align-items: center; justify-content: center; gap: 6px; }
.pres-slide-dots button { width: 7px; height: 7px; padding: 0; border: 1px solid rgba(211, 184, 133, .45); border-radius: 50%; background: transparent; transition: width .2s, border-radius .2s, background .2s; }
.pres-slide-dots button[aria-current="true"] { width: 20px; border-color: #d3ad67; border-radius: 5px; background: #d3ad67; }
.pres-slide-count { grid-column: 2; grid-row: 1; color: #a8a9a3; font-size: 8px; letter-spacing: .1em; white-space: nowrap; }
.pres-final-footer { display: flex; justify-content: space-between; gap: 14px; color: #788187; font-size: 8px; line-height: 1.4; }
.pres-final-footer i { color: #b08a4d; font-style: normal; }
.pres-dialog { width: min(480px, calc(100vw - 30px)); padding: 0; border: 1px solid rgba(204, 166, 99, .55); border-radius: 6px; background: #101a26; color: #ece7da; box-shadow: 0 25px 90px rgba(0,0,0,.55); }
.pres-dialog::backdrop { background: rgba(2, 6, 11, .77); backdrop-filter: blur(5px); }
.pres-dialog-card { position: relative; padding: 28px; }
.pres-dialog-close { position: absolute; top: 13px; right: 13px; width: 28px; height: 28px; border: 1px solid rgba(206,184,142,.25); border-radius: 50%; background: transparent; color: #d6bd89; font-size: 18px; }
.pres-dialog-card h2 { margin: 12px 25px 8px 0; color: #e7d4ad; font-family: Georgia, serif; font-size: 23px; font-weight: 400; }
.pres-dialog-card p { margin: 0; color: #c0c3c0; font-size: 12px; line-height: 1.7; }
#presentation-view:fullscreen { width: 100vw; height: 100vh; height: 100dvh; min-height: 100dvh; padding: clamp(10px, 1.7vh, 20px) clamp(12px, 2.5vw, 34px); overflow: hidden; background: #0b131e; }
#presentation-view:fullscreen .pres-shell { display: flex; width: 100%; max-width: none; height: 100%; flex-direction: column; }
#presentation-view:fullscreen .pres-topline { flex: 0 0 auto; margin-bottom: 10px; }
#presentation-view:fullscreen .pres-stage { height: 0; min-height: 0; flex: 1 1 auto; }
#presentation-view:fullscreen .pres-slide { padding: clamp(17px, 3vw, 44px); }
#presentation-view:fullscreen .pres-cover-art { max-height: 100%; }

@media (max-width: 900px) {
  #presentation-view { padding: 15px; }
  .pres-stage { min-height: 700px; }
  .pres-cover:not([hidden]) { grid-template-columns: 1fr 1fr; }
  .pres-cover-art { min-height: 330px; }
  .pres-case-layout { grid-template-columns: minmax(190px, .75fr) minmax(280px, 1.25fr); }
}

@media (max-width: 650px) {
  .pres-intro { padding: 18px 20px 14px; }
  .pres-intro-brand { font-size: 11px; }
  .pres-intro-brand small { font-size: 7px; }
  .pres-intro-header .pres-tool-button { min-height: 32px; padding: 0 8px; font-size: 8px; }
  .pres-intro-main { margin-left: 0; padding: 28px 0; }
  .pres-intro-main .pres-cover-overline { margin-top: 25px; }
  .pres-intro-main h1 { font-size: clamp(61px, 17vw, 88px); }
  .pres-intro-lead { max-width: 360px; font-size: 13px; }
  .pres-intro-meta { gap: 7px; font-size: 7px; }
  .pres-intro-footer { flex-direction: column; gap: 5px; font-size: 8px; }
  #presentation-view { min-height: calc(100vh - 58px); padding: 12px; }
  .pres-topline { align-items: flex-start; }
  .pres-wordmark { font-size: 11px; }
  .pres-wordmark small { max-width: 140px; font-size: 7px; line-height: 1.4; }
  .pres-tools { max-width: 190px; }
  .pres-tool-button { min-height: 31px; padding: 0 8px; font-size: 8px; }
  .pres-stage { min-height: 750px; border-radius: 5px; }
  .pres-slide { justify-content: flex-start; padding: 22px 17px; }
  .pres-cover:not([hidden]) { grid-template-columns: 1fr; align-content: start; gap: 15px; }
  .pres-cover-overline { margin-top: 12px; }
  .pres-cover h1 { font-size: clamp(49px, 14vw, 72px); }
  .pres-lead { margin-top: 12px; font-size: 12px; }
  .pres-cover-definition { margin-top: 9px; font-size: 10px; }
  .pres-cover-meta { margin: 13px 0; gap: 6px; font-size: 7px; }
  .pres-cover-art { min-height: 225px; height: 225px; }
  .pres-slide-heading h2 { font-size: 29px; }
  .pres-slide-heading > p { font-size: 10px; }
  .pres-concept-grid, .pres-summary-layout { grid-template-columns: 1fr; }
  .pres-summary-steps { grid-template-columns: 1fr; }
  .pres-concept-card { padding: 16px; }
  .pres-dual-grid { grid-template-columns: 1fr; }
  .pres-type-card { min-height: 0; padding: 16px; }
  .pres-transition-mark { display: flex; justify-content: center; }
  .pres-transition-mark i { width: 42px; height: 1px; background: linear-gradient(90deg, transparent, #a88952, transparent); }
  .pres-exam-tip { grid-template-columns: 1fr; gap: 6px; }
  .pres-deadline-layout { grid-template-columns: 1fr; }
  .pres-table-header, .pres-table-row { grid-template-columns: 1fr 73px 24px; gap: 5px; padding-right: 9px; padding-left: 9px; }
  .pres-table-header { font-size: 7px; }
  .pres-table-row { font-size: 9px; }
  .pres-table-row strong { font-size: 13px; }
  .pres-deadline-aside { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; }
  .pres-deadline-aside .pres-card-label { grid-column: 1 / -1; }
  .pres-deadline-aside .pres-clock-art { grid-column: 2; grid-row: 2 / span 2; align-self: center; }
  .pres-deadline-aside .pres-inline-link { grid-column: 1 / -1; }
  .pres-extinction-row { grid-template-columns: 1fr; }
  .pres-extinction-card { min-height: 0; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 13px; }
  .pres-extinction-card .pres-card-label, .pres-extinction-card > strong, .pres-extinction-card > small, .pres-extinction-card .pres-card-action { grid-column: 1; }
  .pres-extinction-card .pres-glyph { grid-column: 2; grid-row: 1 / span 3; }
  .pres-extinction-card > small { margin-top: -3px; }
  .pres-card-action { margin-top: 2px; }
  .pres-cause { grid-template-columns: 34px 1fr 14px; gap: 9px; padding: 10px; }
  .pres-cause-number { width: 30px; height: 30px; font-size: 11px; }
  .pres-cause-copy strong { font-size: 10px; }
  .pres-cause-copy small { font-size: 8px; }
  .pres-visual-strip { gap: 14px; padding: 10px; }
  .pres-case-layout { grid-template-columns: 1fr; }
  .pres-case-facts, .pres-case-timeline-wrap { padding: 12px; }
  .pres-case-warning { align-items: flex-start; }
  .pres-case-warning p { font-size: 8px; }
  .pres-summary-card { padding: 13px; }
  .pres-sources { align-items: flex-start; flex-direction: column; gap: 6px; }
  .pres-sources > span:last-child { margin-left: 0; }
  .pres-navigation { grid-template-columns: auto 1fr auto; gap: 7px; }
  .pres-nav-button { min-height: 32px; gap: 5px; padding: 0 8px; font-size: 8px; }
  .pres-nav-center { grid-template-columns: 1fr; gap: 7px; }
  .pres-progress { display: none; }
  .pres-slide-count { grid-column: auto; grid-row: auto; text-align: center; }
  .pres-slide-dots { gap: 4px; }
  .pres-slide-dots button { width: 5px; height: 5px; }
  .pres-slide-dots button[aria-current="true"] { width: 13px; }
  .pres-final-footer { flex-direction: column; gap: 4px; }
  #presentation-view:fullscreen { padding: 10px; }
  #presentation-view:fullscreen .pres-stage { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  #presentation-view *, #presentation-view *::before, #presentation-view *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Professional 16:9 presentation mode */
#presentation-view {
  position: fixed;
  z-index: 100;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  padding: 16px 28px 12px;
  background: #09111b;
  color: #eee9dc;
}
#presentation-view.app-shell { margin: 0; }
#presentation-view .pres-shell {
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: column;
}
#presentation-view .pres-stage {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  align-self: center;
}
#presentation-view .pres-slide {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: clamp(22px, 3.2vh, 48px) clamp(30px, 4.5vw, 74px);
  overflow: auto;
  background:
    radial-gradient(circle at 86% 12%, rgba(185,145,74,.08), transparent 23%),
    linear-gradient(135deg, #111c29 0%, #09111b 68%, #081019 100%);
}
#presentation-view .pres-slide.is-entering { animation: pres-enter .28s ease-out; }
@keyframes pres-enter { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
#presentation-view .pres-topline {
  flex: 0 0 auto;
  min-height: 42px;
  margin-bottom: 8px;
}
#presentation-view .pres-navigation {
  flex: 0 0 auto;
  min-height: 48px;
  max-width: 1680px;
  width: 100%;
  margin: 0 auto;
}
#presentation-view .pres-final-footer { display: none; }
#presentation-view .pres-card-label,
#presentation-view .pres-index { color: #c4a466; font-size: 9px; font-weight: 800; letter-spacing: .16em; }
#presentation-view .pres-slide-heading { margin-bottom: clamp(12px, 2.2vh, 26px); }
#presentation-view .pres-slide-heading h2 { font-size: clamp(28px, 3.15vw, 54px); }
#presentation-view .pres-cover-slide {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(24px, 4vw, 70px);
  align-items: center;
}
#presentation-view .pres-cover-copy h1 {
  margin: 10px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  color: #f4efdf;
  font-size: clamp(58px, 7.2vw, 118px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .88;
}
#presentation-view .pres-cover-copy h1 em { color: #d1ad67; font-style: normal; }
#presentation-view .pres-subtitle { max-width: 630px; color: #cfd1cd; font-size: clamp(16px, 1.45vw, 24px); line-height: 1.45; }
#presentation-view .pres-question {
  width: min(620px, 100%);
  min-height: 64px;
  margin-top: clamp(14px, 3vh, 38px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(212,177,111,.36);
  border-left: 3px solid #c4a05e;
  border-radius: 4px;
  padding: 12px 16px;
  background: rgba(188,145,73,.08);
  color: #eadab8;
  text-align: left;
  font-size: clamp(12px, 1.1vw, 17px);
}
#presentation-view .pres-question span { font-size: 24px; }
#presentation-view .pres-cover-art {
  position: relative;
  height: min(68vh, 620px);
  max-height: 70%;
  overflow: hidden;
  border: 1px solid rgba(211,181,128,.22);
  border-radius: 4px;
  box-shadow: 0 30px 70px rgba(0,0,0,.26);
}
#presentation-view .pres-cover-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 45%, rgba(6,11,17,.75));
}
#presentation-view .pres-cover-art img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.52) contrast(1.08) brightness(.72); }
#presentation-view .pres-art-caption { position: absolute; z-index: 2; left: 18px; bottom: 16px; color: #d2b778; font-size: 8px; letter-spacing: .14em; }
#presentation-view .pres-two-col { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(12px, 2vw, 28px); }
#presentation-view .pres-content-card { padding: clamp(16px, 2.2vh, 28px); border: 1px solid rgba(208,180,128,.16); background: rgba(255,255,255,.025); }
#presentation-view .pres-content-card p { color: #c1c4c1; font-size: clamp(11px, 1vw, 16px); line-height: 1.65; }
#presentation-view .pres-content-card p strong { color: #eadbb8; }
#presentation-view .pres-gold-card { background: linear-gradient(145deg, rgba(190,148,75,.12), rgba(255,255,255,.018)); }
#presentation-view .pres-checklist { list-style: none; margin: 10px 0 0; padding: 0; }
#presentation-view .pres-checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid rgba(218,205,177,.09); }
#presentation-view .pres-checklist li > span { color: #d3b268; }
#presentation-view .pres-checklist p { margin: 0; }
#presentation-view .pres-example-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: clamp(10px, 2vh, 18px); }
#presentation-view .pres-example-row button { position: relative; min-height: 82px; display: grid; gap: 5px; padding: 13px 44px 13px 15px; border: 1px solid rgba(210,179,120,.18); border-radius: 4px; background: rgba(255,255,255,.025); color: inherit; text-align: left; }
#presentation-view .pres-example-row button strong { color: #e7d4aa; font-size: 11px; }
#presentation-view .pres-example-row button span { color: #adb4b3; font-size: 10px; line-height: 1.45; }
#presentation-view .pres-example-row button b { position: absolute; right: 15px; top: 14px; color: #c6a25e; font-size: 18px; }
#presentation-view .pres-example-row [data-expand-example] span { display: none; }
#presentation-view .pres-example-row [data-expand-example].is-open span { display: block; }
#presentation-view .pres-modalities { display: grid; grid-template-columns: 1fr 42px 1fr; align-items: stretch; gap: 8px; }
#presentation-view .pres-mode-card { min-height: 330px; display: grid; align-content: start; gap: 10px; position: relative; padding: 24px; border: 1px solid rgba(201,173,123,.18); border-radius: 5px; background: rgba(255,255,255,.025); color: inherit; text-align: left; }
#presentation-view .pres-mode-gold { background: linear-gradient(145deg, rgba(185,142,70,.12), rgba(255,255,255,.018)); }
#presentation-view .pres-mode-number { color: #bda06a; font-family: Georgia, serif; }
#presentation-view .pres-mode-icon { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(207,174,111,.38); border-radius: 50%; color: #dbc17f; font-family: Georgia, serif; font-size: 22px; }
#presentation-view .pres-mode-card strong { color: #eee8d9; font-family: Georgia, serif; font-size: clamp(19px, 1.8vw, 28px); }
#presentation-view .pres-mode-card p { margin: 0; color: #b7bcba; font-size: 12px; line-height: 1.55; }
#presentation-view .pres-mode-card small { color: #d2bd91; font-size: 10px; line-height: 1.5; }
#presentation-view .pres-mode-card em { margin-top: auto; color: #c6a45f; font-size: 10px; font-style: normal; }
#presentation-view .pres-mode-arrow { display: grid; place-items: center; color: #b99150; }
#presentation-view .pres-compare { display: grid; grid-template-columns: 150px 1fr 1fr; margin-top: 12px; border: 1px solid rgba(205,176,125,.13); }
#presentation-view .pres-compare > span { display: grid; place-items: center; color: #c5a567; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
#presentation-view .pres-compare div { padding: 9px 12px; border-left: 1px solid rgba(205,176,125,.12); }
#presentation-view .pres-compare strong { color: #e1d3b3; font-size: 10px; }
#presentation-view .pres-compare p { display: inline; margin: 0 0 0 8px; color: #adb2b0; font-size: 9px; }
#presentation-view .pres-table-wrap { display: grid; grid-template-columns: 1fr 280px; gap: 14px; }
#presentation-view .pres-table { display: grid; border: 1px solid rgba(206,177,126,.18); }
#presentation-view .pres-table button { display: grid; grid-template-columns: 1fr 110px 44px; align-items: center; min-height: 54px; padding: 0 16px; border: 0; border-top: 1px solid rgba(221,209,183,.08); background: transparent; color: #cdd0cb; text-align: left; }
#presentation-view .pres-table button:first-child { border-top: 0; }
#presentation-view .pres-table button:hover { background: rgba(195,151,78,.08); }
#presentation-view .pres-table button.is-highlight { background: rgba(196,153,79,.12); border-left: 2px solid #c8a264; }
#presentation-view .pres-table button strong { color: #dfbd73; font-family: Georgia, serif; font-size: 18px; }
#presentation-view .pres-table button b { color: #9fa9a8; font-size: 10px; }
#presentation-view .pres-table-wrap aside { position: relative; padding: 18px; border: 1px solid rgba(205,175,124,.18); background: rgba(255,255,255,.022); }
#presentation-view .pres-table-wrap aside p { color: #b3b7b4; font-size: 10px; line-height: 1.6; }
#presentation-view .pres-table-wrap aside button { width: 100%; display: flex; justify-content: space-between; margin-top: 10px; padding: 10px 0 0; border: 0; border-top: 1px solid rgba(211,184,133,.12); background: transparent; color: #d1b270; font-size: 9px; }
#presentation-view .pres-clock-mark { width: 58px; height: 58px; margin: 14px 0 10px; display: grid; place-items: center; border: 1px solid #b99a60; border-radius: 50%; color: #dfbf7b; font-family: Georgia, serif; font-size: 22px; }
#presentation-view .pres-count-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 14px; }
#presentation-view .pres-timeline-card { padding: 16px; border: 1px solid rgba(205,175,124,.16); }
#presentation-view .pres-line { height: 28px; display: flex; align-items: center; justify-content: space-around; margin: 8px 0 4px; background: linear-gradient(#bda164,#bda164) center/70% 1px no-repeat; }
#presentation-view .pres-line i { width: 11px; height: 11px; border: 2px solid #bda164; border-radius: 50%; background: #101923; }
#presentation-view .pres-timeline-card > button { width: 100%; display: flex; justify-content: space-between; padding: 9px 10px; border: 0; border-bottom: 1px solid rgba(217,205,178,.08); background: transparent; color: #e1dcca; font-size: 10px; }
#presentation-view .pres-timeline-card > button span { color: #aeb4b2; font-size: 9px; }
#presentation-view .pres-count-types { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#presentation-view .pres-count-types button { display: grid; gap: 5px; padding: 12px; border: 1px solid rgba(205,175,124,.15); background: rgba(255,255,255,.02); color: inherit; text-align: left; }
#presentation-view .pres-count-types strong { color: #dfcda8; font-size: 10px; }
#presentation-view .pres-count-types span { color: #adb3b1; font-size: 9px; line-height: 1.45; }
#presentation-view .pres-stop-interrupt { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
#presentation-view .pres-stop-interrupt button { min-height: 64px; display: grid; grid-template-columns: 130px 1fr; align-items: center; padding: 10px 14px; border: 1px solid rgba(205,175,124,.16); background: rgba(188,145,73,.07); color: inherit; text-align: left; }
#presentation-view .pres-stop-interrupt strong { color: #cdb16f; font-size: 9px; letter-spacing: .12em; }
#presentation-view .pres-stop-interrupt span { color: #b9bdb9; font-size: 10px; }
#presentation-view .pres-stop-interrupt em { color: #e3c985; }
#presentation-view .pres-causes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
#presentation-view .pres-causes-grid button { min-height: 128px; display: grid; align-content: start; gap: 7px; padding: 13px; border: 1px solid rgba(205,175,124,.15); background: rgba(255,255,255,.022); color: inherit; text-align: left; }
#presentation-view .pres-causes-grid button:nth-last-child(1) { grid-column: span 2; }
#presentation-view .pres-causes-grid button > span { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(209,176,112,.42); border-radius: 50%; color: #d2b574; font-family: Georgia, serif; }
#presentation-view .pres-causes-grid strong { color: #e6dfd0; font-family: Georgia, serif; font-size: 12px; }
#presentation-view .pres-causes-grid small { color: #aeb4b2; font-size: 9px; line-height: 1.4; }
#presentation-view .pres-revoked { display: grid; grid-template-columns: 90px auto 1fr; align-items: center; gap: 12px; margin-top: 10px; padding: 9px 12px; border: 1px dashed rgba(185,185,175,.18); }
#presentation-view .pres-revoked span { color: #9ba3a2; text-decoration: line-through; }
#presentation-view .pres-revoked strong { color: #c4c5be; font-size: 10px; }
#presentation-view .pres-revoked small { color: #969e9c; }
#presentation-view .pres-diff-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
#presentation-view .pres-diff-grid button { position: relative; min-height: 235px; display: grid; align-content: start; gap: 12px; padding: 18px 14px; border: 1px solid rgba(205,175,124,.16); background: rgba(255,255,255,.022); color: inherit; text-align: left; }
#presentation-view .pres-diff-grid strong { margin-top: 18px; color: #eadbb9; font-family: Georgia, serif; font-size: 18px; }
#presentation-view .pres-diff-grid span { color: #adb3b1; font-size: 10px; line-height: 1.55; }
#presentation-view .pres-diff-grid b { position: absolute; right: 12px; bottom: 12px; color: #c4a260; }
#presentation-view .pres-exam-callout { display: grid; grid-template-columns: 160px 1fr; align-items: center; margin-top: 12px; padding: 12px 14px; border-left: 2px solid #c39b5b; background: rgba(190,147,74,.07); }
#presentation-view .pres-exam-callout span { color: #ceb170; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
#presentation-view .pres-exam-callout p { margin: 0; color: #b5bab7; font-size: 10px; line-height: 1.5; }
#presentation-view .pres-marcos-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 12px; }
#presentation-view .pres-marcos-story, #presentation-view .pres-marcos-facts { padding: 16px; border: 1px solid rgba(205,175,124,.16); }
#presentation-view .pres-timeline-visual { position: relative; display: flex; justify-content: space-between; list-style: none; margin: 28px 0 8px; padding: 0; }
#presentation-view .pres-timeline-visual::before { content: ""; position: absolute; top: 23px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg,#967844,#d1b06d,#967844); }
#presentation-view .pres-timeline-visual li { width: 31%; }
#presentation-view .pres-timeline-visual button { width: 100%; min-height: 170px; display: grid; align-content: start; gap: 7px; position: relative; z-index: 1; padding: 50px 12px 12px; border: 0; background: transparent; color: inherit; text-align: center; }
#presentation-view .pres-timeline-visual button::before { content: ""; position: absolute; top: 15px; left: calc(50% - 9px); width: 18px; height: 18px; border: 3px solid #b99a60; border-radius: 50%; background: #101923; }
#presentation-view .pres-timeline-visual button span { color: #cdb273; font-family: Georgia, serif; font-size: 12px; }
#presentation-view .pres-timeline-visual button strong { color: #e7dfce; font-size: 11px; }
#presentation-view .pres-timeline-visual button small { color: #a7aeac; font-size: 9px; }
#presentation-view .pres-marcos-facts div { display: grid; gap: 4px; margin-top: 11px; padding-bottom: 9px; border-bottom: 1px solid rgba(218,205,177,.08); }
#presentation-view .pres-marcos-facts strong { color: #d9caab; font-size: 10px; }
#presentation-view .pres-marcos-facts span { color: #a7aeac; font-size: 9px; }
#presentation-view .pres-caution { margin-top: 12px; padding: 11px 14px; border-left: 2px solid #be9a58; background: rgba(190,147,74,.08); color: #babfb9; font-size: 9px; }
#presentation-view .pres-caution strong { color: #e1cb9c; }
#presentation-view .pres-marcos-analysis { display: grid; grid-template-columns: 1.08fr .92fr; gap: 12px; }
#presentation-view .pres-law-card { display: block; width: 100%; margin-top: 9px; padding: 12px 14px; border: 1px solid rgba(205,175,124,.15); background: rgba(255,255,255,.022); color: inherit; text-align: left; }
#presentation-view .pres-law-card strong { color: #dfc58b; font-size: 10px; }
#presentation-view .pres-law-card p { margin: 4px 0 0; color: #bdc1bd; font-size: 10px; line-height: 1.5; }
#presentation-view .pres-law-button span { display: block; margin-top: 7px; color: #c2a260; font-size: 9px; }
#presentation-view .pres-unknowns { padding: 14px; border: 1px solid rgba(205,175,124,.15); }
#presentation-view .pres-unknowns ul { margin: 10px 0; padding-left: 18px; color: #babfbc; font-size: 10px; line-height: 1.8; }
#presentation-view .pres-no-conclusion { padding: 11px; border-left: 2px solid #c4a15f; background: rgba(193,149,75,.08); }
#presentation-view .pres-no-conclusion strong { color: #e1c991; font-size: 10px; }
#presentation-view .pres-no-conclusion p { margin: 5px 0 0; color: #adb3af; font-size: 9px; line-height: 1.5; }
#presentation-view .pres-offering-receiving { display: grid; grid-template-columns: 250px 1fr; align-items: center; gap: 12px; margin-top: 12px; padding: 11px 14px; border: 1px dashed rgba(205,175,124,.22); }
#presentation-view .pres-offering-receiving span { color: #d1b575; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
#presentation-view .pres-offering-receiving b { color: #eee1b9; }
#presentation-view .pres-offering-receiving p { margin: 0; color: #adb3b0; font-size: 9px; line-height: 1.5; }
#presentation-view .pres-review-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
#presentation-view .pres-review-grid div { min-height: 160px; display: grid; align-content: start; gap: 8px; padding: 14px; border: 1px solid rgba(205,175,124,.15); }
#presentation-view .pres-review-grid span { color: #c4a160; font-family: Georgia, serif; }
#presentation-view .pres-review-grid strong { color: #e9dfc9; font-family: Georgia, serif; }
#presentation-view .pres-review-grid p { margin: 0; color: #abb2af; font-size: 9px; line-height: 1.55; }
#presentation-view .pres-final-conclusion { max-width: 1050px; margin: clamp(18px, 4vh, 42px) auto 0; text-align: center; }
#presentation-view .pres-final-conclusion span { color: #c9a760; font-size: 8px; font-weight: 800; letter-spacing: .18em; }
#presentation-view .pres-final-conclusion h3 { margin: 12px 0 0; color: #f0e7d2; font-family: Georgia, serif; font-size: clamp(24px, 3vw, 46px); font-weight: 400; line-height: 1.25; }

@media (max-width: 900px), (max-height: 650px) {
  #presentation-view { padding: 8px 12px; }
  #presentation-view .pres-stage { aspect-ratio: auto; }
  #presentation-view .pres-slide { padding: 18px 22px; }
  #presentation-view .pres-topline { min-height: 36px; }
  #presentation-view .pres-navigation { min-height: 42px; }
  #presentation-view .pres-cover-copy h1 { font-size: clamp(42px, 9vw, 78px); }
  #presentation-view .pres-slide-heading h2 { font-size: clamp(24px, 4vw, 38px); }
  #presentation-view .pres-mode-card { min-height: 270px; }
  #presentation-view .pres-table button { min-height: 43px; }
  #presentation-view .pres-causes-grid button { min-height: 110px; }
}

@media (max-width: 650px) {
  #presentation-view .pres-wordmark small { display: none; }
  #presentation-view .pres-cover-slide { grid-template-columns: 1fr; }
  #presentation-view .pres-cover-art { display: none; }
  #presentation-view .pres-two-col, #presentation-view .pres-example-row,
  #presentation-view .pres-count-grid, #presentation-view .pres-marcos-layout,
  #presentation-view .pres-marcos-analysis, #presentation-view .pres-table-wrap {
    grid-template-columns: 1fr;
  }
  #presentation-view .pres-modalities { grid-template-columns: 1fr; }
  #presentation-view .pres-mode-arrow { height: 24px; }
  #presentation-view .pres-mode-card { min-height: 230px; }
  #presentation-view .pres-table-wrap aside { display: none; }
  #presentation-view .pres-table button { grid-template-columns: 1fr 70px 24px; min-height: 48px; padding: 0 8px; font-size: 9px; }
  #presentation-view .pres-count-types { grid-template-columns: 1fr 1fr; }
  #presentation-view .pres-stop-interrupt { grid-template-columns: 1fr; }
  #presentation-view .pres-stop-interrupt button { grid-template-columns: 110px 1fr; }
  #presentation-view .pres-causes-grid { grid-template-columns: 1fr 1fr; }
  #presentation-view .pres-diff-grid { grid-template-columns: 1fr 1fr; }
  #presentation-view .pres-diff-grid button { min-height: 120px; }
  #presentation-view .pres-review-grid { grid-template-columns: 1fr 1fr; }
  #presentation-view .pres-review-grid div { min-height: 110px; }
  #presentation-view .pres-nav-button { width: 38px; padding: 0; justify-content: center; }
  #presentation-view .pres-nav-button { font-size: 0; }
  #presentation-view .pres-nav-button span { font-size: 12px; }
  #presentation-view .pres-compare { grid-template-columns: 1fr 1fr; }
  #presentation-view .pres-compare > span { grid-column: 1 / -1; min-height: 25px; }
}
