/* Section components: cards, logo and icon downloads, swatches, type specimens, voice tables, the Captain, and the agents panel. */
/* Who we are */
.promise { padding: clamp(28px, 4vw, 48px); background: var(--blue); color: #fff; }
.promise .kicker { color: var(--blue-soft); }
.promise blockquote { margin: 0; font-size: clamp(1.9rem, 4vw, 3.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -.055em; }
.promise blockquote span { color: var(--lime); }
.copy-block { display: grid; gap: 12px; }
.copy-row { min-width: 0; padding: 18px 20px; border: 1.5px solid var(--ink); border-radius: var(--r-md); background: var(--paper); display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 18px; align-items: start; }
.copy-row > span { color: var(--blue-dark); font-size: .62rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding-top: 4px; }
.copy-row p { line-height: 1.65; }
.copy-row p a { color: var(--blue-dark); text-underline-offset: 3px; }
.copy-btn { padding: 6px 10px; border: 1.5px solid var(--ink); border-radius: var(--r-sm); background: var(--sky); box-shadow: 2px 2px 0 var(--ink); font: 800 .7rem var(--sans); color: var(--ink); cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap; }
.copy-btn:hover { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--ink); background: var(--yellow); }
.copy-btn:active { transform: translate(2px, 2px); box-shadow: none; }
.copy-btn.done { background: var(--lime); }

/* Lifecycle */
.lifecycle { position: relative; }
.stage { min-width: 0; border: 1.5px solid var(--ink); border-radius: 14px; box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; }
.stage header { padding: 12px 18px; border-bottom: 1.5px solid var(--ink); font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.stage .body { padding: 22px 18px 24px; display: grid; gap: 10px; }
.stage h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.02; letter-spacing: -.045em; }
.stage .headline { font-weight: 800; line-height: 1.35; }
.stage .desc { color: var(--ink-soft); font-size: .9rem; line-height: 1.65; }
.stage--sc { background: var(--yellow); } .stage--rt { background: var(--sky); } .stage--hu { background: var(--pink-soft); }
.stage .verb { width: fit-content; padding: 4px 8px; border: 1.5px solid var(--ink); border-radius: var(--r-sm); background: var(--paper); font-size: .72rem; font-weight: 800; }
.plane { margin-top: 18px; padding: 22px; border: 1.5px solid var(--ink); border-radius: 14px; background: var(--blue); color: #fff; box-shadow: var(--shadow-sm); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 22px; align-items: center; }
.plane h3 { font-size: 1.3rem; letter-spacing: -.035em; line-height: 1.15; }
.plane ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.plane li { min-width: 0; padding: 12px; border: 1.5px solid var(--ink); border-radius: 10px; background: var(--paper); color: var(--ink); font-size: .78rem; line-height: 1.45; }
.plane li b { display: block; margin-bottom: 3px; font-size: .88rem; }

/* Logos */
.logo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.logo-card.wide { grid-column: span 2; }
.logo-card { min-width: 0; border: 1.5px solid var(--ink); border-radius: 14px; background: var(--paper); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; }
.logo-card .stage-area { min-height: 170px; padding: 28px; display: grid; place-items: center; background: var(--canvas); border-bottom: 1.5px solid var(--ink); }
.logo-card .stage-area img { max-height: 76px; width: auto; }
.logo-card.primary { grid-column: span 2; }
.logo-card.primary .stage-area img { max-height: 92px; }
.logo-card .meta { padding: 16px 18px 18px; display: grid; gap: 6px; }
.logo-card h3 { font-size: 1rem; letter-spacing: -.02em; }
.logo-card p { color: var(--ink-soft); font-size: .85rem; line-height: 1.55; }
.file { font-family: var(--mono); font-size: .7rem; color: var(--ink-soft); overflow-wrap: anywhere; }
.badge { width: fit-content; padding: 3px 7px; border: 1.5px solid var(--ink); border-radius: var(--r-sm); background: var(--lime); font-size: .6rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }

.bg-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.bg-tile { min-width: 0; aspect-ratio: 4 / 3; max-width: 100%; border: 1.5px solid var(--ink); border-radius: var(--r-md); display: grid; place-items: center; padding: 18px; position: relative; }
.bg-tile img { width: min(82%, 220px); }
.bg-tile span { position: absolute; left: 12px; bottom: 10px; font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.bg-tile.ink span, .bg-tile.blue span { color: #fff; }

.rules { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.clear-space { padding: 28px; display: grid; place-items: center; background: var(--paper); }
.clear-box { position: relative; padding: 26px; background: repeating-linear-gradient(45deg, var(--pink-soft) 0 6px, var(--paper) 6px 12px); border: 1.5px dashed var(--ink); border-radius: 4px; }
.clear-box img { display: block; width: 132px; }
.clear-box b { position: absolute; top: 4px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: .62rem; font-weight: 500; }
.spec-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.spec-list li { padding: 12px 0; border-bottom: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 18px; font-size: .9rem; }
.spec-list li:last-child { border-bottom: 0; }
.spec-list b { font-family: var(--mono); font-weight: 500; font-size: .82rem; text-align: right; }

.donts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.dont { min-width: 0; border: 1.5px solid var(--ink); border-radius: var(--r-md); background: var(--paper); overflow: hidden; }
.dont .stage-area { height: 120px; display: grid; place-items: center; background: var(--canvas); border-bottom: 1.5px solid var(--ink); overflow: hidden; }
.dont .stage-area img { width: 64px; }
.dont p { padding: 10px 12px; font-size: .78rem; font-weight: 700; line-height: 1.35; display: flex; gap: 8px; align-items: baseline; }
.dont p::before { content: "✕"; flex: 0 0 auto; width: 18px; height: 18px; display: inline-grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--pink); font-size: .6rem; }
.x-recolor { filter: hue-rotate(160deg) saturate(1.4); }
.x-stretch { transform: scaleX(1.55); }
.x-rotate { transform: rotate(-24deg); }
.x-blur { filter: drop-shadow(6px 8px 6px rgba(17, 21, 40, .55)); }
.x-fill { width: 64px; height: 64px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 9px; background: var(--pink); }
.x-fill img { width: 40px !important; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.dl-row { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.png-pick { display: inline-flex; align-items: stretch; }
.png-pick select { min-height: 34px; padding: 0 26px 0 9px; border: 1.5px solid var(--ink); border-right: 0; border-radius: var(--r-sm) 0 0 var(--r-sm); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23111528' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 9px center; color: var(--ink); font: 500 .74rem var(--mono); appearance: none; -webkit-appearance: none; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); }
.png-pick .dl { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.dl { min-height: 34px; padding: 6px 12px; display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--ink); border-radius: var(--r-sm); background: var(--blue); color: #fff; box-shadow: 3px 3px 0 var(--ink); font: 800 .76rem var(--sans); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease; }
.dl::before { content: ""; width: 10px; height: 11px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 11'%3E%3Cpath d='M5 0v7M1.5 4L5 7.5 8.5 4M0 10h10' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 11'%3E%3Cpath d='M5 0v7M1.5 4L5 7.5 8.5 4M0 10h10' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat; }
.dl:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); background: var(--yellow); color: var(--ink); }
.dl:active { transform: translate(3px, 3px); box-shadow: none; }
.dl-note { color: var(--ink-soft); font-size: .74rem; font-weight: 700; }
.token-downloads { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.token-downloads p { color: var(--ink-soft); font-size: .9rem; margin-right: 4px; }

.lockup-list { padding: 6px 22px; }
.lockup-row { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 10px 28px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line-soft); }
.lockup-row:first-child { border-top: 0; }
.lockup-row .lockup { --lockup-size: 22px; }
.lockup-row p { color: var(--ink-soft); font-size: .86rem; }

/* Imagery */
.anatomy { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0; overflow: hidden; }
.anatomy-figure { position: relative; padding: clamp(32px, 5vw, 56px); background: var(--lime); border-right: 2px solid var(--ink); display: grid; place-items: center; }
.anatomy-figure .glyph-wrap { position: relative; width: min(100%, 300px); }
.anatomy-figure .glyph-wrap img { display: block; width: 100%; }
.pin { position: absolute; width: 30px; height: 30px; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--paper); box-shadow: 2px 2px 0 var(--ink); font-size: .78rem; font-weight: 800; transform: translate(-50%, -50%); }
.anatomy-copy { padding: clamp(24px, 4vw, 44px); display: grid; gap: 22px; align-content: center; }
.anatomy-copy ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.anatomy-copy li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; }
.anatomy-copy li > span { width: 30px; height: 30px; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--paper); font-size: .78rem; font-weight: 800; }
.anatomy-copy h3 { font-size: 1.05rem; letter-spacing: -.02em; }
.anatomy-copy p { margin-top: 4px; color: var(--ink-soft); font-size: .92rem; line-height: 1.6; }
.anatomy-copy .meaning { padding: 16px 18px; border: 1.5px solid var(--ink); border-radius: var(--r-md); background: var(--blue-soft); font-weight: 700; line-height: 1.5; }

.motif { min-width: 0; border: 1.5px solid var(--ink); border-radius: 14px; background: var(--paper); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; }
.motif .visual { height: 170px; position: relative; overflow: hidden; border-bottom: 1.5px solid var(--ink); display: grid; place-items: center; }
.motif .text { padding: 18px 20px 20px; display: grid; gap: 6px; }
.motif h3 { font-size: 1.05rem; letter-spacing: -.02em; }
.motif p { color: var(--ink-soft); font-size: .88rem; line-height: 1.6; }
.v-plaque { background: var(--canvas); }
.v-plaque img { height: 58px; }
.v-shadow { background: var(--canvas); gap: 0; grid-auto-flow: column; justify-content: center; column-gap: 18px; }
.v-shadow i { display: block; width: 74px; height: 74px; border: 1.5px solid var(--ink); border-radius: var(--r-md); background: var(--paper); }
.v-shadow i:nth-child(1) { box-shadow: 3px 3px 0 var(--ink); }
.v-shadow i:nth-child(2) { box-shadow: 6px 6px 0 var(--ink); background: var(--yellow); }
.v-shadow i:nth-child(3) { box-shadow: 10px 10px 0 var(--ink); background: var(--sky); }
.v-rings { background: var(--blue); }
.v-rings::after { content: ""; position: absolute; top: -170px; right: -150px; width: 440px; height: 440px; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 34px, var(--sky) 35px 37px); opacity: .3; }
.v-rings b { position: relative; z-index: 1; color: #fff; font-size: 1.6rem; letter-spacing: -.05em; line-height: 1; justify-self: start; margin-left: 22px; }
.motif .v-fields { display: grid; grid-template-columns: repeat(3, 1fr); place-items: stretch; }
.v-fields span { display: grid; align-content: end; padding: 12px; font-size: .7rem; font-weight: 800; border-right: 1.5px solid var(--ink); }
.v-fields span:last-child { border-right: 0; }
.v-ui { background: var(--blue-soft); padding: 18px; }
.mini-window { width: 100%; max-width: 280px; border: 1.5px solid var(--ink); border-radius: 10px; background: var(--panel); box-shadow: 5px 5px 0 var(--blue); overflow: hidden; color: var(--panel-copy); font-family: var(--mono); font-size: .62rem; }
.mini-window .bar { padding: 6px 9px; background: var(--sky); color: var(--ink); font-family: var(--sans); font-weight: 800; font-size: .58rem; letter-spacing: .06em; border-bottom: 1.5px solid var(--ink); }
.mini-window .row { padding: 7px 10px; border-top: 1px solid var(--panel-line); display: flex; gap: 8px; align-items: center; }
.mini-window .row:first-of-type { border-top: 0; }
.mini-window .dot { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; }
.mini-window em { margin-left: auto; color: var(--panel-muted); font-style: normal; }
.v-photo { background: var(--orange); }
.v-photo .avatar { width: 84px; height: 84px; border-radius: 50%; border: 1.5px solid var(--ink); background: radial-gradient(circle at 50% 38%, var(--paper) 0 17px, transparent 18px), radial-gradient(circle at 50% 108%, var(--paper) 0 34px, transparent 35px), var(--pink-soft); box-shadow: 3px 3px 0 var(--ink); }

/* Color */
.swatch-group { margin-top: 26px; }
.swatch-group:first-of-type { margin-top: 0; }
.swatch-group h3 { margin-bottom: 14px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-dark); }
.swatches { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 14px; }
.swatch { min-width: 0; padding: 0; border: 1.5px solid var(--ink); border-radius: var(--r-md); background: var(--paper); box-shadow: 3px 3px 0 var(--ink); overflow: hidden; text-align: left; font: inherit; color: var(--ink); cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.swatch:hover { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }
.swatch:active { transform: translate(3px, 3px); box-shadow: none; }
.swatch .chipcolor { height: 96px; border-bottom: 1.5px solid var(--ink); display: flex; align-items: flex-end; justify-content: flex-end; padding: 8px; }
.swatch .chipcolor small { padding: 2px 6px; border-radius: 5px; background: var(--paper); border: 1px solid var(--ink); font-size: .6rem; font-weight: 800; opacity: 0; transition: opacity .15s ease; }
.swatch:hover .chipcolor small, .swatch:focus-visible .chipcolor small, .swatch.done .chipcolor small { opacity: 1; }
.swatch .info { padding: 12px 14px 14px; display: grid; gap: 3px; }
.swatch .name { font-weight: 800; letter-spacing: -.02em; }
.swatch .hex { font-family: var(--mono); font-size: .76rem; font-variant-numeric: tabular-nums; }
.swatch .role { color: var(--ink-soft); font-size: .78rem; line-height: 1.45; }
.ratio { margin-top: 18px; padding: 18px 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.ratio div { padding: 12px; border: 1.5px solid var(--ink); border-radius: 10px; font-weight: 800; font-size: .86rem; }
.ratio small { display: block; font-family: var(--mono); font-weight: 500; font-size: .66rem; margin-top: 4px; }

/* Type */
.type-spec { overflow: hidden; }
.type-row { padding: clamp(22px, 3vw, 34px); display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; border-top: 1.5px solid var(--ink); align-items: center; }
.type-row:first-child { border-top: 0; }
.type-row .what { display: grid; gap: 6px; font-size: .82rem; color: var(--ink-soft); }
.type-row .what b { color: var(--ink); font-size: .95rem; }
.type-row .what code { font-family: var(--mono); font-size: .7rem; color: var(--ink); }
.t-head { font-size: clamp(2.2rem, 5vw, 4.2rem); font-weight: 800; letter-spacing: -.058em; line-height: 1; }
.t-head span { color: var(--blue); }
.t-body { max-width: 62ch; font-size: 1.05rem; line-height: 1.7; }
.t-label { color: var(--blue-dark); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.t-mono { min-width: 0; padding: 14px 16px; border-radius: 10px; background: var(--panel); color: var(--panel-copy); font-family: var(--mono); font-size: .82rem; overflow-x: auto; white-space: pre; line-height: 1.7; }
.t-mono .k { color: var(--lime); } .t-mono .s { color: var(--sky); } .t-mono .p { color: var(--pink); }
.t-word { width: fit-content; padding: .15em .3em .26em; border: 1.5px solid var(--ink); border-radius: 7px; background: var(--lime); box-shadow: 3px 3px 0 var(--ink); font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.05; }

/* Shape */
.btn { text-decoration: none; min-height: 44px; padding: 10px 16px; display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--ink); border-radius: 9px; box-shadow: 3px 3px 0 var(--ink); font: 800 .86rem var(--sans); color: var(--ink); cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease; }
.btn:hover:not(:disabled) { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); background: var(--yellow); color: var(--ink); }
.btn:active:not(:disabled) { transform: translate(4px, 4px); box-shadow: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-secondary { background: var(--pink); }
.btn-quiet { background: var(--sky); }
.btn:disabled { background: var(--sky); color: #596075; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.label-row { display: flex; flex-wrap: wrap; gap: 10px; }
.lbl { padding: 5px 9px; border: 1.5px solid var(--ink); border-radius: var(--r-sm); font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.scale { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-end; }
.scale figure { margin: 0; display: grid; gap: 10px; justify-items: start; font-size: .78rem; }
.scale figure > i { display: block; width: 84px; height: 84px; border: 1.5px solid var(--ink); background: var(--paper); }
.scale figcaption b { display: block; font-family: var(--mono); font-weight: 500; font-size: .7rem; color: var(--ink-soft); }
.shape-card { padding: 24px; display: grid; gap: 18px; align-content: start; }
.shape-card h3 { font-size: 1.1rem; letter-spacing: -.03em; }
.shape-card > p { color: var(--ink-soft); font-size: .9rem; line-height: 1.6; margin-top: -8px; }

/* Voice */
.principles { counter-reset: p; }
.principle { position: relative; }
.principle h3 { font-size: 1.15rem; }
.say { overflow: hidden; }
.say-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 1.5px solid var(--ink); }
.say-row:first-child { border-top: 0; }
.say-row > div { min-width: 0; padding: 16px 20px; line-height: 1.55; font-size: .93rem; }
.say-row > div:first-child { border-right: 1.5px solid var(--ink); }
.say-head > div { font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding-block: 12px; }
.say-head > div:first-child { background: var(--lime); }
.say-head > div:last-child { background: var(--pink-soft); }
.say-row .why { display: block; margin-top: 6px; color: var(--ink-soft); font-size: .78rem; }
.headline-demo { padding: clamp(22px, 3vw, 32px); display: grid; gap: 14px; }
.headline-demo p { font-size: clamp(1.4rem, 2.8vw, 2.2rem); font-weight: 800; line-height: 1.08; letter-spacing: -.05em; }
.headline-demo p span { color: var(--blue); }
.headline-demo p + p { padding-top: 14px; border-top: 1px solid var(--line-soft); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
th { font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-dark); border-bottom: 1.5px solid var(--ink); }
tr:last-child td { border-bottom: 0; }
td.avoid { color: var(--ink-soft); }
.wordlist { display: flex; flex-wrap: wrap; gap: 8px; }
.wordlist span { padding: 4px 9px; border: 1px solid var(--ink); border-radius: var(--r-sm); background: var(--paper); font-size: .8rem; font-weight: 700; text-decoration: line-through; text-decoration-color: var(--pink); text-decoration-thickness: 2px; }
.icon-card .stage-area img { width: 96px; height: 96px; max-height: none; }
.tabs-demo { margin-bottom: 18px; padding: 10px 10px 0; display: flex; gap: 4px; overflow-x: auto; background: var(--blue-soft); }
.tab { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; max-width: 260px; padding: 9px 14px; border: 1.5px solid var(--ink); border-bottom: 0; border-radius: 9px 9px 0 0; background: var(--paper); font-size: .78rem; font-weight: 600; white-space: nowrap; }
.tab span { overflow: hidden; text-overflow: ellipsis; }
.fav-list { padding: 4px 22px; }
.fav-row { display: grid; grid-template-columns: 120px minmax(140px, 1fr) auto auto; gap: 14px 28px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line-soft); }
.fav-row:first-child { border-top: 0; }
.fav-row h3 { font-size: 1.05rem; letter-spacing: -.02em; }
.fav-dl { display: grid; gap: 6px; }
.fav-preview { display: flex; gap: 12px; align-items: center; }
.fav-label { margin: 0 !important; color: var(--ink) !important; font-size: .74rem !important; font-weight: 800; }
.fav-dl .dl-row { margin-top: 0; }
.icon-card .kicker { margin-bottom: 2px; }
.icon-card .meta { flex: 1; display: flex; flex-direction: column; }
.icon-card .meta .dl-row { margin-top: auto; padding-top: 10px; }
.captain-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; }
.captain-card .stage-area { background: var(--canvas); gap: 22px; }
.captain-card .stage-area .captain-hero { width: 220px; height: 220px; max-height: none; }
.captain-sizes { display: flex; gap: 16px; align-items: end; }
.captain-sizes img { max-height: none !important; }
.captain-card .meta .dl-row { margin-bottom: 6px; }
.captain-flat { margin-top: 14px; }
.captain-traits { display: grid; gap: 14px; }
td code { font-family: var(--mono); font-size: .86em; }
.dl-more { display: flex; gap: 14px; margin-top: 4px; font-size: .78rem; font-weight: 700; }
.dl-more a { color: var(--blue-dark); text-underline-offset: 3px; }
.icon-use { padding: 8px 22px; }
.icon-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 18px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line-soft); }
.icon-row:first-child { border-top: 0; }
.icon-row-label { color: var(--ink-soft); font-size: .82rem; font-weight: 700; }
.icon-chips, .icon-sizes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.icon-chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px 5px 6px; border: 1.5px solid var(--ink); border-radius: var(--r-sm); background: var(--paper); font-size: .86rem; font-weight: 800; }
.mech .say-head > div:first-child { background: var(--pink-soft); }
.mech .say-head > div:last-child { background: var(--lime); }
.mech-head { margin: 34px 0 14px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-dark); }
.card .eg { margin-top: 12px; padding: 10px 12px; border-left: 3px solid var(--lime); border-radius: 0 8px 8px 0; background: var(--canvas); color: var(--ink); font-size: .84rem; line-height: 1.55; }
.card .eg em { font-style: normal; font-weight: 800; color: var(--blue-dark); }
.card code { font-family: var(--mono); font-size: .85em; }
.mech-note { margin-top: 22px; max-width: 80ch; color: var(--ink-soft); font-size: .9rem; line-height: 1.65; }
.vocab dt { font-weight: 800; }
.vocab dd { margin: 4px 0 16px; color: var(--ink-soft); font-size: .9rem; line-height: 1.6; }
.vocab dd:last-child { margin-bottom: 0; }


/* Agents */
.agents { padding: clamp(24px, 4vw, 44px); background: var(--panel); color: var(--panel-copy); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); }
.agents h3 { color: #fff; font-size: 1.4rem; letter-spacing: -.035em; }
.agents p { margin-top: 10px; color: var(--panel-muted); line-height: 1.65; }
.agents .chip { margin-bottom: 16px; color: var(--ink); }
.terminal { min-width: 0; border: 1.5px solid var(--panel-line); border-radius: 12px; background: #0D1121; overflow: hidden; }
.terminal .bar { padding: 9px 14px; border-bottom: 1px solid var(--panel-line); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--mono); font-size: .68rem; color: var(--panel-muted); }
.terminal pre { margin: 0; padding: 16px; overflow-x: auto; font-family: var(--mono); font-size: .78rem; line-height: 1.8; color: #DCE1FF; }
.terminal pre .c { color: var(--panel-muted); }
.terminal pre .k { color: var(--lime); }
.terminal-note { padding: 0 16px 16px; font-size: .78rem !important; }
.files { margin-top: 18px; display: grid; gap: 8px; }
.files div { padding: 10px 12px; border: 1px solid var(--panel-line); border-radius: 9px; display: grid; gap: 2px; }
.files code { font-family: var(--mono); font-size: .72rem; color: var(--lime); overflow-wrap: anywhere; }
.files span { font-size: .8rem; color: var(--panel-muted); }

