/* Discovery Studio: bright, readable, touch-friendly. All assets stay local. */
:root { --f-display: 'Segoe UI', system-ui, sans-serif; --accent:#6353ce; --radius:18px; --shadow:0 6px 24px #3d37700c; --bg:#f5f4fb; --panel:#fff; --panel2:#eeedf8; --ink:#22223f; --muted:#61617a; --line:#dcdbea; --studio-teal:#007f79; }
:root[data-theme="dark"] { --bg:#141525;--panel:#1f2035;--panel2:#292b44;--ink:#f1efff;--muted:#b5b6d0;--line:#424461;--accent:#c0b6ff;--accent-ink:#211b42;--studio-teal:#79ded4; }
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]):not([data-theme="dark"]){--bg:#141525;--panel:#1f2035;--panel2:#292b44;--ink:#f1efff;--muted:#b5b6d0;--line:#424461;--accent:#c0b6ff;--accent-ink:#211b42;--studio-teal:#79ded4}}
body { font-size:16px;line-height:1.65; }
h1,h2,h3 { font-weight:730;letter-spacing:-.025em; }
h1{line-height:1.13} h2{line-height:1.2} h3{line-height:1.3}
a {text-underline-offset:4px} button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
button{touch-action:manipulation} button:not(.element-cell):focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #8b65ef;outline-offset:4px}
button:disabled {opacity:.6;cursor:not-allowed} [hidden]{display:none!important}
.top {padding:14px 22px;gap:18px;border-bottom:1px solid var(--line);box-shadow:0 2px 14px #3b336009;flex-wrap:wrap}
.brand b {font-family:var(--f-display);font-size:1.05rem;letter-spacing:-.03em}.brand .en{margin-top:5px}.brand svg{width:34px;height:34px}
.top nav{gap:6px}.navbtn{font-size:.79rem;padding:7px 12px;background:var(--panel);font-weight:600}
.shell{grid-template-columns:minmax(0,1fr)}.side{background:var(--panel);padding:22px 14px;border-right:1px solid var(--line)}
.wrap{max-width:1500px;padding:32px clamp(18px,3vw,48px) 55px}.side .search{border-radius:12px}.side summary{font-weight:650}
.btn{min-height:43px;border-radius:12px;padding:9px 17px;font-weight:650;font-size:.88rem;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:6px}.btn:hover{filter:brightness(.95)}.btn.ghost{background:var(--panel);color:var(--accent);border:1px solid var(--line)}
.chip{min-height:38px;border-radius:10px;padding:7px 12px}.chips{gap:8px}.card,.panel,.mapmod{border-radius:18px;box-shadow:var(--shadow);border:1px solid var(--line)}.card{padding:24px}.card h3{margin-bottom:12px}
.hero {position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(125deg,#27235b,#5141a0 65%,#6557bc);color:#fff;padding:clamp(26px,4vw,55px);border-radius:26px;border:0;gap:25px;box-shadow:0 15px 35px #302a6218;grid-template-columns:1fr 210px;margin-bottom:30px}
.hero::after{content:'';position:absolute;width:380px;height:380px;border:1px solid #ffffff20;border-radius:50%;top:-155px;right:90px;z-index:-1;box-shadow:0 0 0 45px #ffffff04,0 0 0 90px #ffffff04}
.hero h1{font-family:var(--f-display);font-size:clamp(2rem,3.4vw,3.55rem);font-weight:760;max-width:800px;letter-spacing:-.045em}.hero .hw{color:#bff5df!important}.hero .hw:nth-of-type(2){color:#ffdb9a!important}.hero .hw:nth-of-type(3){color:#ddcbff!important}.hero p{color:#e0ddf5;max-width:850px;font-size:.95rem;line-height:1.8}.hero .btn{background:#e1fbdf;color:#273b32;border-color:transparent}.hero .btn.ghost{background:#ffffff0c;border:1px solid #ffffff40;color:#fff}.hero .stat{background:#ffffff09;border:1px solid #ffffff22;border-radius:16px;color:#fff;padding:14px}.hero .stat b{color:#fff;font-size:1.8rem}.hero .stat span{color:#e3defc;font-size:.75rem}.hero .stats{gap:10px}.hero .hspec-bar{border-radius:9px;opacity:.85}.hero figcaption{color:#d2cdeb}
.gradepick{padding:24px;background:var(--panel);border:1px solid var(--line);border-radius:20px}.gradebtn{border-radius:13px;padding:14px 20px}.mapmod{border-top-width:5px;overflow:hidden}.maplsn{padding:10px 12px;border-radius:9px}.maplsn:hover{background:var(--panel2)}.sectionh{margin-top:28px;margin-bottom:18px;align-items:center;gap:16px}.sectionh h2{font-size:1.5rem}.sectionh h3{margin:0}.sitefoot{margin-top:30px;font-size:.78rem;opacity:.8}
.eyebrow{font-weight:750;letter-spacing:.13em;font-size:.68rem;display:block;color:var(--accent);margin-bottom:10px}.discovery-launch{margin:30px 0}.discovery-launch h2{font-size:clamp(1.3rem,2vw,1.8rem)}.discovery-pill{display:inline-block;background:var(--panel2);border:1px solid var(--line);color:var(--accent);padding:6px 13px;border-radius:999px;font-size:.76rem;font-weight:650;white-space:normal}
.discovery-path{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.discovery-tile{display:flex;flex-direction:column;border-radius:19px;padding:22px;text-decoration:none;border:1px solid #ddd9f2;background:#eeebff;color:#342771;transition:transform .18s,box-shadow .18s;min-height:250px}.discovery-tile:hover{transform:translateY(-4px);box-shadow:0 12px 24px #443b6a12}.discovery-tile.teal{background:#e2f4ee;border-color:#c4e5db;color:#15544c}.discovery-tile.orange{background:#fff0d8;border-color:#f1dbb7;color:#79491d}.discovery-tile.pink{background:#fbe8ef;border-color:#efd0dc;color:#793c58}.tile-top{display:flex;align-items:center;justify-content:space-between;font-size:.75rem;font-weight:750;margin-bottom:20px;opacity:.85}.tile-icon{font-size:2rem;line-height:1}.discovery-tile h3{font-size:1.15rem;letter-spacing:-.03em}.discovery-tile p{font-size:.83rem;line-height:1.65;margin:10px 0 20px}.tile-link{font-size:.8rem;font-weight:750;margin-top:auto}
.journey-nav{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.journey-nav a{padding:7px 12px;background:var(--panel);border:1px solid var(--line);border-radius:10px;font-size:.78rem;text-decoration:none;color:var(--accent);font-weight:650}.tabs{gap:5px;padding-bottom:10px;flex-wrap:wrap}.tab{padding:10px 13px;font-size:.83rem;min-height:43px;border-radius:10px}.lhead{margin-top:10px}.lhead h1{font-size:clamp(1.8rem,3vw,2.7rem)}.lhead .lnum{font-size:3.6rem;opacity:.35}.intro{max-width:1000px}.fq{border-radius:15px}
.mission-card{padding:23px;background:var(--panel);border:1px solid var(--line);border-left:5px solid #8270e4;border-radius:17px;margin:20px 0;box-shadow:var(--shadow)}.mission-card summary{cursor:pointer}.mission-card summary strong{font-size:1.15rem;line-height:1.4}.mission-card .eyebrow{display:inline-block;margin-right:12px}.mission-card summary::marker{color:var(--accent)}.mission-card p{color:var(--muted)}.mission-controls{display:flex;align-items:flex-end;flex-wrap:wrap;gap:16px;margin:18px 0}.mission-controls .fld{flex:1;min-width:160px;margin:0}.mission-controls .btn{margin-bottom:0}.fld{display:flex;flex-direction:column;gap:6px;font-size:.83rem;font-weight:650;margin:12px 0}.fld input,.fld select,.library-toolbar input,.library-toolbar select,.fld textarea{border:1px solid var(--line);background:var(--panel);color:var(--ink);border-radius:10px;padding:10px;max-width:100%;width:100%}.fld output{color:var(--studio-teal);font-weight:700}.mission-steps{padding-left:23px}.mission-steps li{padding:5px 0;font-size:.9rem}.mission-card>select{width:100%}
.discovery-banner{background:linear-gradient(120deg,#ebe7ff,#e1f4f0);border:1px solid #d7d4f2;border-radius:23px;padding:32px;margin-bottom:24px;color:#282347}.discovery-banner .eyebrow{color:#6550b8}.discovery-banner h1{font-size:clamp(2rem,3.3vw,3.5rem);letter-spacing:-.05em}.discovery-banner h2{font-size:1.8rem}.discovery-banner p{max-width:850px;color:#575270;margin-bottom:20px}.workbench-grid,.periodic-details{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:22px}.workbench-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.workbench-controls .fld{min-width:0}.step-dot{display:inline-grid;place-items:center;width:33px;height:33px;border-radius:50%;color:#fff;background:#715bce;font-weight:750;margin-bottom:12px}.step-dot.teal{background:#007e78}.step-dot.pink{background:#bc4a7b}.workbench-grid textarea,.card>textarea{width:100%;resize:vertical;min-height:100px;padding:13px;font:inherit;border:1px solid var(--line);background:var(--bg);color:var(--ink);border-radius:11px}.sweep-box{padding:14px;background:var(--panel2);border-radius:12px;margin-top:16px}.sweep-box .fld{margin-top:0}.readings-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}.readout-card{flex:1;border:1px solid var(--line);padding:12px;border-radius:12px;min-width:100px}.readout-card strong{display:block;color:var(--accent);font-size:1.5rem}.readout-card small{font-size:.75rem}.discovery-chart{width:100%;height:270px;margin-top:18px}.discovery-results{margin-top:18px}.pane>.card{margin-bottom:22px}.tblscroll{overflow:auto}.data{width:100%;border-collapse:collapse;font-size:.82rem}.data caption{text-align:left;font-weight:650;padding:10px 0}.data th,.data td{padding:10px 12px;text-align:left;border-bottom:1px solid var(--line);white-space:nowrap}.data th{background:var(--panel2)}
.resource-mini-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}.resource-mini{text-align:left;background:var(--panel);border:1px solid var(--line);border-radius:13px;padding:16px;cursor:pointer;line-height:1.55}.resource-mini:hover{border-color:var(--accent)}.resource-mini small{font-size:.65rem;display:block;color:var(--accent);margin-bottom:8px;font-weight:700;letter-spacing:.06em}.resource-mini b{font-size:.85rem}.lesson-collection{margin:26px 0}.library-toolbar{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin:24px 0}.library-toolbar input[type="search"]{flex:2;min-width:250px}.library-toolbar select{flex:1;min-width:180px}.library-toolbar label{font-size:.85rem;display:flex;gap:8px;align-items:center}.library-toolbar input[type="checkbox"]{width:18px;height:18px}.library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.library-card{background:var(--panel);border:1px solid var(--line);border-radius:17px;padding:23px;display:flex;flex-direction:column;align-items:flex-start}.library-card h3{font-size:1.02rem;margin:4px 0}.library-card p{font-size:.8rem}.library-card .btn{margin-top:auto}
.resource-dialog{max-width:min(1100px,94vw);width:100%;max-height:90vh;padding:24px;border:1px solid var(--line);border-radius:20px;background:var(--panel);color:var(--ink);box-shadow:0 22px 90px #14132a55}.resource-dialog::backdrop{background:#17142e88;backdrop-filter:blur(4px)}.dialog-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;position:sticky;top:-24px;background:var(--panel);padding:16px 0;z-index:2}.dialog-head h2{font-size:1.3rem}.resource-text{white-space:pre-wrap;font-size:.9rem;line-height:1.8;max-height:48vh;overflow:auto;border:1px solid var(--line);padding:24px;border-radius:12px}.pdf-reader,.live-reader{display:block;width:100%;height:62vh;border:1px solid var(--line);border-radius:12px;margin:16px 0}.video-reader{width:100%;aspect-ratio:16/9;border:0;border-radius:12px}.note{border-radius:12px;padding:14px 17px;font-size:.85rem}.library-card .eyebrow{font-size:.62rem}
.periodic-toolbar{display:flex;gap:18px;flex-wrap:wrap}.periodic-toolbar .fld{flex:1;min-width:160px}.periodic-toolbar .fld:first-child{flex:2}.ptable-scroll{overflow-x:auto;padding:5px 5px 15px}.studio-ptable{display:grid;grid-template-columns:repeat(18,minmax(42px,1fr));grid-template-rows:22px repeat(7,76px) 10px repeat(2,76px);gap:4px;min-width:920px}.ptable-group{text-align:center;color:var(--muted);font-size:.65rem}.element-cell{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--family);color:#25243d;border:1px solid #0000000e;border-radius:7px;padding:3px 1px;cursor:pointer;overflow:hidden}.element-cell:hover{outline:2px solid #7e66c7;z-index:1;transform:translateY(-2px)}.element-cell.selected{outline:3px solid #6552cf;outline-offset:1px;z-index:2}.element-cell small{font-size:.58rem;line-height:1.2;align-self:flex-start;padding-left:4px}.element-cell b{font-size:1.2rem;line-height:1.25}.element-name{font-size:.46rem;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.element-value{font-size:.56rem;font-weight:650;line-height:1.4}.element-meter{position:absolute;bottom:0;left:0;height:3px;background:#4b3e7966}.element-cell.dimmed{opacity:.17}.fblock-label{align-self:center;font-size:.6rem;color:var(--muted);text-align:center}.family-legend{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0}.family-legend button{font-size:.68rem;border-radius:8px;border:1px solid #00000012;background:var(--family);color:#29263c;padding:7px 10px;cursor:pointer}.periodic-details{margin-top:23px}.element-heading{display:flex;align-items:center;gap:20px;margin-bottom:24px}.element-big{width:90px;height:98px;border-radius:16px;color:#27223f;padding:10px;display:flex;flex-direction:column;align-items:center;justify-content:center}.element-big small{align-self:flex-start;font-size:.75rem}.element-big b{font-size:2.5rem;line-height:1.1}.element-heading h2{font-size:2rem}.element-heading p{margin:6px 0}.element-heading .eyebrow{margin-bottom:5px}.element-facts{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:12px}.element-facts>div{background:var(--bg);border-radius:10px;padding:12px}.element-facts dt{font-size:.7rem;color:var(--muted)}.element-facts dd{font-weight:700;margin:4px 0 0;font-size:.9rem}.atom-figure{margin:15px 0;text-align:center}.atom-figure svg{height:220px;width:100%}.atom-figure figcaption{font-size:.7rem;color:var(--muted)}.atom-figure .mono{font-size:.75rem;overflow-wrap:anywhere}.compare-row{display:grid;grid-template-columns:35px minmax(70px,1fr) 140px;align-items:center;gap:12px;margin:18px 0;font-size:.78rem}.compare-track{height:18px;background:var(--panel2);border-radius:20px;overflow:hidden}.compare-track span{display:block;height:100%;border-radius:20px;transition:width .25s}.trend-bars{display:flex;flex-wrap:wrap;gap:7px;margin-top:15px}.trend-connections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.trend-connections>div{padding:17px;border-radius:13px;background:var(--bg);border-top:3px solid #ab9fe4}.trend-connections>div:nth-child(2n){border-color:#65b9aa}.trend-connections>div:nth-child(3n){border-color:#efbd69}.trend-connections b{font-size:.85rem}.trend-connections p{font-size:.82rem;color:var(--muted);margin-bottom:0}.source-notes{margin-top:23px;color:var(--muted);font-size:.8rem}.source-notes summary{cursor:pointer}.source-notes .chips a{margin-right:15px}
.access-tools{position:fixed;bottom:16px;right:16px;display:flex;gap:5px;z-index:35;padding:5px;background:var(--panel);border:1px solid var(--line);border-radius:14px;box-shadow:0 3px 15px #2f275022}.access-tools button{padding:7px 12px;min-height:38px;background:var(--panel);border:0;border-radius:9px;color:var(--accent);cursor:pointer;font-size:.8rem;font-weight:750}.access-tools button[aria-pressed="true"]{background:var(--panel2)}.studio-large{font-size:19px}.studio-large body{font-size:18px}.studio-focus .side{display:none}.studio-focus .shell{grid-template-columns:1fr}.studio-focus .wrap{max-width:1400px;margin:auto}.studio-focus .top nav{display:none}.labgrid{gap:14px}.lab .panel{border-radius:14px}.ctrls input[type="range"]{accent-color:#7155d4;min-height:30px}.stagewrap{border-radius:14px;overflow:hidden}.labhost .labbtns{gap:8px}.labhost .btn{font-size:.78rem;padding:8px 12px}.lab .why{font-size:.9rem}.stratgrid{gap:13px}.strat{border-radius:15px}.gsummary{border-radius:18px}.gsteps>li{border-radius:14px}.mhecard{border-radius:18px}
@media(min-width:1700px){.studio-ptable{grid-template-rows:22px repeat(7,85px) 10px repeat(2,85px)}.element-name{font-size:.56rem}.element-cell b{font-size:1.35rem}}
@media(max-width:1200px){.shell{grid-template-columns:minmax(0,1fr)}.top nav{gap:5px}.navbtn{font-size:.72rem;padding:6px 9px}.hero{grid-template-columns:1fr}.hero .stats{grid-template-columns:repeat(4,1fr)}.discovery-path{grid-template-columns:repeat(2,minmax(0,1fr))}.discovery-tile{min-height:215px}.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.resource-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.trend-connections{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.shell{grid-template-columns:1fr}.menubtn{display:block}.side{display:none}.side.open{display:block}.wrap{padding:22px 18px 65px}.top{padding:10px 14px;gap:10px}.top nav{justify-content:flex-start;width:100%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:5px}.navbtn{white-space:nowrap}.brand b{font-size:.95rem}.workbench-grid,.periodic-details{grid-template-columns:1fr}.hero{padding:28px}.hero .stats{grid-template-columns:repeat(2,1fr)}.discovery-banner{padding:25px}.sectionh{flex-wrap:wrap}.card{padding:20px}.labgrid{grid-template-columns:1fr}.ctrlpanel{order:0}}
.periodic-float-launch{position:fixed;z-index:1200;right:0;top:42%;writing-mode:vertical-rl;transform:rotate(180deg);border:0;border-radius:0 12px 12px 0;padding:16px 11px;background:linear-gradient(160deg,#6954ce,#008d83);color:#fff;font-weight:750;box-shadow:0 6px 24px #25204744;cursor:pointer}.periodic-float-launch:hover{filter:brightness(1.08)}.periodic-float-drawer{position:fixed;z-index:1201;inset:0 0 0 auto;width:min(470px,96vw);height:100dvh;overflow:auto;padding:18px;background:var(--panel,#fff);color:var(--ink,#25233a);box-shadow:-12px 0 42px #17152f40;border-left:1px solid var(--line,#ddd);animation:periodic-drawer-in .2s ease-out}.periodic-float-drawer[hidden]{display:none}.periodic-float-head{display:flex;align-items:center;justify-content:space-between;position:sticky;top:-18px;z-index:2;margin:-18px -18px 12px;padding:12px 18px;background:var(--panel,#fff);border-bottom:1px solid var(--line,#ddd)}.periodic-float-head h2{margin:.2em 0;font-size:1.25rem}.periodic-float-close{width:38px;height:38px;border:0;border-radius:50%;background:var(--panel2,#f2effb);font-size:1.6rem;cursor:pointer;color:inherit}.periodic-float-tools{display:grid;grid-template-columns:1fr;gap:8px;margin:12px 0}.periodic-float-tools input,.periodic-float-tools select{width:100%;min-height:42px;padding:8px 10px;border:1px solid var(--line,#ddd);border-radius:9px;background:var(--bg,#fff);color:inherit;font:inherit}.periodic-float-grid{display:grid;grid-template-columns:repeat(18,minmax(17px,1fr));grid-template-rows:repeat(9,35px);gap:2px;min-width:0;margin:12px 0 16px}.periodic-float-cell{min-width:0;padding:1px;border:1px solid #0001;border-radius:4px;background:var(--family);color:#24223a;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer}.periodic-float-cell small{font-size:8px;line-height:1}.periodic-float-cell b{font-size:11px;line-height:1.1}.periodic-float-cell i{font-size:6px;line-height:1;font-style:normal}.periodic-float-cell.dimmed{opacity:.2}.periodic-float-cell.selected{outline:2px solid #5643c0;z-index:1}.periodic-float-info{padding:12px;border:1px solid var(--line,#ddd);border-radius:13px;background:var(--panel2,#f7f5fc);margin:14px 0}.periodic-float-element{display:flex;align-items:center;gap:10px;padding:10px;border-radius:10px;background:color-mix(in srgb,var(--family) 75%,white)}.periodic-float-element b{font-size:1.7rem}.periodic-float-element span{font-weight:700}.periodic-float-element small{margin-left:auto;text-align:right}.periodic-float-info dl{display:grid;grid-template-columns:1fr 1fr;gap:6px}.periodic-float-info dl div{padding:8px;border-radius:8px;background:var(--panel,#fff)}.periodic-float-info dt{font-size:.7rem;color:var(--muted)}.periodic-float-info dd{margin:4px 0;font-weight:700;font-size:.8rem}@keyframes periodic-drawer-in{from{transform:translateX(22px);opacity:.5}to{transform:translateX(0);opacity:1}}@media(max-width:520px){.periodic-float-grid{grid-template-rows:repeat(9,30px)}.periodic-float-cell b{font-size:9px}.periodic-float-info dl{grid-template-columns:1fr}.periodic-float-launch{top:auto;bottom:18px;right:12px;writing-mode:horizontal-tb;transform:none;border-radius:30px;padding:13px 16px}.periodic-float-element{flex-wrap:wrap}.periodic-float-element small{margin-left:0}}
@media(max-width:540px){.discovery-path,.library-grid,.resource-mini-grid{grid-template-columns:1fr}.discovery-tile{min-height:180px}.tile-top{margin-bottom:12px}.discovery-tile p{margin-bottom:15px}.hero h1{font-size:2rem}.workbench-controls{grid-template-columns:1fr}.trend-connections{grid-template-columns:1fr}.mission-controls{align-items:stretch;flex-direction:column}.mission-controls .fld{width:100%}.element-facts{grid-template-columns:1fr 1fr}.compare-row{grid-template-columns:28px minmax(50px,1fr) 110px;gap:7px}.journey-nav a{font-size:.72rem}.library-toolbar input[type="search"]{min-width:100%}.dialog-head h2{font-size:1rem}.resource-dialog{padding:16px}.resource-text{padding:16px}.access-tools{bottom:8px;right:8px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{.top,.side,.access-tools,.journey-nav,.mission-controls,.library-toolbar,.noprint{display:none!important}.shell{display:block}.wrap{padding:0}.hero,.discovery-banner{background:white;color:black;box-shadow:none}.card,.mission-card{break-inside:avoid;box-shadow:none}.discovery-chart{max-height:220px}}
.ion-pair{display:flex;align-items:center;justify-content:center;gap:15px}.ion-pair svg{width:40%;max-width:250px;height:auto}.ion-pair>span{font-size:2rem;color:var(--accent)}.ion-series{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0}

/* Classroom controls stay within their cards at smartboard, tablet and phone widths. */
.gtools{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:18px;align-items:stretch}.gtools>.card{min-width:0}.gtimer{container-type:inline-size;display:flex;flex-direction:column;gap:12px}.gtimer h3{margin:0}.gtimer .eyebrow{margin:0}.timer-display{display:grid;place-items:center;min-width:0;width:100%;padding:18px 8px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(135deg,var(--panel2),var(--bg));overflow:hidden}.gtime{font-family:var(--f-mono);font-size:2.4rem;font-size:clamp(1.7rem,20cqw,3.8rem);font-weight:750;font-variant-numeric:tabular-nums;line-height:1.2;letter-spacing:-.055em;white-space:nowrap;max-width:100%;text-align:center;padding:0}.timer-status{font-size:.8rem;color:var(--muted);line-height:1.55;min-height:2.9em}.timer-custom{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px}.timer-custom .fld{flex:1;min-width:75px;margin:0}.timer-custom input{width:100%;min-height:44px;padding:9px 10px;font-variant-numeric:tabular-nums}.timer-custom .btn{flex:1;white-space:normal}.gtimer .labbtns{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}.gtimer .labbtns .btn{flex:1;min-width:70px;padding:9px 10px;font-size:.78rem}.gnum{min-width:6rem;max-width:100%;min-height:44px;line-height:1.4;font-variant-numeric:tabular-nums}.gpick{max-width:100%;overflow-wrap:anywhere;line-height:1.3;font-size:clamp(1.8rem,3vw,3rem)}.gscore>div{min-width:0;max-width:100%;overflow-wrap:anywhere}.gtool .labbtns{gap:9px}.gq{margin-top:18px}.gqtext{font-size:clamp(1.08rem,1.65vw,1.35rem);font-weight:650;line-height:1.65;overflow-wrap:anywhere}.board-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border:0;padding:0;margin:18px 0;min-width:0}.board-options legend{padding:0;margin-bottom:12px;color:var(--muted);font-size:.8rem}.board-option{display:flex;align-items:center;gap:12px;padding:17px;border:1px solid var(--line);border-radius:14px;min-width:0;background:var(--panel);cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s;line-height:1.6;font-size:.93rem;overflow-wrap:anywhere}.board-option:hover{background:var(--panel2);border-color:var(--accent)}.board-option.selected{background:var(--panel2);border:2px solid var(--accent);padding:16px;box-shadow:0 3px 12px #6453ce12}.board-option:focus-within{outline:3px solid var(--accent);outline-offset:3px}.board-option input[type=radio]{width:19px;height:19px;min-width:19px;accent-color:var(--accent);margin:0;flex:none}.board-letter{display:grid;place-items:center;flex:none;width:31px;height:31px;border-radius:9px;background:var(--panel2);color:var(--accent);font-weight:750;font-size:.8rem}.board-option.selected .board-letter{background:var(--accent);color:var(--accent-ink)}.board-answer{width:100%;min-height:48px;padding:12px 15px;border:1px solid var(--line);border-radius:12px;background:var(--bg);color:var(--ink);font:inherit}.board-feedback:empty{display:none}.board-feedback{margin-top:15px}.board-try{border-color:var(--amber)}.gtool .hintbox{overflow-wrap:anywhere}.gtool .btn:disabled{cursor:default;opacity:.65}.gtool.wide{border-top:4px solid var(--accent)}
@media(max-width:650px){.board-options{grid-template-columns:1fr}.board-option{padding:14px;gap:9px}.board-option.selected{padding:13px}.gtools{grid-template-columns:1fr}.timer-display{padding:22px 10px}.gtimer{max-width:100%}}
/* Offline file reader */
.resource-review-panel{margin:22px 0;border-top:4px solid var(--studio-teal)}.resource-review-panel h2{font-size:1.45rem}.review-file-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px;margin:20px 0}.review-actions{display:flex;align-items:center;flex-wrap:wrap;gap:20px;margin-top:20px}.local-file-picker{display:flex;flex-direction:column;gap:8px;font-size:.82rem;color:var(--muted);flex:1;min-width:180px}.local-file-picker input{font-size:.8rem;width:100%;max-width:100%}.file-report{display:grid;gap:9px}.file-check-row{display:flex;align-items:center;justify-content:space-between;gap:15px;background:var(--bg);border:1px solid var(--line);border-left:4px solid var(--studio-teal);border-radius:12px;padding:14px}.file-check-row>div{min-width:0}.file-check-row b{display:block;font-size:.85rem}.file-check-row small{display:block;margin:3px 0}.file-check-row code{font-size:.66rem;display:block;overflow-wrap:anywhere;line-height:1.5;color:var(--muted)}.file-check-row.missing{border-left-color:var(--danger)}.file-check-row.online{border-left-color:var(--amber)}.file-check-row .btn{flex:none;font-size:.75rem}.file-review-dialog{max-width:min(1200px,96vw);width:100%;max-height:94vh}.review-status{margin:15px 0}.review-error{border:1px solid var(--danger);color:var(--danger)}.pdf-toolbar{position:sticky;top:70px;z-index:1;display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap;background:var(--panel);padding:13px;border:1px solid var(--line);border-radius:13px;margin:17px 0}.pdf-toolbar label{display:flex;gap:8px;align-items:center;font-size:.82rem}.pdf-toolbar input{width:70px;padding:9px;border-radius:8px;border:1px solid var(--line);background:var(--bg);color:var(--ink)}.pdf-toolbar select{max-width:150px;padding:9px;border-radius:8px;background:var(--bg);border:1px solid var(--line);color:var(--ink)}.pdf-stage{max-width:100%;max-height:65vh;min-height:180px;overflow:auto;border:1px solid var(--line);border-radius:12px;background:#dcdde4;padding:16px;overscroll-behavior:contain}.pdf-stage canvas{display:block;max-width:none;background:white;margin:auto;box-shadow:0 3px 18px #2223}.review-text{margin-top:18px;border:1px solid var(--line);border-radius:12px;padding:15px}.review-text summary{cursor:pointer;font-weight:650}.page-text{white-space:pre-wrap;font-size:.9rem;line-height:1.8;max-height:40vh;overflow:auto;margin-top:14px}.office-text{margin-top:20px}.office-text section{border:1px solid var(--line);border-radius:14px;padding:22px;margin:15px 0}.review-image{display:block;max-width:100%;height:auto;margin:20px auto}.plain-file{white-space:pre-wrap;overflow-wrap:anywhere;padding:20px;background:var(--bg);border-radius:12px;max-height:65vh;overflow:auto;font-size:.85rem}.review-body>.muted{overflow-wrap:anywhere;font-size:.8rem}
@media(max-width:600px){.file-check-row{align-items:flex-start;flex-direction:column}.pdf-toolbar{top:75px;gap:8px;padding:9px}.pdf-toolbar .btn{padding:7px 10px;min-height:38px;font-size:.75rem}.file-review-dialog .dialog-head h2{font-size:1rem}.file-review-dialog .eyebrow{font-size:.55rem}.pdf-stage{padding:8px}.review-actions{align-items:stretch;flex-direction:column}}
/* Element identity and mass remain visible independently of the selected trend. */
.studio-ptable{grid-template-rows:22px repeat(7,94px) 10px repeat(2,94px)}.element-cell{gap:1px}.element-cell small{font-size:.58rem}.element-cell b{font-size:1.24rem}.element-mass{display:block;font-size:.65rem;font-weight:750;line-height:1.35;letter-spacing:-.02em}.element-value{font-size:.52rem;opacity:.75;border-top:1px solid #29243f25;padding-top:2px;width:85%;text-align:center}.element-name{font-size:.47rem}.onedrive-restore{margin:20px 0;border-left:5px solid #0078d4;background:linear-gradient(110deg,var(--panel),var(--panel2))}.onedrive-restore h2{font-size:1.6rem}.onedrive-restore .btn{background:#0067b8;color:white;border-color:#0067b8}.onedrive-restore .btn.ghost{background:var(--panel);color:var(--accent);border-color:var(--line)}.folder-lesson-link{font-size:.78rem;margin-top:14px}.source-notes .chips{margin:10px 0;line-height:2}
@media(min-width:1700px){.studio-ptable{grid-template-rows:22px repeat(7,100px) 10px repeat(2,100px)}.element-mass{font-size:.7rem}.element-name{font-size:.56rem}}
.ptable-series{background:var(--panel2);border:1px dashed var(--line);border-radius:8px;font-size:.6rem;color:var(--accent);cursor:pointer;padding:3px}.element-facts dd{overflow-wrap:anywhere}
/* Unified lesson studio */
.experiment-guide{margin:18px 0 24px;border-top:5px solid var(--studio-teal)}.experiment-guide h2{font-size:1.65rem}.experiment-variables{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:20px 0}.variable-card{padding:17px;border:1px solid var(--line);background:var(--bg);border-radius:14px;border-top:4px solid #8270da}.variable-card.variable-1{border-top-color:#36a391}.variable-card.variable-2{border-top-color:#e5ae58}.variable-card>span{font-size:.85rem;font-weight:750}.variable-card small{display:block;margin-top:4px;font-size:.72rem}.variable-card p{font-size:.85rem;line-height:1.65;margin:11px 0 0;overflow-wrap:anywhere}.experiment-guide>details{border:1px solid var(--line);border-radius:14px;padding:17px}.experiment-guide summary{font-weight:750;cursor:pointer}.procedure-checklist{list-style:none;padding:0;counter-reset:procedure;display:grid;gap:8px;margin-bottom:10px}.procedure-checklist li{counter-increment:procedure;border-bottom:1px solid var(--line);padding:10px 0}.procedure-checklist label{display:flex;gap:12px;align-items:flex-start;font-size:.9rem;line-height:1.7;cursor:pointer}.procedure-checklist label:before{content:counter(procedure,decimal-leading-zero);font-size:.7rem;color:var(--accent);font-weight:750;padding-top:4px}.procedure-checklist input{margin-top:7px;accent-color:var(--accent);width:18px;height:18px;flex:none}.procedure-checklist label:has(input:checked)>span{text-decoration:line-through;color:var(--muted)}.procedure-progress{font-size:.75rem;color:var(--studio-teal)}.integrated-library{border:1px solid var(--line);background:var(--panel);border-radius:16px;padding:20px;margin:20px 0}.integrated-library>summary{cursor:pointer;line-height:1.5}.integrated-library summary b{font-size:1rem}.integrated-library .eyebrow{margin:0 0 6px}.integrated-library>p{font-size:.85rem}.integrated-library>details{margin:15px 0;padding:13px;background:var(--bg);border:1px solid var(--line);border-radius:12px}.integrated-library .resource-mini-grid{margin-top:17px}.embedded-lesson-activity{margin:20px 0;border:1px solid var(--line);padding:20px;background:var(--panel);border-radius:18px}.group-ready-kit{border:1px solid var(--line);background:var(--panel2);border-radius:20px;padding:24px;margin:25px 0}.group-ready-kit .sectionh{margin-top:0}.group-ready-kit .card{background:var(--panel)}.question-card-list{margin:18px 0;border:1px solid var(--line);padding:15px;border-radius:12px;background:var(--panel)}.question-card-list>ol>li{padding:10px;border-bottom:1px solid var(--line)}.question-card-list li p{margin:6px 0}.question-card-list summary,.group-ready-kit>.teacher>summary{cursor:pointer;font-weight:650}.isotope-panel{border:1px solid var(--line);background:var(--panel);border-radius:16px;padding:20px;margin:22px 0}.isotope-panel h3{font-size:1.2rem}.nuclide-symbol{font-family:var(--f-mono);font-weight:750;font-size:2.5rem;color:var(--accent);text-align:center;padding:20px;background:var(--panel2);border-radius:14px;margin:14px 0}.isotope-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.isotope-counts>div{background:var(--bg);border:1px solid var(--line);padding:11px;border-radius:10px;text-align:center}.isotope-counts small{font-size:.65rem}.isotope-counts b{display:block;font-size:1.5rem;color:var(--accent)}.isotope-detail p{font-size:.83rem;overflow-wrap:anywhere}.isotope-lesson-links{display:flex;flex-wrap:wrap;gap:9px;margin:20px 0}.isotope-lesson-links .btn{font-size:.76rem}.lesson-isotope-study{border:1px solid var(--line);padding:18px;border-radius:15px;background:var(--panel);margin:15px 0}.lesson-isotope-study>summary{cursor:pointer;font-weight:700}.isotope-panel .tblscroll{max-width:100%}.isotope-panel .data{font-size:.72rem}.element-profile .isotope-panel{padding:15px}.element-profile .isotope-panel .eyebrow{font-size:.55rem}.element-profile .nuclide-symbol{font-size:2rem}
@media(max-width:1050px){.experiment-variables{grid-template-columns:1fr}.experiment-guide h2{font-size:1.35rem}.group-ready-kit{padding:18px}}
@media(max-width:540px){.experiment-guide{padding:17px}.integrated-library{padding:16px}.group-ready-kit{padding:12px}.isotope-panel{padding:14px}.nuclide-symbol{font-size:2rem}.isotope-counts small{font-size:.59rem}}
/* Media, assessment planning and animated concept models. */
.exam-studio,.media-studio,.concept-lab{margin:1.2rem 0;padding:1.5rem;border-top:4px solid #7761dc;border-radius:18px}.media-studio{border-color:#009b99}.concept-lab{border-color:#e3a52d}.exam-control-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:1rem;margin:1rem 0}.exam-module-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:.8rem;max-height:420px;overflow:auto;padding:.4rem}.exam-module-grid>div{background:var(--card,#fff);border:1px solid #c8c3e3;border-radius:12px;padding:.7rem}.exam-module-grid details label{display:block;margin:.5rem 0}.exam-studio input[type=number]{width:100%;min-width:0}.exam-studio .fld{min-width:0}.exam-results>ol>li{padding:.7rem;margin:.5rem 0;border-bottom:1px solid #d2cdeb}.media-file-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.7rem;max-height:470px;overflow:auto;margin:1rem 0}.media-file-list button{overflow-wrap:anywhere;white-space:normal}.media-studio input[type=file]{width:100%;min-width:0}.media-studio input[type=url],.media-studio input[type=search]{width:100%}.local-media-player{display:block;width:100%;max-height:70vh;background:#101023;margin:1rem 0;border-radius:12px}.reference-archive{margin:1.5rem 0}.reference-archive .resource-mini-grid{max-height:450px;overflow:auto}.concept-result{padding:1rem;border-radius:14px;background:color-mix(in srgb,#8972ec 9%,transparent);margin:1rem 0}.concept-result>strong{font-size:1.5rem;color:var(--accent,#6453d9)}.mix-beaker{width:160px;height:145px;border:3px solid #8479af;border-top:0;border-radius:0 0 25px 25px;display:grid;place-items:center;font-weight:bold;margin:1rem auto}.isotope-mix{display:grid;grid-template-columns:repeat(10,12px);gap:5px;margin:1rem}.isotope-mix i{width:12px;height:12px;border-radius:50%}.isotope-a{background:#6d55d7}.isotope-b{background:#009d91}.collision-model{height:130px;background:#171c35;position:relative;overflow:hidden;border-radius:15px;margin:1rem 0}.collision-model i{position:absolute;width:12px;height:12px;background:#47dfd4;border-radius:50%;animation:collision var(--collision-time,3s) linear infinite alternate}.orbital-configuration{display:flex;flex-wrap:wrap;gap:.5rem}.orbital-configuration>span{padding:.4rem .6rem;border:1px solid #b6afd7;border-radius:9px;background:color-mix(in srgb,#8972ec 10%,transparent)}.orbit-electrons{transform-origin:170px 170px;animation:electron-orbit 12s linear infinite}.atom-figure input[type=range]{max-width:140px}@keyframes electron-orbit{to{transform:rotate(360deg)}}@keyframes collision{to{transform:translate(45px,45px)}}@media(prefers-reduced-motion:reduce){.collision-model i{animation:none}}@media(max-width:600px){.exam-studio,.media-studio,.concept-lab{padding:1rem}.exam-control-grid{grid-template-columns:1fr}.exam-module-grid{grid-template-columns:1fr}.exam-results .labbtns{align-items:stretch;flex-direction:column}.media-file-list{grid-template-columns:1fr}}
.exam-unit-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:.6rem;margin:1rem 0}.exam-unit-grid>label{padding:.7rem;border:1px solid #c3bcdf;border-radius:10px;background:color-mix(in srgb,#8972ec 8%,transparent)}
.exam-unit-grid>.exam-unit{align-self:start;border:1px solid #c8c3e3;border-radius:12px;background:color-mix(in srgb,#8972ec 6%,var(--panel,#fff));overflow:hidden}.exam-unit>summary,.exam-module-choice>summary{display:flex;align-items:center;gap:.45rem;cursor:pointer;padding:.75rem;font-weight:700}.exam-unit>summary{background:color-mix(in srgb,#8972ec 11%,var(--panel,#fff))}.exam-unit-modules{padding:0 .55rem .55rem}.exam-module-choice{border-top:1px solid var(--line,#ddd);padding:.15rem 0}.exam-module-choice>summary{font-weight:600;font-size:.88rem}.exam-lesson-list{padding:0 .6rem .5rem 1.7rem}.exam-lesson-list label{display:flex;align-items:flex-start;gap:.45rem;margin:.4rem 0;font-size:.82rem;line-height:1.35}.exam-lesson-list input,.exam-module-choice summary input,.exam-unit summary input{flex:0 0 auto;margin-top:.1rem}.exam-unit-modules[hidden],.exam-lesson-list[hidden]{display:none}
.exam-attempt fieldset{padding:1rem;border:1px solid #c0b8dc;border-radius:12px;margin:1.2rem 0}.exam-attempt legend{font-weight:700;white-space:normal;max-width:100%;padding:.3rem}.exam-choice{display:block;padding:.7rem;border:1px solid #d1cae3;border-radius:8px;margin:.5rem 0}.exam-attempt input:not([type=radio]),.exam-attempt textarea{width:100%;max-width:100%}.exam-attempt textarea{min-height:110px}
.grade-editor{padding:1.5rem;border-top:4px solid #009d98;margin:1rem 0}.grade-editor-table{max-height:65vh;overflow:auto;margin:1rem 0}.grade-editor-table thead{position:sticky;top:0;z-index:1;background:var(--card,#fff)}.grade-editor-table td:first-child{min-width:190px}.grade-editor-table td small{display:block;font-size:.8rem;color:var(--muted,#615d76);margin-top:.3rem}.grade-editor-table input[type=checkbox]{width:22px;height:22px;cursor:pointer}.grade-editor-table th:not(:first-child),.grade-editor-table td:not(:first-child){text-align:center}.grade-save-bar{display:flex;flex-wrap:wrap;gap:.8rem;padding:1rem 0}.grade-editor>.fld input{max-width:450px;width:100%}@media(max-width:600px){.grade-editor{padding:1rem}.grade-editor-table td:first-child{min-width:150px}.grade-editor-table th,.grade-editor-table td{padding:.5rem}}
.concept-inputs{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin:1rem 0}.concept-inputs input{width:100%;max-width:100%}.concept-plot{overflow:auto;border:1px solid #d8d2e8;border-radius:14px;background:var(--card,#fff);padding:.5rem;margin:1rem 0}.concept-chart{display:block;width:100%;min-width:480px;height:auto;max-height:380px}.chart-tick{font:12px system-ui,sans-serif;fill:#544e68}.chart-label{font:13px system-ui,sans-serif;fill:#33294c}.chemx-catalog{padding:1.2rem;margin:1rem 0}.chemx-catalog-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(270px, 100%),1fr));gap:.8rem;margin:1rem 0}.chemx-catalog-grid .library-card{margin:0}@media(max-width:600px){.concept-inputs,.chemx-catalog-grid{grid-template-columns:1fr}.concept-chart{min-width:420px}}
/* Guided five-step lesson path */
.five-e-frame{padding:1.25rem;margin:0 0 1.2rem;border-radius:17px;border:1px solid var(--line);border-top:5px solid hsl(var(--h) 60% 55%);background:color-mix(in srgb,hsl(var(--h) 70% 70%) 10%,var(--panel))}.five-e-frame>p{line-height:1.7}.five-e-frame .eyebrow{color:hsl(var(--h) 48% 40%)}.five-e-context{font-size:1.05rem;font-weight:600}.five-e-focus{padding:1rem;border-radius:12px;background:var(--panel);display:grid;gap:.4rem}.five-e-prediction{width:100%;resize:vertical}
.media-studio{overflow:hidden}.drive-status{padding:10px 13px;border-radius:11px;background:#eaf5ff;color:#274d6a}.drive-actions{display:flex;flex-wrap:wrap;gap:9px;margin:15px 0}.drive-pick{position:relative;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.drive-pick input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.drive-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}.drive-filter-grid label{display:grid;gap:6px;font-size:.76rem;font-weight:700;color:var(--muted)}.drive-filter-grid select{width:100%;min-width:0;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--ink)}.media-studio>input[type=search]{width:100%;padding:11px 13px;border:1px solid var(--line);border-radius:11px;background:var(--panel);color:var(--ink)}.media-file-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:740px;overflow:auto;padding:3px}.drive-count{grid-column:1/-1;font-size:.78rem;color:var(--muted);margin:4px 0}.drive-resource-card{min-width:0}.drive-card-actions{height:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:stretch}.drive-resource{width:100%;height:100%;display:grid;grid-template-columns:1fr;align-content:start;gap:5px;min-width:0;border:1px solid var(--line);color:var(--ink);cursor:pointer}.drive-resource small{font-size:.63rem}.drive-resource b,.drive-path,.drive-meta{display:block;overflow-wrap:anywhere}.drive-path{font-size:.68rem;color:var(--muted);line-height:1.4}.drive-meta{font-size:.67rem;color:var(--accent);margin-top:3px}.drive-resource:disabled{opacity:.72;cursor:default}.drive-download{align-self:start;font-size:.68rem;padding:8px;white-space:nowrap}.drive-more{grid-column:1/-1;justify-self:center}.media-studio details{margin-top:16px}.media-studio details input[type=url]{display:block;width:100%;padding:10px;margin:8px 0;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--ink)}@media(max-width:680px){.drive-filter-grid{grid-template-columns:1fr}.media-file-list{grid-template-columns:1fr}.drive-card-actions{grid-template-columns:minmax(0,1fr) auto}}
/* the periodic table inside a lab fits the middle column instead of scrolling sideways */
.lab .ptable{min-width:0;grid-template-columns:repeat(18,minmax(0,1fr));gap:2px}
.lab .pt{min-height:36px;padding:1px 0;overflow:hidden}
.lab .pt b{font-size:clamp(.6rem,1.1vw,.85rem)}
.lab .pt small,.lab .pt i{font-size:clamp(.42rem,.7vw,.58rem)}
@media(max-width:700px){.lab .ptable{min-width:560px}}
