.memory-page{padding:0 32px 32px}.memory-tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-bottom:24px;overflow-x:auto}.memory-tabs .filter{white-space:nowrap}.work-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.work-notice{color:var(--muted);margin:12px 0 20px;line-height:1.6}.work-layout{display:grid;grid-template-columns:minmax(220px,32%) minmax(0,1fr);min-height:350px}.work-list{padding-right:20px;border-right:1px solid var(--line)}.work-row{display:flex;flex-direction:column;gap:7px;width:100%;text-align:left;padding:15px 12px;background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;cursor:pointer;color:var(--ink)}.work-row:hover,.work-row.selected{background:var(--selected)}.work-row-title{font-size:15px;font-weight:600;overflow-wrap:anywhere}.work-row-summary{color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.5}.work-row-meta{font-size:12px;color:var(--muted)}.work-detail{padding:0 0 28px 28px;min-width:0}.work-detail h2{font-size:25px;line-height:1.35;overflow-wrap:anywhere;margin:20px 0}.work-detail-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.work-summary{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.8}.work-related,.work-materials{margin-top:28px}.work-related h3,.work-materials h3{font-size:14px;margin-bottom:10px}.work-material{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.work-material button{max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:left}.work-material small{color:var(--muted)}.work-footer{margin-top:32px;display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap}.work-editor{max-width:720px;margin:0 auto}.work-editor .field{display:flex;flex-direction:column;gap:8px;margin-bottom:22px}.work-editor input,.work-editor select,.work-editor textarea{width:100%;min-width:0;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);font:inherit}.work-editor textarea{resize:vertical;line-height:1.6}.work-form-pair{display:grid;grid-template-columns:1fr 1fr;gap:20px}.work-links{border:0;padding:0;margin:0 0 24px}.work-links legend{margin-bottom:10px;font-size:14px;font-weight:500}.work-check{display:flex;align-items:center;gap:10px;padding:8px 0;overflow-wrap:anywhere}.work-check input{width:16px;height:16px;flex-shrink:0}.work-material-editor{margin:24px 0}.work-material-editor summary{cursor:pointer;font-weight:500;margin-bottom:16px}.work-material-editor .field{align-items:flex-start}.work-ref-row{display:flex;gap:12px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:8px 0;margin-bottom:12px}.work-ref-row span{overflow-wrap:anywhere;min-width:0}.work-error{color:#a13325;line-height:1.6}.knowledge-list{max-width:850px}.knowledge-row{width:100%;display:flex;flex-direction:column;gap:9px;padding:20px 0;text-align:left;background:none;border:0;border-bottom:1px solid var(--line);color:var(--ink);font:inherit;cursor:pointer;line-height:1.7}.knowledge-row small{color:var(--muted);font-size:12px}.knowledge-row:hover span{text-decoration:underline}.legacy-work{margin-top:36px;max-width:700px}.legacy-work h3{font-size:15px}.context-home{max-width:1020px;margin:0 auto;padding:12px 40px 56px}.home-date{color:var(--muted);font-size:13px;margin:0 0 14px}.home-section{margin-bottom:34px}.home-section .section-heading{margin-bottom:10px}.home-section h3{font-size:15px;font-weight:500;margin:0}.home-goal{display:flex;flex-direction:column;align-items:flex-start;text-align:left;width:100%;gap:9px;padding:20px 0;background:none;border:0;border-bottom:1px solid var(--line);color:var(--ink);font:inherit;cursor:pointer}.home-goal strong{font-size:20px;font-weight:500}.home-goal span,.home-project span{color:var(--muted);line-height:1.65;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.home-goal small{color:var(--muted);font-size:12px}.home-todo{display:flex;align-items:center;gap:13px;width:100%;text-align:left;padding:15px 0;border:0;border-bottom:1px solid var(--line);background:none;font:inherit;color:var(--ink);cursor:pointer}.home-todo span:nth-child(2){flex:1;overflow-wrap:anywhere}.home-todo time{color:var(--muted);font-size:12px}.todo-mark{width:15px;height:15px;border:1px solid var(--muted);border-radius:50%;flex-shrink:0}.home-project{display:flex;flex-direction:column;gap:8px;width:100%;padding:16px 0;background:none;border:0;border-bottom:1px solid var(--line);text-align:left;font:inherit;cursor:pointer;color:var(--ink)}.home-project strong{font-weight:500}.access-tabs{display:flex;gap:24px;padding:0 32px;border-bottom:1px solid var(--line)}
@media(max-width:940px){.work-layout{grid-template-columns:1fr}.work-list{border-right:0;padding-right:0}.work-detail{padding:24px 0 0}.work-layout:not(.has-selection) .work-detail{display:none}.memory-page{padding:0 24px 32px}.context-home{padding:8px 28px 40px}}
@media(max-width:700px){.memory-page{padding:0 18px 24px}.memory-tabs{gap:22px;margin-bottom:18px}.work-form-pair{grid-template-columns:1fr;gap:0}.work-editor input,.work-editor select,.work-editor textarea{font-size:16px}.context-home{padding:8px 24px 32px}.home-goal strong{font-size:19px}.access-tabs{padding:0 20px}}

.work-detail-back{display:none}.work-detail{scroll-margin-top:100px}.home-goal strong,.home-project strong{overflow-wrap:anywhere}.work-source-reader{max-width:850px;padding:24px 0}.work-source-reader pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.8}.work-source-message{padding:20px 0;border-bottom:1px solid var(--line)}
@media(max-width:940px){.work-detail-back{display:inline-flex}.work-layout.has-selection .work-list{display:none}.work-layout.has-selection .work-detail{padding-top:0}}

.home-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:34px}.home-heading h2{font-size:28px;letter-spacing:-.02em;margin:0;font-weight:600}.home-heading .button{flex-shrink:0}
.memory-immersive{position:fixed;inset:0;z-index:100;background:var(--surface);height:100svh;width:100%;overflow:hidden}
.immersive-toolbar{position:absolute;inset:0 0 auto;height:52px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 12px;z-index:3;pointer-events:none}
.immersive-toolbar>.button,.immersive-controls{pointer-events:auto;background:color-mix(in srgb,var(--surface) 86%,transparent);backdrop-filter:blur(14px);border-radius:9px}
.immersive-controls{display:flex;align-items:center;gap:10px;padding:0 5px}.immersive-controls select{font:inherit;font-size:13px;color:var(--ink);border:0;background:transparent;padding:7px 22px 7px 6px;min-height:44px;max-width:150px;cursor:pointer}.immersive-toolbar .button{min-height:44px;font-size:12px}
.memory-immersive .constellation-frame{position:absolute;inset:0;display:block;width:100%;height:100%;border:0;background:var(--paper)}

.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:700px){.home-heading h2{font-size:25px}.home-heading .button{font-size:12px}.immersive-toolbar{padding:4px 8px;gap:8px}.immersive-controls{gap:3px}.immersive-toolbar .button{padding-inline:7px}.immersive-controls select{max-width:119px}}
