:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #202920;
  background: #f6f5ef;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #709b6a; outline-offset: 3px; }
a { color: inherit; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.app-shell { max-width: 1560px; margin: 0 auto; padding: 0 34px; }
.topbar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid #dedfd7; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 19px; font-weight: 760; letter-spacing: -.055em; white-space: nowrap; }
.brand-light { color: #829284; font-weight: 530; }
.brand-mark { display: grid; grid-template-columns: repeat(2, 7px); grid-template-rows: repeat(2, 7px); gap: 3px; transform: rotate(-12deg); }
.brand-mark span { background: #354f3f; border-radius: 2px; }
.brand-mark span:nth-child(2) { background: #a0b49b; }
.brand-mark span:nth-child(3) { background: #789078; }
.brand-mark span:nth-child(4) { background: #d8e3cb; }
.topbar-right { display: flex; align-items: center; gap: 22px; color: #8a9288; font-size: 12px; }
.sample-pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #d4dfce; background: #eff5e9; color: #567157; border-radius: 100px; padding: 7px 12px; font-weight: 650; white-space: nowrap; }
.sample-dot { width: 7px; height: 7px; background: #73a66e; border-radius: 50%; }
.footer { display: flex; justify-content: space-between; gap: 16px; padding: 24px 0 34px; color: #959d91; font-size: 12px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 15px; font-size: 11px; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; color: #6f886e; }
.eyebrow:before { content: ""; width: 16px; height: 1px; background: currentColor; }
.hero { padding: 49px 0 31px; display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.hero h1, .detail-hero h1 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.055em; line-height: 1.03; }
.hero h1 { font-size: clamp(37px, 4.5vw, 68px); margin: 0 0 14px; }
.hero-copy { color: #758075; margin: 0; max-width: 620px; line-height: 1.6; font-size: 14px; }
.hero-aside { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 7px; color: #89958a; font-size: 12px; padding-bottom: 3px; }
.hero-aside strong { color: #4d5e4f; font-weight: 650; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 11px; margin: 0 0 24px; }
.metric { min-height: 105px; border: 1px solid #e0e2d9; border-radius: 13px; background: #fff; padding: 17px 20px 15px; position: relative; overflow: hidden; }
.metric:after { content: ''; position: absolute; right: -25px; bottom: -38px; width: 105px; height: 105px; border: 1px solid #ebeee4; border-radius: 50%; }
.metric-label { color: #849085; font-size: 12px; font-weight: 620; }
.metric-number { display: block; font-family: Georgia, 'Times New Roman', serif; font-size: 38px; line-height: 1; margin-top: 11px; letter-spacing: -.05em; }
.metric-sub { display: block; color: #a0a9a0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 11px; font-weight: 500; letter-spacing: 0; line-height: 1.3; margin-top: 4px; }
.workspace { border: 1px solid #dde1d7; background: #fff; border-radius: 17px; overflow: hidden; box-shadow: 0 15px 44px rgba(55,73,48,.035); }
.workspace-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 23px; border-bottom: 1px solid #eaede7; }
.workspace-heading { display: flex; align-items: center; gap: 12px; }
.workspace-heading h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 23px; font-weight: 400; letter-spacing: -.035em; }
.count-badge { padding: 3px 8px; border-radius: 100px; background: #f0f3ed; color: #788877; font-size: 11px; font-weight: 700; }
.view-toggle { display: inline-flex; background: #f4f5f0; padding: 3px; border: 1px solid #e9ece5; border-radius: 9px; }
.view-toggle button { border: 0; background: transparent; border-radius: 7px; color: #7d877d; padding: 8px 12px; font-size: 12px; font-weight: 680; }
.view-toggle button[aria-pressed="true"] { color: #405540; background: #fff; box-shadow: 0 1px 4px rgba(40,60,40,.1); }
.filters { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 15px 23px; border-bottom: 1px solid #eaede7; }
.search-wrap { position: relative; margin-right: 6px; flex: 1 1 245px; max-width: 340px; }
.search-wrap:before { content: '⌕'; font-size: 22px; line-height: 1; color: #9ba69a; position: absolute; left: 12px; top: 7px; }
.search-wrap input { width: 100%; height: 37px; border: 1px solid #e2e6df; border-radius: 8px; padding: 0 12px 0 36px; color: #334333; background: #fafbf8; font-size: 12px; }
.search-wrap input::placeholder { color: #aab2aa; }
.filter-btn { border: 1px solid transparent; background: transparent; padding: 8px 11px; color: #7e8a7d; border-radius: 7px; font-size: 12px; font-weight: 650; white-space: nowrap; }
.filter-btn[aria-pressed="true"] { background: #eaf1e7; color: #4b704e; border-color: #d8e7d3; }
.calendar-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 22px 23px 17px; }
.month-label { font-family: Georgia, 'Times New Roman', serif; font-size: 25px; letter-spacing: -.04em; }
.calendar-controls { display: flex; gap: 6px; }
.calendar-controls button, .icon-button, .outline-button { min-height: 34px; border: 1px solid #e1e5dd; background: #fff; color: #627463; border-radius: 7px; padding: 6px 11px; font-size: 12px; font-weight: 670; }
.calendar-controls .square, .icon-button { width: 34px; padding: 0; font-size: 18px; line-height: 1; }
.calendar-scroll { overflow-x: auto; }
.calendar { display: grid; grid-template-columns: repeat(7, minmax(112px, 1fr)); min-width: 784px; border-top: 1px solid #edf0ea; }
.weekday { padding: 12px 15px; color: #91a08f; text-transform: uppercase; font-size: 10px; font-weight: 760; letter-spacing: .08em; border-right: 1px solid #edf0ea; }
.weekday:nth-child(7) { border-right: 0; }
.day { min-height: 125px; padding: 12px 10px 9px; border-right: 1px solid #edf0ea; border-top: 1px solid #edf0ea; background: #fff; }
.day:nth-child(7n) { border-right: 0; }
.day.outside { background: #fbfcf9; }
.day.outside .date-number { color: #c6cec3; }
.date-number { display: inline-flex; width: 27px; height: 27px; align-items: center; justify-content: center; color: #657665; font-size: 11px; font-weight: 700; border-radius: 50%; margin-bottom: 8px; }
.day.today .date-number { color: #fff; background: #4b7651; }
.event { display: block; width: 100%; text-align: left; border: 0; border-left: 3px solid var(--event-accent); background: var(--event-bg); border-radius: 5px; padding: 7px 7px 7px 8px; margin: 0 0 5px; color: #3c4e3d; min-height: 42px; }
.event:hover, .event:focus-visible { filter: saturate(1.4) brightness(.97); }
.event.is-selected { box-shadow: inset 0 0 0 1px var(--event-accent); }
.event strong { display: block; font-size: 11px; line-height: 1.25; font-weight: 750; }
.event span { display: block; margin-top: 3px; font-size: 10px; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.calendar-body.with-sheet { display: grid; grid-template-columns: minmax(0,1fr) 320px; }
.calendar-body.with-sheet .calendar { grid-template-columns: repeat(7, minmax(108px, 1fr)); }
.event-sheet { border-left: 1px solid #eaede7; padding: 24px 22px; background: #fbfcf9; }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; }
.sheet-date { font-size: 11px; font-weight: 750; color: #7b947b; text-transform: uppercase; letter-spacing: .08em; }
.event-sheet h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.045em; font-size: 28px; line-height: 1.1; margin: 20px 0 10px; }
.event-sheet p { color: #748275; font-size: 13px; line-height: 1.58; }
.sheet-divider { border: 0; border-top: 1px solid #e5eae2; margin: 21px 0; }
.label { text-transform: uppercase; font-size: 10px; font-weight: 760; letter-spacing: .1em; color: #9aa79a; }
.sheet-value { margin: 5px 0 18px; color: #435344; font-size: 13px; line-height: 1.5; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; background: #38583f; color: #fff; border: 1px solid #38583f; border-radius: 8px; padding: 11px 14px; font-size: 12px; font-weight: 730; text-decoration: none; }
.primary-button:hover { background: #294b32; }
.sheet-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; padding: 22px; }
.project-card { display: flex; flex-direction: column; position: relative; min-height: 290px; text-align: left; background: #fff; border: 1px solid #e1e6de; border-radius: 12px; padding: 19px 20px; color: inherit; transition: border-color .15s, transform .15s, box-shadow .15s; }
.project-card:hover { transform: translateY(-2px); border-color: #b9cdb7; box-shadow: 0 9px 22px rgba(52,72,51,.08); }
.card-link { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: inherit; background: transparent; }
.card-link:focus-visible { outline-offset: -3px; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.project-icon { width: 33px; height: 33px; display: inline-flex; align-items: center; justify-content: center; background: var(--project-bg); color: var(--project-accent); border-radius: 9px; font-size: 15px; font-weight: 800; }
.status { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #dfe8db; color: #5e7962; background: #f0f6ee; border-radius: 100px; padding: 5px 8px; font-size: 10px; font-weight: 760; white-space: nowrap; }
.status:before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.needs-input { color: #a37538; background: #fff7e8; border-color: #f0e2c8; }
.status.needs-plan { color: #a37538; background: #fff7e8; border-color: #f0e2c8; }
.status.blocked { color: #ad655b; background: #fff0ec; border-color: #f3dcd5; }
.status.done { color: #637a9d; background: #eef3fb; border-color: #dce5f2; }
.project-card h3 { font-family: Georgia, 'Times New Roman', serif; font-size: 24px; font-weight: 400; letter-spacing: -.045em; margin: 19px 0 8px; }
.project-card p { color: #7b887c; font-size: 12px; line-height: 1.55; margin: 0; }
.card-spacer { flex: 1; }
.card-progress { border-top: 1px solid #ecf0e9; margin-top: 20px; padding-top: 16px; }
.progress-line { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; color: #7d8b7f; font-size: 11px; }
.progress-line strong { color: #384d3b; font-size: 18px; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.progress-track { height: 5px; background: #edf1ea; border-radius: 100px; overflow: hidden; margin: 9px 0; }
.progress-fill { height: 100%; background: var(--project-accent, #789977); border-radius: inherit; }
.card-meta { display: flex; justify-content: space-between; gap: 8px; color: #9aaa9b; font-size: 10px; }
.empty-state { padding: 54px 20px 64px; text-align: center; color: #7a897c; }
.empty-calendar { display: flex; align-items: baseline; gap: 12px; padding: 18px 23px; background: #f8faf5; color: #758575; border-bottom: 1px solid #e8eee4; font-size: 12px; line-height: 1.5; }
.empty-calendar strong { color: #4b624d; font-size: 13px; }
.empty-calendar code { color: #526a54; }
.empty-detail { background: #f8faf5; border: 1px dashed #dce7d8; border-radius: 8px; padding: 13px 15px; }
.empty-state strong { color: #4b624d; display: block; font-family: Georgia, 'Times New Roman', serif; font-size: 25px; font-weight: 400; margin-bottom: 8px; }
.detail { padding-top: 28px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: #9ba99a; font-size: 12px; margin-bottom: 30px; }
.breadcrumb button { border: 0; background: transparent; color: #6d836c; padding: 3px 0; font-size: inherit; font-weight: 670; }
.breadcrumb span:last-child { color: #4b5c4b; }
.detail-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin: 0 0 25px; }
.detail-hero h1 { font-size: clamp(38px,4.6vw,67px); margin: 0 0 14px; }
.detail-hero p { color: #718072; line-height: 1.62; margin: 0; max-width: 650px; font-size: 14px; }
.detail-hero-right { flex: 0 0 auto; text-align: right; }
.asof { display: block; color: #93a092; font-size: 11px; margin-top: 9px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(290px, .85fr); gap: 15px; margin-bottom: 15px; }
.panel { background: #fff; border: 1px solid #e0e5db; border-radius: 14px; padding: 22px 24px; }
.panel h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 25px; line-height: 1.13; letter-spacing: -.04em; font-weight: 400; margin: 0 0 18px; }
.panel p { color: #768577; line-height: 1.6; font-size: 13px; }
.panel-header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.panel-kicker { color: #9baa9c; text-transform: uppercase; letter-spacing: .09em; font-size: 10px; font-weight: 750; }
.large-progress { display: flex; align-items: baseline; gap: 8px; margin: 9px 0 14px; }
.large-progress strong { font-family: Georgia, 'Times New Roman', serif; font-size: 53px; line-height: 1; font-weight: 400; letter-spacing: -.065em; }
.large-progress span { color: #92a092; font-size: 12px; }
.progress-track.large { height: 8px; }
.progress-caption { color: #839184; font-size: 12px; line-height: 1.5; margin-top: 11px; }
.info-trio { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; margin-bottom: 15px; }
.info-box { background: #fff; border: 1px solid #e0e5db; border-radius: 13px; padding: 18px 18px 16px; }
.info-box .label { margin-bottom: 10px; display: block; }
.info-box p { color: #596e5b; font-size: 13px; line-height: 1.55; margin: 0; }
.info-box.next { background: #edf3e9; border-color: #dce9d6; }
.info-box.next p { color: #385a3d; }
.feature-list { display: grid; gap: 9px; }
.feature-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; border: 1px solid #e8ece5; border-radius: 9px; background: #fbfcf9; padding: 15px 14px; text-align: left; color: inherit; }
.feature-row:hover { background: #f3f8f0; border-color: #cddfca; }
.feature-row strong { display: block; color: #3d513f; font-size: 13px; margin-bottom: 5px; }
.feature-row small { display: block; color: #8d9a8c; font-size: 11px; line-height: 1.35; }
.feature-row .arrow { color: #9dab9a; font-size: 20px; }
.key-value { display: grid; gap: 13px; }
.key-value div { padding-bottom: 12px; border-bottom: 1px solid #edf0eb; }
.key-value div:last-child { border: 0; padding-bottom: 0; }
.key-value dt { color: #9baa9c; font-size: 10px; text-transform: uppercase; letter-spacing: .09em; font-weight: 760; margin-bottom: 5px; }
.key-value dd { margin: 0; color: #536853; font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.task-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.task { display: flex; align-items: start; gap: 11px; border-top: 1px solid #edf0ea; padding: 12px 0; }
.task:first-child { border-top: 0; }
.task-icon { display: inline-flex; flex: 0 0 20px; width: 20px; height: 20px; align-items: center; justify-content: center; border-radius: 50%; background: #e7f1e4; color: #4f8453; font-size: 12px; font-weight: 800; }
.task.pending .task-icon { background: #f5f1e9; color: #b29b75; }
.task.unknown .task-icon { background: #edf0f2; color: #9ba6aa; }
.task-main { flex: 1; }
.task-title { display: block; color: #455b47; font-size: 13px; line-height: 1.4; }
.task-detail { display: block; color: #98a598; font-size: 11px; margin-top: 4px; line-height: 1.45; }
.task-state { font-size: 10px; color: #8c9d8e; text-transform: capitalize; white-space: nowrap; padding-top: 3px; }
.log-list { margin: 0; padding: 0 0 0 20px; list-style: none; border-left: 1px solid #dce5d9; }
.log-entry { position: relative; margin-bottom: 23px; }
.log-entry:last-child { margin-bottom: 0; }
.log-entry:before { content: ''; position: absolute; left: -25px; top: 5px; width: 9px; height: 9px; border: 2px solid #fff; border-radius: 50%; background: #84a783; box-shadow: 0 0 0 1px #84a783; }
.log-date { color: #91a192; font-size: 11px; font-weight: 700; }
.log-entry h3 { margin: 6px 0 7px; color: #3d543f; font-size: 14px; }
.log-entry p { margin: 5px 0; font-size: 12px; color: #718173; line-height: 1.55; }
.log-entry p strong { color: #4a624c; font-weight: 700; }
.section-spacer { margin-top: 15px; }
.source-note { color: #879587; font-size: 11px; line-height: 1.5; margin-top: 14px; }
.source-note code { background: #f2f4ee; border-radius: 3px; padding: 2px 4px; color: #526a54; overflow-wrap: anywhere; }
.warning-note { background: #fff8eb; border: 1px solid #f1e3c5; color: #926e37; border-radius: 8px; padding: 12px 14px; font-size: 12px; line-height: 1.5; }
.feature-intro { font-size: 14px; color: #687b6a; line-height: 1.65; margin: 0 0 18px; }
@media (max-width: 1100px) { .portfolio-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .calendar-body.with-sheet { display: block; } .event-sheet { border-left: 0; border-top: 1px solid #e6ebe3; } }
@media (max-width: 760px) { .app-shell { padding: 0 18px; } .topbar { min-height: 66px; } .topbar-note { display: none; } .hero { padding: 34px 0 24px; display: block; } .hero-aside { align-items: flex-start; margin-top: 16px; } .metrics { grid-template-columns: repeat(2,minmax(0,1fr)); } .metric { min-height: 93px; padding: 15px; } .metric-number { font-size: 34px; } .workspace-toolbar { padding: 15px; } .filters { padding: 13px 15px; } .calendar-top { padding: 18px 15px 14px; } .portfolio-grid { padding: 15px; gap: 10px; } .detail-grid { grid-template-columns: 1fr; } .info-trio { grid-template-columns: 1fr; } .detail-hero { display: block; } .detail-hero-right { text-align: left; margin-top: 16px; } }
@media (max-width: 560px) { .portfolio-grid { grid-template-columns: 1fr; } .project-card { min-height: 230px; } .workspace-heading h2 { font-size: 20px; } .view-toggle button { padding: 7px 8px; } .topbar-right { gap: 8px; } .sample-pill { padding: 6px 8px; font-size: 10px; } .footer { flex-direction: column; gap: 5px; } .panel { padding: 19px; } .day { min-height: 106px; } }
