:root { color-scheme: light; font-family: Arial, Helvetica, sans-serif; color: #222b2e; background: #f7f8f8; font-size: 16px; line-height: 1.5; }
* { box-sizing: border-box; letter-spacing: 0; }
body { margin: 0; }
a { color: #075d80; text-underline-offset: 3px; }
a:hover { color: #003d56; }
.site-header { background: #fff; border-top: 5px solid #b52338; border-bottom: 1px solid #d8dedf; }
.header-inner { max-width: 1056px; padding: 22px 24px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: grid; text-decoration: none; color: #222b2e; }
.brand strong { font-size: 20px; }
.brand span, .muted { color: #5c676b; font-size: 14px; }
.account { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.account span { max-width: 280px; overflow-wrap: anywhere; }
.page { max-width: 1056px; padding: 36px 24px 56px; margin: auto; min-height: 65vh; }
h1 { font-size: 28px; line-height: 1.2; margin: 0 0 12px; }
h2 { font-size: 20px; line-height: 1.3; margin: 0 0 12px; }
h3 { font-size: 17px; margin: 0 0 8px; }
p { margin: 0 0 20px; }
.login-area { padding: 22px 0 34px; max-width: 560px; }
.activation { border-top: 1px solid #d8dedf; padding-top: 28px; max-width: 640px; }
.landing .header-inner { justify-content: center; align-items: center; text-align: center; }
.landing .page { text-align: center; }
.landing .login-area, .landing .activation { margin-inline: auto; }
.landing .activation a { text-decoration: none; }
button, .button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 17px; min-height: 44px; border: 1px solid #086d66; border-radius: 5px; background: #086d66; color: #fff; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; text-align: center; }
button:hover, .button:hover { background: #055750; color: white; }
.secondary { background: white; color: #293639; border-color: #bcc8cb; }
.secondary:hover { background: #eaf0f0; color: #222b2e; }
.icon { display: inline-block; flex: 0 0 20px; }
button:not(.secondary) .icon, .button:not(.secondary) .icon { filter: invert(1); }
.service-list { border-top: 1px solid #d8dedf; margin-top: 28px; }
.service { display: grid; grid-template-columns: 40px 1fr auto; gap: 16px; align-items: center; padding: 24px 0; border-bottom: 1px solid #d8dedf; }
.service > .icon { width: 28px; height: 28px; }
.service h2 { margin-bottom: 4px; }
.service p { margin: 0; }
.notice { padding: 16px 18px; background: #eaf4f1; border-left: 4px solid #18745e; margin: 20px 0; overflow-wrap: anywhere; }
.notice.error { background: #fceff0; border-color: #b52338; }
.notice.warning { background: #fff7e3; border-color: #977015; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
.back { display: inline-flex; gap: 8px; align-items: center; margin: 0 0 24px; }
.data-section { margin: 28px 0; padding-top: 24px; border-top: 1px solid #d8dedf; }
dl { display: grid; grid-template-columns: minmax(140px, 1fr) 2fr; gap: 12px 24px; max-width: 780px; margin: 0; }
dt { color: #5c676b; }
dd { margin: 0; overflow-wrap: anywhere; }
label { display: block; font-weight: 600; margin: 0 0 8px; }
input, textarea, select { border: 1px solid #aab8bb; border-radius: 4px; background: white; padding: 10px 12px; font: inherit; max-width: 100%; }
textarea { display: block; width: 100%; min-height: 130px; resize: vertical; }
input[type=text] { display: block; width: 360px; margin-bottom: 20px; }
input[type=checkbox] { width: 18px; height: 18px; flex: 0 0 18px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-weight: normal; }
details { margin: 24px 0; }
summary { cursor: pointer; font-weight: 600; padding: 12px 0; }
.history { padding-left: 22px; }
.history li { margin-bottom: 18px; }
.history p { margin: 4px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.review-item { padding: 24px 0; border-bottom: 1px solid #d8dedf; }
.review-item p { white-space: pre-wrap; overflow-wrap: anywhere; }
.list-filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin: 20px 0; }
.list-filters input, .list-filters select { min-height: 44px; width: 100%; }
.list-filters > div { min-width: 140px; max-width: 100%; }
.list-filters > div:first-child { flex: 1; }
.list-filters > a { padding: 10px 0; }
.list-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 20px 0 12px; }
.list-toolbar p { margin: 0; }
.table-scroll { max-width: 100%; overflow-x: auto; border-top: 1px solid #c7d2d4; }
.overview-table { border-collapse: collapse; width: 100%; text-align: left; font-size: 14px; }
.overview-table th { background: #eef2f2; color: #38484c; }
.overview-table th, .overview-table td { padding: 12px; border-bottom: 1px solid #d8dedf; vertical-align: top; }
.overview-table td { overflow-wrap: anywhere; min-width: 90px; }
.overview-table td.message { min-width: 220px; max-width: 340px; white-space: pre-wrap; }
.overview-table .plate { font-weight: 600; white-space: nowrap; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 24px; flex-wrap: wrap; }
.status { display: inline-block; padding: 2px 6px; background: #fff1ca; color: #634809; white-space: nowrap; font-size: 13px; }
.status.done { background: #e2f0e9; color: #215b44; }
.correction-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.site-footer { border-top: 1px solid #d8dedf; padding: 24px; color: #5c676b; text-align: center; font-size: 14px; }
:focus-visible { outline: 3px solid #be8216; outline-offset: 3px; }
@media (max-width: 650px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding: 18px 20px; gap: 16px; }
  .account { justify-content: space-between; width: 100%; gap: 12px; }
  .account span { max-width: 100%; }
  .page { padding: 28px 20px 40px; }
  h1 { font-size: 25px; overflow-wrap: anywhere; }
  .service { grid-template-columns: 28px minmax(0, 1fr); gap: 12px; }
  .service .button { grid-column: 2; justify-self: start; }
  .service h2 { overflow-wrap: anywhere; }
  dl { grid-template-columns: 1fr; gap: 4px; }
  dd { margin-bottom: 12px; }
}
