:root {
    font-family: system-ui, sans-serif;
    color: #1c2532;
    background: #f6f7f9;
    line-height: 1.55;
    --accent: #3c47a4;
    --line: #dce0e8;
    --muted: #536071;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid #6775de; outline-offset: 3px; }
.shell { width: min(1080px, calc(100% - 36px)); margin-inline: auto; }
.top { background: #172037; color: white; }
.bar, .heading, .project-header, .start {
    display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.bar { min-height: 70px; padding-block: 12px; }
.brand { font-weight: 750; font-size: 1.2rem; }
.brand span { color: #aeb9ff; margin-right: 6px; }
.top a { color: #fff; text-decoration: none; }
nav, .actions { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.top nav a, .filters a { padding: 6px 10px; border-radius: 6px; }
.top nav a[aria-current], .top nav a:hover { background: #303c5f; }
main { padding-block: 40px; }
.heading { margin-bottom: 24px; }
h1 { font-size: clamp(1.8rem, 4vw, 2.55rem); line-height: 1.14; margin: 0; letter-spacing: -.035em; }
h2 { font-size: 1.2rem; margin: 0; overflow-wrap: anywhere; }
.heading p, fieldset p { color: var(--muted); margin: 8px 0 0; }
.button, button {
    background: var(--accent); color: #fff; border: 0; border-radius: 7px; cursor: pointer;
    padding: 9px 15px; font: inherit; font-weight: 650; text-decoration: none;
}
.button:hover, button:hover { background: #303981; text-decoration: none; }
.filters { margin-bottom: 18px; gap: 6px; }
.filters a { text-decoration: none; }
.filters a[aria-current], .filters a:hover { background: #e7eafb; }
.panel { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.editor { max-width: 700px; display: grid; gap: 18px; }
.editor button { justify-self: start; }
.editor label { display: grid; gap: 5px; font-weight: 650; }
small { color: var(--muted); font-weight: 400; }
input:not([type=checkbox]), textarea, select {
    width: 100%; min-width: 0; padding: 9px 11px; font: inherit; color: inherit;
    border: 1px solid #afb7c5; border-radius: 6px; background: #fff;
}
fieldset { margin: 0; min-width: 0; border: 1px solid var(--line); border-radius: 7px; display: grid; gap: 12px; }
legend { font-weight: 700; }
fieldset p { margin: 0; }
.project { margin-bottom: 12px; }
.actions { margin-top: 12px; }
.status { font-size: .87rem; padding: 4px 10px; border-radius: 20px; color: #334155; background: #e9eef5; font-weight: 650; }
.in_progress { background: #fff0cb; color: #634800; }
.completed { background: #ddf4e9; color: #15523b; }
.start, details { margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 650; color: var(--accent); }
.completion { display: flex; gap: 20px; flex-wrap: wrap; align-items: start; margin-top: 14px; }
.completion img { width: min(100%, 260px); max-height: 220px; object-fit: contain; border-radius: 6px; background: #e9eef5; }
dl { margin: 0; overflow-wrap: anywhere; flex: 1 1 250px; }
dt { font-weight: 700; }
dd { margin: 2px 0 10px; }
.empty { color: var(--muted); }
.notice, .error { padding: 10px 14px; border-radius: 7px; }
.notice { background: #ddf4e9; color: #15523b; }
.error { background: #ffebeb; color: #762126; }
