/* SERYNTA experience polish V4. In-place refinement, not a replacement theme.
   Editorial clinical record tone, usable touch targets, and print isolation. */
:root{--serynta-ink:#28232e;--serynta-bronze:#b98779;--serynta-muted:#71636a;--serynta-paper:#faf8f6;--serynta-stroke:#ded8d9}
body{background:var(--serynta-paper)}
a,button,input,select,textarea,summary{scroll-margin-top:90px}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #a65e6c;outline-offset:4px}
button,select,summary{touch-action:manipulation}
.button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:12px}
.button.button-outline{background:transparent;border:1px solid #c8bbc2;color:#2d2534;box-shadow:none;white-space:normal}
.button.button-outline:hover{border-color:#7e6478;background:#fff}
.future-hero{background:#1b1b20}.future-hero-portrait{inset:0;opacity:.95}.future-hero-portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.future-hero-vignette{background:linear-gradient(90deg,rgba(20,18,25,.84) 0%,rgba(29,25,30,.44) 51%,transparent 94%),linear-gradient(0deg,rgba(21,19,24,.55),transparent 45%)}
.future-copy h1{text-shadow:0 2px 16px #0000002e}
.hero-bottom-line{background:rgba(29,26,32,.88)}
.future-honesty span{opacity:.9}
.future-visual-note{border-color:#ffffff44;backdrop-filter:none;background:#211e2440}
.future-principle,.future-steps{position:relative}
.future-steps .feature-grid article{border-top:1px solid #d9d3d2}
.cinematic-fallback{object-position:center;filter:saturate(.88)}
.cinematic-gradient{background:linear-gradient(90deg,rgba(26,23,31,.88) 0%,rgba(26,23,31,.47) 55%,transparent 100%),linear-gradient(0deg,rgba(19,17,23,.55),transparent 60%)}
.cinematic-caption{pointer-events:none}
.surface-panel,.action-panel,.form-card,.workflow-paper{box-shadow:0 15px 45px rgba(40,25,35,.035)}
.proof-tag{letter-spacing:.015em}
.detail-grid dd{overflow-wrap:anywhere}
.help-evidence,.value-ribbon,.evidence-bridge,.consultation-intro{background:#fff;border:1px solid #e6dfe1;border-radius:13px}
.help-evidence{display:flex;gap:30px;align-items:center;justify-content:space-between;padding:28px;margin:38px 0}
.help-evidence h2{font-size:26px;margin:0 0 9px}.help-evidence p{max-width:650px}
.help-evidence>div:last-child{min-width:175px;display:grid;gap:12px}
.value-ribbon{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto;gap:16px;align-items:center;padding:22px 25px;margin:22px 0 30px;background:linear-gradient(120deg,#fff,#f8f3ef)}
.value-ribbon span,.evidence-bridge-aside span,.micro-label{display:block;color:#927267;font-size:10px;font-weight:800;letter-spacing:.14em;margin-bottom:7px}
.value-ribbon strong{display:block;font-family:Georgia,serif;font-weight:400;font-size:19px;line-height:1.2}
.value-ribbon p{font-size:12px;line-height:1.5;margin:6px 0 0;max-width:310px;color:#756a72}
.value-ribbon .button{font-size:12px;padding:10px 13px}
.records-head-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.evidence-bridge{display:grid;grid-template-columns:minmax(0,2fr) minmax(270px,1fr);gap:60px;padding:54px;margin-bottom:85px;margin-top:20px}
.evidence-bridge h2{font:clamp(2.2rem,4vw,4.4rem)/1.06 Georgia,serif;letter-spacing:-.055em;max-width:650px;margin:12px 0 18px}
.evidence-bridge p{max-width:590px;line-height:1.65;color:#685e62}
.evidence-bridge .button{margin-top:24px}
.evidence-bridge-aside{border-left:1px solid #e7dde0;padding-left:35px}
.evidence-bridge-aside strong{display:block;font:90px/.95 Georgia,serif;letter-spacing:-.07em;color:#9a656a;margin:10px 0 6px}
.evidence-bridge-aside small{font-size:12px;color:#7c7276}
.evidence-bridge-aside p{font-size:14px;margin:0 0 25px}
.knowledge-page,.consultation-page{max-width:1150px}
.knowledge-head{max-width:850px;padding:28px 0 40px}
.knowledge-head h1,.consultation-intro h1{font:clamp(2.7rem,5.5vw,5.9rem)/1.05 Georgia,serif;letter-spacing:-.058em;margin:7px 0 22px;color:#2b2231}
.knowledge-head p,.consultation-intro p{max-width:730px;line-height:1.7;color:#665c65;font-size:17px}
.knowledge-tools{border-bottom:1px solid #ded4da;padding:20px 0 23px;margin-bottom:29px}
.knowledge-tools>label{display:block;font-size:12px;color:#6d5c65;font-weight:700;margin:0 0 8px}
.knowledge-tools input{width:100%;max-width:720px;font-size:17px;background:#fff;border:1px solid #d9ced2;padding:15px 18px;border-radius:9px}
.knowledge-chips{display:flex;flex-wrap:wrap;gap:7px;margin:17px 0 10px}
.knowledge-chips button{border:1px solid #ded4d9;border-radius:50px;min-height:38px;padding:7px 15px;background:#fff;color:#5f545e;font:600 12px inherit;cursor:pointer}
.knowledge-chips button[aria-pressed=true]{background:#352936;color:#fff;border-color:#352936}
.knowledge-tools [data-knowledge-count]{font-size:12px;color:#70666d;min-height:18px}
.knowledge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.knowledge-card{background:#fff;border:1px solid #e9e1e3;border-radius:11px;padding:24px 21px 17px;min-width:0;box-shadow:0 12px 25px #4c29460a}
.knowledge-card[hidden],.knowledge-none[hidden]{display:none!important}
.knowledge-number{color:#94747b;font-size:10px;letter-spacing:.11em;font-weight:700;margin-bottom:16px}
.knowledge-card h2{font:26px/1.15 Georgia,serif;letter-spacing:-.04em;margin:0 0 13px;color:#312a33}
.knowledge-card p{color:#68606a;font-size:13px;line-height:1.7;margin:0 0 14px}
.knowledge-card summary{font-weight:700;color:#8a5366;font-size:13px;cursor:pointer;border-top:1px solid #ece5e7;margin-top:20px;padding:17px 0 6px}
.knowledge-card details p{font-size:13px;margin:14px 0}
.knowledge-limits{background:#f8f3f3;padding:12px;border-left:3px solid #bf8b8b}
.knowledge-sources{display:grid;gap:10px;margin:20px 0 5px;overflow-wrap:anywhere}
.knowledge-sources strong{font-size:12px}.knowledge-sources a{font-size:12px;line-height:1.5;text-decoration:underline;text-underline-offset:3px;color:#735265}
.research-bibliography{margin:48px 0 25px;padding:25px;background:white;border:1px solid #e8e0e4;border-radius:12px}
.research-bibliography h2{font:38px/1.05 Georgia,serif;letter-spacing:-.04em}
.research-bibliography p{max-width:820px;font-size:14px;color:#655d65;line-height:1.7}
.research-bibliography summary{cursor:pointer;font-weight:700;min-height:43px;padding-top:12px}
.research-bibliography details{border-top:1px solid #eee5e8;margin-top:15px;padding-top:7px}
.research-bibliography ol{margin:20px 0 10px;padding-left:25px}
.research-bibliography li{padding:10px 6px;border-bottom:1px solid #f2eaed;font-size:13px;line-height:1.4}
.research-bibliography li span{display:block;color:#75666d;font-size:11px;margin:5px 0}
.research-bibliography li p{font-size:12px;margin:6px 0}
.research-disclaimer{margin:22px 0 55px;padding:20px 24px;background:#f1e9e4;color:#4e4549;border-left:3px solid #ae827a;font-size:13px;line-height:1.6}
.clinical-mini-guide{margin:19px 0 14px;padding:22px 23px;background:#f7f1ef;border:1px solid #e4d7d2;border-radius:11px}
.clinical-mini-guide strong,.clinical-mini-guide h3{display:block;font:22px/1.22 Georgia,serif;color:#372e37;margin:0 0 8px}
.clinical-mini-guide p{color:#6c6269;font-size:13px;line-height:1.65;margin:8px 0}
.clinical-mini-guide a{color:#8d5061;font-weight:700;font-size:12px;text-decoration:underline}
.documentation-check{padding:22px 0;border-top:1px solid #e8dfe0;margin-top:15px}
.documentation-check h3{font-family:Georgia,serif}.documentation-check p{font-size:13px;color:#776c72;line-height:1.5}
.missing-tags{display:flex;flex-wrap:wrap;gap:7px}.missing-tags span{background:#f4f0f0;border:1px solid #e7dcde;color:#675f65;padding:7px 11px;border-radius:30px;font-size:12px}
.record-prepare-link{margin-top:15px}
.consultation-intro{padding:34px 39px;margin:20px 0 26px;background:linear-gradient(115deg,#fff,#f8f2f0)}
.consultation-intro h1{margin-bottom:8px}
.consultation-side ol{padding-left:25px;color:#665d63;line-height:1.7}
.consultation-page .record-checkboxes{margin-bottom:20px}
.consultation-print{max-width:940px}
.print-actions{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:35px}
.consultation-print h1{font:clamp(2.3rem,5vw,4.8rem)/1.05 Georgia,serif;letter-spacing:-.05em;margin:11px 0 15px}
.print-disclaimer{padding:16px;border-left:3px solid #b97b80;background:#f8f1ef;color:#66575d;font-size:13px;line-height:1.6;margin:30px 0}
.print-record{background:#fff;border:1px solid #e5dfe2;border-radius:10px;padding:24px;margin:15px 0;break-inside:avoid}
.print-record>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:15px}
.print-record>div:first-child strong{font:21px Georgia,serif}.print-record>div:first-child span{font-size:12px;color:#6b6068}
.print-record dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 16px;margin:0}.print-record dt{font-size:10px;color:#786970;text-transform:uppercase;letter-spacing:.08em}.print-record dd{font-size:13px;margin:3px 0 10px;overflow-wrap:anywhere}
.print-record p{font-size:13px;line-height:1.7}.print-questions{border-top:1px solid #e6dcdf;margin:28px 0;padding:20px 0}.print-questions h2{font:25px Georgia,serif}.print-questions p{white-space:pre-wrap;line-height:1.6}
.photo-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.photo-steps article{border:1px solid #e6dcde;border-radius:11px;background:#fff;padding:23px}
.photo-steps article span{color:#a27874;font:24px Georgia,serif}.photo-steps article h2{font:27px Georgia,serif;letter-spacing:-.03em;margin:6px 0 13px}.photo-steps article p{font-size:14px;line-height:1.7;color:#665e64}
@media(max-width:1100px){.value-ribbon{grid-template-columns:1fr auto;gap:17px}.knowledge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.future-hero-portrait{opacity:.82}.future-hero-vignette{background:linear-gradient(90deg,#201b26db,#211b27a9),linear-gradient(0deg,#211c26e6,transparent 75%)}.value-ribbon{grid-template-columns:1fr;padding:20px}.value-ribbon .button{justify-self:start}.knowledge-grid,.photo-steps,.evidence-bridge{grid-template-columns:1fr}.evidence-bridge{padding:28px;gap:24px}.evidence-bridge-aside{border-left:0;border-top:1px solid #e5dce1;padding:26px 0 0}.consultation-intro{padding:24px}.knowledge-head{padding-top:15px}.help-evidence{display:block;padding:20px}.help-evidence>div:last-child{margin-top:19px}.print-record dl{grid-template-columns:1fr}.print-record>div:first-child{display:block}.print-record>div:first-child span{display:block;margin-top:9px}}
@media print{
 body{background:#fff!important;color:#000!important;font-size:11pt}
 body:has(.consultation-print) header,body:has(.consultation-print) footer,body:has(.consultation-print) .pilot-banner,body:has(.consultation-print) .print-actions{display:none!important}
 body:has(.consultation-print) main{padding:0!important}
 .consultation-print{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
 .print-record{box-shadow:none!important;border:1px solid #bbb!important}
 .print-disclaimer{background:#fff!important;border:1px solid #aaa!important}
 a{text-decoration:none!important}
 @page{size:A4;margin:16mm}
}
@media(prefers-reduced-motion:reduce){.knowledge-card,.value-ribbon,.print-record{transition:none!important}}
/* Patient supplied history intake */
.import-page{max-width:1120px}.import-page .knowledge-head{padding:20px 0 28px}
.import-page input[type=file]{display:block;max-width:100%;padding:18px;border:1px dashed #c6aab4;border-radius:9px;background:#f9f5f5;cursor:pointer}
.import-steps{background:#f9f5f2;padding:18px 22px;border-radius:9px;margin:22px 0}
.import-steps h3{font:23px Georgia,serif;margin:0 0 11px}.import-steps ol{color:#645d63;font-size:13px;line-height:1.85;padding-left:22px}
.import-page .checkbox-row{max-width:680px;margin:22px 0}
.source-note{padding:15px 20px;background:#f9f7f6;border-left:3px solid #bfa69d;margin:18px 0}
.source-note strong{font-size:12px;color:#70616a}.source-note p{font-size:13px;color:#6c636a;margin:5px 0;overflow-wrap:anywhere}
.empty-import-link{display:block;margin:15px 0;color:#765f70;font-size:12px;text-decoration:underline;text-underline-offset:3px}
.record-showmore{display:block;margin:25px auto 5px;border:1px solid #d5c9cf;background:#fff;color:#4e4051;border-radius:5px;padding:13px 18px;cursor:pointer;font-weight:700}
.record-showmore[hidden]{display:none!important}
/* Honest, fully fictional read-only product demonstration */
.demo-page{max-width:1180px}.demo-head{background:#29212c;color:white;border-radius:14px;padding:50px;display:flex;gap:35px;justify-content:space-between;align-items:end}
.demo-head>div:first-child{max-width:800px}.demo-head h1{font:clamp(2.8rem,5vw,5.4rem)/1.05 Georgia,serif;letter-spacing:-.055em;margin:15px 0 20px}
.demo-head p{font-size:16px;line-height:1.65;max-width:630px;color:#e2d6dd}
.demo-head .pill{display:inline-block;margin-top:16px}.demo-actions{display:grid;min-width:220px;gap:11px}.demo-actions .button{padding:15px}
.demo-content{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.8fr);gap:20px;margin:35px 0}
.demo-content>div:first-child,.demo-permission,.demo-info{background:white;border:1px solid #e8e1e5;padding:28px;border-radius:11px}
.demo-section-head h2{font:35px Georgia,serif;margin:10px 0 25px;letter-spacing:-.04em}
.demo-content .filter-bar{display:grid;grid-template-columns:1fr 180px;gap:12px;align-items:end}
.demo-content .filter-bar label{font-size:12px;font-weight:700;display:grid;gap:7px}
.demo-content .filter-bar input,.demo-content .filter-bar select{width:100%;min-height:42px}
.demo-treatment{border-bottom:1px solid #ece6e9;padding:12px 0}
.demo-treatment summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:15px;cursor:pointer;padding:13px 0}
.demo-treatment summary::-webkit-details-marker{display:none}
.demo-treatment summary strong{display:block;font:24px Georgia,serif;letter-spacing:-.03em;margin:7px 0 13px}
.demo-treatment summary small{font-size:11px;letter-spacing:.07em;color:#7b6873}
.demo-treatment summary .proof-tag{display:inline-block;margin:0}.demo-chevron{font-size:12px;color:#7e6371;white-space:nowrap}
.demo-treatment[open] .demo-chevron{color:#a35d6c}
.demo-treatment>p{font-size:13px;line-height:1.6;color:#695e66}.demo-treatment dl{display:flex;gap:40px}.demo-treatment dt{font-size:10px;color:#786670}.demo-treatment dd{font-size:13px;margin:5px 0}
.demo-side{display:grid;gap:15px;align-content:start}.demo-permission h3,.demo-info h3{font:26px Georgia,serif;margin:8px 0 23px}
.demo-permission>div{display:flex;justify-content:space-between;border-bottom:1px solid #f0e9eb;padding:15px 0;font-size:12px}
.demo-permission>div strong{color:#7b5969;font-size:12px}.demo-permission p,.demo-info p{color:#655d64;font-size:13px;line-height:1.7;margin:24px 0 15px}
.demo-bottom{padding:50px 0 80px;text-align:center}.demo-bottom h2{font:42px Georgia,serif;letter-spacing:-.05em;margin-bottom:8px}.demo-bottom p{font-size:14px;color:#686169;margin-bottom:20px}
@media(max-width:880px){.demo-head{display:block;padding:32px}.demo-actions{margin-top:30px;display:flex;flex-wrap:wrap}.demo-content{grid-template-columns:1fr}}
@media(max-width:570px){.demo-head{padding:23px}.demo-content .filter-bar{grid-template-columns:1fr}.demo-content>div:first-child,.demo-permission,.demo-info{padding:19px}.demo-content{margin:20px 0}.demo-treatment summary{align-items:flex-start}.demo-chevron{white-space:normal;text-align:right;max-width:55px}}
.language-coverage-note{max-width:1150px;margin-top:18px;font-size:12px}
/* Native hidden must override grid/card display declarations in every viewport. */
[data-record-list] .timeline-item[hidden],
[data-record-list] [data-search][hidden],
[data-record-picker] .checkbox-row[hidden]{display:none!important}
