:root{--bg:#f5f6f3;--ink:#18382f;--muted:#728078;--line:#e3e8e1;--green:#1e5a47;--light:#edf3ec;--white:#fff;--red:#943a31}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.5;font-size:14px}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;white-space:nowrap}button:disabled{cursor:wait;opacity:.65}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #c9a468;outline-offset:3px}[hidden]{display:none!important}a{color:var(--green)}.topbar{height:90px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:24px;padding:0 max(32px,calc((100vw - 1280px)/2))}.brand{display:flex;align-items:center;gap:14px;color:var(--ink);text-decoration:none}.mark{height:43px;width:43px;display:grid;place-items:center;background:var(--ink);color:white;font:32px Georgia,serif}.brand strong{font-size:13px;letter-spacing:2px}.brand small{display:block;font-size:12px;color:var(--muted);margin-top:1px}.toplabel{margin-left:auto;padding:5px 12px;background:var(--light);font-size:12px;letter-spacing:.5px;border-radius:5px}main{max-width:1280px;margin:auto;padding:44px 32px 32px}.eyebrow{font-size:10px;font-weight:bold;letter-spacing:2px;color:var(--green)}h1{font-family:Georgia,'Times New Roman',serif;font-weight:normal;font-size:38px;line-height:1.2;margin:10px 0 11px}h2{font-size:18px;margin:0;font-weight:600}h3{font-size:18px;margin:8px 0}p{color:var(--muted);margin:0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:30px}.primary,.secondary,.quiet{border-radius:5px;min-height:42px;padding:10px 17px;border:1px solid transparent;font-weight:600;font-size:13px}.primary{background:var(--green);color:white}.primary:hover{background:#164c3b}.secondary{background:white;border-color:#cfdad0;color:var(--ink)}.secondary:hover{background:var(--light)}.quiet{background:transparent;color:var(--muted)}.quiet:hover{color:var(--green);background:var(--light)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:26px}.stats article{padding:21px 23px;background:white;border:1px solid var(--line);border-radius:7px}.stats article>span{display:block;color:var(--muted);font-size:12px}.stats strong{display:block;font:35px Georgia,serif;margin:4px 0 3px}.stats .word{font-family:Arial,sans-serif;font-size:22px;line-height:47px}.stats small{font-size:11px;color:var(--muted);display:block;overflow-wrap:anywhere}.panel{background:white;border:1px solid var(--line);border-radius:7px;margin-bottom:24px;overflow:hidden}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:23px 26px}.panel-heading p{font-size:12px;margin-top:5px}.toolbar{display:flex;gap:8px}.filter-row{border-top:1px solid var(--line);padding:15px 25px;display:flex;align-items:center;justify-content:space-between;gap:16px}.filter-row input{max-width:365px;margin:0;background:#fafbf9}.filter-row span{font-size:11px;color:var(--muted);text-align:right}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;min-width:750px;table-layout:fixed}th{text-align:left;font-size:10px;text-transform:uppercase;letter-spacing:1.1px;background:#fafbf9;color:#728078;padding:13px 24px;border-block:1px solid var(--line);font-weight:600}th:nth-child(1){width:25%}th:nth-child(2){width:20%}th:nth-child(3){width:21%}th:nth-child(4){width:17%}th:nth-child(5){width:17%}td{padding:20px 24px;border-bottom:1px solid var(--line);vertical-align:top;font-size:12px;overflow-wrap:anywhere}tr:last-child td{border-bottom:0}.case-label{display:block;font-size:13px;font-weight:600;margin-bottom:5px}.case-link{font-size:12px;text-underline-offset:3px}.cell-meta{display:block;color:var(--muted);font-size:10px;margin-top:6px}.badge{display:inline-block;padding:4px 9px;border-radius:4px;color:#24573e;background:#edf4ec;font-size:10px;line-height:1.4}.badge.paused{background:#f1eee8;color:#7e7056}.badge.error{background:#fbede9;color:var(--red)}.actions{display:flex;flex-wrap:wrap;gap:7px}.actions button{background:none;border:0;color:var(--green);padding:2px 0;font-size:11px;text-decoration:underline;text-underline-offset:3px}.actions button.delete{color:#876f66}.empty{text-align:center;padding:43px 24px 48px;border-top:1px solid var(--line)}.empty p{font-size:13px;margin:10px 0 20px}.empty-icon{display:block;font:38px Georgia,serif;color:#a7b6a9}.history .panel-heading{border-bottom:1px solid var(--line)}.subtle{font-size:11px;color:var(--muted)}.no-history{padding:24px 26px;font-size:12px}.notification{display:grid;grid-template-columns:1fr auto;gap:10px;padding:18px 26px;border-bottom:1px solid var(--line)}.notification:last-child{border-bottom:0}.notification strong{display:block;font-size:12px;margin-bottom:3px}.notification p{font-size:11px}.notification time{font-size:11px;color:var(--muted);display:block;text-align:right;margin-top:4px}.source-note{font-size:11px;padding:2px 0 18px;max-width:780px}.source-note a{color:inherit}.alerts{padding:14px 20px;background:#fff3e8;color:#825438;border:1px solid #ead5bd;border-radius:6px;margin-bottom:20px;white-space:pre-line;font-size:12px}footer{max-width:1280px;padding:20px 32px 35px;margin:auto;border-top:1px solid var(--line);color:var(--muted);font-size:11px;display:flex;justify-content:space-between}.login-card{max-width:470px;margin:35px auto 70px;background:white;border:1px solid var(--line);border-radius:8px;padding:40px}.login-card h1{font-size:34px}.login-card p{margin:15px 0 24px}.login-card button{width:100%;display:flex;justify-content:space-between;margin-top:17px}label{display:block;font-size:12px;font-weight:600;margin:16px 0 6px}input,select{width:100%;padding:11px 12px;border:1px solid #cfdbd1;border-radius:5px;background:white;color:var(--ink);min-height:43px}input::placeholder{color:#94a097}.optional{font-weight:normal;color:var(--muted);margin-left:6px;font-size:11px}dialog{border:1px solid var(--line);border-radius:9px;color:var(--ink);width:min(560px,calc(100vw - 28px));max-height:90vh;padding:28px 32px;box-shadow:0 15px 100px #18382f30}dialog::backdrop{background:#17342955}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.dialog-heading h2{font:25px Georgia,serif;margin-top:4px}.close{border:0;background:transparent;color:var(--muted);font-size:26px;padding:0 5px}.check-label{display:flex;align-items:flex-start;gap:10px;font-weight:normal;margin:11px 0}.check-label input{width:16px;min-height:16px;margin-top:3px;accent-color:var(--green)}.check-label small{display:block;font-size:11px;color:var(--muted);margin-top:2px}fieldset{border:1px solid var(--line);border-radius:5px;margin:20px 0 16px;padding:8px 15px}legend{font-size:11px;padding:0 7px;font-weight:600}.form-note{background:var(--light);padding:12px 15px;border-radius:5px;font-size:11px;color:#557262}.form-actions{display:flex;justify-content:space-between;gap:16px;padding-top:20px}#preview{font-size:12px;padding:14px;margin-top:16px;border:1px solid var(--line);background:#fafbf9;border-radius:5px;white-space:pre-line}#form-error{margin-top:14px;color:var(--red);font-size:12px}#message{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:13px 22px;border-radius:6px;box-shadow:0 4px 24px #18382f22;max-width:90vw;z-index:5;font-size:13px}#message.error{background:var(--red)}@media(max-width:900px){.stats{grid-template-columns:repeat(2,1fr)}main{padding:28px 20px}.topbar{padding:0 20px}.page-heading h1{font-size:32px}.panel-heading{align-items:flex-start}.toolbar{flex-direction:column}}@media(max-width:580px){.topbar{height:78px;gap:8px}.toplabel{display:none}.brand strong{font-size:11px}.topbar .quiet{margin-left:auto}.page-heading{align-items:flex-start;flex-direction:column;gap:16px}.stats{gap:10px}.stats article{padding:16px}.stats small{font-size:10px}.stats strong{font-size:30px}.stats .word{font-size:19px;line-height:42px}.panel-heading{padding:18px;flex-direction:column}.toolbar{flex-direction:row}.filter-row{padding:12px 18px;align-items:flex-start;flex-direction:column}.filter-row input{max-width:none}.history .subtle{display:none}.login-card{padding:26px;margin:15px auto 35px}dialog{padding:22px}.notification{padding:16px 18px}.notification time{font-size:10px}footer{padding-inline:20px}}

.case-number-fieldset{border:0;padding:0;margin:20px 0 0;min-width:0}.case-number-fieldset legend{padding:0;font-size:12px}.case-fields{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.25fr) minmax(0,1.15fr) auto minmax(0,1fr);gap:9px;align-items:end}.case-fields>div{min-width:0}.case-fields label{font-size:11px;margin:8px 0 5px;color:var(--muted);white-space:nowrap}.case-fields input,.case-fields select{padding-inline:9px}.case-fields input:disabled{background:var(--light);color:var(--muted)}.case-slash{font-size:26px;line-height:43px;color:var(--ink)}.case-hint{display:block;font-size:11px;color:var(--muted);margin-top:7px;min-height:0}.case-hint:empty{display:none}@media(max-width:440px){.case-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px}.case-slash{display:none}}

/* AK Turnhofer · unified administration language · UI system 2026.10
   This layer standardizes visuals without changing APIs, forms or sessions. */
:root {
  color-scheme: light;
  --bg: #f3f5f3;
  --white: #ffffff;
  --ink: #18322e;
  --muted: #647771;
  --line: #dce5df;
  --green: #205b49;
  --accent: #205b49;
  --light: #edf5f0;
  --red: #a33d3a;
  --brand-gold: #b6986b;
  --brand-dark: #17352e;
  --focus: #caaf7a;
  --shadow: 0 7px 26px rgba(22,52,42,.035);
}
*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 14px/1.55 Inter, 'Segoe UI', system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: #123b30; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .56; cursor: wait; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
/* Shared masthead */
header.topbar { max-width: none; width: 100%; height: 84px; display: flex; align-items: center; gap: 22px; padding: 0 max(28px, calc((100vw - 1240px) / 2)); margin: 0; background: #fff; border: 0; border-bottom: 1px solid var(--line); }
.topbar .brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; color: var(--ink); text-decoration: none; }
.topbar .mark { display: grid; place-items: center; width: 43px; height: 43px; flex: 0 0 43px; border-radius: 7px; background: var(--brand-dark); color: #fff; font: 29px/1 Georgia,'Times New Roman',serif; position: relative; }
.topbar .mark::after { content: ''; position: absolute; left: 8px; right: 8px; bottom: 5px; height: 2px; background: var(--brand-gold); }
.topbar .brand strong { display: block; font-size: 13px; letter-spacing: .16em; font-weight: 750; white-space: nowrap; }
.topbar .brand small { display: block; margin-top: 1px; color: var(--muted); font-size: 11px; letter-spacing: .02em; }
.topbar .toplabel { display: inline-flex; align-items: center; margin-left: auto; padding: 7px 11px; border: 1px solid #d8e6dd; border-radius: 999px; background: var(--light); color: var(--green); font-size: 11px; font-weight: 700; line-height: 1.4; white-space: nowrap; letter-spacing: .035em; }
.topbar button, .topbar form { flex: none; margin: 0; }
.topbar button.quiet, .topbar form button.quiet { margin-left: 0; }
main { max-width: 1240px; padding: 38px 28px 42px; margin: 0 auto; }
.eyebrow { color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: .16em; line-height: 1.4; text-transform: uppercase; }
h1, h2, h3 { color: var(--ink); }
h1 { font-family: Georgia,'Times New Roman',serif; font-weight: 400; font-size: clamp(30px,3vw,41px); line-height: 1.17; letter-spacing: -.028em; margin: 8px 0 11px; }
h2 { font-size: 18px; font-weight: 700; letter-spacing: -.015em; line-height: 1.35; margin: 0; }
h3 { font-size: 15px; font-weight: 700; }
p { line-height: 1.6; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 0 0 26px; }
.page-heading h1 { margin: 5px 0 7px; }
.page-heading p { margin: 0; max-width: 780px; color: var(--muted); font-size: 13px; }
.page-chip { display: inline-flex; gap: 7px; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; color: var(--green); background: #fff; font-size: 11px; font-weight: 650; white-space: nowrap; }
.page-chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #5a9878; }
/* Panels, metrics and tables */
main section:not(#login-panel):not(#dashboard) { border-color: var(--line); }
section, .panel { box-shadow: var(--shadow); }
#workspace > section, main > section:not(#login-panel):not(#dashboard), .panel { background: #fff; border: 1px solid var(--line); border-radius: 11px; margin-bottom: 21px; }
#workspace > section, main > section:not(#login-panel):not(#dashboard) { padding: 25px 27px; }
#workspace > section > h2, main > section:not(#login-panel):not(#dashboard) > h2 { margin-bottom: 18px; }
.section-head, .panel-heading { gap: 16px; }
.section-head { margin-bottom: 19px; }
.section-head h2 { margin: 0; }
.section-head > div, .toolbar, .actions, .form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.metrics, .stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-bottom: 0; }
.metrics .metric, .stats article { min-width: 0; border: 1px solid var(--line); background: #fcfdfc; padding: 19px 20px; border-radius: 8px; box-shadow: none; color: var(--muted); }
.metrics .metric { display: flex; flex-direction: column; gap: 4px; }
.metrics .metric span, .stats article > span { display: block; color: var(--muted); font-size: 11px; font-weight: 550; }
.metrics .metric strong, .stats article strong { display: block; color: var(--ink); font: 400 clamp(22px,2.2vw,32px)/1.2 Georgia,'Times New Roman',serif; overflow-wrap: anywhere; }
.stats article small { color: var(--muted); font-size: 11px; line-height: 1.5; }
.stats .word { font: 650 19px/1.45 Inter,'Segoe UI',system-ui,sans-serif; }
#status-panel .metrics { margin-bottom: 14px; }
.note, .source-note, .section-description, .section-desc { font-size: 12px; color: var(--muted); line-height: 1.65; }
.note { margin: 14px 0 4px; }
.error { color: var(--red); }
/* Forms and fieldsets */
label { color: #334c44; font-size: 12px; font-weight: 650; }
input:not([type=checkbox]):not([type=radio]), select, textarea { width: 100%; min-height: 44px; background: #fff; border: 1px solid #cbd9d0; border-radius: 7px; padding: 10px 12px; font-size: 13px; color: var(--ink); box-shadow: 0 1px 1px rgba(9,42,31,.018); }
input::placeholder, textarea::placeholder { color: #85988e; opacity: 1; }
input:disabled, select:disabled, textarea:disabled { background: #f5f8f5; }
input[type=checkbox], input[type=radio] { accent-color: var(--green); }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 19px; }
fieldset { border-color: var(--line); }
legend { color: var(--ink); font-size: 12px; font-weight: 750; }
.form-actions { margin-top: 17px; }
button, .primary, .secondary, .quiet { min-height: 41px; padding: 9px 16px; border-radius: 7px; font-size: 12px; font-weight: 700; border: 1px solid transparent; transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease; white-space: normal; line-height: 1.45; }
button, button.primary, .primary { background: var(--green); color: #fff; border-color: var(--green); }
button:hover:not(:disabled), .primary:hover:not(:disabled) { background: #164737; border-color: #164737; }
button.secondary, .secondary { background: #fff; color: var(--green); border: 1px solid #cbdcd2; }
button.secondary:hover:not(:disabled), .secondary:hover:not(:disabled) { background: var(--light); border-color: #9cbba9; }
button.quiet, .quiet { background: transparent; border-color: transparent; color: #4f6860; }
button.quiet:hover:not(:disabled), .quiet:hover:not(:disabled) { background: var(--light); border-color: var(--light); color: var(--green); }
button.danger { background: #fff; color: var(--red); border: 1px solid #edd5d3; }
button.danger:hover:not(:disabled) { background: #fef3f2; border-color: #ddaba7; }
#message:not([hidden]) { z-index: 5; border-radius: 8px; }
#search-results, .results, #preview { border: 1px solid var(--line); background: #f8fbf8; border-radius: 8px; }
.watch, .notification { border-color: var(--line); }
.watch h3 { margin: 0 0 8px; }
.watch .actions { justify-content: flex-end; }
.pill, .badge:not(.toplabel) { border-radius: 999px; font-size: 10px; font-weight: 750; letter-spacing: 0; }
.pill { background: #e8f4eb; color: var(--green); }
.pill.paused, .badge.paused { background: #fff4e3; color: #9a7136; }
.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
.scroll table { min-width: 735px; }
th { background: #f9fbf9; color: #6d8377; padding: 13px 15px; text-align: left; text-transform: uppercase; letter-spacing: .065em; font-size: 10px; font-weight: 750; border-bottom: 1px solid var(--line); }
td { padding: 17px 15px; color: var(--ink); font-size: 12px; vertical-align: top; border-bottom: 1px solid #e7ece8; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fafcf9; }
details { border-color: var(--line); }
summary { color: var(--green); font-weight: 650; }
/* Modals */
dialog, #edit-dialog { width: min(690px,calc(100vw - 30px)); max-height: min(90dvh,900px); border: 1px solid var(--line); border-radius: 13px; padding: 29px; background: #fff; color: var(--ink); box-shadow: 0 26px 95px rgba(11,41,29,.18); }
dialog::backdrop, #edit-dialog::backdrop { background: rgba(15,39,31,.52); backdrop-filter: blur(2px); }
dialog .section-head h2 { margin: 0; }
/* Brand-matched login screen */
#login-panel.login-card, section#login-panel { width: min(100%,480px); max-width: 480px; margin: 42px auto 58px; padding: 37px 38px 32px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: 0 14px 45px rgba(27,58,44,.065); }
#login-panel .eyebrow { display: inline-flex; gap: 7px; align-items: center; }
#login-panel h1 { color: var(--ink); font-size: 33px; line-height: 1.23; margin: 12px 0 12px; }
#login-panel p { font-size: 13px; line-height: 1.65; color: var(--muted); margin: 0 0 23px; }
#login-form { display: grid; gap: 0; margin: 0; }
#login-form label { display: grid; gap: 7px; margin: 0 0 11px; }
#login-form input { width: 100%; margin: 0; }
#login-form button { width: 100%; display: flex; justify-content: space-between; align-items: center; text-align: left; margin-top: 16px; min-height: 47px; padding: 11px 16px; font-size: 13px; }
#login-panel .login-footnote { display: flex; align-items: flex-start; gap: 9px; border-top: 1px solid var(--line); padding-top: 17px; margin-top: 23px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.login-footnote .safe-dot { flex: 0 0 7px; width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: #54936e; }
/* Footer */
footer { max-width: 1240px; margin: 0 auto; padding: 22px 28px 34px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
footer span { color: #7b8b82; }
/* Consistent responsive behavior */
@media (max-width: 960px) {
  .metrics, .stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .page-heading { align-items: flex-start; }
}
@media (max-width: 680px) {
  header.topbar { height: 74px; padding: 0 16px; gap: 9px; }
  .topbar .brand { gap: 9px; }
  .topbar .mark { width: 36px; height: 36px; flex-basis: 36px; font-size: 25px; }
  .topbar .brand strong { font-size: 10px; letter-spacing: .115em; }
  .topbar .brand small { font-size: 10px; }
  .topbar .toplabel { display: none; }
  .topbar button.quiet, .topbar form { margin-left: auto; }
  .topbar button.quiet, .topbar form button { padding: 8px 9px; font-size: 11px; }
  main { padding: 25px 14px 26px; }
  .page-heading { flex-direction: column; align-items: flex-start; gap: 13px; margin-bottom: 23px; }
  .page-heading h1 { font-size: 32px; }
  #workspace > section, main > section:not(#login-panel):not(#dashboard) { padding: 20px 18px; }
  .form-grid { grid-template-columns: 1fr; gap: 13px; }
  .metrics, .stats { gap: 9px; }
  .metrics .metric, .stats article { padding: 15px; }
  .metrics .metric strong, .stats strong { font-size: 25px; }
  #login-panel.login-card, section#login-panel { padding: 29px 23px 25px; margin: 20px auto 34px; }
  #login-panel h1 { font-size: 30px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head > div { width: 100%; }
  .section-head > div button { flex: 1; }
  .watch { flex-wrap: wrap; }
  .watch .actions { width: 100%; justify-content: flex-start; }
  footer { padding: 19px 15px 28px; flex-wrap: wrap; }
  dialog, #edit-dialog { padding: 21px; max-height: calc(100dvh - 24px); }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { transition: none !important; scroll-behavior: auto !important; } }


/* InfoSoud-specific layout, matching the shared system */
#dashboard .stats{margin-bottom:22px}
#dashboard .panel{border-radius:11px;overflow:hidden}
#dashboard .panel-heading{padding:23px 26px}
#dashboard .panel-heading h2{margin:0}
#dashboard .filter-row{padding:15px 25px}
#dashboard .stats article strong{margin:4px 0}
#dashboard .page-heading .primary{white-space:nowrap}
#dashboard th{font-size:10px;padding:13px 17px}
#dashboard td{font-size:12px;padding:18px 17px}
#dashboard table{min-width:780px}
#dashboard .actions button{min-height:25px;padding:1px 2px;background:transparent;border:0;text-decoration:underline;color:var(--green);font-size:11px;font-weight:650}
#dashboard .actions button.delete{color:var(--red)}
#watch-dialog .form-actions{margin-top:12px}
#watch-dialog .check-label{display:flex;align-items:flex-start;gap:11px}
#watch-dialog .check-label input{flex:0 0 17px;min-height:17px;width:17px;margin-top:2px}
#watch-dialog .dialog-heading{flex-direction:row}
#watch-dialog .close{padding:2px 10px;min-height:38px;font-size:23px}
#watch-dialog .case-number-fieldset{margin-top:22px}
#watch-dialog .case-fields label{margin:7px 0 5px}
#watch-dialog .case-fields input,#watch-dialog .case-fields select{min-height:43px;padding:9px}
#watch-dialog .case-slash{align-self:end;line-height:43px}
#message:not([hidden]){padding:13px 19px;color:white;background:var(--brand-dark)}
#message.error:not([hidden]){background:var(--red)}
@media(max-width:680px){#dashboard .panel-heading{padding:19px;flex-direction:column}#dashboard .panel-heading .toolbar{width:100%}#dashboard .panel-heading .toolbar button{flex:1}#dashboard .filter-row{padding:14px 19px}#watch-dialog .case-fields{grid-template-columns:repeat(2,minmax(0,1fr))}#watch-dialog .case-slash{display:none}}

/* Veřejný rejstřík – rozšíření společné grafiky */
.session-note{font-size:11px;margin-top:16px!important;line-height:1.65}.source-row{display:flex;align-items:center;justify-content:space-between;gap:18px}.page-chip{flex:none}.field-help{display:block;font-size:11px;color:var(--muted);margin:8px 0 15px;line-height:1.6}.search-inline{display:flex;gap:9px}.search-inline input{min-width:0}.search-inline button{flex:none}.selected-subject{background:var(--light);border:1px solid #cbdcd2;padding:16px 18px;border-radius:8px;margin:18px 0}.selected-subject strong,.selected-subject small{display:block}.selected-subject small{font-size:11px;color:var(--muted);margin-top:3px}.selected-subject a{display:inline-block;margin-top:8px;font-size:11px}.result-choice{display:block;width:100%;text-align:left;background:#fff!important;color:var(--ink)!important;border:1px solid var(--line)!important;margin:8px 0}.result-choice:hover{background:var(--light)!important}.result-choice strong,.result-choice small{display:block}.result-choice small{color:var(--muted);font-size:11px;font-weight:400;margin-top:3px}.results p{font-size:12px}.pager{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:12px 18px;color:var(--muted);font-size:11px}.notification>div:first-child{min-width:0;flex:1}.notification>div:last-child{flex:none}details{margin:12px 0}summary{font-size:12px;font-weight:600;color:var(--green);cursor:pointer}pre{font:12px/1.65 'Segoe UI',system-ui,sans-serif;white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid var(--line);background:#f8faf8;padding:12px;border-radius:7px;color:var(--ink)}#detail-dialog{width:920px;max-width:calc(100vw - 30px);border-radius:12px}#detail-dialog .dialog-heading{display:flex;flex-direction:row;justify-content:space-between;gap:18px;align-items:center}#detail-dialog .close{font-size:24px;padding:2px 10px;min-height:38px}.detail-links{display:flex;flex-wrap:wrap;gap:18px;font-size:12px;margin:18px 0}.detail-note{background:var(--light);padding:12px;border-radius:7px}.document-table{min-width:670px}#detail-dialog h3{margin:22px 0 12px}.document-table th,.document-table td{font-size:11px;padding:11px 12px}.notification details h3{font-size:12px;margin:17px 0 8px}.cell-meta{display:block}#watch-dialog textarea{resize:vertical}#watch-dialog .form-note{line-height:1.7}#watch-dialog fieldset{margin:20px 0}#watch-dialog .check-label small{display:block;font-weight:400;line-height:1.6;margin-top:3px}#watch-dialog .dialog-heading{align-items:center}#selected-subject strong{overflow-wrap:anywhere}#preview{white-space:pre-wrap;line-height:1.7;padding:14px;margin-top:18px}
@media(max-width:680px){.source-row{flex-direction:column;align-items:flex-start}.notification{flex-direction:column;align-items:stretch}.notification>div:last-child{display:flex;justify-content:space-between;gap:12px}.search-inline{flex-direction:column}.page-heading{align-items:flex-start}#detail-dialog{padding:20px}#detail-dialog h2{font-size:17px}#watch-dialog .form-actions{align-items:stretch}#watch-dialog .form-actions button{flex:1}}

#search-results{max-height:360px;overflow-y:auto;overscroll-behavior:contain}.result-choice .result-action{color:var(--green);font-weight:600}#ares-address-fields{margin-bottom:16px}#search-results .result-choice{white-space:normal;overflow-wrap:anywhere}
