:root {
    color-scheme: light;
    --ink: #081844;
    --muted: #455570;
    --accent: #ffb000;
    --surface: #fff;
    --canvas: #f4f6fb;
    --line: #d8e0ed;
    font: 16px/1.55 system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--canvas); }
main { max-width: 34rem; margin: 0 auto; padding: 1.25rem clamp(1rem, 3vw, 3rem) 3rem; }
.workspace { max-width: none; min-height: 100dvh; }
.topbar {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding-bottom: 1rem; margin-bottom: 1.35rem; border-bottom: 3px solid var(--accent);
}
.brand { display: flex; align-items: center; gap: .75rem; color: var(--ink); text-decoration: none; font-weight: 750; }
.brand img { width: 2.65rem; height: 2.65rem; border-radius: .65rem; }
.topbar form { margin: 0; }
h1, h2, h3, h4 { line-height: 1.25; }
h1 { margin: 0 0 1.25rem; font-size: clamp(1.8rem, 4vw, 2.65rem); overflow-wrap: anywhere; }
h2 { margin: 0 0 .8rem; font-size: 1.3rem; }
h3 { margin: 0 0 .45rem; }
p { margin: .45rem 0 .85rem; overflow-wrap: anywhere; }
a { color: #153d80; text-underline-offset: .2em; }
form { margin: .85rem 0; }
label { display: block; margin: .7rem 0; font-weight: 600; }
input, select, button { font: inherit; }
input:not([type="checkbox"]):not([type="radio"]), select {
    display: block; width: 100%; min-width: 0; min-height: 2.75rem;
    margin-top: .3rem; padding: .55rem .7rem; color: var(--ink); background: white;
    border: 1px solid #aebbd2; border-radius: .55rem;
}
input[type="checkbox"], input[type="radio"] { width: 1.2rem; height: 1.2rem; accent-color: var(--ink); vertical-align: middle; }
button {
    min-height: 2.75rem; padding: .54rem .9rem; border: 1px solid transparent; border-radius: .55rem;
    background: var(--ink); color: white; cursor: pointer; font-weight: 650;
}
.topbar button { background: white; border-color: var(--line); color: var(--ink); }
button:hover { box-shadow: 0 2px 7px #08184435; }
:focus-visible { outline: 3px solid #a76400; outline-offset: 3px; }
fieldset { border: 1px solid var(--line); border-radius: .5rem; margin: 0 0 .8rem; }
legend, summary { font-weight: 700; }
table { width: 100%; border-collapse: collapse; margin: .6rem 0; }
th, td { padding: .35rem .25rem; border-bottom: 1px solid var(--line); text-align: center; }
th:first-child { text-align: left; }
.panel, article, .settings details, .team-list a {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: .85rem; padding: clamp(.85rem, 2vw, 1.3rem);
}
article { margin-bottom: .75rem; }
.settings details { margin-bottom: .65rem; }
summary { cursor: pointer; min-height: 1.65rem; }
.team-layout, .dashboard { display: grid; gap: 1rem; align-items: start; }
.team-layout > *, .dashboard > * { min-width: 0; }
.team-list {
    list-style: none; padding: 0; margin: 0;
    display: grid; gap: .65rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}
.team-list a { display: block; font-weight: 700; overflow-wrap: anywhere; }
.breadcrumb, .account { color: var(--muted); }
[role="alert"] { color: #a12121; font-weight: 650; }
@media (min-width: 56rem) {
    .team-layout, .dashboard { grid-template-columns: minmax(0, 1fr) minmax(19rem, 27rem); gap: 1.5rem; }
    .schedule > article { max-width: 70rem; }
}
@media (max-width: 35rem) {
    .panel form > button, .settings form > button, article form > button { width: 100%; }
    .brand { font-size: .9rem; }
    .topbar { gap: .5rem; }
}
.breadcrumb { display: flex; flex-wrap: wrap; gap: .55rem 1.25rem; }
.account-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .5rem .85rem; }
.account-actions a { font-weight: 650; }
