:root{--t-tap:.15s;--t-ui:.3s;--t-big:.8s;--ease-std:cubic-bezier(.2,.8,.2,1)}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}}

/* ================= incident report ================= */
.ir-sec{background:var(--grey)}
.ir-layout{display:grid;gap:32px;grid-template-columns:minmax(0,1fr)}
@media (min-width:1024px){.ir-layout{grid-template-columns:minmax(0,1fr) 320px;gap:48px;align-items:start}}
.ir-form{display:grid;gap:20px}
.ir-card{background:#fff;border:1px solid #e6e4db;border-radius:24px;padding:clamp(20px,3vw,34px);scroll-margin-top:calc(var(--nav-h) + 24px)}
.ir-card>header{display:flex;gap:16px;align-items:flex-start;margin-bottom:24px}
.ir-num{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--ink);color:var(--gold);font:700 14px/1 var(--display);letter-spacing:.02em}
.ir-card h2{margin:2px 0 4px;font:800 clamp(20px,2.2vw,24px)/1.15 var(--display);letter-spacing:-.01em;text-transform:none}
.ir-card header p{margin:0;color:#68665e;font-size:15px;line-height:1.45}
.ir-grid{display:grid;gap:20px 18px;grid-template-columns:minmax(0,1fr)}
@media (min-width:700px){.ir-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ir-grid .span2,.ir-grid .ir-yn{grid-column:1/-1}}
.ir-field{margin:0;padding:0;border:0;min-width:0}
.ir-field[hidden]{display:none}
.ir-field>label,.ir-field>legend{display:block;margin-bottom:8px;padding:0;font:600 15px/1.35 var(--display);color:var(--ink)}
.ir-field .req{color:var(--red)}
.ir-field .opt{margin-left:6px;font:500 12px/1 var(--body);color:#87857a;letter-spacing:.02em}
.ir-field input:not([type=radio]):not([type=checkbox]),.ir-field select,.ir-field textarea{display:block;width:100%;min-height:52px;padding:13px 16px;border:1.5px solid #dad8cf;border-radius:16px;background:#fff;font:400 16px/1.4 var(--body);color:var(--ink);transition:border-color var(--t-tap),box-shadow var(--t-tap);-webkit-appearance:none;appearance:none}
.ir-field textarea{resize:vertical;min-height:110px}
.ir-field select{padding-right:44px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23131210' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right 16px center/12px no-repeat;cursor:pointer}
.ir-field input::placeholder,.ir-field textarea::placeholder{color:#9e9c91}
.ir-field input:hover,.ir-field select:hover,.ir-field textarea:hover{border-color:#b9b7ac}
.ir-field input:focus,.ir-field select:focus,.ir-field textarea:focus{outline:0;border-color:var(--ink);box-shadow:0 0 0 4px rgb(var(--gold-rgb) / .35)}
.ir-field.bad input:not([type=radio]),.ir-field.bad select,.ir-field.bad textarea{border-color:var(--red);box-shadow:0 0 0 4px rgba(212,19,23,.1)}
.ir-err{margin:6px 0 0;min-height:0;font:500 13.5px/1.3 var(--body);color:#c01014}
.ir-err:empty{display:none}
.ir-hint{margin:6px 0 0;font-size:13px;color:#87857a;text-align:right}
.ir-field[data-show]{animation:irIn .28s var(--ease)}
@keyframes irIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.ir-pills{display:flex;flex-wrap:wrap;gap:10px}
.ir-pills label{position:relative;cursor:pointer}
.ir-pills input{position:absolute;opacity:0;width:1px;height:1px}
.ir-pills span{display:inline-flex;align-items:center;gap:8px;min-height:46px;padding:0 20px;border:1.5px solid #dad8cf;border-radius:100px;background:#fff;font:600 15px/1 var(--display);color:var(--ink);transition:background-color var(--t-tap),border-color var(--t-tap),color var(--t-tap)}
.ir-pills span::before{content:"";width:16px;height:16px;border-radius:50%;border:1.5px solid #b9b7ac;background:#fff;transition:inherit;box-sizing:border-box}
.ir-pills label:hover span{border-color:#b9b7ac}
.ir-pills input:checked+span{background:var(--ink);border-color:var(--ink);color:#fff}
.ir-pills input:checked+span::before{border:5px solid var(--gold);background:#fff}
.ir-pills input:focus-visible+span{box-shadow:0 0 0 4px rgb(var(--gold-rgb) / .45)}
.ir-field.bad .ir-pills span{border-color:#e7a1a3}
.ir-submit{background:#fff;border:1px solid #e6e4db;border-radius:24px;padding:clamp(20px,3vw,30px);display:grid;gap:18px}
.ir-confirm{display:flex;gap:12px;align-items:flex-start;cursor:pointer;font:500 15.5px/1.45 var(--body);color:var(--ink)}
.ir-confirm input{flex:none;width:22px;height:22px;margin:0;accent-color:var(--ink);cursor:pointer}
.ir-actions{display:flex;flex-wrap:wrap;gap:12px}
.ir-actions .btn{border-radius:100px;padding-inline:26px}
.ir-actions .btn-white{background:#fff;border:1.5px solid #dad8cf;color:var(--ink)}
.ir-actions .btn-white:hover{border-color:var(--ink)}
.ir-preview{margin:0;display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:12px 14px;border-radius:16px;background:#f8f6f0;color:#5b4a14;font-size:14px;line-height:1.45}
.ir-preview a{color:var(--ink);font-weight:600}
.ir-side{min-width:0}
.ir-sticky{display:grid;gap:14px}
@media (min-width:1024px){.ir-sticky{position:sticky;top:calc(var(--nav-h) + 24px)}}
.ir-steps{background:#fff;border:1px solid #e6e4db;border-radius:24px;padding:20px 22px}
.ir-steps h3{margin:0 0 12px;font:700 13px/1 var(--display);letter-spacing:.14em;text-transform:uppercase;color:#87857a}
.ir-steps ol{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.ir-steps a{display:flex;align-items:center;gap:12px;padding:9px 10px;border-radius:10px;color:#59574f;text-decoration:none;font:500 15px/1.2 var(--display)}
.ir-steps a:hover{background:var(--grey);color:var(--ink)}
.ir-steps i{flex:none;width:20px;height:20px;border-radius:50%;border:1.5px solid #cbc9c0;display:grid;place-items:center;transition:background-color var(--t-tap),border-color var(--t-tap)}
.ir-steps li.on a{color:var(--ink);font-weight:700;background:var(--grey)}
.ir-steps li.on i{border-color:var(--ink)}
.ir-steps li.done i{background:var(--gold);border-color:var(--gold)}
.ir-steps li.done i::after{content:"";width:8px;height:5px;border-left:2px solid var(--ink);border-bottom:2px solid var(--ink);transform:translateY(-1px) rotate(-45deg)}
.ir-note{padding:16px 18px;border-radius:22px;background:#fff;border:1px solid #e6e4db;font-size:14.5px;line-height:1.5;color:#48463e}
.ir-note b{display:block;margin-bottom:3px;color:var(--ink);font-family:var(--display)}
.ir-note a{color:var(--ink);font-weight:600;word-break:break-word}
.ir-emergency{background:var(--ink);border-color:var(--ink);color:#d6d4cb}
.ir-emergency b{color:#fff;display:inline}
.ir-warn{background:#f9f7f1;border-color:#f3cfd0}
.ir-warn b{color:#b30f13}
.ir-done{background:#fff;border:1px solid #e6e4db;border-radius:24px;padding:clamp(24px,4vw,44px);outline:0;scroll-margin-top:calc(var(--nav-h) + 24px)}
.ir-done-ico{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:var(--gold);color:var(--ink);margin-bottom:18px}
.ir-done-ico svg{width:28px;height:28px}
.ir-done h2{margin:0 0 8px;font:800 30px/1.1 var(--display)}
.ir-done>p{margin:0 0 16px;max-width:60ch;color:#48463e;font-size:16.5px;line-height:1.5}
.ir-summary{display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin:22px 0;border-top:1px solid #ebe9e0}
.ir-summary dt{padding-top:12px;font:600 13px/1.3 var(--display);color:#87857a}
.ir-summary dd{margin:2px 0 0;padding-bottom:12px;border-bottom:1px solid #ebe9e0;white-space:pre-wrap;word-break:break-word;color:var(--ink)}
@media (min-width:700px){.ir-summary{grid-template-columns:260px minmax(0,1fr)}.ir-summary dt{padding:12px 16px 12px 0;border-bottom:1px solid #ebe9e0}.ir-summary dd{padding:12px 0;margin:0}}
.ir-form[hidden],.ir-done[hidden]{display:none!important}
.ir-done{grid-column:1}
.ir-actions .btn-white::after{display:none}
.ir-preview{display:block}
.ir-preview .sample{margin-right:8px;vertical-align:1px}

/* shared contrast fix that comes later in the core stylesheet; repeated so it still wins with this page's own file */
.ir-field .opt,.ir-hint,.ir-steps h3,.ir-summary dt{color:#68665e}
.ir-note-send{margin:0;color:var(--u-soft,#636159);font-size:14px;line-height:1.45}
.ir-send-err{margin:0;padding:12px 14px;border-radius:16px;background:#f3f1eb;color:#8a1c1c;font-size:14px}

/* Dark theme, generated by tools/darkgen.js from the light stylesheet. Do not edit by hand. */
html[data-theme="dark"]{color-scheme:dark;--paper:#171510;--grey:#12110e;--line:#2e2a24;--text-dim:#a9a296;--bg:#0f0e0c}html[data-theme="dark"] body{background:#0f0e0c;color:#e6e1d6}html[data-theme="dark"] .uh .nav-logo img:not(.nav-logo-alt){display:none}html[data-theme="dark"] .uh .nav-logo-alt{display:block}html[data-theme="dark"] img:not([src$=".svg"]){filter:none}
html[data-theme="dark"] .ir-card{background-color:rgb(30, 30, 28);border-top-color:rgb(68, 65, 58);border-right-color:rgb(68, 65, 58);border-bottom-color:rgb(68, 65, 58);border-left-color:rgb(68, 65, 58)}html[data-theme="dark"] .ir-num{background-color:rgb(44, 40, 34)}html[data-theme="dark"] .ir-card header p{color:rgb(168, 165, 159)}html[data-theme="dark"] .ir-field > label,html[data-theme="dark"] .ir-field > legend{color:rgb(236, 232, 223)}html[data-theme="dark"] .ir-field input:not([type="radio"]):not([type="checkbox"]),html[data-theme="dark"] .ir-field select,html[data-theme="dark"] .ir-field textarea{border-top-color:rgb(73, 71, 65);border-right-color:rgb(73, 71, 65);border-bottom-color:rgb(73, 71, 65);border-left-color:rgb(73, 71, 65);background-color:rgb(30, 30, 28);color:rgb(236, 232, 223)}html[data-theme="dark"] .ir-field select{background-color:rgb(17, 17, 16)}html[data-theme="dark"] .ir-field input:hover,html[data-theme="dark"] .ir-field select:hover,html[data-theme="dark"] .ir-field textarea:hover{border-top-color:rgb(90, 87, 82);border-right-color:rgb(90, 87, 82);border-bottom-color:rgb(90, 87, 82);border-left-color:rgb(90, 87, 82)}html[data-theme="dark"] .ir-err{color:rgb(244, 117, 120)}html[data-theme="dark"] .ir-pills span{border-top-color:rgb(73, 71, 65);border-right-color:rgb(73, 71, 65);border-bottom-color:rgb(73, 71, 65);border-left-color:rgb(73, 71, 65);background-color:rgb(30, 30, 28);color:rgb(236, 232, 223)}html[data-theme="dark"] .ir-pills span::before{border-top-color:rgb(90, 87, 82);border-right-color:rgb(90, 87, 82);border-bottom-color:rgb(90, 87, 82);border-left-color:rgb(90, 87, 82);background-color:rgb(30, 30, 28)}html[data-theme="dark"] .ir-pills label:hover span{border-top-color:rgb(90, 87, 82);border-right-color:rgb(90, 87, 82);border-bottom-color:rgb(90, 87, 82);border-left-color:rgb(90, 87, 82)}html[data-theme="dark"] .ir-pills input:checked + span{background-color:rgb(236, 232, 223);color:var(--ink)}html[data-theme="dark"] .ir-pills input:checked + span::before{background-color:rgb(17, 17, 16)}html[data-theme="dark"] .ir-field.bad .ir-pills span{border-top-color:rgb(94, 62, 63);border-right-color:rgb(94, 62, 63);border-bottom-color:rgb(94, 62, 63);border-left-color:rgb(94, 62, 63)}html[data-theme="dark"] .ir-submit{background-color:rgb(30, 30, 28);border-top-color:rgb(68, 65, 58);border-right-color:rgb(68, 65, 58);border-bottom-color:rgb(68, 65, 58);border-left-color:rgb(68, 65, 58)}html[data-theme="dark"] .ir-confirm{color:rgb(236, 232, 223)}html[data-theme="dark"] .ir-actions .btn-white{background-color:rgb(30, 30, 28);border-top-color:rgb(73, 71, 65);border-right-color:rgb(73, 71, 65);border-bottom-color:rgb(73, 71, 65);border-left-color:rgb(73, 71, 65);color:rgb(236, 232, 223)}html[data-theme="dark"] .ir-preview{background-color:rgb(59, 53, 33)}html[data-theme="dark"] .ir-preview a{color:rgb(236, 232, 223)}html[data-theme="dark"] .ir-steps{background-color:rgb(30, 30, 28);border-top-color:rgb(68, 65, 58);border-right-color:rgb(68, 65, 58);border-bottom-color:rgb(68, 65, 58);border-left-color:rgb(68, 65, 58)}html[data-theme="dark"] .ir-steps a{color:rgb(179, 177, 173)}html[data-theme="dark"] .ir-steps a:hover{color:rgb(236, 232, 223)}html[data-theme="dark"] .ir-steps i{border-top-color:rgb(81, 78, 73);border-right-color:rgb(81, 78, 73);border-bottom-color:rgb(81, 78, 73);border-left-color:rgb(81, 78, 73)}html[data-theme="dark"] .ir-steps li.on a{color:rgb(236, 232, 223)}html[data-theme="dark"] .ir-note{background-color:rgb(30, 30, 28);border-top-color:rgb(68, 65, 58);border-right-color:rgb(68, 65, 58);border-bottom-color:rgb(68, 65, 58);border-left-color:rgb(68, 65, 58);color:rgb(195, 193, 189)}html[data-theme="dark"] .ir-note b{color:rgb(236, 232, 223)}html[data-theme="dark"] .ir-note a{color:rgb(236, 232, 223)}html[data-theme="dark"] .ir-warn{background-color:rgb(32, 14, 14);border-top-color:rgb(77, 50, 51);border-right-color:rgb(77, 50, 51);border-bottom-color:rgb(77, 50, 51);border-left-color:rgb(77, 50, 51)}html[data-theme="dark"] .ir-warn b{color:rgb(242, 105, 108)}html[data-theme="dark"] .ir-done{background-color:rgb(30, 30, 28);border-top-color:rgb(68, 65, 58);border-right-color:rgb(68, 65, 58);border-bottom-color:rgb(68, 65, 58);border-left-color:rgb(68, 65, 58)}html[data-theme="dark"] .ir-done > p{color:rgb(195, 193, 189)}html[data-theme="dark"] .ir-summary{border-top-color:rgb(67, 63, 54)}html[data-theme="dark"] .ir-summary dd{border-bottom-color:rgb(67, 63, 54);color:rgb(236, 232, 223)}@media (min-width: 700px){html[data-theme="dark"] .ir-summary dt{border-bottom-color:rgb(67, 63, 54)}}html[data-theme="dark"] .ir-field .opt,html[data-theme="dark"] .ir-hint,html[data-theme="dark"] .ir-steps h3,html[data-theme="dark"] .ir-summary dt{color:rgb(168, 165, 159)}html[data-theme="dark"] .ir-note-send{color:var(--u-soft,rgb(156, 159, 167))}html[data-theme="dark"] .ir-send-err{background-color:rgb(55, 28, 28)}

/* light look: dark sections turned light (generated by tools/lightislands.py) */
html:not([data-theme="dark"]) .ir-emergency{background:#fcfaf4;border-color:#fcfaf4;color:#636159}
html:not([data-theme="dark"]) .ir-emergency b{color:#15171c}