/* Approved project-start v0.4 layout; five visible autosave rows. */
.hpf-is-projects #main{padding:16px 28px 18px}
.hpf-project-page{max-width:1240px;padding-block:0}
.hpf-project-page .hpf-section-heading{gap:14px;margin-bottom:10px;align-items:center}
.hpf-project-page .hpf-section-heading h2{font-size:21px;font-weight:700;letter-spacing:-.5px;flex-shrink:0}
.hpf-privacy-notice{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--hpf-muted);margin:0;line-height:1.5}
.hpf-privacy-notice svg{width:15px;height:15px;flex-shrink:0}
.hpf-start-row{grid-template-columns:minmax(0,3fr) minmax(0,1fr);margin-bottom:28px}
.hpf-start-auto{padding:12px 16px 14px;background:#f0f4fa;border-top:3px solid var(--hpf-accent)}
.hpf-start-manual{padding:12px 16px 14px;border-top:3px solid transparent;border-left:1px solid var(--hpf-rule);display:flex;flex-direction:column;min-width:0}
.hpf-start-heading{display:flex;align-items:center;gap:9px;font-size:18px;font-weight:700;color:var(--hpf-accent);margin:0 0 10px;line-height:27px}
.hpf-start-manual .hpf-start-heading{font-weight:800}
.hpf-start-heading small{margin-left:auto;font-size:12px;font-weight:400;color:var(--hpf-muted)}
.hpf-start-cards{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}
.hpf-entry-card{padding:14px;min-height:224px;border:1px solid #c8d4e3;border-radius:5px;background:#fff;display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.hpf-start-manual .hpf-entry-card{flex:1}
.hpf-entry-card h3{display:flex;align-items:center;gap:9px;font-size:17px;font-weight:700;letter-spacing:-.5px;line-height:25.5px;margin:0 0 9px}
.hpf-entry-card h3 svg{width:23px;height:23px}
.hpf-entry-card p{font-size:14px;color:var(--hpf-muted);line-height:1.65;margin:0 0 20px}
.hpf-entry-card .btn{margin-top:auto;width:224px;max-width:100%;min-height:38px;font-size:14px;padding:7px 12px;justify-content:center}
.hpf-project-list .hpf-section-heading{justify-content:flex-start;gap:14px;margin-bottom:4px}
.hpf-storage-note{flex:1;min-width:0;color:var(--hpf-muted);font-size:12px;line-height:1.6;margin:0}
.hpf-storage-issues{margin:0 0 10px}
.hpf-storage-issues .hpf-storage-note{background:var(--hpf-warning-bg);border:1px solid var(--hpf-rule);border-radius:6px;padding:9px 13px;color:var(--hpf-warning)}
.hpf-storage-issues .hpf-storage-note + .hpf-storage-note{margin-top:6px}
.hpf-project-load{margin-left:auto;flex-shrink:0;min-height:38px;font-size:14px}
.hpf-project-list .tw{--project-head:34px;--project-row:48px;height:calc(var(--project-head) + 5 * var(--project-row) + 2px);max-height:none;overflow:auto;scrollbar-gutter:stable;border:1px solid var(--hpf-rule);border-radius:6px}
.hpf-project-table{width:100%;min-width:1000px;table-layout:fixed;border-collapse:separate;border-spacing:0;font-size:12px}
.hpf-project-table th{position:sticky;top:0;z-index:1;height:var(--project-head);padding:6px 13px;line-height:18px;background:var(--hpf-paper-2)}
.hpf-project-table td{height:var(--project-row);padding:6px 13px;line-height:18px;vertical-align:middle;white-space:nowrap}
.hpf-project-title{padding:0;width:100%;min-width:0;font-size:13px;line-height:18px;gap:10px}
.hpf-project-title svg{flex-shrink:0}
.hpf-project-title>span{min-width:0;display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
.hpf-project-title small{font-size:11px;font-weight:400;line-height:16px;margin-top:0;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hpf-project-actions{display:flex;gap:10px;justify-content:flex-end;align-items:center}
.hpf-project-actions .btn{font-size:12px;min-height:28px;height:28px;padding:3px 9px;white-space:nowrap}
.hpf-project-list .hpf-empty{padding:48px 28px}
.hpf-project-file-dialog{width:530px!important;max-width:calc(100vw - 48px)}
.hpf-save-filename{display:flex;align-items:center;gap:8px}
.hpf-save-filename input{flex:1;min-width:0}
.hpf-save-filename span{font-size:13px;color:var(--hpf-muted)}
.hpf-project-file-help{font-size:12px;line-height:1.6;color:var(--hpf-muted)}
#hpf-save-error{color:var(--hpf-danger);font-size:12px}
.overview-import-dialog{width:960px!important;max-width:calc(100vw - 48px)}
.overview-import-dialog .c{border:0;box-shadow:none;padding:0;margin:0}
.overview-import-dialog .c>h2{display:none}
.hpf-upload-guidance{border:1px solid #aebfd5;border-left:4px solid var(--hpf-accent);background:#edf3fb;border-radius:4px;padding:12px 14px;margin-bottom:12px;color:var(--hpf-accent);font-size:13px;line-height:1.7}
.hpf-upload-guidance strong{display:block;font-size:15px}
.hpf-upload-guidance small{font-size:12px;display:block}

.overview-import-dialog #drop{display:grid;grid-template-columns:auto 1fr;gap:10px 14px}
.overview-import-dialog .overview-import-limit{grid-column:1/-1;grid-row:1;display:block;border:1px solid #aebfd5;border-left:4px solid var(--hpf-accent);border-radius:4px;background:#edf3fb;padding:10px 14px;font-size:15px;line-height:1.7;color:var(--hpf-accent)}
.overview-import-dialog #drop>[data-hpf-pick-overview]{grid-row:2;align-self:start}
.overview-import-dialog #imp-st{grid-column:1/-1}
