.history-page{max-width:1120px;margin-inline:auto}.history-owner{overflow-wrap:anywhere}.history-heading-icon{flex:none}.history-control-panel{padding:16px;margin-bottom:24px;background:linear-gradient(120deg,#fff,#f4fbf8)}.history-kind-filters{display:flex;gap:8px;flex-wrap:wrap;padding-bottom:14px;border-bottom:1px solid var(--line,#e1e8e3)}.history-filter,.history-status-filter{min-height:44px;border:0;font:inherit;cursor:pointer;line-height:1.35}.history-filter{border-radius:14px;padding:10px 14px;background:transparent;color:var(--muted,#687871);max-width:100%;overflow-wrap:anywhere}.history-filter.active{color:var(--ink,#1c2732);background:#dff7ef;box-shadow:inset 0 0 0 1px #bbe8d7;font-weight:750}.history-filter:focus-visible,.history-status-filter:focus-visible,.history-entry:focus-visible{outline:3px solid #78b59c;outline-offset:3px}.history-status-filters{display:flex;gap:8px;padding-top:12px;flex-wrap:wrap}.history-status-filter{display:flex;align-items:center;gap:10px;border-radius:12px;background:#f5f6f4;padding:9px 12px;color:var(--muted,#687871)}.history-status-filter strong{display:grid;place-items:center;min-width:24px;height:24px;padding-inline:5px;border-radius:8px;font-size:12px;background:white}.history-status-filter.active{background:#eee5f8;color:var(--ink,#1c2732);box-shadow:inset 0 0 0 1px #ddceee}.history-match-count{color:var(--muted,#687871);font-size:13px;margin:0 0 16px}.history-months{display:grid;gap:28px}.history-month-heading{display:flex;align-items:center;gap:12px;margin:0 2px 12px}.history-month-heading h2{font-size:17px;margin:0}.history-month-heading>span{display:grid;place-items:center;min-width:26px;height:26px;border-radius:50%;background:#eef2ed;font-size:12px;color:var(--muted,#687871)}.history-record-list{display:grid;gap:12px}.history-entry{width:100%;display:flex;align-items:center;gap:16px;text-align:start;padding:20px;border:1px solid var(--line,#e1e8e3);border-radius:22px;background:white;font:inherit;color:var(--ink,#1c2732);cursor:pointer;box-shadow:0 6px 20px #1b403004;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.history-entry:hover{border-color:#acd7c6;box-shadow:0 8px 22px #1b403009;transform:translateY(-1px)}.history-entry-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:18px;flex:none}.history-entry-icon svg{width:24px;height:24px}.history-entry-icon.mint{background:#e1f8f0;color:#598574}.history-entry-icon.lavender{background:#eee5f8;color:#79678c}.history-entry-body{flex:1;min-width:0;display:grid;gap:8px}.history-entry-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.history-entry-type{font-size:11px;color:var(--muted,#687871);overflow-wrap:anywhere}.history-entry-state{display:inline-flex;align-items:center;gap:5px;font-size:11px;line-height:1.3;padding:5px 8px;border-radius:8px}.history-entry-state svg{width:13px;height:13px;flex:none}.history-entry-state.is-complete{background:#eff8f2;color:#547564}.history-entry-state.is-draft{background:#f2eaf9;color:#7a668e}.history-entry-title{font-size:17px;line-height:1.45;overflow-wrap:anywhere}.history-entry-meta{display:flex;align-items:center;gap:8px 14px;flex-wrap:wrap;font-size:12px;color:var(--muted,#687871)}.history-entry-meta>span{display:inline-flex;align-items:center;gap:5px}.history-entry-meta svg{width:14px;height:14px;flex:none}.history-entry-arrow{flex:none;color:#91a49a}.history-entry-arrow svg{width:18px;height:18px}[dir=rtl] .history-entry-arrow{transform:rotate(180deg)}.history-empty{display:flex;align-items:center;flex-direction:column;text-align:center;gap:12px;padding:36px 22px}.history-empty h2{font-size:20px;margin:0}.history-journal{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin-top:32px}.history-journal-section{padding:0;overflow:hidden;min-width:0;align-self:start}.history-journal-section>summary{display:flex;align-items:center;gap:12px;min-height:88px;padding:20px;cursor:pointer;list-style:none}.history-journal-section>summary::-webkit-details-marker{display:none}.history-journal-section>summary>.card-icon{width:42px;height:42px;border-radius:14px;flex:none}.history-journal-section>summary>strong{flex:1;min-width:0;overflow-wrap:anywhere}.history-journal-section>summary>svg{width:18px;height:18px;flex:none}.history-journal-count{font-size:12px;color:var(--muted,#687871)}.history-journal-content{padding:0 20px 20px;display:grid;gap:14px}.history-journal-content>.btn{justify-self:start}.history-journal-content .notes-grid{grid-template-columns:1fr}.history-journal-content .appointment-row>span:nth-child(2){min-width:0;display:grid;gap:4px}.history-journal-content .appointment-row strong{overflow-wrap:anywhere}.history-journal-content .appointment-row>span:nth-child(2)>span{font-size:12px;line-height:1.5}.history-journal-content .appointment-row{padding:14px;gap:12px}
@media(max-width:650px){.history-control-panel{padding:12px;border-radius:20px}.history-kind-filters{gap:6px}.history-filter{font-size:12px;padding:9px 10px;border-radius:12px}.history-status-filters{gap:6px}.history-status-filter{font-size:11px;padding:8px;gap:6px}.history-status-filter strong{min-width:20px;height:20px;font-size:10px}.history-entry{padding:15px 12px;gap:10px;border-radius:19px}.history-entry-icon{width:36px;height:36px;border-radius:12px;align-self:flex-start;margin-top:2px}.history-entry-icon svg{width:20px;height:20px}.history-entry-title{font-size:15px}.history-entry-top{gap:7px}.history-entry-type{font-size:10px}.history-entry-state{font-size:10px;padding:4px 6px}.history-entry-meta{font-size:11px;gap:7px 10px}.history-entry-arrow{display:none}.history-entry-body{gap:9px}.history-journal{grid-template-columns:1fr;gap:12px}.history-journal-section>summary{padding:16px;gap:10px}.history-journal-content{padding:0 16px 16px}.history-month-heading h2{font-size:15px}.history-months{gap:24px}.history-match-count{font-size:12px}}
@media(prefers-reduced-motion:reduce){.history-entry{transition:none}.history-entry:hover{transform:none}}
