:root{--hcpsych-app-canvas: var(--bg-main);--hcpsych-app-surface: var(--bg-elevated);--hcpsych-app-inset: var(--bg-secondary);--hcpsych-app-card: var(--bg-card);--hcpsych-app-ink: var(--text-primary);--hcpsych-app-muted: var(--text-secondary);--hcpsych-app-border: var(--border)}.hcpsi.hcpsi--reference:has(.hcpsych-summary){background:var(--hcpsych-app-canvas);color:var(--hcpsych-app-ink);border-color:var(--hcpsych-app-border);color-scheme:inherit}.hcpsi--reference:has(.hcpsych-summary) .hcspecnav{border-color:var(--hcpsych-app-border)}.hcpsi--reference:has(.hcpsych-summary) :is(.hcspecnav__tab:not(.hcspecnav__tab--active),.hcspecnav__compact select,.hcspecnav__count){background:var(--hcpsych-app-surface);border-color:var(--hcpsych-app-border);color:var(--hcpsych-app-ink)}.hcpsi--reference:has(.hcpsych-summary) .hcspecnav__compact{color:var(--hcpsych-app-muted)}.hcpsych.hcpsych-summary{--sum-ink: var(--hcpsych-app-ink);--sum-muted: var(--hcpsych-app-muted);--sum-line: var(--hcpsych-app-border);--sum-surface: var(--hcpsych-app-surface);--sum-inset: var(--hcpsych-app-inset);--sum-white: var(--hcpsych-app-card);--sum-orange: #ae3900;--sum-orange-action: #b93d00;--sum-orange-bright: #e66313;--sum-orange-soft: #fbe6d6;--sum-violet: #6e36c6;--sum-violet-soft: #efe2fb;--sum-focus: #7040ba;--sum-success-bg: #def2e4;--sum-success-ink: #21613a;--sum-selected: #c94b09;--sum-shadow: 0 2px 5px #4120370b;container:psych-summary / inline-size;display:grid;gap:10px;min-width:0;color:var(--sum-ink);color-scheme:light;font-size:14px;line-height:1.45;overflow-wrap:anywhere}[data-theme=dark] .hcpsych.hcpsych-summary{--sum-orange: #ffb57d;--sum-orange-action: #b93d00;--sum-orange-bright: #ff9a52;--sum-orange-soft: #442c25;--sum-violet: #cba8ff;--sum-violet-soft: #3e2b58;--sum-focus: #cfadff;--sum-success-bg: #254034;--sum-success-ink: #a2dfbc;--sum-selected: #ff9757;--sum-shadow: 0 2px 5px #0003;color-scheme:dark}.hcpsych-summary :is(h2,h3,p,ul,dl,dd){margin:0}.hcpsych-summary :is(button,summary,a):focus-visible,.hcpsych-summary :is(input,textarea,select):focus-visible{outline:2px solid var(--sum-focus);outline-offset:2px}.hcpsych-summary svg{flex:none}.hcpsych-sum__workspace{display:grid;gap:12px;align-items:start;min-width:0}.hcpsych-sum__overview,.hcpsych-sum__detail{display:grid;gap:14px;padding:14px;min-width:0;background:var(--sum-surface);border:1px solid var(--sum-line);border-radius:17px;box-shadow:var(--sum-shadow)}.hcpsych-sum__heading,.hcpsych-sum__detail-head{display:flex;align-items:flex-start;gap:12px;min-width:0}.hcpsych-sum__heading{padding:4px 2px 2px;flex-wrap:wrap;align-items:center}.hcpsych-sum__heading>svg{color:var(--sum-orange-bright)}.hcpsych-sum__heading>div:nth-child(2),.hcpsych-sum__detail-head>div{flex:1 1 150px;min-width:0}.hcpsych-sum__heading h2,.hcpsych-sum__detail-head h2{color:var(--sum-ink);font-weight:800;line-height:1.16;letter-spacing:-.025em}.hcpsych-sum__heading h2{font-size:23px}.hcpsych-sum__detail-head h2{font-size:18px}.hcpsych-sum__heading p,.hcpsych-sum__detail-head p{margin-top:3px;color:var(--sum-muted)}.hcpsych-sum__heading-actions,.hcpsych-sum__card-actions,.hcpsych-sum__detail-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.hcpsych-sum__button,.hcpsych-sum__menu summary{font:inherit;font-weight:700;cursor:pointer;display:inline-flex;justify-content:center;align-items:center;gap:7px;padding:7px 11px;min-width:36px;min-height:38px;text-align:center;color:var(--sum-orange);background:var(--sum-white);border:1px solid var(--sum-line);border-radius:9px}.hcpsych-sum__button:hover:not(:disabled),.hcpsych-sum__menu summary:hover{border-color:var(--sum-orange);background:var(--sum-orange-soft)}.hcpsych-sum__button:disabled{opacity:.65;cursor:default}.hcpsych-sum__button.hcpsych-sum__primary{background:var(--sum-orange-action);border-color:var(--sum-orange-action);color:#fff}.hcpsych-sum__button.hcpsych-sum__primary:hover:not(:disabled){background:#9d3300}.hcpsych-sum__menu{position:relative}.hcpsych-sum__menu summary,.hcpsych-sum__button.hcpsych-sum__icon-button{padding:0}.hcpsych-sum__menu summary{list-style:none}.hcpsych-sum__menu summary::-webkit-details-marker{display:none}.hcpsych-sum__menu>div{position:absolute;z-index:2;inset-inline-end:0;top:calc(100% + 6px);display:grid;gap:5px;min-width:210px;padding:7px;border:1px solid var(--sum-line);border-radius:10px;background:var(--sum-white);box-shadow:0 8px 24px #19142028}.hcpsych-sum__menu .hcpsych-sum__button{justify-content:start;text-align:start}.hcpsych-sum__brief{display:grid;gap:9px;padding:11px 13px;border:1px solid var(--sum-line);border-inline-start:3px solid var(--sum-orange-bright);border-radius:11px;background:var(--sum-white)}.hcpsych-sum__brief>header{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:3px 12px}.hcpsych-sum__brief h3{color:var(--sum-ink);font-size:17px;font-weight:800}.hcpsych-sum__brief :is(time,dd>span){color:var(--sum-muted);font-size:14px}.hcpsych-sum__brief-fields{display:grid;gap:8px}.hcpsych-sum__brief-fields>div{display:grid;gap:2px 10px;padding-top:7px;min-width:0;border-top:1px solid var(--sum-line)}.hcpsych-sum__brief-fields dt{font-weight:750;color:var(--sum-ink)}.hcpsych-sum__brief-fields dd{color:var(--sum-ink);white-space:pre-wrap}.hcpsych-sum__brief-fields dd>span{display:block;margin-top:1px}@container psych-summary (min-width: 490px){.hcpsych-sum__brief-fields>div{grid-template-columns:minmax(0,154px) minmax(0,1fr)}}.hcpsych-sum__cards{display:grid;grid-template-columns:minmax(0,1fr);gap:11px}.hcpsych-sum__card{--card-ink: var(--sum-orange);--card-strong: var(--sum-orange-bright);--card-soft: var(--sum-orange-soft);min-width:0;display:grid;align-content:space-between;gap:8px;padding:10px 12px;min-height:141px;border:1px solid var(--sum-line);border-radius:13px;background:var(--sum-white);box-shadow:var(--sum-shadow)}.hcpsych-sum__card--state,.hcpsych-sum__card--session{--card-ink: var(--sum-violet);--card-strong: var(--sum-violet);--card-soft: var(--sum-violet-soft)}.hcpsych-sum__card--task{grid-column:1 / -1;min-height:122px}.hcpsych-sum__card[data-selected]{border-color:var(--sum-selected)}.hcpsych-sum__card-body{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px}.hcpsych-sum__icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;color:var(--card-ink, var(--sum-orange));background:var(--card-soft, var(--sum-orange-soft))}.hcpsych-sum__card-main{min-width:0}.hcpsych-sum__card-head{display:flex;align-items:flex-start;flex-wrap:wrap;gap:5px 8px}.hcpsych-sum__card-head>div{flex:1 1 108px;min-width:0}.hcpsych-sum__card-head h3{color:var(--sum-ink);font-size:17px;line-height:1.17;letter-spacing:-.018em;font-weight:800}.hcpsych-sum__card-head p,.hcpsych-sum__description,.hcpsych-sum__meta{color:var(--sum-muted)}.hcpsych-sum__trend{color:var(--card-ink);opacity:.62;width:64px;height:28px}.hcpsych-sum__description{margin-top:6px!important}.hcpsych-sum__card--task .hcpsych-sum__description{white-space:pre-line}.hcpsych-sum__card--task .hcpsych-sum__description strong{display:block;color:var(--sum-ink)}.hcpsych-sum__card--task .hcpsych-sum__description>span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.hcpsych-sum__badge{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:3px 9px;font-weight:700;line-height:1.4;border-radius:30px;color:var(--card-ink);background:var(--card-soft)}.hcpsych-sum__badge[data-tone=success]{color:var(--sum-success-ink);background:var(--sum-success-bg)}.hcpsych-sum__badge[data-tone=reviewed]{color:var(--sum-violet);background:var(--sum-violet-soft)}.hcpsych-sum__badge[data-tone=pending]:before{content:"";background:var(--sum-orange-bright);border-radius:50%;width:8px;height:8px;flex:none}.hcpsych-sum__measure{display:grid;gap:3px;margin-top:6px}.hcpsych-sum__measure strong{color:var(--sum-ink);font-size:23px;font-weight:800}.hcpsych-sum__card--goal .hcpsych-sum__measure{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}.hcpsych-sum__card--goal .hcpsych-sum__measure strong{grid-column:2;grid-row:1;font-size:14px}.hcpsych-sum__card--goal .hcpsych-sum__measure progress{grid-column:1;grid-row:1}.hcpsych-sum__measure progress{appearance:none;width:100%;border:none;height:8px;border-radius:20px;overflow:hidden;color:var(--card-strong);background:var(--sum-line)}.hcpsych-sum__measure progress::-webkit-progress-bar{background:var(--sum-line)}.hcpsych-sum__measure progress::-webkit-progress-value{background:var(--card-strong);border-radius:20px}.hcpsych-sum__measure progress::-moz-progress-bar{background:var(--card-strong);border-radius:20px}.hcpsych-sum__card-foot{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;justify-content:space-between;min-height:36px}.hcpsych-sum__card--task .hcpsych-sum__card-foot{border-top:1px solid var(--sum-line);padding-top:5px}.hcpsych-sum__meta{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px}.hcpsych-sum__meta>span{display:inline-flex;align-items:center;gap:5px}.hcpsych-sum__card-actions{margin-inline-start:auto}.hcpsych-sum__card-actions .hcpsych-sum__button,.hcpsych-sum__chevron{color:var(--card-ink)}.hcpsych-sum__add{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,146px),1fr));gap:9px}.hcpsych-sum__add .hcpsych-sum__button{min-height:42px;background:var(--sum-inset)}.hcpsych-sum__add .hcpsych-sum__button:nth-child(2){color:var(--sum-violet)}.hcpsych-sum__add .hcpsych-sum__button:hover{border-color:currentColor}.hcpsych-sum__detail{padding:14px;scroll-margin:12px}.hcpsych-sum__workspace[data-detail=default] .hcpsych-sum__detail{display:none}.hcpsych-sum__workspace[data-detail=default] .hcpsych-sum__card[data-selected]{border-color:var(--sum-line)}.hcpsych-sum__detail-head{align-items:center}.hcpsych-sum__detail-head .hcpsych-sum__button{align-self:flex-start;color:var(--sum-muted)}.hcpsych-sum__tabs{display:flex;flex-wrap:wrap;gap:0;background:var(--sum-white);border:1px solid var(--sum-line);border-radius:10px}.hcpsych-sum__tabs>button{flex:1;min-height:40px;padding:6px 10px;color:var(--sum-muted);background:transparent;border:0;border-bottom:2px solid transparent;font:inherit;cursor:pointer}.hcpsych-sum__tabs>button[aria-pressed=true]{color:var(--sum-orange);font-weight:700;border-bottom-color:var(--sum-orange-bright)}.hcpsych-sum__detail-body{display:grid;gap:12px;min-width:0}.hcpsych-sum__fields,.hcpsych-sum__detail-section,.hcpsych-sum__detail-foot{display:grid;gap:8px;min-width:0}.hcpsych-sum__fields{padding:2px 3px 3px}.hcpsych-sum__fields>div{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:7px}.hcpsych-sum__fields dt{display:flex;gap:7px;align-items:flex-start;color:var(--sum-muted)}.hcpsych-sum__fields dt svg{margin-top:2px}.hcpsych-sum__fields dd{color:var(--sum-ink);font-weight:600}.hcpsych-sum__detail-section{border-top:1px solid var(--sum-line);padding-top:11px}.hcpsych-sum__detail :is(h3,h4){display:flex;align-items:center;gap:7px;font-size:15px;font-weight:800}.hcpsych-sum__description-box{padding:10px 12px;background:var(--sum-inset);border-radius:9px;white-space:pre-wrap}.hcpsych-sum__detail-foot{padding:10px 11px;border:1px solid var(--sum-line);background:var(--sum-white);border-radius:11px}.hcpsych-sum__detail-actions{align-items:stretch}.hcpsych-sum__records{display:grid;gap:7px;padding:0;list-style:none}.hcpsych-sum__records>li{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:3px 8px;padding:8px 10px;border:1px solid var(--sum-line);background:var(--sum-inset);border-radius:9px}.hcpsych-sum__records :is(button,a){display:flex;align-items:center;justify-content:space-between;padding:0;color:var(--sum-orange);background:transparent;border:0;font:inherit;font-weight:700;text-align:start;cursor:pointer;gap:6px}.hcpsych-sum__records small,.hcpsych-sum__records p{grid-column:2;font-size:14px;color:var(--sum-muted)}.hcpsych-sum__alert,.hcpsych-sum__notice{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:9px 13px;border:1px solid var(--sum-line);border-radius:10px;background:var(--sum-surface);color:var(--sum-muted)}.hcpsych-sum__alert{background:var(--sum-inset);border-inline-start:3px solid var(--sum-orange-bright);color:var(--sum-ink)}.hcpsych-sum__alert>svg{color:var(--sum-orange)}.hcpsych-sum__alert>div{flex:1}.hcpsych-sum__empty,.hcpsych-sum__feedback{color:var(--sum-muted)}.hcpsych-sum__feedback[role=alert]{color:var(--sum-orange)}.hcpsych-sum__editor,.hcpsych-sum__editor label{display:grid;gap:8px}.hcpsych-sum__editor label{font-weight:700}.hcpsych-sum__editor :is(textarea,input,select){min-width:0;padding:8px;border:1px solid var(--sum-line);border-radius:8px;color:var(--sum-ink);background:var(--sum-white);font:inherit;font-size:16px}.hcpsych-sum__editor textarea{min-height:80px;resize:vertical}@container psych-summary (min-width: 490px){.hcpsych-sum__cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@container psych-summary (min-width: 875px){.hcpsych-sum__workspace[data-detail]{grid-template-columns:minmax(0,1.7fr) minmax(310px,1fr)}.hcpsych-sum__workspace[data-detail=default] .hcpsych-sum__detail{display:grid}.hcpsych-sum__workspace[data-detail=default] .hcpsych-sum__card[data-selected]{border-color:var(--sum-selected)}}@container psych-summary (max-width: 489px){.hcpsych-sum__overview,.hcpsych-sum__detail{padding:10px}.hcpsych-sum__heading-actions{width:100%;justify-content:space-between}}@media(pointer:coarse){.hcpsych-sum__button,.hcpsych-sum__menu summary,.hcpsych-sum__tabs>button{min-height:44px}.hcpsych-sum__button.hcpsych-sum__icon-button,.hcpsych-sum__menu summary{min-width:44px}}
