:root {
    --ink: #07384f;
    --blue: #086bc7;
    --pale: #edf7fc;
    --line: #c9dfeb;
    --muted: #527188;
    --white: #ffffff;
    --success: #e7f8ef;
    --danger: #fff1f1;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: linear-gradient(130deg, #edf8fc, #f9fcfd 55%, #e7f2f6); font-family: Georgia, 'Times New Roman', serif; min-height: 100vh; }
a { color: var(--blue); text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.topbar { min-height: 66px; display: flex; align-items: center; gap: 28px; padding: 12px max(20px, calc((100vw - 1180px) / 2)); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); }
.brand { color: var(--ink); font: 800 20px/1 Arial, sans-serif; letter-spacing: -1px; white-space: nowrap; }.brand span { display: block; color: var(--blue); font-size: 8px; letter-spacing: 2px; margin-top: 2px; }
.topbar nav { display: flex; gap: 18px; font: 700 13px Arial, sans-serif; }.topbar nav a { color: var(--ink); }.topbar form { margin-left: auto; }.logout, .secondary { border: 1px solid var(--line); color: var(--ink); background: white; padding: 9px 13px; border-radius: 9px; font: 700 12px Arial, sans-serif; }
.container { width: min(1100px, calc(100% - 32px)); margin: 32px auto 60px; }
.hero, .page-title { margin: 8px 0 24px; }.hero h1, .page-title h1, .login-card h1 { margin: 5px 0; font: 800 clamp(27px, 5vw, 42px)/1.03 Arial, sans-serif; letter-spacing: -1.8px; }.hero p:last-child, .page-title p { color: var(--muted); font-size: 16px; max-width: 680px; }.eyebrow { margin: 0; color: var(--blue); font: 800 10px Arial, sans-serif; letter-spacing: 1.8px; }.back { font: 700 13px Arial, sans-serif; display: inline-block; margin-bottom: 12px; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin: 24px 0; }.metrics article, .panel, .login-card { border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.92); box-shadow: 0 10px 25px rgba(22,83,112,.06); }.metrics article { padding: 18px; }.metrics strong { display: block; font: 800 30px Arial, sans-serif; }.metrics span, small, .muted { display: block; color: var(--muted); font: 12px/1.4 Arial, sans-serif; margin-top: 5px; }
.panel { padding: 20px; margin: 16px 0; }.panel h2 { margin: 0 0 15px; font: 800 20px Arial, sans-serif; letter-spacing: -.6px; }.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 12px; }.panel-heading h2 { margin: 0; }.panel-heading > a { font: 700 13px Arial, sans-serif; }
.list { padding: 0; overflow: hidden; }.list-row { color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 18px; border-bottom: 1px solid #e5eef3; }.list-row:last-child { border-bottom: 0; }.list-row:hover { background: var(--pale); }.list-row b { display: block; font: 800 15px Arial, sans-serif; }.status { color: #075f93; background: #dff2fb; border-radius: 99px; padding: 6px 10px; font: 700 11px Arial, sans-serif; text-align: center; }
.search { display: flex; gap: 8px; margin-bottom: 18px; }.search input { flex: 1; }.search button, .form-stack button, .primary-action { border: 0; border-radius: 9px; background: linear-gradient(135deg, #0877d6, #0758b0); color: white; padding: 11px 17px; font: 800 13px Arial, sans-serif; }
input, select, textarea { width: 100%; border: 1px solid #bbd2df; background: white; border-radius: 8px; padding: 10px; color: var(--ink); outline: none; } input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(8,107,199,.12); } textarea { min-height: 92px; resize: vertical; } label { display: block; color: var(--ink); font: 800 12px Arial, sans-serif; }.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }.wide { grid-column: 1 / -1; }.report-form { padding-bottom: 28px; }.primary-action { display: block; width: 100%; padding: 15px; margin-top: 20px; font-size: 15px; }
.detail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }.detail span { display: block; color: var(--muted); font: 700 10px Arial, sans-serif; text-transform: uppercase; letter-spacing: .7px; }.detail b { font: 800 15px Arial, sans-serif; }.detail p { margin: 7px 0 0; line-height: 1.5; }
.equipment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }.equipment-grid article { padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: #f8fcfe; }.equipment-grid b { font: 800 15px Arial, sans-serif; }.button-link { display: inline-block; margin-top: 14px; font: 800 12px Arial, sans-serif; }
.period-row { display: grid; grid-template-columns: 1.1fr repeat(4, 1fr); gap: 9px; padding: 12px 0; border-bottom: 1px dashed var(--line); }.period-row:last-child { border-bottom: 0; }.period-row label { font-size: 10px; }.period-row input { margin-top: 4px; padding: 8px; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-top: 15px; }.photo-card { padding: 7px; border: 1px solid var(--line); border-radius: 9px; background: #f8fcfe; font: 700 11px Arial, sans-serif; }.photo-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); display: block; margin-bottom: 7px; }.photo-card input { width: auto; vertical-align: middle; }
.login-card { width: min(420px, 100%); margin: max(8vh, 60px) auto; padding: 30px; }.login-card > p:not(.eyebrow) { color: var(--muted); }.form-stack { display: grid; gap: 15px; margin-top: 25px; }.form-stack label { display: grid; gap: 6px; }.notice { padding: 12px 14px; margin: 12px 0; border-radius: 9px; font: 700 13px Arial, sans-serif; }.success { background: var(--success); color: #17633d; }.error { background: var(--danger); color: #9c2727; }
.catalog-form { margin-top: 10px; }.primary-action.compact { width: auto; margin: 0; padding: 11px 17px; }.check-field { display: flex; align-items: center; gap: 8px; min-height: 42px; }.check-field input { width: auto; }.crypto-note { margin: 0; padding: 11px; border: 1px solid #edd69e; border-radius: 8px; color: #76581a; background: #fff9e9; font: 12px/1.45 Arial, sans-serif; }.catalog-form details { border: 1px solid var(--line); border-radius: 9px; padding: 12px; background: #f9fcfe; }.catalog-form summary { cursor: pointer; font: 800 12px Arial, sans-serif; }.details-grid { margin-top: 12px; }
.checklist-list { display: grid; gap: 9px; }.checklist-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; }.checklist-item b { font: 700 13px Arial, sans-serif; }.checklist-item span { display: flex; gap: 10px; white-space: nowrap; }.checklist-item label { font-size: 11px; }.checklist-item input { width: auto; }

@media (max-width: 720px) { .topbar { gap: 12px; padding: 10px 16px; flex-wrap: wrap; }.topbar nav { display: flex; order: 3; width: 100%; gap: 16px; overflow-x: auto; padding: 6px 0 2px; white-space: nowrap; -webkit-overflow-scrolling: touch; }.topbar nav a { flex: 0 0 auto; padding-bottom: 4px; }.topbar form { margin-left: auto; }.container { width: min(100% - 22px, 680px); margin-top: 20px; }.metrics { grid-template-columns: repeat(2, 1fr); gap: 9px; }.metrics article { padding: 14px; }.metrics strong { font-size: 25px; }.panel { padding: 15px; }.list-row { padding: 14px; align-items: flex-start; }.list-row .status { font-size: 10px; }.form-grid, .detail, .equipment-grid { grid-template-columns: 1fr; }.period-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 8px; }.period-row label { min-width: 0; }.period-row label:first-child, .period-row label:nth-child(2), .period-row label:nth-child(3) { grid-column: 1 / -1; }.period-row input { min-width: 0; padding: 8px 5px; font-size: 15px; }.period-row input[type="time"] { max-width: 100%; }.search { flex-direction: column; }.search button { width: 100%; }.page-title h1 { font-size: 29px; }.panel-heading { align-items: flex-start; }.logout { padding: 8px 10px; } }

@media (max-width: 720px) { .checklist-item { align-items: flex-start; flex-direction: column; } .checklist-item span { flex-wrap: wrap; } }
