@import "./fonts/noto-sans-sc/index.css";
:root{--canvas:#F7F6F0;--surface:#fff;--soft:#F2F2EC;--ink:#202621;--secondary:#687069;--green:#087F5B;--pressed:#066A4D;--tint:#E6F3EB;--nav:#28312B;--stroke:#E4E7DE;--danger:#A33636;--radius:32px;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:#ECEEE7;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:var(--green);text-decoration-thickness:1px;text-underline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #087F5B;outline-offset:3px}button:disabled{cursor:not-allowed;background:var(--soft);color:var(--secondary);border:1px solid var(--stroke)}
.app-shell{position:relative;max-width:480px;margin:auto;background:var(--canvas);min-height:100vh;min-height:100dvh;padding:env(safe-area-inset-top) 20px calc(110px + env(safe-area-inset-bottom))}.environment{font-size:11px;letter-spacing:.03em;color:var(--secondary);padding-top:13px;text-align:center}.app-header{display:flex;align-items:center;justify-content:space-between;padding:25px 0 26px;gap:12px}.brand{border:0;padding:0;text-align:left;color:var(--ink);background:none;font-size:26px;font-weight:800;letter-spacing:-1px}.brand span{display:block;font-size:11px;letter-spacing:0;font-weight:500;color:var(--secondary);margin-top:7px}.avatar{display:grid;place-items:center;border:0;border-radius:50%;width:44px;height:44px;flex:0 0 44px;background:var(--nav);color:white;font-weight:700}.avatar.large{width:64px;height:64px;border-radius:20px;font-size:28px}.avatar.soft{background:var(--soft);color:var(--ink);border-radius:15px}
main{outline:none}h1,h2,h3,p{margin:0}h1{font-size:25px;line-height:1.35;letter-spacing:-.5px}h2{font-size:19px;line-height:1.4}h3{font-size:17px;line-height:1.5}p{line-height:1.7;font-size:15px;overflow-wrap:anywhere}.muted{color:var(--secondary);font-size:13px}.kicker{color:var(--green);font-size:12px;font-weight:700;margin-bottom:10px}.card{background:var(--surface);border:1px solid #e4e7de66;border-radius:var(--radius);padding:22px;margin:16px 0;box-shadow:0 3px 18px #20262103}.card.compact{border-radius:26px;padding:18px}.card.tint{background:var(--tint);border:0}.section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:27px 0 12px}.row{display:flex;gap:12px;align-items:center}.between{justify-content:space-between}.grow{flex:1;min-width:0}.stack>*+*{margin-top:12px}.spaced{margin-top:20px}.pill{display:inline-flex;justify-content:center;align-items:center;min-height:46px;border:0;border-radius:999px;padding:11px 20px;background:var(--tint);color:var(--green);font-size:14px;font-weight:700;text-decoration:none;text-align:center;line-height:1.5}.pill.primary{background:var(--green);color:#fff}.pill.primary:active{background:var(--pressed)}.pill.secondary{background:#F0F1E9;color:var(--ink)}.pill.danger{color:var(--danger);background:#F9ECE8}.pill.full{width:100%}.text-button{border:0;min-height:44px;background:none;padding:6px 2px;color:var(--green);font-size:13px;font-weight:600}.icon-button{border:0;border-radius:50%;width:44px;height:44px;background:var(--green);color:white;font-size:26px;flex-shrink:0}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.actions>.pill{flex:1}.divider{height:1px;background:var(--stroke);margin:17px 0}.person-button{display:flex;align-items:center;gap:14px;width:100%;border:0;background:transparent;text-align:left;color:var(--ink);padding:0;min-height:60px}.person-button .chevron{color:var(--secondary);font-size:22px}.person-name{font-size:17px;font-weight:700}.person-sub{font-size:12px;color:var(--secondary);margin-top:5px;line-height:1.6}.tag{display:inline-block;padding:6px 10px;background:var(--soft);border-radius:10px;font-size:12px;margin:4px 5px 0 0}.intro{margin:7px 0 20px;color:var(--secondary);font-size:14px}.search-box{display:flex;align-items:center;gap:10px;background:white;border:1px solid var(--stroke);border-radius:28px;padding:6px 8px 6px 18px}.search-box input{border:0;background:none;min-width:0;flex:1;padding:10px 0;outline-offset:0;font-size:14px}.search-box button{border:0;border-radius:50%;background:var(--tint);color:var(--green);height:40px;width:40px;font-size:20px;flex-shrink:0}.quick-actions{display:flex;gap:8px;margin-top:18px}.quick-actions .pill{flex:1;padding:10px 8px;font-size:13px}.form-field{display:block;margin:0 0 17px}.form-field>span{display:block;font-size:13px;font-weight:600;margin-bottom:8px}.form-field input,.form-field textarea,.form-field select{display:block;width:100%;padding:13px 14px;background:var(--canvas);border:1px solid var(--stroke);border-radius:14px;min-height:47px;color:var(--ink);font-size:15px}.form-field textarea{min-height:106px;resize:vertical}.form-field small{display:block;font-size:12px;color:var(--secondary);margin-top:6px;line-height:1.5}.form-note{font-size:12px;color:var(--secondary);line-height:1.6;margin:14px 0}.checkbox{display:flex;gap:9px;font-size:13px;line-height:1.7;align-items:flex-start;margin:15px 0}.checkbox input{width:18px;height:18px;accent-color:var(--green);flex:0 0 18px}.empty{padding:35px 18px;text-align:center;border:1px dashed var(--stroke);border-radius:26px;margin:16px 0}.empty h3{margin-bottom:8px}.empty p{font-size:13px;color:var(--secondary)}.page-heading{display:flex;align-items:center;gap:12px;margin-bottom:14px}.page-heading h1{flex:1}.back{border:0;background:none;color:var(--green);min-width:44px;min-height:44px;font-size:24px;padding:0}.key-value{display:grid;grid-template-columns:70px 1fr;gap:10px;font-size:14px;line-height:1.8;margin:8px 0}.key-value span:first-child{color:var(--secondary)}.key-value span:last-child{overflow-wrap:anywhere}.memo-content{white-space:pre-wrap;margin:10px 0 0}.evidence{border-left:3px solid var(--tint);padding-left:13px;margin:14px 0;font-size:13px;white-space:pre-wrap}.trace{background:var(--soft);border-radius:16px;padding:15px;margin:12px 0;overflow:auto;max-height:380px;white-space:pre-wrap;font-size:11px;line-height:1.7;overflow-wrap:anywhere}.badge{color:var(--green);font-size:11px;letter-spacing:.03em}.error-panel{color:var(--danger)}details>summary{font-size:13px;color:var(--green);cursor:pointer;min-height:44px;padding:12px 0}#notice{background:var(--tint);border-radius:18px;padding:12px 16px;font-size:13px;line-height:1.6;margin:0 0 14px;overflow-wrap:anywhere}#notice.error{background:#F9ECE8;color:var(--danger)}
nav{position:fixed;z-index:20;bottom:max(14px,env(safe-area-inset-bottom));width:calc(100% - 40px);max-width:440px;display:flex;padding:6px;gap:4px;background:var(--nav);border:1px solid #ffffff17;border-radius:999px;box-shadow:0 7px 25px #2026210d}nav a{flex:1;display:flex;justify-content:center;align-items:center;min-height:44px;text-decoration:none;color:#DDE5DE;font-size:14px;font-weight:600;border-radius:999px}nav a[aria-current=page]{color:var(--green);background:white}nav a:active{opacity:.85}#login-form .pill{margin-top:5px}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tabs{display:flex;gap:8px;overflow:auto;padding:5px 0 12px}.tabs button{white-space:nowrap}.top-avatar{display:flex;align-items:center;gap:16px;margin-bottom:20px}.upload-row{display:block;border:1px dashed var(--stroke);border-radius:18px;padding:15px;overflow-wrap:anywhere}
@media(min-width:700px){.app-shell{box-shadow:0 0 80px #20262108}.environment{padding-top:20px}}@media(max-width:350px){.app-shell{padding-left:16px;padding-right:16px}.card{padding:18px}.brand{font-size:23px}.brand span{font-size:10px}nav{width:calc(100% - 32px)}.actions{gap:8px}.pill{padding:11px 13px}.two-columns{grid-template-columns:1fr}.person-sub{font-size:11px}}@media(prefers-reduced-motion:no-preference){button{transition:background-color 160ms,transform 160ms}button:active:not(:disabled){transform:scale(.98)}}

.record-display{text-align:center;padding:22px 8px 28px}.record-badge{display:inline-flex;align-items:center;gap:7px;color:var(--green);font-size:12px;font-weight:700;padding:6px 12px;border-radius:999px;background:var(--tint)}.record-badge:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.record-badge.is-recording{color:var(--danger);background:#F9ECE8}.record-clock{display:block;margin:18px 0 8px;font-size:48px;font-weight:500;line-height:1.15;font-variant-numeric:tabular-nums;letter-spacing:1px}.record-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.record-actions>[hidden]{display:none!important}.record-actions .record-main{width:100%;order:0;min-height:54px}.record-actions .secondary{flex:1;order:1}.record-actions .record-discard{flex:1;order:2;color:var(--secondary)}


.participant-chips{display:flex;flex-wrap:wrap;gap:8px}.participant-chips .pill{max-width:100%;overflow-wrap:anywhere;padding:8px 14px}.participant-picker{margin:8px 0 16px}.participant-picker>summary{font-weight:700}.participant-results .person-button{padding:6px 10px;border-bottom:1px solid var(--stroke);overflow-wrap:anywhere}.participant-picker .form-note:empty{display:none}

.memory-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px}
.memory-entry,.memory-recall{display:grid;gap:6px;color:inherit;text-decoration:none;border:1px solid #dfe9df;border-radius:18px;background:#f0f6ed;padding:14px}
.memory-entry:nth-child(2){background:#f3f4eb}.memory-icon{color:#09664d;font-size:22px;line-height:1}
.memory-entry small,.memory-recall small{color:#425c50}.memory-search{display:flex;align-items:center;gap:8px}
.memory-search-field{position:relative;display:flex;align-items:center;flex:1;min-width:0;height:44px;border:1px solid var(--stroke);border-radius:12px;background:var(--surface)}
.memory-search-field:focus-within{border-color:var(--green);box-shadow:0 0 0 2px var(--tint)}
.memory-search input{width:100%;min-width:0;height:100%;padding:0 44px 0 36px;border:0;border-radius:inherit;outline:none;background:transparent;color:var(--ink);font-size:16px}
.memory-search input::placeholder{color:var(--secondary);font-size:14px}
.memory-search input::-webkit-search-cancel-button{display:none}
.memory-search-icon{position:absolute;left:13px;top:14px;width:12px;height:12px;border:1.5px solid var(--secondary);border-radius:50%;pointer-events:none}
.memory-search-icon::after{content:'';position:absolute;width:6px;height:1.5px;background:var(--secondary);top:8px;left:8px;transform:rotate(45deg);transform-origin:left center}
.memory-search-clear{position:absolute;inset-inline-end:0;top:-1px;width:44px;height:44px;border:0;border-radius:12px;background:transparent;color:var(--secondary);font-size:19px;line-height:1}
.memory-search-clear:focus-visible{outline-offset:-3px}
.memory-search-submit{min-height:44px;min-width:48px;padding:0 9px;border:0;border-radius:10px;background:transparent;color:var(--green);font-size:13px;font-weight:700;white-space:nowrap}
.memory-search-submit:hover,.memory-search-submit:active{background:var(--tint)}
.memory-categories{display:flex;gap:6px;overflow-x:auto;padding:8px 0 12px}.memory-categories button{white-space:nowrap;min-height:44px}.memory-categories [aria-pressed=true]{background:#0b7658;color:white}
.memory-recall{margin:2px 0 16px;background:#eaf4ee}.memory-list-heading{display:flex;align-items:center;justify-content:space-between}
.memory-results .memo-content,.memory-results h2,.memory-results h3{overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.calendar-panel{border-radius:20px;background:linear-gradient(155deg,#eaf4eb,#fff);border:1px solid #dbe8dc;padding:8px;margin-block:12px;touch-action:pan-y}
.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:3px;flex-wrap:wrap}
.calendar-toolbar h2,.calendar-agenda h2,.memory-list-heading h2{font-size:1rem;margin:8px 0}.calendar-toolbar button{padding:0 7px;min-width:38px;min-height:44px;font-size:.8rem}
.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));text-align:center;margin-top:6px}
.calendar-weekday{font-size:.73rem;color:#455e50;padding:5px 0}.calendar-day{min-height:44px;min-width:0;padding:0;background:transparent;color:#24332b;border:1px solid transparent;border-radius:12px;display:grid;align-content:center;justify-items:center}
.calendar-day[aria-current=date]{border-color:#79a78c}.calendar-day[aria-pressed=true]{background:#0b7658;color:white}.calendar-outside{color:#5d7466}
.calendar-marks{font-size:.7rem;line-height:.8;min-height:.65rem;color:inherit}.calendar-timeline{border-inline-start:2px solid #b8d7c5;padding-inline-start:10px;margin-inline-start:3px}
@media(max-width:360px){.calendar-panel{margin-inline:-13px;padding-inline:2px}.memory-entry{padding:10px}}

.calendar-agenda-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.calendar-agenda-heading span{font-size:.8rem}

.memory-categories{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;overflow:visible}
.memory-categories button{min-width:0;padding:0 2px;font-size:12px}
.people-heading{display:grid;grid-template-columns:minmax(0,1fr) 44px 44px;column-gap:8px;row-gap:4px;margin-bottom:16px}
.people-heading h1{font-size:24px}.people-subtitle{grid-area:2/1/3/2;font-size:12px;color:var(--secondary)}
.people-menu,.people-add{grid-row:1/3}.people-menu{grid-column:2;position:relative}.people-add{grid-column:3;display:grid;place-items:center;text-decoration:none}
.people-menu summary{list-style:none;display:grid;place-items:center;width:44px;height:44px;padding:0;border-radius:50%;background:var(--soft);font-size:21px}
.people-menu summary::-webkit-details-marker{display:none}
.people-menu-options{position:absolute;z-index:2;top:calc(100% + 5px);right:0;min-width:138px;padding:4px 12px;border:1px solid var(--stroke);border-radius:14px;background:var(--surface);box-shadow:0 8px 22px #20262116}
.people-menu-options a{display:flex;align-items:center;text-decoration:none;white-space:nowrap}
.people-search .memory-search-field{height:48px;border-radius:16px}.people-search .memory-search-icon{top:16px}.people-search .memory-search-clear{top:1px}
.people-filters{display:flex;gap:8px;margin:10px 0 20px;overflow-x:auto}
.people-filters button,.people-filters select{min-height:36px;border:1px solid var(--stroke);border-radius:18px;padding:0 10px;background:var(--surface);color:var(--ink);font-size:12px;white-space:nowrap}
.people-filters [aria-pressed=true],.people-filters .selected{color:var(--green);background:var(--tint)}
.people-list-title{font-size:16px;margin-bottom:10px}.people-list.has-people{border:1px solid var(--stroke);border-radius:18px;background:var(--surface)}
.people-row{min-height:70px;padding:8px 14px;text-decoration:none;border-radius:0}.people-row:first-child{border-radius:17px 17px 0 0}.people-row:last-child{border-radius:0 0 17px 17px}.people-row:only-child{border-radius:17px}
.people-row+.people-row{border-top:1px solid var(--stroke)}.people-row:active{background:var(--tint)}
.people-row .avatar{width:42px;height:42px;flex:0 0 42px;border-radius:14px}.people-row .person-name,.people-row .person-sub{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.people-row .person-name{font-size:16px;font-weight:600}.people-row .person-sub{font-size:12px;margin-top:3px}


.home-ask{margin-top:8px}.home-ask h2{margin-bottom:3px}.home-ask .search-box{margin-top:10px;min-height:60px;border-radius:19px;padding-inline:14px 8px}.home-ask input{font-size:16px}.home-ask input::placeholder{font-size:14px}.home-spark{color:var(--green);font-size:20px}.home-ask .search-box button{height:44px;width:44px}
.home-capture{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}
.home-capture-entry{display:grid;place-content:center;justify-items:center;gap:4px;min-height:74px;background:var(--surface);border:1px solid var(--stroke);border-radius:16px;text-decoration:none;color:var(--ink);font-size:13px}.home-capture-entry:active,.home-memory-entry:active{background:var(--tint)}.home-capture-icon{color:var(--green);font-size:20px;line-height:1}
.home-recent{display:grid;gap:8px}.home-memory-entry{display:grid;gap:5px;padding:12px 14px;border:1px solid var(--stroke);border-radius:16px;background:var(--surface);color:var(--ink);text-decoration:none}
.home-memory-meta{display:flex;gap:8px;justify-content:space-between;align-items:center;flex-wrap:wrap}.home-memory-meta .muted{font-size:11px}.home-memory-title,.home-memory-snippet{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}.home-memory-title{font-size:15px}.home-memory-snippet{font-size:13px;color:var(--secondary)}
.home-agenda .card,.home-agenda .empty,.home-recent .empty{margin:0 0 8px;padding:14px 16px;border-radius:16px}


.capture-card{padding:16px;border-radius:18px}.capture-card h2{font-size:17px}.capture-card .actions{gap:8px}.capture-card .pill{padding-inline:12px}
.capture-settings{margin-top:10px;border-top:1px solid var(--stroke)}.capture-settings summary{font-weight:600}
.audio-capture .record-display{border-radius:16px;background:var(--tint);padding:14px;margin-block:10px}.audio-capture .record-display .form-note{margin-block:6px}.audio-capture .record-clock{font-variant-numeric:tabular-nums}
.note-compose textarea{min-height:164px;background:var(--surface);font-size:16px}.note-compose .form-field:has(textarea){margin-bottom:4px}.note-count{text-align:right;margin-bottom:12px}.capture-metadata{border-top:1px solid var(--stroke);padding-top:12px}.capture-related .pill{margin:8px 8px 0 0}
.capture-file{padding:12px;border:1px dashed var(--stroke);border-radius:14px;background:var(--canvas);margin-bottom:5px}.capture-file input{border:0;padding:4px 0;min-height:40px}.capture-file input::file-selector-button{border:0;border-radius:9px;padding:8px;background:var(--tint);color:var(--green);font:inherit}.file-meta{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:12px}
.asset-list{margin-top:10px}.asset-list:has(.asset-row){background:var(--surface);border:1px solid var(--stroke);border-radius:16px}
.asset-row{display:flex;align-items:center;gap:10px;min-height:64px;padding:10px;color:var(--ink);text-decoration:none}.asset-row+.asset-row{border-top:1px solid var(--stroke)}
.asset-icon{display:grid;place-items:center;flex:0 0 36px;height:36px;border-radius:10px;background:var(--tint);color:var(--green)}.asset-identity{flex:1;min-width:0}.asset-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.asset-status{flex-shrink:0;color:var(--secondary);font-size:12px}.asset-status[data-state=SUCCEEDED]{color:var(--green)}.asset-status[data-state=FAILED]{color:var(--danger)}

.voice-modes{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;margin-top:12px;background:var(--soft);border-radius:14px}.voice-modes .pill{border-radius:11px;background:transparent}.voice-modes [aria-pressed=true]{background:var(--surface);color:var(--green);box-shadow:0 1px 5px #24312b14}.voice-source-panel.card{margin:8px 0 0;padding:12px 0 0;border:0;box-shadow:none}.voice-history-row{display:block;width:100%;text-align:left;border-bottom:1px solid var(--stroke);overflow-wrap:anywhere}.voice-transcript textarea{padding:10px;border:1px solid var(--stroke);border-radius:12px;background:var(--canvas);font-size:16px}
.entity-sheet{position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,480px);max-width:none;max-height:90dvh;padding:0;border:0;border-radius:22px 22px 0 0;background:var(--surface);color:var(--ink)}.entity-sheet::backdrop{background:#17261d66}.entity-sheet-panel{display:flex;flex-direction:column;max-height:90dvh;padding:12px 16px max(12px,env(safe-area-inset-bottom));gap:8px}.entity-sheet-header{display:flex;justify-content:space-between;align-items:center}.entity-sheet-header button{min-width:44px;font-size:22px}.entity-sheet .memory-search-field{flex:none;height:48px}.entity-sheet .voice-modes{grid-template-columns:repeat(3,1fr);margin:0}.entity-chips{display:flex;flex-wrap:wrap;gap:4px;max-height:82px;overflow:auto}.entity-chips:empty{display:none}.entity-chips .pill{min-height:36px;padding:4px 10px}.entity-results{min-height:60px;overflow:auto;overscroll-behavior:contain}.entity-row{display:flex;align-items:center;min-height:60px;gap:10px;border-bottom:1px solid var(--stroke);overflow-wrap:anywhere}.entity-row small{display:block}.entity-row input{width:20px;height:20px;accent-color:var(--green);margin:12px}.entity-footer{border-top:1px solid var(--stroke);padding-top:8px}.entity-footer .form-note:empty{display:none}
/* Shared presentation for signed-in pages 02–20. */
.work-page{
 --canvas:#f4f6f8;--surface:#fff;--ink:#182b3a;--secondary:#647483;
 --green:#214f71;--pressed:#183d58;--stroke:#dce3e9;--tint:#eaf0f5;
 --soft:#edf1f4;--danger:#b44242;--radius:14px;
 max-width:480px;background:var(--canvas);color:var(--ink);
 padding-bottom:calc(24px + env(safe-area-inset-bottom));
}
.work-page:has(nav:not([hidden])){padding-bottom:calc(92px + env(safe-area-inset-bottom))}
.work-page .environment{font-size:12px;color:var(--secondary)}
.work-page .app-header{background:var(--surface);margin-inline:-20px;padding:12px 20px;margin-bottom:20px}
.work-page .brand span{display:none}
.work-page .page-heading{margin-bottom:16px}
.work-page .page-heading h1{font-size:23px}
.work-page .card,.work-page .card.compact{border:1px solid var(--stroke);border-radius:var(--radius);padding:16px;box-shadow:none}
.work-page .card h2{font-size:17px}
.work-page .section-title{margin-top:20px}
.work-page .section-title h2{font-size:17px}
.work-page .form-field input,.work-page .form-field textarea,.work-page .form-field select{
 border-radius:8px;min-height:46px;min-width:0;max-width:100%;font-size:16px
}
.work-page .pill{border-radius:10px;min-height:45px;padding-inline:12px}
.work-page .pill:disabled{opacity:.65}
.work-page .search-box,.work-page .memory-search-field{border-radius:14px;border-color:var(--stroke)}
.work-page .search-box input{font-size:16px}
.work-page .tag,.work-page .badge{border-radius:5px;background:var(--tint);color:var(--green)}
.work-page .badge{padding:3px 6px;font-size:12px}
.work-page .empty{background:var(--surface);border-radius:14px;padding:22px 16px}
.work-page .evidence,.work-page .trace{background:var(--tint);border-radius:8px;padding:10px 12px}
.work-page .back{flex:0 0 44px}
.work-page nav[hidden]{display:none}
.work-page nav{bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:480px;border-radius:0;border:0;border-top:1px solid var(--stroke);background:var(--surface);box-shadow:none;padding:10px 16px max(12px,env(safe-area-inset-bottom))}
.work-page nav a{flex-direction:column;gap:4px;font-size:11px;color:var(--secondary);border-radius:8px}
.work-page nav a[aria-current=page]{color:var(--green);background:var(--tint);font-weight:700}
.work-page nav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.work-page .person-row,.work-page .asset-row,.work-page .entity-row{min-width:0}
.work-page .people-filters [aria-pressed=true],.work-page .memory-categories [aria-pressed=true],.work-page .calendar-day[aria-pressed=true]{background:var(--green);color:white}
.work-page .calendar-panel{background:var(--surface);border-color:var(--stroke);border-radius:14px}
.work-page .calendar-day[aria-current=date]{border-color:var(--green)}
.work-page .calendar-timeline{border-color:var(--stroke)}
.work-page .calendar-toolbar button{background:var(--tint);border:0;border-radius:8px;color:var(--green)}
.work-page .memory-results:has(article){border:1px solid var(--stroke);background:var(--surface);border-radius:14px}
.work-page .memory-results .card{margin:0;border:0;border-radius:0;background:transparent}
.work-page .memory-results .card+.card{border-top:1px solid var(--stroke)}
.work-page .memory-recall,.work-page .memory-entry{background:var(--surface);border-color:var(--stroke)}
.work-page .note-compose textarea{min-height:128px;background:var(--canvas)}
.work-page .audio-capture .record-main{min-height:56px}
.work-page .record-display,.work-page .capture-file{background:var(--tint)}
.work-page .entity-sheet{border-radius:14px 14px 0 0}
.work-page .entity-row input{accent-color:var(--green)}
.work-page .asset-status[data-state=SUCCEEDED]{color:#26715d;background:#eaf4ef;padding:3px 6px;border-radius:5px}
.work-page .asset-status[data-state=FAILED]{color:var(--danger)}
@media(max-width:350px){.work-page .app-header{margin-inline:-16px;padding-inline:16px}.work-page .card{padding:14px}.work-page .section-title{gap:6px}}

.work-page .work-schedule-actions{margin:20px 0}
.work-page .note-compose > button[type=submit]{position:sticky;bottom:max(12px,env(safe-area-inset-bottom));box-shadow:0 0 0 6px var(--surface)}
.work-page .memory-results:has(.card){border:1px solid var(--stroke);background:var(--surface);border-radius:14px}
.work-page .memory-results + .pill{background:transparent;color:var(--green)}
.work-page .memory-recall{margin-top:16px}
.work-page .calendar-marks{color:var(--green)}
.work-page .calendar-day[aria-pressed=true] .calendar-marks{color:white}
.work-page .record-badge.is-recording{color:var(--danger)}
.work-page .record-clock{color:var(--ink)}

.work-page:has(.people-heading) .app-header,.work-page:has(.people-heading) .environment{display:none}
.work-page .people-heading{display:flex;justify-content:space-between;background:var(--surface);margin:0 -20px 20px;padding:12px 20px;min-height:64px}
.work-page .people-add{background:transparent;color:var(--green)}
.work-page .people-subtitle{margin:0 0 18px}
.work-page .people-filters{margin:16px 0 8px}
.work-page .people-filters button,.work-page .people-filters select{border:0;border-radius:5px;min-height:36px;background:var(--tint);color:var(--green)}
.work-page .people-filters button[aria-pressed=true]{background:var(--green);color:white}
.people-list-header{display:flex;align-items:center;justify-content:space-between;gap:8px}
.people-list-header .people-list-title{margin:0}
.people-list-header .people-menu summary{display:flex;width:auto;padding-inline:4px;background:transparent;font-size:12px}
.work-page .people-list.has-people{padding:4px 14px;border-radius:14px}
.work-page .people-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(78px,42%);padding:9px 0;border-radius:0}
.people-row-meta{display:grid;justify-items:start;color:var(--secondary);gap:2px}
.people-row-meta small{font-size:12px}.people-row-meta .chevron{line-height:1}
.people-trust{margin-top:16px;color:var(--secondary);font-size:12px}
.people-trust::before{content:'✓';color:#26715d;margin-right:10px;font-weight:700}
@media(max-width:350px){.work-page .people-heading{margin-inline:-16px;padding-inline:16px}}

.work-page:has(.schedule-heading) .app-header,.work-page:has(.schedule-heading) .environment{display:none}
.work-page .schedule-heading{background:var(--surface);margin:0 -20px 20px;padding:10px 20px;min-height:64px}
.schedule-add{display:grid;place-items:center;width:44px;height:44px;text-decoration:none;font-size:24px}
.work-page:has(.schedule-heading) .calendar-panel{margin:0;padding:0;background:transparent;border:0}
.work-page:has(.schedule-heading) .calendar-toolbar{margin-bottom:10px;justify-content:flex-start}
.work-page:has(.schedule-heading) .calendar-toolbar h2{flex:1;font-size:19px}
.work-page:has(.schedule-heading) .calendar-toolbar button{background:transparent;padding-inline:4px;min-width:24px}
.work-page:has(.schedule-heading) .calendar-grid{background:var(--surface);border:1px solid var(--stroke);border-radius:14px;padding:12px 4px}
.work-page:has(.schedule-heading) .calendar-day{min-height:56px;font-weight:700;row-gap:2px}
.work-page:has(.schedule-heading) .calendar-day .calendar-weekday{font-weight:400;color:inherit}
.work-page:has(.schedule-heading) .calendar-agenda-heading{margin:14px 0}
.work-page:has(.schedule-heading) .calendar-timeline{border:1px solid var(--stroke);border-radius:14px;background:var(--surface);margin:0;padding:0 14px}
.schedule-agenda-entry{padding:14px 0}.schedule-agenda-entry+.schedule-agenda-entry{border-top:1px solid var(--stroke)}
.schedule-agenda-entry h3{margin:8px 0 4px}.schedule-time{display:inline-block;padding:4px 8px;background:var(--tint);color:var(--green);border-radius:5px;font-size:12px;font-weight:700}
.work-page .work-schedule-actions .pill{background:var(--tint);color:var(--green)}
.schedule-reminder-head{display:flex;align-items:center;justify-content:space-between}
@media(max-width:350px){.work-page .schedule-heading{margin-inline:-16px;padding-inline:16px}}

.work-page:has(.profile-heading) .app-header,.work-page:has(.profile-heading) .environment{display:none}
.work-page .profile-heading{background:var(--surface);margin:0 -20px 20px;padding:10px 20px;min-height:64px}
.profile-shield{color:var(--green);font-size:22px}
.profile-identity .kicker{display:table;background:var(--tint);padding:4px 8px;border-radius:5px}.work-page .profile-identity h2{font-size:24px;margin-bottom:10px}
.profile-manage{margin-top:12px;gap:8px}.profile-manage svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7}
.profile-description{color:var(--secondary);font-size:13px;margin-top:10px}
.profile-privacy summary{margin-top:8px;padding-bottom:0}.profile-privacy summary small{display:block;margin-left:15px;color:var(--secondary)}
.profile-zone{position:relative;display:flex;justify-content:space-between;align-items:center;min-height:44px;cursor:pointer}.profile-zone input{position:absolute;opacity:0}.profile-zone:has(input:focus-visible){outline:2px solid var(--green);outline-offset:2px}
.profile-zone .tag{margin:0}.profile-zone:has(input:checked) .tag{background:var(--green);color:white}
.profile-footer{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:var(--secondary)}.profile-footer strong{color:var(--green)}
@media(max-width:350px){.work-page .profile-heading{margin-inline:-16px;padding-inline:16px}}

.profile-heading .profile-shield{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.work-page.memory-layout{display:flex;flex-direction:column;min-height:100dvh;padding-bottom:0}
.memory-layout .app-header,.memory-layout .environment{display:none}
.work-page.memory-layout > .page-heading{flex:none;min-height:64px;margin:0 -20px;padding:8px 20px;background:var(--surface)}
.memory-layout > main{flex:1 0 auto;min-width:0;padding:16px 20px;margin:0 -20px}
.memory-layout .intro{font-size:13px;margin:0 0 16px}
.memory-layout .memory-footer{flex:none;background:var(--surface);border-top:1px solid var(--stroke);margin:0 -20px;padding:10px 20px max(10px,env(safe-area-inset-bottom))}
.memory-layout .memory-footer:has(> [hidden]){display:none}
.memory-layout .memory-footer .pill{width:100%;margin:0}
.memory-layout .memory-categories .pill{min-height:36px;border-radius:5px}
.memory-layout .query-mode-light{background:var(--tint);border-radius:8px;padding:10px 12px}
.memory-layout .note-compose textarea{min-height:128px}
@media(max-width:350px){.work-page.memory-layout > .page-heading,.memory-layout > main,.memory-layout .memory-footer{margin-inline:-16px;padding-inline:16px}}

.memory-layout .media-shortcuts{display:flex;gap:8px;margin-block:12px}
.memory-layout .media-shortcuts .pill{background:var(--tint);color:var(--green)}
.memory-layout .memory-footer:has(> button + button){display:grid;grid-template-columns:1fr 1fr;gap:8px}
.memory-layout .memory-footer > button + button:not(:disabled){background:var(--green);color:white}
.memory-layout .voice-history-row{min-height:54px;padding-inline:4px}
.memory-layout .audio-controls input{accent-color:var(--green)}
.memory-layout .asset-row{min-height:62px}
.memory-layout .capture-file input{width:100%}

.media-record-notice{border-radius:10px;padding:12px;background:#fff6e8;color:#80551c;font-size:13px}
.audio-detail-page .audio-controls{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px 12px;margin-top:16px}
.audio-detail-page .audio-controls .form-note{grid-column:1/-1;margin:0}
.audio-detail-page .audio-controls [aria-label="原录音播放时长"]{grid-column:2;text-align:right;font-variant-numeric:tabular-nums}
.audio-detail-page .audio-play-button{font-size:13px;white-space:nowrap}
.audio-detail-page .media-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-block:16px}
.audio-detail-page .voice-transcript .actions{align-items:center;margin-block:14px;gap:10px}
.audio-detail-page .voice-transcript .actions>.text-button{flex:0 0 auto;padding-inline:8px}
.audio-detail-page .voice-transcript .actions>.text-button:disabled{background:transparent;border-color:transparent;color:var(--secondary)}
.audio-detail-page .voice-transcript button[type=button]{font-size:13px}
.audio-detail-page .voice-transcript .card{margin-block:12px}
.audio-detail-page .entity-sheet .entity-footer .pill{min-height:46px}
.memory-layout:has(.audio-detail-page)>.memory-footer{gap:10px}
.memory-layout:has(.audio-detail-page)>.memory-footer .pill{min-height:46px;font-size:13px}

.audio-link-row{display:grid;grid-template-columns:minmax(0,1fr) 80px;gap:10px;align-items:center;padding:6px 0}
.audio-link-row+.audio-link-row{border-top:1px solid var(--stroke)}
.audio-link-row .text-button{overflow-wrap:anywhere;align-content:center}
.work-page .audio-link-row .audio-unlink{width:80px;min-height:44px;padding:0;font-size:12px;white-space:nowrap}
.voice-transcript [aria-label="转写状态"]:empty{margin:0}

.transcript-paper{border:1px solid var(--stroke);border-radius:12px;padding:14px;background:var(--canvas)}.transcript-paper .muted{margin-top:6px}.transcript-paper .memo-content{line-height:1.85}
.schedule-detail-time{font-weight:700;font-size:21px;color:var(--green);margin-top:12px}.memory-layout .memory-footer>.pill.danger{background:#fbeeee;color:var(--danger)}
.voice-transcript progress{width:100%;height:10px;accent-color:var(--green)}

.graph-tabs,.graph-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.graph-tabs{background:var(--tint);border-radius:10px;padding:4px;margin-bottom:12px}
.graph-tabs .pill{min-height:34px;text-align:center;background:transparent}
.graph-tabs .selected{background:var(--surface);color:var(--green);font-weight:700}
.graph-search{background:var(--surface);margin-bottom:14px}
.graph-row{display:flex;align-items:center;justify-content:space-between;gap:8px}
.graph-row small,.graph-detail-row small{color:var(--secondary)}
.graph-frame{background:var(--surface);border:1px solid var(--stroke);border-radius:14px;overflow:hidden}
.graph-kicker{font-size:12px;color:var(--green);margin:12px 12px 0}
.graph-canvas{display:block;width:100%;touch-action:none;user-select:none}
.graph-line{stroke:#6387a1;stroke-width:1.6}
.graph-line.unconnected{stroke:#a9bfd0;stroke-dasharray:4 5}
.graph-edge-label{fill:#486b83;font-size:10px;text-anchor:middle;paint-order:stroke;stroke:white;stroke-width:3px}
.graph-node circle{fill:var(--tint);stroke:#aec6d8}
.graph-node text{fill:var(--green);text-anchor:middle;dominant-baseline:middle;font-size:12px;font-weight:700}
.graph-node.self circle{fill:var(--green);stroke:var(--green)}
.graph-node.self text{fill:white;font-size:16px}
.graph-node[role=button]{cursor:pointer}
.graph-node:focus-visible circle{stroke:var(--green);stroke-width:3}
.graph-controls,.graph-links{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:8px 10px}
.graph-controls{justify-content:flex-end}
.graph-controls button,.graph-links .pill{min-height:34px;padding:5px 9px;font-size:12px}
.graph-filter{max-width:min(340px,90vw);border:1px solid var(--stroke);border-radius:14px;color:var(--ink);padding:18px}
.graph-filter::backdrop{background:#162d4266}
.graph-filter label{display:block;margin:12px 0}
.graph-filter label input{margin-right:8px}
.graph-filter button{margin-right:5px}
.graph-detail-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 0;border-top:1px solid var(--stroke);color:inherit;text-decoration:none;overflow-wrap:anywhere}
.graph-detail-row:first-of-type{border-top:0}
.graph-detail-row strong,.graph-detail-row small{display:block}
.graph-detail-row small{margin-top:3px}
.graph-badge{display:inline-block;padding:3px 6px;margin-bottom:4px;border-radius:5px;background:var(--tint);color:var(--green);font-size:11px;font-weight:600}
.graph-actions{grid-template-columns:1.5fr 1fr}
.graph-actions .pill{text-align:center}
.graph-actions+small{display:block;text-align:center;margin-top:6px}



.graph-node.selected circle{stroke:var(--green);stroke-width:2.5px}.graph-timeline select{margin-bottom:10px}.graph-timeline .graph-detail-row{border-top:0;border-left:2px solid var(--stroke);padding-left:12px;margin-left:6px;position:relative}.graph-timeline .graph-detail-row::before{content:"";width:8px;height:8px;border-radius:50%;background:#779bb3;position:absolute;left:-5px;top:19px}

.graph-search{display:block;width:100%;min-height:44px;padding:10px 13px;border:1px solid var(--stroke);border-radius:12px;color:var(--ink);font:inherit;font-size:14px}
.graph-search::placeholder{color:var(--secondary)}
.graph-row{margin:0 0 10px}
.graph-frame .graph-kicker{min-height:30px;padding:4px 2px;margin-top:6px}
.graph-canvas{max-height:310px}
.graph-filter select,.graph-timeline select{padding:6px 9px;border:1px solid var(--stroke);border-radius:6px;background:var(--tint);color:var(--green);font-size:13px}
.graph-filter select{display:block;width:100%;margin-bottom:12px}
.graph-detail-row .chevron{color:var(--green);font-size:18px}
.connection-layout .card{padding:14px;margin:0 0 14px}
.connection-layout h3{font-size:13px;color:var(--green);margin-top:9px}
.connection-layout .form-note{margin:6px 0}
.connection-layout .graph-actions+small{margin:6px 0 0}

.graph-activity{border-top:1px solid var(--stroke)}.graph-activity summary{color:var(--ink)}.graph-activity .graph-badge{margin:0 7px}
.recall-results{min-width:0;overflow-wrap:anywhere}
.recall-results .card,.recall-results a{min-width:0;max-width:100%}
/* Page 2 · 晴空暖白. Appendix A, frame 107:2 and four primary navigation states. */
.app-shell:has(> .sky-navigation) {
 --sky-background: linear-gradient(180deg, rgb(70% 81% 92%) 0%, rgb(88% 91% 95%) 56%, rgb(98% 91% 81%) 100%);
 --sky-surface: rgb(255 255 255 / 75%);
 --sky-elevated: rgb(255 251 245 / 78%);
 --sky-ink: #233747;
 --sky-muted: #5c7184;
 --sky-tertiary: #8293a2;
 --sky-border: rgb(255 255 255 / 85%);
 --sky-divider: rgb(199 212 223 / 45%);
 --sky-brand: #2875ae;
 --sky-subtle: rgb(224 234 242 / 90%);
 --sky-font: "Noto Sans SC Variable", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
 --sky-label: 11px;
 --sky-label-line: 17px;
 --sky-body: 14px;
 --sky-heading: 18px;
 --sky-heading-line: 27px;
 --sky-title: 28px;
 --sky-title-line: 42px;
 --sky-medium: 500;
 --sky-bold: 700;
 --sky-gap: 10px;
 --sky-padding: 20px;
 --sky-page: 390px;
 --sky-header: 233px;
 --sky-dock: 87px;
 --sky-dock-edge: 12px;
 --sky-safe-bottom: calc(17px + env(safe-area-inset-bottom));
 --sky-card-radius: 26px;
 --sky-dock-radius: 33px;
 --sky-stroke: 1px;
 --sky-card-shadow: 0 5px 16px rgb(86 113 140 / 5.5%);
 --sky-dock-shadow: 0 6px 24px rgb(117 104 78 / 13%);
}
.app-shell > .sky-navigation:not([hidden]) {
 position: fixed;
 left: 50%;
 bottom: var(--sky-safe-bottom);
 transform: translateX(-50%);
 width: calc(100% - 2 * var(--sky-dock-edge));
 max-width: calc(var(--sky-page) - 2 * var(--sky-dock-edge));
 height: var(--sky-dock);
 margin: 0;
 display: grid;
 grid-template-columns: repeat(4, minmax(0, 1fr));
 gap: 0;
 padding: 9px;
 border: 0;
 border-radius: var(--sky-dock-radius);
 background: var(--sky-elevated);
 box-shadow: inset 0 0 0 var(--sky-stroke) var(--sky-border), var(--sky-dock-shadow);
 font-family: var(--sky-font);
}
.app-shell > .sky-navigation:not([hidden])::after {
 content: "";
 position: absolute;
 bottom: 7px;
 left: 50%;
 transform: translateX(-50%);
 width: 120px;
 height: 4px;
 border-radius: 2px;
 background: rgb(37 55 70 / 75%);
 pointer-events: none;
}
.app-shell > .sky-navigation:not([hidden]) a {
 display: flex;
 flex-direction: column;
 justify-content: flex-start;
 align-items: center;
 gap: 3px;
 height: 58px;
 padding: 7px 0 0;
 border-radius: 25px;
 color: var(--sky-muted);
 background: transparent;
 font-size: var(--sky-label);
 line-height: var(--sky-label-line);
 font-weight: 400;
}
.app-shell > .sky-navigation:not([hidden]) a[aria-current="page"] {
 background: var(--sky-subtle);
 color: var(--sky-brand);
 font-weight: var(--sky-medium);
}
.app-shell > .sky-navigation svg { display: block; width: 23px; height: 23px; flex: none; stroke: none; }
.app-shell:has(> .sky-navigation:not([hidden])) { padding-bottom: calc(var(--sky-dock) + var(--sky-safe-bottom) + 17px); }

.home-clock { display: none; }
.app-shell.figma-home {
 max-width: var(--sky-page);
 padding-inline: var(--sky-padding);
 background: var(--sky-background);
 color: var(--sky-ink);
 font-family: var(--sky-font);
}
.figma-home .environment, .figma-home .brand span { display: none; }
.figma-home .app-header { position: relative; height: 112px; padding: 53px 0 15px; align-items: start; }
.figma-home .home-clock {
 display: block; position: absolute; top: 14px; left: 10px;
 font-size: 13px; line-height: 20px; font-weight: var(--sky-bold);
}
.figma-home .brand {
 margin-top: 4px; color: var(--sky-ink); font-size: var(--sky-title); line-height: var(--sky-title-line);
 font-weight: var(--sky-bold); letter-spacing: 0;
}
.figma-home #account-avatar {
 background: rgb(245 250 255 / 65%);
 box-shadow: inset 0 0 0 var(--sky-stroke) rgb(255 255 255 / 80%), var(--sky-card-shadow);
 border-radius: 22px;
}
.figma-home .home-ask { margin: 0; }
.figma-home .home-date {
 margin: 0 0 10px 2px; color: var(--sky-muted);
 font-size: var(--sky-label); line-height: var(--sky-label-line);
}
.figma-home .home-ask h1 {
 font-size: var(--sky-title); line-height: var(--sky-title-line); letter-spacing: 0; white-space: pre-line;
}
.figma-home .home-ask .search-box {
 display: grid;
 grid-template-columns: 42px minmax(0, 1fr);
 grid-template-rows: 21px 15px;
 align-content: start;
 column-gap: 11px;
 row-gap: 5px;
 min-height: 88px;
 margin-top: calc(var(--sky-header) - 217px);
 padding: 17px 14px;
 border: 0;
 border-radius: var(--sky-card-radius);
 background: rgb(255 255 255 / 77%);
 box-shadow: inset 0 0 0 var(--sky-stroke) rgb(255 255 255 / 80%), var(--sky-card-shadow);
}
.figma-home .home-ask .home-search-icon {
 grid-row: 1 / 3;
 align-self: start;
 display: grid;
 place-items: center;
 width: 42px;
 height: 42px;
 background: #e4f0fb;
}
.figma-home .home-ask input {
 padding: 0; width: 100%; color: var(--sky-ink);
 font-size: var(--sky-body); line-height: 21px; font-weight: var(--sky-medium);
}
.figma-home .home-ask input::placeholder { color: inherit; opacity: 1; }
.figma-home .home-search-hint { font-size: 10px; line-height: 15px; color: var(--sky-muted); }

.figma-home .home-capture { margin: 12px 0 0; gap: var(--sky-gap); }
.figma-home .home-capture-entry {
 display: grid; align-content: start; justify-items: start; place-content: initial;
 min-height: 108px; padding: 12px 14px; gap: 0; border: 0; border-radius: 23px;
 color: var(--sky-ink); background: rgb(255 255 255 / 70%);
 box-shadow: inset 0 0 0 var(--sky-stroke) rgb(255 255 255 / 80%), var(--sky-card-shadow);
}
.figma-home .home-capture-icon, .home-memory-icon, .home-schedule-icon { display: grid; place-items: center; }
.figma-home .home-capture-icon { width: 34px; height: 34px; border-radius: 12px; background: #e3effb; }
.figma-home [data-capture="audio"] .home-capture-icon { background: #e3f2eb; }
.figma-home [data-capture="assets"] .home-capture-icon { background: #f9eedc; }
.figma-home .home-capture-entry strong { margin-top: 5px; font-size: 15px; line-height: 23px; font-weight: var(--sky-medium); }
.figma-home .home-capture-entry small { margin-top: 4px; font-size: var(--sky-label); line-height: var(--sky-label-line); color: var(--sky-muted); }

.figma-home .section-title { height: 27px; margin: 26px 19px 15px 1px; }
.figma-home .home-recent-heading { margin-top: 24px; }
.figma-home .section-title h2 { font-size: var(--sky-heading); line-height: var(--sky-heading-line); }
.figma-home .text-button { display: inline-flex; align-items: center; color: var(--sky-brand); font-size: var(--sky-label); font-weight: var(--sky-medium); text-decoration: none; }
.figma-home :is(.home-agenda-card, .home-recent:has(.home-memory-entry), .empty) {
 background: var(--sky-surface); border: 0; border-radius: var(--sky-card-radius);
 box-shadow: inset 0 0 0 var(--sky-stroke) var(--sky-border), var(--sky-card-shadow);
}
.figma-home .home-agenda-card { position: relative; min-height: 127px; padding: 17px; }
.figma-home .home-agenda-card + .home-agenda-card { margin-top: var(--sky-gap); }
.figma-home .home-time {
 display: inline-block; min-width: 109px; padding: 4px 10px; border-radius: 12px;
 color: var(--sky-brand); background: #e0effb; font-size: var(--sky-label); line-height: var(--sky-label-line);
 font-weight: var(--sky-medium);
}
.figma-home .home-schedule-icon { position: absolute; top: 16px; right: 18px; width: 32px; height: 32px; border-radius: 12px; background: #ecf4fc; }
.figma-home .home-schedule-title {
 display: block; margin-top: 11px; color: inherit; font-size: 17px; line-height: 26px;
 font-weight: var(--sky-medium); text-decoration: none; overflow-wrap: anywhere;
}
.figma-home .home-schedule-meta { margin-top: 8px; font-size: 12px; line-height: 18px; color: var(--sky-muted); }
.figma-home .home-recent { display: block; }
.figma-home .home-recent:has(.home-memory-entry:nth-child(3)) { padding-bottom: 1px; }
.figma-home .home-memory-entry {
 position: relative; display: grid; align-items: start;
 grid-template-columns: 38px minmax(0, 1fr) 16px; column-gap: 11px;
 min-height: 66px; padding: 11px 15px; border: 0; border-radius: 0; background: transparent; color: inherit;
}
.figma-home .home-memory-entry + .home-memory-entry::before {
 content: ""; position: absolute; top: -1px; left: 64px; right: 19px; height: 1px; background: var(--sky-divider);
}
.figma-home .home-memory-icon { height: 38px; margin-top: 3px; border-radius: 14px; background: #e5effa; }
.figma-home [data-kind="AUDIO"] .home-memory-icon { background: #e4f1ea; }
.figma-home [data-kind="ASSET"] .home-memory-icon { background: #f8eedc; }
.figma-home .home-memory-title {
 display: block; overflow: visible; font-size: 12px; line-height: 18px;
 font-weight: var(--sky-medium); overflow-wrap: anywhere;
}
.figma-home .home-memory-body small { display: block; margin-top: 5px; font-size: 10px; line-height: 15px; color: var(--sky-muted); overflow-wrap: anywhere; }
.figma-home .home-memory-arrow { margin-top: 10px; }
.figma-home .empty { margin: 0; min-height: 127px; }
.figma-home [aria-busy="true"] { min-height: 127px; }
.figma-home :is(a,button,input):focus-visible, .sky-navigation a:focus-visible { outline-color: var(--sky-brand); }
@media (max-width: 350px) {
 .figma-home .home-capture-entry { padding-inline: 10px; }
}

/* Page 2 surface and navigation for the remaining signed-in routes. */
.app-shell.work-page {
 --canvas: #eff5fa;
 --surface: var(--sky-surface);
 --ink: var(--sky-ink);
 --secondary: var(--sky-muted);
 --green: var(--sky-brand);
 --pressed: var(--sky-brand);
 --stroke: var(--sky-divider);
 --tint: #e4eff8;
 --soft: #eef4f9;
 --radius: var(--sky-card-radius);
 max-width: var(--sky-page);
 background: var(--sky-background);
 font-family: var(--sky-font);
}
.app-shell.work-page:not(.memory-layout) > .app-header {
 background: transparent;
}
.work-page .environment { color: var(--sky-muted); }
.work-page :is(.card, .card.compact, .empty, .asset-list, .people-menu-options) {
 border: 0;
 border-radius: var(--sky-card-radius);
 background: var(--sky-surface);
 box-shadow: inset 0 0 0 var(--sky-stroke) var(--sky-border), var(--sky-card-shadow);
}
.work-page .card :is(h2,h3), .work-page .section-title h2 { line-height: 1.5; }
.work-page .pill { border-radius: 18px; }
.work-page .pill:disabled {
 opacity: 1;
 color: var(--sky-muted);
 background: #c7d4df;
}
.work-page .pill.danger { color: #b44242; background: #fbefef; }
.work-page :is(.search-box,.memory-search-field,.graph-search) {
 border-radius: 18px;
 border-color: rgb(205 219 231 / 70%);
 background: var(--sky-surface);
}
.work-page .form-field :is(input,textarea,select) {
 background: rgb(239 245 250 / 90%);
 border: .7px solid rgb(205 219 231 / 70%);
 border-radius: 18px;
}
.work-page .form-field textarea { resize: none; }
.work-page .tag { border-radius: 14px; }
.work-page .badge { border-radius: 8px; }
.work-page :is(.calendar-grid,.calendar-timeline,.memory-results:has(.card),.people-list.has-people) {
 border: 0;
 border-radius: var(--sky-card-radius);
 background: var(--sky-surface);
 box-shadow: inset 0 0 0 var(--sky-stroke) var(--sky-border), var(--sky-card-shadow);
}
.work-page .memory-results .card { background: transparent; box-shadow: none; }
.work-page .memory-results .card + .card { border-top: 1px solid var(--sky-divider); }
.work-page .people-row .person-name, .work-page .people-row .person-sub { white-space: normal; overflow-wrap: anywhere; }
.work-page .people-row { min-height: 65px; }
.work-page .people-list-header { gap: 4px; }
.work-page .people-filters :is(button,select) { border-radius: 14px; }
.work-page .people-menu-options { background: rgb(245 250 255 / 97%); }
.work-page .graph-tabs { border-radius: 18px; }
.work-page :is(.people-heading,.schedule-heading,.profile-heading) {
 height: 112px;
 min-height: 112px;
 margin: 0 -20px 10px;
 padding: 52px 20px 16px;
 background: transparent;
 display: flex;
 align-items: center;
}
.work-page :is(.people-heading,.schedule-heading,.profile-heading) h1 {
 font-size: var(--sky-title);
 line-height: var(--sky-title-line);
 letter-spacing: 0;
}
.work-page :is(.people-add,.schedule-add,.profile-heading .profile-symbol) {
 display: grid;
 place-items: center;
 height: 44px;
 width: 44px;
 flex: 0 0 44px;
 border-radius: 22px;
 background: rgb(245 250 255 / 65%);
 box-shadow: inset 0 0 0 1px rgb(255 255 255 / 80%), var(--sky-card-shadow);
}
.work-page .profile-manage svg { flex: none; stroke: none; }
.work-page.memory-layout > .page-heading {
 min-height: 112px;
 padding-top: 52px;
 padding-bottom: 16px;
 background: transparent;
}
.work-page.memory-layout > main { padding-top: 10px; }
.work-page.memory-layout > .memory-footer {
 position: sticky;
 bottom: var(--sky-safe-bottom);
 z-index: 10;
 margin: 17px -8px var(--sky-safe-bottom);
 padding: 14px 12px 26px;
 border: 0;
 border-radius: 30px;
 background: var(--sky-elevated);
 box-shadow: inset 0 0 0 1px var(--sky-border), var(--sky-card-shadow);
}
.work-page :is(.graph-node text,.graph-edge-label) { font-family: var(--sky-font); }
.work-page :is(a,button,input,select,textarea):focus-visible { outline-color: var(--sky-brand); }
@media (max-width: 350px) {
 .work-page :is(.people-heading,.schedule-heading,.profile-heading) { margin-inline: -16px; padding-inline: 16px; }
 .work-page.memory-layout > .memory-footer { margin-inline: -4px; }
}

/* Secondary routes scroll on the document. The sticky footer keeps its actual height in flow. */
html:has(.work-page > #navigation[hidden]) {
 scrollbar-width: none;
}
.work-page.memory-layout:not(:has(> .memory-footer)):not(.graph-layout) {
 padding-bottom: env(safe-area-inset-bottom);
}
.work-page.memory-layout:has(> .memory-footer) > main {
 padding-bottom: 24px;
}
.work-page .page-hint {
 margin: 0 0 17px;
 padding: 12px 16px;
 border-radius: 18px;
 background: var(--sky-elevated);
 color: var(--sky-muted);
}
.page-hint > .muted { font-size: 12px; line-height: 1.5; }
.page-hint > .text-button { display: inline-block; min-height: 0; padding: 0; }

/* Page 2 frames 09–12. Use the existing upload, playback and evidence controls. */
.work-page .voice-source > .voice-modes {
 justify-content: start;
 grid-template-columns: repeat(2, max-content);
 gap: 8px;
 padding: 0;
 background: transparent;
 margin: 0 0 14px;
}
.work-page .voice-source > .voice-modes .pill {
 min-height: 32px;
 padding: 5px 12px;
 border-radius: 14px;
 font-size: 12px;
}
.work-page .voice-source > .voice-modes [aria-pressed=true] {
 background: var(--sky-brand);
 color: white;
 box-shadow: none;
}
.work-page .voice-source > .voice-source-panel { margin: 0; }
.work-page .voice-source + .media-record-notice { margin-block-start: 20px; }
.work-page .audio-capture .record-display {
 background: #e4eff8;
 border-radius: 18px;
 padding: 16px 12px;
}
.work-page .audio-capture .record-clock { line-height: 1.25; color: var(--sky-brand); }
.work-page .record-display .record-glyph { display: block; margin: 4px auto; }
.work-page .record-display .record-glyph path { stroke: var(--sky-brand); }
.work-page .audio-capture[data-recorder-state="IDLE"] .record-display { min-height: 170px; }
.work-page .audio-capture .record-main { min-height: 45px; border-radius: 18px; }
.work-page .voice-library .empty {
 border: 0;
 box-shadow: none;
 background: var(--soft);
 margin: 8px 0 0;
}
.work-page .voice-original .audio-controls {
 grid-template-columns: auto minmax(0,1fr);
 align-items: center;
}
.work-page .voice-original .audio-play-button {
 min-width: 0;
 min-height: 44px;
 border-radius: 18px;
}
.work-page :is(.voice-original,.asset-original-card) :is(h2,h3) {
 overflow-wrap: anywhere;
}
.work-page .asset-upload-card .capture-file {
 background: #eef4f9;
 border: .7px solid rgb(205 219 231 / 70%);
 border-radius: 18px;
}
.work-page .asset-upload-card .file-meta { white-space: normal; overflow-wrap: anywhere; }
.work-page .asset-original-card + .media-shortcuts .pill { min-height: 36px; font-size: 12px; }

.work-page .draft-manual-link { display: inline-flex; align-items: center; margin-block-end: 16px; }
.work-page .draft-manual-link + button[type=submit] { display: flex; }

/* Contact profile. Pair actions and keep conversation entries in a single card. */
.work-page .contact-summary { display: grid; gap: 10px; padding: 18px; }
.contact-summary > .kicker {
 justify-self: start; margin: 0; padding: 4px 9px; border-radius: 10px;
 color: var(--sky-brand); background: var(--tint);
}
.work-page .contact-summary > h2 {
 font-size: 24px; line-height: 1.5; overflow-wrap: anywhere;
}
.contact-summary > .muted.spaced { margin: 0; }
.contact-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.contact-tags .tag { margin: 0; }
.contact-methods {
 display: grid; grid-template-columns: minmax(48px, auto) minmax(0,1fr);
 gap: 8px 16px; margin: 2px 0 0; padding-top: 12px;
 border-top: 1px solid var(--sky-divider); font-size: 13px; line-height: 1.5;
}
.contact-methods dt { color: var(--sky-muted); }
.contact-methods dd { margin: 0; text-align: end; overflow-wrap: anywhere; }
.contact-description { font-size: 13px; line-height: 1.5; white-space: pre-wrap; }
.contact-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 4px; }
.work-page .contact-actions .pill { margin: 0; font-size: 13px; line-height: 1.5; }
.work-page .contact-memos-heading { margin-bottom: 8px; }
.work-page .contact-memos > :is(.card,.empty) { margin-block: 0; }
.contact-memo + .contact-memo { border-top: 1px solid var(--sky-divider); margin-top: 12px; padding-top: 12px; }
.contact-memo .memo-content { margin: 0 0 6px; font-size: 14px; line-height: 1.5; }
.contact-memo .muted { font-size: 11px; line-height: 1.5; }

/* Direct associations stay visible above a long quotation. */
.result-connections {
 margin-top: 12px;
 padding: 10px 12px;
 border-radius: 14px;
 background: var(--tint);
}
.result-connections h3 { margin-bottom: 6px; font-size: 13px; }
.result-connection-links { display: flex; flex-wrap: wrap; gap: 6px; }
.work-page .result-connection-links .pill {
 min-height: 36px;
 max-width: 100%;
 padding: 4px 10px;
 background: var(--sky-surface);
 color: var(--sky-brand);
 font-size: 13px;
 overflow-wrap: anywhere;
}
.result-related-assets .text-button { display: block; overflow-wrap: anywhere; }

.figma-home .home-capture { grid-template-columns: repeat(4,minmax(0,1fr)); }
.figma-home .home-capture-entry { padding-inline: 8px; }
.figma-home [data-capture="photo"] .home-capture-icon { background: #e4f0fb; }
.photo-preview:not([hidden]) { display: block; max-width: 100%; max-height: 320px; margin: 12px auto; border-radius: 14px; object-fit: contain; }

.memory-image-link { display: block; width: fit-content; max-width: 100%; margin-block: 8px; }
.memory-image-thumbnail { display: block; width: 116px; height: 84px; border-radius: 12px; object-fit: cover; background: var(--tint); }
.asset-image-preview { display: block; width: 100%; max-height: 65dvh; margin-block: 12px; border-radius: 14px; object-fit: contain; background: var(--tint); }

.photo-group-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.photo-group-tile { min-width:0; overflow-wrap:anywhere; }
.photo-group-tile img { width:100%; aspect-ratio:1; height:auto; object-fit:cover; border-radius:12px; }
.photo-group-tile small { display:block; color:var(--sky-muted); font-size:11px; }
.photo-group-tile .text-button { font-size:11px; }
.photo-confirm { width:min(350px,calc(100% - 32px)); border:0; border-radius:26px; padding:24px; background:#fffbf5; color:var(--sky-ink); }
.photo-confirm::backdrop { background:rgb(35 55 71 / 40%); }
.photo-confirm p { margin-block:12px; }

.work-page .photo-search { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; padding:6px 8px 6px 14px; }
.work-page .photo-search input { width:100%; }
.work-page .photo-search button { width:auto; height:auto; min-height:40px; border-radius:14px; padding:4px 14px; font-size:14px; background:var(--sky-brand); color:white; }
.work-page.memory-layout > .photo-group-footer { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }

.capture-shortcuts { margin-block: 20px 0; }
.capture-shortcuts-title { font-size: 18px; line-height: 27px; margin-bottom: 10px; }
.capture-shortcuts .home-capture { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; margin: 0; }
.capture-shortcuts .home-capture-entry {
 grid-column: span 2; display:grid; align-content:start; justify-items:start;
 min-height: 98px; min-width: 0; padding: 10px 12px; gap: 2px; border:0; border-radius: 20px;
 background: rgb(255 255 255 / 70%);
 box-shadow: inset 0 0 0 1px rgb(255 255 255 / 80%), var(--sky-card-shadow);
 color: var(--sky-ink);
}
.capture-shortcuts .home-capture-entry:nth-child(-n+2) { grid-column: span 3; }
.capture-shortcuts .home-capture-icon {
 display:grid; place-items:center; width:34px; height:34px; border-radius:12px; background:#e3effb;
}
.capture-shortcuts [data-capture="audio"] .home-capture-icon { background:#e3f2eb; }
.capture-shortcuts [data-capture="assets"] .home-capture-icon { background:#f9eedc; }
.capture-shortcuts .home-capture-entry strong { font-size:15px; line-height:22px; }
.capture-shortcuts .home-capture-entry small { font-size:11px; line-height:17px; color:var(--sky-muted); }

.transcript-summary { margin-block:14px; padding:14px; border-radius:18px; background:var(--tint); }
.transcript-summary .summary-generate { border:1px solid currentColor; margin-block:8px; }
.transcript-summary ul { padding-inline-start:20px; margin-block:6px 12px; }
.transcript-summary li { margin-block:4px; overflow-wrap:anywhere; }
.transcript-summary button[hidden] { display: none; }

.summary-formatting { display:flex; flex-wrap:wrap; gap:8px; }
.summary-formatting .text-button { padding-inline:8px; }
.summary-formatted-body { margin-block:10px; overflow-wrap:anywhere; }
.summary-formatted-body p { white-space:pre-wrap; }

.transcription-notifications { position:fixed; z-index:30; top:max(12px,env(safe-area-inset-top)); left:50%; transform:translateX(-50%); width:min(366px,calc(100% - 24px)); pointer-events:none; }
.transcription-notification { display:flex; align-items:center; flex-wrap:wrap; gap:4px 10px; padding:8px 14px; margin-bottom:8px; border-radius:18px; background:#fffbf5; color:#233747; box-shadow:0 6px 24px rgb(117 104 78 / 22%); pointer-events:auto; }
.transcription-notification p { flex:1; min-width:120px; font-size:13px; }
.transcription-notification .text-button { color:#2875ae; font-size:12px; }
.transcript-paper [hidden] { display:none; }

/* Voice recording fields share a quiet surface and a visible blue focus state. */
.capture-card .live-recording-field {
 box-sizing:border-box;
 display:block;
 width:100%;
 min-width:0;
 padding:10px 12px;
 border:1px solid #9fb3c3;
 border-radius:10px;
 background:#f7faff;
 color:#233747;
 font:inherit;
 line-height:1.55;
}
.capture-card .live-recording-field[hidden] { display:none; }
.capture-card .live-recording-field:focus {
 border-color:#2875ae;
 outline:2px solid #8ab7d9;
 outline-offset:1px;
}
.capture-card .live-recording-field::placeholder { color:#647889; }
.capture-card .live-recording-transcript { resize:vertical; margin-block:10px 12px; }
