/* Workbook layouts are scoped so the planner and landing tool retain their design. */
#workbook-library{--wb-cream:#f8f7f0;--wb-gold:#dab968;--wb-border:#dce5dd;--wb-muted:#68786d;--wb-ink:#18382c;line-height:1.85;color:var(--wb-ink)}#workbook-library button,#workbook-library input,#workbook-library textarea{font:inherit}#workbook-library a{text-decoration:none}.wb-library-hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(125deg,#10372b,#25644a);color:white;border-radius:25px;padding:45px}.wb-library-hero:after,.wb-cover:after{content:'✦';position:absolute;left:5%;top:-35px;z-index:-1;font-size:250px;color:#ffffff08;line-height:1.3}.wb-kicker{color:#926c25;font-size:12px;font-weight:700;letter-spacing:.15px}.wb-library-hero .wb-kicker,.wb-cover .wb-kicker{color:#e5c788}.wb-library-hero h1{font-size:clamp(29px,4vw,42px);margin:12px 0;line-height:1.4}.wb-library-hero p{max-width:700px;margin:0;color:#e3ece3}.wb-hero-note{margin-top:24px;color:#f0d693;font-size:13px}.wb-library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:25px}.wb-library-card{background:white;border:1px solid var(--wb-border);border-radius:21px;padding:30px;display:flex;align-items:flex-start;flex-wrap:wrap;gap:12px}.wb-icon{display:grid;place-items:center;flex:none;font-size:30px;width:53px;height:53px;border-radius:14px;background:#eef3e7;color:#276348}.wb-library-card>.wb-kicker{align-self:center}.wb-library-card h2{font-size:24px;line-height:1.5;margin:0;width:100%}.wb-library-card p{color:var(--wb-muted);margin:0;width:100%}.wb-output{border-top:1px solid var(--wb-border);padding-top:17px;margin:8px 0;width:100%;font-size:14px}.wb-pending{background:transparent;border-style:dashed}.wb-pending h2{font-size:20px}.wb-back{display:inline-block;margin:0 0 18px;font-weight:600}.wb-new{margin:20px 0 30px}.wb-new label{display:block;font-weight:600;font-size:14px;margin-bottom:8px}.wb-new>div{display:flex;gap:12px}.wb-new input{flex:1;min-width:0}.wb-new button{white-space:nowrap}.wb-saved-list{display:grid;gap:10px}.wb-saved-list>a{display:flex;justify-content:space-between;gap:15px;border:1px solid var(--wb-border);border-radius:15px;padding:18px;color:var(--wb-ink)}.wb-saved-list small{display:block;color:var(--wb-muted);font-size:12px}.wb-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin:15px 0}.wb-toolbar>a{font-weight:700}.wb-toolbar>span{font-size:12px;color:var(--wb-muted)}.wb-toolbar>div{display:flex;gap:8px}.wb-cover{position:relative;isolation:isolate;overflow:hidden;border-radius:22px;background:linear-gradient(115deg,#10372b,#25644a);padding:38px 42px;color:white}.wb-cover h1{font-size:clamp(29px,4vw,40px);line-height:1.5;margin:12px 0}.wb-cover>p{margin:0;max-width:720px;color:#d8e9dd}.wb-doc-label{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:25px;font-size:13px;color:#e5c788}.wb-doc-label input{max-width:400px;background:#ffffff12;border-color:#ffffff50;color:white;padding:10px 14px}.wb-cover-bottom{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:25px;font-size:13px}.wb-cover-bottom a{color:#f4d98d}.wb-progress-track{height:5px;background:#ffffff20;margin-top:13px;border-radius:5px;overflow:hidden}.wb-progress-track>div{height:100%;background:#e2c37e;transition:width .3s}.wb-workspace{display:grid;grid-template-columns:235px minmax(0,1fr);gap:24px;margin-top:25px;align-items:start}.wb-sidebar{position:sticky;top:18px;border:1px solid var(--wb-border);background:#fff;border-radius:18px;padding:18px;max-height:calc(100vh - 35px);overflow:auto;font-size:13px}.wb-sidebar>strong{font-size:16px}.wb-sidebar>p{color:var(--wb-muted);font-size:12px;margin:7px 0 15px}.wb-sidebar nav{display:grid;gap:5px}.wb-sidebar nav a{display:flex;gap:9px;align-items:start;color:#486354;padding:9px;border-radius:10px;line-height:1.6}.wb-sidebar nav a>span:first-child{color:#8f7134;font-size:11px;font-weight:700;margin-top:2px;min-width:20px}.wb-sidebar nav a:hover,.wb-sidebar nav a.is-active{background:#edf5e8;color:#1a573b}.wb-sidebar small{display:block;color:#987b43}.wb-sidebar-note{border-top:1px solid var(--wb-border);padding-top:15px;margin-top:15px;font-size:11px;color:var(--wb-muted)}.wb-pages{min-width:0}.wb-intro{padding:23px 26px;background:#ecf3e6;border:1px solid #d9e6d4;border-radius:17px;margin-bottom:24px;font-size:14px}.wb-intro p{margin:8px 0 0;white-space:pre-line}.wb-section{scroll-margin-top:20px;background:#fff;border:1px solid var(--wb-border);border-radius:18px;margin-bottom:24px;overflow:hidden;box-shadow:0 10px 30px #1c423007}.wb-section-head{display:flex;gap:14px;align-items:flex-start;padding:25px 28px;border-bottom:1px solid var(--wb-border);background:#fdfcf7}.wb-section-number{font-size:19px;color:#917038;display:grid;place-items:center;width:45px;height:45px;border:1px solid #e4d9be;border-radius:13px;flex:none}.wb-section-head>div{flex:1}.wb-section-head h2{font-size:22px;line-height:1.6;margin:4px 0 0}.wb-status-badge{font-size:11px;background:#eaf1e5;color:#53734d;border-radius:30px;padding:4px 10px;white-space:nowrap}.wb-section-content{padding:24px 28px}.wb-text{font-size:14px;color:#566c5e;white-space:pre-line;margin:16px 0}.wb-section-content h3{font-size:17px;margin:27px 0 12px;color:#184f37}.wb-lesson{font-size:12px;color:#7b6a45;background:#f5f2e7;border:1px solid #e7dfc9;border-radius:10px;padding:12px 15px;margin-bottom:22px;overflow-wrap:anywhere}.wb-example{font-size:13px;color:#715b30;border-right:3px solid #d0aa59;background:#faf7ee;padding:14px 18px;border-radius:8px;margin:20px 0}.wb-outcome{font-weight:600;font-size:14px;padding:16px;background:#ecf5e7;border-radius:10px;color:#295b3d;margin:20px 0}.wb-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.wb-field{min-width:0;display:flex;flex-direction:column;gap:8px}.wb-field>span:first-child{font-size:13px;font-weight:600;line-height:1.7}.wb-field textarea,.wb-skip-reason textarea{width:100%;min-height:95px;padding:13px 14px;border:1px solid #d7e3d7;border-radius:11px;background:#fcfdf9;color:#264b36;resize:vertical;line-height:1.8;font-size:14px}.wb-field textarea:focus,.wb-skip-reason textarea:focus{outline:3px solid #80b28a33;border-color:#59946e}.wb-field:only-child{grid-column:1/-1}.wb-answer-group{margin:20px 0}.wb-row-card{padding:19px;border:1px solid #e1e8dc;border-radius:14px;margin-bottom:13px;background:#fefefb}.wb-row-card h4{font-size:14px;margin:0 0 15px;color:#7e632d;border-bottom:1px solid #e8e5d9;padding-bottom:10px}.wb-add{font-size:12px;padding:8px 13px}.wb-reference{border:1px solid #e1e6d8;border-radius:12px;margin:22px 0;overflow:hidden}.wb-reference>div{display:grid;grid-template-columns:1fr 1.3fr;gap:20px;padding:14px 18px;font-size:13px;background:#f8f9f3;border-bottom:1px solid #e3e8db}.wb-reference>div:last-child{border:0}.wb-reference span{color:#64705b}.wb-checks{margin:25px 0 10px;padding:16px;border:1px solid #dce7d7;border-radius:13px;display:grid;gap:11px}.wb-checks legend{font-size:13px;font-weight:600;padding:0 8px}.wb-checks label{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:#4c6152}.wb-checks input,.wb-section-actions input{width:17px;height:17px;margin-top:5px;flex:none;accent-color:#24664b}.wb-section-actions{padding:20px 28px;border-top:1px solid var(--wb-border);background:#fafcf6;display:flex;gap:12px 25px;flex-wrap:wrap;font-size:13px}.wb-section-actions>label{display:flex;align-items:flex-start;gap:9px}.wb-section-actions .wb-skip-reason{width:100%;display:block}.wb-skip-reason textarea{display:block;margin-top:8px}.wb-inline-link{font-weight:700;display:inline-block;border-bottom:1px solid #b5c9b4;padding:8px 0;font-size:14px}.wb-end{padding:35px;text-align:center;border:1px dashed #b9cdb4;border-radius:18px}.wb-end>span{font-size:40px;color:#a68338}.wb-end h2{font-size:23px;margin:8px 0}.wb-end p{font-size:14px;color:var(--wb-muted);margin:8px 0 24px}.wb-print-value,.wb-print-title{display:none}#workbook-library :is(h1,h2,h3,h4,p,span,label){overflow-wrap:anywhere}@media(max-width:850px){.wb-workspace{grid-template-columns:1fr}.wb-sidebar{position:static;max-height:none;padding:0;overflow:hidden}.wb-sidebar>strong,.wb-sidebar>p,.wb-sidebar-note{display:none}.wb-sidebar nav{display:flex;overflow-x:auto;padding:12px;gap:7px}.wb-sidebar nav a{min-width:200px;border:1px solid #e2e8dd}.wb-section-head{padding:20px}.wb-section-content{padding:20px}.wb-section-actions{padding:18px 20px}.wb-cover{padding:28px}.wb-status-badge{display:none}}@media(max-width:600px){.wb-library-grid{grid-template-columns:1fr}.wb-library-hero{padding:28px 23px}.wb-library-card{padding:24px}.wb-fields{grid-template-columns:1fr}.wb-cover{padding:25px 22px}.wb-new>div{flex-direction:column}.wb-saved-list>a{flex-direction:column;gap:4px}.wb-toolbar{align-items:flex-start}.wb-toolbar>span{order:3;width:100%}.wb-toolbar button{font-size:12px;padding:10px}.wb-row-card{padding:15px}.wb-section-head h2{font-size:19px}.wb-section-number{width:36px;height:36px;font-size:15px}.wb-reference>div{grid-template-columns:1fr;gap:6px}.wb-doc-label input{max-width:100%}}@media print{@page{size:A4;margin:13mm}body{background:#fff!important}.topbar,.tool-nav,body>footer,.wb-toolbar,.wb-sidebar,.wb-add,.wb-end .primary,.wb-cover-bottom a,.wb-inline-link{display:none!important}main{max-width:none;padding:0!important}.wb-workspace{display:block!important;margin:0}.wb-cover{border-radius:0;padding:22px 25px;print-color-adjust:exact;-webkit-print-color-adjust:exact;break-after:page}.wb-cover h1{font-size:30px}.wb-cover input{display:none}.wb-print-title{display:block;color:white;font-size:19px}.wb-intro{margin:20px 0;break-inside:avoid;font-size:12px}.wb-section{box-shadow:none;border:0;border-radius:0;margin-bottom:25px;overflow:visible}.wb-section-head{padding:14px 0;break-after:avoid}.wb-section-head h2{font-size:20px}.wb-section-content{padding:5px 0}.wb-row-card,.wb-example,.wb-reference>div{break-inside:avoid}.wb-row-card{padding:14px;border-color:#c9d5c7}.wb-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.wb-field textarea{display:none}.wb-print-value{display:block;white-space:pre-wrap;font-size:12px;line-height:1.8;min-height:35px;color:#263e2d;overflow-wrap:anywhere}.wb-field>span:first-child{font-size:11px;color:#66805b}.wb-checks{break-inside:avoid}.wb-checks label{font-size:11px}.wb-section-actions{break-inside:avoid;font-size:11px;padding:10px}.wb-section-actions input,.wb-checks input{print-color-adjust:exact}.wb-skip-reason textarea{border:0;min-height:0}.wb-text,.wb-outcome,.wb-example{font-size:12px}.wb-lesson{font-size:10px}.wb-end{break-inside:avoid;padding:15px}.wb-end h2{font-size:18px}.wb-end p{margin:5px}.wb-cover,.wb-example,.wb-outcome,.wb-section-head{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
@media print{.wb-skip-reason textarea{display:none!important}.wb-skip-reason .wb-print-value{display:block}}
/* Linked offer exercises: real tables that keep the problem, question and solutions aligned. */
.wb-flow-scroll{max-width:100%;overflow-x:auto;border:1px solid #dce5d6;border-radius:13px;margin:18px 0}.wb-flow-table{width:100%;min-width:460px;border-collapse:collapse;table-layout:fixed;background:#fff}.wb-flow-table th,.wb-flow-table td{border-bottom:1px solid #dce5d6;border-left:1px solid #e4ebdf;padding:16px;vertical-align:top;text-align:right;overflow-wrap:anywhere}.wb-flow-table th:last-child,.wb-flow-table td:last-child{border-left:0}.wb-flow-table tr:last-child td,.wb-flow-table tr:last-child th{border-bottom:0}.wb-flow-table thead th{background:#edf3e6;color:#385b3b;font-size:14px;font-weight:700}.wb-flow-table .wb-field>span:first-child{font-size:11px;color:#647b5b}.wb-flow-table .wb-field textarea{min-height:105px;font-size:13px;padding:10px;line-height:1.9}.wb-flow-table .wb-field select{width:100%;padding:10px;border:1px solid #cfdcc9;border-radius:9px;background:#fcfdf9;color:#23402a;font-size:13px}.wb-flow-table .wb-field select:focus{outline:3px solid #80b28a33}.wb-flow-index{display:block;font-size:12px;font-weight:700;color:#a27a35;margin-bottom:12px}.wb-flow-obstacle{margin-bottom:15px}.wb-flow-problem{font-weight:500;font-size:14px;white-space:pre-wrap;background:#fafbf6}.wb-flow-stage{margin:30px 0}.wb-flow-stage>h3{border-bottom:2px solid #d6c392;padding-bottom:10px}.wb-flow-problem-card{margin:20px 0;padding:19px;border:1px solid #dce5d6;border-radius:15px;background:#fbfcf7}.wb-flow-problem-title{white-space:pre-wrap;line-height:1.9;color:#305c3a;font-size:15px}.wb-flow-how{color:#7c6d49;font-size:13px;white-space:pre-wrap}.wb-flow-problem-card h4{margin:20px 0 8px;font-size:16px}.wb-flow-solutions{min-width:600px}.wb-flow-filters{min-width:680px}.wb-flow-solution{font-size:14px;font-weight:500;white-space:pre-wrap}.wb-flow-solution small{display:block;font-size:11px;color:#8d753f;margin-top:8px}.wb-flow-empty{background:#f2f5ec;border:1px dashed #c7d6bd;border-radius:12px;padding:18px;font-size:14px;color:#64745e}@media(max-width:600px){.wb-flow-table th,.wb-flow-table td{padding:12px}.wb-flow-problem-card{padding:13px}}@media print{.wb-flow-scroll{overflow:visible;max-width:none}.wb-flow-table,.wb-flow-solutions,.wb-flow-filters{min-width:0;width:100%;table-layout:fixed}.wb-flow-table thead{display:table-header-group}.wb-flow-table th,.wb-flow-table td{padding:7px;white-space:normal;font-size:11px}.wb-flow-table tr{break-inside:avoid}.wb-flow-table .wb-field>span:first-child{font-size:10px}.wb-flow-table select{display:none}.wb-flow-table .wb-print-value{display:block}.wb-flow-problem-card{padding:10px;border:0;border-top:1px solid #ccd5c5;border-radius:0}.wb-flow-problem-title{break-after:avoid;font-size:13px}.wb-flow-solutions th{font-size:10px}.wb-flow-table thead th{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
