:root {font-family: Arial,sans-serif; color: #193540; background: #f5f7f8; font-size: 16px;}
* {box-sizing: border-box;}
body {margin: 0;}
header {background: #153847; color: white; padding: 20px 5vw; display: flex; justify-content: space-between; gap: 20px;}
header a {color: inherit;}
main {max-width: 1000px; margin: 30px auto; padding: 0 20px 60px;}
h1 {font-size: 30px; line-height: 1.2;}
h2 {font-size: 22px;}
p {line-height: 1.6;}
label {display: block; margin: 14px 0; font-weight: 600;}
input,select,textarea {display: block; width: 100%; padding: 12px; border: 1px solid #a6b7bf; border-radius: 7px; margin-top: 6px; font: inherit; background: white;}
input[type=checkbox] {display: inline; width: auto; margin-right: 8px;}
textarea {line-height: 1.5;}
button,.button {border: 0; border-radius: 6px; background: #175166; color: white; font: 600 16px Arial; text-decoration: none; cursor: pointer;}
button:disabled {opacity: .5; cursor: wait;}
button.secondary {background: #e3edf1; color: #193540;}
.bar {display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0;}
.grid {display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px;}
article,.panel,fieldset {background: white; border: 1px solid #d7e0e4; padding: 22px; border-radius: 10px; margin: 18px 0; min-width: 0;}
pre,.preserve {white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; line-height: 1.6;}
.note {background: #fff2d8; padding: 14px; border-radius: 6px;}
#status {min-height: 25px; overflow-wrap: anywhere;}
.muted {color: #566f79;}
.total {font-size: 24px; font-weight: bold;}
a {color: #175166;}
.item {border-bottom: 1px solid #d7e0e4; padding: 12px 0;}
details {margin: 12px 0;}
summary {cursor: pointer; font-weight: bold;}
small {font-size: 14px;}
input:focus-visible,button:focus-visible,summary:focus-visible {outline: 3px solid #dc9c49; outline-offset: 3px;}
[hidden] {display: none !important;}
@media (max-width:600px) {.grid {grid-template-columns: 1fr;}
main {padding: 0 14px 40px;}
article,.panel,fieldset {padding: 16px;}
.bar>* {flex: 1;}
h1 {font-size: 26px;}}
@media print {header,button,form,#status,.bar {display: none;}
main {max-width: none;}
article {break-inside: avoid;}}
.table-wrap {overflow-x: auto;}
table {width: 100%; border-collapse: collapse; text-align: left;}
th,td {padding: 12px; border-bottom: 1px solid #d7e0e4; vertical-align: top;}
th {background: #edf3f5;}
#business-workspace {border: 2px solid #37778b;}
#business-workspace pre {max-height: 320px; overflow: auto; font-size: 14px;}
fieldset legend {font-weight: 700;}
button:focus-visible,a:focus-visible,textarea:focus-visible,select:focus-visible {outline: 3px solid #dc9c49; outline-offset: 3px;}
.admin-preview-notice {display: block; background: #fff2d8; border: 1px solid #e7c36a; border-radius: 8px; padding: 10px 14px; margin: 8px 0 16px; font-weight: 600;}
