@charset "UTF-8";
.google-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.google-intro h2 { font-size: 18px; font-weight: 550; }
.google-intro p:not(.eyebrow), .setup-description { color: var(--muted); font-size: 12px; line-height: 1.9; }
.google-intro small { display: block; margin-top: 12px; font-size: 11px; color: var(--accent); }
.setup-description { margin: 16px 0 23px; }
.setup-steps { padding-left: 21px; font-size: 12px; line-height: 1.9; }
.setup-steps li { padding-left: 5px; margin-bottom: 12px; }
.setup-steps a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.setup-address { display: flex; align-items: center; gap: 12px; background: var(--sidebar); border-radius: 6px; padding: 12px 15px; margin: 20px 0; }
.setup-address code { font-size: 11px; overflow-wrap: anywhere; min-width: 0; flex: 1; }
.collection-toolbar { display: flex; gap: 15px; padding: 0 0 22px; border-bottom: 1px solid var(--line); }
.collection-search { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.collection-search input { width: 100%; min-width: 0; border: 0; background: transparent; padding: 10px 0; }
.collection-toolbar select { border: 1px solid var(--line); background: var(--paper); border-radius: 5px; padding: 8px 12px; max-width: 200px; font-size: 12px; }
.collection-row { display: grid; grid-template-columns: 35px minmax(0,1fr) 20px; gap: 17px; padding: 25px 0; border-bottom: 1px solid var(--line); align-items: center; }
.collection-symbol { font-size: 25px; color: var(--accent); align-self: start; padding-top: 18px; }
.collection-row-meta { display: flex; justify-content: space-between; gap: 14px; font-size: 10px; color: var(--muted); }
.collection-row-meta span { overflow-wrap: anywhere; }
.collection-row-meta time { flex-shrink: 0; }
.collection-row h2 { font-size: 17px; font-weight: 550; margin: 8px 0; overflow-wrap: anywhere; }
.collection-row p { color: var(--muted); font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.collection-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 10px; font-size: 10px; }
.collection-tags span { background: var(--sidebar); padding: 2px 7px; border-radius: 4px; }
.collection-tags small { color: var(--muted); overflow-wrap: anywhere; }
.collection-pagination { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; color: var(--muted); font-size: 11px; }
.source-layout { display: grid; grid-template-columns: minmax(0,1fr) 245px; gap: 55px; margin-top: 40px; }
.source-article { min-width: 0; }
.source-article > h1 { font-size: 32px; line-height: 1.5; font-weight: 600; margin-top: 13px; overflow-wrap: anywhere; }
.source-meta { display: flex; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 10px; margin: 16px 0; overflow-wrap: anywhere; }
.source-recipients { color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.source-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 30px; }
.source-body { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 2; }
.source-inspector { min-width: 0; border-left: 1px solid var(--line); padding-left: 25px; }
.source-inspector h2 { font-size: 16px; }
.source-inspector > p { font-size: 11px; color: var(--muted); line-height: 1.9; margin: 9px 0 24px; }
.source-inspector > small { display: block; font-size: 10px; color: var(--muted); line-height: 1.9; margin-top: 25px; }
.source-history, .source-attachments { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 20px; font-size: 12px; }
.source-history summary { cursor: pointer; color: var(--muted); }
.source-history a, .source-attachments > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.source-history small, .source-attachments small { color: var(--muted); font-size: 10px; }
.source-attachments h2 { font-size: 15px; margin-bottom: 10px; }
.source-attachments span { min-width: 0; overflow-wrap: anywhere; }
.source-attachments span small { display: block; }
.sync-history { margin-top: 25px; }
.sync-history > div { padding: 15px 0; border-top: 1px solid var(--line); font-size: 12px; }
.sync-history span { float: right; color: var(--muted); }
.sync-history p { margin-top: 8px; color: var(--muted); font-size: 11px; }
@media (max-width: 1100px) { .source-layout { grid-template-columns: minmax(0,1fr) 215px; gap: 25px; } }
@media (max-width: 780px) {
  .source-layout { display: flex; flex-direction: column; }
  .source-inspector { border-left: 0; border-top: 1px solid var(--line); padding: 25px 0 0; margin-top: 15px; }
  .google-intro { align-items: flex-start; flex-direction: column; gap: 18px; }
  .collection-toolbar { flex-wrap: wrap; gap: 10px; }
  .collection-search { flex-basis: 100%; }
  .collection-toolbar select { flex: 1; min-width: 0; max-width: 50%; }
  .collection-row { grid-template-columns: 25px minmax(0,1fr) 16px; gap: 10px; }
  .collection-row h2 { font-size: 15px; }
  .source-article > h1 { font-size: 26px; }
}
:root {
  font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  color: #302e2b;
  background: #fdfdfb;
  font-size: 14px;
  line-height: 1.6;
  font-synthesis: none;
  --paper: #fdfdfb;
  --sidebar: #f4f3ee;
  --line: #e9e7df;
  --muted: #85837b;
  --accent: #ad613f;
  --accent-soft: #f6ece4;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .4; cursor: default; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input, textarea, select { outline: none; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible, [contenteditable]:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { letter-spacing: -.04em; }
button { border: 0; background: none; }
.icon { width: 19px; height: 19px; flex-shrink: 0; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: -100px; left: 15px; z-index: 110; padding: 10px 18px; background: white; border: 1px solid var(--line); border-radius: 6px; }
.skip-link:focus { top: 15px; }
.boot { min-height: 90vh; display: grid; place-content: center; gap: 20px; text-align: center; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 244px; padding: 31px 19px 0; background: var(--sidebar); border-right: 1px solid var(--line); display: flex; flex-direction: column; z-index: 20; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 13px; padding: 0 12px 33px; }
.brand-symbol { display: block; width: 38px; height: 38px; flex-shrink: 0; }
.brand strong { display: block; font-size: 15px; font-weight: 700; letter-spacing: -.04em; }
.brand small { display: block; font-size: 8px; letter-spacing: 1.25px; color: #89877d; margin-top: 5px; }
.sidebar-search { border: 1px solid #e3e1d8; border-radius: 6px; padding: 10px 11px; display: flex; align-items: center; gap: 8px; color: #817e73; background: #faf9f5; font-size: 11px; margin: 0 7px 29px; }
.sidebar-search .icon { width: 15px; height: 15px; }
.sidebar-search kbd { font-size: 9px; color: #a09c92; margin-left: auto; }
kbd { font: 10px system-ui; color: #89867c; padding: 2px 5px; border: 1px solid #e1ded5; border-radius: 4px; }
.nav-caption { color: #979286; font-size: 10px; padding: 0 13px 10px; }
.nav-item { display: flex; align-items: center; gap: 12px; padding: 11px 13px; margin-bottom: 5px; border-radius: 5px; font-size: 12px; color: #78756c; transition: background .16s, color .16s; }
.nav-item:hover { background: #eae8df; }
.nav-item.active { background: #eae6db; color: #4f4b3d; font-weight: 650; }
.nav-item.active .icon { color: var(--accent); }
.nav-item small { margin-left: auto; font-size: 10px; }
.secondary-navigation { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.secondary-navigation .nav-item { font-size: 11px; }
.sidebar-navigation { margin-top: 28px; }
.navigation-group { margin-bottom: 14px; }
.navigation-group > summary { display: flex; align-items: center; gap: 9px; padding: 11px 12px; color: #78756c; font-size: 12px; font-weight: 650; cursor: pointer; list-style: none; }
.navigation-group > summary::-webkit-details-marker { display: none; }
.navigation-group > summary > .icon { width: 13px; height: 13px; transition: transform .15s; }
.navigation-group[open] > summary > .icon { transform: rotate(90deg); }
.navigation-group > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 5px; }
.navigation-group .secondary-navigation { margin: 0; padding: 0; border: 0; }
.navigation-group .nav-item { margin-left: 10px; font-size: 12px; }
.navigation-empty { padding: 8px 16px 10px 34px; margin: 0; color: #84735b; font-size: 11px; line-height: 1.7; }
.mobile-navigation .navigation-group a { padding: 12px; border: 0; color: #78756c; }
.connection-login { max-width: 560px; padding: 24px; border: 1px solid var(--line); border-radius: 8px; margin-top: 24px; }
.connection-login .wardrobe-login-code { display: block; margin: 20px 0; }
.codex-usage { margin-top: 32px; padding-bottom: 24px; }
.codex-usage h2 { font-size: 16px; font-weight: 600; color: var(--ink); }
.codex-section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.codex-section-heading small, .codex-note { color: var(--muted); font-size: 12px; line-height: 1.9; }
.codex-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.codex-metric { padding: 20px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); min-width: 0; }
.codex-metric h3 { font-size: 12px; font-weight: 500; color: var(--muted); }
.codex-metric strong { display: block; margin: 12px 0 8px; font-size: 23px; font-weight: 600; overflow-wrap: anywhere; }
.codex-metric p { color: var(--muted); font-size: 11px; line-height: 1.7; }
.codex-section { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.codex-section > h2 { margin-bottom: 10px; }
.codex-limits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.codex-limit { padding: 18px; background: var(--sidebar); border-radius: 8px; min-width: 0; }
.codex-limit > div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.codex-limit h3, .codex-limit strong { font-size: 12px; overflow-wrap: anywhere; }
.codex-limit progress { display: block; width: 100%; height: 8px; margin: 13px 0; accent-color: var(--accent); }
.codex-limit p { color: var(--muted); font-size: 11px; }
.codex-table-wrap { overflow-x: auto; margin: 16px 0; }
.codex-table { width: 100%; border-collapse: collapse; font-size: 12px; white-space: nowrap; }
.codex-table th, .codex-table td { border-bottom: 1px solid var(--line); padding: 12px 10px; text-align: right; font-variant-numeric: tabular-nums; }
.codex-table th:first-child { text-align: left; max-width: 240px; overflow-wrap: anywhere; white-space: normal; }
.codex-table thead th { color: var(--muted); font-weight: 500; }
.codex-models { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.codex-chip { display: inline-block; padding: 5px 10px; border: 1px solid var(--line); border-radius: 6px; font-size: 12px; overflow-wrap: anywhere; }
.codex-daily { margin-top: 14px; }
.codex-daily > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
@media (max-width: 1100px) { .codex-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .codex-limits { grid-template-columns: 1fr; } .codex-metric { padding: 16px 12px; } .codex-metric strong { font-size: clamp(14px, 4vw, 19px); } .codex-metrics { gap: 8px; } }
.sidebar .dashboard-home { margin-top: 24px; }
.sidebar .dashboard-home + .sidebar-navigation { margin-top: 10px; }
.dashboard-actions { display:flex; flex-wrap:wrap; gap:10px; }
.dashboard-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; padding:24px 0 30px; border-bottom:1px solid var(--line); margin-bottom:32px; }
.dashboard-summary > div { display:grid; gap:10px; }
.dashboard-summary span { font-size:11px; color:var(--muted); }
.dashboard-summary strong { font-size:30px; font-weight:650; }
.dashboard-section-title, .dashboard-task-heading h2 { font-size:17px; font-weight:650; margin:0 0 20px; }
.dashboard-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.dashboard-card { min-width:0; border:1px solid var(--line); border-radius:8px; padding:22px; background:#fffefa; }
.dashboard-card.selected { border-color:var(--accent); }
.dashboard-card-title { display:flex; align-items:center; gap:9px; }
.dashboard-card-title h3 { margin:0; min-width:0; flex:1; }
.dashboard-card-title .text-button { font-size:14px; color:var(--text); font-weight:650; text-align:left; overflow-wrap:anywhere; }
.dashboard-project-description { color:var(--muted); font-size:12px; line-height:1.8; min-height:44px; margin:18px 0; overflow-wrap:anywhere; white-space:pre-wrap; }
.dashboard-project-bottom { display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:11px; color:var(--muted); }
.dashboard-tasks { margin-top:40px; }
.dashboard-task-heading { display:flex; justify-content:space-between; align-items:center; gap:15px; margin-bottom:18px; }
.dashboard-task-heading h2 { margin:0; overflow-wrap:anywhere; }
.dashboard-task-heading select { max-width:220px; font-size:12px; padding:9px; border:1px solid var(--line); border-radius:5px; }
.dashboard-task-form { display:grid; grid-template-columns:minmax(130px,1fr) minmax(110px,180px) minmax(120px,150px) auto; gap:10px; margin:22px 0; }
.dashboard-task-form label { min-width:0; }
.dashboard-task-form input, .dashboard-task-form select { width:100%; min-width:0; padding:11px; border:1px solid var(--line); border-radius:5px; font-size:12px; background:white; }
.dashboard-task-list { border-top:1px solid var(--line); }
.dashboard-task { display:flex; align-items:flex-start; gap:14px; padding:20px 0; border-bottom:1px solid var(--line); }
.dashboard-task > input { margin-top:4px; width:17px; height:17px; flex-shrink:0; accent-color:var(--accent); }
.dashboard-task > div { min-width:0; flex:1; }
.dashboard-task strong { display:block; font-size:13px; font-weight:550; overflow-wrap:anywhere; }
.dashboard-task p, .dashboard-task small { color:var(--muted); font-size:11px; margin:8px 0 0; overflow-wrap:anywhere; white-space:pre-wrap; }
.dashboard-task.completed strong { text-decoration:line-through; color:var(--muted); }
.dashboard-task .overdue { color:var(--accent); }
.dashboard-empty, .dashboard-muted { padding:24px 0; font-size:12px; color:var(--muted); }
.dashboard-paused { margin-top:24px; color:var(--muted); font-size:12px; }
.dashboard-paused > div { display:flex; justify-content:space-between; padding:14px 0; gap:16px; }
@media(max-width:1100px) { .dashboard-grid { grid-template-columns:1fr; } .dashboard-task-form { grid-template-columns:minmax(0,1fr) minmax(0,1fr); } .dashboard-task-form > label:first-child { grid-column:1/-1; } }
@media(max-width:600px) { .dashboard-summary { gap:10px; } .dashboard-summary span { font-size:10px; } .dashboard-summary strong { font-size:27px; } .dashboard-task-heading { align-items:stretch; flex-direction:column; } .dashboard-task-heading select { max-width:100%; width:100%; } .dashboard-task-form { grid-template-columns:minmax(0,1fr); } .dashboard-task-form > label:first-child { grid-column:auto; } .dashboard-card { padding:20px; } }
.sidebar-section { margin-top: 29px; padding: 0 11px; }
.sidebar-section-title { display: flex; align-items: center; justify-content: space-between; color: #969082; font-size: 10px; margin-bottom: 10px; }
.sidebar-section-title > .icon { width: 12px; height: 12px; }
.sidebar-section-title .icon-button { min-height: 20px; min-width: 20px; }
.sidebar-document { display: flex; align-items: center; gap: 9px; padding: 7px 0; font-size: 11px; color: #777267; }
.sidebar-document span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-document span:first-child { font-size: 13px; width: 18px; flex-shrink: 0; }
.sidebar-empty { font-size: 10px; line-height: 1.9; color: #9a9589; }
.sidebar-bottom { margin-top: auto; padding-top: 35px; }
.sidebar-utility { display: flex; gap: 10px; color: #898476; font-size: 11px; padding: 10px 12px 20px; }
.sidebar-utility .icon { width: 15px; height: 15px; }
.profile { display: flex; align-items: center; gap: 10px; padding: 19px 6px 24px; border-top: 1px solid #e5e1d7; }
.avatar, .small-avatar { display: grid; place-items: center; border-radius: 50%; background: #e9e1d6; color: #8d765d; font-size: 11px; width: 32px; height: 32px; flex-shrink: 0; }
.profile strong { display: block; font-size: 11px; font-weight: 600; }
.profile small { font-size: 9px; color: #979082; }
.profile .icon-button { margin-left: auto; color: #999182; }
.workspace { margin-left: 244px; }
.topbar { height: 74px; display: flex; align-items: center; justify-content: space-between; padding: 0 48px; border-bottom: 1px solid var(--line); }
.breadcrumb { color: #7c796f; font-size: 11px; display: flex; gap: 15px; }
.breadcrumb span { color: #c4beb1; }
.topbar-right { display: flex; align-items: center; gap: 24px; }
.topbar-date { color: #8e887b; font-size: 10px; }
.small-avatar { width: 28px; height: 28px; font-size: 10px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 32px; border-radius: 5px; color: #8b8477; padding: 5px; transition: background .15s; }
.icon-button:hover { background: #f0eee7; }
.icon-button .icon { width: 17px; height: 17px; }
.mobile-menu { display: none; }
main { max-width: 1500px; margin: auto; padding: 47px 48px 48px; }
#workspace-main { outline: none; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.eyebrow { color: #a28b71; font-size: 9px; letter-spacing: 1.7px; font-weight: 650; margin-bottom: 9px; }
.page-heading h1 { font-size: 34px; line-height: 1.4; font-weight: 720; letter-spacing: -.07em; }
.page-description { font-size: 12px; color: #8d8678; margin-top: 8px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 5px; font-size: 11px; min-height: 36px; padding: 9px 14px; border: 1px solid transparent; font-weight: 550; white-space: nowrap; transition: background .16s, transform .16s; }
.button:active { transform: translateY(1px); }
.button .icon { width: 15px; height: 15px; }
.primary { background: #ac623f; color: #fff; }
.primary:hover { background: #965330; color: white; }
.secondary { background: #fff; border-color: #e3dfd3; color: #726b5b; }
.secondary:hover { background: #f7f5ee; }
.subtle { color: #8a806e; background: #f4f1e9; }
.text-button { padding: 4px 0; font-size: 11px; color: var(--accent); }
.danger { color: #a55d4a; }
.danger-button { color: #a55d4a; width: 100%; background: #fbf1ec; }
.library-layout { display: grid; grid-template-columns: minmax(0, 1fr) 225px; gap: 46px; }
.library-main { min-width: 0; }
.library-summary { display: flex; gap: 30px; align-items: center; min-height: 135px; padding: 24px 26px; background: #f3f0e7; border-radius: 5px; overflow: hidden; }
.summary-label { font-size: 10px; color: #9d8b71; }
.library-summary strong { display: block; font: 40px Georgia, serif; line-height: 1.2; color: #5f5748; margin-top: 5px; }
.library-summary strong small { font-family: inherit; font-size: 11px; color: #91836f; margin-left: 10px; }
.summary-rule { width: 1px; height: 38px; background: #ddd7c8; }
.library-summary p { font-size: 11px; color: #8f826d; line-height: 2; }
.summary-mark { margin-left: auto; font: 63px Georgia, serif; letter-spacing: -5px; color: #ddd0b7; position: relative; padding-right: 5px; }
.summary-mark span { position: absolute; right: -6px; top: -1px; font: 25px Georgia, serif; color: #b99a75; transform: rotate(15deg); }
.list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 32px; border-bottom: 1px solid var(--line); }
.tabs { display: flex; align-items: center; gap: 24px; }
.tab { position: relative; font-size: 11px; color: #989181; padding: 11px 0; }
.tab.active { color: #6b604e; font-weight: 650; }
.tab.active:after { content: ""; position: absolute; height: 2px; background: #ac7957; bottom: -1px; left: 0; right: 0; }
.list-search { display: flex; align-items: center; gap: 7px; color: #aaa08e; }
.list-search .icon { width: 13px; height: 13px; }
.list-search input { width: 145px; border: 0; background: transparent; padding: 9px 0; font-size: 10px; }
input::placeholder, textarea::placeholder { color: #b3ab9c; }
.document-list-heading { display: grid; grid-template-columns: minmax(0, 1fr) 90px 70px 32px; gap: 14px; font-size: 9px; color: #a39987; padding: 14px 0 10px; }
.document-list-heading span:first-child { padding-left: 8px; }
.document-row { display: grid; grid-template-columns: minmax(0, 1fr) 90px 70px 32px; align-items: center; gap: 14px; padding: 23px 0; border-bottom: 1px solid var(--line); transition: background .18s; }
.document-row:hover { background: #faf8f2; }
.document-row-main { display: flex; align-items: flex-start; gap: 14px; min-width: 0; padding-left: 8px; }
.document-emoji { font-size: 23px; flex-shrink: 0; padding-top: 2px; }
.document-row-main > div { min-width: 0; }
.document-row-main strong { font-size: 13px; font-weight: 650; color: #5a5347; }
.document-row-main p { font-size: 10px; color: #9a9181; margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.document-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.document-tags span { font-size: 9px; color: #9c8b72; background: #f3eee3; padding: 1px 6px; border-radius: 3px; }
.document-tags .icon { width: 10px; height: 10px; margin-right: 3px; }
.document-row time { color: #9e9482; font-size: 10px; }
.visibility { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; color: #9a8e7b; white-space: nowrap; }
.visibility .icon { width: 12px; height: 12px; }
.visibility.public { color: #748367; }
.visibility.unlisted { color: #a18059; }
.favorite { color: #b9ad94; }
.favorite.selected { color: #bb9360; }
.favorite.selected svg { fill: #eedbbc; }
.workspace-note { margin-top: 23px; display: flex; align-items: center; gap: 7px; color: #a69d8a; font-size: 9px; }
.workspace-note .icon { width: 11px; height: 11px; }
.library-aside { padding-top: 6px; }
.aside-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.aside-heading h2 { color: #73634e; font-size: 13px; font-weight: 600; }
.aside-heading > a { color: #b0a28a; }
.aside-heading .icon { width: 15px; height: 15px; }
.aside-date { font-size: 10px; color: #a2937c; margin-top: 14px; }
.agenda-empty { padding: 29px 0 25px; }
.agenda-empty > .icon { width: 30px; height: 30px; color: #c3b69f; stroke-width: 1; }
.agenda-empty p { color: #9f927c; font-size: 11px; margin: 10px 0 12px; }
.agenda-preview { display: block; width: 100%; text-align: left; padding: 15px 0; border-bottom: 1px solid var(--line); }
.agenda-preview span { display: block; color: #a5967e; font-size: 10px; }
.agenda-preview b { font-weight: 400; margin-left: 6px; }
.agenda-preview strong { display: block; margin-top: 5px; font-size: 12px; font-weight: 550; }
.aside-reading { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 22px; }
.aside-reading h3 { font-size: 17px; color: #7b6a53; font-weight: 550; }
.aside-reading p:not(.eyebrow) { font-size: 10px; color: #a0927c; line-height: 2; margin: 10px 0 16px; }
.aside-reading a { font-size: 10px; color: #a27d56; }
.aside-bottom { border-top: 1px solid var(--line); margin-top: 50px; padding-top: 18px; font-size: 10px; color: #c0b39a; }
.aside-bottom span { display: block; font-size: 8px; margin-top: 5px; letter-spacing: .5px; }
.empty-state { text-align: center; padding: 65px 20px; border-bottom: 1px solid var(--line); }
.empty-state > span { color: #bdaf95; display: inline-flex; padding: 12px; border-radius: 50%; background: #f4f0e6; }
.empty-state h3 { font-size: 15px; margin-top: 20px; font-weight: 550; }
.empty-state > .button { margin-top: 20px; }
.empty-state p { color: #a09581; font-size: 11px; margin: 9px 0 20px; }
.empty-copy { color: #a09684; padding: 25px 0; font-size: 12px; }
.inline-notice { display: flex; gap: 10px; align-items: center; color: #948369; background: #f7f2e8; border-radius: 4px; padding: 13px 16px; margin-bottom: 22px; font-size: 11px; }
.inline-notice .icon { width: 15px; height: 15px; }
.publishing-guide { display: flex; gap: 65px; padding: 23px 0 30px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.publishing-guide strong { font-size: 12px; display: block; color: #7d705b; }
.publishing-guide span { font-size: 10px; color: #ad9e86; display: block; margin-top: 5px; }
.editor-topline { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-bottom: 17px; border-bottom: 1px solid var(--line); margin-top: -21px; }
.back-link { color: #a19175; font-size: 10px; }
.editor-actions { display: flex; align-items: center; gap: 11px; }
.save-status { font-size: 10px; color: #a59982; margin-right: 4px; }
.editor-paper { max-width: 810px; margin: 56px auto 0; padding: 0 30px; }
.editor-document-meta { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.document-big-emoji { font-size: 38px; line-height: 1.2; }
.source-badge { font-size: 10px; background: #f0eee8; padding: 3px 7px; color: #95886f; border-radius: 3px; }
.document-title { display: block; width: 100%; font-size: 37px; font-weight: 700; letter-spacing: -.065em; border: 0; background: transparent; line-height: 1.6; padding: 0; color: #554939; min-width: 0; }
.document-title::placeholder { color: #c6b89c; }
.editor-properties { margin: 22px 0 30px; font-size: 10px; }
.editor-properties label { display: flex; align-items: center; min-height: 28px; gap: 12px; }
.editor-properties label > span:first-child { width: 70px; color: #a7997e; flex-shrink: 0; }
.editor-properties input, .editor-properties select { font-size: 10px; border: 0; background: none; width: 260px; max-width: calc(100% - 82px); color: #948162; padding: 4px 0; }
.editor-toolbar { display: flex; align-items: center; justify-content: space-between; margin: 30px 0 34px; border-bottom: 1px solid var(--line); }
.editor-toolbar > span { font-size: 9px; color: #b0a28a; }
.editor-toolbar b { font-weight: 400; margin: 0 7px; }
.source-caption { display: flex; justify-content: space-between; font-size: 10px; color: #a38e6f; margin-bottom: 25px; }
.block-row { position: relative; display: flex; align-items: flex-start; gap: 8px; min-height: 32px; margin: 4px 0; }
.block-controls { position: absolute; right: 100%; display: flex; padding-right: 8px; height: 30px; align-items: center; opacity: 0; transition: opacity .12s; }
.block-row:hover .block-controls, .block-row:focus-within .block-controls { opacity: 1; }
.block-control { width: 23px; min-height: 26px; border-radius: 3px; color: #b2a48b; display: grid; place-items: center; padding: 0; }
.block-control:hover { background: #f1ece1; }
.block-control .icon { width: 14px; height: 14px; }
.block-marker { width: 17px; flex-shrink: 0; font-size: 17px; line-height: 1.9; color: #9b825e; }
.block-paragraph .block-marker, .block-heading1 .block-marker, .block-heading2 .block-marker, .block-heading3 .block-marker, .block-code .block-marker, .block-quote .block-marker { display: none; }
.block-marker input { accent-color: var(--accent); margin: 8px 0 0; width: 15px; height: 15px; }
.block-text { width: 100%; min-width: 0; font-size: 15px; line-height: 1.95; color: #74654f; padding: 1px 0; white-space: pre-wrap; overflow-wrap: anywhere; outline: none !important; }
.block-text:empty:before { content: attr(data-placeholder); color: #c0b39b; pointer-events: none; font-size: 13px; }
.block-heading1 { margin-top: 29px; margin-bottom: 13px; }
.block-heading2 { margin-top: 25px; margin-bottom: 10px; }
.block-heading3 { margin-top: 20px; margin-bottom: 8px; }
.block-heading1 .block-text { font-size: 27px; font-weight: 650; letter-spacing: -.06em; color: #65553d; }
.block-heading2 .block-text { font-size: 22px; font-weight: 650; letter-spacing: -.05em; color: #756044; }
.block-heading3 .block-text { font-size: 18px; font-weight: 650; color: #756044; }
.block-todo.checked .block-text { text-decoration: line-through; color: #b4a58d; }
.block-quote { border-left: 3px solid #c1a782; padding-left: 17px; margin: 18px 0; }
.block-quote .block-text { color: #a08765; }
.block-code { background: #f4f1e9; border-radius: 5px; padding: 18px 20px; margin: 18px 0; }
.block-code .block-text { font: 12px/1.9 Consolas, monospace; }
.block-divider { border: 0; border-top: 1px solid var(--line); width: 100%; margin: 25px 0; }
.block-menu { position: absolute; left: -30px; top: 100%; width: 280px; max-height: 370px; overflow: auto; padding: 7px; background: #fff; border: 1px solid #e4ded2; box-shadow: 0 12px 40px #55402716; border-radius: 7px; z-index: 15; animation: modal-in .14s ease-out; }
.block-type-option { display: flex; gap: 12px; align-items: center; padding: 8px; width: 100%; text-align: left; border-radius: 4px; }
.block-type-option:hover { background: #f6f2e9; }
.block-type-option > span { width: 29px; height: 29px; border: 1px solid #e5dfd3; border-radius: 4px; display: grid; place-items: center; font-size: 14px; color: #8f795b; }
.block-type-option strong { display: block; font-size: 11px; font-weight: 600; }
.block-type-option small { font-size: 9px; color: #a59985; }
.block-menu-actions { display: flex; justify-content: space-around; border-top: 1px solid var(--line); padding-top: 5px; }
.append-block { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #b6a88e; margin-top: 20px; padding: 10px 0; }
.append-block .icon { width: 14px; height: 14px; }
.child-documents { padding-top: 30px; margin-top: 35px; border-top: 1px solid var(--line); }
.child-documents h3 { font-size: 11px; color: #a08a6a; margin-bottom: 10px; }
.child-documents a { display: flex; gap: 10px; font-size: 12px; padding: 10px 0; color: #8c7656; }
.child-documents .icon { width: 14px; height: 14px; margin-left: auto; }
.document-foot { color: #baab8e; font-size: 9px; border-top: 1px solid var(--line); padding-top: 19px; margin-top: 55px; }
.document-foot span { margin: 0 8px; }
.save-error { display: flex; gap: 15px; align-items: center; flex-wrap: wrap; padding: 14px; font-size: 11px; background: #fcf0e7; color: #a66843; margin-top: 20px; }
.calendar-layout { display: grid; grid-template-columns: minmax(0, 1fr) 218px; gap: 35px; }
.calendar-main { min-width: 0; }
/* Wardrobe keeps photos as the working surface, with the existing warm palette. */
.wardrobe-heading-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.wardrobe-topline, .wardrobe-weather, .wardrobe-toolbar, .outfit-result-heading, .outfit-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.wardrobe-topline { margin: 8px 0 25px; }
.wardrobe-ai-status { color: var(--muted); font-size: 11px; padding: 9px 0; }
.wardrobe-weather { padding: 24px 0 27px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.wardrobe-weather h2 { font-size: 32px; letter-spacing: -1px; color: #82674e; font-weight: 500; margin: 7px 0; }
.wardrobe-weather h2 span { color: #b4a58f; }
.wardrobe-weather p { font-size: 12px; color: var(--muted); line-height: 1.7; }
.wardrobe-weather > div:last-child { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex-shrink: 0; }
.wardrobe-weather a { font-size: 9px; color: var(--muted); }
.wardrobe-toolbar { flex-wrap: wrap; margin-bottom: 25px; }
.wardrobe-toolbar .list-search { flex: 1; min-width: 160px; }
.wardrobe-toolbar select { padding: 9px 26px 9px 10px; font-size: 11px; color: #8f7b5d; border: 1px solid var(--line); border-radius: 4px; background: transparent; max-width: 100%; }
.wardrobe-toolbar > span { font-size: 11px; color: var(--muted); }
.garment-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px 20px; }
.garment { min-width: 0; text-align: left; padding: 0; display: block; }
.garment-photo { width: 100%; height: auto; aspect-ratio: 4/5; display: block; background: #f2efe8; border-radius: 3px; transition: transform .2s ease, box-shadow .2s ease; }
.garment:hover .garment-photo { transform: translateY(-4px); box-shadow: 0 8px 20px #42301a0c; }
.garment:focus-visible { outline: 2px solid #ae7951; outline-offset: 5px; }
.garment-meta { display: block; margin-top: 14px; color: #a28b6e; font-size: 10px; }
.garment strong { display: block; font-size: 13px; font-weight: 550; color: #766047; margin: 6px 0; overflow-wrap: anywhere; }
.garment small { display: block; font-size: 10px; color: #a99981; line-height: 1.7; overflow-wrap: anywhere; }
.garment-placeholder { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; color: #b7a68c; }
.garment-placeholder .icon { width: 55px; height: 55px; stroke-width: .8; }
.garment-placeholder span { font-size: 11px; }
.wardrobe-empty { padding: 42px 0 70px; text-align: center; }
.wardrobe-empty-hanger { display: grid; place-items: center; width: 145px; height: 125px; margin: 0 auto 20px; color: #b79c7d; }
.wardrobe-empty-hanger .icon { width: 100px; height: 100px; stroke-width: .7; }
.wardrobe-empty h2 { margin: 14px 0; font-size: 29px; color: #806b51; line-height: 1.6; font-weight: 450; }
.wardrobe-empty > p:not(.eyebrow) { color: #ab987b; font-size: 12px; line-height: 1.9; margin-bottom: 23px; }
.wardrobe-empty .text-button { display: block; margin: 15px auto 0; }
.wardrobe-more { display: block; margin: 28px auto; }
.wardrobe-help { display: block; font-size: 11px; line-height: 1.9; color: #a28e70; margin: 15px 0; }
.wardrobe-dropzone { display: flex; align-items: center; flex-direction: column; gap: 12px; border: 1px dashed #d6c7ae; padding: 25px 16px; margin: 20px 0; color: #9d815e; background: #faf6ed; border-radius: 5px; cursor: pointer; }
.wardrobe-dropzone strong { font-size: 13px; font-weight: 500; }
.wardrobe-dropzone span { font-size: 10px; color: #ad9d83; }
.wardrobe-dropzone input { font-size: 11px; max-width: 100%; color: #9d815e; }
.wardrobe-editor-photo { width: 160px; margin: 20px auto; }
.wardrobe-checks { display: flex; flex-wrap: wrap; gap: 10px 16px; padding: 7px 0; }
.wardrobe-checks label, .wardrobe-check { color: #937e5f; font-size: 11px; display: flex; align-items: center; gap: 6px; }
.wardrobe-check input, .wardrobe-checks input { accent-color: #ae7951; }
.modal.wardrobe-review-modal { width: 1000px; }
.wardrobe-review-list { margin-top: 20px; max-height: 58vh; overflow: auto; }
.wardrobe-review-row { display: grid; grid-template-columns: 100px 110px minmax(0,1fr); gap: 20px; padding: 23px 0; border-top: 1px solid var(--line); align-items: start; }
.wardrobe-review-row input:not([type="checkbox"]), .wardrobe-review-row select { display: block; width: 100%; min-width: 0; font-size: 12px; padding: 9px; color: #806b51; border: 1px solid #e3dac9; border-radius: 3px; background: #fdfbf6; margin-bottom: 9px; }
.wardrobe-review-row p, .wardrobe-review-row small { font-size: 11px; color: #a48e6e; line-height: 1.8; }
.wardrobe-login-code { padding: 22px 0; font-size: 30px; font-weight: 600; color: #956f4b; letter-spacing: 4px; }
.wardrobe-location-result { display: block; padding: 15px 0; width: 100%; text-align: left; border-bottom: 1px solid var(--line); font-size: 12px; color: #937d5c; }
.wardrobe-jobs { margin: 0 0 28px; border-bottom: 1px solid var(--line); padding-bottom: 15px; }
.wardrobe-jobs summary { cursor: pointer; font-size: 11px; color: #9b8465; }
.wardrobe-jobs > div { display: flex; align-items: center; gap: 16px; padding: 13px 0; font-size: 11px; border-top: 1px solid #f0e8da; margin-top: 8px; }
.wardrobe-jobs p { flex: 1; color: var(--muted); line-height: 1.8; }
.wardrobe-spinner { width: 12px; height: 12px; display: inline-block; border: 1px solid #ded1bb; border-top-color: #aa7b51; border-radius: 50%; animation: wardrobe-spin 1s linear infinite; vertical-align: middle; margin-right: 5px; }
@keyframes wardrobe-spin { to { transform: rotate(360deg); } }
.outfit-workspace { display: grid; grid-template-columns: 290px minmax(0,1fr); gap: 38px; align-items: start; }
.outfit-inputs { position: sticky; top: 30px; }
.outfit-inputs > h2 { font-size: 16px; color: #8e7354; margin-bottom: 22px; }
.outfit-inputs > p { font-size: 11px; color: var(--muted); margin: 10px 0 25px; line-height: 1.8; }
.outfit-inputs .form-grid { gap: 10px; }
.outfit-inputs .field input, .outfit-inputs .field select { min-width: 0; max-width: 100%; }
.manual-weather { margin-bottom: 23px; font-size: 11px; color: #a28a68; }
.manual-weather summary { cursor: pointer; margin-bottom: 15px; }
.manual-weather .wardrobe-check { margin-bottom: 15px; }
.outfit-empty { padding: 65px 10px; text-align: center; color: #b4a083; }
.outfit-empty .icon { width: 70px; height: 70px; stroke-width: .7; margin-bottom: 25px; }
.outfit-empty h3 { font-size: 17px; font-weight: 500; color: #967d5b; }
.outfit-empty p { font-size: 12px; line-height: 1.9; margin-top: 12px; }
.outfit-result { padding: 0 0 35px; margin-bottom: 35px; border-bottom: 1px solid var(--line); min-width: 0; }
.outfit-result-heading { margin-bottom: 20px; }
.outfit-result-heading small { font-size: 10px; color: #ad9676; }
.outfit-result-heading h2 { font-size: 20px; font-weight: 500; color: #866b4b; margin-top: 8px; overflow-wrap: anywhere; }
.outfit-pieces { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin: 20px 0; }
.outfit-pieces > div { min-width: 0; }
.outfit-pieces small { display: block; font-size: 10px; color: #9b8463; line-height: 1.8; margin-top: 9px; overflow-wrap: anywhere; }
.outfit-result > p { font-size: 12px; line-height: 1.9; color: #9a8565; white-space: pre-line; overflow-wrap: anywhere; }
.outfit-result .outfit-weather-note { margin-top: 12px; color: #ad9b7e; }
.outfit-result .outfit-tips { margin: 10px 0 20px; }
.outfit-actions { justify-content: flex-start; flex-wrap: wrap; gap: 15px; }
.outfit-generated { display: block; margin: 20px 0; }
.outfit-generated img { max-width: 100%; width: 100%; height: auto; max-height: 650px; object-fit: contain; background: #f2efe8; }
.outfit-generated span { display: block; font-size: 9px; color: #b39e7f; margin-top: 9px; }
@media (max-width: 1200px) { .garment-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } .outfit-workspace { grid-template-columns: 250px minmax(0,1fr); gap: 25px; } }
@media (max-width: 960px) { .outfit-workspace { grid-template-columns: 1fr; } .outfit-inputs { position: static; max-width: 500px; } }
@media (max-width: 600px) { .garment-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 13px; } .wardrobe-toolbar { gap: 9px; } .wardrobe-toolbar .list-search { flex-basis: 100%; } .wardrobe-weather h2 { font-size: 27px; } .wardrobe-weather p { font-size: 10px; } .wardrobe-empty h2 { font-size: 25px; } .wardrobe-review-row { grid-template-columns: 75px minmax(0,1fr); gap: 12px; } .wardrobe-review-row > .wardrobe-check { grid-column: 1/-1; } .wardrobe-jobs > div { flex-wrap: wrap; } .wardrobe-jobs p { min-width: 110px; } .wardrobe-topline { gap: 8px; } .outfit-pieces { gap: 9px; } .outfit-result-heading h2 { font-size: 18px; } }
@media (prefers-reduced-motion: reduce) { .wardrobe-spinner { animation: none; } .garment-photo { transition: none; } }
.calendar-sources { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 23px; }
.calendar-sources .tabs { flex-wrap: wrap; }
.calendar-event.notion { background: #e6ebe2; color: #5d745c; }
.calendar-event.gmail { background: #e5eaf2; color: #5b708d; }
.event-source { display: block; margin-top: 7px; color: #8b826f; font-size: 10px; }
.calendar-help { font-size: 12px; line-height: 1.8; color: #9a8a71; }
.mail-candidates { margin-top: 40px; padding-top: 27px; border-top: 1px solid var(--line); }
.mail-candidates h2 span { color: #a99b83; font-size: 12px; margin-left: 7px; }
.mail-candidate { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.mail-candidate > div:first-child { min-width: 0; }
.mail-candidate a { font-size: 14px; color: #7c6748; overflow-wrap: anywhere; }
.candidate-date { font-size: 12px; color: #9b764d; margin-top: 8px; }
.mail-candidate blockquote, .candidate-evidence { margin: 12px 0; padding: 9px 14px; border-left: 2px solid #d9ccb5; color: #8d806a; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; white-space: pre-wrap; }
.mail-candidate small { font-size: 10px; color: #a99b83; }
.candidate-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.candidate-pagination { display: flex; justify-content: flex-end; gap: 15px; align-items: center; margin-top: 20px; font-size: 12px; color: #9a8a71; }
.candidate-empty { padding: 24px 0; font-size: 13px; color: #a99b83; }
.event-origin { display: inline-block; font-size: 12px; color: #8b7151; margin-bottom: 17px; }
@media (max-width: 600px) { .mail-candidate { flex-direction: column; gap: 12px; } .candidate-actions { justify-content: flex-end; } .calendar-sources .tab { padding-left: 9px; padding-right: 9px; font-size: 11px; } }
.calendar-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 23px; }
.calendar-toolbar h2 { font-size: 18px; font-weight: 550; color: #7c6748; }
.calendar-toolbar > div { display: flex; align-items: center; gap: 7px; }
.month-arrow { font-size: 22px; }
.calendar-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); color: #ad9e84; font-size: 10px; text-align: center; padding-bottom: 13px; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.calendar-cell { min-height: 106px; padding: 9px 5px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.calendar-cell.outside { background: #faf8f3; }
.calendar-cell.outside .calendar-date { color: #ccc1aa; }
.calendar-cell.selected { background: #fcf5ea; }
.calendar-date { width: 25px; height: 25px; display: grid; place-items: center; padding: 0; font-size: 10px; color: #9c896a; border-radius: 50%; margin: 0 0 7px 3px; }
.calendar-date.today { background: #ae7951; color: #fff; }
.calendar-event { display: block; width: 100%; padding: 4px 5px; margin-top: 3px; border-radius: 3px; text-align: left; color: #9b764d; background: #f3e5d3; font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.calendar-event span { margin-right: 4px; font-size: 8px; }
.calendar-more { color: #b39b78; font-size: 9px; padding: 2px 6px; }
.calendar-foot { display: flex; justify-content: space-between; color: #b5a98f; font-size: 9px; margin-top: 15px; }
.day-agenda { padding-top: 8px; }
.day-empty { color: #b1a183; font-size: 11px; line-height: 2; padding-top: 24px; }
.day-event { display: block; width: 100%; text-align: left; padding: 20px 0; border-bottom: 1px solid var(--line); }
.day-event > span { font-size: 10px; color: #a2845d; }
.day-event strong { font-size: 12px; display: block; margin-top: 7px; color: #8b7151; }
.day-event p { font-size: 10px; color: #b09c7a; margin-top: 6px; }
.connection-policy { display: flex; align-items: center; gap: 16px; padding: 23px; background: #f3f0e7; border-radius: 5px; }
.connection-policy > .icon { width: 25px; height: 25px; color: #af9671; }
.connection-policy strong { font-size: 13px; font-weight: 550; color: #88704c; }
.connection-policy p { font-size: 10px; color: #ac9776; margin-top: 5px; }
.policy-tag { margin-left: auto; font-size: 8px; letter-spacing: 1px; color: #b09b78; }
.connection-list { margin-top: 22px; }
.connection-row { display: flex; align-items: center; gap: 19px; padding: 29px 0; border-bottom: 1px solid var(--line); }
.connection-logo { width: 42px; height: 42px; border: 1px solid #ded5c3; background: #fff; border-radius: 8px; display: grid; place-items: center; font: bold 25px Georgia, serif; color: #796345; flex-shrink: 0; }
.connection-copy { flex: 1; min-width: 0; }
.connection-copy > div { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.connection-copy h2 { font-size: 14px; font-weight: 600; color: #776043; }
.connection-state { font-size: 9px; background: #f3eee2; color: #ae9673; padding: 2px 6px; border-radius: 3px; }
.connection-state.error { color: #b16c4b; background: #f8e8dd; }
.connection-copy p { font-size: 10px; color: #a38a65; margin-top: 6px; }
.connection-copy small { font-size: 9px; color: #b5a183; display: block; margin-top: 5px; }
.connection-actions { display: flex; gap: 8px; }
.connection-help { padding-top: 38px; max-width: 730px; }
.connection-help h2 { font-size: 15px; font-weight: 550; color: #8e734c; margin-bottom: 19px; }
.connection-help p { font-size: 11px; color: #a28962; padding: 7px 0; }
.connection-help p span { font: 12px Georgia, serif; color: #c7b38e; margin-right: 16px; }
.connection-help p strong { font-weight: 600; }
.connection-help .help-note { font-size: 10px; color: #b49d77; padding-top: 20px; }
.backup-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 29px; margin-top: 35px; border-top: 1px solid var(--line); }
.backup-row h3 { font-size: 12px; color: #90734c; }
.backup-row p { font-size: 10px; color: #b09a73; margin-top: 5px; }
.trash-list > div { display: flex; gap: 12px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.trash-list strong { flex: 1; font-size: 13px; font-weight: 550; }
.modal-open { overflow: hidden; }
.modal-backdrop { position: fixed; inset: 0; background: #302a213e; backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 25px; z-index: 50; animation: fade-in .15s; }
.modal { position: relative; padding: 33px; background: #fdfcf8; border: 1px solid #e9dfcc; border-radius: 10px; width: 540px; max-width: 100%; max-height: calc(100dvh - 50px); overflow: auto; box-shadow: 0 25px 80px #30241622; animation: modal-in .17s ease-out; }
.modal-close { position: absolute; right: 12px; top: 12px; }
.modal h2 { font-size: 23px; font-weight: 600; color: #746040; padding-right: 17px; }
.modal-description { font-size: 11px; color: #a08b6a; line-height: 1.9; margin-top: 13px; margin-bottom: 23px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-top: 19px; font-size: 11px; color: #957a52; }
.field input, .field textarea, .field select { width: 100%; min-width: 0; border: 1px solid #e4dac5; background: #fff; border-radius: 5px; padding: 10px 11px; font-size: 12px; color: #84673e; }
.field textarea { resize: vertical; }
.field small { font-size: 9px; color: #b09974; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.modal-actions { display: flex; align-items: center; justify-content: flex-end; gap: 13px; margin-top: 27px; }
.modal-actions > :first-child:not(:last-child) { margin-right: auto; }
.modal-hint { font-size: 9px; color: #b29973; max-width: 240px; }
.modal-error, .form-error { font-size: 11px; color: #b16943; margin-top: 17px; }
.modal-error:empty, .form-error:empty { display: none; }
.visibility-options { margin-top: 23px; }
.visibility-options > label { display: flex; align-items: center; gap: 13px; padding: 17px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.visibility-options input { accent-color: var(--accent); }
.visibility-options .icon { color: #ab9067; }
.visibility-options strong { display: block; font-size: 12px; font-weight: 550; color: #8a6d42; }
.visibility-options p { font-size: 10px; color: #b39a71; margin-top: 3px; }
.share-link { display: flex; align-items: center; gap: 8px; margin-top: 20px; }
.share-link input { border: 1px solid #e8ddc7; background: #f6f1e7; border-radius: 5px; padding: 10px; width: 100%; min-width: 0; font-size: 10px; color: #ab8752; }
.check-field { display: flex; gap: 10px; align-items: center; margin-top: 22px; font-size: 11px; color: #9c7f53; }
.check-field input { accent-color: var(--accent); }
.connector-server-note { font-size: 10px; color: #b3986e; background: #f5f0e5; padding: 15px; line-height: 2.1; margin-top: 20px; border-radius: 5px; overflow-wrap: anywhere; }
.connector-server-note code { color: #a9824a; }
.connector-server-note strong { font-weight: 550; }
.modal-divider { height: 1px; background: var(--line); margin: 25px 0; }
.search-modal { width: 620px; padding: 22px; }
.command-search { display: flex; align-items: center; gap: 13px; padding: 0 25px 17px 0; border-bottom: 1px solid var(--line); }
.command-search input { border: 0; background: none; width: 100%; padding: 7px 0; font-size: 13px; }
.command-search .icon { color: #af9367; }
.search-result { display: flex; align-items: center; gap: 13px; padding: 15px 5px; border-bottom: 1px solid var(--line); }
.search-result > span { font-size: 20px; }
.search-result > div { min-width: 0; flex: 1; }
.search-result strong { display: block; font-size: 12px; color: #8e7042; }
.search-result p { color: #b2976e; font-size: 10px; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-result small { font-size: 9px; color: #bca57f; }
.search-result > .icon { width: 14px; height: 14px; color: #ccb490; }
.search-footer { display: flex; justify-content: space-between; padding-top: 16px; font-size: 9px; color: #bca279; }
.mobile-navigation { display: flex; flex-direction: column; margin-top: 20px; }
.mobile-navigation a { display: flex; gap: 13px; padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 13px; color: #9f7e4c; }
#toast { position: fixed; bottom: 28px; left: calc(50% + 122px); transform: translate(-50%, 8px); max-width: calc(100vw - 35px); padding: 11px 18px; background: #645441; color: #fff; box-shadow: 0 6px 25px #4e3b2420; border-radius: 6px; font-size: 11px; opacity: 0; pointer-events: none; z-index: 80; transition: opacity .17s, transform .17s; }
#toast.visible { opacity: 1; transform: translate(-50%, 0); }
.auth-layout { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; max-width: none; min-height: 100dvh; padding: 32px 24px; background: var(--sidebar); }
.auth-brand { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 40px; }
.auth-brand img { display: block; }
.auth-brand h1 { font-size: 23px; font-weight: 650; letter-spacing: -.05em; }
.auth-form-wrap { width: 100%; max-width: 420px; min-width: 0; padding: 38px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; }
.auth-form-wrap form { width: 100%; min-width: 0; }
.auth-form-wrap h2 { color: #89704e; font-size: 15px; font-weight: 550; margin-bottom: 24px; }
.auth-form-wrap form > p:not(.form-error) { color: #b29a74; font-size: 11px; line-height: 1.9; margin: 12px 0 30px; }
.auth-submit { width: 100%; margin-top: 27px; justify-content: space-between; padding: 12px 15px; }
.auth-form-wrap small { display: block; text-align: center; font-size: 9px; color: #c1ab86; margin-top: 19px; }
.markdown-body { color: #837052; font-size: 15px; line-height: 1.95; overflow-wrap: anywhere; }
.markdown-body h1 { font-size: 28px; margin: 30px 0 15px; }
.markdown-body h2 { font-size: 23px; margin: 27px 0 12px; }
.markdown-body h3 { font-size: 18px; margin: 23px 0 10px; }
.markdown-body p { margin: 13px 0; }
.markdown-body ul, .markdown-body ol { padding-left: 24px; margin: 15px 0; }
.markdown-body li { margin: 5px 0; }
.markdown-task { list-style: none; margin-left: -23px !important; display: flex; align-items: baseline; gap: 10px; }
.markdown-task > span { color: #b09870; }
.markdown-body blockquote { border-left: 3px solid #c4ab81; padding-left: 18px; margin: 25px 0; color: #a18964; }
.markdown-body pre { overflow-x: auto; border-radius: 5px; padding: 20px; background: #f3eee3; font-size: 12px; line-height: 1.9; }
.markdown-body code { font-family: Consolas, monospace; background: #f3eee3; padding: 2px 4px; color: #a5804d; font-size: .88em; }
.markdown-body pre code { padding: 0; }
.markdown-body a { text-decoration: underline; text-underline-offset: 3px; color: #ac8050; }
.markdown-body hr { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }
.markdown-table { overflow: auto; margin: 20px 0; }
.markdown-table table { border-collapse: collapse; min-width: 100%; font-size: 12px; }
.markdown-table th, .markdown-table td { border: 1px solid var(--line); padding: 10px 15px; text-align: left; }
.public-page { background: #faf8f2; }
.public-header { display: flex; align-items: center; justify-content: space-between; max-width: 1020px; margin: auto; padding: 34px 45px; border-bottom: 1px solid #e9e0ce; }
.public-brand { display: flex; align-items: center; gap: 18px; font-size: 13px; color: #96774d; }
.public-header > a:last-child { font-size: 11px; color: #b1966f; }
.public-main { max-width: 930px; padding: 65px 50px; }
.public-intro { margin-bottom: 70px; }
.public-intro h1 { font-size: 74px; font-weight: 400; color: #8e7044; letter-spacing: -.09em; margin-top: 17px; }
.public-intro > p:last-child { font-size: 13px; color: #b1946b; margin-top: 20px; }
.public-post { display: block; padding: 35px 0; border-top: 1px solid #e7ddc8; }
.public-post-meta { display: flex; justify-content: space-between; font-size: 10px; color: #b99b6d; }
.public-post h2 { font-size: 26px; color: #98794b; font-weight: 550; margin-top: 15px; }
.public-post p { font-size: 12px; color: #b3976e; line-height: 2; margin: 15px 0 20px; }
.public-read { font-size: 10px; color: #ad8650; }
.public-article { max-width: 760px; margin: auto; }
.public-article > h1 { font-size: 40px; font-weight: 600; color: #8c6b3b; line-height: 1.55; margin: 20px 0; }
.article-meta { font-size: 11px; color: #b29465; margin-bottom: 45px; padding-bottom: 30px; border-bottom: 1px solid #e6dac2; }
.article-meta span { margin: 0 12px; }
.public-footer { max-width: 930px; padding: 25px 50px 45px; margin: 0 auto; border-top: 1px solid #e7dec9; font-size: 10px; color: #bea87f; display: flex; justify-content: space-between; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(7px) scale(.995); } to { opacity: 1; transform: translateY(0) scale(1); } }
.page-heading, .editor-paper { animation: modal-in .25s ease-out; }
@media (min-width: 1650px) { main { padding-top: 59px; } .library-layout { gap: 65px; grid-template-columns: minmax(0, 1fr) 245px; } }
@media (max-width: 1200px) { .sidebar { width: 218px; padding-left: 13px; padding-right: 13px; } .workspace { margin-left: 218px; } main { padding: 35px 30px; } .topbar { padding: 0 30px; } .library-layout { gap: 27px; grid-template-columns: minmax(0, 1fr) 195px; } .summary-mark { display: none; } .library-summary { gap: 21px; } .calendar-layout { grid-template-columns: minmax(0, 1fr) 185px; gap: 25px; } .document-row, .document-list-heading { grid-template-columns: minmax(0, 1fr) 70px 55px 25px; gap: 9px; } .editor-paper { padding: 0 35px; } }
@media (max-width: 960px) { .sidebar { width: 205px; } .workspace { margin-left: 205px; } .library-layout { display: block; } .library-aside { display: none; } .page-heading h1 { font-size: 30px; } .calendar-layout { display: flex; flex-direction: column; gap: 25px; } .day-agenda { max-width: 400px; } .connection-actions { flex-direction: column; } .editor-actions { gap: 5px; } .editor-paper { padding: 0 25px; } .block-controls { padding-right: 1px; } .connection-policy p { max-width: 400px; } }
@media (max-width: 720px) {
  .sidebar { display: none; } .workspace { margin-left: 0; } .mobile-menu { display: inline-flex; }
  .topbar { padding: 0 20px; height: 59px; gap: 13px; } .breadcrumb { margin-right: auto; gap: 10px; font-size: 10px; } .topbar-right { gap: 12px; } .topbar-date { display: none; }
  main { padding: 29px 20px 35px; } .page-heading { margin-bottom: 26px; gap: 13px; align-items: center; } .page-heading > .button { padding: 8px 10px; font-size: 10px; }
  .page-heading h1 { font-size: 29px; } .page-description { font-size: 10px; max-width: 220px; line-height: 1.9; } .eyebrow { font-size: 8px; }
  .library-summary { padding: 23px; min-height: 124px; gap: 18px; } .library-summary strong { font-size: 36px; } .library-summary strong small { margin-left: 7px; font-size: 10px; }
  .library-summary p { font-size: 10px; } .summary-mark { display: none; } .list-toolbar { margin-top: 24px; }
  .list-search input { width: 123px; font-size: 9px; } .tabs { gap: 19px; }
  .document-list-heading { display: none; } .document-row { position: relative; grid-template-columns: minmax(0, 1fr) 55px 23px; gap: 9px; padding: 23px 0; }
  .document-row-main { gap: 10px; padding-left: 0; } .document-emoji { font-size: 21px; } .document-row-main strong { font-size: 12px; } .document-row-main p { font-size: 9px; }
  .document-row time { display: none; } .visibility { font-size: 9px; gap: 3px; } .visibility .icon { width: 10px; height: 10px; } .document-tags span { font-size: 8px; }
  .icon-button { min-height: 35px; min-width: 28px; } .document-row .icon-button { padding: 3px; } .document-row .icon-button .icon { width: 15px; height: 15px; }
  .editor-topline { flex-direction: column; align-items: stretch; margin-top: -9px; padding-bottom: 15px; gap: 15px; }
  .editor-actions { justify-content: flex-end; gap: 9px; } .save-status { margin-right: auto; font-size: 9px; } .editor-actions .button { font-size: 10px; padding: 7px 12px; }
  .editor-paper { margin-top: 32px; padding: 0 5px 0 25px; } .document-big-emoji { font-size: 31px; } .editor-document-meta { gap: 12px; margin-bottom: 15px; }
  .document-title { font-size: 29px; } .editor-properties { margin: 18px 0 25px; } .editor-properties input, .editor-properties select { width: 220px; }
  .editor-toolbar > span { font-size: 8px; } .editor-toolbar b { margin: 0 2px; } .editor-toolbar { margin-top: 24px; margin-bottom: 26px; }
  .block-text { font-size: 14px; } .block-heading1 .block-text { font-size: 23px; } .block-heading2 .block-text { font-size: 20px; } .block-heading3 .block-text { font-size: 17px; }
  .block-controls { flex-direction: column; height: auto; width: 25px; padding-right: 1px; opacity: .7; } .block-control { width: 23px; min-height: 18px; } .block-control .icon { width: 12px; height: 12px; }
  .block-menu { width: 255px; left: -23px; max-width: calc(100vw - 48px); } .block-code { padding: 15px; }
  .markdown-body { font-size: 14px; } .markdown-body h2 { font-size: 21px; } .document-foot { line-height: 2; }
  .calendar-cell { min-height: 79px; padding: 6px 2px; } .calendar-date { font-size: 9px; margin-left: 1px; width: 21px; height: 21px; margin-bottom: 4px; }
  .calendar-event { font-size: 8px; padding: 3px 2px; } .calendar-event span { display: none; } .calendar-more { font-size: 8px; padding: 1px 2px; }
  .calendar-toolbar { margin-bottom: 20px; } .calendar-toolbar h2 { font-size: 17px; } .calendar-toolbar .button { font-size: 10px; padding: 5px 10px; min-height: 30px; }
  .calendar-foot { font-size: 8px; } .day-agenda { padding-top: 0; } .day-empty { font-size: 10px; }
  .connection-policy { padding: 20px 17px; gap: 12px; align-items: flex-start; } .connection-policy strong { font-size: 12px; } .connection-policy p { font-size: 9px; line-height: 1.9; }
  .policy-tag { display: none; } .connection-row { flex-wrap: wrap; padding: 24px 0; gap: 13px; } .connection-logo { width: 35px; height: 35px; font-size: 23px; }
  .connection-copy h2 { font-size: 13px; } .connection-copy > div { gap: 8px; } .connection-copy p, .connection-copy small { font-size: 9px; }
  .connection-actions { flex-direction: row; width: 100%; padding-left: 48px; } .connection-actions .button { font-size: 10px; min-height: 33px; padding: 7px 12px; }
  .connection-help { padding-top: 30px; } .connection-help p { font-size: 10px; line-height: 2; } .connection-help p span { margin-right: 9px; }
  .backup-row { flex-direction: column; align-items: flex-start; gap: 16px; } .backup-row p { line-height: 1.9; }
  .publishing-guide { gap: 25px; padding-top: 12px; } .publishing-guide strong { font-size: 11px; } .publishing-guide span { font-size: 8px; }
  .inline-notice { font-size: 10px; align-items: flex-start; line-height: 1.9; padding: 12px; } .inline-notice .icon { margin-top: 3px; }
  .modal-backdrop { padding: 13px; } .modal { padding: 28px 20px 23px; max-height: calc(100dvh - 26px); } .modal h2 { font-size: 20px; line-height: 1.5; }
  .modal-description { font-size: 10px; } .modal-actions { gap: 9px; } .modal-hint { max-width: 170px; font-size: 8px; line-height: 1.8; }
  .field { font-size: 10px; } .field input, .field textarea, .field select { font-size: 11px; padding: 10px; } .form-grid { gap: 10px; }
  .visibility-options p { font-size: 9px; } .search-result small { display: none; } .search-footer { font-size: 8px; }
  #toast { left: 50%; bottom: 22px; font-size: 10px; }
  .auth-form-wrap { padding: 30px 24px; }
  .public-header { padding: 25px; } .public-brand { gap: 13px; font-size: 11px; } .public-header > a:last-child { font-size: 10px; }
  .public-main { padding: 43px 25px; } .public-intro { margin-bottom: 45px; } .public-intro h1 { font-size: 59px; }
  .public-post { padding: 28px 0; } .public-post h2 { font-size: 23px; } .public-post p { font-size: 11px; }
  .public-article > h1 { font-size: 30px; } .article-meta { margin-bottom: 32px; font-size: 10px; } .public-footer { padding: 24px 25px 35px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) { *, *:before, *:after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
/* Body copy stays legible; warm colors are reserved for secondary context. */
.document-row-main p, .page-description, .workspace-note, .sidebar-empty, .empty-state p, .day-empty, .modal-description, .field small, .modal-hint, .connector-server-note, .backup-row p, .connection-help p, .connection-copy p, .connection-copy small { color: #84735b; }
.document-row-main p { font-size: 11px; }
.document-row time, .visibility, .aside-date, .workspace-note, .connection-copy small { color: #8f7d60; }
.block-text, .markdown-body { color: #675844; }
.auth-form-wrap form > p:not(.form-error), .auth-form-wrap small, .auth-story > div > p:not(.eyebrow) { color: #8d7654; }
.public-post p, .public-post-meta, .article-meta { color: #967c55; }

.sidebar nav + .nav-caption { padding-top: 23px; }
.document-toolbar { flex-wrap: wrap; }
.document-toolbar .tabs { flex-wrap: wrap; gap: 22px; }
.document-toolbar .list-search { flex: 1; min-width: 150px; }
.library-summary p a { color: var(--accent); }
.document-publishing-note { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #84735b; font-size: 11px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.document-publishing-note a { color: var(--accent); }
.database-workspace { min-width: 0; }
.database-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.database-tab { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line); padding: 10px 14px; border-radius: 5px; font-size: 12px; color: #796f60; background: var(--paper); }
.database-tab .icon { width: 15px; height: 15px; }
.database-tab small { color: #817568; font-size: 10px; font-variant-numeric: tabular-nums; }
.database-tab.active { background: var(--accent-soft); border-color: #d9bea9; color: #8c5136; }
.database-tab:hover { border-color: #bca68e; }
.database-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 22px 0; }
.database-search { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 180px; }
.database-search .icon { width: 17px; height: 17px; color: #8d7e6b; }
.database-search input { width: 100%; min-width: 0; border: 0; background: transparent; padding: 9px 0; font-size: 12px; }
.database-filters { display: flex; flex-wrap: wrap; gap: 9px; }
.database-filters select, .database-limit select { max-width: 210px; min-width: 0; border: 1px solid var(--line); background: var(--paper); padding: 8px 11px; border-radius: 4px; font-size: 11px; }
.database-table-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 13px; font-size: 11px; color: #84735b; }
.database-table-heading p { font-weight: 550; color: #71634f; }
.database-table-heading > span { font-size: 10px; }
.database-scroll { width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--line); border-radius: 5px; }
.database-table { border-collapse: collapse; width: 100%; min-width: 940px; table-layout: fixed; text-align: left; }
.database-table th { background: #f6f4ee; padding: 12px 15px; border-bottom: 1px solid var(--line); color: #746a5a; font-size: 10px; font-weight: 500; }
.database-table th:nth-child(1) { width: 30%; }
.database-table th:nth-child(2) { width: 16%; }
.database-table th:nth-child(3) { width: 7%; }
.database-table th:nth-child(4) { width: 19%; }
.database-table th:nth-child(5), .database-table th:nth-child(6) { width: 14%; }
.database-sort { display: flex; align-items: center; justify-content: space-between; gap: 9px; width: 100%; text-align: left; font-size: inherit; }
.database-sort span { font-size: 12px; color: #9a8973; }
.database-sort:hover { color: var(--accent); }
.database-row { cursor: pointer; }
.database-row td { padding: 17px 15px; border-bottom: 1px solid var(--line); font-size: 11px; color: #786e5e; }
.database-row:last-child td { border-bottom: 0; }
.database-row:hover, .database-row:focus-within { background: #faf7f0; }
.database-title { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 550; color: #65543f; }
.database-title:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.database-excerpt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #8a7b68; font-size: 10px; margin-top: 5px; }
.database-provider { display: inline-block; font-size: 9px; padding: 2px 6px; border-radius: 3px; background: #eeeae1; color: #75634b; }
.database-provider.notion { background: #e9eee5; color: #5d705a; }
.database-provider.gmail { background: #ebedf3; color: #5d6c83; }
.database-provider.json { background: #f1e9de; color: #8a6847; }
.database-connection { display: block; margin-top: 5px; font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.database-author { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.database-kind, .database-table time { font-size: 10px; white-space: nowrap; }
.database-table time { font-variant-numeric: tabular-nums; }
.database-private { display: inline-block; margin-top: 5px; font-size: 9px; color: #8b6f4d; }
.database-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding-top: 21px; }
.database-limit { display: flex; align-items: center; gap: 10px; font-size: 10px; color: #84735b; }
.database-pagination { display: flex; align-items: center; gap: 22px; font-size: 11px; color: #84735b; }
.database-pagination > div { display: flex; gap: 7px; }
.source-properties { margin-top: 18px; font-size: 11px; }
.source-properties > div { padding: 11px 0; border-bottom: 1px solid var(--line); }
.source-properties dt { color: #897d6b; font-size: 10px; margin-bottom: 5px; }
.source-properties dd { margin: 0; color: #6f604b; overflow-wrap: anywhere; }
.source-metadata, .source-annotations { border-top: 1px solid var(--line); margin-top: 23px; padding-top: 18px; }
.source-metadata summary, .source-annotations > summary { cursor: pointer; font-size: 12px; color: #75634d; }
.source-metadata pre { font-size: 10px; overflow: auto; max-height: 350px; max-width: 100%; padding: 12px; background: var(--sidebar); margin-top: 13px; }
.source-annotations > summary span { font-size: 10px; color: #8a7e6c; margin-left: 5px; }
.source-annotations > p { margin: 16px 0; font-size: 11px; color: #84735b; }
.annotation-extra { margin: 20px 0; }
.annotation-extra summary { cursor: pointer; color: #84735b; font-size: 10px; margin-bottom: 15px; }
@media (max-width: 780px) {
  .database-tabs { gap: 7px; padding-bottom: 19px; }
  .database-tab { padding: 8px 10px; gap: 7px; font-size: 11px; }
  .database-search { flex-basis: 100%; }
  .database-filters { width: 100%; }
  .database-filters label { flex: 1; min-width: 0; }
  .database-filters select { width: 100%; max-width: none; }
  .database-pagination { flex: 1; justify-content: space-between; gap: 10px; }
}
@media (max-width: 480px) {
  .database-footer { align-items: stretch; flex-direction: column; gap: 16px; }
  .document-toolbar .list-search { max-width: none; width: 100%; flex-basis: 100%; }
  .document-toolbar .tabs { gap: 20px; }
}

.workspace:has(.geogi-host) { height: 100dvh; display: flex; flex-direction: column; }
.workspace:has(.geogi-host) > main { flex: 1; min-height: 0; padding: 0; max-width: none; width: 100%; }
.geogi-host, .geogi-host iframe { display: block; width: 100%; height: 100%; border: 0; }
