:root { color-scheme: light; --ink: #202627; --muted: #64706d; --line: #dfe5e0; --paper: #f4f6f2; --green: #245b44; --green-dark: #17432f; --orange: #eeb371; --danger: #a3312b; font-family: "Segoe UI", system-ui, sans-serif; font-size: 15px; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.5; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button { touch-action: manipulation; }
button:disabled { cursor: not-allowed; opacity: .52; }
a { color: var(--green); text-underline-offset: 3px; }
input, select, textarea { width: 100%; padding: .72rem .8rem; color: var(--ink); background: #fff; border: 1px solid #b8c4bc; border-radius: 6px; }
textarea { resize: vertical; min-height: 70px; }
input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--green); flex: 0 0 18px; margin: 0; }
label { display: block; margin: 1rem 0 .4rem; font-size: .92rem; font-weight: 600; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #cc8631; outline-offset: 3px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(1.7rem, 2.3vw, 2.4rem); letter-spacing: -.04em; line-height: 1.15; font-weight: 650; }
h2 { font-size: 1.15rem; letter-spacing: -.015em; }
h3 { font-size: 1rem; }
.topbar { min-height: 76px; display: flex; align-items: center; gap: 2.5rem; background: #1f2b26; color: #f8faf6; padding: 0 32px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: inherit; text-decoration: none; font-size: 1.15rem; font-weight: 700; letter-spacing: -.03em; white-space: nowrap; }
.brand > span:last-child { margin-left: -.55rem; font-weight: 350; color: #c4d0c8; }
.brand-mark { display: inline-grid; width: 34px; height: 34px; place-items: center; background: var(--orange); color: #233129; border-radius: 6px; font-size: 1.3rem; margin-right: .25rem; }
.topbar-section { font-size: .84rem; color: #c7d4cc; border-left: 1px solid #536159; padding-left: 2.5rem; }
.account { margin-left: auto; display: flex; gap: 16px; align-items: center; font-size: .88rem; }
.button { min-height: 42px; border: 1px solid transparent; border-radius: 6px; padding: .58rem 1rem; font-weight: 600; font-size: .87rem; background: transparent; transition: background-color .15s, border-color .15s; }
.button-primary { background: var(--green); color: white; }
.button-primary:hover:not(:disabled) { background: var(--green-dark); }
.button-outline { background: white; color: #31473b; border-color: #bfcac1; }
.button-outline:hover:not(:disabled) { background: #f1f5ef; border-color: #7b9482; }
.button-quiet { color: var(--green); }
.button-quiet:hover:not(:disabled) { background: #edf3eb; }
.button-dark { color: #f8faf6; border-color: #63756b; }
.button-dark:hover:not(:disabled) { background: #36493d; }
.button-danger { background: #fff3f1; color: var(--danger); border-color: #dfb7af; }
.button-danger:hover:not(:disabled) { background: #ffe5df; }
.full-width { width: 100%; }
.login-panel { max-width: 520px; padding: 72px 24px; margin: 0 auto; }
.login-panel h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.intro { color: var(--muted); margin-bottom: 32px; }
.login-card { padding: 28px; background: white; border: 1px solid var(--line); border-top: 3px solid var(--green); border-radius: 8px; box-shadow: 0 8px 35px #25342108; }
.login-card .button { width: 100%; margin: 22px 0 12px; }
.login-card .hint { margin: 0; text-align: center; }
.eyebrow { text-transform: uppercase; font-size: .68rem; font-weight: 750; letter-spacing: .12em; color: var(--muted); margin-bottom: .8rem; }
.workspace { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: calc(100vh - 76px); }
.sidebar { padding: 28px 20px; background: #eaf0e8; border-right: 1px solid #d6e0d5; }
.sidebar > label:first-child { margin-top: 0; }
.sidebar-heading { display: flex; justify-content: space-between; align-items: center; margin: 30px 0 14px; }
.sidebar-heading h2 { margin: 0; font-size: .96rem; }
.count { background: #dce7d8; min-width: 28px; border-radius: 5px; padding: 2px 7px; font-size: .75rem; text-align: center; }
.project-list { display: grid; gap: 4px; margin-top: 15px; }
.project-choice { text-align: left; min-height: 56px; width: 100%; padding: 10px 12px; background: transparent; border: 1px solid transparent; border-radius: 6px; color: #384b3e; overflow-wrap: anywhere; }
.project-choice strong { display: block; font-size: .93rem; }
.project-choice small { display: block; color: var(--muted); font-size: .72rem; margin-top: 2px; }
.project-choice:hover { background: #dde8d9; }
.project-choice[aria-current="page"] { border-color: #b6c8b0; background: #fff; box-shadow: 0 2px 7px #26382308; }
.content { max-width: 1540px; width: 100%; padding: 34px 38px 48px; }
.page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.page-heading h1 { margin-bottom: 8px; overflow-wrap: anywhere; }
.page-heading p:last-child { font-size: .86rem; margin-bottom: 0; }
.page-heading > button { flex-shrink: 0; margin-top: 18px; }
.muted, .hint { color: var(--muted); }
.hint { font-size: .79rem; margin-top: .55rem; }
.summary-strip { display: flex; flex-wrap: wrap; gap: 24px; border-top: 1px solid var(--line); padding: 20px 0 25px; align-items: center; }
.summary-strip > div { min-width: 115px; display: flex; flex-direction: column; }
.summary-strip strong { font-size: 1.8rem; line-height: 1.15; font-weight: 650; letter-spacing: -.04em; }
.summary-strip span { font-size: .75rem; color: var(--muted); margin-top: 4px; }
.summary-strip .hint { margin-left: auto; max-width: 180px; text-align: right; }
.board { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; gap: 22px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.panel-heading { display: flex; gap: 16px; justify-content: space-between; align-items: center; padding: 20px 20px 14px; }
.panel-heading h2, .panel-heading h3 { margin: 0; }
.panel-caption { color: var(--muted); font-size: .72rem; }
.panel-toolbar { padding: 0 20px 14px; border-bottom: 1px solid #edf0eb; }
.panel-toolbar .check-line { margin: 0; }
.panel-hint { padding: 0 20px; }
.check-line { display: flex; align-items: flex-start; gap: 9px; font-size: .8rem; font-weight: 450; line-height: 1.5; }
.item { border-bottom: 1px solid #edf0eb; padding: 19px 20px; }
.item:last-child { border-bottom: 0; }
.item h3 { font-size: .98rem; line-height: 1.4; margin: 8px 0 6px; overflow-wrap: anywhere; }
.item-description { font-size: .82rem; color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; }
.item-meta { font-size: .75rem; color: var(--muted); margin: 7px 0 0; overflow-wrap: anywhere; }
.item-footer { margin-top: 10px; display: flex; gap: 10px; justify-content: flex-end; }
.item-footer .button { min-height: 36px; padding: .35rem .7rem; font-size: .78rem; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.badge { display: inline-block; padding: 3px 8px; border-radius: 4px; background: #eff2ed; color: #58645e; font-size: .68rem; font-weight: 700; }
.badge-running, .badge-in_progress { background: #e9f0f6; color: #345876; }
.badge-review { background: #fff0d3; color: #845b0b; }
.badge-blocked, .badge-expired, .badge-failed, .badge-rejected { background: #fbe9e3; color: #9c4230; }
.badge-done, .badge-accepted { background: #e7f2e8; color: #276443; }
.blocked-reason { color: #8d442e; background: #fff6ed; border-left: 2px solid #d89468; padding: 8px 10px; font-size: .79rem; white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 10px; }
.empty-state { padding: 34px 22px; margin: 0; color: var(--muted); font-size: .88rem; }
.load-more { display: block; width: calc(100% - 24px); margin: 8px 12px; }
.coverage { color: var(--muted); font-size: .75rem; margin: 18px 0 0; }
.notice, .form-message { padding: 11px 13px; border-radius: 5px; font-size: .84rem; background: #eaf3e8; color: #285138; overflow-wrap: anywhere; }
.notice { margin-bottom: 20px; border-left: 3px solid var(--green); }
.error { background: #ffede8; color: #a13225; }
.warning { background: #fff4dc; color: #805817; }
.dialog { border: 1px solid var(--line); border-radius: 10px; color: var(--ink); padding: 26px; width: calc(100% - 32px); max-height: calc(100vh - 48px); overflow-y: auto; box-shadow: 0 20px 80px #0d201840; }
.compact-dialog { max-width: 600px; }
.detail-dialog { max-width: 800px; }
.dialog::backdrop { background: #11201996; }
.dialog-heading { display: flex; align-items: flex-start; gap: 16px; justify-content: space-between; margin-bottom: 20px; }
.dialog-heading h2 { margin-bottom: 0; font-size: 1.35rem; }
.close-button { border: 0; background: #eef2ed; border-radius: 50%; width: 36px; height: 36px; line-height: 1; font-size: 25px; flex-shrink: 0; color: #516658; }
.close-button:hover { background: #dce7d9; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 20px; }
.selected-title { font-weight: 700; font-size: 1.1rem; margin-bottom: 6px; }
.preserve-lines { white-space: pre-wrap; overflow-wrap: anywhere; }
.detail-meta { margin-bottom: 16px; }
.detail-section { padding: 22px 0; border-bottom: 1px solid var(--line); }
.detail-section p:last-child { margin-bottom: 0; }
.detail-section .plain { padding: 0 0 12px; }
.result-panel { margin-top: 24px; padding: 20px; border: 1px solid #d8c6a1; border-left: 4px solid #bb8841; border-radius: 5px; background: #fffbf1; }
.artifact-list { padding-left: 20px; overflow-wrap: anywhere; margin-bottom: 0; }
.artifact-list li { margin: 8px 0; font-size: .86rem; }
.timeline { list-style: none; padding: 0; margin: 0; }
.event { margin-left: 5px; padding: 0 0 23px 20px; border-left: 1px solid #cfdbd1; position: relative; }
.event:before { content: ""; width: 7px; height: 7px; background: #8aab93; border: 3px solid white; box-sizing: content-box; border-radius: 50%; position: absolute; left: -7px; top: 5px; }
.event:last-child { padding-bottom: 0; }
.event-header { font-size: .8rem; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.event-header time { color: var(--muted); font-size: .7rem; }
.event p { font-size: .83rem; margin: 6px 0; }
.event .actor { font-size: .7rem; color: var(--muted); overflow-wrap: anywhere; }
.decision-panel { background: #f0f5ed; padding: 20px; border-radius: 6px; margin: 24px 0 18px; }
.decision-panel h3 { margin-bottom: 7px; }
.cancel-panel { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 18px; }
.cancel-panel summary { color: var(--danger); cursor: pointer; font-size: .85rem; padding: 5px 0; }
.cancel-panel form { margin-top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip-link { position: fixed; top: -100px; left: 15px; padding: 12px; background: white; z-index: 10; }
.skip-link:focus { top: 12px; }
@media (max-width: 1150px) { .workspace { grid-template-columns: 225px minmax(0, 1fr); } .content { padding: 28px 24px; } .board { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .topbar { padding: 12px 16px; gap: 12px; flex-wrap: wrap; } .topbar-section { display: none; } .account { gap: 8px; } #account-name { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .workspace { display: block; } .sidebar { padding: 20px; border-right: 0; border-bottom: 1px solid var(--line); } .sidebar-heading { margin-top: 20px; } .project-list { max-height: 210px; overflow-y: auto; } .content { padding: 24px 16px 35px; } .page-heading { flex-wrap: wrap; gap: 8px; } .page-heading > button { margin-top: 0; } .summary-strip { gap: 15px; } .summary-strip > div { min-width: 90px; } .summary-strip .hint { flex-basis: 100%; max-width: none; text-align: left; margin: 0; } .dialog { padding: 20px; max-height: calc(100dvh - 24px); } .form-actions { flex-direction: column-reverse; } .form-actions .button { width: 100%; } .panel-heading { padding: 16px; } .item { padding: 17px 16px; } .login-panel { padding: 40px 20px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
