/* Surgical tech scope of practice — editable stylesheet */

:root {
  --ink: #10273a;
  --blue: #254dd8;
  --teal: #006e70;
  --red: #b73524;
  --line: #c2ccd5;
  --pale: #edf2ff;
  --light: #f1f6f8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 17px/1.7 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.12;
  letter-spacing: -.035em;
}

p+p {
  margin-top: 1em;
}

a {
  color: var(--blue);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

button,
select {
  font: inherit;
}

button,
summary {
  cursor: pointer;
}

button,
select {
  min-height: 48px;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
select:focus-visible {
  outline: 3px solid #d66a14;
  outline-offset: 5px;
}

button {
  touch-action: manipulation;
}

[hidden] {
  display: none!important;
}

.wrap {
  width: min(1280px,calc(100% - 80px));
  margin-inline: auto;
}

.kicker {
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.5;
}

.skip {
  position: absolute;
  top: -100px;
  left: 10px;
  background: white;
  z-index: 200;
  padding: 12px;
}

.skip:focus {
  top: 10px;
}

.crumbs {
  font-size: .73rem;
  margin: 24px 0 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.crumbs a {
  color: #44566a;
}

.hero {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 70px;
  align-items: end;
  padding: 10px 0 48px;
}

.hero .kicker {
  color: var(--blue);
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(3.2rem,5.4vw,5.3rem);
  font-weight: 800;
  max-width: 900px;
  line-height: 1.01;
}

.hero-intro {
  font-size: 1.12rem;
  line-height: 1.65;
  border-top: 5px solid var(--teal);
  padding-top: 22px;
}

.hero-intro .review {
  font-size: .74rem;
  margin-top: 24px;
  color: #526174;
}

.diagram {
  margin: 0;
}

.diagram img {
  display: block;
  width: 100%;
  height: auto;
}

.diagram picture {
  display: block;
  background: white;
}

.diagram figcaption {
  font-size: .8rem;
  line-height: 1.6;
  color: #455b6e;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  max-width: 100%;
}

.diagram figcaption a {
  white-space: normal;
}

.section {
  padding-block: 76px;
}

.section-top {
  display: grid;
  grid-template-columns: 230px minmax(0,1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.section-top>.kicker {
  color: var(--teal);
  padding-top: 9px;
}

.section-top h2 {
  font-size: clamp(2rem,3.4vw,3.2rem);
  max-width: 850px;
}

.section-top p:not(.kicker) {
  margin-top: 20px;
  max-width: 780px;
}

.reading {
  display: grid;
  grid-template-columns: minmax(0,1fr) 300px;
  gap: 66px;
}

.prose h3 {
  font-size: 1.45rem;
  margin-bottom: 18px;
}

.prose p {
  max-width: 79ch;
}

.prose section+section {
  margin-top: 35px;
}

.margin-note {
  border-top: 5px solid var(--teal);
  padding-top: 20px;
  font-size: .93rem;
}

.margin-note h3 {
  font-size: 1.3rem;
  margin-bottom: 17px;
}

.margin-note a {
  display: inline-block;
  margin-top: 15px;
}

.task-section {
  background: var(--ink);
  color: white;
  padding-block: 64px;
}

.task-section .section-top>.kicker {
  color: #7ee1d7;
}

.task-section h2 {
  max-width: 850px;
}

.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #697988;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.tabs button {
  border: 0;
  border-bottom: 4px solid transparent;
  background: transparent;
  color: inherit;
  padding: 15px 24px;
  font-size: .97rem;
  font-weight: 750;
}

.tabs button[aria-selected=true] {
  border-color: #77e3d6;
  background: #203c50;
  color: #fff;
}

.task-panel {
  padding-top: 10px;
}

.task-panel h3 {
  font-size: 1.75rem;
  max-width: 1000px;
  margin-bottom: 32px;
  letter-spacing: -.025em;
}

.act-columns {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 32px;
}

.act-columns>div {
  border-top: 2px solid #6bc8c0;
  padding-top: 22px;
}

.act-columns h4 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: #9be9e1;
}

.act-columns p {
  font-size: .97rem;
  color: #e0e7ef;
}

.case-note {
  margin-top: 32px;
  padding: 22px 26px;
  border-left: 4px solid #f7a290;
  background: #20394c;
  font-size: .95rem;
}

.citeline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: .76rem;
  margin-top: 23px;
}

.task-section a {
  color: #a7d9ff;
}

.task-panel+.task-panel {
  margin-top: 38px;
  padding-top: 32px;
  border-top: 1px solid #607588;
}

.js-tabs .task-panel+.task-panel {
  margin: 0;
  border: 0;
  padding-top: 10px;
}

.suture-figure {
  margin-top: 36px;
}

.scope-law {
  background: #edf2ff;
}

.law-layout {
  display: grid;
  grid-template-columns: minmax(0,1.8fr) minmax(250px,1fr);
  gap: 46px;
  align-items: start;
}

.law-copy h3 {
  font-size: 1.8rem;
  margin: 0 0 20px;
}

.law-copy p {
  font-size: .97rem;
}

.legal-pair {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid #9bacd4;
}

.legal-pair>div {
  padding: 20px 22px 0 0;
}

.legal-pair>div+div {
  padding-left: 22px;
  border-left: 1px solid #9bacd4;
}

.legal-pair h4 {
  font-size: 1.05rem;
  margin-bottom: 9px;
}

.role-controls.tabs {
  color: var(--ink);
  border-color: var(--line);
}

.role-controls button[aria-selected=true] {
  background: var(--blue);
  border-color: var(--blue);
}

.role-panel h3 {
  font-size: 1.8rem;
  margin-bottom: 27px;
  max-width: 950px;
}

.role-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
}

.role-columns>div {
  padding: 30px;
  background: #f1f6f8;
}

.role-columns>div+div {
  border-left: 1px solid var(--line);
  background: #e9eeff;
}

.role-columns h4 {
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.role-columns p {
  font-size: 1rem;
}

.role-context {
  border-left: 4px solid var(--blue);
  padding-left: 21px;
  font-size: .94rem;
  margin-top: 25px;
}

.role-panel+.role-panel {
  margin-top: 36px;
}

.js-tabs .role-panel+.role-panel {
  margin: 0;
}

.role-figure {
  margin-top: 38px;
}

.state-section {
  background: var(--teal);
  color: #fff;
  padding: 68px 0;
}

.state-section .section-top>.kicker {
  color: #b8f5eb;
}

.state-section .section-top {
  margin-bottom: 38px;
}

.state-shell {
  display: grid;
  grid-template-columns: 310px minmax(0,1fr);
  align-items: start;
  background: white;
  color: var(--ink);
}

.state-tools {
  padding: 32px;
  background: #e1f1ee;
  position: sticky;
  top: 20px;
}

.state-tools label {
  font-size: 1.1rem;
  font-weight: 800;
  display: block;
  margin-bottom: 13px;
  letter-spacing: -.02em;
}

.state-tools select {
  width: 100%;
  background: white;
  border: 1px solid #396c6a;
  border-radius: 0;
  padding: 11px 34px 11px 13px;
  font-size: 1rem;
  color: var(--ink);
}

.state-tools .hint {
  font-size: .84rem;
  margin: 20px 0;
  color: #315957;
}

.state-entry {
  padding: 38px 42px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 24px;
}

.state-title .kicker {
  font-size: .66rem;
  color: var(--teal);
}

.state-title h3 {
  font-size: 2.6rem;
  margin: 10px 0 24px;
}

.state-copy {
  font-size: .98rem;
}

.state-citations {
  margin-top: 26px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.state-citations h4 {
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.state-citations ul {
  padding: 0;
  list-style: none;
  margin: 14px 0 0;
}

.state-citations li {
  margin: 8px 0;
  font-size: .78rem;
  overflow-wrap: anywhere;
}

.state-section .section-top a {
  color: white;
}

.below-state {
  font-size: .8rem;
  color: #ddf2ed;
  margin-top: 24px;
  max-width: 950px;
}

.setting-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
}

.setting-grid>section {
  border-top: 5px solid var(--blue);
  padding-top: 25px;
}

.setting-grid>section+section {
  border-color: var(--teal);
}

.setting-grid h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.setting-grid p {
  font-size: 1rem;
}

.setting-grid .source-link {
  font-size: .8rem;
  margin-top: 20px;
}

.details-list {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.details-list details {
  border-bottom: 1px solid var(--line);
}

.details-list summary {
  padding: 22px 45px 22px 0;
  font-weight: 750;
  font-size: 1.1rem;
  position: relative;
  list-style: none;
}

.details-list summary::-webkit-details-marker {
  display: none;
}

.details-list summary:after {
  content: '+';
  position: absolute;
  right: 5px;
  font-size: 1.6rem;
  font-weight: 400;
  top: 14px;
}

.details-list details[open]>summary:after {
  content: '−';
}

.details-list details>div {
  max-width: 900px;
  padding: 0 0 26px;
}

.details-list details>div p {
  font-size: .97rem;
}

.first-assist {
  background: #dfe9ff;
  padding: 38px;
  align-self: start;
  border-bottom: 6px solid var(--blue);
}

.first-assist h3 {
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.first-assist p {
  font-size: .94rem;
}

.first-assist a {
  display: inline-block;
  font-weight: 700;
  margin-top: 20px;
}

.guide-section {
  background: #10273a;
  color: white;
  padding: 60px 0;
}

.guide-section h2 {
  font-size: 2.5rem;
  margin-bottom: 34px;
}

.guide-columns {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 70px;
}

.guide-columns h3 {
  font-size: 1.05rem;
  color: #a5e9e0;
  margin-bottom: 17px;
  letter-spacing: 0;
}

.guide-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 30px;
}

.guide-links a {
  color: white;
  text-decoration: none;
  border-top: 1px solid #4b6171;
  padding: 13px 0;
  font-size: .88rem;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.guide-links a:hover {
  text-decoration: underline;
}

.guide-links a[aria-current] {
  color: #9be9e1;
}

.guide-links.special {
  grid-template-columns: 1fr;
}

.references {
  padding: 42px 0;
}

.references h2 {
  font-size: 1.3rem;
  margin-bottom: 22px;
}

.reference-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 40px;
  padding: 0;
  list-style: none;
  font-size: .8rem;
}

.reference-note {
  font-size: .77rem;
  color: #506273;
  margin-top: 24px;
  max-width: 950px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

.nojs-note {
  padding: 15px;
  background: #e1f1ee;
  color: var(--ink);
}

@media(min-width:1500px) {
  .wrap {
    width: 1280px;
  }
}

@media(max-width:1050px) {
  .hero {
    gap: 35px;
    grid-template-columns: 1.6fr 1fr;
  }

  h1 {
    font-size: 4rem;
  }

  .section-top {
    grid-template-columns: 160px 1fr;
    gap: 24px;
  }

  .reading {
    gap: 35px;
    grid-template-columns: 1fr 260px;
  }

  .law-layout {
    grid-template-columns: 1fr;
  }

  .law-copy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .law-copy h3 {
    grid-column: 1/-1;
    margin-bottom: 0;
  }

  .legal-pair {
    margin-top: 0;
  }

  .state-shell {
    grid-template-columns: 260px 1fr;
  }

  .state-entry {
    padding: 30px;
  }

  .state-tools {
    padding: 26px;
  }

  .guide-columns {
    gap: 36px;
  }

  .tabs button {
    padding: 14px 18px;
  }
}

@media(max-width:760px) {
  .wrap {
    width: calc(100% - 36px);
  }

  .crumbs {
    margin: 20px 0 28px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-bottom: 32px;
  }

  .hero h1 {
    font-size: clamp(2.9rem,9vw,4rem);
    line-height: 1.03;
  }

  .hero .kicker {
    font-size: .65rem;
    margin-bottom: 17px;
  }

  .hero-intro {
    font-size: 1.03rem;
    border-top-width: 3px;
    padding-top: 18px;
  }

  .hero-intro .review {
    margin-top: 17px;
  }

  .section {
    padding-block: 48px;
  }

  .section-top {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-bottom: 27px;
  }

  .section-top h2 {
    font-size: 2.15rem;
  }

  .section-top>.kicker {
    padding-top: 0;
  }

  .section-top p:not(.kicker) {
    margin-top: 17px;
    font-size: 1rem;
  }

  .reading {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .margin-note {
    padding: 23px;
    background: #eef5f6;
  }

  .task-section {
    padding: 46px 0;
  }

  .tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .tabs button {
    text-align: left;
    padding: 13px 14px;
    font-size: .9rem;
    line-height: 1.4;
    border-bottom: 3px solid transparent;
  }

  .act-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .act-columns>div {
    padding-top: 17px;
  }

  .act-columns h4 {
    margin-bottom: 11px;
  }

  .task-panel h3 {
    font-size: 1.55rem;
    margin-bottom: 25px;
  }

  .case-note {
    padding: 20px;
    font-size: .92rem;
  }

  .citeline {
    flex-direction: column;
    gap: 10px;
  }

  .law-copy {
    display: block;
  }

  .law-copy h3 {
    margin-bottom: 20px;
  }

  .legal-pair {
    margin-top: 25px;
  }

  .role-columns {
    grid-template-columns: 1fr;
  }

  .role-columns>div {
    padding: 24px;
  }

  .role-columns>div+div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .role-panel h3 {
    font-size: 1.6rem;
  }

  .role-controls {
    grid-template-columns: 1fr;
  }

  .role-controls button {
    padding: 14px 18px;
  }

  .state-section {
    padding: 47px 0;
  }

  .state-shell {
    grid-template-columns: 1fr;
  }

  .state-tools {
    position: static;
    padding: 25px;
  }

  .state-tools .hint {
    margin: 15px 0;
  }

  .state-entry {
    padding: 26px 23px;
  }

  .state-title h3 {
    font-size: 2.3rem;
  }

  .state-copy {
    font-size: .97rem;
  }

  .setting-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .setting-grid h3 {
    font-size: 1.65rem;
  }

  .details-list summary {
    font-size: 1rem;
  }

  .first-assist {
    padding: 27px;
  }

  .guide-columns {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .guide-section h2 {
    font-size: 2.1rem;
  }

  .guide-links {
    column-gap: 23px;
  }

  .reference-list {
    grid-template-columns: 1fr;
  }

}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  .site-head,
  .guide-nav,
  .cgp-footer,
  .tabs,
  .state-tools,
  .guide-section,
  .skip {
    display: none!important;
  }

  .wrap {
    width: 100%;
  }

  .hero,
  .section-top,
  .reading,
  .law-layout,
  .state-shell {
    display: block;
  }

  .section,
  .state-section,
  .task-section {
    padding: 20px 0;
  }

  .task-panel[hidden],
  .role-panel[hidden] {
    display: block!important;
  }

  .task-section,
  .state-section,
  .role-columns>div,
  .scope-law {
    background: white;
    color: black;
  }

  .task-section a,
  .act-columns h4,
  .act-columns p {
    color: black;
  }

  .state-entry {
    break-inside: avoid;
  }

  .diagram img {
    max-height: 300px;
    object-fit: contain;
  }

  .state-entry,
  .task-panel,
  .role-panel {
    margin: 20px 0;
  }

  .case-note {
    background: white;
  }

  .hero h1 {
    font-size: 35pt;
  }
}

.hero {
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  align-items: center;
  gap: 40px;
  padding: 12px 0 44px;
  border-bottom: 5px solid var(--blue);
}

.hero h1 {
  font-size: clamp(2.5rem,4vw,3.85rem);
  line-height: 1.04;
}

.hero-intro {
  border: 0;
  padding-top: 22px;
  font-size: 1.02rem;
  max-width: 52ch;
}

.hero-intro .review {
  margin-top: 18px;
}

.hero-art {
  min-width: 0;
  background: #edf2ff;
  padding: 14px;
}

.hero-art figcaption {
  font-size: .73rem;
  line-height: 1.5;
  border: 0;
  padding: 12px 4px 2px;
}

.hero-art img {
  aspect-ratio: 1672/941;
}

@media(max-width:1000px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero h1 {
    font-size: clamp(2.5rem,6vw,3.9rem);
    max-width: 900px;
  }

  .hero-intro {
    max-width: 76ch;
  }

  .hero-art {
    padding: 12px;
  }
}

@media(max-width:650px) {
  .hero {
    padding-top: 0;
    padding-bottom: 28px;
    gap: 22px;
  }

  .hero h1 {
    font-size: clamp(2.45rem,9vw,3.3rem);
  }

  .hero-intro {
    font-size: 1rem;
    padding-top: 17px;
  }

  .hero-art {
    padding: 0;
    background: white;
  }

  .hero-art img {
    aspect-ratio: 706/941;
  }

  .hero-art figcaption {
    padding: 12px 0 0;
  }

  .crumbs {
    margin-bottom: 22px;
  }
}

.hero-photo {
  padding: 0;
  background: transparent;
}

.hero-photo picture,
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
}

/* Keep all reading content available when JavaScript is disabled. */
.no-js .state-entry[hidden],
.no-js .task-panel[hidden],
.no-js .role-panel[hidden] {
  display: block !important;
}

.authority-illustration {
  padding-bottom: 48px;
}

.responsibilities-section {
  border-top: 1px solid var(--line);
}

.first-assist-label {
  margin-bottom: 15px;
}
