/* Project pages share the notebook typeface and paper palette. */
.home-list-heading{align-items:center;margin-top:12px!important;margin-bottom:4px!important}
.home-list-heading .home-view-tabs,.project-home-content>.home-view-tabs{margin:0;background:transparent;padding:0;gap:6px;border-radius:0}
.home-list-heading .home-view-tabs button,.project-home-content>.home-view-tabs button{min-width:0;padding:7px 10px;font-size:20px}
.home-list-heading .home-view-tabs button.active,.project-home-content>.home-view-tabs button.active{background:#e8eddf;box-shadow:none}
.project-home-content>.home-view-tabs{margin:12px 0 14px}
.home-section-tabs,.home-view-tabs{display:flex;align-items:center;gap:4px;margin:4px 0 14px;padding:3px;background:#e9eee3;border-radius:13px;width:max-content;max-width:100%}
.home-section-tabs button,.home-view-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;min-width:100px;padding:7px 17px;border-radius:10px;background:transparent;color:#667568;font-family:var(--hand);font-size:17px}
.home-section-tabs button.active,.home-view-tabs button.active{background:var(--white);color:var(--ink);box-shadow:0 2px 7px #314b4010}
.home-view-tabs .home-tab-logo{width:24px;height:24px;flex-shrink:0;transition:transform .2s ease,opacity .2s ease}
.home-view-tabs button:not(.active) .home-tab-logo{opacity:.76}
.home-view-tabs button.active .home-tab-logo{transform:translateY(-1px)}
.projects-page{padding:0 0 18px;font-family:var(--hand);overflow-wrap:anywhere}
.project-page-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:4px 0 14px}
.project-page-heading h1{font:500 27px/1.4 var(--hand);min-width:0;overflow-wrap:anywhere}
.project-page-heading>div{display:flex;align-items:center;gap:3px;flex-shrink:0}
.project-page-heading .text-button{display:flex;align-items:center;gap:4px;white-space:normal}
.project-page-heading .text-button svg{width:18px;height:18px}
.project-categories{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 16px}
.project-category{border:1px solid var(--line);border-radius:20px;padding:7px 13px;min-height:44px;background:transparent;color:#627364;font-size:14px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.project-category.active{background:var(--green);border-color:var(--green);color:#fffdf8}
.project-category-add{border-style:dashed}
.project-summary{display:flex;align-items:center;gap:18px;padding:16px 0 21px;margin:0 0 10px;border-bottom:1px solid var(--line)}
.project-summary>div:last-child{display:grid;gap:3px;min-width:0}
.project-summary strong{font-size:20px;font-weight:500}
.project-summary span:not(.project-ring span){color:#69786a;font-size:14px}
.project-ring{position:relative;width:56px;height:56px;flex-shrink:0}
.project-ring>svg{width:100%;height:100%;display:block}
.project-ring-track,.project-ring-fill{fill:none;stroke-width:3.2}
.project-ring-track{stroke:#e2e8db}
.project-ring-fill{stroke:var(--green);stroke-linecap:round}
.project-ring>span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:var(--ink);font:500 15px/1 var(--hand);font-variant-numeric:tabular-nums}
.project-ring>span small{font-size:10px;margin-left:1px}
.project-ring-large{width:80px;height:80px}
.project-ring-large>span{font-size:21px}
.project-ring-large>span small{font-size:12px}
.project-category-heading,.project-section-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0}
.project-category-heading>span{min-width:0;font-size:18px}
.project-section-title h2{font-size:20px;font-weight:500}
.project-cards{display:grid;gap:12px}
.project-card{position:relative;border:1px solid var(--line);border-radius:17px;background:var(--white);overflow:hidden}
.project-card-open{display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:20px 16px;background:transparent;min-height:134px}
.project-folder{color:var(--green);align-self:flex-start;margin-top:4px}
.project-folder svg{width:25px;height:25px}
.project-card-copy{min-width:0;flex:1;padding-right:2px;display:grid;gap:5px}
.project-card-copy>strong{font-size:20px;font-weight:500;overflow-wrap:anywhere}
.project-card-copy small{color:#738071;font-size:12px}
.project-card-count{font-size:13px;color:#5c705e}
.project-more{position:absolute;right:4px;top:0;width:44px;height:36px;background:transparent;color:#75816e}
.project-more svg{width:20px;height:20px}
.project-breadcrumb{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 8px;color:#71806e}
.project-breadcrumb .text-button{display:flex;align-items:center;gap:3px;text-align:left;white-space:normal}
.project-breadcrumb>span{font-size:12px}
.project-child-pages{display:grid;gap:8px}
.project-child-page{width:100%;display:flex;align-items:center;gap:12px;padding:15px 14px;min-height:78px;border:1px solid var(--line);border-radius:13px;background:var(--white);text-align:left}
.project-child-icon{color:var(--green);flex-shrink:0}
.project-child-page>span:nth-child(2){flex:1;min-width:0}
.project-child-page strong{display:block;font-size:18px;font-weight:500}
.project-child-page small{display:block;font-size:12px;color:#738071;margin-top:3px}
.project-child-page>svg{width:16px;height:16px;color:#879181}
.project-list-progress{display:flex;align-items:center;gap:12px;margin:0 0 18px}
.project-track{height:6px;background:#e2e8db;flex:1;border-radius:6px;overflow:hidden}
.project-track i{display:block;height:100%;background:var(--green);border-radius:6px}
.project-list-progress>span{font-size:13px;color:#697969;font-variant-numeric:tabular-nums}
.project-task-row .task-main{min-width:0}
.project-task-row .task-title{overflow-wrap:anywhere}
.project-task-row .task-sub{font-size:12px;white-space:normal;overflow-wrap:anywhere;line-height:1.6}
.project-task-row.done .task-title{text-decoration:line-through;text-decoration-thickness:1px;text-decoration-color:#87988b;color:#6b7c70}
.project-today-button{min-width:44px;min-height:44px;padding:6px;background:transparent;color:var(--green);font-size:12px;max-width:68px;flex-shrink:0}
.project-empty{text-align:center;color:#738071;padding:28px 8px}
.project-empty>svg{width:34px;height:34px;color:#8b9a82}
.project-empty h2{font-size:20px;font-weight:500;margin-top:10px;color:var(--ink)}
.project-empty p{font-size:14px;margin:8px 0 18px}
.project-empty .primary{max-width:250px;margin:0 auto}
.project-bottom-tools{text-align:center;margin-top:16px}
.project-import-actions{display:flex;gap:10px;margin-bottom:14px}
.project-import-actions>.secondary{width:auto;flex:1;margin:0;min-height:44px;display:flex;align-items:center;justify-content:center;gap:5px}
.project-import-actions svg{width:18px;height:18px}
.project-template-tools{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:4px 0}
.project-json-text{font:14px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace!important;min-height:235px;resize:vertical;tab-size:2}
.project-form-error{font-size:14px;color:#a54e44;margin:10px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.project-import-count{font-size:14px;color:#61755f;margin:14px 0}
.project-import-warnings{color:#79684a;font-size:13px;margin:12px 0;background:#f4efdf;border-radius:10px;padding:10px 12px}
.project-import-warnings summary{min-height:32px}
.project-import-warnings ul{margin:5px 0 0;padding-left:20px;max-height:180px;overflow:auto}
.project-preview-collection{font-size:20px;font-weight:500;margin:18px 0 8px}
.project-preview-project{margin:0 0 18px}
.project-preview-project>h3{display:flex;gap:7px;align-items:center;font-size:18px;font-weight:500;margin:8px 0}
.project-preview-project>h3 svg{width:20px;height:20px;color:var(--green)}
.project-preview-list{border-left:1px solid #cfd8c8;padding-left:14px;margin-left:9px}
.project-preview-list>h4{font-size:15px;font-weight:500;margin:10px 0 2px}
.project-preview-task{display:flex;align-items:flex-start;gap:9px;min-height:52px;padding:8px 0}
.project-preview-task input{width:20px;height:20px;accent-color:var(--green);flex-shrink:0;margin:3px 0}
.project-preview-task>span{min-width:0;font-size:15px;overflow-wrap:anywhere}
.project-preview-task small{display:block;font-size:12px;color:#74816e;margin-top:2px}
.project-import-hint{font-size:13px;color:#6c7a69;line-height:1.7;margin:16px 0}
.project-weekdays{border:0;margin:14px 0;padding:0;display:flex;flex-wrap:wrap;gap:5px}
.project-weekdays legend{font-size:14px;margin-bottom:8px}
.project-weekdays label{display:flex;align-items:center;gap:4px;min-height:44px;min-width:44px;justify-content:center}
.project-weekdays input{accent-color:var(--green)}
@media(max-width:360px){.project-card-open{padding:18px 12px;gap:8px}.project-ring{width:46px;height:46px}.project-ring-large{width:74px;height:74px}.project-card-copy>strong{font-size:18px}.project-folder{display:none}.project-page-heading h1{font-size:24px}.project-today-button{max-width:52px}.project-json-text{font-size:16px!important}}
@media(prefers-reduced-motion:reduce){.project-card-open,.project-child-page,.project-category,.home-view-tabs .home-tab-logo{transition:none}}
