﻿:root { font: 1rem/1.5 system-ui, sans-serif; color: #182d29; background: #eef3f0; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
header { display: flex; align-items: center; gap: 1rem; padding: 1rem max(1rem, calc((100% - 60rem)/2)); background: #164338; color: white; }
header a { font-weight: 700; color: white; text-decoration: none; }
header button { margin-left: auto; }
main { width: min(calc(100% - 2rem), 60rem); margin: 1.5rem auto; }
h1, h2 { margin: 0 0 .8rem; }
.panel, .search { background: white; border: 1px solid #cbd8d2; border-radius: .7rem; padding: 1rem; margin-bottom: 1rem; }
.actions, .pinned-row, form { display: flex; flex-wrap: wrap; align-items: end; gap: .6rem; }
form label { display: grid; }
button, input, select, .action { font: inherit; padding: .48rem .7rem; border: 1px solid #698a7d; border-radius: .35rem; background: white; color: inherit; }
button, .action { cursor: pointer; }
.action { color: #124b3a; font-weight: 650; text-decoration: none; }
input[type=search] { display: block; width: 100%; margin-top: .4rem; }
#suggestions { margin: .35rem 0 0; padding: 0; list-style: none; }
#suggestions li { padding: .5rem; cursor: pointer; }
#suggestions [aria-selected=true], #suggestions li:hover { background: #d9eee4; }
.pinned-row { margin-bottom: .55rem; align-items: center; }
.pinned-row .action { min-width: 10rem; }
#login h2 { width: 100%; }
button:disabled { cursor: default; opacity: .55; }
[role=status]:empty { display: none; }
header { flex-wrap: wrap; }
.brand { display: grid; font-size: 1.35rem; line-height: 1.1; letter-spacing: .02em; }
.brand small { font-size: .75rem; font-weight: 500; margin-top: .3rem; }
.training { background: #f7dc9f; color: #422e10; border-radius: 1rem; padding: .25rem .65rem; font-size: .85rem; }
header button { margin-left: 0; }
header .search { position: relative; flex: 1 1 18rem; margin: 0; padding: 0; background: transparent; border: 0; min-width: 0; }
.search-input { display: flex; align-items: center; background: white; color: #182d29; border-radius: .35rem; margin-top: .2rem; }
.search-input span { padding: 0 .6rem; font-size: 1.4rem; line-height: 1; }
.search-input input { margin: 0; }
header #suggestions, header #search-status { position: absolute; z-index: 2; top: 100%; width: 100%; color: #182d29; background: white; border: 1px solid #cbd8d2; border-radius: .35rem; box-shadow: 0 .35rem 1rem #182d2926; }
header #search-status { padding: .5rem; }
.actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: .8rem; }
.actions .action { min-height: 5rem; display: flex; flex-direction: column; justify-content: center; padding: .9rem; background: #f1f7f4; font-size: 1.12rem; }
.actions .action:hover { background: #d9eee4; }
.actions .action small { display: block; font-size: .82rem; color: #355b50; font-weight: 500; }
@media (max-width: 650px) { header .search { order: 1; flex-basis: 100%; } }
