.demonstration{--ms:#5650a4;--soft:#e9e8f8;font:13px/1.38 "Segoe UI","Microsoft JhengHei",sans-serif;color:#262633;background:#fff;border:1px solid #adb1bd;border-radius:8px;overflow:hidden;text-align:left}.demonstration.outlook{--ms:#1263b2;--soft:#deedfe}.demonstration.library{--ms:#096d6a;--soft:#d8f0ed}.ms-title{color:#fff;background:var(--ms);display:flex;align-items:center;gap:.6em;padding:.42em .6em;min-height:34px}.ms-icon{width:20px;height:20px;display:inline-grid;place-content:center;font:bold 13px/1 "Segoe UI",sans-serif;font-style:normal;color:white;background:var(--ms);border-radius:4px;box-shadow:3px -2px 0 #ffffff64,-1px 1px 3px #2223}.ms-title .ms-icon{border:1px solid #ffffff75}.ms-search{font-size:.78em;border-radius:3px;color:#38374b;background:#fffd;padding:.22em .65em;width:30%;margin:auto}.ava{display:inline-grid;place-content:center;flex:none;width:22px;height:22px;border-radius:50%;background:#e8d5b8;color:#563d24;font:bold 9px/1 Arial}.ava.bot{background:#e4e1fe;color:#61509e}.office-frame{display:flex;min-height:170px}.apprail{display:flex;flex:none;width:30px;align-items:center;flex-direction:column;gap:10px;padding:.7rem 0;background:#e9eaf0;color:#656774}.ms-stage{min-width:0;flex:1}.office-main{display:grid;grid-template-columns:27% minmax(0,1fr);height:100%;min-height:190px}.ms-side{background:#f3f3f7;padding:.8em .3em;color:#343642;display:flex;align-items:stretch;flex-direction:column;gap:.5em;min-width:0}.ms-side>b,.ms-side>strong,.ms-side>small{font-size:.78em;padding:.3em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ms-side .ava{width:15px;height:15px;font-size:.58rem}.ms-side .sel{background:var(--soft);border-radius:3px}.ms-detail{position:relative;min-width:0;display:flex;flex-direction:column;padding:.55em}.ms-detail header{display:flex;gap:.45em;align-items:center;border-bottom:1px solid #e2e4e9;padding:0 0 .4em;color:#252a30;background:white;line-height:1.3}.ms-detail header b,.ms-detail header small{font-size:.8em}.msgs{display:flex;flex:1;flex-direction:column;justify-content:end;gap:.36em;margin:.5em 0}.msg{display:flex;align-items:end;gap:.28em}.msg>span:last-child{background:#f0f1f4;border-radius:6px;padding:.38em .55em;max-width:92%;font-size:.84em}.msg.mine{justify-content:end}.msg.mine>span:last-child{background:#e6e2fa}.composer{border:1px solid #b4b7c0;border-bottom:2px solid var(--ms);border-radius:4px;padding:.35em .5em;color:#5e6171;font-size:.8em}.composer i{float:right;color:var(--ms)}.arrived{animation:arrive .42s ease both}@keyframes arrive{from{opacity:.1;transform:translateY(6px)}to{opacity:1;transform:none}}.mail-list{border-block:1px solid #c8d9ed;background:var(--soft);padding:.4em .55em;display:grid}.mail-list small{font-size:.68em;color:#505a64}.mail-sheet{padding:.55em;position:relative;flex:1}.mail-sheet h4{margin:.2em 0;font-size:1em}.mail-from{display:flex;align-items:center;gap:.4em;font-size:.74em}.mail-sheet p,.file-caption p{font-size:.86em;margin:.45em 0}.mail-line{border-top:1px solid #e7e7ea;margin:.4em 0}.mail-state{display:inline-block;color:var(--ms);background:var(--soft);padding:.2em .45em;border-radius:3px;font-size:.72em}.library-drawer{display:grid;align-content:center;gap:.55em;flex:1;padding:.6em}.file-caption b{font-size:.78em;color:var(--ms)}.ocr-sheet,.journal-page{background:#fffdf8;border:1px solid #c8c8bf;box-shadow:2px 3px 0 #d8dfdb;padding:.6em .9em;position:relative;isolation:isolate;overflow:hidden}.ocr-sheet b,.journal-page b{font-size:.72em}.ocr-sheet i,.journal-page i{display:block;height:3px;background:#d8d9d2;margin:4px 0;width:86%}.ocr-sheet .marked{background:#91bdac;width:66%}.ocr-sheet:after{position:absolute;content:"";left:0;right:0;top:0;height:12%;background:linear-gradient(transparent,#3ba68d70);animation:scan 2s ease-in-out infinite}@keyframes scan{0%{transform:translateY(-110%)}90%,100%{transform:translateY(850%)}}.stock-scene{display:flex;gap:.4em}.stock-scene i{display:grid;justify-items:center;flex:1;padding:.35em;border:1px solid #c4cbbf;filter:grayscale(1);color:#15685c;font-size:1.5em}.stock-scene i.on{background:#d4ecdf;filter:none;box-shadow:0 0 0 1px #419b7f}.stock-scene small{font-size:.55em}.chart-scene{display:flex;align-items:end;gap:5%;height:59px;border-bottom:1px solid #777}.chart-scene i{background:#266c75;width:10%;transform-origin:bottom;animation:chart .55s both;animation-delay:calc(var(--n)*50ms)}@keyframes chart{from{transform:scaleY(.05)}}.go-board{height:67px;width:100px;border:1px solid #98764d;background-color:#e5bc84;background-image:linear-gradient(90deg,#9b764b 1px,transparent 1px),linear-gradient(#9b764b 1px,transparent 1px);background-size:20% 25%;position:relative}.go-board i{position:absolute;width:10px;height:10px;border-radius:100%}.travel-slide{height:68px;background:linear-gradient(155deg,transparent 35%,#5c8884 36% 53%,#345e53 54% 59%,#e6b98c 60%),linear-gradient(15deg,#da806f,#e6d4aa);background-size:180% 100%}.demo-foot{display:flex;align-items:center;justify-content:space-between;padding:.4em .65em;background:#f0f3f4;color:#404854;font-size:.8em}.demo-foot button{width:29px;height:26px;border:1px solid #a8b0b4;color:#28383d;background:white;margin-left:3px}.demo-progress{height:3px;background:linear-gradient(90deg,var(--ms) var(--progress),#d6dbdd var(--progress))}dialog .demonstration{font-size:16px}dialog .office-main{min-height:255px}.ms-stage{position:relative}.mail-sheet:after,.library-drawer:after{content:"";position:absolute;width:10px;height:14px;background:#243939;clip-path:polygon(0 0,100% 65%,53% 69%,30% 100%);right:9%;bottom:8%;pointer-events:none;animation:mouse-work 2.3s ease both}@keyframes mouse-work{0%{opacity:0;transform:translate(12px,7px)}25%{opacity:1}65%{transform:translate(-23px,-42px)}78%{transform:translate(-23px,-42px) scale(.77)}100%{opacity:0;transform:translate(-23px,-42px)}}@media(max-width:600px){dialog .demonstration{font-size:13px}.apprail{width:23px}.ms-side{padding:.4em .12em}.office-main{grid-template-columns:22% minmax(0,1fr)}}

*{box-sizing:border-box}html{background:#101820}body{margin:0;min-width:0;font:16px/1.5 "Segoe UI","Microsoft JhengHei",system-ui,sans-serif;color:#f5eed9;background:#101820}a{color:inherit;text-decoration:none}button,select,input{font:inherit}button,a,select,input{ -webkit-tap-highlight-color:transparent}button,select{cursor:pointer}button{border:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ff844b;outline-offset:3px}button:active,.box:active,.top a:active{transform:translateY(2px)}button:disabled{cursor:default}.top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:6px clamp(12px,4vw,72px);position:relative;z-index:3;color:#f2efdf;background:#101820;border-bottom:1px solid #404747;font-family:Consolas,"Microsoft JhengHei",monospace;font-size:.86rem}.top div,.top nav,.quick,.shelf-foot{display:flex;align-items:center;gap:clamp(8px,1.5vw,25px);min-width:0}.top a,.top select,.quick a,.shelf-foot a{display:inline-flex;align-items:center;min-height:44px}.top a:hover,.quick a:hover,.shelf-foot a:hover{text-decoration:underline;text-underline-offset:4px}.top select{background:#202a2f;color:#fff7d8;border:1px solid #636960;border-radius:4px;padding:0 5px}.maker{font-weight:800;letter-spacing:.05em}.maker span{color:#d3cbad}.chip{width:16px;height:12px;margin-right:8px;background:#ffd174;box-shadow:3px 0 #ee9158,0 -3px #ffd174,0 3px #dd8c50;position:relative}.chip:after{content:"";position:absolute;inset:3px;background:#283c38}.selection{min-height:calc(100svh - 58px);background:radial-gradient(ellipse at 80% -5%,#f5ecd5,transparent 68%),repeating-linear-gradient(0deg,#e5dbc2 0 1px,#eae1c9 1px 4px);color:#222f31;padding:clamp(24px,5vh,64px) clamp(15px,5vw,100px) 20px}.sel-head,.shelf-foot{max-width:1500px;margin:auto}.sel-head{display:flex;align-items:flex-end;gap:24px;margin-bottom:clamp(22px,4vh,55px)}.eyeline,.boxhead,.game small,.insert,.stamps,.shelf-foot,.quick,.reader-list small,.reader-body>.eyeline{font:.78rem/1.45 Consolas,"Microsoft JhengHei",monospace;letter-spacing:.07em}.eyeline{margin:0;font-weight:700}.sel-head h1{font-size:clamp(2.3rem,4.5vw,5.2rem);line-height:1.08;letter-spacing:-.055em;margin:.24em 0 0}.spine{flex:1;height:12px;margin-bottom:6px;border-block:2px solid #526057;background:repeating-linear-gradient(90deg,#536052 0 2px,transparent 2px 8px)}.boxes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(10px,1.7vw,28px);max-width:1500px;margin:auto}.box{--label:#122938;--paper:#eac391;display:flex;flex-direction:column;position:relative;border:2px solid #2a3433;background:var(--paper);color:var(--label);box-shadow:4px 5px 0 #8c917f;overflow:hidden;transition:transform .2s,box-shadow .2s}.box:hover{transform:translateY(-5px);box-shadow:6px 10px 0 #8c917f}.box.press{--paper:#f2d988;--label:#244d42}.box.radio{--paper:#352c48;--label:#f5d5b2}.boxhead,.insert{display:flex;align-items:center;justify-content:space-between;padding:11px 15px;font-weight:700}.boxhead{border-bottom:1px solid currentColor}.cover,.scene-box{position:relative;overflow:hidden}.scene{display:block;width:100%;height:100%;image-rendering:pixelated}.cover{aspect-ratio:1.37;background:#26313c}.cover .scene{object-fit:cover}.letter{padding:20px 16px 0}.letter .pixelword{height:clamp(13px,1.4vw,26px);max-width:98%;width:auto}.letter h2{margin:5px 0 0;font-size:1.22rem}.box p{margin:5px 16px 18px;line-height:1.55}.insert{margin-top:auto;border-top:1px solid currentColor;font-size:.96rem;min-height:44px}.insert span{font-size:1.5rem;line-height:1}.shelf-foot{justify-content:space-between;margin-top:16px}.pixelword{display:block;image-rendering:pixelated}.game{position:relative;margin:auto;min-height:calc(100svh - 57px)}.game.ferry{color:#eee6cb;background:#172a37}.scene-heading h1{margin:12px 0 8px;display:flex;gap:14px;flex-wrap:wrap;align-items:center}.scene-heading h1 .pixelword{height:clamp(15px,3.6vw,65px);width:auto;max-width:100%}.scene-heading p{margin:.3em 0 0;font-size:clamp(15px,1.4vw,26px);letter-spacing:.1em}.ferry-window{position:relative;overflow:hidden;background:#9b7985}.ferry-window .scene-box{height:clamp(290px,59svh,700px);width:100%;}.ferry-window canvas{object-fit:fill;touch-action:pan-y;cursor:grab}.ferry-window canvas:active,.dialface:active{cursor:grabbing}.ferry-window .scene-heading{position:absolute;top:clamp(18px,3.7vw,65px);left:clamp(16px,5vw,95px);pointer-events:none;color:#fff1d1;text-shadow:0 2px #553647}.ferry-window .eyeline{padding:3px 7px;display:inline-block;background:#2b273c;color:#ffe5c7}.ferry-window .pixelword{filter:drop-shadow(2px 3px 0 #51415b)}.ferry-window .scene-heading h1{max-width:540px;display:grid;gap:8px}.ferry-panel{display:flex;align-items:center;gap:clamp(12px,3vw,48px);padding:14px clamp(15px,5vw,90px);border-top:4px solid #d7a876;background:#213d49}.ticket,.pad,.discovery,.machine-switch,.statusline{display:flex;align-items:center;gap:10px}.ticket>b{display:grid;place-items:center;width:54px;height:45px;border:2px solid #dcb693;border-radius:50%;font:bold 22px Georgia;color:#ffda97}.ticket>div,.discovery>div,.radio-read,.machine-switch{display:flex;flex-direction:column}.ticket strong{font-size:1.08rem}.stops{display:flex;gap:4px}.stops button,.dir{min-width:44px;min-height:44px;font:700 1rem Consolas,monospace;border:1px solid currentColor;color:inherit;background:transparent;border-radius:4px}.stops button{border-radius:50%;color:#e3d7bd}.stops [aria-pressed=true]{background:#f7d09b;color:#2b3a3d}.ferry-panel>.pad{margin-left:auto}.go,.proof,.discovery button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:8px 16px;background:#ffd28f;color:#243438;font-weight:700;border-radius:4px;box-shadow:0 3px 0 #89684c}.game button:hover,.proof:hover{filter:brightness(1.13)}.statusline,.quick,.discovery{padding:10px clamp(15px,5vw,90px)}.statusline{justify-content:space-between;min-height:49px;border-bottom:1px solid #ffffff23;font-size:.92rem}.statusline>div{display:flex;align-items:center;gap:9px}.lamp{width:7px;height:7px;flex:none;background:#e2ac79;box-shadow:0 0 7px #e2ac7980}.quick{gap:clamp(10px,2vw,35px);flex-wrap:wrap;padding-top:0;padding-bottom:6px}.quick span{flex:1}.stamps{white-space:nowrap;font-weight:bold}.discovery{padding-top:12px;padding-bottom:12px;flex-wrap:wrap;border-bottom:1px solid #8886;background:#ffffff12;animation:print-in .28s ease-out}.discovery>div{margin-right:auto}.discovery button{background:transparent;color:inherit;border:1px solid currentColor;box-shadow:none}.game.press{background:repeating-linear-gradient(0deg,#e9dcba 0 2px,#eee0bf 2px 5px);color:#203c34;padding:clamp(14px,2.5vw,42px) clamp(15px,5vw,90px) 10px}.print-head,.radio-lid{display:flex;justify-content:space-between;align-items:center}.print-head{border-top:4px solid #26493d;border-bottom:1px solid #314e40;padding:12px 0;margin-bottom:15px}.print-head .scene-heading h1{color:#315445}.print-head .scene-heading h1 canvas{height:clamp(18px,2.8vw,52px)}.print-stamp{border:3px double #a24633;color:#a24633;padding:4px 10px;font:900 30px/1 Georgia;transform:rotate(-6deg);margin:10px}.factory-floor{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,25%);background:#3b5c4c;border:3px solid #33483e;box-shadow:5px 6px 0 #a99170}.factory-floor .scene-box{min-height:210px;border-right:3px solid #354e41;align-self:stretch}.factory-floor canvas{object-fit:contain;background:#e8c98b}.press-panel{display:flex;flex-direction:column;justify-content:center;align-items:stretch;padding:clamp(12px,1.6vw,28px);gap:16px;color:#f5e7be}.receipt{position:relative;background:#fff1cb;color:#273c34;padding:14px;border-bottom:4px dotted #67735a;box-shadow:2px 3px 0 #283f36}.receipt .eyeline{display:flex;justify-content:space-between}.receipt h2{font:900 clamp(1.6rem,3vw,3.4rem)/1.1 Consolas,monospace;letter-spacing:-.09em;margin:.22em 0}.receipt p{margin:0 0 8px;font-size:.86rem}.barcode{width:55%;height:10px;background:repeating-linear-gradient(90deg,#39473a 0 2px,transparent 2px 5px,#39473a 5px 6px,transparent 6px 9px)}.machine-switch{align-items:stretch;gap:4px}.machine-switch .pad{justify-content:space-between}.machine-switch b{font-family:Consolas,monospace}.press .go,.press .proof{background:#f1bc64;color:#283c30}.press>.quick,.press>.statusline,.press .discovery{padding-inline:1px}.press .lamp{background:#4b7952}.press .statusline{border-bottom-color:#9d9a7d}.game.radio{color:#ffdbad;background:radial-gradient(ellipse at 65% 30%,#4b394e,#201e30 72%);padding:clamp(14px,2.3vw,38px) clamp(15px,6vw,120px) 14px}.radio-lid{margin:0 auto 10px;max-width:1540px}.radio-lid .scene-heading h1{gap:15px}.radio-lid .scene-heading h1 canvas{height:clamp(18px,2.4vw,44px)}.grille{width:clamp(50px,12vw,200px);height:17px;background:repeating-linear-gradient(105deg,transparent 0 4px,#ab8887 4px 6px);opacity:.66}.receiver{display:grid;grid-template-columns:minmax(0,1fr) minmax(215px,25%);gap:clamp(12px,2vw,32px);align-items:center;border:2px solid #b29898;border-radius:25px 25px 43px 25px;background:linear-gradient(130deg,#786373,#463d55 44%,#352e41 72%,#675365);padding:clamp(12px,1.6vw,30px);box-shadow:inset 2px 3px 0 #af928d,4px 6px 0 #191927}.receiver .scene-box{border:7px solid #282439;box-shadow:0 0 0 2px #9d8089,inset 0 0 8px #000;border-radius:45% 45% 22% 22% / 15% 15% 11% 11%;overflow:hidden;background:#1e1931}.receiver .scene-box:after{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,#21152e18 0 1px,transparent 1px 4px);box-shadow:inset 0 0 30px #1b1535a9}.radio-panel{display:grid;justify-items:center;gap:6px;align-content:center}.radio-read{align-self:stretch;justify-self:stretch;text-align:center;border:2px inset #786471;border-radius:5px;background:#222c2f;color:#c5e2bd;padding:6px}.radio-read strong{font:700 clamp(20px,2.3vw,42px)/1.25 Consolas,monospace}.radio-read span{font-size:.84rem}.dialface{width:clamp(65px,8vw,140px);aspect-ratio:1;position:relative;touch-action:none;cursor:grab;border:5px solid #342938;border-radius:50%;margin:4px;background:repeating-conic-gradient(#b99a7c 0deg 4deg,#8b7071 4deg 9deg);box-shadow:inset 0 0 0 3px #b79a83,3px 4px 0 #2f2637}.dialface div{position:absolute;inset:9%;border-radius:50%;background:radial-gradient(circle at 24% 20%,#eed0a5,#b39285 52%,#6c5261);transform:rotate(var(--dial,0deg))}.dialface div:before{content:"";position:absolute;width:4px;height:20%;background:#544354;left:48%;top:8%}.radio-panel label{font-size:.84rem}.radio-panel input{width:100%;max-width:220px;min-height:44px;margin:-5px 0;accent-color:#ecc48c}.radio-panel .pad{gap:5px;flex-wrap:wrap;justify-content:center}.radio .go,.radio .proof{background:#efc49d;color:#392c43}.radio>.statusline,.radio>.quick,.radio .discovery{padding-inline:0}.static .scene-box{animation:noise .24s steps(2) 2}.boot{position:fixed;z-index:10;inset:0;background:#0c151d;color:#fde2ac;display:grid;place-items:center;animation:boot-out .2s 1.38s both}.boot>div{text-align:center;display:grid;justify-items:center;gap:14px}.boot-sprite{border:3px solid currentColor;padding:15px;box-shadow:5px 5px currentColor;animation:pop-in .45s steps(5) both}.boot [data-word]{height:24px;width:auto}.boot-sprite [data-word]{height:46px}.boot i{display:block;width:155px;height:9px;background:repeating-linear-gradient(90deg,#efbc76 0 12px,transparent 12px 16px);transform-origin:left;animation:load 1.05s steps(9) both}.boot button{color:inherit;background:transparent;min-height:44px;text-decoration:underline}.boot strong{letter-spacing:.17em}.boot:has([data-word="IN"]){background:#253e32;color:#ffe19c}.boot:has([data-word="FM"]){background:#241e32;color:#f0b2af}
@keyframes load{from{transform:scaleX(.04)}to{transform:scaleX(1)}}@keyframes pop-in{from{opacity:.15;transform:translateY(12px) scale(.68)}}@keyframes boot-out{to{opacity:0}}@keyframes print-in{from{transform:translateY(-5px);opacity:0}}@keyframes noise{50%{filter:brightness(1.13) saturate(.4)}}
dialog{color:#23302b;padding:0;background:#f9f5e8;border:1px solid #54605a;border-radius:12px;width:min(760px,calc(100% - 24px));max-height:85svh;max-width:none;box-shadow:0 20px 80px #0008;overflow:auto;overscroll-behavior:contain}dialog::backdrop{background:#0c1520bd;backdrop-filter:blur(4px)}dialog>header{position:sticky;top:0;z-index:2;background:#f4efdf;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:4px 16px;border-bottom:1px solid #c4c7b5}dialog header>a,dialog header>button,.reader-list a,.project-index summary,.project-index a,.icons a,.reader-body summary,.reader-body a.pdf{min-height:44px;display:flex;align-items:center}dialog header>button{justify-content:center;width:44px;background:transparent;color:#1d322b;font-size:25px}.reader-body{padding:clamp(16px,3vw,34px);overflow-wrap:anywhere}.reader-body h2{font-size:clamp(1.65rem,3.5vw,2.5rem);line-height:1.15;margin:.15em 0 .6em}.reader-body p{max-width:70ch}.reader-body a{color:#24564b;text-decoration:underline;text-underline-offset:3px}.reader-list,.project-index{display:grid;gap:3px}.reader-list a,.project-index summary,.project-index a{cursor:pointer;justify-content:space-between;border-bottom:1px solid #c9c8b5}.project-index summary:before{content:"＋";padding-right:8px}.project-index details[open]>summary:before{content:"−"}.project-index summary small{margin-left:auto}.project-index a{margin-left:1.4rem}.reader-body .degree,.reader-body .job,.reader-body .quals article{border-bottom:1px solid #b7b9a8;padding:8px 0 22px}.tags{display:flex;flex-wrap:wrap;gap:.4rem}.tags span{background:#e1e6d7;padding:3px 8px;border-radius:3px}.portrait-row{display:flex;gap:1rem;align-items:center}.portrait-row img{width:90px;border-radius:12px}.icons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0}.icons a{flex-direction:column;text-align:center;gap:5px}.icons img{width:55px}.reader-body .demonstration{max-width:100%}.reader-body .demo-foot button{min-width:44px;min-height:44px}body:has(dialog[open]){overflow:hidden}.actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
@media(min-width:1600px){.factory-floor,.receiver{max-width:1540px;margin:auto}.game.press,.game.radio{padding-inline:max(6vw,calc((100% - 1540px)/2))}}
@media(max-width:820px){.ferry-window .scene-box{height:clamp(300px,48svh,460px)}.game.press,.game.radio{padding-inline:14px}.factory-floor,.receiver{grid-template-columns:minmax(0,1fr) 200px}.radio-panel .dialface{width:64px}.boxes{gap:10px}.letter{padding-inline:10px}.box p{margin-inline:10px}.letter .pixelword{max-width:100%;height:auto;width:95%}.quick{gap:13px}}
@media(max-width:650px){.top{padding:4px 9px;gap:5px;font-size:.76rem}.top nav,.top div{gap:8px}.maker span{display:none}.top .chip{margin-right:5px}.top .pdf{max-width:82px;line-height:1.15}.selection{padding:22px 12px 14px}.sel-head{margin-bottom:18px}.spine{height:7px}.boxes{grid-template-columns:1fr;gap:13px}.box{display:grid;grid-template-columns:46% minmax(0,1fr);grid-template-rows:auto 1fr auto auto}.boxhead{grid-column:1/-1;padding:3px 8px}.cover{grid-column:1;grid-row:2/5;aspect-ratio:auto;min-height:135px}.cover canvas{position:absolute;inset:0;object-fit:cover}.letter{padding:12px 9px 0}.letter .pixelword{width:95%;height:auto}.letter h2{font-size:.99rem}.box p{font-size:.86rem;margin:2px 9px 6px}.insert{padding:5px 9px;font-size:.86rem}.ferry-window .scene-box{height:auto;aspect-ratio:1.17}.ferry-window canvas{object-fit:cover;object-position:57% 50%}.ferry-window .scene-heading{top:13px;left:12px}.ferry-window .scene-heading h1 canvas{height:21px}.ferry-window .eyeline,.game .eyeline{font-size:.65rem}.ferry-panel{display:grid;grid-template-columns:1fr auto;gap:8px;padding:10px 12px}.ticket>b{width:41px;height:35px;font-size:18px}.ferry-panel .pad{grid-column:1/-1;margin:0;justify-content:flex-end}.statusline{padding:9px 12px;align-items:start;font-size:.83rem}.quick{font-size:.75rem;padding-inline:12px;gap:11px}.quick span{display:none}.factory-floor,.receiver{grid-template-columns:1fr}.factory-floor .scene-box{min-height:0;border-right:0}.factory-floor canvas{height:auto}.press-panel{padding:9px;display:grid;grid-template-columns:1.1fr 1fr;gap:8px;align-items:center}.receipt{grid-row:span 2;padding:7px}.machine-switch .pad{gap:3px}.press-panel .go{grid-column:2}.receipt p{font-size:.74rem}.print-head{padding:6px 0;margin-bottom:9px}.radio-lid .scene-heading h1{gap:8px}.receiver{padding:10px;border-radius:16px;gap:9px}.radio-panel{grid-template-columns:1fr 1fr;gap:3px 10px}.radio-read{grid-column:1;grid-row:1/3;align-self:center}.radio-panel .dialface{grid-column:2;grid-row:1/3;width:54px}.radio-panel label,.radio-panel input{grid-column:1}.radio-panel .pad{grid-column:2;grid-row:3/5}.radio-panel .dir{min-width:44px}.radio-panel .go{padding:8px 10px}.receiver .scene-box{border-width:4px}.stamps{font-size:.74rem}.discovery strong{font-size:1rem}.shelf-foot{margin-top:7px}.boot [data-word]{max-width:82vw}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-delay:0s!important;transition-duration:.01ms!important}.boot{animation:none!important}}


.boot .boot-motif{width:132px;height:40px;position:relative;margin-bottom:5px;overflow:hidden}.boot .boot-motif i,.boot .boot-motif b,.boot .boot-motif em{position:absolute;display:block;margin:0;box-shadow:none;background:currentColor;animation:none}.boot-motif.ferry{border-bottom:3px dashed #efbb97}.boot-motif.ferry i{width:37px;height:6px;bottom:3px;left:44px;box-shadow:3px 3px #d69372}.boot-motif.ferry b{width:27px;height:10px;bottom:9px;left:49px;background:repeating-linear-gradient(90deg,#f5cd91 0 3px,transparent 3px 5px);border-block:2px solid #f5cd91}.boot-motif.ferry em{width:7px;height:4px;bottom:19px;left:57px}.boot .boot-motif.ferry>*{animation:boat-launch 1.3s steps(12) both}.boot-motif.press{border-bottom:4px dotted #c2ce8d}.boot-motif.press b{width:32px;height:9px;top:0;left:50px;box-shadow:0 8px #c7a56e;animation:stamp-die .85s steps(4) both}.boot-motif.press i{width:29px;height:5px;left:50px;bottom:2px;animation:feed .95s steps(8) both}.boot-motif.press em{width:14px;height:7px;top:0;left:59px}.boot-motif.radio i{width:3px;height:31px;left:48%;top:1px;transform-origin:center bottom;animation:sweep-dial 1.2s steps(12) both}.boot-motif.radio b{width:65px;height:9px;bottom:0;left:33px;border-radius:40%}.boot-motif.radio em{width:63px;height:37px;left:34px;top:0;border:2px dotted #daaca4;border-bottom:0;border-radius:50% 50% 0 0;background:transparent}.boot .boot-sprite{display:none}
@keyframes boat-launch{from{transform:translateX(-52px)}to{transform:translateX(35px)}}@keyframes stamp-die{0%,100%{transform:translateY(0)}60%,75%{transform:translateY(19px)}}@keyframes feed{from{transform:translateX(-40px)}to{transform:translateX(0)}}@keyframes sweep-dial{from{transform:rotate(-59deg)}to{transform:rotate(46deg)}}


.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html{scrollbar-gutter:stable}.top{position:sticky;top:0;z-index:5;min-height:56px;background:#102026f5;box-shadow:0 1px 0 #ffffdc14;backdrop-filter:blur(10px)}.top .chapter-select select{min-width:76px}.top a,.top select,.game-back,.read-btn,.alt-link,.tour-step,.secondary-play a,.category-rail button{transition:background .18s,color .18s,box-shadow .18s,transform .18s}.top a:hover,.top a:focus-visible{color:#ffe9a6}.top select:hover{border-color:#e6c689}.top a:active,.top select:active{filter:brightness(.92)}
.shelf-tour-entry{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap;margin-top:14px}.shelf-tour-entry button{min-height:44px;background:#273b37;border:1px solid #526057;color:#f8efd7;border-radius:3px;padding:6px 14px;font:650 .9rem/1.3 inherit}.shelf-tour-entry button:hover{background:#34584e}.selection{min-height:auto;padding-bottom:20px}.boxes .letter .pixelword{max-width:100%}
.voyage{--stage-h:calc(100svh - 56px);--card:#f6e8ca;--letter:#263936;--rule:#a2a38a;--accent:#2a6f65;--flag:#eec692;--glow:rgba(255,226,164,.20);background:#1a3036;color:var(--letter);position:relative;isolation:isolate}
.press-tour{--card:#f5e9bc;--letter:#1e3930;--rule:#a6a384;--accent:#315f48;--flag:#ffbe65;--glow:rgba(242,223,144,.3)}
.radio-tour{--card:#332e42;--letter:#f7e6cb;--rule:#867987;--accent:#ebc0a0;--flag:#e2b9b6;--glow:rgba(196,169,211,.22)}
.world-frame{height:var(--stage-h);position:sticky;top:56px;margin-bottom:calc(0px - var(--stage-h));overflow:hidden;pointer-events:none;background:#292f3c;z-index:-1}.world-frame canvas{width:100%;height:100%;object-fit:cover;object-position:62% 53%;display:block;image-rendering:pixelated}.world-shade{position:absolute;inset:0;background:linear-gradient(90deg,#101c2e66 0%,#15233318 50%,transparent 67%),linear-gradient(0deg,#14243277,transparent 26%)}.film-label{position:absolute;bottom:clamp(16px,4vh,45px);right:clamp(13px,4.5vw,80px);display:flex;align-items:center;gap:9px;color:#fff3ce;background:#182c34e8;border:1px solid #fff2c75c;padding:5px 10px;font:600 .74rem/1.4 Consolas,monospace;letter-spacing:.1em}.film-label i{width:58px;height:2px;background:linear-gradient(to right,#f2ce96 calc(var(--travel,0)*100%),#889292 0)}
.leaf-stack{position:relative}.leaf{position:relative;min-height:clamp(315px,49svh,510px);display:flex;align-items:center;padding: clamp(18px,3.4vh,46px) clamp(16px,5.8vw,116px);scroll-margin-top:80px}
.leaf-profile{min-height:clamp(530px,82svh,860px);padding-block:24px 42px}.leaf-projects{min-height:max(112svh,620px);display:block}.leaf-projects .leaf-card{position:sticky;top:clamp(82px,23svh,200px)}.leaf-contact{min-height:max(72svh,420px);align-items:flex-start;padding-top:clamp(45px,9svh,100px)}
.leaf-card{--reveal:1;--lift:0px;width:min(35rem,48vw);max-width:100%;position:relative;min-width:0;padding:clamp(17px,2.2vw,35px);border:1px solid var(--rule);border-top:5px solid var(--accent);background:var(--card);color:var(--letter);box-shadow:6px 7px 0 #18262555,0 15px 36px #14222124;opacity:var(--reveal);transform:translateY(var(--lift));transition:box-shadow .2s;overflow-wrap:anywhere}
.leaf-card:after{content:"";pointer-events:none;position:absolute;inset:0;background:linear-gradient(135deg,var(--glow),transparent 30%);opacity:.65}.leaf-card>*{position:relative;z-index:1}.leaf-card:hover,.leaf-card:focus-within{box-shadow:8px 9px 0 #18262577,0 15px 38px #14222147}.ferry-tour .leaf-card{border-radius:3px 16px 3px 3px;background-image:repeating-linear-gradient(0deg,transparent 0 4px,#a4876021 4px 5px)}.press-tour .leaf-card{border-left:8px double #96a183;background-image:repeating-linear-gradient(0deg,transparent 0 29px,#93826124 29px 30px)}.radio-tour .leaf-card{border-radius:16px 16px 20px 5px;border:2px solid #888096;background-image:radial-gradient(ellipse at 0 0,#5b455b,transparent 70%);box-shadow:inset 0 0 0 4px #2f2b3e,6px 7px #221b31b0}
.running-title,.profile-id>div,.qualification-count,.sample-project p,.secondary-play,.category-rail button{font-family:Consolas,"Microsoft JhengHei",monospace}.running-title{display:flex;align-items:center;gap:12px;letter-spacing:.09em;font-size:.7rem;text-transform:uppercase;font-weight:700}.running-title i{flex:1;height:1px;background:var(--rule)}.leaf-card h1,.leaf-card h2,.leaf-card h3,.leaf-card p{margin:0}.leaf-card h1{font:700 clamp(48px,6vw,107px)/.95 Georgia,"Times New Roman",serif;letter-spacing:-.072em;margin:.12em 0 .19em}.leaf-card h1 em{font-weight:400}.press-tour h1{font-family:"Arial Narrow","Segoe UI",sans-serif;font-weight:900;letter-spacing:-.09em}.press-tour h1 em{font-weight:750}.radio-tour h1{font-weight:400;letter-spacing:-.06em}.leaf-card h2{font-size:clamp(26px,3.45vw,58px);line-height:1.06;letter-spacing:-.035em;margin:.25em 0}.leaf-card h3{font-size:clamp(18px,1.7vw,30px);line-height:1.2;letter-spacing:-.018em}.leaf-card p{line-height:1.5;font-size:clamp(.94rem,1vw,1.07rem);margin:.55em 0 .8em}.profile-id{display:flex;align-items:center;gap:14px;margin-top:clamp(14px,2.2vh,30px)}.profile-id>div{display:grid;gap:4px;font-size:.83rem}.profile-id strong{font-size:1rem}.author-pic{height:68px;width:62px;object-fit:cover;border:3px solid var(--card);box-shadow:1px 2px 0 var(--rule);transform:rotate(-3deg)}.tour-actions{display:flex;align-items:center;gap:6px 14px;flex-wrap:wrap}.read-btn,.tour-step,.alt-link,.secondary-play a,.game-back{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:8px 12px;font-weight:650;font-size:.93rem;line-height:1.25;border-radius:3px}.read-btn,.tour-step{background:var(--accent);color:var(--card);border:1px solid var(--accent)}.tour-step+.read-btn,.alt-link{background:transparent;color:var(--letter);border:1px solid var(--rule)}.secondary-play{margin-top:5px;border-top:1px dotted var(--rule)}.secondary-play a{padding-left:0}.tour-step span,.read-btn span,.alt-link,.secondary-play a,.game-back{transition:transform .15s,color .15s}.tour-step:hover span,.tour-step:focus-visible span{transform:translateY(3px)}.read-btn:hover span,.read-btn:focus-visible span{transform:translate(2px,-2px)}.read-btn:hover,.tour-step:hover,.alt-link:hover,.game-back:hover{box-shadow:0 2px 0 var(--rule);filter:brightness(1.07)}.read-btn:active,.tour-step:active,.alt-link:active,.category-rail button:active,.secondary-play a:active{transform:translateY(2px);box-shadow:none}.secondary-play a:hover,.email-line:hover{text-decoration:underline;text-underline-offset:4px}.leaf-card .pdf{min-height:44px;display:inline-flex;align-items:center;text-decoration:underline}.second-record{border-left:2px solid var(--rule);padding-left:9px;margin:.6em 0;display:grid;gap:3px;font-size:.87rem}.qualification-count{margin:.6em 0 .8em;font-size:.9rem}.qualification-count b{font-size:1.25rem}.qualification-count b+b,.qualification-count b:nth-of-type(2){margin-left:.8em}
.category-rail{display:flex;gap:4px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:var(--rule) transparent;position:relative;padding:2px 1px 5px;margin:9px 0 10px}.category-rail button{flex:0 0 auto;min-height:44px;color:var(--letter);background:transparent;border-bottom:2px solid var(--rule);font:600 .83rem/1.2 inherit;padding:5px 8px}.category-rail button[aria-pressed=true]{border-color:var(--accent);color:var(--card);background:var(--accent)}.category-rail button:hover:not([aria-pressed=true]){box-shadow:inset 0 -4px var(--accent)}.category-rail button:focus-visible{outline-offset:-3px}.sample-project{min-height:3.6em}.sample-project h3{animation:story-in .22s ease-out}.game-back{background:#ead9b7;color:#263735;margin:6px 0}.direct-group-docs{display:grid;gap:6px}.direct-group-docs a{display:block;padding:8px}
@keyframes story-in{from{transform:translateY(4px);opacity:.65}}
@media(min-width:1450px){.leaf-card{width:min(43rem,44vw)}}@media(max-width:850px){.leaf-card{width:min(54vw,35rem)}.running-title{font-size:.67rem}.leaf{padding-inline:3vw}}
@media(max-width:650px){.top{min-height:54px}.top div,.top nav{gap:6px}.top .switch{display:none}.chapter-select select{max-width:84px}.voyage{--stage-h:calc(100svh - 54px)}.world-frame{top:54px}.world-frame canvas{height:68%;object-fit:cover;object-position:68% 55%}.world-frame{background:linear-gradient(160deg,#5b5662,#233746 76%)}.press-tour .world-frame{background:repeating-linear-gradient(90deg,#405c4b 0 2px,#496651 2px 7px)}.radio-tour .world-frame{background:radial-gradient(ellipse at 80% 80%,#544563,#28273c)}.world-shade{background:linear-gradient(0deg,#172831bb 0%,transparent 47%)}.film-label{top:10px;bottom:auto;right:10px;font-size:.64rem}.leaf{padding:18px 12px;min-height:max(320px,49svh);align-items:center}.leaf-card{width:100%;padding:16px 15px;box-shadow:3px 4px 0 #18262566}.leaf-profile{min-height:max(580px,85svh);align-items:end}.leaf-projects{display:block;min-height:max(690px,101svh)}.leaf-projects .leaf-card{top:clamp(70px,30svh,247px)}.leaf-contact{min-height:77svh;padding-top:15vh;align-items:start}.leaf-card h1{font-size:clamp(47px,11vw,69px)}.leaf-card h2{font-size:30px}.author-pic{width:46px;height:52px}.profile-id{gap:10px;margin-top:10px}.running-title{font-size:.64rem}.tour-step,.read-btn,.alt-link,.secondary-play a{font-size:.86rem}.leaf-card .profile-summary{font-size:.9rem}.leaf-card h3{font-size:20px}.sample-project p{font-size:.84rem}.sel-head{align-items:center}.shelf-tour-entry{margin-top:8px}.shelf-tour-entry button{font-size:.85rem}.leaf-card .email-line{font-size:clamp(.94rem,4.5vw,1.1rem)}}
@media(max-height:545px) and (min-width:651px){.leaf-profile{min-height:415px}.leaf-projects{min-height:620px}.leaf-projects .leaf-card{top:60px}.leaf{padding-block:14px}.author-pic{height:44px;width:42px}.leaf-card h1{font-size:50px}.leaf-card{padding:12px 18px}.film-label{bottom:12px}}
@media(prefers-reduced-motion:reduce){.leaf-card{opacity:1;transform:none}.world-shade{transition:none}}


.source-film{--office:#5558ad;color:#1d2937;background:#fff;border:1px solid #bcc7cf;border-radius:10px;overflow:hidden;margin:1rem 0 1.4rem}.source-film.outlook{--office:#17689b}.source-film.sharepoint{--office:#00796d}.source-film.project{--office:#336755}.source-title,.source-controls,.source-timeline{display:flex;align-items:center;gap:8px}.source-title{justify-content:space-between;padding:12px 16px;background:var(--office);color:white}.source-timeline{padding:12px 14px 0;flex-wrap:wrap}.source-film button{min-width:44px;min-height:44px;background:#eef1f6;color:#223449;border:1px solid #c5cddb;border-radius:4px;padding:6px 10px}.source-film button:hover,.source-film button:focus-visible{border-color:var(--office);box-shadow:0 2px 0 var(--office)}.source-film button:active{transform:translateY(2px)}.source-film button[aria-pressed=true]{background:var(--office);color:white}.source-slide{padding:15px 18px;min-height:110px}.source-slide h3,.source-slide p{margin:4px 0;animation:story-in .3s ease-out}.source-controls{border-top:1px solid #dae1e6;padding:8px 13px;justify-content:flex-end}.source-controls output{font:600 12px monospace}.top nav .game-back{color:#fff2d0;background:transparent}.chapter-select select,.top nav select{cursor:pointer}.category-rail button{font-family:inherit;font-weight:650;font-size:.84rem}
@media(max-width:520px){.top{padding:5px 8px;gap:3px;flex-wrap:wrap}.top .maker span{display:none}.top .maker{gap:3px}.top nav a,.top nav select{font-size:.75rem;padding:4px}.top nav{flex-wrap:wrap;justify-content:flex-end;gap:3px}.top .chapter-select select{min-width:63px;max-width:75px}.top nav .game-back{margin:0}}

.source-film .source-slide{padding:0;margin-top:10px}.workstation{display:grid;grid-template-columns:34px minmax(105px,27%) minmax(0,1fr);min-height:175px;border-block:1px solid #d8dce3}.work-rail{background:#eff0f5;display:flex;flex-direction:column;align-items:center;gap:13px;padding:9px 3px;color:var(--office)}.work-rail i{font-style:normal}.work-tree{background:#f8f9fc;border-inline:1px solid #dee2ea;padding:12px 0;font-size:.76rem;line-height:1.25}.work-tree strong{padding:0 9px}.work-tree ul{list-style:none;margin:6px 0 0;padding:0}.work-tree li{display:flex;align-items:center;gap:5px;padding:5px 8px;color:#596270}.work-tree li.current{color:var(--office);font-weight:700;background:#e6ebf2;box-shadow:inset 3px 0 var(--office)}.work-tree li i{width:7px;height:8px;border:1px solid currentColor;flex:none}.work-desk{min-width:0;padding:16px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;background:linear-gradient(135deg,#fff,#f4f7fb)}.work-desk small{font-weight:650;color:var(--office)}.work-desk h3{font-size:1.1rem;margin:5px 0}.work-desk p{line-height:1.45;margin:0}.chat .work-desk p{border-radius:2px 12px 12px;background:#ecebfa;padding:6px 10px}.work-symbol{width:51px;height:39px;position:relative;margin:3px 0 6px;color:var(--office)}.work-symbol i,.work-symbol b,.work-symbol em{position:absolute;display:block}.work-symbol i{width:28px;height:30px;left:8px;top:4px;border:2px solid currentColor;background:repeating-linear-gradient(0deg,transparent 0 5px,#aab6c5 6px 7px);box-shadow:4px -3px 0 #e1e6ee}.work-symbol b{right:3px;top:10px;width:9px;height:9px;border:2px solid currentColor;border-left:0;border-bottom:0;transform:rotate(45deg);animation:work-fly 1.8s infinite}.scan .work-symbol em{width:42px;top:5px;left:2px;height:3px;background:#178d9f;animation:work-scan 1.9s ease-in-out infinite alternate}.chat .work-symbol i{border-radius:9px;width:35px;height:24px;background:#ebe8f8}.chat .work-symbol em{left:13px;top:28px;border:5px solid transparent;border-top-color:currentColor;transform:rotate(25deg)}.mail .work-symbol i{width:36px;height:24px;margin-top:3px;background:linear-gradient(33deg,transparent 48%,#82a2bc 49% 52%,transparent 53%),linear-gradient(-33deg,transparent 48%,#82a2bc 49% 52%,transparent 53%)}.library .work-symbol i{background:#d8eee8;border-radius:2px 8px 3px 3px}.check .work-symbol em{border:solid #187356;border-width:0 0 3px 3px;width:14px;height:8px;top:11px;left:14px;transform:rotate(-45deg)}@keyframes work-fly{0%,100%{opacity:.3;translate:-2px 0}55%{opacity:1;translate:2px 0}}@keyframes work-scan{to{translate:0 26px}}@media(max-width:540px){.workstation{grid-template-columns:23px minmax(0,1fr)}.work-tree{display:none}.work-desk{padding:12px}.source-title{gap:8px}}@media(prefers-reduced-motion:reduce){.work-symbol *,.source-slide h3,.source-slide p{animation:none}}

.leaf-card .hero-proof{max-width:37ch;margin:.1em 0 1em;padding-left:.7em;border-left:2px solid var(--accent);font-size:.97rem;line-height:1.45}.work-summary{margin-top:.4em;font-size:clamp(.89rem,1vw,1.02rem);line-height:1.5;max-width:50ch}.sample-project p{opacity:.84;font-size:.82rem}.profile-summary+.hero-proof{margin-top:-.2em}@media(max-width:650px){.leaf-card .hero-proof{font-size:.85rem;margin-bottom:.68em}.leaf-projects{min-height:max(830px,116svh)}}@media(max-width:370px){.top .maker span{display:none}.leaf-profile{min-height:max(550px,88svh)}.leaf-card h1{font-size:45px}}

/* Harbour manifests share the warm stock and ink of the selected ferry ticket. */
.harbour-brand{color:#fff1cc}.port-beacon{position:relative;display:inline-block;width:17px;height:22px;margin-right:4px;background:linear-gradient(90deg,transparent 0 4px,#e8bc80 4px 12px,transparent 12px) center bottom/100% 4px no-repeat}
.port-beacon:before{content:"";position:absolute;inset:6px 5px 5px;background:linear-gradient(#a85747 0 28%,#f6d6a4 28% 65%,#a85747 65%);transform:perspective(18px) rotateX(12deg)}
.port-beacon:after{content:"";position:absolute;top:3px;left:5px;width:7px;height:4px;background:#ffe6a3;box-shadow:0 -2px #8db5ae,0 0 7px #f6cb80}.harbour-brand:hover .port-beacon:after{box-shadow:0 -2px #8db5ae,0 0 13px 3px #efcc88}
.ferry-tour .leaf-projects,.ferry-tour .leaf-career,.ferry-tour .leaf-credentials,.ferry-tour .leaf-education{min-height:65svh;align-items:center;padding-block:clamp(24px,6svh,74px)}
.ferry-tour .leaf-projects .leaf-card{position:relative;top:auto}.ferry-tour :is(.leaf-projects,.leaf-career,.leaf-credentials,.leaf-education) .leaf-card{width:min(720px,62vw);max-width:none;border-top:5px solid #2d7167}
.dock-list{display:grid}.dock-ticket{position:relative;isolation:isolate;display:grid;grid-template-columns:12px minmax(0,1fr) 28px;align-items:center;gap:13px;text-decoration:none;color:#243c37;border-top:1px dashed #a69e79;padding:14px 6px;scroll-margin-top:85px;transition:background .18s,box-shadow .18s,transform .18s}
.dock-ticket:first-child{border-top:1px solid #948d70}.ticket-ink{display:grid;gap:4px;text-align:left;line-height:1.4;overflow-wrap:anywhere}
.ticket-ink small,.ticket-group{font:bold .74rem/1.38 Consolas,"Microsoft JhengHei",monospace;letter-spacing:.035em;color:#315b52}
.ticket-ink strong{font-weight:760;font-size:clamp(1.02rem,1.6vw,1.36rem);line-height:1.23}.ticket-org{font-size:.9rem}.ticket-summary{font-size:.93rem;color:#3d4b43;max-width:60ch}
.dock-rule{width:9px;height:9px;background:#f6db9b;border:2px solid #366b60;box-shadow:0 0 0 2px #ebddb6;transform:rotate(45deg)}
.dock-arrow{justify-self:end;width:25px;height:25px;display:grid;place-content:center;font-size:17px;border:1px solid #6f8a78;color:#285b51;transition:transform .18s,background .18s}
.dock-ticket:hover,.dock-ticket:focus-visible{background:#c4d3ae54;box-shadow:inset 3px 0 #437768}.dock-ticket:focus-visible{outline:2px solid #214f46;outline-offset:2px}.dock-ticket:is(:hover,:focus-visible) .dock-arrow{background:#2f665b;color:#fff3ce;transform:translate(2px,-2px)}.dock-ticket:active{transform:translateY(2px);background:#c3cda7}.dock-ticket:active .dock-arrow{transform:scale(.91)}
.ferry-tour .ticket-group{margin:17px 0 6px;font-size:.85rem}.credentials-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.credentials-list .dock-ticket{grid-template-columns:minmax(0,1fr) 21px;gap:6px}.credentials-list .dock-rule{display:none}.credentials-list .ticket-ink strong{font-size:.97rem}.credentials-list .ticket-ink small{display:none}.other-licence{border-top:1px dashed #aaa27b;padding-top:12px}
.harbour-contact{display:flex;gap:6px 14px;flex-wrap:wrap;margin:12px 0}.harbour-contact a{display:inline-flex;align-items:center;min-height:44px;border-bottom:1px solid #648277;font-weight:650}.harbour-contact a:hover{color:#137d69}
dialog[data-harbour=true]{background:#f8efd9;color:#213a35;border-radius:4px 14px 4px 14px;border:1px solid #425c51;border-top:5px solid #2e6c60;box-shadow:4px 5px 0 #a59a6e,0 16px 85px #0b1f27a3}
dialog[data-harbour=true][open]{animation:ticket-arrival .30s cubic-bezier(.2,.78,.22,1) both}dialog[data-harbour=true]::backdrop{background:#10292ed9;animation:harbour-mist .22s ease-out both}dialog[data-harbour=true][data-closing]{animation:ticket-departure .17s ease-in both}dialog[data-closing]::backdrop{animation:harbour-mist .17s reverse both}
dialog[data-harbour=true]>header{border-bottom:1px dashed #a09875;background:#f4e8c7}dialog[data-harbour=true] .reader-body{padding-block:clamp(15px,2.4vw,28px)}dialog[data-harbour=true] .job header small,.credential>small{color:#3c665a;font-weight:700}dialog[data-harbour=true] .job header strong{font-size:1.13rem}dialog[data-harbour=true] .degree h3:first-of-type{font-size:1.55rem}
.duty-fold{border-block-start:1px dashed #ada585;padding:3px 0}.duty-fold summary{font-weight:700;cursor:pointer}.duty-fold[open]>ul{animation:harbour-mist .2s ease-out}
.harbour-film .source-controls button[hidden]{display:none}.harbour-film .source-controls button:disabled{opacity:.45;cursor:default}
.harbour-film[data-mode=explore] .source-timeline{display:flex;gap:5px;max-height:12rem;overflow:auto}.harbour-film[data-mode=explore] .source-timeline button{text-align:start;max-width:100%;font-size:.84rem}.harbour-progress{height:3px;background:#ccd3c9}.harbour-progress i{display:block;height:100%;background:#367a66;transition:width .27s}
.topic-panel{background:#e4eee9;padding:12px}.topic-panel.analytics{background:#ede8d9}.topic-panel.browser{background:#e6e9f3}.topic-chrome{display:flex;align-items:center;gap:4px;background:#28483e;padding:7px 10px}.analytics .topic-chrome{background:#6a5a27}.browser .topic-chrome{background:#424d69}.topic-chrome i{background:#e9dbab;border-radius:50%;width:5px;height:5px}.topic-sheet{background:#fffef6;padding:17px 20px;border:1px solid #c1cfc3;animation:harbour-mist .22s ease-out}.topic-sheet small{color:#556a5d;font-weight:bold;font-size:.75rem}
@keyframes ticket-arrival{from{opacity:0;transform:translateY(24px) rotate(-1.4deg) scale(.975)}to{opacity:1;transform:none}}@keyframes ticket-departure{to{opacity:0;transform:translateY(12px) rotate(.6deg) scale(.985)}}@keyframes harbour-mist{from{opacity:0}to{opacity:1}}
@media(max-width:800px){.ferry-tour :is(.leaf-projects,.leaf-career,.leaf-credentials,.leaf-education) .leaf-card{width:min(91%,37rem)}}
@media(max-width:650px){.ferry-tour :is(.leaf-projects,.leaf-career,.leaf-credentials,.leaf-education) .leaf-card{width:100%}.ferry-tour .leaf-projects{display:flex}.ferry-tour .leaf-projects .leaf-card{top:0}.credentials-list{grid-template-columns:1fr}.credentials-list .dock-ticket{padding:10px 4px}.dock-ticket{grid-template-columns:8px minmax(0,1fr) 23px;gap:8px}.ticket-summary,.ticket-org{font-size:.86rem}.harbour-top .maker{gap:2px}.harbour-top nav{gap:2px}.harbour-top{padding-inline:5px}.harbour-top nav a{line-height:1.15}.harbour-top nav .pdf{max-width:65px}}
@media(max-width:370px){.harbour-top nav a{font-size:.71rem}.harbour-top .chapter-select select{min-width:54px;max-width:59px}.port-beacon{width:13px}.harbour-top nav{gap:1px}}
@media(prefers-reduced-motion:reduce){dialog[data-harbour=true][open],dialog[data-harbour=true]::backdrop,.topic-sheet,.duty-fold[open]>ul{animation:none}.dock-ticket,.dock-arrow,.harbour-progress i{transition:none}}


.task-ledger li{margin-block:.7rem}.reader-body a.task-case{display:block;width:fit-content;min-height:44px;padding:.55em .3em;font-weight:650}.reader-body a.task-case:hover{text-decoration-thickness:2px}dialog[data-harbour=true] .reader-body{animation:harbour-mist .2s ease-out}@media(prefers-reduced-motion:reduce){dialog[data-harbour=true] .reader-body{animation:none}}

.handover-track {
 display:grid;grid-template-columns:minmax(0,1fr) minmax(38px,1fr) minmax(0,1fr);
 align-items:center;gap:8px;padding:10px 14px;background:#e8f0e6;color:#28423c;font-size:.81rem;overflow-wrap:anywhere;
}
.handover-track>span{text-align:end}
.handover-track strong small{display:block;text-transform:uppercase;font-size:.65rem;letter-spacing:.05em;color:#47675b}
.transfer-channel{position:relative;height:18px;background:linear-gradient(transparent 8px,#829e8b 8px 10px,transparent 10px)}
.transfer-channel::before,.transfer-channel::after{content:"";position:absolute;top:5px;width:8px;height:8px;border:2px solid #597768;background:#e8f0e6;box-sizing:border-box}
.transfer-channel::before{left:0}.transfer-channel::after{right:0}
.transfer-channel b{position:absolute;z-index:1;top:2px;width:10px;height:13px;border:1px solid #4c695c;background:repeating-linear-gradient(0deg,#f7e3b7 0 3px,#99a78d 3px 4px);box-sizing:border-box;left:calc(100% - 10px)}
.handover-track[data-end=true] .transfer-channel::after{background:#42765f}
.harbour-film [data-current-platform]{text-align:end;overflow-wrap:anywhere;min-width:0}
.harbour-film .source-timeline[data-after=true]{box-shadow:inset -9px 0 9px -9px #264f44}
.harbour-film .source-timeline[data-before=true][data-after=false]{box-shadow:inset 9px 0 9px -9px #264f44}
.harbour-film .source-timeline[data-before=true][data-after=true]{box-shadow:inset 9px 0 9px -9px #264f44,inset -9px 0 9px -9px #264f44}
.harbour-film .source-controls :is([data-playback-toggle],[data-replay]){color:#f7f2d8;background:#244f45;border-color:#244f45}
.harbour-film .source-controls :is([data-playback-toggle],[data-replay]):active{transform:translateY(1px)}
.game.ferry .helm-key{display:inline-flex;align-items:center;justify-content:center;gap:.35em;width:auto;min-height:44px;padding:.4em .65em;font:700 .88rem/1.25 system-ui,sans-serif;touch-action:manipulation;user-select:none}
.game.ferry .helm-key>span{font-size:.7em}
.game.ferry .ferry-panel,.game.ferry .ferry-panel .pad{flex-wrap:wrap}
.game.ferry .helm-key[data-held=true],.game.ferry .helm-key:active{box-shadow:inset 0 0 0 2px #b5dbc4;transform:translateY(2px);background:#275d52;color:#fff1c8}
.game.ferry canvas.scene{touch-action:pan-y pinch-zoom;cursor:grab}
.game.ferry canvas.scene[data-dragging]{cursor:grabbing}
@media(max-width:750px){.game.ferry .ferry-panel{display:flex;flex-wrap:wrap}.game.ferry .ferry-panel .pad{display:flex;flex-wrap:wrap;margin:0;gap:6px}}
@media(hover:hover){.game.ferry .helm-key:hover{border-color:#3f7768}.harbour-film .source-controls :is([data-playback-toggle],[data-replay]):hover{background:#326759}}
@media(prefers-reduced-motion:no-preference){
 .handover-track[data-end=false] .transfer-channel b{animation:harbour-cargo var(--frame-ms) linear both}
 .handover-track[data-end=false] .transfer-channel::after{animation:harbour-receipt var(--frame-ms) linear both}
 @keyframes harbour-cargo{0%,12%{left:0;transform:translateY(1px)}19%{left:0;transform:translateY(-2px)}64%,100%{left:calc(100% - 10px);transform:translateY(0)}}
 @keyframes harbour-receipt{0%,58%{background:#e8f0e6;box-shadow:none}70%{background:#578972;box-shadow:0 0 0 4px #84a78977}85%,100%{background:#578972;box-shadow:0 0 0 2px #84a78955}}
 .harbour-film[data-clock=paused] .transfer-channel b,.harbour-film[data-clock=paused] .transfer-channel::after,.harbour-film[data-clock=paused] .source-slide *,.harbour-film[data-clock=paused] .source-slide *::before,.harbour-film[data-clock=paused] .source-slide *::after{animation-play-state:paused}
 .harbour-film[data-mode=film][data-snapshot=true] .source-slide *,.harbour-film[data-mode=film][data-snapshot=true] .source-slide *::before,.harbour-film[data-mode=film][data-snapshot=true] .source-slide *::after{animation:none}
}

.port-stamp{display:inline-grid;place-items:center;width:1.85rem;height:1.85rem;flex:none;color:#27645c;background:#2072630c;border:1px solid #72958b;border-radius:6px 6px 3px 3px;transition:transform .22s,background-color .22s,color .22s}
.port-stamp svg{width:70%;height:70%;display:block}.dock-ticket{grid-template-columns:1.85rem minmax(0,1fr) 1.5rem}.dock-ticket:hover .port-stamp,.dock-ticket:focus-visible .port-stamp{transform:rotate(-5deg) translateY(-2px);background:#266c60;color:#fff5d9}.dock-ticket:active .port-stamp{transform:translateY(1px)}.running-title .port-stamp{width:1.35rem;height:1.35rem;margin-right:.15rem}.credential>.port-stamp{margin-inline-end:.65rem;vertical-align:middle}.promotion-pair{border-inline-start:3px solid #2e7064;padding-inline-start:clamp(10px,2vw,22px);margin-block:1rem}.promotion-pair>header{background:#2266570c;padding:.6rem .8rem;border-radius:3px}.promotion-pair>header small{font-weight:700;color:#276054}.leaf .promotion-pair>header h3,.reader-body .promotion-pair>header h3{font-size:1.05rem;margin:.25rem 0}.leaf .promotion-pair>header p,.reader-body .promotion-pair>header p{font-size:.92rem;line-height:1.5;margin:0}.promotion-pair .dock-ticket:first-child{border-top:0}.credentials-list .dock-ticket{grid-template-columns:1.85rem minmax(0,1fr) 1.2rem}
.project-plate{margin:0;background:#f7f6ef;color:#202e2a}.project-plate img{display:block;width:100%;height:auto;max-height:clamp(220px,45vh,490px);object-fit:contain;background:#e4e6de}.project-plate figcaption{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px 14px;font-size:.85rem;line-height:1.4;border-bottom:1px solid #c8cec3}.project-plate figcaption a{margin-inline-start:auto;display:inline-flex;align-items:center;min-height:36px;color:#145e53;text-underline-offset:3px}.project-plate .port-stamp{width:1.55rem;height:1.55rem}
.app-reconstruction{--brand:#256554;--tint:#edf4f0;--tone:#205748;background:#fafafc;color:#242532;border:1px solid #c7cacf;border-radius:8px;overflow:hidden;margin:12px;font-family:"Segoe UI",system-ui,sans-serif}.surface-studio,.surface-teams{--brand:#5853a5;--tint:#efeffb;--tone:#413785}.surface-flow,.surface-mail,.surface-drive,.surface-sap,.surface-concur{--brand:#1765a8;--tint:#eaf4fd;--tone:#115888}.surface-library,.surface-sheet{--brand:#09756b;--tint:#e4f4ef;--tone:#085b58}.surface-quick{--brand:#553b88;--tint:#f1ecff;--tone:#483570}.surface-robot,.surface-scan{--brand:#ad491a;--tint:#f9efe5;--tone:#85401e}
.platform-bar{display:flex;align-items:center;gap:9px;min-height:39px;padding:6px 12px;background:white;border-bottom:1px solid #d6d8dd}.platform-bar>b{background:var(--brand);color:white;padding:3px 6px;border-radius:5px;font:.8rem/1.35 system-ui;min-width:21px;text-align:center}.platform-bar>strong{font:650 .98rem/1.3 "Segoe UI",system-ui}.platform-bar>small{margin-inline-start:auto;font-size:.72rem;color:#536166}.designer{display:grid;grid-template-columns:minmax(90px,24%) minmax(0,1fr);min-height:176px}.designer aside,.conversation aside{padding:13px 10px;background:#f4f3f9;border-right:1px solid #d9d8e2}.designer aside b{font-size:.8rem}.designer aside span{display:block;margin-top:12px;padding-left:8px;border-left:3px solid var(--brand);font-size:.76rem}
.blueprint{display:grid;justify-items:center;align-content:center;background:radial-gradient(#b6b5c3 1px,transparent 1px) 0 0/13px 13px;padding:14px 9px;background-color:#fafafa}.flow-node{position:relative;display:flex;align-items:center;gap:8px;width:min(100%,230px);border:1px solid #c7c8d0;background:white;padding:7px 9px;border-radius:5px;font-size:.79rem;line-height:1.35}.flow-node+.flow-node{margin-top:12px}.flow-node+.flow-node:before{content:"";position:absolute;left:50%;bottom:100%;height:12px;border-left:1px solid #898a9d}.flow-node i{width:9px;height:9px;border-radius:2px;background:#bbbaca;flex-shrink:0}.flow-node.active{border-color:var(--brand);box-shadow:0 0 0 2px var(--tint)}.flow-node.active i{background:var(--brand)}.flow-node.next{color:#5c6170}
.conversation{display:grid;grid-template-columns:38px 1fr}.conversation aside{text-align:center;color:var(--brand);line-height:2.1}.conversation>div{padding:14px}.conversation b{font-size:.85rem}.speech{padding:9px 12px;border-radius:9px;font-size:.88rem;max-width:88%;width:fit-content;line-height:1.45}.speech.question{margin:9px 0 9px auto;background:#e4e5f8}.speech.answer{background:white;border:1px solid #dedee3;margin-top:10px}
.quick-desk{background:radial-gradient(ellipse at top right,#e5dbff,transparent 60%),#fbf9ff;padding:18px}.quick-desk>small{color:var(--tone);font-weight:650;letter-spacing:.035em}.quick-desk>strong{display:block;margin-block:4px 12px}.quick-trace{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.quick-trace span{display:flex;align-items:center;gap:6px;font-size:.82rem;padding:8px;border:1px solid #dbd5e8;border-radius:7px;background:white}.quick-trace .live{border-color:var(--brand);color:var(--tone);font-weight:700}.quick-trace span i{font-style:normal}.quick-trace .done i{color:#07624b}
.document-view{background:var(--tint);padding:13px 10%}.paper{background:white;border:1px solid #cdd2d4;box-shadow:2px 3px 0 #b4bcc033;padding:14px;position:relative;overflow:hidden}.paper small{color:var(--tone)}.paper hr{border:0;border-top:1px solid #dfdfe5}.paper p{font-size:.85rem;margin:.5em 0}.scan-line{position:absolute;left:3%;right:3%;height:2px;top:50%;background:#bf592c;box-shadow:0 0 9px #bc683b;animation:sheet-scan 1.1s ease-in-out both}
.data-desk{padding:14px;background:var(--tint)}.data-desk>strong{font-size:.92rem}.source-rows{margin-top:7px;border:1px solid #d8dcdf;background:white;border-radius:5px;overflow:hidden}.source-rows>div{display:grid;grid-template-columns:20px minmax(70px,.7fr) minmax(0,1.4fr);gap:6px;align-items:center;padding:7px;font-size:.8rem}.source-rows>div+div{border-top:1px solid #e4e7e8}.source-rows .selected{background:var(--tint);box-shadow:inset 3px 0 var(--brand)}.source-rows small{font-size:.78rem}.source-rows i{color:var(--brand);font-style:normal}.console-stage{background:#1e2524;color:#c9f9df;padding:18px;font-family:monospace}.console-stage i{color:#7cce99}.stage-caption{padding:0 14px 14px;display:grid;gap:3px;color:#263b34;font-size:.91rem}.stage-caption span{line-height:1.45}.app-reconstruction .active,.app-reconstruction .speech:last-child,.app-reconstruction .selected,.quick-trace .live{animation:work-arrival .35s ease-out both}
@keyframes work-arrival{from{opacity:.25;transform:translateY(5px)}to{opacity:1;transform:none}}@keyframes sheet-scan{from{top:8%}to{top:93%}}
@media(max-width:500px){.designer{grid-template-columns:1fr}.designer aside{display:flex;align-items:center;gap:8px;padding:7px 10px;border-right:0;border-bottom:1px solid #d9d8e2}.designer aside span{margin:0}.app-reconstruction{margin:7px}.platform-bar{padding:6px 8px}.platform-bar>strong{font-size:.85rem}.platform-bar>small{font-size:.67rem}.project-plate figcaption a{min-height:44px}.quick-trace{grid-template-columns:1fr}.quick-desk{padding:10px}.source-rows>div{grid-template-columns:14px minmax(0,1fr)}.source-rows small{grid-column:2}.source-rows>div:not(.selected) small{display:none}}
@media(prefers-reduced-motion:reduce){.app-reconstruction *,.dock-ticket .port-stamp{animation:none!important;transition:none}}


.designer aside>span{border:0;margin-top:6px;padding:5px 7px;border-radius:3px}.designer aside>span.current{border-left:3px solid var(--brand);background:#fff}.flow-node small{display:block;font-size:.66rem;color:#565d6b;line-height:1.4}.flow-node b{font-weight:600}.surface-studio .platform-bar>b{background:linear-gradient(140deg,#296eac,#038d99 50%,#45488d);border-radius:8px 4px 8px 4px}.quick-heading{display:flex;align-items:center;gap:10px}.quick-heading>span{font-size:1.55rem;color:#67449b}.quick-heading small{display:block;color:#614284;line-height:1.35}.quick-heading strong{font-size:1.04rem}.quick-stage{display:grid;grid-template-columns:minmax(115px,34%) 1fr;gap:12px;margin-top:13px}.quick-trace{grid-template-columns:1fr;align-content:start}.quick-result{border-radius:9px;border:1px solid #d8cee8;background:#fff;padding:12px}.quick-result small{font-weight:bold;color:#52368b}.quick-result p{font-size:.85rem;line-height:1.45}.quick-inputs{display:flex;gap:5px;flex-wrap:wrap;margin-top:10px}.quick-inputs span{font-size:.78rem;border:1px solid #ded4e8;border-radius:4px;padding:4px 6px}.quick-inputs i{color:#7754a1;font-style:normal;margin-right:5px}.mail-desk{display:grid;grid-template-columns:25% 1fr}.mail-desk>aside,.mail-desk>div{padding:14px}.mail-desk>aside{background:#eff4f9;font-size:.8rem}.mail-desk aside b,.mail-desk aside span{display:block;margin-top:8px}.mail-desk aside b{color:#07558e;border-left:3px solid #1670ad;padding-left:6px}.mail-desk h4,.library-desk h4{margin:4px 0 9px}.mail-desk p{font-size:.88rem}.library-desk{padding:14px}.library-desk>small{color:#0d675e}.library-columns{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:8px 5px;border-top:1px solid #dde3df;font-size:.8rem}.library-columns.selected{background:#e8f4ee;color:#125b50}.quick-result{animation:work-arrival .28s ease-out}@media(max-width:500px){.designer aside>span{padding:3px 4px;font-size:.7rem}.designer aside{flex-wrap:wrap;gap:4px}.designer aside>b{flex-basis:100%}.quick-stage{grid-template-columns:1fr}.quick-trace{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-trace span{font-size:.73rem;padding:4px}.platform-bar{flex-wrap:wrap}.mail-desk{grid-template-columns:28% 1fr}}@media(prefers-reduced-motion:reduce){.quick-result{animation:none}}

/* Ferry tickets keep the destination readable before any pointer interaction. */
.plate-caption,.plate-actions,.employer-marks{display:inline-flex;align-items:center;gap:.55rem}
.project-plate figcaption{align-items:center;justify-content:space-between;padding:12px clamp(12px,2vw,22px)}
.plate-actions{flex-wrap:wrap;gap:.55rem}
.reader-body a.boarding-pass,.project-plate figcaption a.boarding-pass,.leaf a.boarding-pass{
 display:inline-flex;align-items:stretch;justify-content:space-between;gap:0;
 min-height:46px;max-width:100%;margin:2px 0;padding:0;border:1px solid #20554c;
 background:#215d50;color:#fff5d8;border-radius:5px 2px 5px 2px;text-decoration:none;
 box-shadow:0 2px 0 #123e36;vertical-align:middle;line-height:1.18;
 transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease
}
.boarding-pass .pass-copy{display:grid;align-content:center;gap:2px;padding:.48rem .78rem;text-align:start}
.boarding-pass .pass-copy strong{font:700 .93rem/1.2 system-ui,sans-serif;color:inherit;margin:0;overflow-wrap:anywhere}
.boarding-pass .pass-copy small{font:500 .73rem/1.1 system-ui,sans-serif;letter-spacing:.02em;color:inherit;opacity:.87;margin:0}
.boarding-pass .pass-stub{display:grid;place-items:center;flex:0 0 2.4rem;border-inline-start:1px dashed currentColor}
.pass-stub svg{width:1.26rem;height:1.26rem;transition:transform .2s ease}
.reader-body a.boarding-pass.secondary,.leaf a.boarding-pass.secondary{background:#f7f0d9;color:#225548}
@media(hover:hover){.reader-body a.boarding-pass:hover,.leaf a.boarding-pass:hover{transform:translateY(-2px);box-shadow:0 4px 0 #123e36}.boarding-pass:hover .pass-stub svg{transform:translateX(2px) rotate(-5deg)}}
.reader-body a.boarding-pass:focus-visible,.leaf a.boarding-pass:focus-visible{outline:3px solid #126e91;outline-offset:3px}
.reader-body a.boarding-pass:active,.leaf a.boarding-pass:active{transform:translateY(2px);box-shadow:none}
.employer-marks{flex-wrap:wrap;gap:5px}
.employer-marks img{box-sizing:border-box;display:block;object-fit:contain;background:#fff;border:1px solid #52645b3b;border-radius:4px;padding:3px;width:3.6rem;height:2rem}
.promotion-pair>header .employer-marks,.job>header .employer-marks{display:flex;width:fit-content;margin:0 0 .55rem}
.career-list .dock-ticket:has(>.employer-marks){grid-template-columns:3.6rem minmax(0,1fr) 1.25rem}
.project-plate picture{display:block}
@media(max-width:560px){.plate-actions{width:100%}.plate-actions .boarding-pass{flex:1 1 9rem}.project-plate:has(source) picture img{max-height:53svh}}
@media(prefers-reduced-motion:reduce){.reader-body a.boarding-pass,.leaf a.boarding-pass,.pass-stub svg{transition:none}}

.project-plate .plate-zoom{position:relative;display:block;width:100%;padding:0;border:0;background:#e4e6de;cursor:zoom-in}
.plate-zoom>span{position:absolute;right:.55rem;bottom:.5rem;background:#fff9e8;color:#224f46;border:1px solid #577467;border-radius:3px;padding:.23rem .55rem;font:650 .8rem/1.25 system-ui,sans-serif;box-shadow:0 1px 4px #223d3426}
.plate-zoom:focus-visible{outline:3px solid #126e91;outline-offset:-4px;z-index:1}
dialog.plate-viewer{width:min(1440px,calc(100% - 18px));height:auto;max-height:94svh;color:#213a35;overflow:hidden}
.plate-viewer>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 12px;border-bottom:1px dashed #a69e79}
.plate-viewer>header button{width:auto;min-width:44px;min-height:44px;padding:4px 10px;color:#fff5d9;background:#215d50;border-radius:3px}
.plate-pan{overflow:auto;max-height:calc(90svh - 56px);overscroll-behavior:contain}
.plate-pan:focus-visible{outline:3px solid #126e91;outline-offset:-3px}
.plate-pan img{display:block;max-width:none;width:auto;height:auto;margin:auto}

/* A folded ticket corner signals an in-page record. The entire row is actionable. */
.dock-list .dock-ticket,.credentials-list .dock-ticket{grid-template-columns:1.85rem minmax(0,1fr) auto;gap:clamp(6px,1.3vw,14px)}
.career-list .dock-ticket:has(>.employer-marks){grid-template-columns:3.6rem minmax(0,1fr) auto}
.reader-body a.dock-ticket,.leaf a.dock-ticket{text-decoration:none}
.ticket-tab{display:inline-flex;align-items:center;justify-content:center;gap:.4em;place-self:center end;min-height:32px;padding:.25em .6em;border:1px solid #7b927b;border-left:2px dotted #658576;border-radius:1px 5px 5px 1px;background:#eee5c9;color:#214f44;font:700 .79rem/1.2 system-ui,sans-serif;white-space:nowrap;box-shadow:0 2px #b9af8b;transition:transform .19s,background .19s,color .19s,box-shadow .19s}
.ticket-tab i,.fold-icon{display:inline-block;position:relative;width:.85em;height:1.02em;border:1.45px solid currentColor;border-radius:1px;transform:rotate(-7deg);transition:transform .22s}
.ticket-tab i:after,.fold-icon:after{content:"";position:absolute;right:-1px;top:-1px;width:.38em;height:.38em;background:linear-gradient(45deg,transparent 45%,currentColor 47% 56%,transparent 59%);border-left:1px solid;border-bottom:1px solid}
.dock-ticket:focus-visible .ticket-tab,.dock-ticket:active .ticket-tab{color:#fff3d3;background:#205c4e}
@media(hover:hover){.dock-ticket:hover .ticket-tab{transform:translateY(-2px);background:#235e51;color:#fff3d3;box-shadow:0 4px #a6a17b}.dock-ticket:hover .ticket-tab i{transform:rotate(7deg)}}
.dock-ticket:active .ticket-tab{transform:translateY(1px);box-shadow:none}
.harbour-contact{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));gap:12px;margin:1.3rem 0 1.15rem}
.leaf a.contact-pass,.reader-body a.contact-pass{display:grid;grid-template-columns:1.85rem minmax(0,1fr) auto;align-items:center;gap:10px;min-height:66px;margin:0;padding:8px 11px;border:1px solid #8d9a82;border-radius:4px;background:#fff3d9;color:#224a42;text-decoration:none;box-shadow:0 3px #b8ae8d;text-align:start;line-height:1.25;transition:transform .18s,box-shadow .18s,background-color .18s}
.harbour-contact a.contact-pass{row-gap:3px}.contact-name{display:contents}.contact-pass>.port-stamp{grid-column:1;grid-row:1 / 3}.contact-name strong{grid-column:2;grid-row:1;align-self:end}.contact-name small{grid-column:2 / 4;grid-row:2;align-self:start}.contact-pass .contact-stub{grid-column:3;grid-row:1;align-self:end}.contact-name strong{font-size:1rem;font-weight:730}.contact-name small{font-size:.79rem;font-weight:500;overflow-wrap:anywhere}.contact-stub{display:grid;place-items:center;align-self:stretch;padding-inline-start:.65rem;border-left:1px dashed currentColor;font-size:.72rem;font-weight:650}
.leaf a.contact-pass:first-child,.reader-body a.contact-pass:first-child{background:#205c50;color:#fff2d2;border-color:#205c50}.contact-pass:first-child .port-stamp{border-color:#a9c6b1;color:#fff0cd}
.contact-pass:focus-visible,.inset-link:focus-visible{outline:3px solid #147b93;outline-offset:3px}
@media(hover:hover){.harbour-contact a.contact-pass:hover{transform:translateY(-2px);box-shadow:0 5px #9b9577}.contact-pass:hover .port-stamp{transform:rotate(-6deg)}}
.harbour-contact a.contact-pass:active{transform:translateY(2px);box-shadow:0 1px #9b9577}
dialog[data-harbour=true] .manifest-cover{display:grid;grid-template-columns:minmax(0,1fr) minmax(110px,28%);align-items:center;overflow:hidden;position:relative;border-radius:5px;background:#163d40;color:#fff0cc;border-bottom:4px solid #af8658}
.manifest-heading{padding:clamp(15px,3vw,29px);min-width:0}.manifest-heading>small,.capstone>small{font:700 .8rem/1.35 system-ui,sans-serif;letter-spacing:.075em;color:#e9c78b}
.reader-body .manifest-heading h2{margin:.5rem 0 .4rem;color:#fff3d5;line-height:1.18;font-size:clamp(1.3rem,3.3vw,2.1rem);text-wrap:balance}
.reader-body .manifest-heading p{margin:.35rem 0;color:#e4eadb;line-height:1.45}.record-meta{color:#f0cd90;font:650 .84rem/1.5 system-ui,sans-serif}.manifest-art{padding:6px 11px 6px 0}.manifest-art canvas{display:block;width:100%;height:auto;border:2px solid #a78959;image-rendering:pixelated;box-shadow:3px 3px #0c2a31}
.manifest-section{margin:clamp(18px,3.5vw,30px) 0}.manifest-section h3{display:flex;align-items:center;gap:.7em;margin:0 0 .65em;color:#245447}.manifest-section h3:after{content:"";flex:1;border-top:1px dashed #a8aa87}
.reader-body ul.module-route{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 1.25rem;list-style:none;padding:0;margin:0}
.reader-body .module-route li{position:relative;margin:0;padding:.55rem .2rem .55rem 1.2rem;line-height:1.4;border-bottom:1px solid #d6cfb3}
.module-route li:before{content:"";position:absolute;border:2px solid #397761;width:6px;height:6px;left:1px;top:1em;transform:rotate(45deg)}
.skill-register{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.skill-register>div{border-left:2px solid #739281;padding:.15em .7em}.skill-register>div:first-child{grid-column:1/-1}.skill-register dt{font-weight:730;color:#28594c}.skill-register dd{margin:.3em 0 0;line-height:1.55}
.capstone{background:#e7e8cf;border:1px solid #b5bda1;border-left:4px solid #45715e;padding:clamp(13px,2.6vw,24px);border-radius:3px}.capstone>small{color:#385e49}.capstone h3{margin:.45em 0}.capstone-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.reader-body a.inset-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;text-underline-offset:4px}.credential-note{display:flex;align-items:center;gap:12px;margin:1.2em 0}
dialog[data-harbour=true] .job>header{padding:1rem clamp(12px,3vw,24px);border-left:4px solid #55846c;background:linear-gradient(115deg,#dde5ca,#f6edd2);border-bottom:1px dashed #9d9c7b}
@media(max-width:760px){.harbour-contact{grid-template-columns:1fr}}
@media(max-width:460px){.reader-body ul.module-route,.skill-register{grid-template-columns:1fr}.skill-register>div:first-child{grid-column:auto}.manifest-heading{padding:13px 9px 14px 13px}.manifest-art{padding-right:6px}dialog[data-harbour=true] .manifest-cover{grid-template-columns:minmax(0,1fr) minmax(72px,24%)}.ticket-tab{gap:.27em;padding:.22em .38em;font-size:.73rem}.contact-pass .contact-stub{padding-inline-start:.42rem}}
@media(prefers-reduced-motion:reduce){.ticket-tab,.ticket-tab i,.harbour-contact .contact-pass,.harbour-contact .port-stamp{transition:none}}

.manifest-heading .degree-word{display:inline-block;max-width:100%}

/* Career records use the typography and perforated stock of the harbour tickets. */
.career-manifest{container-type:inline-size;color:#233f36}
.career-heading{padding:0 0 .95rem;border-bottom:1px solid #b4b393}
.career-dateline{display:flex;align-items:center;flex-wrap:wrap;gap:.4rem .9rem;color:#395f51}
.career-dateline small,.work-promotion,.cargo-figure,.order-passage li{font-family:Consolas,"SFMono-Regular",monospace}
.career-dateline small{font-size:.85rem;font-weight:700}
.work-promotion{padding:.21rem .55rem;border:1px solid #597d65;border-radius:2px;color:#255644;background:#e1e6c8;font-size:.81rem}
.role-identity{display:flex;align-items:center;justify-content:space-between;gap:.4rem 1rem;flex-wrap:wrap;margin:.65rem 0}
.role-identity>div{min-width:min(100%,12rem);flex:1 1 65%}
.reader-body .career-heading h2{margin:0;color:#183f38;font-size:clamp(1.55rem,4vw,2.36rem);line-height:1.12;text-wrap:balance}
.reader-body .role-identity p{margin:.4rem 0 0;line-height:1.42;font-weight:630}
.role-identity .employer-marks{display:inline-flex;gap:.3rem;flex-wrap:wrap}
.reader-body .role-brief{margin:.55rem 0 0;max-width:63ch;line-height:1.55}
.cargo-proof{display:grid;grid-template-columns:minmax(8.8rem,26%) minmax(0,1fr);margin:1rem 0 1.15rem;overflow:hidden;border-radius:6px;color:#fff4d7;background:linear-gradient(115deg,#103b3e,#204c42);box-shadow:0 3px #b6ac82}
.cargo-figure{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:.28rem;padding:clamp(12px,3vw,23px);color:#f6d491;border-inline-end:2px dotted #aac1a0;background:repeating-linear-gradient(0deg,#4a888018 0 1px,transparent 1px 6px)}
.cargo-figure strong{font-size:clamp(2.45rem,6.5vw,4rem);line-height:1;letter-spacing:-.075em}
.cargo-figure small{color:#e3edd5;font:630 .8rem/1.35 system-ui,sans-serif}
.cargo-result{padding:clamp(12px,2.8vw,21px)}
.reader-body .cargo-result h3{margin:0;color:#fff5d9;font-size:1.15rem;line-height:1.4}
.reader-body .cargo-result p{margin:.4rem 0 .68rem;color:#e1ead7;line-height:1.47}
.reader-body a.work-passage,.reader-body a.task-case{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:space-between;gap:.65em;min-height:44px;max-width:100%;padding:.45rem .85rem;border-radius:2px 5px 5px 2px;text-decoration:none;font-weight:720;line-height:1.35;transition:transform .19s,box-shadow .19s,background .19s}
.reader-body a.work-passage{color:#173e36;background:#f4d99e;border-inline-end:3px double #887548;box-shadow:0 2px #9d8656}
.work-passage i,.task-case i{flex:none}
.reader-body a.task-case{width:fit-content;margin:.35rem .55rem 0 0;border:1px solid #879e85;color:#204f43;background:#edf0d6}
@media(hover:hover){.reader-body :is(a.work-passage,a.task-case):hover{transform:translateY(-2px);box-shadow:0 4px #998d66}.work-passage:hover i,.task-case:hover i{transform:rotate(8deg)}}
.reader-body :is(a.work-passage,a.task-case):active{transform:translateY(1px);box-shadow:none}
.reader-body :is(.work-passage,.task-case,.work-fold summary):focus-visible{outline:3px solid #167e98;outline-offset:3px}
.reader-body .work-passage:focus-visible{outline-color:#fff4d8}
.work-highlight{border-inline-start:4px solid #537865;background:#e1e7cc;padding:.75rem 1rem;margin:1rem 0}
.reader-body .work-highlight h3{margin:0;color:#345d4a;font-size:.86rem}
.reader-body .work-highlight p{margin:.4rem 0 0;line-height:1.55}
.reader-body .work-fold{margin:0;border-bottom:1px solid #afb495}
.work-fold>summary{display:flex;min-height:46px;box-sizing:border-box;align-items:center;justify-content:space-between;gap:.7rem;padding:.5rem .25rem;list-style:none;cursor:pointer;font-weight:730;color:#22584a}
.work-fold>summary::-webkit-details-marker{display:none}
.work-fold>summary:after{content:"";width:.48rem;height:.48rem;margin-inline-end:.4rem;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg);transition:transform .2s}
.work-fold[open]>summary:after{transform:rotate(225deg)}
.work-fold .work-pages{padding:0 .25rem .65rem}
.reader-body .task-ledger{padding-inline-start:1.35rem}
.reader-body .task-ledger li{margin:.5rem 0;padding-bottom:.65rem;border-bottom:1px dotted #b3b698}
.task-ledger li:last-child{border:0}
.work-origins{display:flex;gap:.4rem .65rem;flex-wrap:wrap;margin-top:1rem}
.order-passage,.case-endpoints{margin:.7rem 0 1rem;padding:clamp(12px,2.2vw,18px);border:1px solid #a4b29b;border-radius:4px;background:#e8ead2;color:#244a3f}
.reader-body .order-passage h3{font-size:1.03rem;margin:0}
.reader-body .order-passage p{margin:.3rem 0 .6rem;line-height:1.48}
.reader-body .order-passage ol{display:flex;flex-wrap:wrap;list-style:none;gap:.4rem .95rem;padding:0;margin:0}
.reader-body .order-passage li{display:inline-flex;align-items:center;gap:.38rem;margin:0;font-size:.84rem;font-weight:700}
.order-passage li:before{content:"";background:#4c7d64;width:.44rem;height:.44rem;border:1px solid #264e41;transform:rotate(45deg)}
.order-passage li:last-child:before{background:#c49949}
.case-endpoints{display:grid;grid-template-columns:1fr 1fr;gap:1rem;background:#f5ecd6;border-top:3px solid #789680}
.case-endpoints>div+div{border-inline-start:1px dashed #89977f;padding-inline-start:1rem}
.case-endpoints dt{font-weight:740;color:#275346}.case-endpoints dd{margin:.22em 0 0;line-height:1.4}
.case-endpoints.report-route{border-top-color:#8c7052}
@container(max-width:430px){.cargo-proof{grid-template-columns:1fr}.cargo-figure{flex-direction:row;align-items:baseline;justify-content:flex-start;gap:.55rem;padding:.55rem .8rem;border-inline-end:0;border-bottom:2px dotted #aac1a0}.cargo-figure strong{font-size:2.25rem}.role-identity .employer-marks img{width:2.95rem;height:1.65rem}.cargo-result{padding:.75rem .85rem}.role-identity{gap:.4rem}}
@media(max-width:460px){.case-endpoints{grid-template-columns:1fr;gap:.6rem}.case-endpoints>div+div{border-inline-start:0;border-top:1px dashed #89977f;padding-inline-start:0;padding-top:.6rem}}
@media(prefers-reduced-motion:reduce){.reader-body a.work-passage,.reader-body a.task-case,.work-fold>summary:after,.fold-icon{transition:none}}

/* A stage is an illustrated operation. Numbers in the strip are navigation. */
.harbour-film:not([data-mode=explore]){container-type:inline-size;--film-ink:#153c38;--film-stock:#f8edcf;--film-gold:#dfb86e;border-color:#88a293;box-shadow:0 3px 0 #263e3024;background:#f9faf7}
.harbour-film:not([data-mode=explore]) .source-title{background:var(--film-ink);color:#fff4d7;padding:.55rem .95rem;border-bottom:2px solid var(--film-gold)}
.harbour-film:not([data-mode=explore]) .source-timeline{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:4px;align-items:stretch;padding:6px 8px;background:#e9eddf;scrollbar-width:thin;scrollbar-color:#849c89 #e9eddf}
.harbour-film:not([data-mode=explore]) .source-timeline button{display:flex;align-items:center;justify-content:center;flex:1 0 auto;gap:.28rem;min-height:44px;padding:.3rem .48rem;border:1px solid transparent;border-radius:3px;background:transparent;color:#345449;font:650 .84rem/1.25 system-ui,sans-serif;transition:background .16s,box-shadow .16s,transform .16s}
.harbour-film .source-timeline button small{font:600 .69rem/1.1 Consolas,monospace;color:#566d61}
.harbour-film:not([data-mode=explore]) .source-timeline [aria-pressed=true]{color:#153e32;background:#fff8dd;border-color:#a3b197;box-shadow:inset 0 -3px #3a715b}
.harbour-film .source-timeline button:focus-visible,.harbour-film .source-controls button:focus-visible{outline:3px solid #167496;outline-offset:-3px}
@media(hover:hover){.harbour-film:not([data-mode=explore]) .source-timeline button:hover{background:#fff8e2;transform:translateY(-1px)}}
.harbour-film:not([data-mode=explore]) .source-timeline button:active{transform:translateY(1px)}
.harbour-film:not([data-mode=explore]) .source-slide{margin:0;background:#e4e9e3;padding:clamp(5px,2.4cqw,15px)}
.harbour-film .app-reconstruction{margin:0;border:1px solid #c5ccc8;box-shadow:0 4px 12px #132b3114;min-width:0}
.harbour-film .stage-caption{margin:.6rem 0 0;gap:.2rem;background:transparent;padding:.2rem .35rem;border:0;line-height:1.45}
.harbour-film .stage-caption strong{font-size:.87rem}.harbour-film .stage-caption span{font-size:.88rem;color:#36463f}
.harbour-film .platform-bar{background:linear-gradient(100deg,var(--tint),#fff 80%);border-bottom:1px solid #cbd2d2;gap:9px;padding:.45rem .75rem;min-height:37px}
.harbour-film .platform-bar>b{font-weight:700;min-width:1.7rem}
.harbour-film .platform-bar>small{color:#56616b;font-size:.72rem}
.app-reconstruction h4{margin:0 0 .65em;font:700 1.03rem/1.3 "Segoe UI",system-ui,sans-serif;color:#273339}
.harbour-film .work-objects{display:grid;gap:.4rem;margin:0;padding:0;list-style:none}
.harbour-film .work-objects li{display:flex;align-items:center;gap:.62rem;min-width:0;margin:0;padding:.35rem .5rem;border:1px solid #dadedf;color:#2a3641;background:#fff;border-radius:4px;font:.89rem/1.35 "Segoe UI",system-ui,sans-serif;overflow-wrap:anywhere}
.object-mark{display:inline-block;flex:none;width:.77rem;height:.94rem;border:1.5px solid var(--brand);border-radius:1px 3px 1px 1px;background:linear-gradient(0deg,transparent 26%,var(--tint) 27% 80%,transparent 81%)}
.work-objects li,.paper-field,.worksheet .sheet-row{animation:work-object-in .32s ease-out both}
.work-objects li:nth-child(2),.paper-field:nth-of-type(3),.worksheet .sheet-row:nth-child(3){animation-delay:.09s}
.work-objects li:nth-child(3),.paper-field:nth-of-type(4),.worksheet .sheet-row:nth-child(4){animation-delay:.18s}
.work-objects li:nth-child(n+4){animation-delay:.25s}
.proof-pair{display:grid;grid-template-columns:minmax(0,1.14fr) 40px minmax(0,1fr);align-items:center;gap:0;padding:clamp(12px,3.5cqw,23px);min-height:170px;background:linear-gradient(125deg,#f6f2e9,#edf1f2)}
.optical-bed,.document-stage{position:relative;min-width:0}
.evidence-paper{position:relative;overflow:hidden;padding:.8rem 1rem 1rem;border:1px solid #d4cbb8;border-top:3px solid #947e5d;background:linear-gradient(110deg,#fffdf7,#f6f0e3);box-shadow:2px 3px 0 #c9bfac,4px 5px 0 #e4dac6;color:#35362f}
.evidence-paper>b{display:block;font-size:.96rem;line-height:1.3;padding-right:8px}
.paper-fold{position:absolute;right:0;top:0;width:12px;height:12px;background:linear-gradient(45deg,#d3c8b1 50%,#f4edde 52%)}
.paper-rule{width:42%;height:4px;margin:.7rem 0;background:repeating-linear-gradient(90deg,#929389 0 2px,transparent 2px 4px)}
.paper-field{display:flex;align-items:center;gap:.5rem;min-height:25px;border-bottom:1px dotted #ada995;font:.82rem/1.3 system-ui,sans-serif}
.paper-field span{flex:none;max-width:76%}.paper-field i{height:3px;flex:1;background:#c8c6b8}
.optical-line{position:absolute;pointer-events:none;left:1px;right:1px;top:0;height:2px;opacity:0;background:#b35318;box-shadow:0 -5px 10px #d7953d85;animation:optical-read 1.35s ease-in-out .08s 1 both}
.transfer-pulse{height:1px;position:relative;background:#8fa49c}
.transfer-pulse:after{content:"";position:absolute;right:0;top:-3px;width:6px;height:6px;border:solid #638277;border-width:1.5px 1.5px 0 0;transform:rotate(45deg)}
.transfer-pulse i{position:absolute;width:6px;height:6px;top:-2.5px;background:#3b776c;opacity:0;animation:field-transfer .75s .7s linear 2}
.result-register,.posting-desk{background:white;border:1px solid #bfc9c5;border-radius:5px;padding:.8rem;min-width:0}
.result-register h4{font-size:.88rem}.result-register .extracted li{border-inline-start:3px solid var(--brand);background:var(--tint);animation-delay:.65s}
.result-register .extracted li:nth-child(2){animation-delay:.85s}.result-register .extracted li:nth-child(n+3){animation-delay:1.05s}
.document-stage{padding:15px max(12%,15px) 20px;background:repeating-linear-gradient(143deg,#ecede7 0 10px,#e7e9e1 10px 11px)}
.document-stage .evidence-paper{max-width:310px;margin:auto}
.worksheet{margin:clamp(10px,3cqw,22px);border:1px solid #c1d0c4;background:#fff}
.sheet-axis,.sheet-row{display:grid;grid-template-columns:29px 1.15fr 1fr}
.sheet-axis span,.sheet-row>*{padding:.4rem .55rem;border-inline-end:1px solid #d8dfda;min-width:0}
.sheet-axis,.sheet-row small{color:#4f685c;background:#eaf0e9;text-align:center;font:.78rem/1.3 Consolas,monospace}
.sheet-row{border-top:1px solid #d8dfda;font:500 .85rem/1.4 system-ui,sans-serif}.sheet-row strong{font-weight:610}
.cell-result{display:flex;align-items:center;gap:6px;color:#146047;background:#edf6eb}
.cell-result i{width:60%;height:4px;background:#8fae98;transform-origin:left;animation:field-grow .55s ease-out .32s both}
.posting-desk{display:flex;align-items:center;gap:1rem;margin:clamp(10px,3cqw,22px);border-inline-start:4px solid var(--brand);background:linear-gradient(110deg,#fff,var(--tint))}
.posting-desk>div:last-child{flex:1;min-width:0}.posting-seal{display:grid;place-items:center;width:2.5rem;height:2.5rem;border:2px solid #29806e;border-radius:50%;color:#236959;font-weight:800;animation:seal-in .42s ease-out both}
.harbour-film .posted li,.harbour-film .reconciled li{border-color:#dbd8e5;background:var(--tint)}
.posted .object-mark,.reconciled .object-mark{width:.8rem;height:.45rem;border:solid var(--brand);border-width:0 0 2px 2px;border-radius:0;transform:rotate(-45deg);background:none}
.harbour-film .conversation>div{min-width:0;padding:1rem;background:linear-gradient(180deg,#fff,#f4f3f9)}.conversation .speech{width:fit-content;max-width:92%;font-size:.95rem;line-height:1.45;animation:work-object-in .34s ease-out both}
.message-attachment{display:flex;align-items:center;gap:.45rem;padding:.4rem;margin-top:.5rem;background:#fff;border:1px solid #d6d2e3;border-radius:3px;color:#464064;font-size:.82rem}
.message-attachment .port-stamp{width:1.15rem;height:1.15rem}
.harbour-film .message-tags,.harbour-film .designer-terms{display:flex;flex-wrap:wrap;gap:.3rem;margin-top:.6rem}
.harbour-film .message-tags li,.designer-terms span{padding:.18rem .42rem;font-size:.77rem;border-radius:3px;background:white;border:1px solid #d2d1dc}
.message-tags .object-mark{display:none}
.designer .flow-node{width:min(100%,275px)}.designer .flow-node>i{width:20px;height:20px;display:grid;place-items:center;color:white;font:700 .76rem system-ui;background:#65747a}.designer .flow-node.active>i{background:var(--brand)}
.designer .flow-node.active{animation:node-run .6s ease-out .15s both}
.designer-terms{justify-content:center;color:#465350}.designer .blueprint{gap:0;padding:16px}
.harbour-film .quick-result h4{color:#463869}.quick-trace .live{border-color:#6f539c}.quick-result .work-objects{gap:.3rem}
.record-stage,.audit-trace{padding:clamp(12px,3cqw,22px)}.record-rows{grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr))}
.harbour-film .terminal-lines li{background:#183331;color:#e3f0da;border-color:#33544f;font-family:Consolas,monospace}.audit-trace h4{color:#eff8de}.terminal-lines .object-mark{border:0;background:none;width:auto}
.terminal-lines .object-mark:before{content:"›";color:#a3dda3}
.harbour-film .file-rows li,.harbour-film .source-match li{border-radius:0;border-width:0 0 1px}
.source-match li:last-child{box-shadow:inset 3px 0 var(--brand);background:var(--tint)}
@keyframes work-object-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@keyframes optical-read{0%{top:4%;opacity:0}12%{opacity:1}86%{opacity:1}100%{top:96%;opacity:0}}
@keyframes field-transfer{0%{left:0;opacity:0}15%,85%{opacity:1}100%{left:90%;opacity:0}}
@keyframes field-grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes seal-in{from{opacity:0;transform:scale(1.28) rotate(-12deg)}to{opacity:1;transform:none}}
@keyframes node-run{from{box-shadow:0 0 0 4px var(--tint);transform:translateY(3px)}to{box-shadow:0 0 0 2px var(--tint);transform:none}}
@container(max-width:435px){.proof-pair{grid-template-columns:minmax(0,1fr) 15px minmax(0,1fr);padding:.65rem;min-height:144px}.evidence-paper,.result-register{padding:.55rem}.result-register .work-objects li{font-size:.78rem;padding:.28rem;gap:.28rem}.sheet-row>*{padding:.35rem}.harbour-film .platform-bar{gap:.35rem}.harbour-film .source-controls{flex-wrap:wrap}.designer-terms span{font-size:.72rem}.paper-field span{max-width:100%}.paper-field i{display:none}.designer .blueprint{padding:.75rem}.harbour-film .stage-caption{margin:.55rem 0 .1rem}}
@media(prefers-reduced-motion:reduce){.harbour-film *, .harbour-film *:before,.harbour-film *:after{animation-duration:.01ms!important;animation-delay:0ms!important;transition-duration:.01ms!important}}

.document-inbox{padding:clamp(12px,3.5cqw,23px);background:linear-gradient(130deg,#edf2ec,#fffdf6)}
.inbox-line{display:flex;align-items:center;gap:.5rem;margin:0 0 .65rem;color:#39584c}.inbox-line h4{margin:0}
.inbox-line i{width:1.15rem;height:.74rem;display:inline-block;border:2px solid currentColor;border-top:0;transform:perspective(20px) rotateX(16deg)}
.harbour-film .intake-objects{grid-template-columns:repeat(auto-fit,minmax(min(100%,7.8rem),1fr));gap:.45rem}
.harbour-film .intake-objects li{min-height:39px;border:1px solid #ccd3c9;border-left:3px solid #86a091;box-shadow:0 2px #d9ded5}
.ledger-pair{grid-template-columns:minmax(0,.85fr) minmax(16px,10%) minmax(0,1.15fr);align-items:center;min-height:94px}
.balance-source{border:1px solid #c9bfd7;background:#faf6ff;padding:.65rem;border-radius:4px;box-shadow:0 2px #e7daee}
.balance-source b{display:block;font-size:.86rem;color:#4c3c62}.balance-source i{display:block;width:80%;height:3px;margin-top:.45rem;background:#c8bbd8}.balance-source i:last-child{width:56%}
.ledger-pair .transfer-pulse{background:#a194b4}.ledger-pair .transfer-pulse i{background:#755297}
.balance-outcomes .object-mark{background:var(--brand);width:.42rem;height:.42rem;transform:rotate(45deg);border:0}
.harbour-film .balance-outcomes li{border-inline-start:3px solid var(--brand);background:#f7f4fa}
@container(max-width:435px){.ledger-pair{grid-template-columns:minmax(0,.78fr) 16px minmax(0,1.22fr)}.balance-source{padding:.45rem}.harbour-film .ledger-pair li{font-size:.78rem;padding:.3rem;gap:.3rem}}

@container(max-width:435px){
 .harbour-film:not([data-mode=explore]) .source-timeline{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:2px;padding:4px}
 .harbour-film:not([data-mode=explore]) .source-timeline button{min-width:0;flex-direction:column;gap:.12rem;padding:.2rem .12rem;text-align:center;line-height:1.15;overflow-wrap:anywhere}
 .harbour-film .quick-trace{display:none}.harbour-film .quick-stage{grid-template-columns:minmax(0,1fr);margin-top:.55rem}
 .harbour-film .quick-result{padding:.65rem}.harbour-film .quick-heading{gap:.4rem}
}
@container(max-width:320px){html[lang=en] .harbour-film:not([data-mode=explore]) .source-timeline{grid-auto-flow:row;grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Links on the boarding pass point to the evidence behind its claims. */
.ferry-tour .profile-id .promotion-jump,.ferry-tour .hero-case-link {
 display:inline-flex;align-items:center;gap:.55em;min-height:32px;width:fit-content;
 color:#1d584d;text-decoration:underline;text-underline-offset:.24em;font-weight:700;
}
.ferry-tour .profile-id .promotion-jump {
 padding:0;background:transparent;border:0;box-shadow:none;font:inherit;font-size:.82rem;font-weight:700;cursor:pointer;
}
.ferry-tour .hiring-proof {max-width:46ch;margin-block:.45rem .85rem}
.leaf-card .hiring-proof p {margin:0;line-height:1.45}
.ferry-tour .hero-case-link {font-size:.94rem}
.ferry-tour :is(.hero-case-link,.promotion-jump):focus-visible,.additional-projects summary:focus-visible,.ferry-tour :is(h1,h2)[tabindex="-1"]:focus-visible {outline:2px solid #12685b;outline-offset:3px}
@media(hover:hover){
 .ferry-tour :is(.hero-case-link,.promotion-jump):hover {color:#123e35;text-decoration-thickness:2px}
 .ferry-tour :is(.hero-case-link,.promotion-jump):hover .fold-icon {transform:rotate(7deg)}
}
.additional-projects {border-block:1px dashed #87907a;margin:.2rem 0 0}
.additional-projects summary {cursor:pointer;padding:.8rem .4rem;color:#23594d;font-weight:700;min-height:44px}
.additional-projects[open] .project-list {animation:harbour-mist .2s ease-out}
.order-passage .case-contribution {font-weight:650}
@media(max-width:540px){
 .ferry-tour .project-list .dock-ticket {grid-template-columns:1.5rem minmax(0,1fr);align-items:start;column-gap:.55rem;row-gap:.45rem}
 .ferry-tour .project-list .ticket-ink {min-width:0;overflow-wrap:break-word;word-break:normal}
 .ferry-tour .project-list .ticket-tab {grid-column:2;justify-self:start;min-height:24px}
 .ferry-tour .promotion-jump,.ferry-tour .hero-case-link {min-height:40px}
}
@media(prefers-reduced-motion:reduce){.additional-projects[open] .project-list{animation:none}}

/* Keep the actual hit surfaces stationary while light travels over the ticket. */
dialog[data-harbour=true][open]{animation:harbour-mist .22s ease-out both}
dialog[data-harbour=true][open][data-closing]{animation:harbour-mist .16s ease-in reverse both}
dialog[data-harbour=true]>.reader-body{overflow-anchor:none}

/* The index is the route board. Chapter and project readers keep their own paper layouts. */
#case[data-reader-index]{
 --index-ink:#163a38;
 --index-paper:#fcf3dc;
 --index-line:#b4a481;
 width:min(46rem,calc(100% - 16px));
 max-height:min(90svh,49rem);
 background:#f1e5c8;
 border-top-color:#bf9660;
}
#case[data-reader-index]>header{
 padding:.15rem clamp(.75rem,3vw,1.5rem);
 background:#e9dbb8;
}
.index-mast{
 display:inline-flex;align-items:center;gap:.45rem;
 font:700 .81rem/1.3 Consolas,"Microsoft JhengHei",monospace;
 color:var(--index-ink);
}
.index-mast .port-beacon{margin:0}
#case[data-reader-index] [data-exit]{
 flex:0 0 44px;min-height:44px;border-radius:5px;
 transition:background-color .16s,color .16s,transform .16s;
}
@media(hover:hover){#case[data-reader-index] [data-exit]:hover{background:#1b4944;color:#fff1d0}}
#case[data-reader-index] [data-exit]:active{transform:translateY(1px) scale(.93)}
#case[data-reader-index]>.reader-body{
 padding:clamp(.75rem,3vw,1.55rem);
 background:repeating-linear-gradient(0deg,#8067370c 0 1px,transparent 1px 5px),var(--index-paper);
 animation:none;
}
.index-cover{
 display:grid;grid-template-columns:minmax(0,1.22fr) minmax(0,1fr);
 position:relative;overflow:hidden;border-radius:5px 10px 5px 5px;
 color:#fff2d0;background:linear-gradient(115deg,#102e34,#203f3e 85%);
 border:1px solid #79968a;box-shadow:0 3px #c1ad83;
}
.index-heading{align-self:center;padding:clamp(.9rem,3.2vw,1.65rem)}
.reader-body .index-heading h2{
 margin:0;
 font:700 clamp(2.05rem,6vw,3.6rem)/.99 Georgia,"Microsoft JhengHei",serif;
 letter-spacing:-.045em;text-wrap:balance;
}
:lang(zh) .reader-body .index-heading h2{letter-spacing:.02em;line-height:1.12}
.reader-body .index-heading p{margin:.75rem 0 0;display:grid;gap:.12rem;color:#e2dfca;line-height:1.35}
.index-heading p strong{color:#f4d394;font-size:.91rem}
.index-heading p span{font-size:.86rem}
.index-chart{
 position:relative;display:flex;align-items:flex-end;min-height:8.4rem;overflow:hidden;
 border-inline-start:1px dashed #95a494;background:#254957;
}
.index-chart canvas{
 position:absolute;inset:0;width:100%;height:100%;
 object-fit:cover;object-position:50% 70%;image-rendering:pixelated;
}
.index-chart:after{
 content:"";position:absolute;inset:0;pointer-events:none;
 background:linear-gradient(0deg,#0e2735 0%,transparent 52%);
}
.index-route{
 position:relative;z-index:1;margin:.6rem 10% .8rem;width:80%;
 display:flex;justify-content:space-between;align-items:center;color:#e9c98a;
}
.index-route:before{
 content:"";position:absolute;inset-inline:2px;top:50%;height:1px;
 background:repeating-linear-gradient(90deg,currentColor 0 4px,transparent 4px 7px);
 opacity:.72;
}
.index-route i{
 position:relative;width:.46rem;height:.46rem;border:1px solid currentColor;background:#1a3745;
 transform:rotate(45deg);transition:transform .2s,background-color .2s,box-shadow .2s;
}
.harbour-index:has(.index-stops li:nth-child(1) a:is(:hover,:focus-visible,:active)) .index-route i:nth-child(1),
.harbour-index:has(.index-stops li:nth-child(2) a:is(:hover,:focus-visible,:active)) .index-route i:nth-child(2),
.harbour-index:has(.index-stops li:nth-child(3) a:is(:hover,:focus-visible,:active)) .index-route i:nth-child(3),
.harbour-index:has(.index-stops li:nth-child(4) a:is(:hover,:focus-visible,:active)) .index-route i:nth-child(4),
.harbour-index:has(.index-stops li:nth-child(5) a:is(:hover,:focus-visible,:active)) .index-route i:nth-child(5),
.harbour-index:has(.index-stops li:nth-child(6) a:is(:hover,:focus-visible,:active)) .index-route i:nth-child(6){
 background:#ffefb0;box-shadow:0 0 0 3px #e5bb7159,0 0 10px #ffdf97;transform:rotate(45deg) scale(1.34);
}
.index-stops{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.48rem .68rem;
 list-style:none;padding:0;margin:clamp(.85rem,2.7vw,1.2rem) 0;
}
.index-stops li{min-width:0}
.reader-body :is(.index-stops,.index-foot) a{
 display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.6rem;
 min-height:48px;padding:.36rem .65rem;position:relative;
 text-decoration:none;line-height:1.25;color:var(--index-ink);
 background:#fff9e9;border:1px solid var(--index-line);
 border-radius:3px 6px 6px 3px;box-shadow:0 2px #cbb993;
 transition:background-color .18s,box-shadow .18s,border-color .18s,transform .18s;
}
.index-stop-name{font-weight:700}
.catalogue-nav{display:flex;flex-wrap:wrap;gap:.36rem;margin:1rem 0 1.25rem}
.catalogue-nav button{min-height:44px;padding:.32rem .65rem;color:#214b43;background:#f4edd7;border:1px solid #a49e7f;border-radius:4px;font-family:inherit;font-size:.87rem;line-height:1.2;font-weight:650;cursor:pointer}
.catalogue-nav button:focus-visible,.harbour-project-index [data-index-section]:focus-visible{outline:3px solid #187087;outline-offset:2px}
@media(hover:hover){.catalogue-nav button:hover{background:#dfebda;border-color:#277369}}
.catalogue-nav button:active{background:#cbdcc8;transform:translateY(1px)}
.catalogue-section{margin-block:1.25rem}
.harbour-project-index [data-index-section]{scroll-margin-block-start:4rem}
.reader-body .catalogue-section h3{display:flex;align-items:center;gap:.5rem;margin:0;font-size:1.12rem}
.catalogue-section h3 small{margin-inline-start:auto;font:700 .83rem/1.4 ui-monospace,monospace}
.catalogue-section .catalogue-rows{margin:.55rem 0}
.reader-body .catalogue-rows a{grid-template-columns:minmax(0,1fr) auto;overflow-wrap:anywhere}
.harbour-project-index .live-list{margin-top:1.5rem;border-top:2px solid #78998a}
.harbour-project-index .live-list article{padding:clamp(.78rem,2.4vw,1.2rem);margin:.8rem 0;background:#fff9e9;border:1px solid var(--index-line);border-inline-start:4px solid #518176;border-radius:4px 8px 8px 4px}
.harbour-project-index .live-list article header small{font:650 .82rem/1.4 ui-monospace,monospace;color:#4d6959}
.harbour-project-index .live-list article h4{font:700 1.25rem/1.2 Georgia,system-ui,serif;margin:.35rem 0}
@media(max-width:36rem){.harbour-project-index .catalogue-rows{grid-template-columns:1fr}}
.index-stop-arrow{
 display:grid;place-items:center;min-width:1.85rem;align-self:stretch;
 border-inline-start:1px dashed #a69f82;padding-inline-start:.35rem;
 font-weight:750;transition:padding-inline-start .18s,color .18s;
}
.reader-body .index-foot{border-top:1px dashed #ab9d7a;padding-top:.55rem}
.reader-body .index-foot a{
 width:fit-content;max-width:100%;font-size:.89rem;font-weight:650;
 background:transparent;border-color:transparent;box-shadow:none;
}
.reader-body :is(.index-stops,.index-foot) a:focus-visible{
 outline:3px solid #187087;outline-offset:2px;background:#ebeed8;
}
@media(hover:hover){
 .reader-body :is(.index-stops,.index-foot) a:hover{
  background:#e8e9cf;border-color:#5e8672;box-shadow:0 4px #b2ad83;transform:translateY(-2px);
 }
 .harbour-index a:hover .index-stop-arrow{padding-inline-start:.56rem;color:#186c5a}
}
.reader-body :is(.index-stops,.index-foot) a:active{
 transform:translateY(1px);box-shadow:0 1px #7f9378;background:#d2e0c3;
}
.harbour-index a:is(:hover,:focus-visible,:active) .port-stamp{background:#26655a;color:#fff1d1;transform:rotate(-5deg)}
#case[data-reader-index][open]{
 animation:index-arrival .35s cubic-bezier(.18,.81,.29,1) both;
}
#case[data-reader-index][open][data-closing]{
 animation:index-departure .17s ease-in both;
}
.index-chart canvas{animation:index-chart-arrival .55s .03s cubic-bezier(.22,.72,.27,1) backwards}
.index-stops li{animation:index-print .24s calc(.06s + var(--index-order,0)*.035s) ease-out backwards}
.index-stops li:nth-child(2){--index-order:1}
.index-stops li:nth-child(3){--index-order:2}
.index-stops li:nth-child(4){--index-order:3}
.index-stops li:nth-child(5){--index-order:4}
.index-stops li:nth-child(6){--index-order:5}
@keyframes index-arrival{from{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:none}}
@keyframes index-departure{to{opacity:0;transform:translateY(9px) scale(.985)}}
@keyframes index-chart-arrival{from{transform:translateX(-5%) scale(1.13);filter:brightness(.72)}to{transform:none;filter:none}}
@keyframes index-print{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
@media(max-width:500px){
 .index-cover{grid-template-columns:minmax(0,1fr)}
 .index-chart{border-inline-start:0;border-top:1px dashed #95a494;min-height:6.6rem}
 .index-chart canvas{object-position:50% 61%}
 .index-heading{padding:.9rem}
 .index-stops{gap:.44rem}
 .reader-body :is(.index-stops,.index-foot) a{gap:.38rem;padding-inline:.42rem}
 .index-stops .port-stamp{width:1.5rem;height:1.5rem}
 .index-stop-arrow{min-width:1.1rem;padding-inline-start:.18rem}
}
@media(max-width:360px){
 .index-stops{grid-template-columns:1fr}
}
@media(max-height:525px) and (orientation:landscape){
 #case[data-reader-index]{max-height:calc(100dvh - 12px)}
 .index-heading{padding:.55rem .8rem}
 .reader-body .index-heading h2{font-size:clamp(1.65rem,5vw,2.45rem)}
 .index-chart{min-height:5.8rem}
 .index-stops{margin-block:.65rem}
}
@media(prefers-reduced-motion:reduce){
 #case[data-reader-index][open],#case[data-reader-index][open][data-closing],
 .index-chart canvas,.index-stops li{animation:none}
 #case[data-reader-index] [data-exit],.harbour-index :is(a,.index-stop-arrow,.port-stamp,.index-route i){transition:none}
}
.project-plate>.plate-actions{display:flex;flex-wrap:wrap;padding:10px 14px;gap:8px}
.ferry-tour .author-pic{width:clamp(78px,8vw,106px);height:auto;aspect-ratio:5/6;object-fit:cover}
body[data-cartridge=ferry] .boot{pointer-events:none}
body[data-cartridge=ferry] .boot button{pointer-events:auto}
.workflow-preview,.workflow-preview #app{margin:0;min-width:0;min-height:0;background:transparent}
.workflow-preview .harbour-film{margin:0;border-radius:12px}
@media(max-width:540px){
 dialog[data-harbour=true] .manifest-cover{display:grid;grid-template-columns:minmax(0,1fr) 68px;align-items:end}
 .manifest-cover .manifest-heading{display:contents}
 .manifest-cover .manifest-heading>:is(small,h2){grid-column:1/-1;margin:0;padding-inline:14px}
 .manifest-cover .manifest-heading>small{padding-top:14px}
 .manifest-cover .manifest-heading>p,.manifest-cover .manifest-heading>.record-meta{grid-column:1;margin:0;padding:3px 0 3px 14px}
 .manifest-cover .manifest-heading>.record-meta{padding-bottom:14px}
 .manifest-cover .manifest-art{grid-column:2;grid-row:3/span 2;padding:0 8px 9px 0}
 .ferry-tour .author-pic{width:68px}
}
@media(max-width:420px){
 .harbour-top .harbour-brand span{display:none}
 .harbour-top nav{flex:1;justify-content:space-evenly}
 .harbour-top nav a{white-space:nowrap}
}
@media(max-height:480px) and (orientation:landscape){
 .ferry-tour .leaf-profile{padding-top:12px}
 .ferry-tour .leaf-profile .leaf-card{padding-block:10px}
 .ferry-tour .leaf-profile .secondary-play{margin-top:6px}
 .ferry-tour .leaf-profile .author-pic{width:44px}
 .ferry-tour .leaf-profile .tour-actions{margin:4px 0}
 .ferry-tour .leaf-profile h1{font-size:clamp(32px,5vw,44px);margin:.1em 0}
}

.manifest-art>.port-stamp{width:min(76%,94px);height:auto;aspect-ratio:1;display:grid;place-items:center;color:#f4db9e;border:1px double #ab985f;outline:1px dashed #ad985e;outline-offset:4px;border-radius:50%;margin:12px auto}
.manifest-art>.port-stamp svg{width:58%;height:58%}
@media(min-width:700px){body[data-cartridge=ferry] .boot{inset:auto 2vw 3vh auto;width:clamp(225px,22vw,320px);padding:16px;border:1px solid #d5b37f;border-radius:7px;box-shadow:0 9px 25px #13242166}}
@media(max-width:699px){body[data-cartridge=ferry] .boot{inset:auto 8px 12px auto;max-width:calc(100vw - 16px);padding:4px 10px;border-radius:8px;box-shadow:0 4px 18px #13242166}
body[data-cartridge=ferry] .boot>div{display:flex;align-items:center;gap:8px}body[data-cartridge=ferry] .boot :is(strong,.boot-sprite,[data-word]),body[data-cartridge=ferry] .boot>div>i{display:none}body[data-cartridge=ferry] .boot .boot-motif.ferry{display:block;flex:none;width:125px;height:31px}}

.port-view{display:none}
@media(max-width:600px){.ferry-tour .running-title .port-view{display:block;visibility:hidden;box-sizing:border-box;width:80px;height:41px;flex:none;object-fit:cover;image-rendering:pixelated;border:2px solid #355951;box-shadow:2px 2px #b5a680;border-radius:3px}.ferry-tour .running-title .port-view[data-painted=true]{visibility:visible}}

@media(max-width:420px){
 .harbour-top .chapter-select{position:relative;display:grid;place-items:center;width:44px;min-width:44px;min-height:44px}
 .harbour-top .chapter-select::before{content:'Jump';font:700 11px/1.2 var(--mono,monospace)}
 html:lang(zh) .harbour-top .chapter-select::before{content:'章節'}
 html:lang(zh-Hans) .harbour-top .chapter-select::before{content:'章节'}
 .harbour-top .chapter-select select{position:absolute;inset:0;width:100%;min-width:0;opacity:0;cursor:pointer}
 .harbour-top .chapter-select:focus-within{outline:2px solid currentColor;outline-offset:-2px}
}
@media(max-width:360px){
 .harbour-top nav{flex-wrap:wrap;justify-content:space-between}
 .harbour-top nav>a{padding-inline:2px}
}

@media(min-width:620px) and (max-height:480px) and (orientation:landscape){
 .ferry-tour .leaf-profile .leaf-card{width:min(720px,calc(100vw - 56px));max-width:none;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);column-gap:22px;align-items:start}
 .ferry-tour .leaf-profile .running-title{grid-column:1/-1;margin-bottom:6px}
 .ferry-tour .leaf-profile .profile-id{grid-column:1;grid-row:2;margin:0}
 .ferry-tour .leaf-profile h1{grid-column:1;grid-row:3}
 .ferry-tour .leaf-profile .profile-summary{grid-column:1;grid-row:4;margin:2px 0}
 .ferry-tour .leaf-profile .hero-proof{grid-column:2;grid-row:2;margin:2px 0 6px}
 .ferry-tour .leaf-profile .tour-actions{grid-column:2;grid-row:3/5;align-self:start}
 .ferry-tour .leaf-profile .secondary-play{grid-column:1/-1;margin:0}
}

/* A printed boarding stub and an illuminated desktop distinguish the optional journeys. */
.ferry-tour .secondary-play a.boarding-pass {
 display:inline-grid; grid-template-columns:auto 1fr auto; align-items:center; gap:12px;
 min-height:48px; padding:0 0 0 12px; color:#fff0c9; background:#203f40;
 border:1px solid #173536; border-radius:4px 8px 8px 4px; text-decoration:none;
 box-shadow:2px 3px 0 #ae946d; overflow:hidden; transition:transform .18s,box-shadow .18s,background .18s;
}
.boarding-label {display:grid;gap:2px;padding:6px 0;text-align:start}
.boarding-label small {font:700 .65rem/1.1 Consolas,monospace;letter-spacing:.08em;text-transform:uppercase;color:#f4cd86}
.boarding-label strong {font:700 .96rem/1.1 system-ui,sans-serif}
.boarding-stub {align-self:stretch;display:grid;place-items:center;padding-inline:10px;border-inline-start:1px dashed #d9bb84;color:#f6d690}
.boarding-art {position:relative;width:38px;height:30px;overflow:hidden}
.boarding-art i {position:absolute;left:3px;bottom:7px;width:30px;height:5px;background:#e3b277;clip-path:polygon(0 0,100% 0,84% 100%,14% 100%)}
.boarding-art::before {content:"";position:absolute;left:8px;bottom:12px;width:20px;height:6px;border-block:2px solid #d9c38e;background:repeating-linear-gradient(90deg,#678780 0 3px,#e8d09a 3px 5px);box-shadow:1px -3px #41796e}
.boarding-art::after {content:"";position:absolute;inset:auto 1px 3px;height:2px;background:repeating-linear-gradient(90deg,#a7cfc1 0 7px,transparent 7px 12px);animation:harbour-wake 2.4s linear infinite}
@keyframes harbour-wake {to{background-position:-12px 0}}
@media(hover:hover){.ferry-tour .secondary-play .boarding-pass:hover{background:#29534e;transform:translateY(-2px);box-shadow:2px 5px 0 #ae946d}.boarding-pass:hover .boarding-art{animation:boarding-rock 1.1s ease-in-out infinite}}
@keyframes boarding-rock{50%{transform:translate(1px,-2px) rotate(-4deg)}}
.ferry-tour .secondary-play .boarding-pass:focus-visible{outline:3px solid #ce8330;outline-offset:3px}
.ferry-tour .secondary-play .boarding-pass:active{transform:translateY(2px);box-shadow:none}
.career-manifest .role-section{margin-block:1.15rem;padding-block-start:.85rem;border-block-start:1px solid #a7ae92}
.career-manifest .role-section>h3{color:#245649;margin:0 0 .55rem}
.career-manifest .role-duty{margin-block:.8rem;padding-inline-start:.85rem;border-inline-start:2px solid #a6b59b}
.career-manifest .role-duty h4{margin:0 0 .3rem}
@media(prefers-reduced-motion:reduce){.boarding-art::after,.boarding-pass:hover .boarding-art{animation:none}}

/* The route board follows the six actual stops. The signal pennant marks language. */
.harbour-top :is(.chapter-select,.signal-selector){
 position:relative;display:inline-grid;align-items:stretch;isolation:isolate;
 border:1px solid #6c8a82;border-radius:4px;color:#fff2d3;
 background:linear-gradient(176deg,#345852,#173531 70%);
 box-shadow:inset 0 1px #d6e5ca38,0 2px #092621;
 transition:background-color .18s,border-color .18s,box-shadow .18s;
}
.harbour-top nav :is(.chapter-select,.signal-selector) select{
 position:relative;z-index:1;appearance:none;min-width:44px;min-height:44px;margin:0;
 padding:4px 23px 6px 10px;border:0;border-radius:3px;
 color:inherit;background:transparent;font:inherit;font-weight:700;cursor:pointer;
}
.harbour-top nav select option{background:#162b2c;color:#fff3d9}
.harbour-top :is(.chapter-select,.signal-selector)::after{
 content:"";position:absolute;right:9px;top:calc(50% - 4px);
 width:5px;height:5px;border:solid #efd39a;border-width:0 2px 2px 0;
 transform:rotate(45deg);pointer-events:none;
}
.pier-route{
 position:absolute;inset:auto 11px 5px;height:3px;pointer-events:none;
 background:radial-gradient(circle at 1.5px 50%,#cde0ce 1.3px,transparent 1.6px) 0 0 / calc((100% - 3px) / 5) 3px repeat-x;
}
.pier-route::after{
 content:"";position:absolute;left:var(--pier-position,0%);top:0;width:5px;height:3px;
 background:#ffdb8c;box-shadow:0 0 4px #f7c980;transform:translateX(-50%);transition:left .34s cubic-bezier(.22,.75,.24,1);
}
.harbour-top .signal-selector{border-color:#978268;background:linear-gradient(155deg,#4b4030,#292c2a 78%)}
.harbour-top nav .signal-selector select{padding-inline-start:32px}
.signal-pennant{
 position:absolute;left:8px;top:50%;width:17px;height:14px;
 border-left:2px solid #efd39a;transform:translateY(-45%);pointer-events:none;
}
.signal-pennant::before{
 content:"";position:absolute;left:1px;top:0;width:13px;height:9px;
 background:linear-gradient(135deg,#f3d293 0 34%,#b54b39 35% 61%,#f3d293 62%);
 clip-path:polygon(0 0,100% 13%,76% 51%,100% 92%,0 84%);
 transform-origin:left;transition:transform .22s;
}
@media(hover:hover){
 .harbour-top :is(.chapter-select,.signal-selector):hover{border-color:#e4c387;box-shadow:inset 0 1px #ead6ac64,0 0 10px #bdc7a632}
 .signal-selector:hover .signal-pennant::before{animation:hoist-signal .82s ease-in-out infinite alternate}
}
@keyframes hoist-signal{from{transform:skewY(-5deg) scaleX(.92)}to{transform:skewY(6deg) scaleX(1.04)}}
.harbour-top :is(.chapter-select,.signal-selector):focus-within{outline:2px solid #ffe4a7;outline-offset:2px}
.harbour-top :is(.chapter-select,.signal-selector):active{box-shadow:inset 0 2px 3px #051f1e}
@media(max-width:650px){
 .harbour-top nav :is(.chapter-select,.signal-selector) select{padding-inline:6px 15px}
 .harbour-top :is(.chapter-select,.signal-selector)::after{right:5px;width:4px;height:4px}
 .harbour-top .signal-pennant{left:5px;top:auto;bottom:4px;width:17px;height:3px;border:0;transform:none}
 .harbour-top .signal-pennant::before{inset:0;width:100%;height:100%;clip-path:none}
 .pier-route{inset-inline:6px}
}
@media(max-width:420px){
 .harbour-top .chapter-select{box-sizing:border-box;width:44px}
 .harbour-top nav .chapter-select select{position:absolute;inset:-1px;width:calc(100% + 2px);min-width:44px;max-width:none;height:calc(100% + 2px)}
 .harbour-top .chapter-select::after{display:none}
 .harbour-top nav .signal-selector select{padding-inline:3px 11px}
}
@media(prefers-reduced-motion:reduce){
 .pier-route::after,.signal-pennant::before{transition:none}
 .signal-selector:hover .signal-pennant::before{animation:none}
}
@media(forced-colors:active){
 .harbour-top nav :is(.chapter-select,.signal-selector) select{appearance:auto;color:ButtonText}
 .harbour-top :is(.chapter-select,.signal-selector)::after,.pier-route,.signal-pennant{display:none}
}

.ferry-tour{--stage-h:calc(100svh - var(--harbour-bar,56px))}
.ferry-tour .world-frame{top:var(--harbour-bar,56px)}
.ferry-tour .film-label{text-transform:uppercase}
.ferry-tour .credentials-list .ticket-ink small{display:block;color:#305d50}
.ferry-tour [data-art-record="studying"] .ticket-ink small{color:#704726}
.ferry-tour .leaf [data-art-record]{scroll-margin-block:calc(var(--harbour-bar,56px) + 8px) 16px}
@media(max-width:600px) and (orientation:portrait){
 .ferry-tour .world-frame canvas{width:100%;height:100%;object-fit:fill}
 .ferry-tour .world-shade{background:linear-gradient(0deg,#10243255,transparent 75%)}
 .ferry-tour .leaf-profile{padding-top:clamp(138px,42vw,215px)}
}
@media(max-width:520px){
 .harbour-top{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start}
 .harbour-top .maker{align-self:start;min-height:44px}
 .harbour-top nav{min-width:0;flex-wrap:wrap;justify-content:flex-end;align-content:start;row-gap:3px}
 .harbour-top nav>a{min-height:44px;max-width:100%}
 .harbour-top nav .chapter-select,.harbour-top nav .signal-selector{min-height:44px}
 .harbour-top nav .chapter-select{width:max(44px,3em)}
}
@media(max-width:360px){
 .harbour-top{display:block}
 .harbour-top .harbour-brand{position:absolute;inset-inline-start:5px;top:5px;z-index:1}
 .harbour-top nav{display:flex;justify-content:space-between}
 .harbour-top nav::before{content:"";width:var(--brand-space,46px);align-self:stretch;flex:none}
}

/* Brass binding and a folded harbour chart, echoing the route inside the index. */
.harbour-top nav .index-ticket {
  --paper: #ffe6af; --ink: #173b39;
  box-sizing: border-box; position: relative; display: inline-flex; align-items: center;
  gap: .56em; min-height: 44px; padding: 0 .8em;
  font-weight: 750; line-height: 1.15; white-space: nowrap; color: var(--paper); text-decoration: none;
  border: 1px solid #ab986d; border-radius: 3px 7px 7px 3px;
  background: linear-gradient(110deg,#2d4945,#20322f 60%);
  box-shadow: inset 3px 0 #d6b777, inset 0 1px #ffffff18, 0 2px #0c201f;
  transition: border-color 180ms, box-shadow 120ms;
}
.ticket-fold {perspective: 52px; display: block; position: relative; width: 1.45em; height: 1.3em; flex: none;}
.ticket-fold i,.ticket-fold b {
  position: absolute; inset: 2px 0 0 3px; border: 1px solid #eed297; border-radius: 1px;
  background: #a39770; transform: rotate(5deg); transform-origin: left center;
  transition: transform 260ms cubic-bezier(.19,.75,.27,1);
}
.ticket-fold b {inset: 0 2px 2px 0; background: var(--paper); transform: rotate(-4deg);}
.ticket-fold b::before {content:""; position:absolute; inset:22% 14% 17%; background:var(--ink);
  clip-path: polygon(0 82%,28% 82%,28% 46%,61% 46%,61% 10%,100% 10%,100% 26%,74% 26%,74% 62%,41% 62%,41% 98%,0 98%);}
.ticket-fold b::after {content:""; position:absolute; inset:25% 20% auto auto; width:3px; height:3px; background:#ae581e; opacity:0; transition:opacity 140ms;}
.harbour-top nav .index-ticket:focus-visible {outline: 2px solid #fff1c7; outline-offset: 2px;}
@media (hover:hover) and (pointer:fine) {
  .harbour-top nav .index-ticket:hover {border-color:#ffe1a0;box-shadow:inset 3px 0 #f7d190,inset 0 0 14px #c8ae7730,0 2px #0c201f;}
  .index-ticket:hover .ticket-fold b {transform:rotate(-9deg) rotateY(-32deg) translateX(-1px);}
  .index-ticket:hover .ticket-fold i {transform:rotate(11deg) translateX(1px);}
  .index-ticket:hover .ticket-fold b::after {opacity:1;transition-delay:180ms;}
}
.index-ticket:focus-visible .ticket-fold b {transform:rotate(-9deg) rotateY(-26deg);}
.harbour-top nav .index-ticket:active {background:#152d29;box-shadow:inset 3px 0 #c8a971,inset 0 2px 3px #061a17;}
.index-ticket:active .ticket-fold b,.index-ticket[aria-expanded="true"] .ticket-fold b {transform:rotate(0deg) translateY(1px);}
@media (max-width:520px) {.harbour-top nav .index-ticket {gap:.34em;padding-inline:.55em;}}
@media (max-width:370px) {.harbour-top nav .index-ticket {gap:.24em;padding-inline:.4em;} .ticket-fold {width:1.2em;}}
@media (prefers-reduced-motion:reduce) {.harbour-top nav .index-ticket,.ticket-fold :is(b,i),.ticket-fold b::after {transition:none;}}
@media (forced-colors:active) {.ticket-fold b::before {background:ButtonText;forced-color-adjust:none;} .ticket-fold b {background:ButtonFace;}}

/* A paper ticket and its enamel collection tray on the harbour counter. */
.harbour-top nav .pdf-ticket {
  --pdf-ink: #263b35;
  display: inline-flex; align-items: center; justify-content: center; gap: .48em;
  min-height: 44px; min-width: 44px; max-width: none; padding: 0 .7em;
  border: 1px solid #d1b785; border-radius: 6px 3px 3px 6px;
  color: var(--pdf-ink); background: linear-gradient(180deg,#f5e2b1,#e3c990);
  box-shadow: inset 0 1px #fff1d0, inset 0 -2px #b79a69, 0 2px #0c201f;
  line-height: 1.15; font-weight: 750; white-space: nowrap; text-decoration: none;
  transition: box-shadow 140ms, border-color 140ms;
}
.pdf-ticket .pdf-dispenser {
  position: relative; flex: none; width: 20px; height: 22px; overflow: hidden;
}
.pdf-dispenser::before,.pdf-dispenser::after {
  content: ""; position: absolute; left: 1px; right: 1px;
}
.pdf-dispenser::before {
  top: 1px; height: 4px; border-radius: 2px; background: #203e36;
  box-shadow: inset 0 1px #617563;
}
.pdf-dispenser::after {
  bottom: 1px; height: 4px; border: 2px solid #25483f; border-top: 0;
  border-radius: 0 0 3px 3px;
}
.pdf-ticket .pdf-slip {
  position: absolute; left: 5px; top: 3px; width: 10px; height: 13px;
  background: #fffae4; box-shadow: inset 0 0 0 1px #776b51;
  transition: transform 200ms cubic-bezier(.2,.78,.27,1);
}
.pdf-slip::after {
  content: ""; position: absolute; inset: 3px 2px 2px; background: #235446;
  clip-path: polygon(36% 0,64% 0,64% 46%,100% 46%,50% 100%,0 46%,36% 46%);
}
.pdf-ticket .pdf-label {border-inline-start: 1px dashed #9b815a; padding-inline-start: .52em;}
.pdf-ticket .pdf-format {font: 700 .9em/1 var(--mono,monospace); letter-spacing: .025em;}
@media (hover:hover) and (pointer:fine) {
  .harbour-top nav .pdf-ticket:hover {color: #142e26; border-color: #fff0c2; box-shadow: inset 0 1px #fff6da, inset 0 -2px #b79a69, 0 0 9px #d2b57e38;}
  .pdf-ticket:hover .pdf-slip {transform: translateY(2px);}
}
.harbour-top nav .pdf-ticket:focus-visible {outline: 2px solid #fff0c5; outline-offset: 2px;}
.pdf-ticket:focus-visible .pdf-slip {transform: translateY(2px);}
.harbour-top nav .pdf-ticket:active {box-shadow: inset 0 2px 3px #a78a56; border-color: #c8aa75;}
.pdf-ticket:active .pdf-slip {transform: translateY(4px); transition-duration: 70ms;}
@media (max-width:650px) {
  .harbour-top nav .pdf-ticket {padding-inline: .4em; gap: .32em;}
  .pdf-ticket .pdf-label {padding-inline-start: .38em;}
}
@media (max-width:370px) {
  .harbour-top nav .pdf-ticket {padding-inline: 3px; gap: 2px;}
  .pdf-ticket .pdf-label {border: 0; padding: 0;}
}
@media (prefers-reduced-motion:reduce) {
  .harbour-top nav .pdf-ticket,.pdf-ticket .pdf-slip {transition:none;}
  .harbour-top .pdf-ticket .pdf-slip {transform:none;}
}
@media (forced-colors:active) {
  .pdf-dispenser::before,.pdf-slip::after {background:ButtonText;forced-color-adjust:none;}
  .pdf-ticket .pdf-slip {border:1px solid ButtonText;background:ButtonFace;}
}


.access-page{margin:0;min-height:100svh;box-sizing:border-box;display:grid;place-items:center;padding:12px;background:#102a30}
.demo-pass{--pass-ink:#173c38;--pass-rule:#b3a584;--pass-paper:#fff5dc;--pass-action:#195f54;--pass-radius:9px;box-sizing:border-box;width:min(27rem,calc(100% - 24px));max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain;padding:0;border:1px solid var(--pass-rule);border-radius:var(--pass-radius);background:var(--pass-paper);color:var(--pass-ink);box-shadow:0 14px 50px #071f2766;font:400 1rem/1.45 system-ui,sans-serif;text-align:start;color-scheme:light}
dialog.demo-pass{position:fixed;inset:0;margin:auto}
.demo-pass::backdrop{background:rgb(9 27 34 / .62);backdrop-filter:blur(3px)}
.demo-pass .access-head{position:static;display:flex;justify-content:space-between;align-items:start;gap:1rem;padding:1.1rem 1.25rem;background:#173f3d;color:#fff4d6;border:0;border-bottom:2px solid #c49b63}
.access-head p{margin:0 0 .35rem;color:#f1d69f;font:650 .83rem/1.25 ui-monospace,monospace;letter-spacing:.035em}
.demo-pass .access-head h2{margin:0;color:inherit;font:700 clamp(1.35rem,4vw,1.85rem)/1.13 Georgia,system-ui,serif;overflow-wrap:anywhere}
.demo-pass [data-access-close]{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:1px solid #b8c5b3;border-radius:50%;background:transparent;color:inherit;font:400 1.45rem/1 system-ui;cursor:pointer}
.access-accounts{padding:0 1.25rem}
.access-account{padding:.85rem 0;border-bottom:1px dashed var(--pass-rule)}
.access-account h3{margin:0 0 .35rem;color:inherit;font:700 1rem/1.4 system-ui,sans-serif}
.access-account dl,.access-account dd{margin:0}
.access-account dl>div{display:grid;grid-template-columns:minmax(4.8rem,auto) 1fr;gap:.75rem;align-items:baseline;padding:.16rem 0}
.access-account dt{font-size:.88rem}
.access-account code{font:650 .98rem/1.5 ui-monospace,Consolas,monospace;overflow-wrap:anywhere;user-select:all}
.demo-pass .access-foot{position:static;display:flex;align-items:center;gap:.7rem;flex-wrap:wrap;padding:.9rem 1.25rem 1.1rem;margin:0;border:0;background:transparent}
.demo-pass .access-foot a{display:inline-flex;align-items:center;min-height:44px;color:inherit;font:650 .94rem/1.35 system-ui,sans-serif}
.demo-pass .access-foot a:first-child{box-sizing:border-box;padding:.55rem .9rem;color:white;background:var(--pass-action);border-radius:5px;text-decoration:none}
.demo-pass :is(a,button):focus-visible{outline:3px solid #e79a31;outline-offset:2px}
@media(hover:hover){.demo-pass .access-foot a:first-child:hover{background:#12473f}.demo-pass [data-access-close]:hover{background:#ffffff20}}
.demo-pass :is(a,button):active{transform:translateY(1px)}
@media(prefers-reduced-motion:no-preference){dialog.demo-pass[open]{animation:demo-pass-in .2s cubic-bezier(.16,.75,.25,1)}@keyframes demo-pass-in{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:none}}}
