#app #screen-study {
  color:var(--text-main, #f3f7ff);
  gap:22px;
  min-width:0;
  align-items:stretch;
}
#screen-study *, #screen-study *::before, #screen-study *::after { box-sizing:border-box; }
#screen-study [hidden] { display:none !important; }
#screen-study #tb-study-heading {
  margin:0;
  font-size:clamp(26px, 3vw, 36px);
  line-height:1.2;
  letter-spacing:-.025em;
  text-align:left;
}
#screen-study [data-study-sections] {
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:10px;
  max-width:850px;
}
#screen-study :is(button, input, select, textarea) { font:inherit; }
#screen-study :is(button, input, select, textarea, summary, a):focus-visible {
  outline:3px solid var(--warning, #ffa15b);
  outline-offset:3px;
}
#screen-study button { cursor:pointer; }
#screen-study button:disabled { cursor:wait; opacity:.65; }
#screen-study .tb-study-tab {
  min-height:50px;
  padding:11px 12px;
  border:1px solid #455976;
  border-radius:12px;
  background:#18283f;
  color:#dbe7f8;
  font-weight:750;
  line-height:1.3;
  text-align:center;
}
#screen-study .tb-study-tab:hover,
#screen-study .tb-study-tab[aria-selected="true"] {
  border-color:var(--primary, #41e4d0);
  color:var(--primary, #41e4d0);
  background:#203e50;
}
#screen-study [data-study-panel] {
  display:grid;
  align-content:start;
  gap:18px;
  width:100%;
  max-width:1280px;
  min-width:0;
  padding-bottom:24px;
}
#screen-study :is(h3,h4,h5,p) { margin:0; }
#screen-study p, #screen-study li { line-height:1.65; }
#screen-study h3 { font-size:20px; line-height:1.4; }
#screen-study h4 { font-size:17px; line-height:1.4; }
#screen-study h5 { font-size:16px; line-height:1.4; }
#screen-study :is(.tb-study-intro,.tb-study-note,.tb-study-duration) { color:var(--text-muted, #acbdd5); }
#screen-study .tb-study-intro { max-width:76ch; font-size:16px; }
#screen-study .tb-study-note { font-size:14px; }
#screen-study .tb-study-goal { color:#d4e4f4; max-width:78ch; }
#screen-study .tb-study-card,
#screen-study .tb-study-module {
  min-width:0;
  border:1px solid #384d68;
  border-radius:18px;
  background:linear-gradient(140deg,#192942,#131e33);
  box-shadow:0 8px 25px #00000018;
}
#screen-study .tb-study-card {
  display:grid;
  align-content:start;
  gap:16px;
  padding:clamp(16px, 2.8vw, 24px);
}
#screen-study .tb-study-module > details > summary {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding:20px 22px;
  cursor:pointer;
  list-style:none;
  border-radius:17px;
}
#screen-study .tb-study-module > details > summary::-webkit-details-marker { display:none; }
#screen-study .tb-study-module > details > summary h3 { flex:1; }
#screen-study .tb-study-duration { flex-shrink:0; font-size:13px; white-space:nowrap; }
#screen-study .tb-study-module > details > summary::after {
  content:'Rozwiń';
  color:var(--primary, #41e4d0);
  font-size:13px;
  font-weight:700;
}
#screen-study .tb-study-module > details[open] > summary::after { content:'Zwiń'; }
#screen-study .tb-study-module > details[open] > summary {
  border-bottom:1px solid #384d68;
  border-radius:17px 17px 0 0;
}
#screen-study .tb-study-module-body {
  display:grid;
  gap:18px;
  padding:22px;
  min-width:0;
}
#screen-study .tb-study-rules { margin:0; padding-inline-start:23px; display:grid; gap:10px; }
#screen-study .tb-study-rules li { padding-inline-start:3px; }
#screen-study .tb-study-rules li::marker { color:var(--primary, #41e4d0); }
#screen-study .tb-study-examples {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap:13px;
  min-width:0;
}
#screen-study .tb-study-example {
  display:grid;
  align-content:start;
  gap:9px;
  min-width:0;
  border-inline-start:3px solid var(--primary, #41e4d0);
  border-radius:0 10px 10px 0;
  padding:15px 17px;
  background:#0b1c2e;
  overflow-wrap:anywhere;
}
#screen-study .tb-study-nl { font-size:18px; color:#f3f9ff; font-weight:650; }
#screen-study .tb-study-translation { color:#c2d5ea; }
#screen-study .tb-study-kicker { color:var(--primary, #41e4d0); font-variant-numeric:tabular-nums; font-weight:750; }
#screen-study .tb-study-chunks { display:flex; gap:6px; flex-wrap:wrap; margin-top:3px; }
#screen-study .tb-study-chunks > span { padding:4px 8px; border:1px solid #405773; border-radius:6px; background:#192b44; font-size:14px; }
#screen-study .tb-study-chunks > [data-study-finite-verb] { background:#164849; border-color:#41e4d0; color:#9ffff0; }
#screen-study .tb-study-audio { display:grid; gap:4px; margin-top:6px; }
#screen-study .tb-study-actions,
#screen-study .tb-study-quick { display:flex; flex-wrap:wrap; gap:8px; }
#screen-study .tb-study-button {
  min-height:44px;
  padding:9px 14px;
  border:1px solid #506884;
  border-radius:10px;
  background:#22334d;
  color:#eef6ff;
  font-weight:650;
  line-height:1.35;
  text-align:center;
  overflow-wrap:anywhere;
}
#screen-study .tb-study-button:hover { border-color:var(--primary, #41e4d0); background:#244456; }
#screen-study .tb-study-button-primary { background:var(--primary, #41e4d0); border-color:var(--primary, #41e4d0); color:#08272c; font-weight:750; }
#screen-study .tb-study-button-primary:hover { background:var(--primary-hover, #30beaf); color:#08272c; }
#screen-study .tb-study-status { font-size:14px; color:#d3e5f7; overflow-wrap:anywhere; }
#screen-study .tb-study-status:empty { display:none; }
#screen-study [data-result="correct"] { color:#8bf0c7; }
#screen-study [data-result="wrong"], #screen-study .tb-study-error { color:#ffc29d; }
#screen-study .tb-study-button[data-result="correct"] { border-color:#8bf0c7; background:#18483e; }
#screen-study .tb-study-button[data-result="wrong"] { border-color:#ffc29d; background:#553728; }
#screen-study .tb-study-details,
#screen-study .tb-study-practice,
#screen-study .tb-study-number-list {
  min-width:0;
  border:1px solid #3d526c;
  border-radius:12px;
  padding:14px 17px;
  background:#142138;
}
#screen-study :is(.tb-study-details,.tb-study-practice,.tb-study-number-list) > summary {
  min-height:30px;
  cursor:pointer;
  color:#dff9f5;
  font-weight:700;
  line-height:1.5;
}
#screen-study :is(.tb-study-details,.tb-study-practice,.tb-study-number-list)[open] > summary { margin-bottom:17px; }
#screen-study .tb-study-details > p + p { margin-top:13px; }
#screen-study .tb-study-details > .tb-study-example { margin-bottom:10px; }
#screen-study .tb-study-sources { color:#b5c8de; font-size:13px; }
#screen-study .tb-study-sources > summary { min-height:38px; padding-block:8px; cursor:pointer; text-decoration:underline; text-underline-offset:4px; }
#screen-study .tb-study-sources ul { margin:6px 0 0; padding-inline-start:20px; display:grid; gap:12px; }
#screen-study .tb-study-sources a { color:#8deee2; overflow-wrap:anywhere; }
#screen-study .tb-study-sources li > span { display:block; font-size:12px; color:#adbed4; }
#screen-study .tb-study-tasks { display:grid; gap:18px; }
#screen-study .tb-study-task { display:grid; gap:12px; min-width:0; padding:18px 0 0; border-top:1px solid #3a5068; }
#screen-study .tb-study-task:first-child { border-top:0; padding-top:0; }
#screen-study .tb-study-choices { display:grid; gap:8px; }
#screen-study .tb-study-choices > button { text-align:left; }
#screen-study .tb-study-answer-form { display:grid; gap:10px; }
#screen-study :is(input,select,textarea) {
  width:100%;
  min-width:0;
  min-height:48px;
  padding:11px 13px;
  border:1px solid #66809c;
  border-radius:10px;
  background:#0b192b;
  color:#f3f8ff;
  font-size:16px;
  line-height:1.4;
}
#screen-study label { display:block; color:#dce9f7; font-weight:650; line-height:1.4; }
#screen-study textarea { resize:vertical; }
#screen-study input[aria-invalid="true"] { border-color:#ffc29d; }
#screen-study .tb-study-answer-form > button { justify-self:start; }
#screen-study #tb-study-number { max-width:220px; font-size:23px; font-variant-numeric:tabular-nums; }
#screen-study .tb-study-number-result { display:grid; gap:8px; min-width:0; }
#screen-study .tb-study-result-nl { color:var(--primary, #41e4d0); font-size:clamp(25px, 3vw, 36px); font-weight:750; overflow-wrap:anywhere; }
#screen-study .tb-study-pronunciation-help { min-width:0; font-size:14px; overflow-wrap:anywhere; }
#screen-study .tb-study-pronunciation-help:empty { display:none; }
#screen-study .tb-study-pronunciation-help > p + p { margin-top:6px; }
#screen-study .tb-study-ipa { color:#a0eee5; font-family:'Segoe UI',system-ui,sans-serif; font-size:18px; letter-spacing:.025em; }
#screen-study .tb-study-number-list { overflow-x:auto; }
#screen-study table { border-collapse:collapse; width:100%; text-align:left; }
#screen-study th, #screen-study td { padding:10px 8px; border-bottom:1px solid #30445f; line-height:1.5; }
#screen-study thead th { color:#a6e9e1; font-size:13px; }
#screen-study tbody th { color:#b9cde3; font-weight:600; width:75px; }
#screen-study td[lang="nl"] { color:#f4f8ff; font-weight:650; overflow-wrap:anywhere; }
#screen-study td:last-child { width:85px; }
#screen-study .tb-study-clock-fields { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:14px; max-width:420px; }
#screen-study .tb-study-clock-fields > div { display:grid; gap:8px; }
#screen-study .tb-study-clock-digital { display:block; font-size:clamp(42px, 6vw, 64px); line-height:1.1; color:var(--primary, #41e4d0); font-weight:750; font-variant-numeric:tabular-nums; letter-spacing:.025em; margin-block:4px; }
#screen-study .tb-study-clock-results { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; min-width:0; }
#screen-study .tb-study-clock-results h4 { color:#b9d0e6; font-size:14px; font-weight:600; }
#screen-study .tb-study-quick > button { min-width:52px; font-variant-numeric:tabular-nums; }
#screen-study .tb-study-phones { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
#screen-study .tb-study-phone { display:grid; align-content:start; gap:8px; min-width:0; padding:16px; border:1px solid #344d68; border-radius:12px; background:#101f34; }
#screen-study .tb-study-phone h4 { color:var(--primary, #41e4d0); overflow-wrap:anywhere; }
#screen-study .tb-study-pronunciation-result { min-width:0; display:grid; gap:10px; }
@media (max-width:900px) {
  #screen-study .tb-study-clock-results { grid-template-columns:1fr; }
  #screen-study .tb-study-phones { grid-template-columns:1fr; }
}
@media (max-width:600px) {
  #app #screen-study { gap:16px; }
  #screen-study [data-study-panel] { gap:14px; }
  #screen-study .tb-study-module > details > summary { padding:16px; flex-wrap:wrap; gap:9px; }
  #screen-study .tb-study-module > details > summary h3 { flex-basis:100%; font-size:18px; }
  #screen-study .tb-study-module > details > summary::after { margin-inline-start:auto; }
  #screen-study .tb-study-module-body { padding:16px; gap:15px; }
  #screen-study .tb-study-example { padding:13px; }
  #screen-study :is(.tb-study-details,.tb-study-practice,.tb-study-number-list) { padding:13px; }
  #screen-study .tb-study-examples { grid-template-columns:1fr; }
  #screen-study th, #screen-study td { padding:9px 5px; }
  #screen-study .tb-study-clock-fields { gap:10px; }
}
@media (max-width:420px) {
  #screen-study [data-study-sections] { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  #screen-study .tb-study-tab { min-height:46px; padding:10px; }
  #screen-study .tb-study-quick { gap:6px; }
  #screen-study .tb-study-quick > button { min-width:47px; padding-inline:10px; }
}
@media (prefers-reduced-motion:reduce) {
  #screen-study *, #screen-study *::before, #screen-study *::after { scroll-behavior:auto; animation:none; transition:none; }
}
