@import url('/base.css');
:root{--paper:#f5f1df;--focus:#b3482f;--ink:#164d57}body{background:#eee9d6;color:var(--ink);font-family:Arial,sans-serif;background-image:repeating-linear-gradient(0deg,transparent 0 31px,#21607109 31px 32px),repeating-linear-gradient(90deg,transparent 0 31px,#21607109 31px 32px)}.shell{max-width:1120px}.masthead{border-left:7px solid #b54b33;padding-left:20px}.masthead h1{font-family:Georgia,serif;letter-spacing:-.055em;font-size:85px;line-height:.95;font-weight:400}.masthead .eyebrow{font-family:'Courier New',monospace;color:#ac482e;letter-spacing:.17em}.masthead .tagline{font-family:Georgia,serif;font-size:18px;font-style:italic;margin-bottom:0}.masthead::after{content:'N';position:absolute;right:40px;top:23px;transform:rotate(20deg);font:18px Georgia,serif;width:64px;height:64px;text-align:center;padding-top:17px;border:1px solid #21607160;border-radius:50%;background:conic-gradient(from 0deg,transparent 0deg 80deg,#21607115 80deg 100deg,transparent 100deg 260deg,#21607115 260deg 280deg,transparent 280deg)}.edition-bar{border-width:2px 0 1px}.modes button{font-family:'Courier New',monospace;border-color:transparent}.modes button[aria-pressed=true]{color:#f5f1df;background:#164d57}.brief h2{font-family:Georgia,serif;font-weight:400;font-size:31px}.brief .objective{color:#345c5d}.puzzle-number{font-family:'Courier New',monospace;color:#a6442f}.campaign-controls label{font-family:'Courier New',monospace}.campaign-controls select{background:#f5f1df}.paging button{font-family:'Courier New',monospace}.rules{border-color:#164d5766}.rules summary{font-family:Georgia,serif;font-size:17px}.rules p{color:#345c5d}.stats{font-family:'Courier New',monospace;padding-bottom:9px;border-bottom:1px solid #164d5760}.stat strong{color:#a8442d}.harbor{border:2px solid #164d57;background:#f6f3e4;position:relative;padding:16px 18px 12px;box-shadow:5px 5px 0 #164d571a}.chart-heading,.chart-footer{display:flex;justify-content:space-between;gap:12px;font:10px 'Courier New',monospace;letter-spacing:.05em}.chart-heading{border-bottom:1px solid;padding-bottom:12px}.manifest{display:grid;grid-template-columns:44px repeat(4,minmax(0,1fr));gap:8px;margin:14px 0 4px;align-items:stretch}.manifest:has(.manifest-stack:nth-child(4):last-child){grid-template-columns:44px repeat(3,minmax(0,1fr))}.manifest-label{font:9px 'Courier New',monospace;writing-mode:vertical-rl;transform:rotate(180deg);text-align:center;display:flex;align-items:center;justify-content:space-between;gap:10px;letter-spacing:.1em}.manifest-label small{writing-mode:horizontal-tb;transform:rotate(180deg);font-size:8px;letter-spacing:0;line-height:20px}.manifest-stack{font:11px 'Courier New',monospace;text-align:center;min-width:0}.manifest-stack>span{display:block;margin-bottom:8px}.manifest-stack>div{border:1px dashed #164d5740;min-height:63px;padding:5px 3px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:2px}.manifest-stack em{font-size:10px;margin:auto;color:#577276}.crate{display:flex;align-items:center;justify-content:center;gap:4px;width:100%;border:2px solid #754b31;min-height:57px;height:57px;flex:none;position:relative;background:#d69b56;color:#3e3926;box-shadow:inset 0 0 0 3px #ffffff22,inset 7px 0 0 #00000008,inset -7px 0 0 #00000008;font:13px 'Courier New',monospace}.crate::after{content:'';position:absolute;inset:4px;border-top:1px solid #ffffff44;border-bottom:1px solid #0002;pointer-events:none}.crate svg{width:28px;height:27px;fill:none;stroke:currentColor;stroke-width:1.6}.cargo-B{background:#c6684d;border-color:#854b39;color:#fce9cd}.cargo-C{background:#648a82;border-color:#35635e;color:#fff6dc}.mini-crate{height:23px;min-height:23px;font-size:10px;border-width:1px;max-width:62px;gap:0}.mini-crate svg{width:20px;height:20px}.mini-crate::after{inset:2px}.waterline{margin:12px 0 12px;color:#164d57}.waterline svg{display:block;width:100%;height:auto;max-height:42px;fill:none;stroke:currentColor;stroke-width:2}.wave-line{stroke-width:1;opacity:.4}.holds{display:grid;grid-template-columns:repeat(var(--holds),minmax(0,1fr));gap:12px}.hold{border:0;padding:0;text-align:center;min-width:0;min-height:0;position:relative;opacity:1!important}.hold-label{display:flex;align-items:center;justify-content:space-between;gap:2px;padding:7px 1px;font:12px 'Courier New',monospace;border-top:2px solid #164d57}.hold-label small{font-size:10px}.hold-space{display:flex;flex-direction:column;justify-content:flex-end;gap:4px;border-left:1px solid #164d5780;border-right:1px solid #164d5780;border-bottom:5px solid #164d57;padding:5px;height:calc(var(--capacity) * 61px + 11px);background:repeating-linear-gradient(0deg,transparent 0 60px,#164d5712 60px 61px)}.empty-slot{flex:1;min-height:0}.hold-base{display:block;font:8px 'Courier New',monospace;letter-spacing:.04em;padding-top:7px}.quay .hold-space{background:repeating-linear-gradient(135deg,#164d5709 0 6px,transparent 6px 12px);border-left-style:dashed;border-right-style:dashed}.selected .top-crate{transform:translateY(-8px);outline:2px solid #b3482f;outline-offset:1px}.selected .hold-label{color:#b3482f}.ready .hold-label{border-top-color:#6e8a50}.hold:not(:disabled):hover .hold-space{background-color:#dacda54d}.crane-status{font:12px/1.5 'Courier New',monospace;text-align:center;margin:17px 0 12px;min-height:36px}.crane-status>span{font-size:20px;color:#a8442d}.chart-footer{border-top:1px dashed #164d5770;padding-top:10px;font-size:8px}.toolbar{font-family:'Courier New',monospace}.toolbar button{background:#f5f1df}.toolbar #hint{background:#164d57;color:#f5f1df}.result{border-color:#b3482f}.result h3{font-family:Georgia,serif;font-weight:400}.result-actions button{background:#164d57;color:#f5f1df}.feedback{font-family:'Courier New',monospace;color:#8c3b2a;font-size:13px}.site-credit{border-color:#164d5750;color:#365b5c}.embedded .masthead::after{display:none}@media(max-width:760px){.masthead h1{font-size:66px}.masthead::after{right:12px;top:10px;width:48px;height:48px;padding-top:11px}.harbor{max-width:650px;margin:auto}.manifest{grid-template-columns:35px repeat(4,minmax(0,1fr))}.manifest:has(.manifest-stack:nth-child(4):last-child){grid-template-columns:35px repeat(3,minmax(0,1fr))}}@media(max-width:390px){.masthead{padding-left:12px;border-left-width:5px}.masthead h1{font-size:51px}.masthead::after{display:none}.harbor{padding:12px 7px 10px;box-shadow:3px 3px 0 #164d571a}.chart-heading{font-size:8px;letter-spacing:0}.manifest{gap:4px;grid-template-columns:24px repeat(4,minmax(0,1fr))}.manifest:has(.manifest-stack:nth-child(4):last-child){grid-template-columns:24px repeat(3,minmax(0,1fr))}.manifest-label{font-size:8px}.manifest-label small{font-size:7px}.manifest-stack{font-size:9px}.holds{gap:5px}.hold-space{padding:3px;gap:4px}.hold-label{font-size:10px}.hold-label small{font-size:8px}.hold-base{font-size:7px;letter-spacing:0}.crate{font-size:11px;flex-direction:column;gap:0;min-height:57px}.crate svg{width:26px;height:23px}.mini-crate{flex-direction:row;min-height:23px;height:23px;font-size:9px}.mini-crate svg{width:14px;height:18px}.chart-footer{font-size:7px;letter-spacing:0}.crane-status{font-size:11px}.waterline{margin:8px 0}}

.embedded .harbor{padding:12px 10px 10px}.embedded .chart-heading{padding-bottom:8px}.embedded .manifest{margin-top:10px}.embedded .manifest-stack>div{min-height:52px;padding:4px 2px;gap:2px}.embedded .mini-crate{height:19px;min-height:19px}.embedded .mini-crate svg{height:16px}.embedded .hold-space{height:calc(var(--capacity) * 50px + 8px);gap:3px;padding:4px}.embedded .hold-space .crate{height:46px;min-height:46px}.embedded .waterline{margin:8px 0}.embedded .waterline svg{max-height:28px}.embedded .crane-status{min-height:26px;margin:12px 0 8px;font-size:11px}.embedded .chart-footer{padding-top:8px}@media(max-width:390px){.embedded .harbor{padding:10px 6px 8px}.embedded .hold-space{padding:3px}.embedded .hold-space .crate svg{height:20px;width:23px}.embedded .mini-crate{font-size:8px}}


/* Selected theme: toy-harbor. Promoted from visual study 3. */
:root { --paper: #fbf8ee; --focus: #b34428; --study-bg: #f2eee2; --study-ink: #173b4c; --study-muted: #5f7276; --study-line: #b4c0b9; --study-accent: #b34428; --cargo-bg: #faf8ed; }
body { background: var(--study-bg); color: var(--study-ink); font: 15px Arial, sans-serif; }
.shell { max-width: 1200px; padding-top: 30px; }
.masthead { border-right: 0px; border-bottom: 0px; border-left: 0px; border-image: initial; border-top: 3px double var(--study-ink); padding: 18px 0px 0px; }
.masthead h1 { font: clamp(55px, 9vw, 108px) / 0.95 Georgia, serif; letter-spacing: -0.065em; color: var(--study-ink); margin: 14px 0px; }
.masthead .eyebrow { font: 10px "Courier New", monospace; color: var(--study-accent); letter-spacing: 0.14em; margin: 0px; }
.masthead .tagline { font: italic 17px Georgia, serif; color: var(--study-muted); margin: 0px; }
.masthead::after { content: "PORT\a No. 06"; white-space: pre; text-align: center; width: 82px; height: 82px; padding-top: 19px; font: 12px / 1.6 "Courier New", monospace; color: var(--study-accent); border: 2px solid var(--study-accent); border-radius: 50%; background: none; right: 12px; top: 38px; transform: rotate(-12deg); }
.edition-bar { border-color: var(--study-ink); border-width: 1px 0px; margin: 24px 0px; padding: 9px 0px; }
.modes button { font: 12px "Courier New", monospace; border: 0px; }
.modes button[aria-pressed="true"] { background: var(--study-ink); color: var(--study-bg); }
.edition { font: 10px "Courier New", monospace; color: var(--study-muted); }
.workbench { grid-template-columns: 220px minmax(0px, 1fr); gap: 36px; }
.brief h2 { font: 33px / 1.07 Georgia, serif; letter-spacing: -0.035em; }
.objective, .rules p { color: var(--study-muted); font: 14px / 1.65 Arial, sans-serif; }
.puzzle-number { font: 10px "Courier New", monospace; color: var(--study-accent); }
.rules { border-color: var(--study-line); }
.rules summary { font: 13px Georgia, serif; }
.stats { font: 12px "Courier New", monospace; border: 0px; padding: 0px; gap: 24px; }
.stat strong { color: var(--study-ink); font: 26px "Courier New", monospace; }
.stat-label, .assistance { color: var(--study-muted); }
.intro-coach { border-color: var(--study-line); }
.intro-coach button { font: 12px "Courier New", monospace; border-color: var(--study-line); }
.harbor { background: var(--cargo-bg); color: var(--study-ink); border: 1px solid var(--study-ink); box-shadow: rgba(23, 59, 76, 0.047) 4px 4px 0px; padding: 16px; display: grid; grid-template-columns: 135px minmax(0px, 1fr); gap: 12px 18px; }
.chart-heading, .chart-footer { font: 9px "Courier New", monospace; letter-spacing: 0px; color: var(--study-muted); grid-column: 1 / -1; border-color: var(--study-line); }
.chart-heading { padding-bottom: 12px; }
.manifest { grid-area: 2 / 1 / 5; display: flex; flex-direction: column; gap: 12px; margin: 0px; padding: 0px 14px 0px 0px; border-right: 1px solid var(--study-line); }
.manifest-label { writing-mode: horizontal-tb; transform: none; font: bold 10px "Courier New", monospace; display: block; text-align: left; letter-spacing: 0.04em; color: var(--study-accent); }
.manifest-label small { display: none; }
.manifest-stack { text-align: left; font: 10px "Courier New", monospace; display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 8px; }
.manifest-stack > span { margin: 0px; }
.manifest-stack > div { min-height: 46px; gap: 2px; padding: 0px; border: 0px; align-items: stretch; }
.manifest-stack em { font: italic 10px Georgia, serif; color: var(--study-muted); }
.mini-crate { max-width: none; width: 100%; font-size: 9px; min-height: 20px; height: 20px; flex-direction: row; gap: 0px; }
.mini-crate svg { width: 15px; height: 16px; }
.waterline { grid-column: 2; margin: 0px; align-self: end; }
.waterline svg { max-height: 38px; stroke: var(--study-ink); }
.holds { grid-column: 2; gap: 10px; align-self: end; }
.hold { color: var(--study-ink); }
.hold-label { font: 11px "Courier New", monospace; border-top: 1px solid var(--study-ink); padding: 7px 0px; }
.hold-label small { font-size: 9px; }
.hold-space { height: calc(var(--capacity) * 58px + 10px); padding: 4px; gap: 4px; border-top-color: ; border-top-style: ; border-top-width: ; border-right-color: ; border-right-style: ; border-right-width: ; border-left-color: ; border-left-style: ; border-left-width: ; border-image-source: ; border-image-slice: ; border-image-width: ; border-image-outset: ; border-image-repeat: ; border-bottom: 4px solid var(--study-ink); background: repeating-linear-gradient(0deg, transparent 0px, transparent 57px, rgba(23, 59, 76, 0.04) 57px, rgba(23, 59, 76, 0.04) 58px); }
.hold-space .crate { height: 54px; min-height: 54px; flex-direction: row; font-size: 12px; gap: 2px; }
.crate { border: 1px solid rgb(142, 102, 47); border-radius: 0px; box-shadow: rgba(255, 255, 255, 0.133) 3px 0px inset, rgba(0, 0, 0, 0.067) -3px 0px inset; background: rgb(216, 181, 117); color: rgb(62, 53, 40); }
.crate::after { inset: 3px; border-color: rgba(87, 66, 28, 0.145); }
.crate svg { width: 24px; height: 23px; stroke-width: 1.7; }
.cargo-B { background: rgb(187, 98, 80); color: rgb(255, 241, 223); border-color: rgb(150, 76, 59); }
.cargo-C { background: rgb(98, 149, 139); color: rgb(255, 248, 222); border-color: rgb(58, 114, 106); }
.hold-base { font: 7px "Courier New", monospace; letter-spacing: 0px; }
.quay .hold-space { background: repeating-linear-gradient(135deg, rgba(23, 59, 76, 0.03) 0px, rgba(23, 59, 76, 0.03) 5px, transparent 5px, transparent 10px); border-left: 1px dashed var(--study-line); border-right: 1px dashed var(--study-line); }
.selected .top-crate { outline: 2px solid var(--study-accent); outline-offset: 2px; transform: translateY(-8px); }
.selected .hold-label { color: var(--study-accent); }
.ready .hold-label { border-color: rgb(101, 128, 105); }
.hold:not(:disabled):hover .hold-space { background-color: rgba(23, 59, 76, 0.03); }
.crane-status { grid-column: 2; margin: 0px; font: 11px / 1.5 "Courier New", monospace; min-height: 34px; }
.crane-status > span { color: var(--study-accent); }
.chart-footer { padding-top: 10px; margin-top: 0px; font-size: 8px; border-top: 1px solid var(--study-line); }
.yard-gantry, .toy-hull { display: none; }
.toolbar button { background: transparent; color: var(--study-ink); border-color: var(--study-line); }
.toolbar #hint, .result-actions button { background: var(--study-ink); color: var(--study-bg); border-color: var(--study-ink); }
.feedback { color: var(--study-accent); font: 12px / 1.5 "Courier New", monospace; }
.result { border-color: var(--study-accent); }
.result h3 { font: 30px Georgia, serif; }
.site-credit { color: var(--study-muted); border-color: var(--study-line); font: 11px "Courier New", monospace; }
dialog { color: var(--study-ink); background: var(--paper); }
html[data-theme="toy-harbor"] {
  --paper: #fcf3dd; --focus: #a6372d; --study-bg: #d8e8e2; --study-ink: #224c50; --study-muted: #4f7371; --study-line: #9abdb3; --study-accent: #b34b38; --cargo-bg: #eaf2e7;
  & .shell { max-width: 980px; }
  & .masthead { border: 0px; text-align: center; padding: 4px 0px 0px; }
  & .masthead .eyebrow { font: 10px "Courier New", monospace; color: rgb(81, 113, 107); margin: 0px; }
  & .masthead h1 { font: bold clamp(50px, 9vw, 88px) / 1 Georgia, serif; letter-spacing: -0.07em; color: rgb(175, 70, 55); margin: 12px 0px; }
  & .masthead .tagline { font: 17px Georgia, serif; color: rgb(79, 115, 113); }
  & .masthead::after { display: none; }
  & .edition-bar { max-width: 780px; margin: 25px auto 22px; border-color: rgb(130, 167, 157); }
  & .modes button { font: 13px Georgia, serif; }
  & .modes button[aria-pressed="true"] { border-radius: 24px; background: rgb(34, 76, 80); color: rgb(252, 243, 221); }
  & .workbench { display: flex; flex-direction: column; gap: 24px; max-width: 780px; margin: auto; }
  & .brief { order: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 0px 30px; padding-top: 24px; border-top: 1px solid rgb(154, 189, 179); }
  & .brief .puzzle-number, & .brief h2 { grid-column: 1; }
  & .brief .objective { grid-area: 1 / 2 / 3; margin: 0px; }
  & .brief .rules { grid-column: 1 / -1; }
  & .stage { order: 1; }
  & .stats { max-width: 700px; margin-left: auto; margin-right: auto; }
  & .harbor { display: block; border: 0px; border-radius: 50% 50% 12px 12px / 14px 14px 12px 12px; background: rgb(237, 243, 230); box-shadow: none; padding: 18px 26px 0px; }
  & .chart-heading { border: 0px; color: rgb(95, 126, 113); font: 9px "Courier New", monospace; margin-bottom: 12px; }
  & .manifest { border: 0px; border-radius: 5px; background: rgb(255, 248, 230); box-shadow: rgba(127, 157, 140, 0.19) 2px 3px 0px; display: grid; grid-template-columns: 48px repeat(4, minmax(0px, 1fr)); gap: 10px; padding: 12px; margin: 0px 0px 24px; transform: rotate(-0.7deg); }
  & .manifest:has(.manifest-stack:nth-child(4):last-child) { grid-template-columns: 48px repeat(3, minmax(0px, 1fr)); }
  & .manifest-label { font: 9px / 1.5 "Courier New", monospace; align-self: center; color: rgb(179, 75, 56); }
  & .manifest-stack { display: block; text-align: center; }
  & .manifest-stack > span { margin-bottom: 7px; display: block; font: 11px Georgia, serif; }
  & .manifest-stack > div { min-height: 48px; max-width: 68px; margin: auto; align-items: stretch; }
  & .waterline { display: none; }
  & .holds { gap: 13px; }
  & .hold-space { background: transparent; border-width: 0px 0px 8px; border-style: none none solid; border-color: currentcolor currentcolor rgb(163, 72, 57); border-image: initial; padding: 4px 3px 8px; height: calc(var(--capacity) * 62px + 12px); gap: 5px; border-radius: 0px 0px 2px 2px; }
  & .hold-space .crate { height: 57px; min-height: 57px; }
  & .hold-label { border: 0px; font: bold 13px Georgia, serif; color: rgb(66, 109, 104); padding: 0px 0px 9px; }
  & .hold-label small { font: 10px "Courier New", monospace; }
  & .hold-base { display: none; }
  & .crate { border-width: 2px 2px 5px; border-style: solid; border-color: rgb(183, 132, 54); border-image: initial; border-radius: 5px; background: rgb(229, 189, 93); color: rgb(91, 69, 41); box-shadow: rgba(255, 255, 255, 0.267) 0px 2px inset; }
  & .crate::after { display: none; }
  & .crate svg { width: 27px; stroke-width: 2; }
  & .crate b { font: bold 13px Georgia, serif; }
  & .cargo-B { background: rgb(206, 120, 98); border-color: rgb(169, 80, 61); color: rgb(255, 243, 221); }
  & .cargo-C { background: rgb(120, 170, 160); border-color: rgb(70, 123, 114); color: rgb(248, 243, 213); }
  & .mini-crate { height: 21px; min-height: 21px; border-bottom-width: 3px; border-radius: 3px; }
  & .mini-crate b { font-size: 10px; }
  & .mini-crate svg { width: 15px; height: 15px; }
  & .quay .hold-space { background: repeating-linear-gradient(0deg, rgba(157, 150, 114, 0.173) 0px, rgba(157, 150, 114, 0.173) 3px, rgba(197, 184, 145, 0.208) 3px, rgba(197, 184, 145, 0.208) 18px); border-width: 0px 0px 8px; border-style: none none solid; border-color: currentcolor currentcolor rgb(110, 128, 108); border-image: initial; border-radius: 0px; }
  & .selected .top-crate { transform: translateY(-10px) rotate(-3deg); outline: rgb(166, 55, 45) dashed 2px; }
  & .hold:not(:disabled):hover .hold-space { background-color: rgba(115, 153, 138, 0.094); }
  & .ready .hold-label { border: 0px; }
  & .toy-hull { display: block; width: 74%; height: auto; max-height: 60px; fill: rgb(180, 79, 62); margin-top: -2px; }
  & .toy-hull .porthole { fill: rgb(249, 232, 189); }
  & .toy-hull .hull-stripe { stroke: rgb(233, 198, 140); stroke-width: 3; fill: none; }
  & .crane-status { font: 14px / 1.5 Georgia, serif; margin: 14px 0px 0px; padding: 14px 0px; color: rgb(71, 110, 103); border-top: 2px solid rgb(161, 195, 183); min-height: 52px; }
  & .chart-footer { display: none; }
  & .toolbar button { border-radius: 6px; background: rgb(246, 242, 223); border-color: rgb(135, 166, 154); font-family: Georgia, serif; }
  & .toolbar #hint { background: rgb(34, 76, 80); color: rgb(255, 245, 221); }
  & .intro-coach button { background: rgb(249, 243, 223); border-radius: 5px; }
  & .site-credit { margin-top: 30px; }
  & .brief h2 { font: 33px Georgia, serif; }
}
@media (max-width: 900px) {
.harbor { grid-template-columns: 110px minmax(0px, 1fr); gap: 10px 12px; padding: 14px; }
.manifest { padding-right: 10px; }
.manifest-stack { grid-template-columns: 30px 1fr; gap: 5px; }
.workbench { grid-template-columns: 190px minmax(0px, 1fr); gap: 24px; }
}
@media (max-width: 760px) {
.workbench { grid-template-columns: 1fr; gap: 20px; }
.brief { display: block; }
.harbor { grid-template-columns: 120px minmax(0px, 1fr); gap: 12px 16px; max-width: none; }
.masthead h1 { font-size: clamp(52px, 11vw, 82px); }
.masthead::after { top: 25px; width: 66px; height: 66px; font-size: 10px; padding-top: 14px; }
.hold-space .crate { font-size: 12px; }
html[data-theme="toy-harbor"] {
  & .brief { display: block; }
  & .brief .objective { margin-bottom: 12px; }
  & .harbor { padding: 16px 20px 0px; }
  & .masthead h1 { font-size: clamp(48px, 12vw, 82px); }
  & .hold-space .crate { font-size: 12px; }
  & .manifest { margin-bottom: 20px; }
}
}
@media (max-width: 480px) {
.shell { padding: 22px 14px 12px; }
.masthead::after { display: none; }
.masthead .eyebrow { font-size: 8px; }
.masthead .tagline { font-size: 15px; }
.edition-bar { margin: 18px 0px; }
.modes button { font-size: 11px; padding: 8px; }
.edition { font-size: 9px; }
.harbor { display: block; padding: 12px 8px; }
.manifest { display: grid; grid-template-columns: 26px repeat(4, minmax(0px, 1fr)); gap: 5px; border: 0px; padding: 0px; margin: 12px 0px 8px; }
.manifest:has(.manifest-stack:nth-child(4):last-child) { grid-template-columns: 26px repeat(3, minmax(0px, 1fr)); }
.manifest-label { font-size: 8px; writing-mode: vertical-rl; transform: rotate(180deg); text-align: center; align-self: stretch; }
.manifest-stack { display: block; text-align: center; font-size: 9px; }
.manifest-stack > span { display: block; margin-bottom: 6px; }
.manifest-stack > div { max-width: 62px; margin: auto; min-height: 42px; }
.mini-crate { height: 20px; min-height: 20px; }
.mini-crate svg { width: 13px; height: 14px; }
.waterline { margin: 12px 0px 8px; }
.waterline svg { max-height: 25px; }
.holds { gap: 6px; }
.hold-space { padding: 3px; gap: 4px; }
.hold-space .crate { flex-direction: column; gap: 0px; font-size: 11px; }
.hold-space .crate svg { width: 23px; height: 24px; }
.hold-label { font-size: 10px; }
.hold-label small { font-size: 8px; }
.hold-base { font-size: 6px; }
.chart-heading { font-size: 7px; }
.chart-footer { font-size: 6px; }
.crane-status { font-size: 10px; margin: 12px 0px; min-height: 30px; }
.stats { gap: 14px; }
.assistance { font-size: 10px; }
html[data-theme="toy-harbor"] {
  & .harbor { padding: 14px 9px 0px; }
  & .manifest { padding: 9px 6px; gap: 5px; grid-template-columns: 23px repeat(4, minmax(0px, 1fr)); margin-bottom: 18px; }
  & .manifest:has(.manifest-stack:nth-child(4):last-child) { grid-template-columns: 23px repeat(3, minmax(0px, 1fr)); }
  & .manifest-label { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 7px; }
  & .manifest-stack > span { font-size: 10px; }
  & .holds { gap: 7px; }
  & .hold-label { font-size: 11px; }
  & .hold-space { padding: 3px 1px 7px; }
  & .hold-space .crate { height: 53px; min-height: 53px; }
  & .hold-space { height: calc(var(--capacity) * 58px + 12px); }
  & .mini-crate b { font-size: 9px; }
  & .crane-status { font-size: 12px; margin-bottom: 0px; }
  & .toy-hull { width: 74%; }
  & .masthead h1 { font-size: clamp(43px, 13vw, 63px); }
}
}
.embedded .masthead h1 { font-size: 42px; }
.embedded .masthead { padding-top: 10px; }
.embedded .masthead::after { display: none; }
.embedded .harbor { padding: 10px 8px; }
.embedded .manifest-stack > div { min-height: 42px; }
.embedded .mini-crate { height: 19px; min-height: 19px; }
.embedded .hold-space { height: calc(var(--capacity) * 49px + 8px); padding: 3px; gap: 3px; }
.embedded .hold-space .crate { height: 45px; min-height: 45px; }
.embedded .hold-space .crate svg { height: 20px; }
.embedded .waterline svg { max-height: 25px; }
.embedded .crane-status { font-size: 10px; min-height: 25px; margin: 8px 0px; }
.embedded .workbench { gap: 12px; }
.embedded .chart-heading { padding-bottom: 8px; }
.embedded .chart-footer { padding-top: 8px; }
html[data-theme="toy-harbor"] .embedded {
  & .harbor { padding: 12px 9px 0px; }
  & .manifest { padding: 8px 6px; margin-bottom: 15px; }
  & .hold-space { height: calc(var(--capacity) * 49px + 8px); padding-bottom: 6px; }
  & .toy-hull { max-height: 46px; }
  & .crane-status { font: 11px Georgia, serif; padding: 10px 0px; margin: 10px 0px 0px; min-height: 30px; }
  & .brief { padding-top: 12px; }
  & .masthead { padding-top: 0px; }
  & .masthead h1 { margin-top: 0px; }
  & .site-credit { margin-top: 16px; }
}
@media (min-width: 761px) {
html[data-theme="toy-harbor"] .embedded .workbench { flex-direction: row; align-items: start; gap: 22px; }
html[data-theme="toy-harbor"] .embedded .stage { flex: 1 1 0%; }
html[data-theme="toy-harbor"] .embedded .brief { width: 200px; display: block; border: 0px; padding: 0px; }
}
.brief .objective { color: var(--study-muted); }
html[data-theme="toy-harbor"] .embedded .masthead h1 { font-size: 42px; }
@media (min-width: 761px) {
html[data-theme="toy-harbor"] .daily-only .brief { grid-template-columns: 1fr 1fr; }
}
