.sup-page{--sup-accent:#74d9c3;max-width:1180px;margin:0 auto}.sup-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:12px 0 24px}.sup-heading h2{font-size:30px;margin:8px 0}.sup-heading p{max-width:660px;color:var(--muted);line-height:1.6;margin:0}.sup-kicker{font-size:12px;letter-spacing:.08em;color:var(--sup-accent)}.sup-heading>.btn{flex-shrink:0}.sup-tabs{display:flex;gap:4px;border-bottom:1px solid #293e55;margin-bottom:24px;overflow:auto}.sup-tabs button{background:none;border:0;border-bottom:3px solid transparent;border-radius:0;color:#99afc8;min-height:48px;padding:12px 18px;font:inherit;white-space:nowrap;cursor:pointer}.sup-tabs button.active{color:#b0e9de;border-bottom-color:#74d9c3}.sup-tabs button span{display:inline-grid;place-items:center;min-width:22px;border-radius:30px;background:#513e36;color:#ffd1a5;font-size:12px}.sup-page :focus-visible,.sup-sheet :focus-visible{outline:2px solid #91bfff;outline-offset:4px}.sup-empty{text-align:center;padding:50px 22px}.sup-empty h3{margin:18px 0 8px}.sup-empty p{max-width:490px;margin:0 auto;color:var(--muted);line-height:1.6}.sup-emblem{display:inline-grid;place-items:center;width:44px;height:44px;flex:none;background:#70d2bb14;border:1px solid #70d2bb36;color:#83dac6;border-radius:15px}.sup-emblem svg{width:22px;height:22px}.sup-pending{display:flex;align-items:center;gap:12px;border:1px solid #b9985d55;background:#b9985d0d;border-radius:14px;padding:12px 18px;margin-bottom:20px;color:#e3c38c}.sup-pending>.btn{margin-left:auto}.sup-pending svg{width:20px;flex:none}.sup-schedule .sup-date{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:22px;border-bottom:1px solid #293b51}.sup-date h3{font-size:24px;margin:0}.sup-date p{font-size:13px;color:var(--muted);margin:8px 0 0}.sup-date .field{margin:0;width:180px;max-width:48%}.sup-date input{min-height:44px}.sup-dose{display:flex;gap:22px;align-items:center;padding:24px 0;border-bottom:1px solid #293b51}.sup-dose:last-of-type{border-bottom:0}.sup-time{min-width:58px;align-self:stretch;display:flex;flex-direction:column;align-items:center;gap:12px}.sup-time time{font-size:17px;font-variant-numeric:tabular-nums;font-weight:600;color:#b0c9e7}.sup-time i{width:8px;height:8px;border-radius:100%;background:#6b9fdb;box-shadow:0 0 0 6px #6b9fdb16}.sup-dose.is-done .sup-time i{background:#71c9b6;box-shadow:0 0 0 6px #71c9b616}.sup-dose-info{flex:1;min-width:0}.sup-title{border:0;padding:0;min-height:44px;text-align:left;background:none;color:var(--text);font-family:inherit;font-size:18px;line-height:1.4;font-weight:600;cursor:pointer;overflow-wrap:anywhere}.sup-dose-info p{color:var(--muted);font-size:14px;line-height:1.5;margin:2px 0 10px}.sup-record-state{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#a2b3c9}.sup-record-state.taken{color:#84dac8}.sup-record-state svg{width:14px;height:14px}.sup-schedule-note{display:flex;gap:12px;align-items:center;padding:18px 0 0;margin-top:8px;border-top:1px solid #293b51;font-size:12px;color:#97abc3;line-height:1.5}.sup-schedule-note>svg{width:18px;flex:none}.sup-courses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.sup-course{display:flex;flex-direction:column;gap:10px}.sup-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.sup-status{font-size:11px;padding:7px 10px;border-radius:30px;color:#a9bfd8;background:#25374e}.sup-status.pending{color:#e5c48b;background:#d4a45a16}.sup-status.active{color:#90dece;background:#67cfb619}.sup-status.paused{color:#cab7eb;background:#ac8edb19}.sup-course h3{font-size:22px;margin:9px 0 0;overflow-wrap:anywhere}.sup-course p{font-size:13px;color:var(--muted);line-height:1.6;margin:0}.sup-composition{min-height:42px;white-space:pre-line}.sup-prescription{display:flex;justify-content:space-between;gap:16px;margin-top:4px}.sup-prescription strong{font-size:20px;color:#a5e0d4}.sup-prescription span{color:#b8cce4}.sup-course-bottom{margin-top:auto;padding-top:16px;display:flex;gap:12px;align-items:center;justify-content:space-between;border-top:1px solid #293b51}.sup-course-bottom>span{font-size:12px;display:flex;gap:7px;align-items:center;color:var(--muted)}.sup-course-bottom svg{width:16px}.sup-log{display:flex;align-items:flex-start;gap:20px;justify-content:space-between;padding:20px 0;border-bottom:1px solid #293b51}.sup-log:last-child{border-bottom:0}.sup-log h4{margin:10px 0;font-size:17px}.sup-log p{white-space:pre-line;line-height:1.6;margin:6px 0}.sup-log small{color:var(--muted);font-size:12px}.sup-log details,.sup-detail details{margin-top:14px;color:var(--muted);font-size:13px;line-height:1.7}.sup-log summary,.sup-detail summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:#9bc3f7}.sup-log summary:before,.sup-detail summary:before{content:'›';margin-right:9px}.sup-log details[open]>summary:before,.sup-detail details[open]>summary:before{transform:rotate(90deg)}.sup-foot{display:flex;align-items:flex-start;gap:8px;color:#91a5bd;font-size:12px;line-height:1.5;margin:22px 0}.sup-foot svg{width:14px;height:18px;flex:none}.sup-queue{border:1px solid #ab7b6755;border-radius:16px;padding:18px;margin-bottom:20px}.sup-queue>div{display:flex;gap:10px;align-items:center;color:#e5b794;font-size:14px;margin-bottom:12px}.sup-queue svg{width:18px;height:18px}.sup-queue button{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;background:none;border:0;border-top:1px solid #ab7b6722;color:var(--text);font:inherit;font-size:13px;padding:14px 0;min-height:44px;text-align:left;cursor:pointer}.sup-queue button>span:last-child{display:flex;align-items:center;gap:6px;color:#b4c2d2}.sup-detail-hero{display:flex;align-items:center;gap:16px;margin-bottom:20px}.sup-detail-hero h3{font-size:24px;margin:0 0 6px}.sup-detail-hero p{color:var(--muted);line-height:1.6;margin:0;white-space:pre-line}.sup-facts{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:20px 0;border-top:1px solid #293b51;border-bottom:1px solid #293b51}.sup-facts dt{font-size:12px;color:var(--muted);margin-bottom:6px}.sup-facts dd{margin:0;line-height:1.5}.sup-sheet .modal-body p{line-height:1.6;overflow-wrap:anywhere}.sup-actions{flex-wrap:wrap;justify-content:flex-start}.sup-actions .btn{flex:1 0 auto}.sup-sheet{max-width:760px}.sup-weekdays{border:0;padding:0;margin:18px 0 24px;display:flex;gap:8px;flex-wrap:wrap}.sup-weekdays legend{margin-bottom:10px;font-size:13px;color:#a8bbd2}.sup-weekdays label{position:relative;cursor:pointer}.sup-weekdays input{position:absolute;inset:0;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.sup-weekdays span{display:grid;place-items:center;min-width:44px;min-height:44px;border-radius:10px;border:1px solid #344c68;color:#99acc4}.sup-weekdays input:checked+span{background:#243e58;color:#a4dbec;border-color:#5a839d}.sup-weekdays input:focus-visible+span{outline:2px solid #91bfff;outline-offset:2px}.sup-record-summary{border-left:3px solid #72c9b7;padding:8px 14px;margin-bottom:20px}.sup-record-summary p{margin:6px 0 0;color:var(--muted)}.sup-description{white-space:pre-line}.sup-teaser{margin-top:20px;display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between}.sup-teaser>div{display:flex;align-items:center;gap:12px}.sup-teaser h3{font-size:16px;margin:0}.sup-teaser p{font-size:12px;color:var(--muted);line-height:1.5;margin:6px 0 0}.sup-teaser .text-btn{min-height:44px}.sup-sheet .j-error{padding:10px;color:#f6a8a8}
@media(max-width:700px){.sup-heading{align-items:flex-start;flex-direction:column;gap:16px}.sup-heading h2{font-size:26px}.sup-heading p{font-size:14px}.sup-tabs{margin-right:-12px;margin-left:-12px}.sup-tabs button{padding:12px;font-size:13px;flex:1}.sup-pending{padding:12px;flex-wrap:wrap;font-size:13px}.sup-pending>.btn{margin-left:0}.sup-courses{grid-template-columns:1fr}.sup-dose{gap:14px;flex-wrap:wrap}.sup-dose>.btn{margin-left:72px;min-width:130px}.sup-dose-info{min-width:150px}.sup-title{font-size:16px}.sup-log{flex-direction:column;gap:4px}.sup-facts{gap:18px 12px;font-size:14px}.sup-detail-hero h3{font-size:21px}.sup-detail-hero p{font-size:13px}.sup-weekdays{gap:5px}.sup-weekdays span{min-width:36px}.sup-queue button{align-items:flex-start;flex-direction:column;gap:6px}.sup-schedule-note{flex-wrap:wrap}.sup-schedule-note span{flex:1;min-width:180px}.sup-teaser>div{flex-wrap:wrap}.sup-actions .btn{font-size:13px}}
@media(prefers-reduced-motion:no-preference){.sup-page>.card,.sup-courses{animation:sup-appear .22s ease-out}@keyframes sup-appear{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:none}}}
[data-motion="reduced"] .sup-page>.card,[data-motion="reduced"] .sup-courses{animation:none}

@media(max-width:700px){.sup-heading{padding:0 0 14px;gap:10px}.sup-heading .sup-kicker,.sup-heading h2{display:none}.sup-heading p{font-size:13px;line-height:1.5}.sup-pending{margin-bottom:12px}}
/* Reusable schemes and the participant clarification loop. */
.sup-status.revision{color:#ffd19c;background:#d59a4c22}.sup-library-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.sup-library-toolbar h3{margin:0;font-size:18px}.sup-filter{display:flex;gap:4px;padding:4px;border:1px solid #2d425b;border-radius:12px;background:#0d1929}.sup-filter button{border:0;background:transparent;color:#9bb0ca;font:inherit;font-size:13px;border-radius:8px;padding:10px 14px;min-height:44px;cursor:pointer}.sup-filter button[aria-pressed="true"]{background:#24443f;color:#b2ebdf}.sup-template-recipient{color:var(--muted);font-size:13px;margin:0 0 20px}.sup-template-recipient strong{font-weight:500;color:#b5d0e9}.sup-template-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:42px}.sup-template-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;color:#91a9c2;font-size:12px;padding:8px 0}.sup-template-actions{display:flex;align-items:center;gap:10px;justify-content:space-between;margin-top:auto;padding-top:16px;border-top:1px solid #2b4057}.sup-template-actions .btn:disabled{opacity:.45;cursor:not-allowed}.sup-template-fields{display:grid;gap:18px;margin:24px 0}.sup-template-fields dt{color:var(--muted);font-size:12px;margin-bottom:5px}.sup-template-fields dd{margin:0;line-height:1.6;white-space:pre-line;overflow-wrap:anywhere}.sup-form-section{border-top:1px solid #2b4057;padding-top:18px;margin-top:24px}.sup-form-section h3{font-size:18px;margin:0}.sup-choice{display:flex;align-items:center;gap:14px;width:100%;min-height:80px;text-align:left;background:#152638;border:1px solid #2d465f;border-radius:14px;color:var(--text);font:inherit;padding:16px;margin-bottom:10px;cursor:pointer}.sup-choice>span:nth-child(2){flex:1;min-width:0}.sup-choice strong{font-size:16px;line-height:1.4;display:block;overflow-wrap:anywhere}.sup-choice small{display:block;color:var(--muted);font-size:13px;line-height:1.5;margin-top:4px}.sup-choice>svg{width:18px;flex:none;color:#8bb5dc}.sup-choice:hover{border-color:#71b8b0;background:#1b3043}.sup-choice-heading{margin:26px 0 14px;font-size:17px}.sup-template-selected{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid #528a804f;background:#6bc9b212;padding:10px 14px;border-radius:12px;margin-bottom:20px;font-size:13px;color:#b2e2d8}.sup-template-selected>span{display:flex;gap:8px;align-items:center;overflow-wrap:anywhere}.sup-template-selected svg{width:18px;flex:none}.sup-clarification{border-left:3px solid #d5a66f;background:#cb985c0b;padding:12px 15px;border-radius:0 10px 10px 0;margin:8px 0 16px;line-height:1.6;font-size:14px}.sup-clarification strong{color:#e6bb87;font-size:12px;font-weight:600}.sup-clarification p{margin:6px 0;white-space:pre-line;color:var(--text)}.sup-clarification small{font-size:12px;color:var(--muted)}.sup-course .sup-clarification{margin:4px 0}.sup-course .sup-clarification p{color:#d6e3ef;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.sup-course .sup-current-note{font-size:12px;color:#d5b68d}.sup-spec-label{font-size:12px;font-weight:500;color:#a7d9cd;letter-spacing:.03em;margin:18px 0}.sup-template-origin{font-size:12px;color:var(--muted)}.sup-history{padding-left:18px;margin:12px 0 20px}.sup-history li{padding:0 0 16px 8px}.sup-history time{display:block;color:#91a8c4;font-size:12px}.sup-history strong{font-size:13px;color:#c6d8eb;font-weight:500}.sup-history p{margin:3px 0 0!important}.sup-empty-action{display:flex;justify-content:center;padding-bottom:30px}.sup-template-library .notice{margin-bottom:20px}
@media(max-width:700px){.sup-library-toolbar{align-items:flex-start;flex-direction:column;gap:10px}.sup-library-toolbar .sup-filter{align-self:stretch}.sup-filter button{flex:1}.sup-template-actions{flex-wrap:wrap}.sup-template-actions>.btn{flex:1;white-space:nowrap}.sup-template-recipient{margin-bottom:16px}.sup-choice{padding:12px;gap:12px}.sup-choice strong{font-size:14px}.sup-choice small{font-size:12px}.sup-clarification{padding:10px 12px}.sup-template-selected{padding:8px 12px}.sup-template-selected>span{display:block}.sup-template-selected svg{vertical-align:middle;margin-right:6px}.sup-tabs button{flex:none}.sup-sheet .modal-footer .btn{white-space:normal;line-height:1.4;min-height:44px}}
@media(prefers-reduced-motion:no-preference){.sup-choice{transition:border-color .15s ease,background-color .15s ease}}
[data-motion="reduced"] .sup-choice{transition:none}

@media(max-width:700px){.sup-tabs-curator{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;margin-left:0;margin-right:0}.sup-tabs-curator button{min-width:0;padding:12px 6px}}
