:root {
  --ink: #16233d;
  --muted: #69748b;
  --blue: #315ee7;
  --blue-deep: #2147bd;
  --blue-pale: #e9efff;
  --paper: #f7f8fc;
  --white: #fff;
  --line: #dfe4ef;
  --lime: #cbe877;
  --warm: #f0b66d;
  --shadow: 0 14px 40px rgba(26, 45, 93, .11);
  --radius: 24px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: #dce4f8; font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif; }
button, input, select { font: inherit; }
button { color: inherit; }
.skip-link { position: fixed; z-index: 100; left: 12px; top: 10px; padding: 10px 14px; border-radius: 10px; color: white; background: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.app-shell { width: min(100%, 540px); min-height: 100vh; margin: 0 auto; background: var(--paper); padding: 0 22px 112px; position: relative; overflow: hidden; box-shadow: 0 0 80px rgba(22,35,61,.12); }
.topbar { height: 82px; display: flex; align-items: center; justify-content: space-between; }
.wordmark { display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 0; font-weight: 750; font-size: 25px; letter-spacing: -1.4px; cursor: pointer; }
.nook-mark { width: 29px; height: 29px; border: 3px solid var(--blue); border-radius: 50% 50% 8px 8px; position: relative; display: block; }
.nook-mark:after { content: ""; position: absolute; width: 9px; height: 13px; background: var(--blue); border-radius: 6px 6px 2px 2px; bottom: -3px; left: 7px; }
.nook-mark i { position: absolute; width: 7px; height: 7px; background: var(--lime); border-radius: 50%; right: -5px; top: -4px; border: 2px solid var(--paper); }
.avatar { border: 0; background: var(--ink); color: white; border-radius: 50%; width: 38px; height: 38px; font-size: 12px; letter-spacing: .5px; }
.privacy-status { display: none; align-items: center; gap: 7px; margin-left: auto; margin-right: 12px; color: var(--muted); font-size: 11px; font-weight: 700; }
.privacy-status span, .nav-private span { width: 7px; height: 7px; border-radius: 50%; background: #54a58d; box-shadow: 0 0 0 4px rgba(84,165,141,.12); }
.view { display: none; animation: reveal .35s ease; }
.view.active { display: block; }
@keyframes reveal { from { opacity: 0; transform: translateY(8px); } }
.eyebrow { margin: 0 0 7px; color: var(--blue); text-transform: uppercase; font-size: 11px; letter-spacing: 1.6px; font-weight: 800; }
.greeting { padding: 25px 0 29px; position: relative; }
.greeting:after { content: ""; position: absolute; width: 104px; height: 52px; border: 1px solid #cbd5ef; border-bottom: 0; border-radius: 55px 55px 0 0; right: -32px; top: 24px; }
h1, h2, p { margin-top: 0; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(46px, 12vw, 62px); line-height: .96; letter-spacing: -3.2px; margin-bottom: 0; font-weight: 500; }
h1 em { color: var(--blue); font-weight: 400; }
h2 { margin-bottom: 0; font-family: Georgia, "Times New Roman", serif; font-size: 27px; letter-spacing: -1px; font-weight: 500; }
.ask-bar { width: 100%; height: 62px; display: flex; align-items: center; gap: 13px; padding: 0 17px; background: var(--ink); color: white; border: 0; border-radius: 18px; box-shadow: var(--shadow); cursor: pointer; text-align: left; }
.ask-bar > span:nth-child(2) { flex: 1; color: #e6e9f0; }
kbd { font-size: 11px; color: #b7c0d0; border: 1px solid #536078; border-radius: 6px; padding: 4px 6px; }
.search-icon { width: 16px; height: 16px; border: 2px solid currentColor; border-radius: 50%; display: inline-block; position: relative; flex: none; }
.search-icon:after { content: ""; position: absolute; width: 7px; height: 2px; background: currentColor; transform: rotate(45deg); right: -5px; bottom: -2px; border-radius: 3px; }
.attention-card { margin-top: 20px; background: var(--blue-pale); border: 1px solid #d8e1fb; border-radius: var(--radius); padding: 19px; }
#attention-list { display: contents; }
.attention-heading { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.attention-heading p { margin: 0; flex: 1; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.1px; }
.pulse { width: 8px; height: 8px; background: var(--blue); border-radius: 50%; box-shadow: 0 0 0 5px rgba(49,94,231,.12); }
.count { background: white; min-width: 24px; height: 24px; display: grid; place-items: center; border-radius: 12px; font-size: 12px; font-weight: 800; }
.attention-item { width: 100%; display: grid; grid-template-columns: 38px 1fr 28px; align-items: center; gap: 11px; padding: 13px 0; border: 0; border-top: 1px solid #ced9f5; background: transparent; text-align: left; cursor: pointer; }
.attention-item strong, .attention-item span { display: block; }
.attention-item strong { font-size: 14px; }
.attention-item span { color: var(--muted); font-size: 12px; margin-top: 2px; }
.attention-item i { display: grid; place-items: center; border-radius: 50%; width: 28px; height: 28px; color: var(--blue); background: white; font-style: normal; }
.attention-empty { margin: 0; padding: 15px 0 3px; border-top: 1px solid #ced9f5; color: var(--muted); font-size: 12px; }
.line-icon { width: 38px; height: 38px; background: white; border-radius: 12px; position: relative; }
.shield-icon:before { content: ""; position: absolute; inset: 9px 11px 8px; border: 2px solid var(--blue); border-radius: 9px 9px 12px 12px; }
.drop-icon:before { content: ""; position: absolute; width: 12px; height: 16px; border: 2px solid var(--blue); border-radius: 10px 10px 11px 11px; transform: rotate(45deg); left: 12px; top: 9px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin: 39px 1px 16px; }
.section-heading .eyebrow { margin-bottom: 4px; }
.text-button { border: 0; background: none; color: var(--blue); font-weight: 700; padding: 5px; cursor: pointer; }
.room-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.room-card { border: 1px solid var(--line); background: var(--white); border-radius: 20px; min-height: 145px; padding: 18px; text-align: left; position: relative; overflow: hidden; cursor: pointer; transition: .2s ease; }
.room-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.room-card:nth-child(3n + 1) { grid-column: span 2; min-height: 128px; }
.room-card strong, .room-card span { display: block; position: relative; z-index: 1; }
.room-card strong { font-family: Georgia, serif; font-size: 21px; font-weight: 500; }
.room-card span { color: var(--muted); font-size: 12px; margin-top: 5px; }
.room-shape { position: absolute; border: 1px solid var(--room-color); opacity: .65; right: -16px; bottom: -19px; width: 99px; height: 91px; border-radius: 50px 50px 15px 15px; }
.room-shape:before, .room-shape:after { content: ""; position: absolute; border: 1px solid var(--room-color); }
.room-shape:before { width: 52px; height: 50px; left: 22px; bottom: 0; border-bottom: 0; }
.room-shape:after { width: 11px; height: 11px; border-radius: 50%; background: var(--room-color); opacity: .3; left: 42px; top: 24px; }
.recent-heading { margin-top: 36px; }
.recent-list, .all-items { display: grid; gap: 9px; }
.item-row { width: 100%; display: grid; grid-template-columns: 49px 1fr auto; align-items: center; gap: 13px; background: white; border: 1px solid var(--line); padding: 10px 13px 10px 10px; border-radius: 16px; text-align: left; cursor: pointer; }
.item-row:hover { border-color: #b8c6ea; box-shadow: 0 8px 24px rgba(26,45,93,.07); }
.item-row.is-archived { opacity: .62; }
.item-visual { width: 49px; height: 49px; border-radius: 12px; background: var(--item-color, var(--blue-pale)); display: grid; place-items: center; font-family: Georgia, serif; font-size: 20px; color: var(--ink); }
.item-visual.has-photo { overflow: hidden; background: #e8ebf2; }
.item-visual.has-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.item-row strong, .item-row span { display: block; }
.item-row strong { font-size: 14px; }
.item-row span { color: var(--muted); font-size: 12px; margin-top: 3px; }
.item-room { color: var(--blue); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .7px; }
.bottom-nav { position: fixed; z-index: 10; bottom: 0; left: 50%; transform: translateX(-50%); width: min(100%, 540px); height: 86px; padding: 10px 19px max(10px, env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); backdrop-filter: blur(16px); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; }
.nav-heading, .nav-private { display: none; }
.nav-item { border: 0; background: none; color: #8a93a5; font-size: 10px; font-weight: 700; display: grid; justify-items: center; gap: 5px; cursor: pointer; }
.nav-item.active { color: var(--blue); }
.nav-icon { width: 20px; height: 20px; border: 2px solid currentColor; border-radius: 5px; display: block; position: relative; }
.home-nav { border-radius: 9px 9px 3px 3px; transform: rotate(0deg); }
.home-nav:after { content: ""; position: absolute; width: 6px; height: 8px; border: 1px solid currentColor; left: 5px; bottom: -2px; }
.spaces-nav:before { content: ""; position: absolute; width: 2px; height: 16px; background: currentColor; left: 7px; }
.spaces-nav:after { content: ""; position: absolute; width: 16px; height: 2px; background: currentColor; top: 7px; }
.items-nav { border-radius: 50%; }
.items-nav:before { content: ""; position: absolute; inset: 4px; border: 1px solid currentColor; border-radius: 50%; }
.search-nav { border-radius: 50%; width: 18px; height: 18px; }
.search-nav:after { content: ""; width: 7px; height: 2px; position: absolute; right: -6px; bottom: -3px; background: currentColor; transform: rotate(45deg); }
.add-button { align-self: start; justify-self: center; margin-top: -31px; width: 58px; height: 58px; border-radius: 50%; background: var(--blue); border: 5px solid white; box-shadow: 0 8px 20px rgba(49,94,231,.3); position: relative; cursor: pointer; }
.add-button span:before, .add-button span:after { content: ""; position: absolute; width: 18px; height: 2px; background: white; left: 15px; top: 23px; border-radius: 2px; }
.add-button span:after { transform: rotate(90deg); }
.page-title { padding: 42px 0 28px; }
.page-title h1 { font-size: 52px; }
.space-list { display: grid; gap: 12px; }
.spaces-intro { color: var(--muted); font-size: 14px; line-height: 1.55; margin: -7px 0 22px; max-width: 390px; }
.space-row { min-height: 190px; background: var(--room-tint); border: 1px solid var(--line); border-radius: 22px; position: relative; overflow: hidden; padding: 0; text-align: left; cursor: pointer; }
.space-row-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.space-row-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,20,38,.04), rgba(12,20,38,.82)); }
.space-row-copy { position: absolute; left: 18px; right: 18px; bottom: 17px; color: white; }
.space-row.no-photo .space-row-copy { color: var(--ink); }
.space-row.no-photo .space-row-shade { background: linear-gradient(135deg, transparent 20%, color-mix(in srgb, var(--room-color) 17%, transparent)); }
.space-row h3 { font-family: Georgia, serif; font-size: 25px; font-weight: 500; margin: 0 0 5px; }
.space-row-copy p { margin: 0; font-size: 11px; opacity: .8; }
.space-row-badge { position: absolute; top: 14px; right: 14px; min-width: 35px; height: 35px; padding: 0 9px; display: grid; place-items: center; border-radius: 18px; background: rgba(255,255,255,.9); color: var(--ink); font-size: 11px; font-weight: 800; backdrop-filter: blur(8px); }
.capacity { height: 5px; border-radius: 4px; background: #edf0f5; overflow: hidden; }
.capacity i { display: block; height: 100%; background: var(--room-color); border-radius: 4px; }
.space-row p { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.space-sheet { max-height: 94vh; }
.space-breadcrumb { color: var(--blue); font-size: 11px; font-weight: 800; margin: 0 0 5px; }
.room-canvas { height: 250px; border-radius: 20px; overflow: hidden; background: var(--blue-pale); position: relative; margin: 18px 0 23px; }
.room-canvas > img { width: 100%; height: 100%; object-fit: cover; }
.room-photo-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: var(--blue); }
.room-photo-empty[hidden] { display: none; }
.room-photo-empty strong { font-size: 14px; margin-top: 7px; }
.room-photo-empty small { color: var(--muted); font-size: 11px; }
.change-room-photo { position: absolute; z-index: 3; right: 10px; bottom: 10px; border: 0; border-radius: 12px; background: rgba(22,35,61,.88); color: white; padding: 8px 11px; font-size: 11px; font-weight: 800; cursor: pointer; }
.hotspot-layer { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hotspot { position: absolute; transform: translate(-50%,-50%); min-width: 31px; height: 31px; padding: 0 9px; border: 3px solid white; border-radius: 18px; background: var(--blue); color: white; display: grid; place-items: center; box-shadow: 0 5px 18px rgba(22,35,61,.3); font-size: 11px; font-weight: 800; }
.storage-heading { display: flex; align-items: end; justify-content: space-between; }
.storage-heading h3 { font-family: Georgia, serif; font-size: 23px; font-weight: 500; margin: 0; }
.storage-heading button { border: 0; border-radius: 12px; background: var(--blue-pale); color: var(--blue); padding: 9px 11px; font-size: 12px; font-weight: 800; }
.storage-form { grid-template-columns: 1fr 1fr auto; margin: 13px 0; }
.storage-form[hidden] { display: none; }
.storage-form button { border: 0; border-radius: 12px; background: var(--blue); color: white; padding: 0 13px; font-weight: 800; }
.storage-visual-list { display: grid; gap: 8px; margin-top: 14px; max-height: 220px; overflow: auto; }
.storage-chip { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; border: 1px solid var(--line); background: white; border-radius: 15px; padding: 10px; }
.storage-chip b { width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: white; display: grid; place-items: center; font-size: 11px; }
.storage-chip strong { display: block; font-size: 13px; }
.storage-chip small { display: block; color: var(--muted); margin-top: 2px; }
.storage-chip span { color: var(--blue); font-size: 12px; font-weight: 800; }
.storage-chip.is-nested { margin-left: 26px; border-left: 3px solid var(--blue-pale); }
.space-count { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--room-tint); font-weight: 800; }
.inline-search { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); background: white; border-radius: 16px; padding: 0 17px; height: 55px; margin-bottom: 17px; color: var(--muted); }
.memory-insights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: -10px 0 18px; }
.memory-insights > div { border: 1px solid var(--line); border-radius: 16px; padding: 13px; background: white; }
.memory-insights strong, .memory-insights span, .memory-insights small { display: block; }
.memory-insights strong { color: var(--blue); font-family: Georgia, serif; font-size: 25px; font-weight: 500; }
.memory-insights span { margin-top: 3px; font-size: 11px; font-weight: 800; }
.memory-insights small { margin-top: 3px; color: var(--muted); font-size: 9px; line-height: 1.35; }
.inline-search input { border: 0; outline: 0; width: 100%; background: transparent; color: var(--ink); }
.sheet { width: min(calc(100% - 24px), 516px); max-height: 86vh; margin: auto auto 12px; border: 0; border-radius: 28px; padding: 30px 22px 26px; color: var(--ink); background: var(--paper); box-shadow: 0 -10px 60px rgba(22,35,61,.22); }
.sheet::backdrop { background: rgba(11, 20, 39, .46); backdrop-filter: blur(3px); }
.sheet[open] { animation: slideUp .3s ease; }
@keyframes slideUp { from { transform: translateY(50px); opacity: 0; } }
.sheet-handle { width: 42px; height: 4px; background: #d1d6e0; border-radius: 3px; position: absolute; top: 10px; left: calc(50% - 21px); }
.close-button { position: absolute; top: 19px; right: 20px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #e9ecf2; font-size: 21px; line-height: 1; cursor: pointer; }
.sheet h2 { font-size: 32px; padding-right: 30px; margin-bottom: 21px; }
.dialog-search { height: 59px; border: 2px solid var(--ink); border-radius: 17px; background: white; padding: 0 16px; display: flex; align-items: center; gap: 12px; }
.dialog-search input { border: 0; outline: 0; background: none; width: 100%; }
.suggestions { display: flex; flex-wrap: wrap; gap: 7px; padding: 14px 0; }
.suggestions button { border: 1px solid var(--line); background: white; border-radius: 16px; padding: 8px 11px; font-size: 12px; cursor: pointer; }
.search-results { display: grid; gap: 8px; overflow: auto; max-height: 42vh; }
.empty-result { padding: 28px 10px; color: var(--muted); text-align: center; }
form { display: grid; gap: 15px; }
.photo-memory { min-height: 142px; border-radius: 18px; overflow: hidden; position: relative; }
.photo-picker { width: 100%; min-height: 142px; border: 1.5px dashed #aebbe0; border-radius: 18px; background: var(--blue-pale); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; color: var(--blue); }
.photo-picker strong { font-size: 14px; }
.photo-picker small { color: var(--muted); font-size: 11px; }
.camera-glyph { width: 31px; height: 23px; border: 2px solid var(--blue); border-radius: 7px; position: relative; margin-bottom: 5px; }
.camera-glyph:before { content: ""; position: absolute; width: 9px; height: 9px; border: 2px solid var(--blue); border-radius: 50%; left: 9px; top: 5px; }
.camera-glyph:after { content: ""; position: absolute; width: 11px; height: 5px; border-radius: 4px 4px 0 0; background: var(--blue); left: 8px; top: -6px; }
.photo-preview { height: 190px; position: relative; background: #e8ebf2; }
.photo-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-actions { position: absolute; display: flex; gap: 6px; right: 10px; bottom: 10px; }
.photo-actions button { border: 0; border-radius: 12px; background: rgba(22,35,61,.88); color: white; padding: 8px 11px; font-size: 11px; font-weight: 800; backdrop-filter: blur(8px); cursor: pointer; }
form label { display: grid; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 700; }
form input, form select { width: 100%; border: 1px solid var(--line); border-radius: 13px; padding: 13px; background: white; color: var(--ink); outline: 0; }
form input:focus, form select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-pale); }
.form-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px; }
.primary-button { margin-top: 5px; background: var(--blue); color: white; border: 0; border-radius: 15px; padding: 15px; font-weight: 800; cursor: pointer; }
.data-explainer { color: var(--muted); line-height: 1.6; margin-bottom: 20px; }
.data-actions { display: grid; gap: 9px; }
.data-actions .primary-button { margin: 0; text-align: center; }
.secondary-button { display: block; border: 1px solid var(--line); border-radius: 15px; padding: 14px; background: white; color: var(--ink); text-align: center; font-weight: 800; cursor: pointer; }
.item-lifecycle { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.attachment-list { display: flex; flex-wrap: wrap; gap: 7px; }
.attachment-list a { max-width: 100%; overflow: hidden; text-overflow: ellipsis; border-radius: 10px; padding: 8px 10px; color: var(--blue); background: var(--blue-pale); font-size: 11px; font-weight: 800; text-decoration: none; }
.danger-button { border: 1px solid #f0c9ce; border-radius: 15px; padding: 14px; background: #fff4f5; color: #a93848; font-weight: 800; cursor: pointer; }
.room-manager { display: grid; gap: 8px; max-height: 45vh; overflow: auto; }
.room-manager-row { display: grid; grid-template-columns: 1fr auto auto; gap: 7px; align-items: center; border: 1px solid var(--line); border-radius: 15px; padding: 11px; background: white; }
.room-manager-row strong, .room-manager-row span { display: block; }
.room-manager-row span { margin-top: 3px; color: var(--muted); font-size: 10px; }
.room-manager-row button { border: 0; border-radius: 10px; padding: 8px; color: var(--blue); background: var(--blue-pale); font-size: 11px; font-weight: 800; cursor: pointer; }
.room-manager-row button:last-child { color: #a93848; background: #fff4f5; }
.add-room-form { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); grid-template-columns: 1fr auto; align-items: end; }
.add-room-form .primary-button { margin: 0; }
.data-note { color: var(--muted); font-size: 11px; margin: 18px 0 0; text-align: center; }
.account-card { margin: 18px 0; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: #f8faff; }
.account-identity { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.account-identity img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.account-identity strong, .account-identity small { display: block; }
.account-identity small, .account-status { color: var(--muted); font-size: 11px; }
.google-button { width: 100%; border: 1px solid var(--line); border-radius: 15px; padding: 14px; background: white; color: var(--ink); font-weight: 800; cursor: pointer; }
.google-button:disabled { cursor: not-allowed; opacity: .55; }
.account-actions { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; }
.account-actions .secondary-button { width: 100%; }
.text-button { border: 0; background: transparent; color: var(--muted); font-weight: 800; cursor: pointer; padding: 12px; }
.account-status { margin: 10px 0 0; text-align: center; }
.toast { position: fixed; z-index: 30; bottom: 105px; left: 50%; transform: translate(-50%, 20px); background: var(--ink); color: white; padding: 12px 18px; border-radius: 14px; font-size: 13px; opacity: 0; pointer-events: none; transition: .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
@media (min-width: 541px) { .app-shell { margin-top: 20px; min-height: calc(100vh - 40px); border-radius: 30px 30px 0 0; } .bottom-nav { bottom: 0; } }
@media (min-width: 900px) {
  body { background: #e8edf8; }
  .app-shell { width: min(calc(100% - 48px), 1240px); min-height: calc(100vh - 48px); margin: 24px auto; padding: 0 38px 48px; border-radius: 32px; display: grid; grid-template-columns: 190px minmax(0, 1fr); grid-template-rows: 92px auto; column-gap: 54px; overflow: visible; }
  .topbar { grid-column: 1 / -1; height: 92px; border-bottom: 1px solid var(--line); }
  .privacy-status { display: flex; }
  main { grid-column: 2; grid-row: 2; width: 100%; max-width: 880px; padding-bottom: 20px; }
  .bottom-nav { position: sticky; grid-column: 1; grid-row: 2; align-self: start; top: 24px; left: auto; bottom: auto; transform: none; width: auto; height: auto; padding: 34px 0 0; border: 0; background: transparent; backdrop-filter: none; display: flex; flex-direction: column; align-items: stretch; gap: 7px; }
  .nav-heading { display: block; margin: 0 12px 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1.4px; font-size: 10px; font-weight: 800; }
  .nav-item { min-height: 48px; padding: 0 13px; border-radius: 14px; display: flex; align-items: center; justify-content: flex-start; gap: 12px; font-size: 13px; }
  .nav-item:hover, .nav-item.active { background: var(--blue-pale); }
  .add-button { order: 5; align-self: stretch; justify-self: auto; margin: 18px 0 0; width: auto; height: 48px; border: 0; border-radius: 14px; box-shadow: none; }
  .add-button:after { content: 'Remember a thing'; color: white; font-size: 13px; font-weight: 800; }
  .add-button span:before, .add-button span:after { left: 19px; top: 23px; width: 14px; }
  .add-button:after { padding-left: 24px; }
  .nav-private { display: flex; align-items: center; gap: 9px; margin: 26px 10px 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
  .nav-private span { flex: none; }
  .greeting { padding-top: 56px; }
  h1 { font-size: 70px; }
  #home-view .ask-bar { max-width: 700px; }
  .attention-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .attention-heading { grid-column: 1 / -1; }
  .room-grid { grid-template-columns: repeat(4, 1fr); }
  .room-card:nth-child(3n + 1) { grid-column: span 2; }
  .space-list { grid-template-columns: 1fr 1fr; }
  .space-row:first-child { grid-column: 1 / -1; min-height: 260px; }
  .sheet { margin: auto; width: min(calc(100% - 48px), 620px); }
  .toast { bottom: 30px; }
}
@media (prefers-reduced-motion: reduce) { *, *:before, *:after { animation: none !important; transition: none !important; } }
@media (max-width: 430px) { .memory-insights { grid-template-columns: 1fr; } .item-lifecycle, .form-row, .storage-form, .add-room-form { grid-template-columns: 1fr; } }
