.notebook-page .site-header{padding:16px 0}.notebook-page .brand img{width:210px}.notebook-intro{padding:19px 0 22px}.notebook-intro .back{margin-bottom:17px;font-size:13px}.notebook-welcome{display:flex;align-items:center;gap:22px;max-width:850px}.notebook-welcome>img{width:126px;height:126px;object-fit:contain;flex:none}.notebook-welcome .eyebrow{font-size:10px;color:#207a1e;margin-bottom:8px}.notebook-welcome h1{font-size:36px;letter-spacing:-1px;line-height:1.15;margin-bottom:12px}.notebook-welcome p{font-size:15px;line-height:1.5;color:#555;margin:0;max-width:590px}.notebook-panel{padding:28px;border:2px solid #24a323;border-radius:18px;background:white;scroll-margin-top:15px}.notebook-modes{border:0;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:15px;min-width:0}.notebook-modes legend{font-size:23px;font-weight:800;padding:0;margin-bottom:18px;letter-spacing:-.5px}.notebook-modes label{position:relative;display:flex;align-items:center;gap:12px;padding:22px 18px;border:1px solid #b5bfc3;border-radius:12px;cursor:pointer;min-width:0}.notebook-modes label:has(input:checked){border:2px solid #009bd0;background:#f1fbff;padding:21px 17px}.notebook-modes input{accent-color:#009bd0;width:20px;height:20px;flex:none}.notebook-modes strong{display:block;font-size:19px;line-height:1.3}.notebook-modes small{display:block;font-size:13px;line-height:1.5;color:#555;margin-top:7px}.notebook-start-row{display:flex;align-items:center;gap:22px;margin-top:23px}.notebook-start-row p{font-size:13px;color:#555;margin:0}.notebook-start-row .button,.notebook-check,.notebook-next{background:#207f20;border-color:#207f20}.notebook-start-row .button:hover,.notebook-check:hover,.notebook-next:hover{background:#176818}.notebook-round-meta{display:flex;align-items:center;gap:18px;font-size:13px}.notebook-round-meta strong{color:#207a1e}.notebook-round-meta button{margin-left:auto;border:0;background:none;text-decoration:underline;text-underline-offset:3px;min-height:44px;padding:5px;font-size:12px}#round-progress{display:block;width:100%;height:6px;accent-color:#009bd0;border:0;border-radius:8px;margin:2px 0 22px}#round-title{font-size:26px;margin:0 0 23px;line-height:1.2;letter-spacing:-.6px}#round-title:focus,#result-heading:focus{outline:none}.notebook-round-layout{display:grid;grid-template-columns:minmax(200px,.85fr) minmax(0,1.15fr);align-items:start;gap:38px}.notebook-cover{width:min(100%,260px);min-height:245px;margin:0 auto;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;border:2px solid #009bd0;border-left:12px solid #009bd0;background:#f5fbfd;border-radius:5px 14px 14px 5px;box-shadow:4px 5px 0 #e3eef2;text-align:center;padding:20px 12px}.notebook-cover>span{font-size:10px;font-weight:800;letter-spacing:1.5px;color:#26718c}.notebook-cover strong{font-size:66px;line-height:1.2;letter-spacing:2px;font-variant-numeric:tabular-nums}.notebook-cover small{font-size:11px;color:#566b75}#round-stimulus,#round-answer{min-width:0;max-width:100%}.notebook-fields{display:block}.notebook-choice-group{display:block;min-width:0;margin:0 0 18px;padding:0;border:0}.notebook-choice-group legend{display:block;float:none;max-width:100%;padding:0;margin:0 0 9px;font-size:13px;font-weight:800;line-height:1.5}.notebook-choice-list{display:grid;gap:9px;min-width:0}.choice-columns-2{grid-template-columns:repeat(2,minmax(0,1fr))}.choice-columns-3{grid-template-columns:repeat(3,minmax(0,1fr))}.choice-columns-4{grid-template-columns:repeat(4,minmax(0,1fr))}.notebook-choice{position:relative;display:block;min-width:0;cursor:pointer}.notebook-choice>span{position:relative;display:flex;align-items:center;justify-content:center;min-height:46px;height:100%;padding:9px 23px;border:1.5px solid #aab9bf;border-radius:8px;background:#fff;font-size:14px;font-weight:700;line-height:1.4;text-align:center;overflow-wrap:anywhere}.notebook-choice input:checked+span{border-color:#007ca7;background:#effaff;box-shadow:inset 0 0 0 1px #007ca7;color:#154e61}.notebook-choice input:checked+span:after{content:'✓';position:absolute;right:7px;top:50%;transform:translateY(-50%);font-size:13px;font-weight:900}.notebook-choice input:focus-visible+span{outline:3px solid #009bd0;outline-offset:3px}.notebook-choice input:disabled+span{color:#626262;background:#fafafa;cursor:default}.notebook-choice input:checked:disabled+span{color:#154e61;background:#effaff}.notebook-check{margin-top:20px;width:100%;min-height:46px}.notebook-hint-button{display:block;border:0;border-bottom:1px dashed #26718c;background:transparent;color:#20556a;font-size:13px;font-weight:700;padding:12px 0;min-height:44px;margin-top:14px}.notebook-hint-button:disabled{opacity:.6}.notebook-hint{background:#f1f9fc;border:1px solid #bdddeb;border-radius:10px;padding:15px 18px;font-size:13px;line-height:1.6;margin:12px 0}.notebook-hint p{margin:0 0 8px}.notebook-hint p:last-child{margin-bottom:0}.notebook-specimen{display:flex;align-items:center;gap:20px;margin:0;flex-direction:column}.notebook-sheet{width:125px;line-height:0;filter:drop-shadow(3px 3px 0 #e4eaed)}.notebook-sheet svg{display:block;width:100%;height:auto;max-height:200px}.notebook-specimen figcaption{text-align:center;font-size:14px;display:grid;gap:6px;max-width:300px}.notebook-specimen figcaption strong{font-size:23px}.notebook-specimen figcaption small{display:block;font-size:11px;font-weight:400;color:#626262;margin-top:3px}.notebook-specimen figcaption span:last-child{font-size:13px;color:#555}.notebook-code-options{padding:0;border:0;min-width:0;margin:0}.notebook-code-options legend{font-size:15px;font-weight:700;margin-bottom:16px;padding:0}.notebook-code-options>div{display:grid;grid-template-columns:1fr 1fr;gap:14px}.notebook-code{border:2px solid #b9c9ce;border-radius:12px;background:#fff;font-size:31px;line-height:1.2;font-weight:800;letter-spacing:1px;padding:20px 8px;min-height:78px;min-width:0;font-variant-numeric:tabular-nums}.notebook-code:hover:not(:disabled){background:#f0faff;border-color:#009bd0}.notebook-code:disabled{opacity:1;color:#626262}.notebook-code.answer-right{color:#176818;border:3px solid #207f20;background:#f0faef}.notebook-code.answer-wrong{color:#a10010;border:3px solid #c70010;background:#fff1f2}.notebook-feedback{border-radius:12px;border:1px solid #b7d9b2;background:#f5fbf4;padding:20px;margin-top:18px}.notebook-feedback.is-incorrect{background:#fff9f5;border-color:#e4c5b2}.notebook-feedback h3{font-size:20px;margin:0 0 9px}.notebook-feedback p{font-size:14px;margin:8px 0}.notebook-feedback .notebook-explanation{font-size:13px;line-height:1.7;margin-top:14px}.notebook-feedback>a{display:inline-flex;align-items:center;font-size:12px;min-height:44px;font-weight:700;color:#20556a}.notebook-checklist{display:grid;grid-template-columns:1fr 1fr;gap:7px 15px;padding:0;list-style:none;font-size:13px;margin:15px 0}.notebook-checklist li>span{font-weight:900;color:#176818}.notebook-next{margin-top:17px}.notebook-result h2{font-size:29px;margin:12px 0}.notebook-result-score{display:block;font-size:66px;letter-spacing:-2px;color:#207f20;line-height:1.2;margin:20px 0}.notebook-result>p{font-size:15px;color:#555}.notebook-result-actions{display:flex;flex-wrap:wrap;gap:13px;margin-top:23px}.notebook-result details{border-top:1px solid #ddd;padding-top:20px;margin-top:26px}.notebook-result summary{font-weight:700;cursor:pointer;min-height:44px}.notebook-result ul{padding-left:20px;font-size:14px;line-height:1.7}.notebook-result li{padding-bottom:8px}.notebook-help{border:1px solid #d8dfe2;border-radius:12px;padding:19px 23px;margin-top:21px;margin-bottom:17px;font-size:14px;line-height:1.7}.notebook-help summary{font-weight:800;font-size:15px;min-height:30px;cursor:pointer}.notebook-help>p{max-width:850px}.notebook-example{display:grid;grid-template-columns:36px 1fr;gap:8px;max-width:310px;align-items:center;background:#f7f7f7;padding:15px;border-radius:10px}.notebook-example strong{font-size:28px;text-align:center}.notebook-example strong:nth-of-type(1){color:#207f20}.notebook-example strong:nth-of-type(2){color:#007ca8}.notebook-example strong:nth-of-type(3){color:#c90010}.notebook-sources{padding-left:20px}.notebook-sources a{display:inline-flex;align-items:center;min-height:44px;color:#20556a}.notebook-source-date{font-size:12px;color:#666}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:620px){.notebook-page .site-header{padding:12px 0 10px}.notebook-page .brand img{width:185px}.notebook-intro{padding:14px 0 17px}.notebook-intro .back{margin-bottom:14px;font-size:12px}.notebook-welcome{gap:10px;align-items:center}.notebook-welcome>img{width:84px;height:100px}.notebook-welcome .eyebrow{font-size:8px;letter-spacing:.9px;margin-bottom:5px}.notebook-welcome h1{font-size:26px;letter-spacing:-.7px;margin-bottom:8px}.notebook-welcome p{font-size:12px;line-height:1.45}.notebook-panel{padding:17px 14px;border-radius:15px}.notebook-modes{grid-template-columns:1fr;gap:10px}.notebook-modes legend{font-size:20px;margin-bottom:12px}.notebook-modes label{padding:14px 12px;min-height:78px;gap:9px}.notebook-modes label:has(input:checked){padding:13px 11px}.notebook-modes strong{font-size:16px}.notebook-modes small{font-size:12px;margin-top:4px}.notebook-start-row{flex-direction:column;align-items:stretch;gap:10px;margin-top:16px}.notebook-start-row p{font-size:11px;text-align:center}.notebook-start-row .button{min-height:46px}.notebook-round-meta{font-size:11px;gap:9px}.notebook-round-meta button{font-size:11px}#round-progress{margin:0 0 16px}#round-title{font-size:22px;margin-bottom:18px}.notebook-round-layout{grid-template-columns:1fr;gap:19px}.notebook-cover{min-height:117px;max-width:250px;padding:13px;gap:5px;border-left-width:8px}.notebook-cover>span{font-size:9px}.notebook-cover strong{font-size:45px}.notebook-cover small{font-size:10px}.notebook-choice-group{margin-bottom:16px}.notebook-choice-group legend{font-size:12px;margin-bottom:8px}.notebook-choice-list{gap:8px}.notebook-choice>span{min-height:44px;padding:9px 18px;font-size:13px}.notebook-choice input:checked+span:after{right:5px;font-size:11px}.choice-columns-4 .notebook-choice>span{padding-inline:15px}.notebook-check{margin-top:15px;min-height:44px}.notebook-specimen{flex-direction:row;justify-content:center;gap:16px;align-items:center}.notebook-sheet{width:83px;flex:none}.notebook-sheet svg{max-height:145px}.notebook-specimen figcaption{text-align:left;gap:7px}.notebook-specimen figcaption strong{font-size:22px}.notebook-specimen figcaption small{font-size:10px}.notebook-specimen figcaption span{font-size:14px}.notebook-specimen figcaption span:last-child{font-size:12px}.notebook-code-options legend{font-size:13px;margin-bottom:11px}.notebook-code-options>div{gap:10px}.notebook-code{font-size:27px;min-height:59px;padding:12px 7px}.notebook-hint-button{font-size:12px;margin-top:10px}.notebook-hint{font-size:12px;padding:13px}.notebook-feedback{padding:15px;margin-top:12px}.notebook-feedback h3{font-size:18px}.notebook-feedback p{font-size:13px}.notebook-checklist{grid-template-columns:1fr;font-size:12px;gap:5px;margin:12px 0}.notebook-feedback .notebook-explanation{font-size:12px}.notebook-next{width:100%;min-height:44px;margin-top:12px}.notebook-result h2{font-size:25px}.notebook-result-score{font-size:55px;margin:16px 0}.notebook-result-actions{flex-direction:column}.notebook-help{padding:15px;font-size:12px;margin-top:16px}.notebook-help summary{font-size:13px;min-height:44px;display:list-item}.notebook-sources{padding-left:16px}.notebook-sources a{font-size:12px}.notebook-page .coloring-privacy{font-size:10px}}

/* Keep the prompt and answer controls in separate normal-flow blocks on phones and small tablets. */
@media(max-width:800px){
  .notebook-round-layout{display:block}
  #round-stimulus{position:static;margin:0}
  #round-answer{position:static;clear:both;margin-top:24px;padding-top:20px;border-top:1px solid #dce5e8}
  .notebook-specimen{flex-wrap:wrap}
  .notebook-specimen figcaption{min-width:0;max-width:100%;overflow-wrap:anywhere}
  .notebook-code-options{display:block;min-width:0}
  .notebook-code-options legend{float:none;max-width:100%;line-height:1.5}
}

.notebook-answer-panel{min-width:0}
.notebook-page [hidden]{display:none!important}
.notebook-validation{display:block;margin:12px 0 0;padding:10px 12px;border:1px solid #e5c783;border-radius:8px;background:#fff8e7;color:#705014;font-size:12px;line-height:1.5}
.notebook-choice-group.is-missing legend{color:#946218}
.notebook-choice-group.is-missing .notebook-choice>span{border-color:#d4ad65}

.notebook-explain{display:none}.notebook-action-row{min-width:0}.notebook-dialog{width:min(520px,calc(100% - 28px));max-height:calc(100svh - 28px);overflow:auto;border:2px solid #24a323;border-radius:14px;padding:18px;color:#171717;background:#fff}.notebook-dialog::backdrop{background:#0006}.notebook-dialog-heading{display:flex;align-items:center;gap:12px;margin-bottom:15px}.notebook-dialog-heading h2{font-size:21px;line-height:1.3;margin:0;flex:1}.notebook-dialog-heading button{min-height:44px;border:1px solid #abb9be;border-radius:8px;background:#fff;padding:8px 12px;font-size:12px;font-weight:700}.notebook-dialog-content{font-size:14px;line-height:1.6}#notebook-dialog-content p{font-size:13px;line-height:1.6}#notebook-dialog-content h3{font-size:18px;margin:0 0 10px}#notebook-dialog-content a{min-height:44px}
@media(max-width:620px){
  .notebook-page.notebook-active{min-height:100svh}
  .notebook-active .site-header,.notebook-active .notebook-intro,.notebook-active .notebook-help,.notebook-active .coloring-privacy,.notebook-active .build-note,.notebook-active .site-footer{display:none}
  .notebook-active main{padding:2px 0}
  .notebook-active .notebook-panel{width:calc(100% - 16px);padding:10px;border-radius:12px;scroll-margin-top:6px}
  .notebook-active .notebook-round-meta{font-size:10px;gap:8px}
  .notebook-active .notebook-round-meta button{font-size:10px;min-height:32px;padding:5px}
  .notebook-active #round-progress{height:4px;margin:0 0 8px}
  .notebook-active #round-title{font-size:18px;line-height:1.2;padding-left:39px;min-height:36px;margin:0 0 9px;background:url('tucik-ucitel.png') no-repeat left center/33px auto;display:flex;align-items:center}
  .notebook-active .notebook-round-layout{display:block}
  .notebook-active #round-answer{margin-top:9px;padding-top:8px;border-top:1px solid #e0e7e9}
  .notebook-active .notebook-cover{min-height:54px;max-width:none;padding:7px 10px;flex-direction:row;gap:12px;border-left-width:6px;justify-content:center;box-shadow:none}
  .notebook-active .notebook-cover>span{max-width:60px;font-size:8px;line-height:1.4}
  .notebook-active .notebook-cover strong{font-size:32px}
  .notebook-active .notebook-cover small{display:none}
  .notebook-active .notebook-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 10px}
  .notebook-active .notebook-choice-group{margin:0;min-width:0}
  .notebook-active .notebook-choice-group:nth-child(n+3){grid-column:1/-1}
  .notebook-active .notebook-choice-group legend{font-size:11px;line-height:1.4;margin:0 0 4px}
  .notebook-active .notebook-choice-list{gap:6px}
  .notebook-active .notebook-choice>span{min-height:44px;padding:6px 15px 6px 4px;font-size:12px;line-height:1.2;overflow-wrap:normal}
  .notebook-active .notebook-choice input:checked+span:after{right:3px;font-size:10px}
  .notebook-active .choice-columns-3,.notebook-active .choice-columns-4{gap:4px}
  .notebook-active .choice-columns-3 .notebook-choice>span,.notebook-active .choice-columns-4 .notebook-choice>span{padding:6px 11px 6px 2px;font-size:11px}
  .notebook-active .notebook-choice-group:nth-child(3)>.notebook-choice-list{grid-template-columns:repeat(3,minmax(0,1fr))}
  .notebook-active #spacing-field>.notebook-choice-list{grid-template-columns:repeat(4,minmax(0,1fr))}
  .notebook-active #spacing-field .notebook-choice>span{font-size:11px}
  .notebook-active .notebook-action-row{display:flex;align-items:stretch;gap:7px;margin-top:9px}
  .notebook-active #notebook-next{margin:0;min-height:44px;padding:8px;font-size:12px;width:auto;flex:1}
  .notebook-active .notebook-explain{display:block;min-height:44px;padding:8px;border:1px solid #aab9bf;border-radius:9px;background:white;font-size:11px;font-weight:700}
  .notebook-active #answer-status{position:static;width:auto;height:auto;margin:6px 0 0;padding:0;clip-path:none;overflow:visible;white-space:normal;font-size:11px;font-weight:700;line-height:1.4;color:#176818}
  .notebook-active #answer-status{min-height:16px}.notebook-active #answer-status:empty{display:block}
  .notebook-active #answer-status.answer-status-wrong{color:#a10010}
  .notebook-active .notebook-hint-button{min-height:32px;margin-top:4px;padding:7px 0;font-size:11px}
  .notebook-active #round-hint,.notebook-active #notebook-feedback{display:none}
  .notebook-active .notebook-specimen{flex-wrap:nowrap;gap:14px;align-items:center}
  .notebook-active .notebook-sheet{width:65px}
  .notebook-active .notebook-sheet svg{max-height:94px}
  .notebook-active .notebook-specimen figcaption strong{font-size:20px}
  .notebook-active .notebook-specimen figcaption small{font-size:9px}
  .notebook-active .notebook-specimen figcaption span{font-size:12px}
  .notebook-active .notebook-specimen figcaption span:last-child{font-size:11px}
  .notebook-active .notebook-code-options legend{font-size:12px;line-height:1.4;margin-bottom:7px}
  .notebook-active .notebook-code-options>div{gap:8px}
  .notebook-active .notebook-code{min-height:52px;padding:10px 6px;font-size:25px}
  .notebook-active .notebook-result{margin-top:8px;padding:18px}
  .notebook-active .notebook-result h2{font-size:24px}
  .notebook-active .notebook-result-score{font-size:52px}
  .notebook-active .notebook-result>p{font-size:13px}
  .notebook-active .notebook-result-actions{gap:8px;margin-top:16px}
  .notebook-active .notebook-result-actions .button{min-height:44px;font-size:12px;padding:8px}
  .notebook-active .notebook-result details{margin-top:16px;padding-top:12px}
}
@media(max-width:620px){
  .notebook-welcome>img,.notebook-welcome .eyebrow,.notebook-welcome p{display:none}
  .notebook-welcome h1{font-size:22px;line-height:1.2;margin:0}
  .notebook-intro{padding-top:9px;padding-bottom:12px}
  .notebook-intro .back{margin-bottom:10px}
  .notebook-active #round-title{background:none;padding-left:0;min-height:30px}
}
