.personal-page{padding:0;background:var(--theme-bg);min-height:100vh}.workbook-header{max-width:none;background:var(--theme-surface);padding:18px 4%;gap:22px}.workbook-back{margin-left:auto;font-size:14px;font-weight:600;padding:10px}.personal-shell{max-width:1580px;margin:auto;padding:42px 40px 80px;min-width:0}.workbook-heading{display:flex;align-items:center;justify-content:space-between;gap:30px}.workbook-heading .eyebrow{font-size:11px;margin:0 0 14px}.personal-shell h1{font-size:clamp(30px,3.4vw,45px);letter-spacing:-.045em;margin:0 0 12px;line-height:1.15}.workbook-heading>div>p:last-child{font-size:16px;color:var(--theme-muted);max-width:760px;margin:0}.save-area{display:flex;align-items:flex-end;flex-direction:column;gap:10px;flex-shrink:0}.save-area .button{font-size:13px;min-height:44px;padding:10px 17px;justify-content:center}#save-status{font-size:12px;color:var(--theme-muted);max-width:250px;text-align:right}#save-status.unsaved{color:var(--theme-danger)}.ownership-note{font-size:13px;color:var(--theme-muted);margin:20px 0 28px;line-height:1.7}.sheet-navigation{margin:0 0 24px;border-bottom:1px solid var(--theme-border)}.sheet-navigation>label{display:none}#personal-tabs{display:flex;gap:8px;overflow-x:auto;padding:0 0 14px;scrollbar-width:thin}#personal-tabs button{display:flex;align-items:center;gap:12px;white-space:nowrap;padding:11px 15px;font:inherit;font-size:14px;border:1px solid var(--theme-border);border-radius:8px;background:var(--theme-surface);color:var(--theme-text);cursor:pointer}#personal-tabs button span{font-size:11px;opacity:.75}#personal-tabs button[aria-current=page]{color:var(--theme-on-accent);background:var(--theme-accent);border-color:var(--theme-accent)}.workbook-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}.sheet-panel,.analysis-panel{border:1px solid var(--theme-border);border-radius:14px;background:var(--theme-surface);min-width:0}.sheet-panel{padding:26px}.sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.sheet-heading h2{font-size:26px;line-height:1.25;letter-spacing:-.04em;margin:0 0 8px}.section-kicker{font-size:10px;font-weight:700;letter-spacing:.11em;color:var(--theme-muted);margin:0 0 13px}#row-count{font-size:12px;color:var(--theme-muted);margin:0}.sheet-heading .button{font-size:13px;gap:16px;min-height:46px;padding:12px 16px;flex-shrink:0}.table-legend{display:flex;gap:20px;flex-wrap:wrap;margin:24px 0 8px;font-size:12px;color:var(--theme-muted)}.table-legend span{display:flex;align-items:center;gap:7px}.table-legend i{width:11px;height:11px;border:1px solid var(--theme-border);border-radius:3px}.input-key{background:var(--theme-surface)}.computed-key{background:var(--theme-soft)}.sheet-hint{font-size:13px;color:var(--theme-muted);line-height:1.65;margin:10px 0 20px}.table-scroll{overflow:auto;max-width:100%;border:1px solid var(--theme-border);border-radius:8px;scrollbar-width:thin}#personal-table{width:100%;border-collapse:separate;border-spacing:0;font-size:14px;white-space:nowrap}#personal-table th{text-align:left;background:var(--theme-soft);padding:14px 12px;font-size:12px;font-weight:600;border-bottom:1px solid var(--theme-border)}#personal-table td{padding:9px 8px;border-bottom:1px solid var(--theme-border)}#personal-table tr:last-child td{border-bottom:0}#personal-table th:first-child{position:sticky;left:0;z-index:1}#personal-table input{font:inherit;font-size:14px;border:1px solid var(--theme-border);border-radius:5px;padding:10px;min-height:42px;width:160px;background:var(--theme-surface);color:var(--theme-text)}#personal-table input[type=number]{width:105px}#personal-table input[type=date],#personal-table input[type=time]{width:145px}#personal-table input[type=checkbox]{min-height:22px;width:22px;height:22px;accent-color:var(--theme-accent);margin:8px}#personal-table input:user-invalid{border-color:var(--theme-border);background:var(--theme-bg)}#personal-table input:focus-visible{outline:2px solid var(--theme-border);outline-offset:2px}#personal-table .computed{background:var(--theme-soft);color:var(--theme-text);font-weight:700;text-align:right;padding-left:15px;padding-right:15px}#personal-table th.computed{font-weight:600}.row-actions{white-space:nowrap}.row-edit,.remove-row{font:inherit;font-size:12px;border:1px solid var(--theme-border);min-height:40px;border-radius:6px;padding:8px 10px;background:var(--theme-surface);color:var(--theme-muted)}.remove-row{margin-left:7px;width:36px;font-size:20px;padding:4px}.scroll-hint{font-size:12px;color:var(--theme-muted);margin:14px 0 0}.workbook-empty{padding:38px 20px;text-align:center}.empty-plus{display:grid;place-items:center;width:42px;height:42px;margin:0 auto 17px;background:var(--theme-soft);border-radius:12px;font-size:25px;color:var(--theme-muted)}.workbook-empty h3{font-size:20px;letter-spacing:-.025em;margin:0 0 12px}.workbook-empty p{font-size:14px;color:var(--theme-muted);max-width:440px;line-height:1.7;margin:0 auto 22px}.outline-button{font:inherit;font-size:14px;font-weight:600;min-height:46px;padding:12px 16px;border:1px solid var(--theme-border);border-radius:8px;background:var(--theme-surface);color:var(--theme-text)}.analysis-panel{padding:25px 22px}.analysis-panel h2{font-size:25px;letter-spacing:-.03em;margin:0 0 10px}.analysis-panel h3{font-size:14px;letter-spacing:0;margin:0 0 10px}.analysis-panel .section-kicker{font-size:9px;line-height:1.7}#analysis-scope{font-size:12px;line-height:1.6;color:var(--theme-muted);margin:0 0 18px}.analysis-metrics{display:grid;gap:15px}.analysis-metric{padding-bottom:15px;border-bottom:1px solid var(--theme-border)}.analysis-metric span{display:block;font-size:12px;color:var(--theme-muted);margin-bottom:5px}.analysis-metric strong{display:block;font-size:26px;letter-spacing:-.04em;line-height:1.2;overflow-wrap:anywhere}.analysis-insight{background:var(--theme-soft);border-radius:8px;padding:17px;margin-top:22px}.analysis-insight p{font-size:14px;line-height:1.7;margin:0;color:var(--theme-text);overflow-wrap:anywhere}#analysis-warnings{font-size:12px;line-height:1.7;color:var(--theme-danger);padding-left:18px;margin:16px 0}#analysis-chart{margin-top:24px}.analysis-bar{margin:13px 0}.analysis-bar>div:first-child{display:flex;gap:12px;justify-content:space-between;font-size:12px}.analysis-bar span{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.analysis-bar strong{font-weight:600;white-space:nowrap}.bar-track{height:6px;background:var(--theme-soft);border-radius:9px;margin-top:6px;overflow:hidden}.bar-track i{display:block;height:100%;background:var(--theme-accent);border-radius:9px;transition:width .25s}.bar-track i.negative{background:var(--theme-accent)}.chart-note{font-size:11px;color:var(--theme-muted)}.calculation-details{padding:16px 0 0;margin-top:24px;border-top:1px solid var(--theme-border);border-bottom:0}.calculation-details summary{font-size:12px;min-height:30px}.calculation-details p{font-size:12px;line-height:1.7;color:var(--theme-muted);padding:0}.habit-space-link{display:block;margin:-4px 0 24px;padding:15px 20px;border:1px solid var(--theme-border);border-radius:9px;background:var(--theme-surface);color:var(--theme-text);font-size:14px;font-weight:600}.habit-space-link:hover{text-decoration:underline}#save-error{background:var(--theme-soft);border:1px solid var(--theme-border);color:var(--theme-danger);border-radius:8px;font-size:14px;line-height:1.6;padding:16px;margin:16px 0}#reload{margin-bottom:18px}.personal-page button:disabled{opacity:.55;cursor:not-allowed;transform:none}.row-dialog{padding:26px;border:1px solid var(--theme-border);border-radius:16px;width:min(520px,calc(100% - 24px));max-height:calc(100dvh - 24px);background:var(--theme-surface);color:var(--theme-text)}.row-dialog::backdrop{background:color-mix(in srgb, var(--theme-accent) 60%, transparent);backdrop-filter:blur(4px)}.row-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.row-dialog h2{font-size:26px;line-height:1.2;margin:0;letter-spacing:-.035em}.dialog-close{width:44px;height:44px;flex-shrink:0;border:0;border-radius:50%;font-size:27px;background:var(--theme-soft);color:var(--theme-text)}.row-dialog>p{font-size:14px;color:var(--theme-muted);line-height:1.6;margin:15px 0 24px}#row-fields{display:grid;gap:17px}#row-fields label{display:block;font-size:14px;font-weight:600}#row-fields input{display:block;width:100%;min-height:48px;border:1px solid var(--theme-border);border-radius:7px;font:inherit;font-size:16px;font-weight:400;padding:11px 13px;margin-top:7px;color:var(--theme-text);background:var(--theme-surface)}#row-fields input[type=checkbox]{width:24px;height:24px;min-height:24px;accent-color:var(--theme-accent)}.row-dialog-actions{display:flex;justify-content:space-between;gap:12px;margin-top:25px}.row-dialog-actions .button{font-size:14px;padding:13px 18px}.row-open{overflow:hidden}@media(max-width:1150px){.workbook-grid{grid-template-columns:minmax(0,1fr)}.analysis-panel{display:block}.analysis-metrics{grid-template-columns:repeat(3,1fr);gap:22px}.analysis-insight{max-width:none}#chart-bars{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 30px}.analysis-bar span{max-width:230px}}@media(max-width:700px){.workbook-header{padding:15px 18px;gap:12px;position:static;flex-wrap:nowrap}.workbook-header>.logo{width:119px}.workbook-header .workbook-back{font-size:13px;padding:8px 0}.workbook-header .account-nav-link{margin-left:0}.personal-shell{padding:27px 16px 50px}.workbook-heading{display:block}.workbook-heading h1{font-size:32px}.workbook-heading>div>p:last-child{font-size:15px;line-height:1.7}.save-area{margin-top:20px;flex-direction:row;align-items:center;justify-content:space-between;gap:14px}#save-status{text-align:left;font-size:12px;max-width:180px}.save-area .button{font-size:12px;padding:10px 13px}.ownership-note{font-size:13px;margin:17px 0 22px}.sheet-navigation{border:0;margin-bottom:19px}.sheet-navigation>label{display:block;font-size:13px;font-weight:600}.sheet-navigation select{width:100%;display:block;min-height:49px;font:inherit;font-size:16px;border:1px solid var(--theme-border);border-radius:8px;margin-top:8px;padding:12px;background:var(--theme-surface);color:var(--theme-text)}#personal-tabs{display:none}.workbook-grid{gap:20px}.sheet-panel{padding:20px 14px}.sheet-heading{align-items:flex-start;flex-direction:column;gap:17px}.sheet-heading h2{font-size:24px}.sheet-heading .button{width:100%;justify-content:space-between;font-size:14px;min-height:48px}.table-legend{gap:12px;font-size:11px;margin-top:20px}.sheet-hint{font-size:13px}#personal-table input{font-size:16px;width:150px}#personal-table input[type=number]{width:110px}.row-edit{font-size:13px;min-height:44px}.remove-row{min-height:44px;width:40px}.analysis-panel{padding:23px 19px}.analysis-metrics{grid-template-columns:1fr;gap:15px}.analysis-metric{display:flex;align-items:center;gap:12px;justify-content:space-between}.analysis-metric strong{font-size:25px}.analysis-metric span{max-width:150px}.analysis-panel .section-kicker{font-size:10px}#chart-bars{display:block}.analysis-insight p{font-size:15px}.calculation-details summary{font-size:14px;min-height:44px}.calculation-details p{font-size:14px}.workbook-empty{padding:30px 12px}.workbook-empty h3{font-size:20px}.workbook-empty p{font-size:14px}.row-dialog{padding:22px}.row-dialog h2{font-size:24px}.row-dialog-actions{flex-wrap:wrap}.row-dialog-actions .button{flex:1;font-size:13px;min-height:48px}.habit-space-link{font-size:13px;padding:15px;margin-top:0}}
.mobile-analysis-preview{display:none}@media(max-width:700px){.mobile-analysis-preview{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 17px;margin-bottom:18px;border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:10px}.mobile-analysis-preview small{display:block;font-size:10px;letter-spacing:.08em;color:var(--theme-muted);margin-bottom:5px}.mobile-analysis-preview strong{font-size:14px;line-height:1.5;display:block}.analysis-preview-action{font-size:12px;text-decoration:underline;text-underline-offset:3px;flex-shrink:0}#analysis-title{scroll-margin-top:25px}}
/* The same quiet working surface as Habitudes: prepared entries and visible progress. */
.personal-shell{padding-top:28px}.workbook-heading h1{font-size:36px}.ownership-note{margin:14px 0 22px}.ready-summary{border:1px solid var(--theme-border);border-radius:14px;background:var(--theme-surface);padding:22px 26px;margin-bottom:22px}.ready-summary .section-kicker{font-size:12px;margin-bottom:6px}.ready-subtitle{font-size:14px;color:var(--theme-muted);margin:0 0 22px}.ready-summary .analysis-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.ready-summary .analysis-metric{border:0;padding:0;border-left:3px solid var(--theme-border);padding-left:18px;display:block}.ready-summary .analysis-metric span{font-size:14px;max-width:none;margin-bottom:9px}.ready-summary .analysis-metric strong{font-size:30px}.mobile-analysis-preview{display:none}.add-custom{margin-top:20px}.sheet-panel .section-kicker{font-size:12px}.sheet-hint,.table-legend,#row-count,#analysis-scope,.analysis-panel .section-kicker{font-size:14px}.analysis-panel .section-kicker{letter-spacing:.04em}.analysis-panel h2{font-size:24px}.table-scroll{border-radius:10px}#personal-table select{font:inherit;font-size:14px;min-height:44px;border:1px solid var(--theme-border);border-radius:6px;padding:10px;width:155px;color:var(--theme-text);background:var(--theme-surface)}#personal-table th{font-size:14px}#personal-table input{min-height:44px}#personal-table td:first-child input{font-weight:650}.remove-row{width:auto;font-size:12px;border:0;text-decoration:underline;color:var(--theme-muted)}.calculation-details summary,.calculation-details p{font-size:14px}#row-fields select{display:block;width:100%;min-height:48px;font:inherit;border:1px solid var(--theme-border);border-radius:7px;padding:11px;margin-top:7px}#personal-table input::placeholder{color:var(--theme-muted);opacity:1}
@media(max-width:700px){.personal-shell{padding:22px 14px 45px}.workbook-heading h1{font-size:29px}.workbook-heading>div>p:last-child{display:none}.ownership-note{font-size:14px;line-height:1.55;margin:16px 0}.save-area{margin-top:12px}.save-area .button{font-size:13px}.sheet-navigation{margin-bottom:14px}.ready-summary{padding:18px 16px;margin-bottom:16px}.ready-subtitle{display:none}.ready-summary .analysis-metrics{gap:12px;margin-top:18px;grid-template-columns:repeat(3,minmax(0,1fr))}.ready-summary .analysis-metric{padding-left:0;border-left:0}.ready-summary .analysis-metric span{font-size:13px;line-height:1.45;margin-bottom:8px}.ready-summary .analysis-metric strong{font-size:22px;overflow-wrap:anywhere}.sheet-panel{background:transparent;border:0;padding:0}.sheet-heading{flex-direction:row;align-items:center;gap:12px}.sheet-heading h2{font-size:23px}.sheet-heading .section-kicker{display:none}#row-count{font-size:12px;line-height:1.6;max-width:180px}.sheet-heading .button{width:auto;min-height:44px;padding:11px 12px;font-size:13px;white-space:normal;max-width:145px}.table-legend{margin-top:18px;font-size:12px}.sheet-hint{font-size:14px;margin:10px 0 17px}.table-scroll{overflow:visible;border:0;border-radius:0}.table-scroll:focus{outline:none}#personal-table,#personal-table tbody{display:block;white-space:normal}#personal-table thead{display:none}#personal-table tr.prepared-row{display:block;padding:15px;border:1px solid var(--theme-border);border-radius:12px;background:var(--theme-surface);margin-bottom:12px}#personal-table td{display:grid;grid-template-columns:minmax(100px,.85fr) minmax(0,1.15fr);gap:12px;align-items:center;padding:7px 0;border:0;min-width:0}#personal-table td:before{content:attr(data-label);font-size:14px;color:var(--theme-muted);line-height:1.5}#personal-table td:first-child{padding-top:0;border-bottom:1px solid var(--theme-border);padding-bottom:12px;margin-bottom:7px}#personal-table input,#personal-table select,#personal-table input[type=number],#personal-table input[type=date],#personal-table input[type=time]{width:100%;min-width:0;max-width:100%;font-size:16px;min-height:46px;box-sizing:border-box}#personal-table input[type=checkbox]{width:24px;min-height:24px;height:24px}#personal-table .computed{padding:12px 10px;border-radius:7px;margin-top:7px;text-align:right}#personal-table .row-actions{display:flex;justify-content:flex-end;padding:0;margin:4px 0 -5px}#personal-table .row-actions:before{display:none}.remove-row{min-height:40px;font-size:13px}.add-custom{width:100%;margin-top:6px}.analysis-panel{padding:21px 18px}.analysis-insight{margin-top:14px}.habit-space-link{font-size:14px}}
@media(max-width:360px){.ready-summary .analysis-metrics{grid-template-columns:1fr}.ready-summary .analysis-metric{display:flex;justify-content:space-between;gap:12px}.ready-summary .analysis-metric span{margin:0}.ready-summary .analysis-metric strong{font-size:23px}.workbook-header>.logo{width:95px}}
@media(max-width:700px){.workbook-heading .eyebrow,.ownership-note{display:none}.personal-shell{padding-top:18px}.workbook-heading h1{font-size:27px;margin-bottom:8px}.save-area{margin-top:8px;margin-bottom:16px}.ready-summary{padding:16px}.ready-summary .analysis-metrics{margin-top:13px}.table-legend{margin-top:14px}.sheet-hint{margin-bottom:14px}}
