.practice { max-width: 1080px; padding-block: 42px 60px; }
.skip-link:not(:focus) { clip-path: inset(50%); }
.practice-intro { display: grid; grid-template-columns: minmax(0, 1fr) 245px; gap: 24px; align-items: end; margin-bottom: 24px; }
.practice h1 { font-size: clamp(38px, 6vw, 64px); margin-bottom: 8px; }
.practice-intro p, .practice-guide, .practice-caption { color: var(--muted); }
.practice-edition { border-left: 2px solid var(--line); padding-left: 13px; font-size: .85rem; }
.practice-grid { display: grid; grid-template-columns: minmax(230px, .75fr) minmax(0, 1.65fr); gap: 18px; align-items: start; }
.practice-brief, .practice-table { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--white); }
.practice-brief { padding: 20px; }
.practice-brief h2, .practice-station h2 { font-size: clamp(26px, 4vw, 39px); margin-bottom: 9px; }
.practice-brief .eyebrow { margin-bottom: 7px; }
.practice-brief dl { margin-top: 14px; }
.practice-brief dl div, .practice-review div { display: flex; justify-content: space-between; gap: 10px; padding-block: 5px; border-top: 1px solid var(--line); }
.practice-brief dd, .practice-review dd { margin: 0; font-weight: 600; text-align: end; }
.practice-caption { text-align: center; font-size: .83rem; margin-top: 5px; }
.practice-preview { height: 158px; background: #ece3d5; position: relative; overflow: hidden; border-radius: 6px; margin-top: 13px; }
[data-fabric="twill"] { --cloth: repeating-linear-gradient(135deg, #344944 0 3px, #3d524c 3px 5px); --swatch: #344944; }
[data-fabric="linen"] { --cloth: repeating-linear-gradient(90deg, #707782 0 3px, #7d8490 3px 4px); --swatch: #707782; }
[data-fabric="silk"] { --cloth: linear-gradient(120deg, #713f52, #af7689 62%, #713f52); --swatch: #92546a; }
.practice-preview span { display: block; position: absolute; left: 50%; background: var(--cloth); }
.practice-collar { width: 35px; height: 15px; top: 16px; margin-left: -17px; clip-path: polygon(0 0, 50% 50%, 100% 0, 92% 77%, 50% 100%, 8% 77%); z-index: 1; filter: brightness(1.3); }
.practice-bodice { width: 72px; height: 56px; top: 16px; margin-left: -36px; clip-path: polygon(0 8%, 24% 0, 50% 18%, 76% 0, 100% 8%, 87% 43%, 80% 100%, 20% 100%, 13% 43%); }
.practice-sleeve { width: 28px; height: 45px; top: 22px; clip-path: polygon(37% 0, 100% 12%, 77% 100%, 0 85%); filter: brightness(.95); }
.practice-sleeve.left { margin-left: -51px; }
.practice-sleeve.right { margin-left: 23px; transform: scaleX(-1); }
.practice-skirt { width: 106px; height: 70px; top: 71px; margin-left: -53px; clip-path: polygon(29% 0, 71% 0, 100% 93%, 66% 100%, 34% 100%, 0 93%); }
.practice-preview .practice-buttons { display: none; top: 34px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #e6cc99; box-shadow: 0 9px #e6cc99, 0 18px #e6cc99; }
.practice-preview[data-trim="true"] .practice-buttons { display: block; }
.practice-progress { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); text-align: center; }
.practice-progress li { padding: 12px 2px; border-bottom: 3px solid transparent; color: var(--muted); font-weight: 600; font-size: .85rem; }
.practice-progress li[aria-current="step"] { background: #f3e9e6; color: var(--wine-dark); border-bottom-color: var(--wine); }
.practice-progress li.is-complete { color: #365446; }
.practice-station { padding: 20px; }
.practice-station > p { color: var(--muted); }
.practice-status { min-height: 41px; padding: 8px 20px; font-size: .85rem; color: var(--wine-dark); background: #f3e9e6; }
.practice-options { border: 0; padding: 0; display: grid; gap: 7px; margin: 16px 0; min-width: 0; }
.practice-option { display: grid; grid-template-columns: 20px 33px minmax(0, 1fr); gap: 9px; align-items: center; border: 1px solid var(--line); padding: 8px 10px; border-radius: 5px; cursor: pointer; }
.practice-option:has(:checked) { border-color: var(--wine); background: #faf2ef; }
.practice-option input { accent-color: var(--wine); }
.practice-option strong, .practice-option small { display: block; }
.practice-option small { color: var(--muted); }
.practice-swatch { width: 31px; height: 31px; border-radius: 3px; background: var(--cloth); }
.practice-panel { margin: 16px 0; padding: 13px 16px; background: #f1e9dc; border: 1px solid var(--line); border-radius: 6px; }
.practice-panel h3 { font-size: 24px; }
.practice-panel p { margin-top: 5px; }
.practice-grain { display: grid; place-items: center; min-height: 126px; background: var(--cloth); border-radius: 4px; margin-block: 9px; }
.practice-grain span { display: grid; place-items: center; width: 97px; height: 84px; background: #f7e9cc; clip-path: polygon(0 12%, 26% 0, 50% 17%, 74% 0, 100% 12%, 91% 44%, 81% 40%, 75% 100%, 25% 100%, 19% 40%, 9% 44%); }
.practice-grain[data-piece="1"] span { clip-path: polygon(0 15%, 50% 30%, 100% 15%, 100% 72%, 50% 91%, 0 72%); }
.practice-grain[data-piece="2"] span { clip-path: polygon(14% 0, 88% 15%, 80% 98%, 0 86%); }
.practice-grain[data-piece="3"] span { clip-path: polygon(24% 0, 76% 0, 100% 91%, 50% 100%, 0 91%); }
.practice-grain span::after { content: ''; width: 43px; border-top: 2px dashed #693b4a; }
.practice-grain[data-angle="90"] span { transform: rotate(90deg); }
.practice-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.practice-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 13px; border-radius: 5px; background: var(--wine); color: white; font-weight: 600; text-decoration: none; }
.practice-btn:hover { background: var(--wine-dark); }
.practice-btn.secondary { background: var(--white); color: var(--wine-dark); border: 1px solid var(--line); }
.practice-btn.secondary:hover { border-color: var(--wine); }
.practice-stitches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.practice-stitches button { background: var(--white); border: 1px dashed var(--brass); border-radius: 5px; padding: 8px 3px; min-height: 52px; font-size: .83rem; }
.practice-stitches button:hover { background: #f3e9e6; border-style: solid; }
.practice-review { margin-top: 14px; }
.practice-feedback { margin-top: 10px; }
.practice-guide { margin-top: 16px; font-size: .9rem; }
.walkthrough-jump, .walkthrough-return { display: inline-block; margin-top: 8px; padding-block: 8px; color: var(--wine); font-weight: 600; text-underline-offset: 3px; }
.practice-grid[hidden] ~ .walkthrough .walkthrough-return { display: none; }
.walkthrough { margin-top: 40px; padding-top: 25px; border-top: 1px solid var(--line); }
.walkthrough header p { max-width: 62ch; margin-top: 8px; color: var(--muted); }
.walkthrough-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 16px 0 0; padding: 0; counter-reset: workshop-step; }
.walkthrough-steps li { counter-increment: workshop-step; display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); padding: 16px; }
.walkthrough-steps h3 { font-size: clamp(22px, 2.5vw, 29px); }
.walkthrough-steps h3::before { content: counter(workshop-step, decimal-leading-zero); margin-right: .65em; color: var(--brass); font: 600 .65em var(--sans); }
.walkthrough-steps p { color: var(--muted); margin-bottom: 4px; }
.walkthrough-steps img { width: 100%; height: auto; margin-top: auto; border: 1px solid var(--line); border-radius: 4px; }
@media (max-width: 680px) {
  .practice { width: calc(100% - 24px); padding-top: 24px; }
  .practice-intro, .practice-grid { grid-template-columns: 1fr; gap: 10px; }
  .practice-brief, .practice-station { padding: 13px; }
  .practice-brief { display: grid; grid-template-columns: minmax(0, 1fr) 94px; column-gap: 8px; }
  .practice-brief > :not(.practice-preview, .practice-caption) { grid-column: 1; }
  .practice-preview { grid-column: 2; grid-row: 1 / 5; height: 100%; min-height: 126px; margin-top: 0; }
  .practice-skirt { width: 90px; margin-left: -45px; }
  .practice-caption { grid-column: 2; }
  .practice-status { padding-inline: 13px; }
  .walkthrough { margin-top: 28px; }
  .walkthrough-steps { grid-template-columns: 1fr; gap: 10px; }
  .walkthrough-steps li { padding: 12px; }
}
