/* Captain's Chart uses the same navigation; Previous preserves the earlier collection. */
body[data-page=chart][data-chart-layout=new] .phone-shell{background:#170e08}
body[data-page=chart][data-chart-layout=new] .app-header{background:#150f09;padding-bottom:12px}
.chart-page{color:#f2e4c9}
.chart-layout-picker{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 18px;border-block:1px solid #654b2c66;background:#130d08;color:#bda785;font-size:11px}
.chart-layout-picker>div{display:flex;gap:3px;padding:3px;border:1px solid #705433;border-radius:24px}
.chart-layout-picker button{min-height:36px;padding:6px 15px;border:1px solid transparent;border-radius:20px;background:none;color:#c5b08d;font:12px Georgia,serif}
.chart-layout-picker button[aria-pressed=true]{background:linear-gradient(130deg,#6f502b,#3d2b17);border-color:#aa8347;color:#f8dfaa}
.chart-feedback{font:12px/1.5 Georgia,serif;color:#dbc39b;padding:0 18px}.chart-feedback:empty{display:none}
.chart-hero{position:relative;min-height:265px;background:linear-gradient(0deg,#170e08,transparent 25%),linear-gradient(90deg,transparent 30%,#120c0640 60%),url('/assets/images/a1c69dde62581dac/captains-desk.png') left center/cover no-repeat}
.chart-back{display:inline-flex;align-items:center;min-height:44px;margin:0 18px;color:#e7cc97;font-size:14px;text-shadow:0 1px 5px #000}
.chart-hero-copy{position:relative;margin-left:43%;padding:20px 13px 65px 0;text-shadow:0 2px 8px #000}
.chart-eyebrow{font:9px/1.6 system-ui,sans-serif;letter-spacing:.2em;color:#e5b969;margin:0 0 12px}
.chart-hero h1{font:400 clamp(29px,8cqw,40px)/1.08 Georgia,serif;letter-spacing:-.045em;margin:0 0 11px}
.chart-hero-copy>p:last-child{font:15px/1.5 Georgia,serif;margin:0;color:#f2e5cc}
.chart-main{padding:0 17px 14px;background:url('/assets/images/ae3eecc3329110b3/waymark-surface-grain.svg'),linear-gradient(#170e08,#23140b 45%,#100b07)}
.chart-begin{position:relative;text-align:center;padding:23px 15px 24px;border:4px ridge #b88a43;border-radius:9px;background:url('/assets/images/ae3eecc3329110b3/waymark-surface-grain.svg'),radial-gradient(ellipse at 50% 30%,#f7e8cb,#e9d0a4 75%,#c69c5d);color:#382615;box-shadow:0 5px 12px #0008,inset 0 0 28px #85552635;isolation:isolate}
.chart-begin::after{content:'';position:absolute;inset:6px;border:1px solid #a7804655;z-index:-1;pointer-events:none}
.chart-paper-pin{position:absolute;width:9px;height:9px;border-radius:50%;border:1px solid #735024;background:radial-gradient(circle at 35% 25%,#f9db93,#ad7832 60%,#4e3017);box-shadow:1px 2px 2px #59381c80}.pin-a{top:5px;left:5px}.pin-b{top:5px;right:5px}.pin-c{bottom:5px;left:5px}.pin-d{bottom:5px;right:5px}
.chart-begin>svg{width:37px;height:37px;color:#b58542;stroke-width:1.1;margin-bottom:8px}
.chart-begin h2{font:400 30px/1.15 Georgia,serif;letter-spacing:-.035em;margin:0 0 10px;color:#2b1b0b}
.chart-begin>p{font:16px/1.5 Georgia,serif;margin:0;color:#62492d}
.chart-starting-points{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin:19px 0 9px}
.chart-starting-points button{display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #b89561;border-radius:25px;background:#d8b77f2e;color:#382615;font-size:13px;padding:7px 12px;min-height:42px}
.chart-starting-points svg{width:17px;height:17px}
.chart-starting-points button[aria-pressed=true]{background:#55391e;color:#fae8bc;border-color:#5d3b16;box-shadow:0 2px 4px #6d482438}
.chart-starting-points button:focus-visible{outline-color:#5f3b18}
.chart-begin .chart-prompt{font-size:11px;min-height:34px;color:#715534;margin:5px 0 12px}
.chart-create{display:inline-flex;justify-content:center;align-items:center;gap:15px;border:1px solid #ba8c3d;border-radius:11px;padding:12px 24px;min-height:51px;background:linear-gradient(115deg,#f6d88e,#d2a14f 80%,#e1b665);color:#2d1c08;font:600 20px Georgia,serif;box-shadow:inset 0 1px #fff8,0 3px 8px #72471e50}
.chart-create svg{width:23px;height:23px}
.chart-companion{margin:21px 0 0;padding:0 13px;border:1px solid #97703d;border-radius:10px;background:url('/assets/images/ae3eecc3329110b3/waymark-surface-grain.svg'),linear-gradient(125deg,#3b2619,#1d130d);box-shadow:inset 0 1px #f6cf8b18}
.chart-companion summary{display:flex;align-items:center;gap:10px;list-style:none;cursor:pointer;padding:16px 0}
.chart-companion summary::-webkit-details-marker{display:none}
.chart-companion summary>svg{width:30px;height:30px;color:#d6ad65}
.chart-companion summary>span:first-of-type{font-size:19px;line-height:1.2;flex:1}
.chart-companion small{display:block;font-size:12px;color:#b9a17d;margin-top:5px}
.chart-coming{font:8px/1.4 system-ui,sans-serif;letter-spacing:.1em;text-transform:uppercase;border:1px solid #96713d;border-radius:20px;padding:6px 8px;color:#dfc18e;background:#5b3a1970;white-space:nowrap}
.chart-companion>div{border-top:1px solid #795b33;padding:8px 0 12px;font:14px/1.6 Georgia,serif;color:#d9c5a3}
.chart-companion ul{padding-left:20px}.chart-companion-note{font-size:12px;color:#ba9f78}
.chart-local{display:flex;align-items:center;justify-content:center;gap:7px;color:#ab9474;font-size:11px;margin:21px 0 0}.chart-local svg{width:14px;height:14px}
.chart-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:29px 0 14px}.chart-section-heading h2{font-size:27px;font-weight:400;margin:0}.chart-section-heading span{font-size:11px;color:#c3a77e}
.chart-course-grid{display:grid;gap:13px}.chart-course{padding:18px;border:1px solid #9c7641;border-radius:10px;background:linear-gradient(120deg,#39271a,#19110c);overflow-wrap:anywhere;min-width:0;box-shadow:0 3px 9px #0004}
.chart-course-top{display:flex;justify-content:space-between;gap:8px;font:10px/1.5 system-ui,sans-serif;color:#d5b47a}.chart-course-state{color:#c6c2a2}.chart-course h3{font-size:24px;font-weight:400;line-height:1.25;margin:12px 0 8px}.chart-course>p{font:14px/1.6 Georgia,serif;color:#c8b495;margin:0 0 12px}.chart-next{padding:11px 0;border-top:1px solid #70533166}.chart-next>span{font:9px system-ui,sans-serif;text-transform:uppercase;letter-spacing:.13em;color:#d0aa6e}.chart-next>p{font:16px/1.4 Georgia,serif;color:#f0dcbc;margin:6px 0}.chart-checkin{display:flex;gap:7px;align-items:center}.chart-checkin svg{width:16px;height:16px}
.chart-course-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}.chart-course-actions button{border:1px solid #93713e;border-radius:6px;background:#20170f;color:#e7c993;font-size:12px;padding:8px 10px}
#chart-course-dialog{width:min(520px,calc(100vw - 24px));max-height:88dvh;overflow:auto;padding:26px 20px;background:#21170f;color:#f2ddba}
#chart-course-form>label,.chart-form-pair label{display:block;font-size:14px;margin:17px 0 7px;color:#e5c99b}
#chart-course-form label span{color:#ae9675;font-size:11px}
#chart-course-form input:not([type=checkbox]):not([type=hidden]),#chart-course-form textarea,#chart-course-form select{width:100%;min-width:0;border:1px solid #917042;border-radius:6px;background:#140f0b;color:#f4e3c7;min-height:44px;padding:10px;font:16px/1.5 Georgia,serif}
#chart-course-form textarea{resize:vertical;background:#edd8b0;color:#3d2917}#chart-course-form textarea::placeholder{color:#846748}
.chart-form-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.chart-form-pair>div{min-width:0}
#chart-course-form .chart-complete-choice{display:flex;align-items:center;gap:9px;min-height:44px}.chart-complete-choice input{width:18px;height:18px;accent-color:#b18b4e}
#chart-course-form .primary{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;margin-top:16px;min-height:48px;background:linear-gradient(120deg,#eaca88,#bc8d44);color:#29190c;border:1px solid #e5bf78}
#chart-course-form .chart-form-help{font:11px/1.5 Georgia,serif;color:#ad9676;margin-top:12px}
#chart-form-status{font:13px/1.5 Georgia,serif;color:#efbe95}
@media(max-width:350px){.chart-main{padding-inline:12px}.chart-begin{padding-inline:10px}.chart-starting-points button{font-size:12px;padding-inline:9px}.chart-companion{padding-inline:10px}.chart-companion summary{gap:7px}.chart-companion summary>span:first-of-type{font-size:16px}.chart-coming{font-size:7px;padding-inline:6px}.chart-form-pair{grid-template-columns:1fr}.chart-hero-copy{margin-left:40%;padding-right:10px}.chart-hero h1{font-size:28px}.chart-hero-copy>p:last-child{font-size:13px}}
@container phone (min-width:1000px){body[data-page=chart][data-chart-layout=new] .phone-shell{max-width:1060px}body[data-page=chart][data-chart-layout=new] .app-header{padding:22px 38px 16px}body[data-page=chart][data-chart-layout=new] .bottom-nav{width:min(100%,1060px)}.chart-page[data-chart-layout=new] .chart-layout-picker{padding-inline:38px}.chart-hero{min-height:480px;background-position:center top}.chart-back{margin-left:38px;font-size:17px}.chart-hero-copy{margin-left:45%;padding:60px 40px 90px 0}.chart-hero h1{font-size:60px}.chart-hero-copy>p:last-child{font-size:23px}.chart-eyebrow{font-size:12px}.chart-main{padding-inline:42px}.chart-begin{padding:31px 25px}.chart-begin h2{font-size:42px}.chart-begin>p{font-size:20px}.chart-starting-points button{font-size:16px;padding-inline:20px}.chart-begin .chart-prompt{font-size:13px;min-height:20px}.chart-create{min-width:280px;font-size:23px}.chart-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chart-companion{padding-inline:24px}.chart-companion summary>span:first-of-type{font-size:24px}.chart-coming{font-size:10px}.chart-local{font-size:13px}}
