:host{display:block;min-width:0;container-type:inline-size}.base{position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"header" "content" "footer";row-gap:var(--tc-space-12);align-content:start;height:100%;padding:var(--tc-space-16);overflow:hidden;border:1px solid var(--tc-border-subtle);border-radius:var(--tc-radius-md);background:var(--tc-bg-surface);color:var(--tc-text-primary);transition:border-color var(--tc-transition),background-color var(--tc-transition)}.media{grid-area:media;display:none;position:relative;align-items:center;justify-content:center;overflow:hidden;background:var(--tc-bg-subtle)}.header{grid-area:header;display:flex;align-items:center;justify-content:space-between;gap:var(--tc-space-8);min-width:0;min-height:28px}.content{grid-area:content;display:flex;flex-direction:column;gap:var(--tc-space-12);min-width:0}.footer{grid-area:footer;display:flex;flex-wrap:wrap;align-items:center;gap:var(--tc-space-8)}:host(:not([has-footer])) .footer{display:none}:host(:not([has-content])) .content:not(:has(>:not([hidden]):not(slot))){display:none}.heading{display:flex;flex-direction:column;min-width:0}.title{min-width:0;margin:0;color:var(--tc-text-primary);font:var(--tc-weight-medium) 16px/24px var(--tc-font-display);overflow-wrap:break-word}.actions{display:flex;align-items:center;flex:none;gap:var(--tc-space-4);margin-left:auto}:host(:not([has-actions]):not([collapsible])) .actions{display:none}.body{margin:0;color:var(--tc-text-secondary);font:var(--tc-weight-regular) 14px/20px var(--tc-font-text)}.meta{color:var(--tc-text-tertiary);font:var(--tc-weight-regular) 12px/16px var(--tc-font-text)}.content-meta{font-family:var(--tc-font-mono);overflow-wrap:anywhere}.head-meta{display:none}.cue{display:inline-flex;align-items:center;align-self:flex-start;gap:6px;color:var(--tc-text-link);font:var(--tc-weight-medium) 14px/20px var(--tc-font-text)}.stat-label{color:var(--tc-text-secondary);font:var(--tc-weight-regular) 13px/18px var(--tc-font-text)}:host([type="stat"]) .header{min-height:18px}.value{display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--tc-space-6);margin:0}.metric{font:var(--tc-weight-medium) 32px/36px var(--tc-font-display);letter-spacing:-0.01em}.unit{color:var(--tc-text-tertiary);font:var(--tc-weight-regular) 13px/18px var(--tc-font-text)}.trend{display:flex;flex-wrap:wrap;align-items:center;gap:var(--tc-space-4);margin:0;color:var(--tc-text-secondary)}:host([trend-tone="success"]) .trend{color:var(--tc-success-fg)}:host([trend-tone="danger"]) .trend{color:var(--tc-danger-fg)}.trend-value{font:var(--tc-weight-regular) 12px/16px var(--tc-font-mono);font-variant-numeric:tabular-nums}.trend-hint{color:var(--tc-text-tertiary);font:var(--tc-weight-regular) 12px/16px var(--tc-font-text)}:host([type="header_footer"]) .base,:host([type="panel"]) .base{row-gap:0;padding:0}:host([type="header_footer"]) .header{min-height:52px;padding:var(--tc-space-12) var(--tc-space-12) var(--tc-space-12) var(--tc-space-16);border-bottom:1px solid var(--tc-border-subtle)}:host([type="header_footer"]) .content{gap:var(--tc-space-8);padding:var(--tc-space-16)}:host([type="header_footer"]) .footer,:host([type="panel"]) .footer{justify-content:flex-end;padding:var(--tc-space-12) var(--tc-space-16);border-top:1px solid var(--tc-border-subtle);background:var(--tc-bg-subtle)}:host([type="header_footer"][dividers="false"]) .header{border-bottom:0}:host([type="header_footer"][dividers="false"]) .footer{border-top:0}:host([type="panel"]) .header{flex-wrap:wrap;min-height:48px;border-bottom:1px solid var(--tc-border-subtle)}:host([type="panel"]) .heading{flex:1 1 120px;flex-direction:row;flex-wrap:wrap;align-items:baseline;column-gap:var(--tc-space-8);padding:var(--tc-space-12) var(--tc-space-12) var(--tc-space-12) var(--tc-space-16)}:host([type="panel"]) .head-meta{display:inline}:host([type="panel"]) .content-meta{display:none}:host([type="panel"]) .actions{display:flex;padding:10px var(--tc-space-16) 10px var(--tc-space-12)}:host([type="panel"]) .content{padding:0;gap:var(--tc-space-12)}:host([type="panel"][flush="false"]) .content{padding:var(--tc-space-16)}:host([flush="true"]:not([type="panel"])) .content{margin:0 calc(-1 * var(--tc-space-16));padding:0}:host([collapsed]) .content{display:none}:host([type="panel"][collapsed]) .header{border-bottom:0}.toggle{display:inline-flex;align-items:center;justify-content:center;flex:none;width:var(--tc-size-control-sm);height:var(--tc-size-control-sm);margin:0;padding:0;border:0;border-radius:var(--tc-radius-sm);background:transparent;color:var(--tc-icon-secondary);cursor:pointer;transition:background-color var(--tc-transition)}.toggle:hover{background:var(--tc-bg-hover)}.toggle:active{background:var(--tc-bg-pressed)}.toggle:focus-visible{outline:none;box-shadow:var(--tc-focus-ring)}.toggle .icon{transition:transform var(--tc-transition)}:host([collapsed]) .toggle .icon{transform:rotate(180deg)}.title-link{color:inherit;text-decoration:none}a.title-link::after{content:"";position:absolute;inset:0;z-index:0}a.title-link:focus-visible{outline:none}:host([title-href]) .base{cursor:pointer}:host([title-href]) .base:hover{border-color:var(--tc-border-strong)}:host([title-href]) .base:active{background:var(--tc-bg-hover)}.base:has(a.title-link:focus-visible){box-shadow:var(--tc-focus-ring)}:host([title-href]) .base:hover .cue-label{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}::slotted(*),.toggle{position:relative;z-index:1}:host([type="link_actions"]) .base,:host([type="image"]) .base{row-gap:0;padding:0}:host([type="link_actions"]) .header,:host([type="image"]) .header{min-height:24px;padding:var(--tc-space-16) var(--tc-space-16) 0}:host([type="link_actions"]) .content,:host([type="image"]) .content{gap:var(--tc-space-8);padding:var(--tc-space-8) var(--tc-space-16) var(--tc-space-16)}:host([type="link_actions"]) .footer,:host([type="image"]) .footer{padding:0 var(--tc-space-16) var(--tc-space-16)}:host([type="image"]) .base{grid-template-areas:"media" "header" "content" "footer"}:host([type="image"]) .media{display:flex;aspect-ratio:16 / 9}.image{display:block;width:100%;height:100%;object-fit:cover}.placeholder{display:inline-flex;color:var(--tc-border-default)}.placeholder .icon{width:48px;height:48px}::slotted([slot="media"]){display:block;width:100%;height:100%;object-fit:cover}@container (min-width:480px){:host([type="image"][image-position="start"]) .base{grid-template-columns:200px minmax(0,1fr);grid-template-rows:auto auto 1fr;grid-template-areas:"media header" "media content" "media footer"}:host([type="image"][image-position="end"]) .base{grid-template-columns:minmax(0,1fr) 200px;grid-template-rows:auto auto 1fr;grid-template-areas:"header media" "content media" "footer media"}:host([type="image"][image-position="start"]) .media,:host([type="image"][image-position="end"]) .media{aspect-ratio:auto;min-height:120px}:host([type="image"]:not([image-position="top"])) .footer{align-self:end;padding-top:0}}@container (max-width:479.98px){:host([type="image"][image-position="end"]) .base{grid-template-areas:"header" "content" "footer" "media"}}:host([type="panel"]) ::slotted(*),:host([type="header_footer"]) ::slotted(:not([slot])){--tc-last-divider:0}