:root {
  --forest: #0f7a5b;
  --forest-deep: #075d49;
  --green: #22c55e;
  --yellow: #facc15;
  --mint: #f3faf7;
  --ink: #1f2937;
  --muted: #708179;
  --line: #e1ece6;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(15, 122, 91, .08);
  --radius-lg: 24px;
  --radius-md: 16px;
  font-family: 'Prompt', 'Sarabun', sans-serif;
  color: var(--ink);
  background: var(--mint);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--mint); }
button, input, textarea, select { font: inherit; }
button { border: 0; cursor: pointer; }
.app-shell { min-height: 100vh; display: flex; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 252px; padding: 35px 20px 24px; display: flex; flex-direction: column; background: var(--forest); color: #eafff5; z-index: 10; }
.brand-lockup { display: flex; align-items: center; gap: 11px; padding: 0 11px; }
.brand-mark { width: 47px; height: 47px; color: white; display: grid; place-items: center; }
.brand-mark svg { width: 43px; height: 43px; }
.wordmark { font-size: 30px; font-weight: 700; line-height: .9; letter-spacing: -.08em; }
.roman { margin-top: 8px; font-size: 9px; letter-spacing: .33em; opacity: .78; padding-left: 3px; }
.sidebar-tagline { margin: 16px 12px 37px; color: #bdebd4; font-family: 'Sarabun', sans-serif; font-size: 15px; }
.main-nav { display: grid; gap: 8px; }
.nav-item { color: #c9eee0; background: transparent; border-radius: 12px; padding: 13px 13px; display: flex; align-items: center; gap: 12px; text-align: left; font-size: 14px; transition: .2s ease; width: 100%; }
.nav-item:hover, .nav-item.active { color: white; background: rgba(255,255,255,.13); }
.nav-item.active { box-shadow: inset 3px 0 0 var(--yellow); }
.nav-icon { width: 20px; color: #9adcc2; font-size: 20px; text-align: center; line-height: 1; }
.nav-count { margin-left: auto; min-width: 21px; height: 21px; padding: 0 6px; border-radius: 99px; display: grid; place-items: center; background: var(--yellow); color: #775900; font-size: 11px; font-weight: 600; }
.sidebar-bottom { margin-top: auto; }
.plan-card { display: flex; gap: 10px; align-items: center; border-top: 1px solid rgba(255,255,255,.13); padding: 20px 10px 18px; }
.plan-card strong, .plan-card small { display: block; }
.plan-card strong { font-size: 12px; font-weight: 500; }
.plan-card small { margin-top: 3px; font-size: 10px; color: #a9dfcb; }
.plan-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 5px rgba(250,204,21,.12); }
.nav-item.muted { color: #b6dfd0; padding-left: 10px; }
.help-note { margin-top: 20px; padding: 14px 10px; border-radius: 14px; display: flex; gap: 10px; background: rgba(0,0,0,.12); color: #b9e7d4; font-family: 'Sarabun', sans-serif; font-size: 12px; line-height: 1.55; }
.help-note span { flex: 0 0 22px; height: 22px; border: 1px solid #86cbb1; border-radius: 50%; display: grid; place-items: center; }
.help-note p { margin: 0; }.help-note strong { color: white; font-weight: 600; }
.main-content { width: calc(100% - 252px); margin-left: 252px; min-height: 100vh; }
.topbar { height: 76px; display: flex; justify-content: flex-end; align-items: center; padding: 0 7.5%; border-bottom: 1px solid rgba(225,236,230,.7); }
.topbar-actions { display: flex; align-items: center; gap: 16px; }.icon-button { color: var(--forest); background: transparent; font-size: 24px; }.avatar { width: 36px; height: 36px; border-radius: 50%; background: #d7eee4; color: var(--forest); font-weight: 600; }.mobile-brand { display: none; }
.content-wrap { max-width: 1160px; margin: 0 auto; padding: 56px 7.5% 80px; }.page-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }.eyebrow { color: var(--forest); margin: 0 0 9px; font-family: 'Sarabun', sans-serif; font-size: 14px; }.page-intro h1 { margin: 0; font-size: clamp(27px, 3vw, 39px); line-height: 1.15; letter-spacing: -.045em; }.hand-dot { color: var(--yellow); }.intro-copy { margin: 13px 0 0; color: var(--muted); font-family: 'Sarabun', sans-serif; font-size: 16px; }.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 18px; border-radius: 11px; background: var(--forest); color: white; font-size: 13px; font-weight: 500; box-shadow: 0 8px 18px rgba(15,122,91,.16); transition: .2s ease; }.primary-button:hover { background: var(--forest-deep); transform: translateY(-1px); }.primary-button span { font-size: 19px; line-height: .7; }.secondary-button { padding: 12px 17px; border-radius: 11px; background: white; color: var(--forest); border: 1px solid #cde5d9; font-size: 13px; font-weight: 500; }
.quick-capture { margin-top: 39px; padding: 17px 19px; border-radius: var(--radius-md); display: flex; align-items: center; gap: 16px; background: white; border: 1px solid #e5f0ea; box-shadow: var(--shadow); }.capture-icon { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 13px; background: #e1f6ea; color: var(--forest); }.capture-icon svg { width: 26px; height: 26px; }.capture-copy { display: grid; gap: 2px; min-width: 210px; }.capture-copy strong { font-size: 13px; font-weight: 600; }.capture-copy span { color: #88958f; font-family: 'Sarabun', sans-serif; font-size: 13px; }.capture-actions { margin-left: auto; display: flex; gap: 7px; }.capture-action { background: #f6faf8; color: #506a5e; padding: 9px 11px; border-radius: 9px; font-size: 12px; }.capture-action:hover { background: #e7f5ee; color: var(--forest); }.capture-action span { margin-right: 4px; color: var(--forest); }
.section-heading { margin: 51px 0 18px; display: flex; justify-content: space-between; align-items: end; gap: 16px; }.section-heading h2 { margin: 0; font-size: 21px; letter-spacing: -.03em; }.section-heading p { margin: 4px 0 0; color: var(--muted); font-family: 'Sarabun', sans-serif; font-size: 14px; }.list-tools { display: flex; align-items: center; gap: 8px; }.search-box { height: 37px; width: min(240px, 33vw); display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid #dceae2; border-radius: 9px; background: white; color: #94a59c; }.search-box input { width: 100%; outline: 0; border: 0; color: var(--ink); background: transparent; font-size: 12px; }.search-box input::placeholder { color: #a1aca7; }.filter-button { height: 37px; padding: 0 12px; border: 1px solid #dceae2; border-radius: 9px; background: white; color: #587167; font-size: 12px; }.category-tabs { display: flex; gap: 8px; margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }.category-tab { white-space: nowrap; padding: 8px 12px; border-radius: 99px; color: #6f8479; background: transparent; font-size: 12px; }.category-tab.active { background: #dff4e8; color: var(--forest); font-weight: 600; }.category-tab span { margin-left: 3px; color: #8ca99c; }.item-list { display: grid; gap: 10px; }.item-card { position: relative; display: grid; grid-template-columns: 49px 1fr auto; gap: 15px; align-items: center; min-height: 97px; padding: 17px 20px 17px 17px; border-radius: var(--radius-md); border: 1px solid #e4eee9; background: white; transition: .2s ease; }.item-card:hover { border-color: #b6dbc9; box-shadow: 0 8px 24px rgba(15,122,91,.07); transform: translateY(-1px); }.item-icon { width: 49px; height: 49px; display: grid; place-items: center; border-radius: 14px; font-size: 22px; }.item-icon.amber { color: #9c7111; background: #fff5d5; }.item-icon.blue { color: #2c73b8; background: #e2f0fd; }.item-icon.violet { color: #7258aa; background: #eee8fb; }.item-icon.green { color: var(--forest); background: #e0f6e8; }.item-main { min-width: 0; }.item-main h3 { overflow: hidden; margin: 0 0 4px; white-space: nowrap; text-overflow: ellipsis; font-size: 15px; }.item-main p { overflow: hidden; margin: 0; white-space: nowrap; text-overflow: ellipsis; color: #88968f; font-family: 'Sarabun', sans-serif; font-size: 13px; }.item-meta { display: flex; align-items: center; gap: 7px; margin-top: 9px; }.tag { padding: 3px 8px; border-radius: 99px; background: #f3f7f5; color: #70877b; font-size: 10px; }.source { color: #a1aaa5; font-family: 'Sarabun', sans-serif; font-size: 11px; }.item-due { min-width: 104px; text-align: right; }.item-due strong { display: block; color: var(--forest); font-size: 12px; font-weight: 600; }.item-due small { display: block; margin-top: 4px; color: #96a29c; font-family: 'Sarabun', sans-serif; font-size: 11px; }.item-actions { display: flex; gap: 5px; opacity: 0; }.item-card:hover .item-actions { opacity: 1; }.item-actions button { width: 28px; height: 28px; border-radius: 8px; background: #f4f8f5; color: #7a8b83; }.empty-state { text-align: center; padding: 70px 20px; }.empty-clip { margin: 0 auto 15px; color: var(--forest); font-size: 48px; transform: rotate(-35deg); }.empty-state h3 { margin: 0; font-size: 18px; }.empty-state p { color: var(--muted); font-family: 'Sarabun', sans-serif; }
.modal-backdrop { position: fixed; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(4,37,27,.38); z-index: 30; }.modal-backdrop[hidden] { display: none; }.modal { position: relative; width: min(510px, 100%); padding: 30px; border-radius: 22px; background: #fff; box-shadow: 0 24px 80px rgba(0,0,0,.17); }.modal-close { position: absolute; top: 15px; right: 17px; width: 31px; height: 31px; border-radius: 50%; background: #f3f8f5; color: #71847a; font-size: 20px; }.modal-kicker { color: var(--forest); font-size: 11px; font-weight: 600; }.modal h2 { margin: 5px 0 5px; font-size: 25px; letter-spacing: -.04em; }.modal-subtitle { margin: 0 0 25px; color: var(--muted); font-family: 'Sarabun', sans-serif; font-size: 14px; }.modal label { display: grid; gap: 7px; margin: 15px 0; color: #5f7068; font-size: 12px; }.modal input, .modal textarea, .modal select { width: 100%; padding: 11px 12px; resize: vertical; outline: none; border: 1px solid #dceae2; border-radius: 9px; background: #fbfdfc; color: var(--ink); font-family: 'Sarabun', sans-serif; font-size: 14px; }.modal input:focus, .modal textarea:focus, .modal select:focus { border-color: #73b799; box-shadow: 0 0 0 3px #e3f5eb; }.optional { color: #a4afa9; font-family: 'Sarabun', sans-serif; }.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 24px; }.toast { position: fixed; bottom: 25px; left: 50%; z-index: 40; padding: 11px 17px; border-radius: 99px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--forest-deep); color: white; box-shadow: 0 10px 30px rgba(0,0,0,.16); font-size: 12px; transition: .25s ease; }.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 820px) { .sidebar { width: 218px; }.main-content { width: calc(100% - 218px); margin-left: 218px; }.content-wrap { padding-right: 5%; padding-left: 5%; }.capture-actions { flex-wrap: wrap; }.capture-copy { min-width: 150px; } }
@media (max-width: 650px) { .sidebar { display: none; }.main-content { width: 100%; margin-left: 0; }.topbar { height: 64px; padding: 0 20px; justify-content: space-between; background: white; }.mobile-brand { display: flex; align-items: center; gap: 7px; color: var(--forest); font-size: 18px; }.mini-mark { font-size: 27px; transform: rotate(-33deg); display: inline-block; }.content-wrap { padding: 30px 18px 50px; }.page-intro { display: block; }.page-intro .primary-button { margin-top: 22px; width: 100%; }.quick-capture { align-items: flex-start; flex-wrap: wrap; gap: 11px; }.capture-actions { margin-left: 0; width: 100%; }.capture-action { flex: 1; }.section-heading { display: block; margin-top: 36px; }.list-tools { margin-top: 16px; }.search-box { width: 100%; }.filter-button { white-space: nowrap; }.list-tools { display: grid; grid-template-columns: 1fr auto; }.item-card { grid-template-columns: 42px 1fr; gap: 12px; padding: 14px; }.item-icon { width: 42px; height: 42px; font-size: 19px; }.item-due { grid-column: 2; min-width: auto; text-align: left; }.item-due strong, .item-due small { display: inline; }.item-due small { margin-left: 7px; }.item-actions { position: absolute; top: 12px; right: 10px; opacity: 1; }.item-main { padding-right: 55px; }.form-row { grid-template-columns: 1fr; gap: 0; }.modal { padding: 25px 20px; } }

.legal-page{max-width:760px;margin:0 auto;padding:48px 24px;font-family:Sarabun,system-ui,sans-serif;line-height:1.8;color:#1f2937}.legal-page a{color:#0f7a5b;font-weight:700}.legal-page h1{font-family:Prompt,Sarabun,sans-serif;color:#0f7a5b;margin:20px 0 12px}.legal-page h2{font-family:Prompt,Sarabun,sans-serif;margin:28px 0 6px;color:#065f46}.legal-page p{margin:8px 0 14px}
