:root{font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Noto Sans JP",sans-serif;color:#26392f;background:#f3f5ef;line-height:1.7;font-size:15px}*{box-sizing:border-box}body{margin:0}.app{max-width:1100px;margin:auto;padding:0 24px}button,a,summary{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button,a,summary{touch-action:manipulation}a{color:inherit;text-underline-offset:4px}h1,h2,h3,p{overflow-wrap:anywhere}h2{font-size:19px;margin:0}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #81965b;outline-offset:4px}button{border:0}.app-header{padding:30px 0 25px;border-bottom:1px solid #dbe2d2;margin-bottom:24px}.header-line{display:flex;align-items:center;justify-content:space-between}.wordmark{font-size:14px;font-weight:800;letter-spacing:.16em}.view-mode{border:1px solid #c8d4bb;border-radius:24px;padding:3px 11px;font-size:11px;color:#617056}.overline{letter-spacing:.17em;font-size:10px;font-weight:700;color:#7a896b;margin:24px 0 6px}.app-header h1{font-size:clamp(28px,4vw,38px);line-height:1.35;margin:0 0 10px;letter-spacing:-.04em}.app-header #updated{font-size:12px;color:#748068;margin:0;font-variant-numeric:tabular-nums}.action-panel{padding:20px 23px;background:#e7ecdf;border:1px solid #d6dfca;border-radius:15px}.action-panel h2{font-size:20px}.action-panel>.overline{margin:0 0 7px;font-size:10px}.action-panel>p{font-size:13px;color:#65735b;margin:6px 0 0}.action-list{margin-top:10px}.action-list>summary{cursor:pointer;padding:9px 0;font-size:13px}.action-item{padding:20px 0;border-top:1px solid #cfdac3}.action-item h3{font-size:14px;margin:0;color:#5b7050}.action-item p{font-size:15px;margin:8px 0 10px}.action-item:last-child{padding-bottom:0}.action-item .complete-button{display:inline-flex;margin-left:8px}.execution-note{font-size:12px;line-height:1.7;color:#7b8471;margin:13px 3px 28px;max-width:740px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 10px}.section-heading>span{font-size:12px;color:#748068;white-space:nowrap}.topic-filters{display:flex;gap:7px;overflow:auto;padding:6px 0 19px;scrollbar-width:none}.filter-button{flex:none;border:1px solid #d9e1d0;background:transparent;border-radius:25px;padding:10px 14px;color:#576a4b;min-height:44px;font-size:12px;white-space:nowrap}.filter-button[aria-pressed=true]{background:#294535;color:#fff;border-color:#294535}.filter-count{font-size:11px;opacity:.7;margin-left:6px}.projects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.project-card{background:#fff;border:1px solid #dde3d7;border-radius:15px;padding:22px;display:flex;flex-direction:column;min-width:0}.card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.category{font-size:10px;letter-spacing:.03em;color:#859077;padding-top:3px;overflow-wrap:anywhere;min-width:0}.badge{display:inline-block;border-radius:20px;padding:4px 9px;font-size:10px;font-weight:600;background:#eeefeb;color:#748069;line-height:1.6;flex-shrink:0;max-width:72%;text-align:center}.badge.action{background:#fcf1d6;color:#86661e}.badge.alert{background:#f8e8df;color:#915934}.badge.wait{background:#ebefe5;color:#64764e}.badge.review{background:#ececf1;color:#6d6c7e}.badge.done{background:#e6efe3;color:#4d7142}.badge.muted{background:#f0f1ee;color:#828978}.project-card h3{font-size:20px;line-height:1.5;letter-spacing:-.035em;margin:13px 0 18px}.label{display:block;font-size:10px;color:#86917a;margin-bottom:5px;letter-spacing:.03em}.progress-field p,.next-field p{font-size:13px;color:#53624a;margin:0;line-height:1.85}.progress-field p{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.next-field{border-top:1px solid #edf0e7;margin-top:16px;padding-top:14px}.next-field p{font-weight:600;color:#31462c;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:18px}.verified{font-size:10px;color:#8b947f;margin:0}.detail-button,.quiet-button{font-size:12px;color:#5d754a;background:#f3f6ed;border:1px solid #e2e8d8;border-radius:8px;padding:10px 13px;min-height:44px}.empty{grid-column:1/-1;background:#fff;border:1px dashed #ced9c1;border-radius:15px;padding:35px 24px;text-align:center;color:#7a856e;font-size:13px}.work-links-section{margin:27px 0 0;padding:20px 23px;background:#fff;border:1px solid #dde3d7;border-radius:15px}.work-links-section summary{font-size:15px;min-height:44px;padding:8px 0;cursor:pointer;font-weight:600}.link-category,.related-heading{font-size:12px;margin:20px 0 11px;color:#7f8b73}.work-link-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.work-link{font-size:12px;padding:11px 12px;background:#f2f5ec;border:1px solid #e5ebdc;border-radius:8px;text-decoration:none;min-height:45px;display:flex;align-items:center;overflow-wrap:anywhere}.link-note{font-size:11px;color:#89917e;margin:17px 0 0}.routine-heading{margin:24px 0 12px;font-size:16px}.recent-done{font-size:13px;background:#e7eee0;border-radius:10px;padding:13px 17px}footer{padding:24px 0 45px;color:#87917a;font-size:11px}footer p{margin:0 0 14px;max-width:680px}footer .quiet-button{background:transparent}.stale{color:#996337}dialog{border:1px solid #d4dec9;border-radius:18px;width:min(690px,calc(100vw - 28px));max-height:90dvh;padding:0 25px 24px;background:#fafbf7;color:#26392f;overscroll-behavior:contain}dialog::backdrop{background:#1f33285e}.dialog-top{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:15px;background:#fafbf7;border-bottom:1px solid #e0e6d8;padding:20px 0}.dialog-top h2{font-size:18px}.close-button{font-size:12px;border:1px solid #dce3d3;border-radius:9px;padding:10px 12px;white-space:nowrap;min-height:44px;background:#fff;color:#627852}.subproject{padding:18px 0;border-bottom:1px solid #dce5d2}.subproject h3{font-size:18px;margin:3px 0 10px}.subproject .current{font-size:14px;line-height:1.95;margin:18px 0}.field,.user-action{margin:14px 0}.field p,.user-action p{font-size:13px;margin:0;line-height:1.8}.user-action{background:#eef3e7;border-radius:10px;padding:13px 15px}.user-action.required{background:#faf1dc}.subproject summary{font-size:12px;padding:14px 0;cursor:pointer}.source-fields p,.completion-note{font-size:12px;line-height:1.8;color:#748367}.material-list{font-size:13px;line-height:1.9;padding-left:20px}.complete-button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:1px solid #c9dab8;background:#e6efdc;border-radius:9px;padding:10px 18px;min-height:44px;font-size:13px;font-weight:600;color:#446331}.install-steps{font-size:14px;line-height:2}#detail-content>p{font-size:14px}body:has(dialog[open]){overflow:hidden}[hidden]{display:none!important}@media(max-width:650px){.app{padding:0 max(17px,env(safe-area-inset-left)) 0 max(17px,env(safe-area-inset-right))}.app-header{padding-top:22px;margin-bottom:18px}.action-panel{padding:17px}.action-panel h2{font-size:18px}.projects{grid-template-columns:1fr;gap:13px}.project-card{padding:19px}.project-card h3{font-size:19px}.progress-field p,.next-field p{font-size:13px}.topic-filters{margin-right:-17px;padding-right:17px}.section-heading h2{font-size:17px}.work-links-section{padding:16px 18px}.work-link-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}.execution-note{margin-bottom:24px}dialog{padding:0 18px 20px}.dialog-top h2{font-size:17px}}@media(max-width:359px){.card-heading{display:block}.badge{margin-top:6px;max-width:100%}.work-link-buttons{grid-template-columns:1fr}}@media(display-mode:standalone){#install-button{display:none}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s}}
/* Restrained pastel accents on the existing green/ivory foundation. */
.badge.action{background:#f8e8ed;color:#794655}.badge.review{background:#ece9f6;color:#5c517a}.badge.wait{background:#e8f0f9;color:#3f5c79}.complete-button{background:#e0f0e7}.project-card:nth-child(4n+1){border-top:3px solid #e7d6dc}.project-card:nth-child(4n+2){border-top:3px solid #d4e8dd}.project-card:nth-child(4n+3){border-top:3px solid #dce8f4}.project-card:nth-child(4n){border-top:3px solid #e4dff1}
.history-panel{margin:32px 0 20px;border:1px solid #dce3d7;border-radius:18px;background:#fffefa;padding:20px}.history-panel>summary{font-size:20px;font-weight:700;cursor:pointer;line-height:1.6}.history-count{font-size:13px;background:#e8eee3;padding:4px 9px;border-radius:20px;margin-left:8px}.history-intro,.history-source{color:#667064;font-size:13px;line-height:1.8}.workflow-note{background:#f1eef7;border-radius:12px;padding:18px;margin:20px 0;line-height:1.85;font-size:14px}.workflow-note p{margin:8px 0 0}.history-group{font-size:15px;color:#52654c;margin:24px 0 12px}.history-entry{padding:22px 0;border-top:1px solid #e5e8df;overflow-wrap:anywhere}.history-entry h3{font-size:17px;line-height:1.7;margin:9px 0}.history-entry p{font-size:14px;line-height:1.9;margin:8px 0}.history-meta{display:flex;gap:10px;flex-wrap:wrap;color:#64725f;font-size:12px}.history-meta span{background:#eef3f8;border-radius:6px;padding:1px 7px}.history-result{background:#edf5ee;padding:10px 12px;border-radius:9px}.history-caution{color:#67576a}.history-entry .history-source{font-size:12px;color:#73796f}.older-history>summary{padding:16px 0;cursor:pointer;font-weight:600}.history-panel summary:focus-visible{outline:2px solid #50684a;outline-offset:5px}@media(max-width:600px){.history-panel{padding:17px}.history-panel>summary{font-size:18px}.workflow-note{padding:14px}}
.project-card .progress-field p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.project-card .next-field p{font-size:14px;line-height:1.75}

.owner-principles-panel{margin:20px 0 0;padding:15px 23px;background:#fff;border:1px solid #dde3d7;border-radius:15px}.owner-principles-panel>summary{font-size:14px;min-height:44px;padding:10px 0;cursor:pointer;font-weight:600;color:#52654c}.owner-principles-source{font-size:12px;color:#73796f;margin:14px 0 22px}.owner-principles-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.9;max-width:780px;padding-bottom:12px}@media(max-width:600px){.owner-principles-panel{padding:13px 17px}.owner-principles-text{font-size:14px;line-height:1.95}}

/* Decisions are visible inside the existing owner-action area, never behind a disclosure. */
.approval-section{margin:0 0 22px;padding-bottom:20px;border-bottom:1px solid #cfdac3}.approval-section>h2{color:#5d4151;display:flex;align-items:center;gap:8px}.approval-empty{font-size:13px;color:#65735b;margin:8px 0 0}.decision-card{margin-top:15px;padding:20px;border:1px solid #ddc5cf;border-left:4px solid #9a687d;border-radius:12px;background:#fffafc;min-width:0}.decision-heading{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}.decision-kind{font-size:11px;color:#7e6470}.decision-status{font-size:12px;font-weight:700;color:#784756;background:#f6e6ed;padding:5px 10px;border-radius:20px}.decision-card h3{font-size:19px;line-height:1.6;margin:13px 0 18px}.decision-card .label{font-size:11px;color:#725c67;font-weight:600}.decision-card .field p,.decision-evidence p{font-size:14px;line-height:1.85;white-space:pre-line;margin:0}.decision-evidence{padding:13px 15px;background:#f1edf5;border-radius:9px}.decision-evidence p{font-weight:700;font-variant-numeric:tabular-nums}.decision-source{font-size:11px;color:#776d73;margin:7px 0 14px}.decision-change{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;padding:0 14px;border:1px solid #e4d6dd;border-radius:9px;background:#fff}.decision-change .field{min-width:0}.decision-caution{font-size:12px;color:#765e6a;line-height:1.8}.decision-reply{border-top:1px solid #e5d9df;padding-top:14px;font-size:13px;color:#654453;line-height:1.8;margin-bottom:0}.subproject>.decision-card{margin-bottom:22px}@media(max-width:650px){.decision-card{padding:16px 14px}.decision-card h3{font-size:18px}.decision-change{grid-template-columns:1fr;gap:0}.decision-change .field+.field{border-top:1px solid #e4d6dd;padding-top:13px;margin-top:0}.decision-card .field p,.decision-evidence p{font-size:13px}.decision-heading{align-items:flex-start}.decision-status{font-size:11px}}
