.period-toolbar { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:24px; }
.period-toolbar h2 { font-size:19px; margin-bottom:6px; }
.compact-field { font-size:11px; min-width:155px; }
.period-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; border-block:1px solid var(--line); padding:24px 0; margin-bottom:32px; }
.period-stats>div { display:flex; flex-direction:column; align-items:flex-start; gap:7px; min-width:0; }
.period-stats .icon { color:var(--accent); margin-bottom:8px; }
.period-stats>div:nth-child(2) .icon { color:#ac802a; }
.period-stats>div:nth-child(3) .icon { color:#388399; }
.period-stats>div:nth-child(4) .icon { color:#7c6396; }
.period-stats strong { font-size:30px; line-height:1.2; font-variant-numeric:tabular-nums; }
.period-stats span { font-size:12px; }
.period-stats small { font-size:11px; }
.progress-columns { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); gap:40px; }
.progress-columns>section { min-width:0; }
.period-chart { display:flex; align-items:flex-end; gap:10px; height:180px; border-bottom:1px solid var(--line); padding-bottom:14px; }
.period-chart>div { flex:1; min-width:0; display:flex; flex-direction:column; align-items:center; gap:10px; }
.period-chart strong { font-size:12px; }
.period-chart span { width:100%; max-width:40px; background:#6ea79b; border-radius:4px 4px 0 0; }
.period-chart>div:last-child span { background:#087c78; }
.period-chart small { font-size:10px; text-align:center; }
.metric-note { font-size:11px; color:var(--muted); line-height:1.6; margin-top:14px; }
.recovery-values { display:flex; gap:40px; margin:24px 0; }
.recovery-values strong,.recovery-values small { display:block; }
.recovery-values strong { font-size:27px; margin-bottom:8px; }
.empty-inline { font-size:13px; color:var(--muted); padding:25px 0; }
.photo-section { padding-top:26px; border-top:1px solid var(--line); }
.photo-section .section-head>div { min-width:0; }
.photo-section .section-head h2 { margin-bottom:5px; }
.photo-empty { display:flex; align-items:center; gap:20px; min-height:140px; background:#edf1f0; padding:24px; border-radius:6px; }
.photo-empty>.icon { width:30px; height:30px; color:#7a938b; }
.photo-empty h3 { font-size:16px; margin-bottom:5px; }
.photo-empty p { color:var(--muted); font-size:13px; }
.photo-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.photo-tile { min-width:0; padding:0; text-align:left; }
.photo-tile img { width:100%; aspect-ratio:3/4; object-fit:contain; background:#e5ebe8; border-radius:6px; }
.photo-tile>span { display:flex; justify-content:space-between; gap:8px; padding:10px 0; }
.photo-tile strong { font-size:12px; }
.photo-upload { position:relative; min-height:96px; display:flex; align-items:center; justify-content:center; gap:10px; border:1px dashed #87a59b; border-radius:6px; background:#f3f7f5; cursor:pointer; font-size:14px; }
.photo-upload input { position:absolute; inset:0; width:100%; opacity:0; cursor:pointer; }
.photo-upload:focus-within { outline:3px solid #14babc; outline-offset:3px; }
.photo-preview { max-height:180px; width:100%; object-fit:contain; background:#e7ecea; }
.photo-full { width:100%; max-height:65dvh; object-fit:contain; }
.compare-controls,.compare-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.compare-controls .field { min-width:0; }
.compare-grid { margin-top:16px; }
.compare-grid figure { margin:0; min-width:0; }
.compare-grid img { width:100%; aspect-ratio:3/4; object-fit:contain; background:#e7ecea; }
.compare-grid figcaption { font-size:11px; color:var(--muted); padding-top:10px; }
.day-records>div { display:grid; grid-template-columns:1fr 1fr 1fr 1fr; gap:16px; padding:16px 0; border-bottom:1px solid var(--line); font-size:12px; }
.day-records span { color:var(--muted); }
.messages-page { max-width:850px; margin:auto; }
.conversation { border:1px solid var(--line); border-radius:8px; background:#fff; overflow:hidden; min-width:0; }
.conversation>header { display:flex; align-items:center; gap:12px; padding:18px 24px; border-bottom:1px solid var(--line); }
.conversation h2 { font-size:17px; }
.conversation-log { height:360px; height:min(45dvh,480px); min-height:180px; overflow:auto; overscroll-behavior:contain; padding:24px; display:flex; flex-direction:column; gap:16px; }
.chat-message { max-width:85%; padding:14px 16px; border-radius:8px; background:#f0f3f2; align-self:flex-start; min-width:0; }
.chat-message.mine { background:#def2e9; align-self:flex-end; }
.chat-message strong { font-size:11px; color:#46685d; }
.chat-message p { font-size:14px; margin:6px 0; white-space:pre-wrap; overflow-wrap:anywhere; word-break:normal; }
.chat-message small { display:block; font-size:10px; }
.conversation-empty { margin:auto; text-align:center; color:var(--muted); }
.conversation-empty>.icon { width:32px; height:32px; margin-bottom:15px; }
.conversation-empty h3 { font-size:16px; color:var(--ink); }
.conversation-empty p { font-size:12px; margin-top:8px; }
.message-composer { display:grid; grid-template-columns:minmax(0,1fr) 46px; gap:10px; align-items:end; border-top:1px solid var(--line); padding:16px 24px; }
.message-composer textarea { min-width:0; width:100%; resize:vertical; max-height:160px; border:1px solid var(--line); border-radius:6px; padding:12px; font-size:14px; line-height:1.5; }
.message-composer .primary { padding:0; width:46px; height:46px; }
.message-composer small { grid-column:1/-1; font-size:10px; }
.agenda-layout { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr); gap:32px; }
.calendar-panel { min-width:0; }
.calendar-toolbar { display:flex; align-items:center; gap:10px; margin-bottom:20px; }
.calendar-toolbar h2 { flex:1; font-size:19px; text-transform:capitalize; }
.calendar-weekdays,.calendar-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); }
.calendar-weekdays span { text-align:center; font-size:11px; color:var(--muted); padding:12px 0; }
.calendar-grid { border-top:1px solid var(--line); border-left:1px solid var(--line); }
.calendar-day { height:100px; padding:10px 5px; text-align:left; border-right:1px solid var(--line); border-bottom:1px solid var(--line); background:white; display:flex; flex-direction:column; align-items:stretch; gap:8px; min-width:0; }
.calendar-day>strong { width:25px; height:25px; display:grid; place-items:center; font-size:12px; border-radius:50%; flex-shrink:0; }
.calendar-day.outside { background:#f0f3f2; color:#8a9994; }
.calendar-day.today>strong { background:#203033; color:white; }
.calendar-day[aria-pressed=true] { background:#def2e9; box-shadow:inset 0 0 0 2px var(--accent); }
.calendar-events { display:grid; gap:3px; min-width:0; }
.calendar-events small { font-size:9px; color:#315a4f; text-overflow:ellipsis; overflow:hidden; white-space:nowrap; background:#e5efea; padding:3px; border-radius:3px; }
.calendar-day>i { display:none; }
.calendar-legend { display:flex; align-items:center; gap:6px; font-size:11px; color:var(--muted); margin-top:14px; }
.calendar-legend>span:last-child { margin-left:auto; }
.event-dot { width:6px; height:6px; border-radius:50%; background:var(--accent); }
.day-agenda { min-width:0; }
.calendar-jump { display:none; }
#selected-day-title,.calendar-toolbar { scroll-margin-top:20px; }
.day-agenda>.section-head h2 { font-size:17px; text-transform:capitalize; }
.appointment-row { border-top:1px solid var(--line); padding:22px 0; }
.appointment-row h3 { margin:12px 0 6px; font-size:17px; overflow-wrap:anywhere; }
.appointment-row p { font-size:12px; color:var(--muted); overflow-wrap:anywhere; }
.appointment-row .inline-actions { margin-top:16px; flex-wrap:wrap; }
.appointment-note { padding:10px 0; }
.agenda-empty { background:#edf1f0; padding:24px; color:var(--muted); border-radius:6px; font-size:13px; }
.agenda-empty>.icon { margin-bottom:10px; }
.upcoming-row { display:flex; gap:12px; align-items:center; width:100%; text-align:left; padding:16px 0; border-bottom:1px solid var(--line); }
.upcoming-row>span:first-child { min-width:60px; }
.upcoming-row>span:nth-child(2) { flex:1; min-width:0; font-size:13px; overflow-wrap:anywhere; }
.upcoming-row strong { display:block; font-size:12px; }
.upcoming-row small { display:block; margin-top:4px; font-size:11px; }
.field input[type=date],.field input[type=time] { width:100%; min-width:0; }
@media(max-width:760px) {
  #navigation { grid-template-columns:repeat(5,minmax(0,1fr)); }
  #navigation a { font-size:9px; }
  .period-toolbar { align-items:flex-start; gap:12px; }
  .period-toolbar h2 { font-size:17px; }
  .period-toolbar small { font-size:10px; }
  .compact-field { min-width:126px; font-size:10px; }
  .compact-field select { padding:8px 4px; font-size:12px; }
  .period-stats { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 16px; padding:22px 0; }
  .period-stats strong { font-size:27px; }
  .progress-columns { grid-template-columns:minmax(0,1fr); gap:28px; }
  .period-chart { gap:6px; overflow:auto; }
  .period-chart>div { min-width:25px; }
  .period-chart small { font-size:9px; }
  .photo-section .section-head { align-items:flex-start; flex-wrap:wrap; }
  .photo-section .secondary { min-height:38px; font-size:12px; padding:10px; }
  .photo-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .photo-empty { padding:18px; gap:14px; }
  .day-records>div { grid-template-columns:1fr 1fr; gap:8px 16px; }
  .day-records span:last-child { text-align:right; }
  .compare-controls,.compare-grid { gap:10px; }
  .compare-controls select { font-size:12px; padding:10px 4px; }
  .conversation>header { padding:16px; }
  .conversation h2 { font-size:15px; }
  .conversation-log { padding:16px; height:42dvh; min-height:200px; }
  .chat-message { max-width:90%; padding:12px; }
  .message-composer { padding:14px; gap:8px; }
  .message-composer textarea { font-size:16px; }
  .agenda-layout { grid-template-columns:minmax(0,1fr); gap:28px; }
  .calendar-toolbar { gap:4px; }
  .calendar-toolbar h2 { font-size:16px; }
  .calendar-toolbar .icon-button { width:30px; }
  .calendar-toolbar .text-button { padding-left:6px; }
  .calendar-day { height:56px; align-items:center; padding:5px 2px; gap:4px; }
  .calendar-events { display:none; }
  .calendar-day>i { display:block; width:5px; height:5px; border-radius:50%; background:var(--accent); }
  .calendar-legend { font-size:10px; }
  .day-agenda .section-head { margin-bottom:10px; }
  .calendar-jump { display:inline-flex; }
  .appointment-row { padding:18px 0; }
  .photo-upload { min-height:90px; }
}
.more-links { max-width:850px; }
.more-links>a { display:flex; align-items:center; gap:18px; padding:22px 0; border-bottom:1px solid var(--line); color:var(--ink); text-decoration:none; }
.more-links>a>span:nth-child(2) { flex:1; min-width:0; }
.more-links strong,.more-links small { display:block; }
.more-links strong { font-size:16px; margin-bottom:6px; }
.more-links small { font-size:12px; line-height:1.5; }
.more-icon { display:grid; place-items:center; width:44px; height:44px; background:#e2efea; border-radius:6px; flex-shrink:0; }
.more-links>a:nth-child(2) .more-icon { background:#f3ece0; }
.more-links>a:nth-child(3) .more-icon { background:#e9e7f1; }
.health-tabs { display:flex; gap:24px; border-bottom:1px solid var(--line); margin-bottom:28px; }
.health-tabs a { padding:16px 0; text-decoration:none; color:var(--muted); font-size:14px; font-weight:600; border-bottom:2px solid transparent; }
.health-tabs a[aria-current] { color:var(--accent); border-color:var(--accent); }
.health-heading { flex-wrap:wrap; gap:14px; }
.health-heading h2 { font-size:20px; margin-bottom:6px; }
.health-heading small { font-size:12px; }
.health-empty { padding:42px 16px; border-block:1px solid var(--line); text-align:center; margin:24px 0; }
.health-empty>.icon { width:30px; height:30px; color:var(--muted); margin-bottom:16px; }
.health-empty h2,.health-empty h3 { font-size:18px; margin-bottom:10px; }
.health-empty p { font-size:13px; color:var(--muted); line-height:1.6; }
.health-item { padding:26px 0; border-bottom:1px solid var(--line); overflow-wrap:anywhere; }
.health-item h3 { margin:12px 0 8px; font-size:19px; }
.health-item p { line-height:1.65; font-size:14px; margin:12px 0; white-space:pre-wrap; }
.health-item small { font-size:12px; }
.health-item .inline-actions { flex-wrap:wrap; margin-top:16px; }
.health-item>div:first-child>.inline-actions { margin-top:0; }
.exam-feedback { margin-top:20px; padding:14px 18px; border-left:3px solid #84a795; background:#edf4ef; }
.exam-feedback strong { font-size:12px; }
.exam-feedback p { margin-bottom:0; }
.exam-pdf { width:100%; height:55dvh; border:1px solid var(--line); margin-top:16px; }
.guidance-facts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin:22px 0; }
.guidance-facts small,.guidance-facts strong { display:block; }
.guidance-facts strong { font-size:14px; margin-top:7px; line-height:1.5; }
.guidance-summary { display:flex; align-items:center; gap:18px; padding:22px 0; margin:0 0 24px; border-block:1px solid var(--line); }
.guidance-summary-icon { width:52px; height:52px; display:grid; place-items:center; background:#e1ece7; color:#336b59; border-radius:8px; flex-shrink:0; }
.guidance-summary-icon .icon { width:26px; height:26px; }
.guidance-summary>div { min-width:0; }
.guidance-summary strong { display:block; font-size:24px; }
.guidance-counts { margin-left:auto; display:flex; flex-wrap:wrap; gap:12px; justify-content:flex-end; }
.guidance-counts span { display:flex; align-items:center; gap:7px; color:#336b59; font-size:12px; }
.guidance-counts .icon { width:16px; height:16px; }
.guidance-counts .draft-count { color:#946526; }
.guidance-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:stretch; gap:20px; }
.guidance-card { --guidance-color:#426e61; --guidance-wash:#edf4f0; border:1px solid #d7e2dd; border-top:3px solid var(--guidance-color); background:#fff; border-radius:8px; padding:22px; min-width:0; display:flex; flex-direction:column; box-shadow:0 3px 12px #203c2f05; overflow-wrap:anywhere; }
.guidance-general { --guidance-color:#74639b; --guidance-wash:#f0edf6; }
.guidance-prescribed { --guidance-color:#a17c37; --guidance-wash:#f8f2e6; }
.guidance-card>header { display:flex; align-items:center; gap:10px; }
.guidance-category-icon { width:38px; height:38px; border-radius:6px; background:var(--guidance-wash); color:var(--guidance-color); display:grid; place-items:center; flex-shrink:0; }
.guidance-category { flex:1; min-width:0; font-size:11px; font-weight:600; color:var(--guidance-color); }
.guidance-card .pill { flex-shrink:0; font-size:10px; }
.guidance-card h3 { font-size:22px; line-height:1.3; margin:20px 0 4px; }
.guidance-product { display:flex; align-items:center; gap:18px; margin:22px 0 6px; min-width:0; }
.guidance-product>div { min-width:0; flex:1; }
.guidance-product h3 { margin:0 0 6px; }
.guidance-product-art { flex-shrink:0; width:78px; height:86px; display:grid; place-items:center; border-radius:8px; background:var(--guidance-wash); color:var(--guidance-color); }
.guidance-product-art .icon { width:48px; height:48px; stroke-width:1.4; }
.guidance-card[data-presentation=tablet] .guidance-product-art { color:#736396; background:#efecf6; }
.guidance-card[data-presentation=tablet] .guidance-product-art .icon,.presentation-option input[value=tablet]+span .icon { transform:rotate(-35deg); }
.guidance-card[data-presentation=capsule] .guidance-product-art { color:#3e7b6d; background:#e6f1ec; }
.guidance-card[data-presentation=powder] .guidance-product-art,.guidance-card[data-presentation=sachet] .guidance-product-art { color:#95702e; background:#f8f0df; }
.guidance-card[data-presentation=liquid] .guidance-product-art,.guidance-card[data-presentation=drops] .guidance-product-art { color:#357c93; background:#e8f3f6; }
.guidance-card[data-presentation=injectable] .guidance-product-art { color:#46778a; background:#e9f1f5; }
.guidance-presentation-label { display:block; color:var(--muted); font-size:12px; }
.guidance-syringe { --syringe-level:0%; padding:20px 0 16px; margin:16px 0 4px; border-block:1px solid var(--line); color:#3c6570; }
.syringe-caption { display:flex; justify-content:space-between; flex-wrap:wrap; align-items:baseline; gap:8px; font-size:11px; }
.syringe-caption strong { color:var(--ink); font-size:13px; font-variant-numeric:tabular-nums; }
.syringe-structure { display:flex; align-items:center; height:72px; width:100%; }
.syringe-needle { flex:0 0 22px; height:2px; background:#91a6ae; }
.syringe-nozzle { flex:0 0 12px; height:14px; background:#d5e7e9; border:1px solid #829ca6; border-radius:3px 0 0 3px; }
.syringe-chamber { position:relative; flex:1; height:38px; border:2px solid #839fa7; border-radius:5px; background:#f5fafb; overflow:hidden; box-shadow:inset 0 3px 6px #597e8612; }
.syringe-liquid { position:absolute; inset:0 auto 0 0; width:var(--syringe-level); background:#95d7cf; border-top:5px solid #b8e9e2; border-bottom:5px solid #78bdb7; }
.syringe-ticks { position:absolute; inset:0 0 auto; height:11px; background:repeating-linear-gradient(90deg,transparent 0 calc(var(--syringe-tick,10%) - 1px),#79949b calc(var(--syringe-tick,10%) - 1px) var(--syringe-tick,10%)); }
.syringe-rod { position:absolute; top:14px; bottom:14px; left:var(--syringe-level); right:0; background:#cedadd; border-block:1px solid #92a7ae; }
.syringe-stopper { position:absolute; top:0; bottom:0; left:clamp(0px,calc(var(--syringe-level) - 4px),calc(100% - 4px)); width:4px; background:#496e76; border-radius:1px; }
.syringe-grip { flex:0 0 5px; height:54px; border:1px solid #829ca6; border-radius:2px; background:#dce8eb; }
.syringe-handle { flex:0 0 36px; height:9px; border-block:1px solid #829ca6; background:#dce8eb; position:relative; }
.syringe-handle::after { content:''; position:absolute; right:0; top:-13px; width:5px; height:33px; border:1px solid #829ca6; background:#dce8eb; border-radius:2px; }
.syringe-ruler { margin:-8px 41px 0 34px; display:flex; justify-content:space-between; font-size:10px; color:var(--muted); font-variant-numeric:tabular-nums; }
.syringe-preparation { font-size:12px; margin-top:20px; }
.syringe-preparation strong,.syringe-preparation span { display:block; }
.syringe-preparation strong { font-size:10px; font-weight:500; color:var(--muted); margin-bottom:5px; }
.syringe-disclaimer { margin-top:14px; font-size:10px; line-height:1.6; color:var(--muted); }
.no-reference .syringe-caption strong { font-size:11px; font-weight:400; color:var(--muted); }
.injection-fields { display:grid; gap:16px; padding:18px 0; border-block:1px solid var(--line); }
.injection-fields .metric-note { margin:0; }
.calculation-result { padding:16px 0; border-block:1px solid var(--line); display:grid; gap:12px; }
.calculation-result dl { margin:0; display:grid; gap:12px; }
.calculation-result dl div { display:grid; gap:4px; }
.calculation-result dt { color:var(--muted); font-size:12px; }
.calculation-result dd { margin:0; font-size:18px; font-weight:700; overflow-wrap:anywhere; }
.calculation-confirm { display:flex; align-items:flex-start; gap:10px; font-size:13px; line-height:1.5; }
.calculation-confirm input { flex:0 0 20px; width:20px; height:20px; margin:2px 0 0; }
.calculation-confirm:has(input:disabled) { color:var(--muted); cursor:not-allowed; }
.calculation-blocked { padding:12px 14px; background:#fff6e8; border-left:3px solid #bd8429; color:#664612; font-size:13px; }
.calculation-blocked p { margin:6px 0 0; }
.dose-unit-error { color:#a43131; }
#guidance-scale-notice:empty { display:none; }
.guidance-object { margin:18px 0 8px; border-block:1px solid var(--line); }
.object-scene { height:158px; display:grid; place-items:center; overflow:hidden; background:#f5f8f7; }
.object-drawing { position:relative; width:180px; height:136px; display:grid; place-items:center; animation:object-arrive .5s ease-out both; }
.object-drawing span,.object-drawing i,.object-drawing b { display:block; position:absolute; }
.guidance-object figcaption { padding:10px 0; display:flex; justify-content:space-between; flex-wrap:wrap; gap:6px; color:var(--ink); font-size:12px; }
.guidance-object figcaption small { font-size:10px; }
.object-tablet { width:90px; height:90px; border-radius:50%; background:linear-gradient(145deg,#faf8ff,#d3cce3); border:1px solid #b9b0cb; box-shadow:0 6px 0 #b8afc7,0 8px 0 #a69bb7; transform:rotate(-28deg) scaleY(.82); }
.object-tablet::before { content:''; position:absolute; inset:5px; border:1px solid #ffffffaa; border-radius:50%; }
.object-tablet i { left:8px; right:8px; top:42px; height:4px; border-top:2px solid #a599b9; border-bottom:2px solid #ffffffa0; }
.object-capsule { width:124px; height:52px; border:1px solid #548b7d; border-radius:28px; overflow:hidden; transform:rotate(-28deg); box-shadow:0 4px 0 #548b7d33; background:#edf5f1; }
.object-capsule i { inset:0 50% 0 0; background:linear-gradient(#a3d7c8,#62a18d); border-right:2px solid #528774; }
.object-capsule b { top:6px; left:14px; right:14px; height:8px; border-radius:8px; background:#ffffff80; }
.object-jar { left:38px; top:19px; width:90px; height:110px; }
.object-lid { z-index:2; left:-3px; right:-3px; top:0; height:18px; background:repeating-linear-gradient(90deg,#b89a59 0 4px,#9e813f 4px 5px); border:1px solid #927839; border-radius:5px 5px 2px 2px; }
.object-jar-body { top:16px; width:90px; height:92px; border:1px solid #b49e6d; border-radius:4px 4px 12px 12px; background:linear-gradient(90deg,#e4d4af,#fcf8e9 40%,#e4d5b3); }
.object-label { left:10%; right:10%; top:28%; height:44%; border-block:1px solid #c7d6cc; background:#ecf3ef; }
.object-label::after { content:''; position:absolute; width:30%; left:35%; top:40%; height:3px; background:#8cac9e; box-shadow:0 7px 0 #b5cbbf; }
.object-scoop { width:58px; height:34px; left:117px; bottom:15px; transform:rotate(-18deg); }
.object-scoop i { width:30px; height:24px; border:2px solid #a99875; border-top:6px solid #e5ddc9; background:#c9ba98; border-radius:4px 4px 14px 14px; }
.object-scoop b { width:29px; height:5px; left:28px; top:8px; background:#c9ba98; border:1px solid #a99875; border-radius:2px; }
.object-bottle { top:7px; width:70px; height:121px; }
.object-cap { width:35px; height:17px; left:17px; top:0; background:repeating-linear-gradient(90deg,#789fad 0 3px,#537b8c 3px 4px); border-radius:3px 3px 0 0; }
.object-neck { width:29px; height:18px; left:20px; top:16px; background:#d3e5eb; border-inline:1px solid #7ba1ad; }
.object-bottle-body { left:0; top:31px; width:70px; height:88px; border-radius:17px 17px 8px 8px; background:linear-gradient(90deg,#98bdcb,#e0eff3 45%,#a5c8d5); border:1px solid #7ca4b4; }
.presentation-liquid .object-label { background:#e9f0f5; border-color:#b7cdd8; }
.object-dropper { top:4px; width:65px; height:125px; }
.object-bulb { width:24px; height:35px; left:20px; top:0; border-radius:14px 14px 4px 4px; background:linear-gradient(90deg,#436470,#7098a4,#3a616e); }
.object-collar { top:31px; left:11px; width:42px; height:17px; background:repeating-linear-gradient(90deg,#8fabb5 0 3px,#688c9a 3px 4px); border-radius:3px; z-index:1; }
.object-dropper-body { top:46px; left:0; width:65px; height:77px; border:1px solid #8b764c; border-radius:14px 14px 7px 7px; background:linear-gradient(90deg,#b79b61,#dec693 40%,#ae935d); }
.presentation-drops .object-label { background:#f0f1e8; border-color:#c9c9b5; }
.object-sachet { width:84px; height:113px; top:12px; transform:rotate(7deg); border:1px solid #9faeab; border-radius:2px; background:linear-gradient(100deg,#e0e8e5,#fff 32%,#e1ebe6); }
.object-seal { left:0; right:0; height:10px; background:repeating-linear-gradient(90deg,#b9c7c0 0 2px,#e2e9e4 2px 4px); }
.object-seal.top { top:0; }.object-seal.bottom { bottom:0; }
.object-sachet .object-label { left:9%; right:9%; top:31%; height:36%; background:#e5edde; border-color:#becbb1; }
@keyframes object-arrive { from{opacity:0;transform:translateY(5px)} to{opacity:1;transform:translateY(0)} }
.has-reference .syringe-liquid { animation:syringe-fill-in .7s ease-out both; }
.has-reference .syringe-stopper { animation:syringe-stopper-in .7s ease-out both; }
.has-reference .syringe-rod { animation:syringe-rod-in .7s ease-out both; }
@keyframes syringe-fill-in { from{width:0} to{width:var(--syringe-level)} }
@keyframes syringe-stopper-in { from{left:0} to{left:clamp(0px,calc(var(--syringe-level) - 4px),calc(100% - 4px))} }
@keyframes syringe-rod-in { from{left:0} to{left:var(--syringe-level)} }
@media(prefers-reduced-motion:reduce) {
  .has-reference .syringe-liquid,.has-reference .syringe-stopper,.has-reference .syringe-rod { animation:none; }
  .object-drawing { animation:none; }
}
.presentation-picker { border:0; padding:0; margin:0; min-width:0; }
.presentation-picker legend { padding:0; margin-bottom:12px; font-size:12px; font-weight:600; }
.presentation-options { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
.presentation-option { position:relative; min-width:0; cursor:pointer; }
.presentation-option input { position:absolute; inset:0; width:100%; height:100%; opacity:0; margin:0; cursor:pointer; }
.presentation-option>span { display:flex; flex-direction:column; justify-content:center; align-items:center; gap:9px; min-height:82px; padding:10px 4px; border:1px solid var(--line); border-radius:6px; color:var(--muted); background:#fff; }
.presentation-option strong { font-size:11px; text-align:center; font-weight:500; }
.presentation-option .icon { width:25px; height:25px; }
.presentation-option input:checked+span { background:#eaf4ef; border-color:var(--accent); color:var(--accent); box-shadow:inset 0 0 0 1px var(--accent); }
.presentation-option input:focus-visible+span { outline:3px solid #14babc; outline-offset:2px; }
@media(max-width:760px) {
  .guidance-product { gap:14px; }
  .guidance-product-art { width:64px; height:76px; }
  .guidance-product-art .icon { width:40px; height:40px; }
  .presentation-options { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
.guidance-prescription { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin:20px 0; padding:18px 0; border-block:1px solid var(--line); }
.guidance-prescription dt { display:flex; align-items:center; gap:5px; font-size:11px; color:var(--muted); margin-bottom:8px; }
.guidance-prescription dt .icon { width:14px; height:14px; }
.guidance-prescription dd { margin:0; font-size:17px; font-weight:650; line-height:1.4; }
.guidance-prescription>div:only-child { grid-column:1/-1; }
.guidance-timing,.guidance-period,.guidance-professional { display:flex; align-items:flex-start; gap:8px; font-size:12px; line-height:1.6; margin-top:12px; color:var(--muted); }
.guidance-timing { color:var(--guidance-color); font-weight:600; }
.guidance-timing .icon,.guidance-period .icon,.guidance-professional .icon { width:16px; height:16px; margin-top:2px; }
.guidance-description { white-space:pre-wrap; line-height:1.65; font-size:13px; margin:18px 0 4px; }
.guidance-card footer { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:auto; padding-top:24px; }
.guidance-card footer .text-button:last-child { margin-left:auto; }
.guidance-card footer .secondary,.guidance-card footer .primary { min-height:40px; font-size:12px; padding:10px 14px; }
.guidance-card footer .text-button { font-size:12px; }
.guidance-empty { padding:34px 16px 46px; text-align:center; }
.guidance-empty-icon { display:grid; place-items:center; margin:0 auto 20px; width:72px; height:72px; background:#e8eeec; color:#64867a; border-radius:8px; }
.guidance-empty-icon .icon { width:32px; height:32px; }
.guidance-empty h3 { font-size:21px; margin-bottom:10px; }
.guidance-empty p { font-size:13px; color:var(--muted); margin-bottom:22px; }
.guidance-form-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.guidance-form-pair .field { min-width:0; }
@media(max-width:760px) {
  .guidance-summary { flex-wrap:wrap; gap:12px; padding:18px 0; }
  .guidance-summary strong { font-size:22px; }
  .guidance-summary-icon { width:44px; height:44px; }
  .guidance-counts { margin-left:56px; justify-content:flex-start; }
  .guidance-summary .eyebrow { font-size:8px; }
  .guidance-grid { grid-template-columns:minmax(0,1fr); gap:18px; }
  .guidance-card { padding:18px; }
  .guidance-card h3 { font-size:21px; }
  .guidance-prescription { gap:12px; }
  .guidance-prescription dd { font-size:16px; }
  .guidance-card footer { gap:8px; }
  .guidance-card footer .secondary,.guidance-card footer .primary { padding-inline:10px; }
  .guidance-card footer .text-button { padding-inline:0; }
  .guidance-form-pair { grid-template-columns:minmax(0,1fr); }
}
.photo-date-group { margin:26px 0; }
.photo-date-group h3 { font-size:15px; }
.angle-thumbnails { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.angle-thumbnails .photo-tile img { max-height:260px; }
.angle-missing { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; min-height:120px; background:#edf1f0; border:1px dashed #c1ceca; border-radius:6px; text-align:center; }
.angle-missing strong,.angle-missing small { font-size:11px; color:var(--muted); }
.angle-upload-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px 12px; }
.angle-upload { min-width:0; }
.angle-upload>strong { display:block; font-size:13px; margin-bottom:10px; }
.angle-upload .photo-upload { font-size:12px; flex-direction:column; gap:6px; }
.angle-preview { width:100%; height:150px; object-fit:contain; margin-top:10px; background:#e7ecea; }
.comparison-page { max-width:920px; margin:auto; }
.comparison-toolbar { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; position:sticky; top:0; z-index:2; background:var(--bg,#f8faf9); padding:16px 0; border-bottom:1px solid var(--line); }
.comparison-toolbar .field { min-width:0; }
.comparison-row { padding:26px 0; border-bottom:1px solid var(--line); }
.comparison-row h2 { font-size:18px; }
.compare-photo { display:block; padding:0; width:100%; }
.comparison-row img,.missing-comparison { width:100%; aspect-ratio:3/4; max-height:430px; }
.missing-comparison { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; background:#edf1f0; border:1px dashed #c1ceca; color:var(--muted); padding:12px; text-align:center; font-size:12px; }
@media(max-width:760px) {
  .health-tabs { gap:0; justify-content:space-between; }
  .health-tabs a { font-size:12px; }
  .guidance-facts { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
  .guidance-facts>div:last-child { grid-column:1/-1; }
  .angle-thumbnails { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .photo-section .inline-actions { flex-wrap:wrap; }
  .comparison-toolbar { gap:10px; }
  .comparison-toolbar select { font-size:16px; padding:10px 6px; }
  .comparison-page .page-heading { flex-wrap:wrap; }
  .local-tabs { gap:12px; }
  .local-tabs button { font-size:11px; padding-inline:0; }
  .health-item .inline-actions { gap:8px; }
  .health-item .secondary,.health-item .primary { font-size:12px; }
  .more-links>a { gap:12px; }
}
