:root{color-scheme:light;--green:#224638;--cream:#f4f0e6;--card:#fffdf7;--line:#d9d2bf;--ink:#1f372c;--muted:#4b5d53;--gold:#d5ae67}
*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:16px/1.55 system-ui, sans-serif}h1,h2,h3,.brand{font-family:Georgia,serif;line-height:1.14}h1{font-size:clamp(2rem,7vw,3.9rem);margin:.15em 0 .25em}h2{font-size:1.6rem;margin:.2em 0 .55em}h3{margin:0 0 .55em}p,ul{margin:.5em 0 1em}a{color:inherit}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #9e6719;outline-offset:3px}[hidden]{display:none!important}
.top{background:var(--green);color:white;padding:12px max(16px,calc((100vw - 960px)/2));display:flex;align-items:center;justify-content:space-between;gap:12px}
.brand{color:#f8e4af;font-size:clamp(1.15rem,4vw,1.8rem);text-decoration:none;white-space:nowrap}
.top-actions,.actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.top-actions{justify-content:flex-end}
button,.button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:8px 14px;background:var(--card);border:1px solid var(--line);border-radius:9px;color:var(--green);font:600 15px/1.3 system-ui,sans-serif;text-decoration:none;cursor:pointer}
button[disabled]{opacity:.55;cursor:wait}.primary{background:var(--green);color:white;border-color:var(--green)}a[aria-current=page]{box-shadow:inset 0 -3px var(--gold)}
main,footer{width:min(calc(100% - 32px),960px);margin:22px auto}main{min-height:60vh}footer{color:var(--muted);padding-bottom:65px}
section,article,.panel{padding:clamp(14px,3vw,24px);background:var(--card);border:1px solid var(--line);border-radius:15px;margin:0 0 15px}
.hero{padding:clamp(20px,5vw,50px);background:var(--green);color:#fff9eb;border:0}
.hero p{max-width:56ch;color:#f1e5cd}.hero .button{background:#f9e6b8;border-color:#f9e6b8}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,246px),1fr));gap:12px}.grid section{margin:0 0 12px}
form{display:grid;gap:11px;max-width:650px}label{display:grid;gap:4px}input,textarea,select{width:100%;min-height:44px;background:white;color:var(--ink);border:1px solid #a7b3a5;border-radius:7px;padding:8px 10px;font:inherit}
textarea{min-height:86px;resize:vertical}.check{display:flex;align-items:center;min-height:44px;gap:8px}.check input{width:23px;min-height:23px}.message{color:#842a1b;overflow-wrap:anywhere}.note{color:var(--muted)}.tabs{position:fixed;bottom:0;left:0;right:0;padding:5px 6px max(5px,env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(4,1fr);background:var(--card);border-top:1px solid var(--line)}
.tabs a{font-size:clamp(12px,3.5vw,16px);min-height:47px;display:grid;place-items:center;text-decoration:none;border-radius:7px;text-align:center}.tabs a[aria-current]{background:#e9eee4}
.list{padding:0;list-style:none}.list li{padding:10px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.list li:last-child{border:0}.small{font-size:14px}.nowrap{white-space:nowrap}

.lineage-search form{max-width:none}
.lineage-search h1{font-size:clamp(1.75rem,6vw,2.75rem)}
.lineage-query-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:8px}
.lineage-search input[type="search"]{min-width:0}
.lineage-refine{display:grid;gap:12px;margin:6px 0 12px;padding:16px;border:1px solid #d8e0d4;border-radius:12px;background:#f1f5ee}
.lineage-refine h2{font:700 1rem/1.4 system-ui,sans-serif;margin:0;color:var(--green)}
.lineage-refine>.primary{justify-self:start}
.lineage-filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,172px),1fr));gap:10px;margin:0 0 8px}
.lineage-count{color:var(--muted);margin:16px 0 8px;font:600 1rem/1.5 system-ui,sans-serif}
.lineage-results{list-style:none;padding:0;margin:0}
.lineage-result{margin:8px 0;padding:14px 16px;border-color:#d6dfd2;background:#fcfcf5;overflow-wrap:anywhere}
.lineage-result h3{font-size:1.45rem;margin:0 0 4px}
.lineage-result p{font-size:.9rem;margin:0 0 5px}
.lineage-path{color:#315744;font-weight:650}
.lineage-archive,.lineage-predecessors{color:var(--muted)}
.lineage-result .actions{margin-top:10px}
.lineage-result .button{min-height:44px;padding:8px 12px}
.avatar{display:block;width:104px;height:104px;object-fit:cover;border-radius:12px;margin:0 0 10px}
.demo-banner{width:min(calc(100% - 32px),960px);margin:15px auto 0;padding:9px 14px;border:1px solid var(--line);border-radius:8px;background:#f9e6b8;color:#442f11;font-size:14px;font-weight:650}

/* The cabinet shares the forest-green and gold design of the original preview. */
.brand{display:inline-flex;align-items:center;gap:9px}.brand img{flex:none;border-radius:7px}
.cabinet-shell{--green:#193e34;--cream:#f7f8f3;--card:#fff;--line:#dbe3d9;--ink:#233c34;--muted:#53665d;--gold:#b58b4c}
.cabinet-shell .top{background:#fff;color:var(--ink);border-bottom:1px solid var(--line)}
.cabinet-shell .brand{color:var(--green);font-weight:700}
.cabinet-shell main{width:min(calc(100% - 32px),980px)}
.cabinet-hero{min-height:192px;position:relative;display:flex;align-items:center;overflow:hidden}
.cabinet-hero-copy{z-index:1;max-width:68%}
.cabinet-hero h1{font-size:clamp(1.7rem,4.6vw,3rem);overflow-wrap:anywhere}
.cabinet-hero-art{position:absolute;right:12px;top:0;width:48%;height:100%;object-fit:contain;pointer-events:none;opacity:.85}
.cabinet-shell .tabs{z-index:5}
.cabinet-icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.cabinet-shell .tabs a{position:relative;display:flex;align-items:center;gap:6px;min-width:0}
.cabinet-shell .tabs a[aria-current=page]{color:#1b4b37;font-weight:700}
.unread-pill{display:inline-grid;place-items:center;min-width:23px;min-height:22px;padding:0 5px;border-radius:20px;background:#246047;color:#fff;font-size:12px;line-height:1;font-weight:700}
.cabinet-shell .demo-banner button{padding:5px 9px;font-size:13px}
@media(min-width:1100px){
  .cabinet-shell .top{padding-left:34px;padding-right:34px}
  .cabinet-shell .tabs{top:69px;right:auto;bottom:0;width:200px;background:#fff;border-top:0;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:6px;padding:23px 14px}
  .cabinet-shell .tabs a{justify-content:flex-start;gap:13px;padding:10px;text-align:left}
  .cabinet-shell .nav-count{margin-left:auto}
  .cabinet-shell main,.cabinet-shell footer,.cabinet-shell .demo-banner{width:min(calc(100% - 255px),980px);margin-left:max(225px,calc((100% - 780px)/2))}
}
@media(max-width:1099px){
  .cabinet-shell .tabs{grid-template-columns:repeat(4,1fr)}
  .cabinet-shell .tabs a{flex-direction:column;justify-content:center;gap:2px;font-size:clamp(9px,2.7vw,14px);min-height:52px}
  .nav-count{position:absolute;top:1px;left:calc(50% + 5px)}
}
@media(max-width:480px){
  .cabinet-hero{padding:20px;min-height:178px}
  .cabinet-hero-copy{max-width:78%}
  .cabinet-hero-art{right:-52px;width:66%;opacity:.48}
  .cabinet-shell .top{gap:4px;padding:8px 12px}
  .brand img{width:27px;height:27px}
  .top-actions>button,.top-actions>.button{padding:6px 8px;font-size:12px}
}

.social-dialog{border:1px solid var(--line);border-radius:16px;padding:0;width:min(560px,calc(100% - 26px));max-height:min(90dvh,760px);color:var(--ink)}
.social-dialog::backdrop{background:#132a21a8}
.social-dialog-head{position:sticky;top:0;background:var(--card);border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:10px;align-items:center;padding:12px 16px}
.social-dialog-head h2{margin:0;font-size:1.4rem;overflow-wrap:anywhere}
.social-dialog-head button{min-width:44px;font-size:24px}
.social-dialog-content{padding:14px 17px}
.status-audience{margin:0;border:1px solid var(--line);border-radius:8px;padding:0 10px 5px;min-width:0}
.audience-options{max-height:180px;overflow:auto}
.status-body p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:1.15rem;background:#eff4ec;border-radius:9px;padding:14px}
.status-body img{display:block;width:100%;max-height:55dvh;object-fit:contain}
.social-dialog button[aria-pressed=true]{background:#deeee1;border-color:#438562}
.thread-list{display:grid;gap:3px}
.thread-row{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:10px;align-items:center;min-height:72px;padding:9px 6px;text-decoration:none;border-bottom:1px solid var(--line)}
.thread-row:hover,.thread-row:focus-visible{background:#eff4ec}
.thread-icon{width:44px;height:44px;background:#ebf2e8;color:var(--green);border-radius:50%;display:grid;place-items:center}
.thread-copy,.thread-meta{display:grid;gap:4px}.thread-copy span{color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.thread-meta{justify-items:end;font-size:12px;color:var(--muted)}
.chat-panel{padding:clamp(10px,3vw,20px)}
.chat-heading{display:flex;align-items:center;gap:12px;margin-bottom:12px}.chat-heading h1{font-size:clamp(1.1rem,4.5vw,1.65rem);margin:0;overflow-wrap:anywhere}.chat-heading p{margin:0 0 2px;font-size:13px}
.chat-log{height:clamp(200px,52dvh,570px);overflow:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:9px;background:#f1f5ee;border:1px solid #e2e9dd;border-radius:12px;padding:12px}
.chat-log>button{align-self:center}.chat-empty{margin:auto;text-align:center}
.chat-message{align-self:flex-start;max-width:min(88%,590px);background:white;border:1px solid #d8e1d6;border-radius:3px 12px 12px 12px;padding:8px 10px 2px;overflow-wrap:anywhere}
.chat-own{background:#dfeddd;border-color:#c8dec9;align-self:flex-end;border-radius:12px 3px 12px 12px}
.chat-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 12px;color:#42574b;font-size:13px}
.chat-message p{white-space:pre-wrap;margin:4px 0 0}.chat-message blockquote{margin:5px 0;padding:3px 8px;border-left:3px solid #5f8b69;background:#eef4ed;font-size:13px}.chat-message blockquote span{display:block}
.reply-button{min-height:44px;color:#305c49;background:none;border:0;padding:2px 5px;font-size:13px}
.chat-composer{max-width:none;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:8px;align-items:end}
.chat-composer textarea{min-height:52px;margin:0;resize:vertical}
.reply-draft{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px;padding-left:9px;border-left:3px solid #5f8b69;overflow-wrap:anywhere}
.reply-draft button{min-width:44px}
@media(max-width:480px){.chat-log{height:clamp(180px,46dvh,480px)}.chat-heading>.button{padding:7px 8px;font-size:12px}.chat-composer button.primary{font-size:13px;padding-inline:8px}}

.unread-divider{margin:4px 0;text-align:center;color:#285640;font-size:13px;font-weight:700}
.chat-log>*{flex-shrink:0}

/* TAMYR FAMILY DASHBOARD START */
.thread-row[hidden],.thread-row .unread-pill[hidden]{display:none}
body.tamyr-family-shell {
  --tm-shell:#f4f5ed;--tm-panel:#fffefa;--tm-border:#dce1d4;
  --tm-forest:#224739;--tm-text:#233e32;--tm-muted:#55695c;--tm-gold:#dac089;
  --tm-selected:#e7eee1;
  background:var(--tm-shell);color:var(--tm-text);
}
body.tamyr-family-shell :is(.top,.bar) {
  background:var(--tm-panel);color:var(--tm-text);border-bottom:1px solid var(--tm-border);
}
body.tamyr-family-shell .brand {color:var(--tm-forest)}
body.tamyr-family-shell .bar .logo {
  color:var(--tm-forest);font:750 14px/1.15 system-ui,sans-serif;letter-spacing:.12em;
  padding-left:42px;position:relative;white-space:nowrap
}
body.tamyr-family-shell .bar .logo::before {
  content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);
  width:32px;height:32px;background:url("/cabinet-mark.svg") center/contain no-repeat
}
body.tamyr-family-shell .bar .logo small{color:#765b36}
@media(max-width:359px){
  body.tamyr-family-shell .bar{gap:6px;padding-inline:10px}
  body.tamyr-family-shell .bar .logo{padding-left:33px;font-size:13px}
  body.tamyr-family-shell .bar .logo::before{width:26px;height:26px}
  body.tamyr-family-shell .tamyr-top-tools{gap:6px}
}
body.tamyr-family-shell #app,
body.tamyr-family-shell #app~footer {width:min(calc(100% - 28px),960px);margin:16px auto}
body.tamyr-family-shell .demo-banner {width:min(calc(100% - 28px),960px);margin:10px auto 0}
body.tamyr-family-shell .content {
  width:min(calc(100% - 28px),960px);max-width:960px!important;min-height:0!important;margin:16px auto;padding-inline:0
}
body.tamyr-family-shell #app~footer{padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))}
body.tamyr-family-shell :is(.cardtext,.detailbody) .tm-person-kinship {
  display:block;margin:3px 0 5px;color:var(--tm-forest);font:650 14px/1.35 system-ui,sans-serif
}
body.tamyr-family-shell .treecard .tm-person-kinship {
  display:block;color:#25533c;font:650 11px/1.2 system-ui,sans-serif;overflow-wrap:anywhere
}
body.tamyr-family-shell[data-tamyr-page="home"] .content>#welcome{display:none!important}
body.tamyr-family-shell .tm-events{
  border:1px solid var(--tm-border);border-radius:13px;background:var(--tm-panel);
  margin:0 0 13px;padding:7px
}
body.tamyr-family-shell .tm-event-tabs{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:3px;
  background:var(--tm-shell);border-radius:9px
}
body.tamyr-family-shell .tm-event-tabs:has(>.tm-calendar-button){
  grid-template-columns:repeat(3,minmax(0,1fr))
}
body.tamyr-family-shell .tm-event-tabs .tm-calendar-button{
  display:flex;align-items:center;justify-content:center;text-align:center;
  min-height:44px;padding:4px 6px;border-radius:7px;background:#224739;color:#fffefa;
  font:650 13px/1.2 system-ui,sans-serif;text-decoration:none
}
body.tamyr-family-shell .tm-event-tabs .tm-calendar-button:hover{background:#2e5948}
body.tamyr-family-shell .tm-event-tabs button{
  min-height:44px;padding:4px 6px;border:0;border-radius:7px;
  background:transparent;color:var(--tm-muted);font:650 13px/1.2 system-ui,sans-serif;cursor:pointer
}
body.tamyr-family-shell .tm-event-tabs button[aria-pressed="true"]{
  background:var(--tm-panel);color:var(--tm-forest);box-shadow:0 1px 3px #22473920
}
body.tamyr-family-shell .tm-events [data-event-content]{margin:6px 0 0}
body.tamyr-family-shell .tm-events [data-event-content][hidden]{display:none!important}
body.tamyr-family-shell .tm-events .tm-block-head{justify-content:flex-end}
body.tamyr-family-shell .tm-events .tm-block-head>a{min-height:36px}
.status-strip{display:flex;gap:6px;align-items:flex-start;overflow-x:auto;padding:6px 3px 10px;scroll-snap-type:x proximity}
.status-strip>.note,.tm-status-items>.tm-empty{align-self:center;min-width:140px}
.tm-status-items{display:flex;gap:6px;align-items:flex-start}
.status-item{flex:0 0 94px;display:flex;flex-direction:column;gap:4px;min-width:0;justify-content:flex-start;padding:5px;border:0;background:transparent;scroll-snap-align:start}
.status-item strong,.status-item small{max-width:84px;text-align:center;overflow-wrap:anywhere;font-size:13px}
.status-item small{color:var(--muted)}
.status-circle{width:59px;height:59px;border-radius:50%;border:2px solid #387157;display:grid;place-items:center;background:#eff4ec;box-shadow:inset 0 0 0 3px white;color:#285640;font-weight:750;font-size:19px}
.status-add .status-circle{font-size:29px;border-style:dashed;border-color:#9a793d;background:#f5ecda;color:#785b2d}
body.tamyr-family-shell .tm-status-home{margin-bottom:9px}
body.tamyr-family-shell .tm-status-home .status-item[hidden]{display:none!important}
body.tamyr-family-shell .tm-status-home :is(button,a).status-item{
  display:flex;flex-direction:column;align-items:center;color:var(--tm-text);text-decoration:none
}
body.tamyr-family-shell .tm-calendar,
body.tamyr-family-shell .tm-home-block,
body.tamyr-family-shell .tm-quick {
  margin:0 0 13px;padding:0;border:0;background:none
}
body.tamyr-family-shell :is(.tm-calendar,.tm-home-block) h2 {
  margin:0 0 8px;font:700 17px/1.25 system-ui,sans-serif;letter-spacing:-.018em;color:var(--tm-text)
}
body.tamyr-family-shell .tm-block-head {display:flex;justify-content:space-between;align-items:center;gap:6px}
body.tamyr-family-shell .tm-block-head :is(a,button){
  display:inline-flex;align-items:center;min-height:44px;padding:2px 5px;border:0;background:none;
  color:var(--tm-muted);font:600 12px/1.2 system-ui,sans-serif;text-decoration:none
}
body.tamyr-family-shell .tm-calendar-list{
  display:grid;gap:0;padding:0;margin:0;list-style:none;border:1px solid var(--tm-border);
  border-radius:13px;overflow:hidden;background:var(--tm-panel)
}
body.tamyr-family-shell .tm-calendar-list li{margin:0;padding:0;border:0;list-style:none}
body.tamyr-family-shell .tm-calendar-list li+li{border-top:1px solid #e5e8dd}
body.tamyr-family-shell .tm-calendar-list li:first-child .tm-calendar-row{background:#eeeddc}
body.tamyr-family-shell .tm-calendar-row{
  width:100%;display:grid;grid-template-columns:39px minmax(0,1fr);align-items:center;
  gap:10px;padding:7px 10px;min-height:51px;border:0;border-radius:0;
  background:transparent;color:var(--tm-text);text-align:left;font:400 14px/1.25 system-ui,sans-serif
}
body.tamyr-family-shell .tm-calendar-day{
  background:var(--tm-panel);border-radius:7px;min-height:37px;display:grid;place-items:center;
  align-content:center;font-weight:750;line-height:1.06;gap:2px
}
body.tamyr-family-shell .tm-calendar-day small{font-size:10px;color:var(--tm-muted);text-transform:uppercase}
body.tamyr-family-shell .tm-calendar-copy{display:grid;gap:3px;overflow-wrap:anywhere}
body.tamyr-family-shell .tm-calendar-copy small{color:var(--tm-muted);font:400 12px/1.2 system-ui,sans-serif}
body.tamyr-family-shell .tm-empty{margin:0;padding:11px;border:1px solid var(--tm-border);background:var(--tm-panel);border-radius:11px;color:var(--tm-muted);font-size:13px}
body.tamyr-family-shell .tm-quick{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(135px,100%),1fr));gap:8px
}
body.tamyr-family-shell .tm-quick :is(a,button),
body.tamyr-family-shell .tm-home-link {
  min-height:44px;display:flex;align-items:center;justify-content:center;border:1px solid var(--tm-border);
  padding:7px 8px;border-radius:10px;background:var(--tm-panel);color:var(--tm-text);
  text-decoration:none;font:650 13px/1.25 system-ui,sans-serif;text-align:center
}
body.tamyr-family-shell :is(.tm-quick,.tm-quick>*,.tm-block-head>*,.tm-calendar-list,.tm-event-tabs)[hidden]{
  display:none
}
body.tamyr-family-shell #tamyrGuestCalendarHeading:not([hidden]){padding:2px 4px 0}
body.tamyr-family-shell .tm-people{display:grid;grid-template-columns:repeat(auto-fit,minmax(85px,1fr));gap:7px}
body.tamyr-family-shell .tm-person-chip{
  display:flex;gap:7px;align-items:center;justify-content:flex-start;min-height:48px;
  border:1px solid var(--tm-border);border-radius:10px;padding:6px 7px;
  background:var(--tm-panel);color:var(--tm-text);text-decoration:none;text-align:left;
  font:650 12px/1.2 system-ui,sans-serif;overflow-wrap:anywhere
}
body.tamyr-family-shell .tm-initial{flex:0 0 26px;min-height:26px;border-radius:50%;display:grid;place-items:center;background:var(--tm-selected);color:var(--tm-forest);font-weight:700}
body.tamyr-family-shell .tm-person-chip small{display:block;margin-top:2px;color:var(--tm-muted);font-size:11px}
body.tamyr-family-shell :is(#tabs,#tamyrBottomTabs).tm-nav{
  position:fixed;left:50%;right:auto;top:auto;bottom:0;transform:translateX(-50%);
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;
  width:min(100%,640px);height:calc(70px + env(safe-area-inset-bottom,0px));
  padding:5px 5px calc(4px + env(safe-area-inset-bottom,0px));
  background:var(--tm-panel);border:1px solid var(--tm-border);border-radius:17px 17px 0 0;
  box-shadow:0 -7px 24px #18362216
}
body.tamyr-family-shell :is(#tabs,#tamyrBottomTabs).tm-nav > :is(a,button) {
  position:relative;min-height:44px;min-width:0;padding:4px 0;display:flex;
  flex-direction:column;align-items:center;justify-content:center;gap:3px;
  border:0;border-radius:10px;background:none;color:var(--tm-muted);box-shadow:none;
  font:650 11px/1.2 system-ui,sans-serif;white-space:nowrap;text-decoration:none
}
body.tamyr-family-shell :is(#tabs,#tamyrBottomTabs).tm-nav > [aria-current="page"]{background:var(--tm-selected);color:var(--tm-forest)}
body.tamyr-family-shell .tm-nav svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body.tamyr-family-shell .tm-nav .nav-count {position:absolute;top:1px;left:calc(50% + 5px)}
body.tamyr-family-shell .tm-bell {
  display:inline-grid;place-items:center;min-height:44px;min-width:44px;
  padding:0;border:1px solid var(--tm-border);border-radius:10px;background:var(--tm-panel);color:var(--tm-forest);
  text-decoration:none;font-size:16px
}
body.tamyr-family-shell .tm-bell svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7}
body.tamyr-family-shell .tm-news-rows {list-style:none;margin:0;padding:0}
body.tamyr-family-shell .tm-news-rows li+li{margin-top:6px}
body.tamyr-family-shell .tm-news-rows a{display:block;padding:8px 10px;min-height:44px;border:1px solid var(--tm-border);border-radius:9px;background:var(--tm-panel);color:var(--tm-text);text-decoration:none;font:650 13px/1.4 system-ui,sans-serif;overflow-wrap:anywhere}
body.tamyr-family-shell .tm-news-rows small{display:block;color:var(--tm-muted);font-size:11px;font-weight:400}
body.tamyr-family-shell .tm-important-line{white-space:pre-wrap;overflow-wrap:anywhere}
body.tamyr-family-shell .tm-important-check{grid-column:1/-1;font-size:14px}
body.tamyr-family-shell .tm-important-tag{color:#745019;font-size:12px;font-weight:700}
@media(max-width:520px){
  body.tamyr-family-shell .content,body.tamyr-family-shell #app{margin-top:10px}
  body.tamyr-family-shell :is(#tabs,#tamyrBottomTabs).tm-nav > :is(a,button){font-size:10px}
}
body.tamyr-family-shell .tm-home-block :is(.status-strip,.tm-people)>.note{margin:5px 0}
body.tamyr-family-shell .tm-calendar-list .tm-event{display:flex;align-items:center;min-width:0}
body.tamyr-family-shell .tm-event .tm-calendar-row{flex:1;min-width:0}
body.tamyr-family-shell .tm-event-action{
  display:inline-flex;align-items:center;justify-content:center;min-height:44px;flex-shrink:0;
  border:1px solid var(--tm-border);border-radius:9px;background:var(--tm-panel);
  color:var(--tm-forest);padding:5px 8px;text-decoration:none;
  font:650 12px/1.2 system-ui,sans-serif
}
body.tamyr-family-shell .tm-event>.tm-event-action{margin:4px 5px 4px 3px}
body.tamyr-family-shell .tm-event-action:hover{background:var(--tm-selected)}
body.tamyr-family-shell .tm-community-tabs {
  position:sticky;top:0;z-index:12;
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;
  margin:0 0 14px;border-bottom:1px solid var(--tm-border);background:var(--tm-shell);
}
body.tamyr-family-shell .tm-community-tabs > :is(a,button) {
  display:flex;align-items:center;justify-content:center;text-align:center;
  min-width:0;min-height:47px;padding:5px 4px;border:0;border-bottom:2px solid transparent;border-radius:0;
  background:transparent;color:var(--tm-muted);text-decoration:none;
  font:650 clamp(11px,2.6vw,14px)/1.2 system-ui,sans-serif;
}
body.tamyr-family-shell .tm-community-tabs > [aria-current="page"]{
  color:var(--tm-forest);border-bottom-color:var(--tm-forest);font-weight:800
}
body.tamyr-family-shell .tm-community-tabs > :focus-visible{outline:2px solid var(--tm-forest);outline-offset:-3px}
body.tamyr-family-shell .tm-community [hidden]{display:none!important}
body.tamyr-family-shell .tm-community .tm-home-link{display:inline-flex;align-items:center;min-height:44px}

.tm-home-clan-search h2{margin:0 0 10px}
.tm-home-clan-controls{display:flex;flex-wrap:wrap;gap:8px}
.tm-home-clan-controls input{flex:1 1 180px;min-width:0;min-height:44px;padding:8px 12px;border:1px solid #d8dcca;border-radius:9px;color:#243a30;background:#fffdf8;font:inherit;font-size:16px}
.tm-home-clan-controls button{min-height:44px;padding:8px 16px;border:0;border-radius:9px;background:#2c4939;color:#fff;font:inherit;font-weight:700;cursor:pointer}
/* TAMYR FAMILY DASHBOARD END */

.contact-row{width:100%;text-align:left;border:0;border-radius:9px;background:var(--card);color:var(--ink)}
.contact-row .thread-copy{min-width:0;overflow-wrap:anywhere}.contact-row .contact-open{font-size:13px;color:var(--green)}
.chat-actions{margin-bottom:11px}.contact-archive{margin-bottom:10px}
.contact-archive+input[type=search]{margin-bottom:8px}.chat-panel .chat-leave{margin-top:9px}


.cabinet-shell section.tm-story-feed {padding:0;border:0;background:transparent;max-width:720px;margin:0 auto}
.tm-story-feed form{border-bottom:1px solid var(--line);padding:4px 0 16px;margin:0}
.tm-story-feed textarea{display:block;width:100%;margin-top:7px;background:#fffefa;min-height:92px}
.tm-story-share{justify-content:flex-start;text-align:left;font-size:13px}
.tm-story-share input{flex:0 0 auto}
.tm-story{display:grid;grid-template-columns:40px minmax(0,1fr);gap:10px;padding:16px 0;border-bottom:1px solid var(--line)}
.tm-story-avatar{display:grid;place-items:center;background:var(--tm-selected);color:var(--tm-forest);width:40px;height:40px;border-radius:50%;font-weight:750}
.tm-story-copy{min-width:0}
.tm-story-copy header{display:flex;align-items:baseline;justify-content:space-between;gap:5px 12px;flex-wrap:wrap}
.tm-story-copy strong{overflow-wrap:anywhere}
.tm-story-copy time{color:var(--muted);font-size:12px}
.tm-story-copy p{margin:6px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
button.tm-story-remove{border:0;background:transparent;color:var(--muted);font-size:12px;padding:5px 0}
.tm-story-more{display:block;margin:14px auto 0}
.tm-story-feed [hidden]{display:none!important}

/* 2.94 — General feed, social profile, and separate settings. */
.cabinet-shell .tm-story-feed,.cabinet-shell .tm-profile-header,.cabinet-shell .tm-profile-tabs{width:min(100%,720px);margin-left:auto;margin-right:auto}
.cabinet-shell .tm-story-feed{background:#fff;border:1px solid #e7e7e7;border-radius:18px;overflow:hidden;color:#1d1d1d}
.cabinet-shell .tm-story-composer{padding:14px 22px!important;max-width:none;gap:10px;border-bottom:1px solid #eee}
.tm-compose-inline{display:flex;align-items:center;gap:10px}
.tm-compose-trigger{flex:1;min-height:44px;border:1px solid #e4e4e4;background:#fff;border-radius:14px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#777;text-align:left}
.tm-compose-trigger .tm-compose-placeholder{color:#888;font-size:16px}
.tm-compose-trigger .tm-compose-open{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 14px;border:1px solid #dedede;border-radius:12px;color:#111;background:#fff;font-weight:650;font-size:14px;white-space:nowrap}
.cabinet-shell .tm-story-composer.is-expanded .tm-compose-trigger{display:none}
.cabinet-shell .tm-story-composer textarea{background:#fff;min-height:98px;border:0;padding:10px 0;color:#171717;font-size:16px;outline-offset:2px;resize:vertical}
.tm-compose-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.tm-compose-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.tm-compose-note{display:block;margin-top:8px}
.cabinet-shell .tm-upload-label{display:inline-flex;align-items:center;flex-direction:row;gap:6px;font-size:14px;color:#32483c;cursor:pointer;min-height:44px}
.tm-upload-label input{width:min(210px,50vw);min-height:0;border:0;padding:3px;font-size:12px}
.cabinet-shell .tm-story{border:0;border-bottom:1px solid #e9e9e9;border-radius:0;background:white;margin:0;padding:17px 21px;grid-template-columns:40px minmax(0,1fr);gap:11px}
.cabinet-shell .tm-story:last-child{border-bottom:0}
.cabinet-shell .tm-story-avatar{width:40px;height:40px;min-width:40px;border-radius:50%;background:#e6ebe3;color:#224638;text-decoration:none;font-size:14px}
.tm-post-head{display:flex;align-items:baseline;gap:5px 9px;min-width:0;flex-wrap:wrap}
.tm-story-copy header{align-items:flex-start!important}
.tm-post-author{font-weight:750;text-decoration:none;color:#151515}
.tm-post-author:hover{text-decoration:underline}
.tm-post-head small,.tm-post-head time{color:#8b8b8b;font-size:12px}
.cabinet-shell .tm-story-copy .tm-post-text{margin:7px 0 11px;font:400 15px/1.55 system-ui,sans-serif;white-space:pre-wrap;overflow-wrap:anywhere;color:#171717}
.tm-post-media{display:grid;grid-template-columns:repeat(var(--tm-gallery-columns,2),minmax(0,1fr));gap:5px;margin:10px 0;min-width:0}
.tm-post-media a{display:block;aspect-ratio:1/1;overflow:hidden;border-radius:10px;background:#eee}
.tm-post-media img{width:100%;height:100%;object-fit:cover;display:block}
.tm-post-actions{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-top:11px;max-width:420px}
.cabinet-shell button.tm-post-action{display:inline-flex;align-items:center;gap:5px;min-height:44px;min-width:46px;padding:8px 7px;border:0;background:transparent;color:#5e6461;border-radius:8px;font-size:13px;font-weight:450}
.cabinet-shell button.tm-post-action:hover{background:#f3f5f2}
.cabinet-shell button.tm-post-action.is-active{color:#2f694a}
.cabinet-shell button.tm-post-action:first-child.is-active{color:#c9324d}
.tm-post-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.tm-post-action[data-post-action="save"].is-active .tm-post-icon{fill:currentColor}
.tm-post-repost-label{display:flex;align-items:center;gap:6px;color:#777;font-size:12px;margin-top:3px}
.tm-post-repost-label svg{width:14px;height:14px}
.tm-post-quoted{padding:11px 13px;border:1px solid #e1e4e0;border-radius:10px;margin:8px 0;font-size:13px;color:#333}
.tm-post-quoted p{white-space:pre-wrap;margin:6px 0!important;font-size:13px!important}
.tm-post-quoted .tm-post-media{max-height:190px;overflow:hidden}
.tm-post-notice{font-size:13px;color:#97352f;margin:4px 0}
.tm-post-notice.is-success{color:#2f694a}
.tm-post-notice.is-success a{color:inherit;text-decoration:underline}
.tm-post-comments{padding:12px 0 0;border-top:1px solid #eee}
.tm-post-comments[hidden]{display:none!important}
.tm-post-comments form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:7px;border:0;padding:9px 0 0}
.tm-post-comments textarea{min-height:50px!important;font-size:14px;border:1px solid #dedede!important;border-radius:9px;padding:9px!important}
.tm-post-comments button.primary{font-size:13px;padding-inline:9px}
.tm-post-comment-list{display:grid;gap:7px;max-height:380px;overflow:auto}
.tm-comment{background:#f8f8f7;border-radius:10px;padding:8px 11px;display:flex;align-items:flex-start;gap:7px;flex-wrap:wrap;font-size:13px}
.tm-comment strong{white-space:nowrap}.tm-comment span{white-space:pre-wrap;overflow-wrap:anywhere;flex:1 1 140px}
.cabinet-shell .tm-comment button{border:0;min-height:24px;padding:0 6px;color:#777;background:transparent}
.tm-story-more{margin:16px auto!important}
.cabinet-shell .tm-profile-header{padding:24px;border:1px solid #e6e6e6;border-radius:18px 18px 0 0;margin-bottom:0;background:white;color:#171717}
.tm-profile-top{display:flex;justify-content:space-between;align-items:start;gap:14px}
.tm-profile-identity{min-width:0}.tm-profile-identity h1{font:750 clamp(22px,4vw,27px)/1.25 system-ui,sans-serif;margin:8px 0 0}
.tm-profile-identity p{font-size:14px;margin:7px 0 0;overflow-wrap:anywhere}
.tm-profile-identity .tm-profile-handle{margin:1px 0 24px;color:#777}
.tm-profile-avatar{display:grid;place-items:center;width:86px;height:86px;border-radius:50%;background:#e7eee7;font-size:27px;font-weight:700;color:#2c553c;flex:0 0 86px;overflow:hidden}
.tm-profile-avatar img{width:100%;height:100%;object-fit:cover}
.tm-profile-tools{display:flex;align-items:flex-start;gap:10px}
.tm-profile-menu{display:grid;place-items:center;width:40px;height:40px;border:1px solid #e0e0e0;border-radius:50%;background:#fff;color:#171717;text-decoration:none;font-size:28px;line-height:1}
.tm-profile-menu:hover{background:#f7f7f7}
.tm-profile-tabs{display:flex;justify-content:space-around;border:1px solid #e6e6e6;border-top:0;border-bottom:0;background:#fff}
.tm-profile-tabs a{flex:1;text-align:center;min-height:48px;display:grid;place-items:center;text-decoration:none;font:650 14px system-ui,sans-serif;color:#777;border-bottom:2px solid #ddd}
.tm-profile-tabs a[aria-current=page]{color:#111;border-bottom-color:#111;box-shadow:none}
.tm-profile-tabs+.tm-story-feed{border-radius:0 0 18px 18px}
@media(max-width:520px){.cabinet-shell .tm-story{padding:13px 10px;gap:8px}.cabinet-shell .tm-story-composer{padding:12px 12px!important}.tm-compose-trigger{padding:0 10px;gap:8px}.tm-compose-trigger .tm-compose-placeholder{font-size:15px}.tm-compose-trigger .tm-compose-open{padding:0 10px;font-size:13px}.tm-post-head{gap:3px 7px}.tm-post-media{gap:3px}.tm-profile-avatar{width:68px;height:68px;flex-basis:68px}.cabinet-shell .tm-profile-header{padding:18px}.tm-post-comments form{grid-template-columns:minmax(0,1fr)}.tm-post-comments form button{justify-self:end}}
body.tamyr-family-shell #tabs.tm-nav{grid-template-columns:repeat(4,minmax(0,1fr))}
.tm-profile-tabs a{font-size:clamp(11px,2.5vw,14px);padding:0 4px}

/* TAMYR 3.00: compact messenger category filters */
.tm-message-categories{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:2px 0 14px;max-width:100%;}
.tm-message-category,.tm-message-add{display:inline-flex;align-items:center;justify-content:center;min-height:35px;padding:6px 13px;text-decoration:none;border:1px solid #cbd8c9;border-radius:999px;background:#fff;color:#244337;font:600 13px/1.2 system-ui,sans-serif;white-space:nowrap;}
.tm-message-category.selected{background:#e0f1de;border-color:#a9d5a8;color:#1b4b2f;}
.tm-message-category:focus-visible,.tm-message-add:focus-visible{outline:3px solid #b58b4c;outline-offset:2px;}
.tm-message-add{width:35px;min-width:35px;padding:0;font-size:23px;line-height:1;}
.tm-message-add:disabled{opacity:.4;cursor:not-allowed;}
@media(max-width:460px){.tm-message-categories{gap:5px}.tm-message-category{padding:7px 9px;font-size:11px}}

.tm-app-version{font:600 10px/1.2 system-ui,sans-serif;opacity:.67;vertical-align:middle;white-space:nowrap}

/* 3.01: accessible public QR/phone entry points and search refinements. */
.tm-public-access{padding:clamp(16px,3vw,26px);background:transparent;border:0;margin-bottom:20px}
.tm-public-access-head{display:flex;align-items:start;justify-content:space-between;gap:20px;margin-bottom:18px}
.tm-public-access-head h2{max-width:560px;font-size:clamp(1.75rem,4.5vw,2.5rem)}
.tm-public-access-head p{max-width:300px;color:var(--muted);font-size:14px;margin:0}
.tm-public-access-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.tm-public-access-card{display:flex;flex-direction:column;gap:14px;min-width:0;margin:0;padding:24px;border-radius:14px;min-height:315px;background:#e9eee6}
.tm-public-access-card:nth-child(2){background:#f0ede4}
.tm-public-phone-card{background:#e8eee9}
.tm-public-access-card small{font-size:11px;letter-spacing:.08em;color:#728073;text-transform:uppercase}
.tm-public-access-card h3{font-size:clamp(1.3rem,2vw,1.8rem);font-weight:400;margin:0}
.tm-public-access-card p{font-size:14px;color:var(--muted);margin:0;overflow-wrap:anywhere}
.tm-public-access-symbol{font-size:25px;line-height:1;color:#a68a57}
.tm-public-login-button{margin-top:auto;align-self:start;text-align:center}
.tm-public-access-card .tm-public-demo-note{font-size:12px}
@media(max-width:760px){.tm-public-access-head{display:block}.tm-public-access-head p{max-width:100%;margin:10px 0 0}.tm-public-access-grid{grid-template-columns:1fr}.tm-public-access-card{min-height:0;padding:18px;gap:9px}}

.cabinet-shell .tm-calendar-entry{
  width:min(100%,720px);
  margin:0 auto 12px;
  display:flex;
  justify-content:flex-end;
}
.cabinet-shell .tm-family-calendar{
  max-width:780px;
  margin-inline:auto;
}
.tm-family-calendar h1{margin:0 0 18px}
.tm-calendar-controls{
  display:flex;
  flex-wrap:wrap;
  align-items:end;
  justify-content:space-between;
  gap:12px;
}
.tm-calendar-month-picker{
  display:flex;
  align-items:end;
  gap:6px;
}
.tm-calendar-month-picker button{min-inline-size:44px;font-size:20px}
.tm-calendar-controls label{min-width:0;margin:0}
.tm-calendar-controls select,.tm-calendar-controls input{width:100%;min-height:44px}
.tm-calendar-confirmation{color:#2f694a;font-size:14px}
.cabinet-shell .tm-calendar-agenda .tm-calendar-day-group{
  border:0;
  background:transparent;
  padding:0 0 14px;
  margin:0;
  scroll-margin-top:24px;
}
@media(max-width:520px){
  .tm-calendar-controls>label,.tm-calendar-month-picker{flex:1 0 100%}
  .tm-calendar-month-picker label{flex:1}
}
