/* ginger. supplements the established Cape House apothecary; clinical colour cues stay intact. */
:root{--ginger-green:#61745a;--ginger-forest:#344b39;--ginger-ivory:#f8f6f0;--ginger-mauve:#a88d9d;--ginger-stone:#eae6dd;--ginger-serif:Georgia,'Iowan Old Style','Palatino Linotype',serif;--ginger-cycle:3.8s;--ginger-delay:180ms}
.ginger-wordmark{font:400 30px/.95 var(--ginger-serif);letter-spacing:-.065em;color:var(--ginger-forest);white-space:nowrap;text-transform:none!important}.ginger-dot{color:var(--ginger-mauve)}
.ginger-dot{font:inherit;letter-spacing:inherit}.ginger-header .ginger-wordmark,.ginger-header .ginger-dot{margin-left:0}
.ginger-mark{display:inline-block;width:55px;height:70px;color:var(--ginger-green);flex:none;vertical-align:middle}.ginger-mark svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round;overflow:visible}.ginger-mark .ginger-petal{stroke:var(--ginger-mauve)}.ginger-mark .ginger-fine{stroke-width:.75;opacity:.65}.ginger-mark .ginger-ground{stroke-width:.6;opacity:.3}.ginger-monochrome{color:currentColor}.ginger-monochrome .ginger-petal{stroke:currentColor}
.ginger-header{margin-left:auto;align-self:center;text-align:center;flex:none}.ginger-header .ginger-wordmark{font-size:35px}.ginger-header .ginger-descriptor{display:block;margin:9px 0 0;font:600 10px/1.4 system-ui,sans-serif;letter-spacing:.08em;color:var(--ginger-forest)}
@media(min-width:851px){body>header>.ginger-header{position:absolute;right:max(24px,calc((100vw - 1280px)/2));top:50%;transform:translateY(-50%);width:240px;margin-left:0;text-align:center}}
.ginger-login-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 12px;color:var(--muted,#5f6962);font-size:12px}.ginger-login-line .ginger-powered{margin-right:8px}body:not(.locked) .ginger-login-line{display:none}
.ginger-powered{display:inline-flex;align-items:baseline;gap:4px;color:var(--muted,#5f6962);font:11px/1.5 system-ui,sans-serif;white-space:nowrap}.ginger-powered .ginger-wordmark{font-size:18px;letter-spacing:-.045em}button.ginger-powered{background:transparent;border:0;border-radius:3px;padding:4px 0;min-height:30px;font-weight:400}button.ginger-powered:hover{background:transparent;text-decoration:underline;text-underline-offset:4px}.ginger-footer{display:flex;justify-content:flex-end;margin-top:8px;padding-top:8px;border-top:1px solid var(--line,#d8dcd0)}
dialog.ginger-about{width:min(580px,calc(100% - 28px));max-height:90dvh;padding:36px 44px 32px;border:1px solid #d8dcd0;border-radius:8px;background:var(--ginger-ivory);text-align:center;color:var(--ginger-forest);box-shadow:0 20px 65px #29393029}dialog.ginger-about::backdrop{background:#24302880}.ginger-about .ginger-close{position:absolute;right:12px;top:10px;width:44px;height:44px;min-height:44px;border:0;background:transparent;color:var(--ginger-forest);font:25px/1 system-ui,sans-serif;padding:8px}.ginger-about>.ginger-mark{display:block;width:110px;height:143px;margin:0 auto 6px}.ginger-about-title{margin:0!important}.ginger-about-title .ginger-wordmark{font-size:73px}.ginger-about-rooted{font:24px/1.4 var(--ginger-serif);letter-spacing:-.02em;margin:27px 0 22px}.ginger-about-copy{text-align:left;font:14px/1.85 system-ui,sans-serif;color:#535e52}.ginger-about-copy p{margin:0 0 17px}.ginger-brand-line{font:18px/1.5 var(--ginger-serif);color:var(--ginger-forest);margin:25px 0 0}.ginger-origin,.ginger-version{font:11px/1.5 system-ui,sans-serif;color:#667064}.ginger-origin{margin:24px 0 5px}.ginger-version{margin:0}
.ginger-status{display:flex;align-items:center;gap:9px;min-height:28px;color:var(--muted,#5f6962);font:12px/1.5 system-ui,sans-serif;margin:6px 0;overflow-wrap:anywhere}.ginger-status:empty{margin:0;min-height:0}.ginger-status .ginger-mark{width:26px;height:33px}.ginger-status.ginger-primary .ginger-mark{width:43px;height:55px}.ginger-status[data-state=waiting] .ginger-mark{visibility:hidden}.ginger-status[data-state=error]{color:#783824}.ginger-error-icon{display:inline-grid;place-items:center;flex:none;width:24px;height:24px;border:1px solid currentColor;border-radius:50%;font:18px/1 var(--ginger-serif)}
.ginger-status[data-reserved=true]{min-height:30px}.ginger-status[data-state=waiting] .ginger-inline-icon{visibility:hidden}.ginger-status.ginger-primary{min-height:55px}
.ginger-growing .ginger-rhizome{stroke-dasharray:1;animation:ginger-root var(--ginger-cycle) ease-in-out infinite}.ginger-growing .ginger-stem{stroke-dasharray:1;animation:ginger-stem var(--ginger-cycle) ease-in-out infinite}.ginger-growing .ginger-leaf{stroke-dasharray:1;animation:ginger-leaf var(--ginger-cycle) ease-in-out infinite}.ginger-growing .ginger-petal{animation:ginger-flower var(--ginger-cycle) ease-in-out infinite;transform-origin:160px 191px}.ginger-growing svg{animation:ginger-cycle var(--ginger-cycle) ease-in-out infinite}
@keyframes ginger-root{0%{stroke-dashoffset:1;opacity:0}7%{opacity:1}27%,100%{stroke-dashoffset:0;opacity:1}}@keyframes ginger-stem{0%,21%{stroke-dashoffset:1;opacity:0}27%{opacity:1}49%,100%{stroke-dashoffset:0;opacity:1}}@keyframes ginger-leaf{0%,40%{stroke-dashoffset:1;opacity:0}46%{opacity:1}70%,100%{stroke-dashoffset:0;opacity:1}}@keyframes ginger-flower{0%,64%{opacity:0;transform:scale(.88)}78%,100%{opacity:1;transform:scale(1)}}@keyframes ginger-cycle{0%,86%{opacity:1}99%,100%{opacity:0}}@keyframes ginger-breathe{0%,100%{opacity:.45}50%{opacity:1}}@keyframes ginger-bloom{from{opacity:0;transform:scale(.88)}to{opacity:1;transform:scale(1)}}
.ginger-inline-icon{display:inline-block;width:20px;height:24px;flex:none;color:currentColor;vertical-align:middle;animation:ginger-breathe 2.5s ease-in-out infinite}.ginger-inline-icon svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.ginger-success .ginger-petal{animation:ginger-bloom .8s ease both;transform-origin:160px 191px}.ginger-search-indicator{position:absolute;right:42px;top:50%;transform:translateY(-50%);height:24px;width:20px;visibility:hidden;pointer-events:none;z-index:1}.search-select:has(.ginger-search-indicator[data-active=true])>input{padding-right:70px}
.ginger-progress{flex:1;min-width:0;max-width:450px}.ginger-progress-track{height:28px;position:relative}.ginger-progress-track:before{content:'';position:absolute;left:0;right:0;top:18px;height:2px;background:var(--ginger-stone)}.ginger-progress-fill{position:absolute;left:0;top:18px;height:2px;background:var(--ginger-green);width:var(--ginger-progress,0%);transition:width .15s ease}.ginger-progress-leaf{position:absolute;top:2px;width:20px;height:17px;color:var(--ginger-green)}.ginger-progress-leaf svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.3}.ginger-progress-caption{display:flex;justify-content:space-between;gap:12px;font-variant-numeric:tabular-nums}.ginger-progress-caption span{min-width:0}.ginger-progress-caption output{flex:none}
@media(max-width:700px){header>.ginger-header{margin-left:auto;text-align:left;align-self:flex-start}.ginger-header .ginger-wordmark{font-size:29px}.ginger-header .ginger-descriptor{font-size:10px}dialog.ginger-about{padding:29px 22px 27px}.ginger-about-rooted{font-size:22px}.ginger-about-copy{font-size:13px}.ginger-about-title .ginger-wordmark{font-size:65px}.ginger-status{font-size:12px}.ginger-footer{justify-content:flex-start}}
@media(min-width:601px) and (max-width:850px){.ginger-header .ginger-descriptor{display:none}}
@media(max-width:600px){body>header{flex-wrap:wrap}body>header .brand-name{flex:1;min-width:0}body>header>.ginger-header{flex:0 0 100%;margin-left:0;display:flex;align-items:baseline;gap:12px}.ginger-header .ginger-wordmark{font-size:26px}.ginger-header .ginger-descriptor{margin:0;min-width:0;font-size:10px}}
@media(pointer:coarse){button.ginger-powered{min-height:44px}}
@media(prefers-reduced-motion:reduce){.ginger-mark *,.ginger-growing svg,.ginger-inline-icon,.ginger-progress-fill{animation:none!important;transition:none!important;stroke-dashoffset:0!important}}
@media print{.ginger-header,.ginger-login-line,.ginger-status,.ginger-search-indicator,dialog.ginger-about{display:none!important}.ginger-wordmark,.ginger-dot,.ginger-powered{color:#333!important}.ginger-mark,.ginger-mark .ginger-petal{stroke:currentColor}.ginger-mark *{animation:none!important}.ginger-footer{border:0}}
