/* Pedagógusi műhely v4: shared parchment, one coastal frame, floating work surfaces. */
body[data-teacher-skin]{--ink:#123e47;--paper:#faf5e6;--line:#d8d7c4;--side:244px;--surface:#fffdf6f5;--radius:16px;--shadow:0 4px 18px #594b2c0c;margin:0;min-height:100svh;display:flex;flex-direction:column;position:relative;isolation:isolate;color:var(--ink);font-family:system-ui,-apple-system,sans-serif;background-color:var(--paper);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='380' height='380'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.68' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath d='M0 0h380v380H0z' filter='url(%23p)' opacity='.08'/%3E%3C/svg%3E");background-repeat:repeat}
body[data-teacher-skin]::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:url('./painted-art/coast-continuous-vivid.webp') left calc(100% + max(0px,calc(10.5vw - 72px)))/100% auto no-repeat;mask-image:linear-gradient(to bottom,transparent calc(100% - 23vw),#000 calc(100% - 23vw + 75px))}
body[data-teacher-skin] *{box-sizing:border-box}
body[data-teacher-skin] [hidden]{display:none!important}
body[data-teacher-skin] button,body[data-teacher-skin] summary,body[data-teacher-skin] a{-webkit-tap-highlight-color:transparent}
body[data-teacher-skin] button{min-height:44px;border:1px solid #a7bbb1;border-radius:10px;box-shadow:0 2px 4px #264b3b0b;background:#fffdf6;color:var(--ink);transition:background .15s,box-shadow .15s;border-color:#a7bbb1}
body[data-teacher-skin] button:hover{transform:none;background:#edf3e9;box-shadow:0 3px 8px #264b3b16}
body[data-teacher-skin] button.primary{background:#226465;color:#fffdf6;border-color:#226465}
body[data-teacher-skin] button.primary:hover{background:#184e51}
body[data-teacher-skin] :is(button,a,summary,input,select,textarea):focus-visible{outline:3px solid #a97932;outline-offset:3px}
body[data-teacher-skin] input:not([type=radio]):not([type=checkbox]),body[data-teacher-skin] select,body[data-teacher-skin] textarea{background:#fffefaf2;border:1px solid #b4bfae;border-radius:9px}
body[data-teacher-skin] .panel{border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);background:var(--surface)}
/* Primary website navigation belongs beside the brand; the account is secondary. */
body[data-teacher-skin]>header{position:relative;z-index:10;display:grid;grid-template-columns:184px minmax(0,1fr) auto;gap:28px;align-items:center;width:100%;max-width:none;height:78px;margin:0;padding:6px 28px;border-bottom:1px solid #c8c8af75;background:#faf5e68c;box-shadow:none}
body[data-teacher-skin] #brand{display:flex;align-items:center;width:174px;text-decoration:none}
body[data-teacher-skin] #brand img{display:block;width:100%;height:64px;object-fit:contain}
body[data-teacher-skin] #prototype{display:none}
body[data-teacher-skin] .teacher-site-nav{display:flex;align-items:center;gap:28px;margin:0;padding:0;min-width:0}
body[data-teacher-skin] .teacher-site-nav a{display:flex;align-items:center;min-height:44px;color:#285258;font:600 14px/1.3 system-ui,sans-serif;text-decoration:none;border-bottom:2px solid transparent;padding:8px 0}
body[data-teacher-skin] .teacher-site-nav a:hover{color:#153e47;border-color:#6c9b91}
body[data-teacher-skin] .teacher-account{position:relative;margin:0;justify-self:end}
body[data-teacher-skin] .teacher-account>summary{list-style:none;display:flex;align-items:center;gap:10px;min-height:44px;padding:9px 13px;border:1px solid #b7c1ab;border-radius:10px;font-size:14px;background:#fffdf49c;cursor:pointer}
body[data-teacher-skin] .teacher-account>summary::-webkit-details-marker{display:none}
body[data-teacher-skin] .teacher-account>summary::after{content:'⌄';color:#5e756b}
body[data-teacher-skin] .teacher-account[open]>summary{background:#edf2e7}
body[data-teacher-skin] .teacher-account-menu{position:absolute;top:calc(100% + 8px);right:0;min-width:184px;padding:8px;background:#fffdf6;border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 28px #32473925}
body[data-teacher-skin] #teacherLogout{width:100%;font-size:14px;text-align:left;padding:10px 12px;border:0;background:transparent;box-shadow:none}
body[data-teacher-skin] #teacherLogout:hover{background:#edf2e7}
/* The entire page uses the same paper. Navigation is always one left column. */
body[data-teacher-skin]>main{flex:1;width:100%;max-width:none;padding:0;margin:0;min-width:0}
body[data-teacher-skin]>main>.panel,body[data-teacher-skin]>main>.material-workspace,body[data-teacher-skin]>main>.word-workspace{max-width:1140px;width:calc(100% - 40px);margin:26px auto}
body[data-teacher-skin] .dashboard-layout{display:grid;grid-template-columns:var(--side) minmax(0,1fr);gap:0;align-items:stretch}
body[data-teacher-skin] .dashboard-side{display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:16px;position:relative;padding:24px 16px 72px;min-height:calc(100svh - 222px);border-right:1px solid #c9cbb57a;background:none}
body[data-teacher-skin] .dashboard-side>*{min-width:0;grid-column:1}
body[data-teacher-skin] .dashboard-side h2{display:none}
body[data-teacher-skin] .dashboard-nav,body[data-teacher-skin] .dashboard-side-tools,body[data-teacher-skin] .dashboard-extra{padding:0;margin:0;background:none;border:0;box-shadow:none;border-radius:0}
body[data-teacher-skin] .dashboard-icon{display:inline-block;width:24px;height:24px;object-fit:contain;flex:none;vertical-align:middle}
body[data-teacher-skin] .dashboard-icon-label,body[data-teacher-skin] .dashboard-title-icon{display:inline-flex;align-items:center;gap:12px;min-width:0;max-width:100%}
body[data-teacher-skin] .dashboard-nav-button{display:flex;align-items:center;width:100%;min-height:66px;padding:8px 10px;margin:4px 0;border:0;border-radius:10px;text-align:left;font-size:14px;line-height:1.35;background:transparent;box-shadow:none}
body[data-teacher-skin] .dashboard-nav-button::after{content:'›';margin-left:auto;padding-left:8px;font-size:22px;color:#527b73}
body[data-teacher-skin] .dashboard-nav-button.is-current{background:#dbe9dcdb;box-shadow:inset 3px 0 #327c77}
body[data-teacher-skin] .dashboard-nav-button:hover{background:#e6eddccd;box-shadow:none}
body[data-teacher-skin] .dashboard-side .dashboard-icon{width:49px;height:49px}
body[data-teacher-skin] .dashboard-side-tools,body[data-teacher-skin] .dashboard-extra{border-top:1px solid #c4c9af9e;padding-top:12px}
body[data-teacher-skin] .dashboard-extra>summary{display:flex;align-items:center;list-style:none;min-height:66px;padding:8px 10px;font-size:14px;line-height:1.3;cursor:pointer}
body[data-teacher-skin] .dashboard-extra>summary::-webkit-details-marker{display:none}
body[data-teacher-skin] .dashboard-extra>summary::after{content:'›';font-size:22px;margin-left:auto;padding-left:8px;color:#527b73}
body[data-teacher-skin] .dashboard-extra[open]>summary::after{transform:rotate(90deg)}
body[data-teacher-skin] .dashboard-extra>button{display:block;width:100%;text-align:left;padding:9px 12px;font-size:13px;background:#fffdf3f5;margin-top:7px}
/* The heading sits on the parchment. The ocean already supplies the illustration. */
body[data-teacher-skin] .dashboard-main{min-width:0;padding:24px 32px 16px}
body[data-teacher-skin] .dashboard-hero{margin:0 0 20px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;min-height:94px}
body[data-teacher-skin] .dashboard-eyebrow{font-size:10px;font-weight:650;letter-spacing:.17em;text-transform:uppercase;color:#6c7b69;margin:0 0 8px;line-height:1.4}
body[data-teacher-skin] .dashboard-hero h1{display:flex;align-items:center;gap:12px;font:700 42px/1.12 Georgia,serif;letter-spacing:-.02em;margin:0 0 8px;overflow-wrap:anywhere}
body[data-teacher-skin] .dashboard-hero h1 .dashboard-icon{width:48px;height:48px}
body[data-teacher-skin] .dashboard-lead{font-size:15px;line-height:1.5;color:#4d6869;margin:0}
/* One family of light, floating cards. The illustrations provide the accents. */
body[data-teacher-skin] .dashboard-create{margin:0 0 16px;padding:0;border:0;background:none;box-shadow:none}
body[data-teacher-skin] .dashboard-create>h3{position:absolute;width:1px;height:1px;margin:0;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body[data-teacher-skin] .dashboard-create-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
body[data-teacher-skin] button.dashboard-create-card{display:grid;grid-template-columns:78px minmax(0,1fr);grid-template-rows:auto auto;column-gap:12px;row-gap:5px;align-content:center;align-items:center;width:100%;min-width:0;min-height:116px;padding:14px;text-align:left;border:1px solid #cbdac7;border-radius:var(--radius);box-shadow:var(--shadow);background:linear-gradient(125deg,#eef3e8f5,#fffdf6f5);color:var(--ink);margin:0}
body[data-teacher-skin] button.dashboard-kind-words{border-color:#c5dbe0;background:linear-gradient(125deg,#edf4f6f5,#fffdf6f5)}
body[data-teacher-skin] button.dashboard-kind-pairs{border-color:#ead2be;background:linear-gradient(125deg,#fff1e6f5,#fffdf6f5)}
body[data-teacher-skin] button.dashboard-create-card:hover{background:#edf4e9;border-color:#6a9a8b;box-shadow:0 5px 16px #36554516}
body[data-teacher-skin] .dashboard-create-art{width:78px;height:82px;object-fit:contain;grid-row:1/3}
body[data-teacher-skin] .dashboard-create-card strong{font:700 21px/1.22 Georgia,serif;align-self:end;overflow-wrap:anywhere}
body[data-teacher-skin] .dashboard-create-card p{font:400 13px/1.45 system-ui,sans-serif;color:#51696b;margin:0;align-self:start}
body[data-teacher-skin] .dashboard-search,body[data-teacher-skin] .dashboard-drafts{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);margin:0 0 12px;padding:10px 14px}
body[data-teacher-skin] .dashboard-search{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 112px auto;gap:12px;align-items:center}
body[data-teacher-skin] .dashboard-search>label{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
body[data-teacher-skin] .dashboard-search>input{grid-column:1;grid-row:1;min-height:44px;font-size:14px;padding:9px 12px}
body[data-teacher-skin] .dashboard-search>p{grid-column:3;grid-row:1;font-size:12px;max-width:140px;margin:0;text-align:right;color:#5b716a}
body[data-teacher-skin] .dashboard-filters{grid-column:2;grid-row:1;margin:0;border:0;padding:0}
body[data-teacher-skin] .dashboard-filters>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:9px 14px;border:1px solid #b4c7b8;border-radius:9px;background:#edf3e9;font-size:13px;cursor:pointer}
body[data-teacher-skin] .dashboard-filters>summary::-webkit-details-marker{display:none}
body[data-teacher-skin] .dashboard-filters>summary::after{content:'⌄'}
body[data-teacher-skin] .dashboard-filter-grid{position:absolute;z-index:5;top:100%;left:0;right:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;background:#fffdf6;border:1px solid var(--line);border-radius:0 0 14px 14px;padding:12px 16px 18px;box-shadow:0 8px 22px #294e3b1c}
body[data-teacher-skin] .dashboard-filter-grid label{font-size:13px;margin:0 0 7px}
body[data-teacher-skin] .dashboard-filter-grid select{padding:9px;font-size:14px}
body[data-teacher-skin] .dashboard-drafts h3{font:700 19px Georgia,serif;margin:0 0 8px}
body[data-teacher-skin] .dashboard-draft{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:8px 0;border-top:1px solid var(--line)}
body[data-teacher-skin] .dashboard-draft button{font-size:13px;padding:8px 12px}
body[data-teacher-skin] .dashboard-results{display:grid;grid-template-columns:1fr;gap:12px;align-items:start}
body[data-teacher-skin] .dashboard-material{position:relative;display:grid;grid-template-columns:minmax(130px,1fr) auto 44px;grid-template-rows:auto auto auto;column-gap:14px;min-height:100px;padding:14px 16px 14px 88px;margin:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
body[data-teacher-skin] .dashboard-material::before{content:'';position:absolute;left:14px;top:50%;transform:translateY(-50%);width:58px;height:64px;background:url('./painted-art/homework.webp') center/contain no-repeat}
body[data-teacher-skin] .dashboard-material.dashboard-kind-words::before{background-image:url('./painted-art/words.webp')}
body[data-teacher-skin] .dashboard-material.dashboard-kind-pairs::before{background-image:url('./painted-art/pairs.webp')}
body[data-teacher-skin] .dashboard-kind-label{grid-column:1;justify-self:start;font:650 10px/1.3 system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#4b746c;margin:0 0 5px;padding:3px 8px;border-radius:5px;background:#e6eee3}
body[data-teacher-skin] .dashboard-kind-label .dashboard-icon{display:none}
body[data-teacher-skin] .dashboard-material h3{grid-column:1;font:700 24px/1.18 Georgia,serif;color:var(--ink);margin:0 0 4px;overflow-wrap:anywhere}
body[data-teacher-skin] .dashboard-material>.muted{grid-column:1;font-size:13px;margin:0;color:#5a7371}
body[data-teacher-skin] .dashboard-material-actions{grid-column:2;grid-row:1/4;align-self:center;display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body[data-teacher-skin] .dashboard-material-actions button{font-size:13px;padding:8px 12px;white-space:normal}
body[data-teacher-skin] .dashboard-material-actions .dashboard-icon{width:28px;height:28px}
body[data-teacher-skin] .dashboard-material-actions .dashboard-icon-label{gap:7px}
body[data-teacher-skin] .dashboard-material-more{grid-column:3;grid-row:1/4;align-self:center;margin:0;padding:0;border:0}
body[data-teacher-skin] .dashboard-material-more>summary{display:grid;place-items:center;list-style:none;width:44px;min-height:44px;border:1px solid var(--line);border-radius:10px;background:#faf9ef;font-size:25px;cursor:pointer}
body[data-teacher-skin] .dashboard-material-more>summary::-webkit-details-marker{display:none}
body[data-teacher-skin] .dashboard-material-more[open]{display:contents}
body[data-teacher-skin] .dashboard-material-more[open]>summary{grid-column:3;grid-row:1/4;align-self:center}
body[data-teacher-skin] .dashboard-material-more[open]>*:not(summary){grid-column:1/-1}
body[data-teacher-skin] .dashboard-more-actions{display:flex;gap:8px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:12px;margin-top:12px}
body[data-teacher-skin] .dashboard-more-actions button,body[data-teacher-skin] .dashboard-material-more button{font-size:13px;padding:8px 12px}
body[data-teacher-skin] .dashboard-record{margin:0;padding:22px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
body[data-teacher-skin] .dashboard-record>.dashboard-title-icon{font:700 24px Georgia,serif;margin:0 0 12px}
body[data-teacher-skin] .dashboard-record>.dashboard-title-icon>.dashboard-icon{width:38px;height:38px}
body[data-teacher-skin]>.teacher-save-panel{margin:0 32px 0 calc(var(--side) + 32px);max-width:none;padding:0}
body[data-teacher-skin]>.teacher-save-panel p:not(:empty){margin:0;padding:4px 0;font-size:12px}
body[data-teacher-skin]>#status:empty{display:none}
/* Links remain on the light paper, above the vivid sea. */
body[data-teacher-skin]>.game-info-footer{width:100%;max-width:none;min-height:144px;margin:0;padding:4px 24px 78px calc(var(--side) + 24px);background:none;border:0;border-radius:0;box-shadow:none}
body[data-teacher-skin]>.game-info-footer nav{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:0;margin:0}
body[data-teacher-skin]>.game-info-footer nav button{font:500 13px/1.4 system-ui,sans-serif;min-height:40px;padding:7px 16px;border:0;border-radius:0;box-shadow:none;background:transparent;color:#20474c}
body[data-teacher-skin]>.game-info-footer nav img{display:none}
body[data-teacher-skin] .world-copyright{font-size:12px;line-height:16px;color:#3e5e59;text-align:center;margin:2px 0 0}
@media(min-width:1600px){body[data-teacher-skin]{--side:270px}body[data-teacher-skin] .dashboard-main{padding:30px 40px 20px}body[data-teacher-skin] .dashboard-create-art{width:90px;height:90px}body[data-teacher-skin] button.dashboard-create-card{grid-template-columns:90px 1fr;min-height:128px}}
@media(min-width:981px) and (max-height:820px){body[data-teacher-skin] .dashboard-side{padding-bottom:36px}}
@media(max-width:1150px) and (min-width:981px){body[data-teacher-skin]{--side:216px}body[data-teacher-skin] .dashboard-side{padding-left:10px;padding-right:10px}body[data-teacher-skin] .dashboard-main{padding-left:22px;padding-right:22px}body[data-teacher-skin] .dashboard-nav-button,body[data-teacher-skin] .dashboard-extra>summary{font-size:13px;padding-left:6px;padding-right:6px}body[data-teacher-skin] .dashboard-side .dashboard-icon{width:44px;height:44px}body[data-teacher-skin] .dashboard-icon-label{gap:9px}body[data-teacher-skin] button.dashboard-create-card{grid-template-columns:1fr;text-align:center;padding:10px;min-height:154px;row-gap:4px}body[data-teacher-skin] .dashboard-create-art{grid-row:auto;width:100%;height:64px}body[data-teacher-skin] .dashboard-create-card strong{font-size:19px}body[data-teacher-skin] .dashboard-material-actions{max-width:168px}}
@media(max-width:980px){body[data-teacher-skin]{--side:184px}body[data-teacher-skin]::before{background-size:1000px auto;background-position:left calc(100% + 33px);mask-image:linear-gradient(to bottom,transparent calc(100% - 300px),#000 calc(100% - 235px))}body[data-teacher-skin]>header{grid-template-columns:158px minmax(0,1fr) auto;gap:18px;padding:6px 18px}body[data-teacher-skin] #brand{width:150px}body[data-teacher-skin] .teacher-site-nav{gap:18px}body[data-teacher-skin] .teacher-site-nav a{font-size:13px}body[data-teacher-skin] .dashboard-side{padding:18px 8px 70px;gap:12px}body[data-teacher-skin] .dashboard-side .dashboard-icon{width:43px;height:43px}body[data-teacher-skin] .dashboard-nav-button,body[data-teacher-skin] .dashboard-extra>summary{font-size:13px;padding:8px 6px}body[data-teacher-skin] .dashboard-icon-label{gap:8px}body[data-teacher-skin] .dashboard-main{padding:22px 18px 16px}body[data-teacher-skin] .dashboard-hero h1{font-size:36px}body[data-teacher-skin] button.dashboard-create-card{grid-template-columns:1fr;text-align:center;padding:10px;min-height:154px;row-gap:4px}body[data-teacher-skin] .dashboard-create-art{grid-row:auto;width:100%;height:64px}body[data-teacher-skin] .dashboard-create-card strong{font-size:18px}body[data-teacher-skin] .dashboard-create-card p{font-size:12px}body[data-teacher-skin] .dashboard-material{grid-template-columns:minmax(0,1fr) 44px;padding-left:82px}body[data-teacher-skin] .dashboard-material-actions{grid-column:1/-1;grid-row:4;justify-content:flex-start;padding-top:9px}body[data-teacher-skin] .dashboard-material-more,body[data-teacher-skin] .dashboard-material-more[open]>summary{grid-column:2;grid-row:1/4}body[data-teacher-skin]>.game-info-footer{padding-left:calc(var(--side) + 12px);padding-right:12px}}
@media(max-width:680px){body[data-teacher-skin]{--side:80px}body[data-teacher-skin]>header{height:auto;min-height:100px;grid-template-columns:minmax(0,1fr) auto;gap:0 12px;padding:4px 12px 0}body[data-teacher-skin] #brand{width:140px}body[data-teacher-skin] #brand img{height:58px}body[data-teacher-skin] .teacher-site-nav{grid-row:2;grid-column:1/-1;justify-content:center;gap:24px;border-top:1px solid #c8c8af66}body[data-teacher-skin] .teacher-site-nav a{font-size:12px;min-height:38px;padding:6px 0}body[data-teacher-skin] .teacher-account{grid-row:1;grid-column:2}body[data-teacher-skin] .teacher-account>summary{font-size:12px;padding:8px 10px}body[data-teacher-skin] .dashboard-side{padding:10px 4px 60px;gap:10px;min-height:calc(100svh - 295px)}body[data-teacher-skin] .dashboard-nav-button,body[data-teacher-skin] .dashboard-extra>summary{justify-content:center;min-height:74px;font-size:10px;line-height:1.25;padding:8px 2px;text-align:center;margin:3px 0}body[data-teacher-skin] .dashboard-side .dashboard-icon-label{flex-direction:column;gap:5px;text-align:center}body[data-teacher-skin] .dashboard-side .dashboard-icon{width:44px;height:44px}body[data-teacher-skin] .dashboard-nav-button::after,body[data-teacher-skin] .dashboard-extra>summary::after{display:none}body[data-teacher-skin] .dashboard-side-tools,body[data-teacher-skin] .dashboard-extra{padding-top:8px}body[data-teacher-skin] .dashboard-extra[open]{position:relative}body[data-teacher-skin] .dashboard-extra>button{position:relative;z-index:6;width:210px;font-size:13px;box-shadow:0 4px 12px #264b3b22}body[data-teacher-skin] .dashboard-main{padding:18px 10px 12px}body[data-teacher-skin] .dashboard-hero{min-height:0;margin-bottom:18px}body[data-teacher-skin] .dashboard-hero h1{font-size:clamp(22px,6vw,30px);gap:7px;flex-wrap:wrap;letter-spacing:-.02em}body[data-teacher-skin] .dashboard-hero h1 .dashboard-icon{width:32px;height:32px}body[data-teacher-skin] .dashboard-eyebrow{font-size:8px;letter-spacing:.13em;margin-bottom:7px}body[data-teacher-skin] .dashboard-lead{font-size:12px;line-height:1.5}body[data-teacher-skin] .dashboard-create-grid{grid-template-columns:1fr;gap:9px}body[data-teacher-skin] button.dashboard-create-card{grid-template-columns:56px minmax(0,1fr);grid-template-rows:auto auto;column-gap:10px;text-align:left;min-height:96px;padding:11px}body[data-teacher-skin] .dashboard-create-art{grid-row:1/3;width:56px;height:66px}body[data-teacher-skin] .dashboard-create-card strong{font-size:19px}body[data-teacher-skin] .dashboard-create-card p{font-size:12px}body[data-teacher-skin] .dashboard-search{grid-template-columns:minmax(0,1fr) 100px;gap:8px;padding:9px}body[data-teacher-skin] .dashboard-search>input{grid-column:1/-1;grid-row:1;font-size:13px}body[data-teacher-skin] .dashboard-search>p{grid-column:1;grid-row:2;font-size:11px;text-align:left}body[data-teacher-skin] .dashboard-filters{grid-column:2;grid-row:2}body[data-teacher-skin] .dashboard-filters>summary{font-size:12px}body[data-teacher-skin] .dashboard-filter-grid{grid-template-columns:1fr;left:auto;width:min(270px,calc(100vw - 105px));right:0}body[data-teacher-skin] .dashboard-material{grid-template-columns:minmax(0,1fr) 44px;padding:12px;gap:4px 8px}body[data-teacher-skin] .dashboard-material::before{display:none}body[data-teacher-skin] .dashboard-material h3{font-size:21px}body[data-teacher-skin] .dashboard-material-actions{grid-column:1/-1;grid-row:4;display:grid;grid-template-columns:1fr;gap:7px;padding-top:8px}body[data-teacher-skin] .dashboard-material-actions button{width:100%;font-size:12px}body[data-teacher-skin] .dashboard-material-actions .dashboard-icon{width:26px;height:26px}body[data-teacher-skin] .dashboard-draft{flex-wrap:wrap}body[data-teacher-skin]>.teacher-save-panel{margin:0 10px 0 calc(var(--side) + 10px)}body[data-teacher-skin]>.game-info-footer{min-height:195px;padding:4px 8px 105px calc(var(--side) + 8px)}body[data-teacher-skin]>.game-info-footer nav button{font-size:11px;padding:5px 8px;min-height:32px}body[data-teacher-skin] .world-copyright{font-size:10px;line-height:15px}}
@media(min-width:500px) and (max-width:680px){body[data-teacher-skin]{--side:152px}body[data-teacher-skin] .dashboard-side{padding-left:6px;padding-right:6px}body[data-teacher-skin] .dashboard-nav-button,body[data-teacher-skin] .dashboard-extra>summary{justify-content:flex-start;text-align:left;font-size:12px;padding:8px 4px;min-height:66px}body[data-teacher-skin] .dashboard-side .dashboard-icon-label{flex-direction:row;text-align:left;gap:7px}body[data-teacher-skin] .dashboard-side .dashboard-icon{width:42px;height:42px}}
@media(max-width:499px){body[data-teacher-skin]::before{background-position:-60px calc(100% + 33px)}}
/* Keep the painted frame in the visible window, regardless of document length. */
body[data-teacher-skin]::before{position:fixed}
/* Connection state stays visible, without the paragraph's large default margins. */
body[data-teacher-skin] #app>.teacher-connection-note{margin:0;padding:8px 20px;border-radius:0;border-bottom:1px solid #d4bd7b8c;background:#f7e9c5c9;font-size:13px;line-height:1.45;color:#5b512e}
/* Drafts are immediately discoverable, with all entries available on demand. */
body[data-teacher-skin] .dashboard-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:20px;align-items:start}
body[data-teacher-skin] .dashboard-eyebrow{grid-column:1/-1;grid-row:1}
body[data-teacher-skin] .dashboard-hero h1{grid-column:1;grid-row:2}
body[data-teacher-skin] .dashboard-lead{grid-column:1;grid-row:3}
body[data-teacher-skin] .dashboard-hero>.dashboard-drafts{grid-column:2;grid-row:2/4;align-self:center;max-width:290px;margin:0;padding:0;border:1px solid #c9d1ba;border-radius:11px;background:#fffdf3d9;box-shadow:none}
body[data-teacher-skin] .dashboard-drafts>summary{display:flex;align-items:center;gap:9px;list-style:none;min-height:44px;padding:10px 12px;font-size:12px;color:#315c58;cursor:pointer}
body[data-teacher-skin] .dashboard-drafts>summary::-webkit-details-marker{display:none}
body[data-teacher-skin] .dashboard-drafts>summary::after{content:'⌄';margin-left:auto}
body[data-teacher-skin] .dashboard-draft-count{display:inline-grid;place-items:center;min-width:24px;min-height:24px;padding:2px 6px;border-radius:20px;background:#e2eddf;font-size:12px;font-weight:700}
body[data-teacher-skin] .dashboard-hero>.dashboard-drafts[open]{grid-column:1/-1;grid-row:4;width:100%;max-width:none;margin-top:12px;padding:4px 14px 10px;background:var(--surface);box-shadow:var(--shadow)}
body[data-teacher-skin] .dashboard-drafts[open]>summary{padding-left:0;padding-right:0}
body[data-teacher-skin] .dashboard-draft{font-size:14px}
@media(max-width:980px){body[data-teacher-skin] .dashboard-hero{grid-template-columns:minmax(0,1fr)}body[data-teacher-skin] .dashboard-hero>.dashboard-drafts,body[data-teacher-skin] .dashboard-hero>.dashboard-drafts[open]{grid-column:1;grid-row:4;justify-self:start;margin-top:12px;max-width:none}body[data-teacher-skin] #app>.teacher-connection-note{padding:8px 14px;font-size:12px}}
@media(max-width:680px){body[data-teacher-skin] .dashboard-drafts>summary{font-size:11px;padding:8px 9px;gap:6px}body[data-teacher-skin] .dashboard-draft{flex-direction:column;align-items:flex-start;gap:7px}body[data-teacher-skin] .dashboard-draft button{width:100%;font-size:12px}}
/* A single compact brand/navigation row at every width. */
body[data-teacher-skin]>header{height:72px;min-height:0;grid-template-columns:174px minmax(0,1fr) auto;gap:24px;padding:4px 24px}
body[data-teacher-skin] .teacher-site-nav{grid-row:1;grid-column:2;justify-content:flex-start;border:0;gap:26px}
body[data-teacher-skin] .teacher-account{grid-row:1;grid-column:3}
body[data-teacher-skin] .teacher-account>summary{border:0;background:transparent;padding:8px 6px;font-size:13px;gap:7px;border-radius:6px}
body[data-teacher-skin] .teacher-account[open]>summary{background:#e7eddf}
body[data-teacher-skin] .nav-label-short,body[data-teacher-skin] .account-label-short{display:none}
body[data-teacher-skin] .teacher-site-nav a{white-space:nowrap;font-size:13px;min-height:44px}
/* Navigation occupies the upper sidebar; the gull has its own space below it. */
body[data-teacher-skin] .dashboard-side{padding:16px 12px 0;gap:10px;min-height:0}
body[data-teacher-skin] .dashboard-nav-button{min-height:54px;margin:2px 0;padding:6px 9px;font-size:13px}
body[data-teacher-skin] .dashboard-side .dashboard-icon{width:42px;height:42px}
body[data-teacher-skin] .dashboard-side-tools,body[data-teacher-skin] .dashboard-extra{padding-top:10px}
body[data-teacher-skin] .dashboard-extra>summary{min-height:54px;padding:6px 9px;font-size:13px}
@media(min-width:981px){body[data-teacher-skin]{height:100svh;min-height:0;overflow:hidden}body[data-teacher-skin]>header{flex:none}body[data-teacher-skin]>main{min-height:0;overflow-y:auto;scrollbar-gutter:stable}body[data-teacher-skin] .dashboard-side{position:sticky;top:0;align-self:start;max-height:calc(100svh - 216px);overflow-y:auto}body[data-teacher-skin] .dashboard-main{padding-top:20px;padding-bottom:12px}body[data-teacher-skin] .dashboard-hero{min-height:86px;margin-bottom:16px}body[data-teacher-skin] .dashboard-hero h1{font-size:38px}body[data-teacher-skin] button.dashboard-create-card{min-height:108px}body[data-teacher-skin]>.game-info-footer{flex:none;min-height:144px}}
@media(min-width:981px) and (max-height:700px){body[data-teacher-skin] .dashboard-side{padding-top:12px;gap:8px}body[data-teacher-skin] .dashboard-nav-button,body[data-teacher-skin] .dashboard-extra>summary{min-height:48px;margin:1px 0;padding:4px 8px}body[data-teacher-skin] .dashboard-side .dashboard-icon{width:40px;height:40px}body[data-teacher-skin] .dashboard-side-tools,body[data-teacher-skin] .dashboard-extra{padding-top:8px}body[data-teacher-skin] .dashboard-hero{min-height:80px;margin-bottom:12px}body[data-teacher-skin] .dashboard-hero h1{font-size:34px}body[data-teacher-skin] .dashboard-main{padding-top:16px}body[data-teacher-skin] button.dashboard-create-card{min-height:100px}}
@media(max-width:980px){body[data-teacher-skin]::before{position:absolute}body[data-teacher-skin]>header{grid-template-columns:150px minmax(0,1fr) auto;gap:18px;padding:4px 18px}body[data-teacher-skin] .teacher-site-nav{gap:20px}body[data-teacher-skin] .nav-label-full{display:none}body[data-teacher-skin] .nav-label-short{display:inline}}
@media(max-width:680px){body[data-teacher-skin]>header{height:64px;min-height:0;grid-template-columns:130px minmax(0,1fr) auto;gap:12px;padding:4px 12px}body[data-teacher-skin] #brand{width:130px}body[data-teacher-skin] #brand img{height:52px}body[data-teacher-skin] .teacher-site-nav{grid-row:1;grid-column:2;gap:16px;justify-content:center;border:0}body[data-teacher-skin] .teacher-site-nav a{font-size:12px;padding:6px 0}body[data-teacher-skin] .teacher-account{grid-row:1;grid-column:3}body[data-teacher-skin] .teacher-account>summary{font-size:12px;padding:8px 4px;min-height:44px}body[data-teacher-skin] .dashboard-side .dashboard-icon-label{flex-direction:column}body[data-teacher-skin] .dashboard-nav-button,body[data-teacher-skin] .dashboard-extra>summary{justify-content:center;min-height:68px;font-size:10px;padding:6px 2px;text-align:center}}
@media(min-width:500px) and (max-width:680px){body[data-teacher-skin] .dashboard-side .dashboard-icon-label{flex-direction:row;text-align:left}body[data-teacher-skin] .dashboard-nav-button,body[data-teacher-skin] .dashboard-extra>summary{justify-content:flex-start;font-size:12px;min-height:58px}}
@media(max-width:499px){body[data-teacher-skin]>header{grid-template-columns:112px minmax(0,1fr) auto;gap:8px;padding:4px 10px}body[data-teacher-skin] #brand{width:112px}body[data-teacher-skin] #brand img{height:48px}body[data-teacher-skin] .teacher-site-nav{gap:12px}body[data-teacher-skin] .teacher-site-nav a{font-size:11px}body[data-teacher-skin] .account-label-full{display:none}body[data-teacher-skin] .account-label-short{display:inline}}

@media(max-width:499px){body[data-teacher-skin]{--side:88px}body[data-teacher-skin] .dashboard-side{padding-left:6px;padding-right:6px}}

/* A teacher sub-brand, paired with painted destinations in the same paper masthead. */
body[data-teacher-skin]>header{height:88px;grid-template-columns:auto minmax(0,1fr) auto;gap:32px;padding:7px 26px;background:radial-gradient(ellipse at 85% 0%,#dbe9e466,transparent 65%),#faf5e68c;border-bottom:1px solid #a8beb07a}
body[data-teacher-skin] #brand{width:auto;gap:17px;align-items:center;min-width:0;color:var(--ink)}
body[data-teacher-skin] #brand>img{width:158px;height:68px;object-fit:contain;flex:none}
body[data-teacher-skin] .teacher-brand-wordmark{display:flex;flex-direction:column;justify-content:center;position:relative;border-left:1px solid #92aba680;padding:4px 0 5px 18px;white-space:nowrap}
body[data-teacher-skin] .teacher-brand-top{font:650 10px/1.6 system-ui,sans-serif;letter-spacing:.18em;text-transform:uppercase;color:#56776e}
body[data-teacher-skin] .teacher-brand-title{font:700 30px/1.08 Georgia,serif;letter-spacing:-.03em;color:#154c53}
body[data-teacher-skin] .teacher-site-nav{gap:12px}
body[data-teacher-skin] .teacher-site-nav a{display:flex;gap:10px;min-height:54px;padding:5px 14px 5px 8px;border:1px solid #b9c9b88c;border-radius:14px;background:linear-gradient(130deg,#e7efe3b3,#fffdf4b3);font-size:13px;box-shadow:0 2px 5px #2c4f3d06;transition:background .15s,border-color .15s}
body[data-teacher-skin] .teacher-site-nav a[href='/jatek.html']{background:linear-gradient(130deg,#edf2e8b3,#fff2e4b3);border-color:#d7c8ad9c}
body[data-teacher-skin] .teacher-site-nav a:hover{background:#fefcf0;border-color:#719d8e}
body[data-teacher-skin] .teacher-destination-art{width:42px;height:42px;object-fit:contain;flex:none}
body[data-teacher-skin] .teacher-account>summary{color:#567068}
@media(min-width:981px){body[data-teacher-skin] .dashboard-main{padding-top:14px}body[data-teacher-skin]>.game-info-footer{min-height:134px}}
@media(max-width:1100px){body[data-teacher-skin]>header{gap:22px;padding-left:18px;padding-right:18px}body[data-teacher-skin] #brand{gap:12px}body[data-teacher-skin] #brand>img{width:145px}body[data-teacher-skin] .teacher-brand-wordmark{padding-left:13px}body[data-teacher-skin] .teacher-brand-title{font-size:27px}body[data-teacher-skin] .teacher-site-nav a{gap:7px;padding-right:10px;font-size:12px}body[data-teacher-skin] .teacher-destination-art{width:36px;height:36px}}
@media(max-width:980px){body[data-teacher-skin]>header{height:82px;gap:18px}body[data-teacher-skin] .teacher-site-nav{gap:9px;justify-content:flex-start}body[data-teacher-skin] .teacher-site-nav a{min-height:48px}body[data-teacher-skin] .teacher-brand-top{font-size:9px}body[data-teacher-skin] .teacher-brand-title{font-size:25px}}
@media(max-width:680px){body[data-teacher-skin]>header{height:76px;gap:12px;padding:4px 12px}body[data-teacher-skin] #brand{gap:8px}body[data-teacher-skin] #brand>img{width:100px;height:56px}body[data-teacher-skin] .teacher-brand-wordmark{padding:3px 0 3px 9px}body[data-teacher-skin] .teacher-brand-top{font-size:7px;letter-spacing:.12em}body[data-teacher-skin] .teacher-brand-title{font-size:21px}body[data-teacher-skin] .teacher-site-nav{gap:7px}body[data-teacher-skin] .teacher-site-nav a{padding:4px 7px;gap:4px;font-size:11px;min-height:44px;border-radius:10px}body[data-teacher-skin] .teacher-destination-art{width:27px;height:30px}body[data-teacher-skin] .teacher-account>summary{font-size:11px}}
@media(max-width:499px){body[data-teacher-skin]>header{height:112px;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:59px 43px;gap:0 10px;padding:3px 12px 6px}body[data-teacher-skin] #brand{grid-column:1;grid-row:1;justify-self:start}body[data-teacher-skin] #brand>img{width:104px;height:53px}body[data-teacher-skin] .teacher-account{grid-column:2;grid-row:1}body[data-teacher-skin] .teacher-site-nav{grid-column:1/-1;grid-row:2;justify-content:stretch;gap:8px;width:100%}body[data-teacher-skin] .teacher-site-nav a{flex:1;justify-content:center;min-height:40px;padding:3px 7px;font-size:12px}body[data-teacher-skin] .teacher-destination-art{width:29px;height:31px}body[data-teacher-skin] .teacher-brand-title{font-size:23px}body[data-teacher-skin] .teacher-brand-top{font-size:8px}}

body[data-teacher-skin] .teacher-site-nav{flex-wrap:nowrap}
@media(min-width:981px){body[data-teacher-skin]>.game-info-footer{min-height:124px;padding-bottom:58px}}

/* Approved v6: one high horizon, sky above, close water below. */
body[data-teacher-skin]{--paper:#fbfaf2;--line:#d1ddd6;--surface:#fffffff2;--shadow:0 4px 18px #234f5b0c;background-image:none;background-color:var(--paper)}
body[data-teacher-skin]::before{position:fixed;inset:0;background:url('./painted-art/ocean-original-open-water-lossless-v10.webp') left top / 100% 100% no-repeat;mask-image:none}
body[data-teacher-skin]>header{background:#f8fcfb42;border-color:#aac4c050}
body[data-teacher-skin] #brand>img{width:158px}
body[data-teacher-skin] .teacher-brand-wordmark{border-color:#91b3b275}
body[data-teacher-skin] .teacher-site-nav a{background:#ffffffe0;border-color:#aebfcb9e;box-shadow:0 2px 5px #2c4f3d06}
body[data-teacher-skin] .teacher-site-nav a[href='/jatek.html']{background:#ffffffe0;border-color:#aebfcb9e}
body[data-teacher-skin] .teacher-site-nav a:hover{background:#fff;border-color:#659c9e}
body[data-teacher-skin] .teacher-destination-art{width:44px;height:44px}
body[data-teacher-skin] .dashboard-side{border-color:#b3c8c34d;background:linear-gradient(to bottom,#fffdf5d9 0,#fffdf5c4 85%,#fffdf500)}
body[data-teacher-skin] .dashboard-nav-button.is-current{background:#dcebe5db;box-shadow:inset 3px 0 #327c77}
body[data-teacher-skin] .dashboard-main{background:transparent}
body[data-teacher-skin] .dashboard-hero h1{color:#103e53}
body[data-teacher-skin] .dashboard-lead{color:#315c68}
body[data-teacher-skin] button.dashboard-create-card{background:linear-gradient(120deg,#ecf5ecf5,#fcfef9f5);border-color:#b7d3c4}
body[data-teacher-skin] button.dashboard-kind-words{background:linear-gradient(120deg,#eaf6fcf5,#f7fcfef5);border-color:#b0d3e1}
body[data-teacher-skin] button.dashboard-kind-pairs{background:linear-gradient(120deg,#fff1e9f5,#fffaf7f5);border-color:#ecc8b4}
body[data-teacher-skin] .dashboard-search,body[data-teacher-skin] .dashboard-material{background:#fffffff2;border-color:#d1dbd8}
body[data-teacher-skin] .dashboard-hero>.dashboard-drafts{background:#fffffff2;border-color:#c5d5d5}
body[data-teacher-skin] #app>.teacher-connection-note{background:#fff7dfe8;border-color:#c9c9af70;color:#61583d;padding-top:6px;padding-bottom:6px}
body[data-teacher-skin]>.game-info-footer nav,body[data-teacher-skin] .world-copyright{position:relative;z-index:0}
body[data-teacher-skin]>.game-info-footer nav button{color:#163f51;background:#fffdf875;border-radius:7px}
body[data-teacher-skin] .world-copyright{color:#345965}
@media(min-width:981px) and (max-height:700px){body[data-teacher-skin] .dashboard-side{padding-top:8px;gap:6px}body[data-teacher-skin] .dashboard-nav-button,body[data-teacher-skin] .dashboard-extra>summary{min-height:44px;padding-top:2px;padding-bottom:2px}body[data-teacher-skin] .dashboard-side .dashboard-icon{width:38px;height:38px}}
@media(max-width:1100px){body[data-teacher-skin] #brand>img{width:145px}body[data-teacher-skin] .teacher-destination-art{width:38px;height:38px}}
@media(max-width:980px){body[data-teacher-skin]::before{position:absolute;inset:0 0 auto;height:330px;background-size:1000px auto;background-position:left top;mask-image:linear-gradient(to bottom,#000 0,#000 75%,transparent)}body[data-teacher-skin]::after{content:'';position:absolute;inset:auto 0 0;height:340px;z-index:-1;pointer-events:none;background:url('./painted-art/ocean-original-open-water-lossless-v10.webp') left bottom / auto 650px no-repeat;mask-image:linear-gradient(to bottom,transparent,#000 30%)}body[data-teacher-skin] .dashboard-side{background:linear-gradient(to bottom,#fffdf5e6,#fffdf5c2 80%,transparent)}}
@media(max-width:680px){body[data-teacher-skin] #brand>img{width:100px}body[data-teacher-skin] .teacher-destination-art{width:29px;height:32px}}
@media(max-width:499px){body[data-teacher-skin] #brand>img{width:104px}body[data-teacher-skin]::after{background-size:auto 590px;height:310px}}

body[data-teacher-skin] .dashboard-hero{background:linear-gradient(90deg,#fffdf8d9,#fffdf87a 60%,#fffdf800);border-radius:12px}
body[data-teacher-skin]>.game-info-footer{position:relative;isolation:isolate}
body[data-teacher-skin]>.game-info-footer::before{content:'';position:absolute;inset:-12px 0 24px var(--side);z-index:-1;background:radial-gradient(ellipse at center,#fffdf8f5 0,#fffdf8d9 35%,#fffdf800 72%);pointer-events:none}
body[data-teacher-skin]>.game-info-footer nav button{background:transparent}
body[data-teacher-skin] .world-copyright{background:#fffdf8b3;border-radius:6px;width:fit-content;max-width:100%;margin:2px auto 0;padding:1px 8px}

@media(max-width:680px){body[data-teacher-skin]::after{background-size:auto 520px;height:310px}}
@media(max-width:499px){body[data-teacher-skin]::after{background-size:auto 440px;height:280px}}

/* v7: the document scrolls naturally; sky, repeating middle and foreground form one scene. */
body[data-teacher-skin]{height:auto;min-height:100svh;overflow:visible;background-color:#fcfbf5;background-image:linear-gradient(#fffdf780,#fffdf780),url('./painted-art/ocean-paper-tile-v7.webp');background-size:auto,760px auto;background-repeat:repeat}
body[data-teacher-skin]>header{position:relative;flex:none}
body[data-teacher-skin]>main{flex:1;overflow:visible;scrollbar-gutter:auto;min-height:0}
body[data-teacher-skin] .dashboard-side{position:relative;top:auto;max-height:none;overflow:visible;align-self:start;min-height:0;padding-bottom:12px;background:linear-gradient(to bottom,#fffdf5e6,#fffdf5bd 85%,#fffdf500)}
body[data-teacher-skin]::before{position:absolute;inset:0 0 auto;height:clamp(270px,27vw,390px);background:url('./painted-art/ocean-original-open-water-lossless-v10.webp') left top / 100% auto no-repeat;mask-image:linear-gradient(to bottom,#000 0,#000 60%,transparent 100%)}
body[data-teacher-skin]::after{content:'';position:absolute;inset:auto 0 0;height:clamp(280px,26vw,400px);z-index:-1;pointer-events:none;background:url('./painted-art/ocean-original-open-water-lossless-v10.webp') left bottom / 100% auto no-repeat;mask-image:linear-gradient(to bottom,transparent 0,#000 24%,#000 100%)}
body[data-teacher-skin]>.game-info-footer{min-height:178px;padding-bottom:92px}
body[data-teacher-skin] #teacherBackToTop{position:fixed;right:20px;bottom:20px;width:48px;height:48px;min-height:48px;display:grid;place-items:center;padding:0;border:1px solid #e5f3f0;border-radius:50%;background:#246369;color:#fff;box-shadow:0 4px 18px #123e4733;z-index:30;cursor:pointer}
body[data-teacher-skin] #teacherBackToTop svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:980px){body[data-teacher-skin]::before{height:330px;background-size:1000px auto}body[data-teacher-skin]::after{height:340px;background-size:auto 650px}body[data-teacher-skin]>.game-info-footer{min-height:195px;padding-bottom:105px}}
@media(max-width:680px){body[data-teacher-skin]::after{height:310px;background-size:auto 520px}}
@media(max-width:499px){body[data-teacher-skin]::after{height:280px;background-size:auto 440px}body[data-teacher-skin] #teacherBackToTop{right:12px;bottom:12px;width:44px;height:44px;min-height:44px}}

@media(min-width:981px){body[data-teacher-skin]::after{height:max(360px,43vw)}}

/* Phone library: sidebar beside the introduction; the library continues at full width below it. */
@media(max-width:680px){
 body[data-teacher-skin] .dashboard-layout:has(.dashboard-create){grid-template-columns:var(--side) minmax(0,1fr);column-gap:10px;row-gap:12px;padding:16px 10px 12px 6px;align-items:start}
 body[data-teacher-skin] .dashboard-layout:has(.dashboard-create)>.dashboard-main{display:contents}
 body[data-teacher-skin] .dashboard-layout:has(.dashboard-create)>.dashboard-side{grid-column:1;grid-row:1/span 2;padding-top:0;padding-bottom:0;min-height:0;align-self:start}
 body[data-teacher-skin] .dashboard-layout:has(.dashboard-create) .dashboard-hero{grid-column:2;grid-row:1;margin:0;min-width:0}
 body[data-teacher-skin] .dashboard-layout:has(.dashboard-create) .dashboard-create{grid-column:2;grid-row:2;margin:0;min-width:0}
 body[data-teacher-skin] .dashboard-layout:has(.dashboard-create) .dashboard-search{grid-column:1/-1;grid-row:3;margin:0;min-width:0}
 body[data-teacher-skin] .dashboard-layout:has(.dashboard-create) .dashboard-results{grid-column:1/-1;grid-row:4;margin:0;min-width:0}
 body[data-teacher-skin] .dashboard-layout:has(.dashboard-create) .dashboard-extra>button{width:100%;font-size:10px;line-height:1.4;padding:7px 3px;min-height:44px;white-space:normal;overflow-wrap:anywhere;box-shadow:none}
}

/* Dedicated marine-teal painted arrow, with an invisible comfortable hit area. */
body[data-teacher-skin] #teacherBackToTop{width:56px;height:56px;min-height:56px;padding:0;border:0;border-radius:8px;background:transparent url('./painted-art/teacher-up-teal.webp') center/42px 42px no-repeat;box-shadow:none;filter:brightness(1.22) saturate(.88) drop-shadow(0 1px 1px #20464d20);transition:filter .15s;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom))}
body[data-teacher-skin] #teacherBackToTop svg{display:none}
body[data-teacher-skin] #teacherBackToTop:hover{background-color:transparent;box-shadow:none;filter:brightness(1.3) saturate(.9) drop-shadow(0 2px 2px #20464d26)}
body[data-teacher-skin] #teacherBackToTop:active{background-color:transparent;box-shadow:none;filter:brightness(1.18) saturate(.88) drop-shadow(0 1px 1px #20464d20)}
@media(max-width:499px){body[data-teacher-skin] #teacherBackToTop{right:max(10px,env(safe-area-inset-right));bottom:max(10px,env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){body[data-teacher-skin] #teacherBackToTop{transition:none}}

/* Give the menu label a real, shrinkable text column inside each button. */
body[data-teacher-skin] .dashboard-side :is(.dashboard-nav-button,.dashboard-extra>summary){min-width:0;white-space:normal;overflow-wrap:anywhere}
body[data-teacher-skin] .dashboard-side .dashboard-icon-label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;flex:1 1 0;min-width:0;max-width:none;white-space:normal;overflow-wrap:anywhere}
body[data-teacher-skin] .dashboard-nav-button::after,body[data-teacher-skin] .dashboard-extra>summary::after{flex:0 0 auto;padding-left:4px}
@media(max-width:499px){body[data-teacher-skin] .dashboard-side .dashboard-icon-label{grid-template-columns:minmax(0,1fr);justify-items:center;gap:5px;max-width:100%}}

/* Keep the raster arrow in every interaction state; older button rules reset the whole background. */
body[data-teacher-skin] #teacherBackToTop:is(:hover,:active,:focus-visible){background:transparent url('./painted-art/teacher-up-teal.webp') center/42px 42px no-repeat;box-shadow:none}
