/* Copyright 2014 The DM Sans Project Authors (https://github.com/googlefonts/dm-fonts)

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
https://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded, 
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
 */
/* Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow)

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded, 
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
 */
@font-face{font-family:Barlow Condensed;src:url(/_a/barlow-condensed-bold.c1ca980e47.woff2) format("woff2");font-display:swap;font-weight:700}
@font-face{font-family:Barlow Condensed;src:url(/_a/barlow-condensed-extrabold.07b511c5d7.woff2) format("woff2");font-display:swap;font-weight:800}
@font-face{font-family:DM Sans;src:url(/_a/dm-sans.b0cd56b8a0.woff2) format("woff2");font-display:swap;font-weight:100 1000}
:root{--display:"Barlow Condensed","Arial Narrow",sans-serif;--text:"DM Sans",Arial,sans-serif;--ink:#17251f;--sub:#536159;--line:#d6dbd2;--orange:#ff783e;--paper:#f5f6f1;--green:#294c3a;color:var(--ink);font-family:var(--text);font-size:16px;background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}
body{margin:0;min-width:0}
[hidden]{display:none!important}
button,input,textarea,select{font:inherit;color:inherit}
button{cursor:pointer}
button:disabled{opacity:.37;cursor:default}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #b14c12;outline-offset:3px}
button{border:0;background:none}
button,i,svg{flex-shrink:0}
a{color:inherit}
h1,h2,h3,h4,p{margin:0}
.ico{width:19px;height:19px;display:inline-block;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.skip{position:fixed;left:8px;top:-100px;z-index:9;padding:12px;background:white}
.skip:focus{top:8px}
.masthead{background:var(--ink);color:white}
.mastinner,.page{width:min(1460px,100%);margin:auto;padding-left:clamp(20px,3.7vw,66px);padding-right:clamp(20px,3.7vw,66px)}
.mastinner{display:flex;align-items:stretch;min-height:64px}
.brand{align-self:center;display:inline-flex;gap:10px;align-items:center;text-decoration:none;font-family:var(--display);font-size:2.05rem;font-weight:800;letter-spacing:-.035em;line-height:1}
.mastinner nav{border-left:1px solid #435149;display:flex;margin-left:36px;padding-left:24px;gap:3px}
.mastinner nav button{display:flex;align-items:center;gap:9px;padding:0 16px;color:#ccd2cd;position:relative;font-size:.91rem;font-weight:600;white-space:nowrap}
.mastinner nav button[aria-current]{color:#fff;background:#1e2c26}
.mastinner nav button[aria-current]::after{content:"";position:absolute;bottom:0;left:14px;right:14px;height:3px;border-radius:3px 3px 0 0;background:var(--orange)}
.mastinner nav button:hover{background:#ffffff0e}
.save-status{display:flex;align-items:center;gap:8px;margin-left:auto;align-self:center;font-size:.81rem;color:#d7dfd7}
.save-status svg{color:#b8d6a4;width:18px}
.save-status.warning{color:#ffd4b1}
.heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:36px 0 27px}
.heading h1{font:800 clamp(2.45rem,3.45vw,3.5rem)/1.03 var(--display);letter-spacing:-.023em}
.heading h1 span{color:#d8652c}
.heading p{font-size:1rem;color:var(--sub);margin-top:9px;line-height:1.45}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:39px;padding:8px 14px;background:#fff;border:1px solid var(--line);border-radius:6px;font-weight:650;font-size:.88rem;line-height:1.3}
.btn:hover:not(:disabled),.icon-button:hover:not(:disabled),.nudge button:hover{background:#f1f3ec}
.btn.primary{background:var(--orange);border-color:var(--orange);color:#1c261f;box-shadow:0 2px 0 #bd5925;min-height:44px;padding:10px 18px;font-size:.94rem}
.btn.primary:hover{background:#ff894f}
.btn.green{background:var(--green);color:white;border-color:var(--green)}
.btn.green:hover{background:#1f402e}
#mobile-playbar{display:none}
.workspace{display:grid;grid-template-columns:clamp(230px,21.1vw,295px) minmax(0,1fr);gap:22px;align-items:start}
.sidebar,.studio{display:grid;gap:16px;min-width:0}
.panel{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;box-shadow:0 2px 4px #273c2525,0 1px 0 #fff inset;box-shadow:0 2px 4px #273c2505}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
.section-heading h2{font:700 1.55rem/1.15 var(--display);letter-spacing:-.015em;display:flex;align-items:center;gap:10px}
.section-heading>.ico{color:#6a776e}
.book-panel,.library{padding:18px}
.count{background:#eef1ea;color:#415145;border-radius:5px;padding:3px 7px;font-size:.77rem;font-weight:650;white-space:nowrap}
.play-list{margin:17px -3px 13px;display:grid;gap:7px;max-height:340px;overflow-y:auto;padding:3px}
.play-card{position:relative;border:1px solid #dce2d9;border-radius:7px;background:#fbfcfa;overflow:hidden}
.play-card.current{border-color:#d97639;background:#fff6eb;box-shadow:inset 3px 0 #f27b3b}
.play-choice{display:flex;align-items:center;text-align:left;gap:10px;width:100%;min-height:68px;padding:8px 9px}
.play-choice:hover{background:#e8eee44d}
.play-choice:focus-visible{outline-offset:-3px}
.play-thumb{width:61px;aspect-ratio:1.48;display:grid;overflow:hidden;background:#304a3c;border-radius:4px}
.play-thumb svg{width:100%;height:100%;object-fit:cover}
.play-copy{display:grid;gap:2px;min-width:0}
.play-copy small,.board-meta,.library-label{font-size:.71rem;letter-spacing:.095em;font-weight:750;line-height:1.4}
.play-copy small{color:#8c4a26}
.play-copy strong{font-size:.94rem;font-weight:700;overflow-wrap:anywhere;line-height:1.25}
.order-actions{display:flex;align-items:center;gap:2px;padding:2px 8px 5px;justify-content:flex-end;border-top:1px solid #bac4b43b}
.order-actions button{min-width:32px;min-height:30px}
.order-actions button:hover:not(:disabled){background:#eccaae57}
.order-actions .ico{width:15px;height:15px}
.order-actions button:first-child{margin-right:auto}
.book-actions{display:grid;grid-template-columns:1fr 1.05fr;gap:6px}
.book-actions .btn{padding:7px 4px;font-size:.84rem}
.book-actions .ico{width:16px;height:16px}
.book-actions .add-btn{background:#edf1e9;border-color:#d9e0d3}
.book-files{margin-top:12px;border-top:1px solid var(--line);padding-top:9px}
.book-files summary{cursor:pointer;font-size:.8rem;font-weight:650}
.book-files p{margin:8px 0;color:var(--sub);font-size:.78rem;line-height:1.45}
.library{padding-bottom:8px}
.library>p{color:var(--sub);font-size:.82rem;line-height:1.4;margin:6px 0 12px}
.library-option{display:flex;text-align:left;align-items:center;gap:10px;width:100%;border-top:1px solid #e2e6df;padding:13px 0}
.library-option:hover{background:#f3f5ef}
.glyph{width:45px;height:38px;color:#345744;background:#f0f3ec;border:1px solid #dce3d7;border-radius:5px;display:grid;place-items:center;flex-shrink:0}
.glyph svg{width:40px;height:32px}
.lib-title{display:grid;min-width:0;gap:1px}
.lib-title strong{font-size:.89rem;line-height:1.35}
.lib-title small{font-size:.77rem;color:var(--sub)}
.library-option>.ico{margin-left:auto;width:15px;color:#68796b}
.sheet-shortcut{padding:15px 16px;text-align:left;display:flex;align-items:center;gap:12px;color:white;background:#2b4536;border-radius:8px;border:1px solid #2d4335}
.sheet-shortcut:hover{background:#355540}
.sheet-shortcut strong,.sheet-shortcut small{display:block}
.sheet-shortcut strong{font:700 1.2rem/1.2 var(--display)}
.sheet-shortcut small{color:#d5e3d5;font-size:.77rem;margin-top:2px}
.sheet-shortcut>.ico{width:15px;margin-left:auto}
.sheet-glyph{display:grid;place-items:center;width:34px;height:36px;border:1px solid #54715a;border-radius:4px;color:#c5d9b3}
.board-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 22px 16px}
.board-title{min-width:0}
.board-meta{display:flex;align-items:center;gap:8px;color:#5b6d5e;font-size:.69rem}
.board-meta span:first-child{color:#a24619}
.board-meta b{color:#a6b09e;font-weight:400}
.title-line{display:flex;align-items:center;gap:8px;margin-top:3px}
.title-line h2{font:700 clamp(1.55rem,2.15vw,2.1rem)/1.08 var(--display);letter-spacing:-.012em;overflow-wrap:anywhere}
.edit-title{color:#6e7a70}
.edit-title .ico{width:15px;height:15px}
.icon-button{width:32px;height:32px;display:inline-grid;place-items:center;border-radius:5px}
.mode-switch{display:inline-flex;align-items:center;background:#f0f2ec;border:1px solid #dce1d7;padding:3px;border-radius:7px;flex-shrink:0}
.mode-switch button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid transparent;border-radius:4px;font-size:.85rem;font-weight:630;padding:7px 10px;min-height:34px}
.mode-switch button .ico{width:16px;height:16px}
.mode-switch button[aria-pressed="true"]{background:white;color:#1b3022;box-shadow:0 1px 3px #1b352026;border-color:#c8d1c4}
.mode-switch button:hover{color:#075526}
.field-wrap{padding:0 16px}
#field{background:#304b3c;border-radius:6px;overflow:hidden;position:relative;isolation:isolate;line-height:0}
#field>svg{display:block;width:100%;height:auto}
.field-caption{margin:0 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:45px}
.legend{display:flex;gap:18px;align-items:center}
.legend>span{display:flex;gap:7px;align-items:center;font-size:.76rem;color:#56625a}
.route-key,.line-key{width:21px;position:relative;height:0;border-top:2px solid #bb5928}
.route-key:after{position:absolute;content:"";width:5px;height:5px;border-top:2px solid #bb5928;border-right:2px solid #bb5928;right:0;top:-4px;transform:rotate(45deg)}
.line-key{border-top:2px dashed #aa8437}
.text-btn{display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:.8rem;padding:6px 0;line-height:1.3}
.text-btn:hover{text-decoration:underline;text-underline-offset:3px}
.text-btn .ico{width:15px;height:15px}
.toolstrip{border-top:1px solid #e1e5dd;display:flex;align-items:center;gap:8px;padding:11px 18px}
.player-label{font-size:.83rem;font-weight:650}
select,input,textarea{background:white;border:1px solid #cbd3c7;border-radius:5px;font-size:1rem;min-width:0}
select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='m3 3 4 4 4-4' fill='none' stroke='%23374e40' stroke-width='1.6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 9px center;padding:5px 28px 5px 10px;height:34px;font-size:.82rem}
.nudge{display:flex;border:1px solid #d4dcd0;border-radius:4px;overflow:hidden}
.nudge button{display:grid;place-items:center;min-width:30px;height:31px;padding:4px;background:#fbfcf9}
.nudge button+button{border-left:1px solid #e0e5dd}
.nudge .ico{width:14px;height:14px}
.toolbar-spacer{flex:1}
.undo .ico{width:16px;height:16px}
.route-tools{display:flex;gap:9px;align-items:center;flex-wrap:wrap;padding:0 18px 12px}
.field-hint{display:flex;align-items:center;gap:8px;padding:10px 18px;background:#f3f6ef;border-top:1px solid #e1e7da;color:#465b49;font-size:.81rem;line-height:1.4;min-height:40px}
.field-hint .ico{width:16px;height:16px}
.details-panel{padding:17px 21px 20px}
.details-panel h2 .ico{height:20px;width:20px;color:#4e6952}
.formation-tag{font-size:.76rem;background:#f1f4ee;color:#4a5b4d;border:1px solid #dce3d8;border-radius:4px;padding:3px 8px}
.details-grid{display:grid;grid-template-columns:1fr 1.65fr;gap:17px;margin-top:14px}
.details-grid label{display:grid;align-content:start;gap:6px;font-size:.82rem;font-weight:650}
.details-grid input,.details-grid textarea{width:100%;padding:10px 12px;line-height:1.4;font-weight:450;font-size:.92rem}
textarea{resize:vertical}
.howto{margin:22px 0;color:#4e5f51}
.howto details{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0}
summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;font-weight:620;list-style:none;font-size:.88rem}
summary::-webkit-details-marker{display:none}
summary .ico{height:15px;transform:rotate(90deg)}
details[open]>summary .ico{transform:rotate(-90deg)}
.howto p{max-width:80ch;line-height:1.6;margin-top:10px}
.foot{display:flex;gap:12px;align-items:center;color:var(--sub);padding-bottom:24px;font-size:.77rem}
.foot span:first-child{display:flex;align-items:center;gap:6px;font:700 1.15rem var(--display);color:#3a4b3d}
dialog{width:min(430px,calc(100% - 26px));border:1px solid #cbd6c8;border-radius:12px;padding:22px;background:#fff;color:var(--ink);box-shadow:0 14px 70px #132c1d44}
dialog::backdrop{background:#111e19a6}
.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.dialog-head h2{font:700 1.8rem var(--display)}
#dialog-body p{font-size:.94rem;line-height:1.5;color:var(--sub);margin-bottom:13px}
.dialog-action{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:9px;margin-top:16px}
#dialog-body .library-option{padding:14px 2px}
@media(min-width:1600px){.heading{padding-top:44px;padding-bottom:32px}}
@media(max-width:970px){.mastinner,.page{padding-left:22px;padding-right:22px}.workspace{grid-template-columns:215px minmax(0,1fr);gap:14px}.book-panel,.library{padding:14px}.book-actions{grid-template-columns:1fr}.section-heading h2{font-size:1.4rem}.board-head{padding:14px}.field-wrap{padding:0 10px}.mode-switch button{padding:7px}.legend{gap:12px}.save-status{font-size:.76rem}.sheet-shortcut{padding:12px}}
@media(max-width:920px){.workspace{display:flex;flex-direction:column;gap:16px}.studio,.sidebar{width:100%}.sidebar{order:1;grid-template-columns:1fr 1fr;align-items:start}.studio{order:0}.book-actions{grid-template-columns:1fr 1fr}.sheet-shortcut{display:none}.heading{padding:23px 0 18px}.mastinner nav{margin-left:20px;padding-left:10px}.mastinner nav button{padding:0 10px}.save-status span{display:none}.save-status.warning span{display:block}.field-caption{min-height:43px}.toolstrip .nudge button{min-height:38px;min-width:34px}.heading h1{font-size:2.5rem}.mastinner{min-height:59px}}
@media(max-width:520px){.page,.mastinner{padding-left:12px;padding-right:12px}.brand{font-size:1.6rem;gap:6px}.brand img{width:27px;height:27px}.mastinner nav{border:0;margin-left:auto;padding:0;gap:1px}.mastinner nav button{font-size:.75rem;padding:0 7px;gap:4px}.mastinner nav button .ico{width:14px;height:14px}.mastinner nav button[aria-current]::after{left:6px;right:6px}.save-status{margin-left:5px}.save-status .ico{width:16px}.save-status.warning{position:fixed;z-index:5;bottom:4px;right:4px;background:var(--ink);padding:5px;border-radius:4px}.heading{display:grid;grid-template-columns:1fr auto;align-items:start;column-gap:8px;row-gap:8px}.heading>div{display:contents}.heading h1{font-size:clamp(1.9rem,7.4vw,2.4rem);align-self:center;letter-spacing:-.027em}.heading p{grid-row:2;grid-column:1/-1;font-size:.9rem;margin:0}.btn.primary.print-btn{min-height:36px;padding:7px 8px;font-size:.73rem;gap:5px;align-self:center}.print-btn .ico{width:15px;height:15px}.board-head{align-items:center;padding:13px 11px;gap:7px}.board-meta{font-size:.62rem;gap:5px}.title-line{gap:2px}.title-line h2{font-size:1.4rem}.edit-title{width:25px}.mode-switch{padding:2px}.mode-switch button{min-height:36px;font-size:.73rem;gap:4px;padding:5px 6px}.mode-switch button .ico{width:13px;height:13px}.field-wrap{padding:0 6px}.field-caption{margin:0 10px;gap:3px}.legend{gap:10px}.legend>span,.text-btn{font-size:.7rem;gap:4px}.route-key,.line-key{width:13px}.toolstrip{flex-wrap:wrap;padding:8px 10px;gap:5px}.nudge button{min-width:30px!important}.undo{width:25px}.player-label{font-size:.76rem}#player-select{max-width:112px;height:38px;padding-left:6px}.field-hint{padding:8px 10px;font-size:.77rem}.route-tools{padding:0 10px 10px;gap:5px}.route-tools .btn{font-size:.79rem;padding:6px 8px}.sidebar{display:grid;grid-template-columns:1fr}.studio,.sidebar{gap:12px}.details-panel{padding:14px}.details-grid{grid-template-columns:1fr;gap:12px}.details-grid input,.details-grid textarea{font-size:1rem}.section-heading h2{font-size:1.4rem}.library-option{min-height:54px}.play-list{max-height:240px}}
@media(max-width:360px){.mastinner nav button .ico,.save-status:not(.warning){display:none}.heading h1{font-size:1.78rem}.mode-switch button{gap:3px;padding:5px}.mastinner nav button{padding:0 5px}}
@media(prefers-reduced-motion:no-preference){button,a{transition:background-color .12s,border-color .12s}}
#field-viewport{width:100%;overflow:auto;border-radius:6px;scrollbar-width:thin}
#field-viewport.enlarged #field{min-width:800px}
#pan-tools{display:flex;align-items:center;gap:10px;margin:10px 12px 0;font-weight:600;font-size:.78rem}
#field-pan{width:100%;accent-color:#365b43}
.zoom-btn{display:none}
@media(max-width:970px){.zoom-btn{display:inline-flex;margin-left:auto}.field-caption{column-gap:10px}}
@media(max-width:395px){.field-caption{column-gap:5px}.legend{gap:6px}.field-caption .ico{width:13px}.field-caption .text-btn{gap:3px}}
.history-actions{display:flex;align-items:center;gap:2px}
@media(max-width:520px){
  .toolstrip{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:7px}
  .player-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .toolbar-spacer{display:none}
  #player-select{width:100%;max-width:none}
  .history-actions .undo{width:29px;height:38px}
}
@media(max-width:360px){
  .toolstrip{gap:4px}
  .toolstrip .nudge button{min-width:27px!important}
  .history-actions .undo{width:24px}
}

/* Keep the primary play actions next to the board in the single-column workspace. */
@media (max-width: 920px) {
  #mobile-playbar {
    width: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .65rem;
  }
  #mobile-playbar label { color: var(--sub); font-size: .88rem; font-weight: 650; }
  #quick-play { width: 100%; height: 44px; font-size: 1rem; text-overflow: ellipsis; }
  #quick-duplicate { min-height: 44px; background: #eaf0e6; border-color: #cbd6c7; }
  #quick-duplicate:hover { background: #dfe9d9; }
  .editor-panel .field-player > text { font-size: 16.4px; }
  .editor-panel .field-player:is([data-player="x"], [data-player="y"], [data-player="z"], [data-player="c"], [data-player="h"]) > text { font-size: 18px; }
}
@media (max-width: 520px) {
  #mobile-playbar { grid-template-columns: minmax(0, 1fr) auto; gap: .2rem .5rem; }
  #mobile-playbar label { grid-column: 1 / -1; font-size: .8125rem; }
  #quick-duplicate { padding-inline: .65rem; }
  #quick-duplicate .ico { width: 16px; height: 16px; }
  .editor-panel .field-player:is([data-player="x"], [data-player="y"], [data-player="z"], [data-player="h"], [data-player="qb"], [data-player="rb"]) > :not([fill="transparent"]) { transform: scale(1.2); }
}
.intro-link {
  color: var(--green);
  font-weight: 650;
  text-decoration-color: #9caf9d;
  text-underline-offset: .18em;
}
.intro-link:hover { color: #153d28; text-decoration-color: currentColor; }
#main:focus-visible { outline: 2px solid #a65c34; outline-offset: -2px; }
.coach-guide {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}
.coach-guide h2 {
  color: var(--ink);
  font: 700 clamp(1.6rem, 2.3vw, 2rem)/1.15 var(--display);
}
.coach-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin: 1.1rem 0 1.25rem;
  padding: 0;
}
.coach-steps li { margin-left: 1.4rem; padding-left: .15rem; }
.coach-steps li::marker { color: var(--green); font-weight: 700; }
.coach-steps h3 { color: var(--ink); font-size: 1rem; line-height: 1.45; }
.coach-steps p { margin-top: .3rem; line-height: 1.5; }
@media (max-width: 700px) {
  .coach-steps { grid-template-columns: 1fr; gap: .9rem; }
}
.format-links{display:flex;flex-wrap:wrap;align-items:center;gap:8px 24px;margin:15px 0 18px}
.format-links a,.coach-guide p a,.foot a{color:var(--green);font-weight:650;text-underline-offset:3px}
.format-links a{font-size:.91rem}
.coach-guide .book-scope{font-size:.95rem;max-width:78ch;margin:14px 0 0}

.library-link{display:block;border-top:1px solid var(--line);padding:12px 0 6px;color:var(--green);font-size:.82rem;font-weight:650;text-underline-offset:3px}

.sheet-print { display: none; }

.sheet-screen {
  --sheet-ink: #1b2521;
  --sheet-muted: #56625b;
  --sheet-line: #cdd3cc;
  --sheet-accent: #1c5940;
  color: var(--sheet-ink);
  display: grid;
  gap: 1.25rem;
  align-content: start;
}
.sheet-screen[hidden] { display: none; }
.sheet-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .25rem 1rem;
}
.sheet-play-title {
  font-family: var(--display, system-ui), sans-serif;
  letter-spacing: -.025em;
  line-height: 1.08;
  overflow-wrap: anywhere;
}
.sheet-heading p, .sheet-guide, .sheet-formation, .sheet-no-notes { color: var(--sheet-muted); }
.sheet-heading p, .sheet-guide, .sheet-card p, .sheet-changes p { margin: 0; }
.sheet-guide { margin-top: -.4rem; line-height: 1.45; }
.sheet-heading .sheet-print-button { min-height: 2.75rem; padding-inline: 1rem; color: white; background: var(--sheet-accent); border-color: var(--sheet-accent); }
.sheet-heading .sheet-print-button:hover { color: white; background: #244a38; }
.sheet-card-header:has(.sheet-create) { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; column-gap: .7rem; }
.sheet-card-header:has(.sheet-create) .sheet-card-kicker { grid-column: 1 / -1; }
.sheet-card-header:has(.sheet-create) .sheet-formation { grid-column: 1; }
.sheet-create { grid-column: 2; grid-row: 2 / 4; min-height: 2.75rem; }
.sheet-screen .sheet-comparison > .sheet-changes { border-top: 0; border-bottom: 1px solid var(--sheet-line); }
.sheet-card,
.sheet-comparison {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--sheet-line);
  border-radius: 12px;
  overflow: hidden;
}
.sheet-card { display: flex; flex-direction: column; }
.sheet-card-header { padding: 1.15rem 1.25rem .95rem; }
.sheet-card-kicker {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem;
  font-size: .8125rem;
  font-weight: 700;
}
.sheet-role { color: var(--sheet-accent); }
.sheet-number { color: var(--sheet-muted); font-variant-numeric: tabular-nums; }
.sheet-play-title { margin: .5rem 0 .25rem; font-size: clamp(1.35rem, 2.3vw, 2.15rem); }
.sheet-formation { font-size: .9rem; line-height: 1.4; }
.sheet-diagram { display: block; margin: 0; min-width: 0; line-height: 0; }
.sheet-diagram svg { display: block; width: 100%; height: auto; pointer-events: none; }
.sheet-screen .sheet-diagram { container-type: inline-size; }
.sheet-screen .sheet-field-window { overflow-x: auto; }
.sheet-screen .sheet-field-window:focus-visible { outline: 3px solid #ff9d60; outline-offset: -3px; }
.sheet-screen .sheet-field-window.sheet-zoomed svg { min-width: 820px; }
.sheet-zoom-row { display: none; justify-content: flex-end; background: #fff; padding: 0 .85rem; }
.sheet-zoom {
  min-height: 2.75rem;
  border: 0;
  padding: 0 .35rem;
  background: transparent;
  color: #24543b;
  font: inherit;
  font-size: .875rem;
  line-height: 1.3;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}
.sheet-zoom:focus-visible { outline: 2px solid #255841; outline-offset: -2px; }
@container (max-width: 819px) { .sheet-zoom-row { display: flex; } }
.sheet-screen > .sheet-card .sheet-field-window { background: #233f35; }
.sheet-screen > .sheet-card .sheet-diagram svg { max-width: 65rem; margin: 0 auto; }
.sheet-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sheet-pair > .sheet-card { border-radius: 0; border: 0; }
.sheet-pair > .sheet-card + .sheet-card { border-left: 1px solid var(--sheet-line); }
.sheet-notes, .sheet-changes { padding: 1rem 1.25rem 1.2rem; }
.sheet-notes :is(h2,h3,h4), .sheet-changes :is(h2,h4) {
  margin: 0 0 .45rem;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 700;
}
.sheet-notes p, .sheet-changes p {
  margin: 0;
  font-size: .97rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.sheet-notes p { white-space: pre-line; }
.sheet-changes { border-top: 1px solid var(--sheet-line); background: #f3f6f1; }
.sheet-change-list {
  display: grid;
  gap: .45rem 1rem;
  list-style: none;
  margin: .6rem 0;
  padding: 0;
}
.sheet-change-list li { display: flex; align-items: baseline; gap: .6rem; line-height: 1.45; }
.sheet-position {
  flex: none;
  display: inline-block;
  min-width: 2rem;
  padding: .12rem .3rem;
  border: 1px solid #93a79a;
  border-radius: 4px;
  background: #fff;
  text-align: center;
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.25;
}
.sheet-changes .sheet-ring-key { font-size: .8125rem; color: var(--sheet-muted); }
@media screen and (max-width: 680px) {
  .sheet-pair { grid-template-columns: 1fr; }
  .sheet-pair > .sheet-card + .sheet-card { border-left: 0; border-top: 1px solid var(--sheet-line); }
  .sheet-card-header, .sheet-notes, .sheet-changes { padding: 1rem; }
}

@page { size: letter landscape; margin: .46in .55in; }

@media print {
  html, body {
    display: block !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: white !important;
  }
  body > :not(.sheet-print):not(:has(.sheet-print)),
  body *:has(.sheet-print) > :not(.sheet-print):not(:has(.sheet-print)) { display: none !important; }
  body *:has(.sheet-print), .sheet-print, .sheet-print[hidden] {
    display: block !important;
    position: static !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: visible !important;
    box-shadow: none !important;
  }
  .sheet-print {
    font: 11pt/1.35 Arial, Helvetica, sans-serif;
    color: #15231d;
    --sheet-muted: #3e4a43;
    --sheet-accent: #1d3428;
    --sheet-line: #939b95;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .sheet-paper { display: block; margin: 0; padding: 0; break-inside: auto; }
  .sheet-paper + .sheet-paper { break-before: page; page-break-before: always; }
  .sheet-paper-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 0 0 .11in;
    padding: 0 0 .06in;
    border-bottom: 1.3pt solid #283c30;
    font-size: 10pt;
  }
  .sheet-paper h1 {
    font: 700 24pt/1.05 Arial, Helvetica, sans-serif;
    letter-spacing: -.024em;
    margin: .1in 0 .035in;
    overflow-wrap: anywhere;
  }
  .sheet-paper .sheet-formation { margin: 0; color: #36473c; font-size: 9.5pt; }
  .sheet-play-page > .sheet-diagram {
    width: 8.3in;
    max-width: 100%;
    margin: .13in auto .11in;
  }
  .sheet-paper .sheet-diagram { break-inside: avoid; }
  .sheet-paper .sheet-diagram svg { width: 100%; height: auto; }
  .sheet-play-page .sheet-notes { padding: .1in 0 0; border-top: .7pt solid var(--sheet-line); }
  .sheet-print .sheet-notes :is(h2,h3,h4), .sheet-print .sheet-changes h4 { margin: 0 0 .035in; font-size: 12pt; }
  .sheet-print .sheet-notes p, .sheet-print .sheet-changes p { margin: 0; font-size: 10.5pt; line-height: 1.32; }
  .sheet-print .sheet-notes :is(h2,h3,h4) { break-after: avoid; }
  .sheet-paper .sheet-comparison { display: block; border: 0; border-radius: 0; overflow: visible; }
  .sheet-paper .sheet-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .17in; }
  .sheet-paper .sheet-card { display: block; border: 0; border-radius: 0; overflow: visible; }
  .sheet-paper .sheet-card-header { padding: .07in 0; }
  .sheet-paper .sheet-card-kicker { font-size: 9pt; }
  .sheet-paper .sheet-play-title {
    font: 700 17pt/1.05 Arial, Helvetica, sans-serif;
    margin: .05in 0 .035in;
    letter-spacing: -.014em;
  }
  .sheet-paper .sheet-card .sheet-formation { font-size: 9pt; }
  .sheet-paper .sheet-changes {
    padding: .12in 0 0;
    margin-top: .15in;
    border-top: 1pt solid var(--sheet-line);
    background: white;
  }
  .sheet-paper .sheet-change-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .06in .17in;
    margin: .06in 0;
  }
  .sheet-paper .sheet-change-list li { font: 10pt/1.25 Arial, Helvetica, sans-serif; gap: .05in; break-inside: avoid; }
  .sheet-paper .sheet-position { min-width: .26in; padding: 1pt 2pt; font-size: 9pt; border: .6pt solid #607165; }
  .sheet-paper .sheet-ring-key { font-size: 9pt; }
}


@supports (grid-template-rows: subgrid) {
  @media screen and (min-width: 681px) {
    .sheet-pair > .sheet-card {
      display: grid;
      grid-row: span 3;
      grid-template-rows: subgrid;
    }
  }
  @media print {
    .sheet-paper .sheet-pair > .sheet-card {
      display: grid;
      grid-row: span 3;
      grid-template-rows: subgrid;
    }
  }
}
@media print {
  .sheet-paper .sheet-pair > .sheet-card + .sheet-card { border: 0; }
  .sheet-paper .sheet-pair .field-player text { font-size: 16px; letter-spacing: -.4px; }
}
@media print {
  .sheet-quick-cue { padding-top: .065in; }
  .sheet-quick-cue h4 { margin: 0 0 .025in; font: 700 10pt/1.2 Arial, Helvetica, sans-serif; }
  .sheet-quick-cue p { margin: 0; font: 10pt/1.3 Arial, Helvetica, sans-serif; overflow-wrap: anywhere; }
}
@media print {
  /* Keep the complete sideline cues and a long change list together on Letter. */
  .sheet-dense { zoom: .92; }
  .sheet-practice-solo .sheet-notes p { white-space: normal; }
  .sheet-dense .sheet-card-header { padding: .03in 0; }
  .sheet-dense .sheet-play-title { font-size: 15pt; margin: .025in 0; }
  .sheet-dense .sheet-diagram { width: 4.2in; max-width: 100%; margin-inline: auto; }
  .sheet-dense .sheet-quick-cue p { font-size: 9pt; line-height: 1.14; }
  .sheet-dense .sheet-changes { padding-top: .05in; margin-top: .065in; }
  .sheet-dense .sheet-change-list { gap: .03in .12in; }
  .sheet-dense .sheet-change-list li { font-size: 9pt; line-height: 1.15; }
  .sheet-dense .sheet-position { font-size: 8.5pt; }
}

.example-page .mastinner, .example-page main {max-width:1240px}
.example-page .mastinner nav a {display:flex;align-items:center;position:relative;min-height:52px;padding:0 13px;color:#d2dcd4;text-decoration:none;font-size:.9rem;font-weight:600}
.example-page .mastinner nav a[aria-current] {color:#fff}
.example-page .mastinner nav a[aria-current]::after {content:"";position:absolute;left:13px;right:13px;bottom:0;border-bottom:3px solid var(--orange)}
.example-page .mastinner nav a:hover {background:#ffffff10}
.example-page main {padding-bottom:36px}
.sample-intro {display:flex;gap: clamp(18px,4vw,55px);justify-content:space-between;align-items:center;margin:clamp(24px,3.5vw,44px) 0 24px}
.sample-intro h1 {font:800 clamp(2.2rem,4vw,3.4rem)/1.05 var(--display);letter-spacing:-.025em}
.sample-intro p,.sample-brief p,.sample-use p {font-size:1rem;line-height:1.5}
.sample-intro p {max-width:67ch;margin-top:10px;color:var(--sub)}
.example-page .btn {text-decoration:none}
.sample-intro .btn {flex-shrink:0}
.sample-pair,.sample-use {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.sample-card {display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:white}
.sample-card-head {padding:17px 20px 14px}
.sample-card-head span {font-size:.84rem;color:var(--green);font-weight:700}
.sample-card-head h2 {margin-top:3px;font:700 2.05rem/1.08 var(--display)}
.sample-card figure {margin:0}
.sample-card figure img {display:block;width:100%;height:auto}
.sample-card figcaption {padding:7px 20px 0;text-align:right;font-size:.82rem}
.sample-card figcaption a,.sample-use p a {color:var(--green);font-weight:650;text-underline-offset:3px}
.sample-brief {flex:1;display:grid;grid-template-rows:1fr auto;padding:7px 20px 18px}
.sample-brief p+p {margin-top:12px;border-top:1px solid var(--line);padding-top:10px}
.sample-brief strong {display:block;font-size:.86rem;margin-bottom:2px}
.sample-use {padding:24px 0;margin-top:22px;border-top:1px solid var(--line)}
.sample-use section {padding:0 8px 0 0}
.sample-use h2 {font:700 1.72rem/1.1 var(--display)}
.sample-use p {margin-top:9px;color:var(--sub)}
.sample-use .btn {margin-top:13px}
@media(max-width:700px) {
  .sample-intro {display:block}
  .sample-intro .btn {margin-top:14px}
  .sample-pair,.sample-use {grid-template-columns:1fr;gap:16px}
  .sample-use section+section {padding-top:18px;border-top:1px solid var(--line)}
}
@media(max-width:520px) {
  .example-page .mastinner nav a {font-size:.8rem;padding:0 7px}
  .example-page .mastinner nav a[aria-current]::after {left:7px;right:7px}
  .sample-card-head,.sample-brief {padding-left:14px;padding-right:14px}
}
.blank-sheet {display:flex;align-items:center;justify-content:space-between;gap:22px;padding:22px 0 6px;border-top:1px solid var(--line)}
.blank-sheet h2 {font:700 1.72rem/1.1 var(--display)}
.blank-sheet p {max-width:68ch;margin-top:8px;color:var(--sub);line-height:1.5}
.blank-sheet .btn {flex-shrink:0}
@media(max-width:700px) {
  .blank-sheet {align-items:flex-start;flex-direction:column;gap:13px}
}
.blank-sheet p a,.worksheet-page main p a:not(.btn),.worksheet-preview a {color:var(--green);font-weight:650;text-underline-offset:3px}
.worksheet-layout {display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);grid-template-areas:"intro preview" "guide preview";gap:28px 45px;align-items:start;padding-top:clamp(26px,4vw,54px)}
.worksheet-intro {grid-area:intro}
.worksheet-intro h1 {font:800 clamp(2.35rem,4.3vw,3.7rem)/1 var(--display);letter-spacing:-.025em}
.worksheet-intro p,.worksheet-guide li,.worksheet-guide p {font-size:1rem;line-height:1.5;color:var(--sub)}
.worksheet-intro p {margin:14px 0 16px}
.worksheet-intro .worksheet-format {font-size:.85rem;margin:10px 0 0}
.worksheet-preview {grid-area:preview;margin:0}
.worksheet-preview img {display:block;width:100%;height:auto;border:1px solid var(--line);border-radius:3px}
.worksheet-preview figcaption {margin-top:7px;text-align:right;font-size:.86rem}
.worksheet-guide {grid-area:guide;border-top:1px solid var(--line);padding-top:17px}
.worksheet-guide h2 {font:700 1.65rem/1.1 var(--display)}
.worksheet-guide ol {padding-left:1.45rem;margin:10px 0}
.worksheet-guide li {padding-left:3px;margin-bottom:7px}
.worksheet-guide li::marker {color:var(--green);font-weight:700}
@media(max-width:760px) {
  .worksheet-layout {grid-template-columns:minmax(0,1fr);grid-template-areas:"intro" "preview" "guide";gap:22px}
}

.gefei-footer {display:flex;justify-content:center;flex-wrap:wrap;gap:16px;border-top:1px solid var(--line);padding:16px;font-size:.85rem;color:var(--sub)}
.site-document {max-width:78ch;margin-inline:auto;padding-top:40px;padding-bottom:40px}
.site-document h1 {font:800 2.6rem/1.08 var(--display)}
.site-document h2 {font:700 1.6rem/1.1 var(--display);margin-top:1.4rem}
.site-document p {line-height:1.6;margin-top:.7rem}
