/* Approved 0.1.20 changes, scoped to the plugin frontend. */
.qicp .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.qicp .qicp-layout .qicp-home>.qicp-title-layer{position:relative;top:auto}
.qicp .qicp-layout .qicp-landing-tile h3{font-weight:500!important}
.qicp .qicp-layout .qicp-bright-cta{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding-inline:24px;background:#eaf2f9;color:#17496f;border:1.5px solid #1f5f99;text-decoration:none}
.qicp .qicp-layout .qicp-bright-cta:hover{background:#dceaf5;color:#103a5a;border-color:#17496f}
.qicp .qicp-layout .qicp-bright-cta:active{background:#cfe1f0}
.qicp .qicp-layout .qicp-bright-cta:focus-visible{outline:3px solid #1f5f99;outline-offset:3px;box-shadow:0 0 0 6px #fff}
/* Decorative body-section line: layout reservation remains constant. */
.qicp main :is(.qicp-section-line,.article-block>h2,.section-heading>h2,.section-title>h2,.member-section>h2){position:relative;padding-bottom:11px}
.qicp main :is(.qicp-section-line,.article-block>h2,.section-heading>h2,.section-title>h2,.member-section>h2)::after{content:"";position:absolute;left:0;bottom:0;margin:0;width:min(45%,480px);width:min(45cqi,480px);height:3px;border:0;border-radius:2px;background:#1f5f99;transform:scaleX(var(--qicp-heading-scale,1));transform-origin:left;pointer-events:none;transition:none;animation:none}
.qicp main .section-heading>h2::after{left:50%;translate:-50% 0;transform-origin:center}
.qicp[data-qicp-ui-motion-stopped=true] main .qicp-section-line::after{transform:scaleX(1)}
@media(prefers-reduced-motion:reduce){.qicp main .qicp-section-line::after{transform:scaleX(1)}}
/* Shared full-card layout; native anchors have one team-detail destination. */
.qicp .qicp-layout .qicp-source-action{position:relative;z-index:3;margin-top:8px;pointer-events:none}
.qicp .qicp-layout .qicp-source-action>a{display:inline-flex;align-items:center;min-height:44px;pointer-events:auto}
.qicp .qicp-layout .qicp-summary-card{position:relative;margin:0;cursor:pointer}
.qicp .qicp-layout .qicp-general-copy:has(.qicp-about-teams){width:min(1120px,calc(100% - var(--gutter)*2));max-width:1120px}
.qicp .qicp-layout .qicp-general-copy:has(.qicp-about-teams)>.article-block{max-width:744px;margin-inline:auto}
.qicp .qicp-layout .qicp-general-copy:has(.qicp-about-teams)>.qicp-navigation-section{max-width:1120px}
.qicp .qicp-layout .qicp-navigation-intro,.qicp .qicp-layout .qicp-navigation-section>h2{max-width:744px;margin-inline:auto}
.qicp .qicp-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:24px}
.qicp .qicp-summary-card .qicp-team-primary>h3{margin-top:0}
.qicp .qicp-team-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:24px}
.qicp .qicp-layout .qicp-field-card{display:flex;align-items:center;gap:24px;min-height:144px;height:auto;margin-top:24px;text-decoration:none;color:#14263f;font-weight:500}
.qicp .qicp-field-graphic{display:flex;align-items:center;justify-content:center;flex:0 0 28%;min-width:0}
.qicp .qicp-field-graphic svg{width:80px;height:80px;max-width:100%;fill:none;stroke:#1f5f99;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.qicp .qicp-compact-name{min-width:0;overflow-wrap:anywhere}
.qicp .qicp-layout .qicp-numbered-case{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:.4em;align-items:baseline}
.qicp .qicp-case-number{display:inline-flex;align-items:center;gap:1px;color:#1f5f99;font-variant-numeric:tabular-nums;white-space:nowrap}
.qicp .qicp-case-number svg{fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;flex:none}
.qicp .qicp-case-title{min-width:0}
@media(min-width:640px) and (max-width:1023px){.qicp .qicp-team-pair{gap:20px}.qicp .qicp-field-graphic{flex-basis:24%}}
@media(max-width:719px){.qicp .qicp-summary-grid{grid-template-columns:minmax(0,1fr);gap:16px}}
@media(max-width:639px){
 .qicp .qicp-team-pair{grid-template-columns:minmax(0,1fr);gap:16px}
 .qicp .qicp-layout .qicp-field-card{gap:16px;min-height:88px}
 .qicp .qicp-field-graphic{flex:0 0 72px}.qicp .qicp-field-graphic svg{width:64px;height:64px}
}

/* 0.1.21: match decorative bra strokes; the number alone is readable font text. */
.qicp .qicp-case-number :is(.qicp-case-bra-angle,.qicp-case-bra-bar){height:1em;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
/* Separate COMM/COMP's last related-field card from the research-results action. */
.qicp .qicp-layout .qicp-general-copy .qicp-field-card+.research-results-action{margin-top:0;padding-top:32px}
@media(max-width:639px){.qicp .qicp-layout .qicp-general-copy .qicp-field-card+.research-results-action{padding-top:24px}}

/* Claude design: genuine native full-card anchors retain text selection and focus outline. */
.qicp .qicp-layout a.qicp-team-home-card.qicp-team-primary{position:relative;text-decoration:none;color:#14263f}
/* Query units follow the actual column, including flex heading rows and no-controller fallback. */
.qicp main :is(.article-block,.section-heading,.section-title,.member-section){container-type:inline-size}
.qicp .qicp-case-bra-angle{width:.375em}
.qicp .qicp-case-bra-bar{width:.1875em}
/* Compact-card variant: one container owns columns, artwork and text-zoom adaptation. */
.qicp .qicp-compact-container{container-type:inline-size;container-name:qicp-compact-navigation}
.qicp .qicp-compact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:24px}
.qicp .qicp-layout .qicp-compact-team{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:16px;gap:12px;min-height:132px;height:auto;min-width:0;text-decoration:none;color:#14263f;font-weight:500}
.qicp .qicp-compact-graphic{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;aspect-ratio:16/9}
.qicp .qicp-compact-graphic .qicp-team-thumbnail{width:100%;padding:0}
.qicp .qicp-compact-graphic img{display:block;margin:0;width:100%;height:auto;max-height:none;aspect-ratio:16/9;object-fit:contain}
.qicp .qicp-compact-graphic svg{width:72px;height:72px;max-width:100%;fill:none;stroke:#1f5f99;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
@container qicp-compact-navigation (min-width:960px){.qicp .qicp-compact-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@container qicp-compact-navigation (max-width:599px){.qicp .qicp-compact-grid{grid-template-columns:minmax(0,1fr)}}
@container qicp-compact-navigation (min-width:20em) and (max-width:599px){
 .qicp .qicp-layout .qicp-compact-team{flex-direction:row;align-items:center;min-height:72px}
 .qicp .qicp-compact-graphic{flex:0 0 min(112px,45%);width:min(112px,45%)}
 .qicp .qicp-compact-graphic svg{width:56px;height:56px}
}
/* Relative threshold catches inherited text zoom and keeps the complete art above its name. */
@container qicp-compact-navigation (max-width:20em){
 .qicp .qicp-compact-grid{grid-template-columns:minmax(0,1fr)}
 .qicp .qicp-layout .qicp-compact-team{flex-direction:column;align-items:stretch}
 .qicp .qicp-compact-graphic{flex:0 0 auto;width:100%}
}
