:root{font:16px/1.5 Inter,system-ui,sans-serif;color:#17243d;background:#f3f6fa;--blue:#154bd2;--line:#dce3ee;--muted:#52617a}
*{box-sizing:border-box}body{margin:0}header{background:#122440;color:#fff}.bar,main{max-width:1100px;margin:auto;padding-inline:28px}.bar{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{font-weight:800;letter-spacing:.1em;display:flex;gap:10px;align-items:center}.brand span{background:#376aff;border-radius:8px;padding:4px 9px;font-size:19px}#actor{font-size:.9rem;text-align:right}.intro{padding-block:49px 32px;display:flex;align-items:center;justify-content:space-between;gap:16px}h1,h2,h3,p{margin:0}h1{font-size:clamp(2.5rem,7vw,3.6rem);letter-spacing:-.055em;line-height:1.05}.intro p{margin-top:9px;color:var(--muted)}button,input,textarea{font:inherit}button,.tel{cursor:pointer;background:white;color:#1a2e51;border:1px solid #ccd7e9;border-radius:8px;padding:8px 13px;font-weight:650;font-size:.875rem;text-decoration:none}button:hover,.tel:hover{background:#eaf0ff}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #6386ff;outline-offset:2px}button:disabled{opacity:.58;cursor:default}.primary{background:var(--blue);border-color:var(--blue);color:#fff}.primary:hover{background:#103ca9}.quiet{border-color:transparent;background:transparent}nav{display:flex;gap:12px;border-bottom:1px solid var(--line)}nav button{border:0;border-bottom:3px solid transparent;border-radius:0;background:none;padding:12px 10px}nav button[aria-pressed=true]{color:var(--blue);border-bottom-color:var(--blue)}nav span{display:inline-block;vertical-align:middle;margin-left:4px;border-radius:20px;background:#e3ebfa;min-width:24px;text-align:center}main{padding-bottom:60px}.list-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:28px 0 12px}.list-head h2,dialog h2{font-size:1.25rem}.list-head span,small,.muted{color:var(--muted);font-size:.875rem}.record,.empty{background:#fff;border:1px solid var(--line);border-radius:11px;margin-bottom:10px;padding:16px 18px}.record[data-state=yellow]{background:#fff5cd;border-color:#e0bb52}.record[data-state=red]{background:#ffeded;border-color:#de8c92}.row{display:flex;align-items:center;justify-content:space-between;gap:12px 20px}.record h3{font-size:1.05rem}.actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.meta{display:flex;flex-wrap:wrap;gap:2px 12px;margin-top:4px}.state{font-weight:700;color:#293f65}.record[data-state=red] .state{color:#9a2536}.record[data-state=yellow] .state{color:#755413}details{margin-top:12px}summary{cursor:pointer;font-size:.9rem;font-weight:650}.notes{padding:0;list-style:none;margin:8px 0 0}.notes li{padding:8px 0;border-top:1px solid var(--line);white-space:pre-wrap;overflow-wrap:anywhere}.notes small{display:block}.empty{text-align:center;padding:66px 20px;border-style:dashed}.empty p{margin:8px auto 0;color:var(--muted);max-width:36ch}#alert:not(:empty){margin:8px 0;color:#34476a}.error{color:#a12137;min-height:1.5em}dialog{max-width:min(94vw,500px);width:100%;border:1px solid #d6e0ef;border-radius:14px;padding:24px;color:inherit;box-shadow:0 18px 80px #14294a30}dialog::backdrop{background:#0c1b36a6}.dialog-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.dialog-title button{font-size:1.25rem;padding:0 9px}.form{display:grid;gap:13px}.form label{display:grid;gap:4px;font-weight:650;font-size:.9rem}input,textarea{width:100%;border:1px solid #aebdd3;border-radius:8px;padding:8px;color:inherit;background:white}textarea{min-height:105px;resize:vertical}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.78rem;background:#eef2fa;padding:10px;border-radius:7px}dialog .actions{margin-top:10px}.phone{font-size:1.6rem;font-weight:750;letter-spacing:-.03em}.source{color:var(--blue);font-weight:650;padding:8px 4px}@media(max-width:720px){.row{align-items:flex-start;flex-direction:column}.bar,main{padding-inline:16px}.intro{align-items:flex-start;padding-top:29px}.list-head{align-items:flex-start}.list-head span{text-align:right}.record{padding:13px}.actions button{padding-inline:9px}}@media(max-width:435px){.intro{flex-direction:column}}
#actor button{color:white;border-color:#6d7990}#actor button:hover{background:#22385b}
