.sp-source-tabs{display:flex;gap:.5rem;padding:.4rem;background:#e9f0eb;border-radius:1rem;width:fit-content;max-width:100%;margin:0 0 1.5rem}.sp-source-tabs button{border:0;border-radius:.7rem;padding:.8rem 1.2rem;background:transparent;color:#496456;font-family:inherit;font-size:1rem;font-weight:600;line-height:1.4;cursor:pointer}.sp-source-tabs button.active{background:#fff;color:#17694f;box-shadow:0 2px 8px #1f493b12}.textbook-workbench{font-size:1rem;line-height:1.65;min-width:0}.tw-heading{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;margin:0 0 1.5rem}.tw-heading h2{font-size:1.7rem;line-height:1.4;margin:.7rem 0}.tw-heading p{margin:0;color:#536f62}.tw-heading>.primary-button{flex-shrink:0}.tw-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem}.textbook-workbench label{display:flex;flex-direction:column;gap:.4rem;font-size:1rem;font-weight:600;color:#345044;min-width:0}.textbook-workbench input:not([type=checkbox]),.textbook-workbench select,.textbook-workbench textarea{width:100%;box-sizing:border-box;border:1px solid #bacdc1;border-radius:.65rem;padding:.75rem .85rem;font-family:inherit;font-size:1rem;font-weight:400;line-height:1.6;color:#183c30;background:#fff;min-height:48px;min-width:0}.textbook-workbench input:focus-visible,.textbook-workbench textarea:focus-visible,.textbook-workbench select:focus-visible{outline:3px solid #89b8a5;outline-offset:2px}.textbook-workbench select{appearance:none;padding-right:2.7rem;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath d='m5 7 4 4 4-4' fill='none' stroke='%23345044' stroke-width='1.7'/%3E%3C/svg%3E") no-repeat right .8rem center}.textbook-workbench input[type=checkbox]{width:20px;height:20px;accent-color:#23745b;flex-shrink:0}.textbook-workbench .tw-paste-label{margin-top:1.4rem}.textbook-workbench textarea{resize:vertical;min-height:190px;white-space:pre-wrap}.tw-helper,.tw-privacy{font-size:.9rem!important;line-height:1.8;color:#5e7569;margin:.75rem 0}.tw-privacy{border-top:1px solid #d5e2d9;padding-top:1.1rem;margin-top:2rem}.tw-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem}.tw-actions button{min-height:44px}.tw-editor{padding:1.7rem!important}.tw-editor-footer{display:flex;gap:.8rem;flex-wrap:wrap;padding-top:1.4rem;margin-top:1.4rem;border-top:1px solid #d6e2da}.tw-error,.tw-notice{border-radius:.7rem;padding:.9rem 1.1rem;font-size:1rem;line-height:1.8;overflow-wrap:anywhere}.tw-error{background:#fff2ed;border:1px solid #e9baa5;color:#813b29}.tw-error ul{padding-left:1.4rem;margin:.5rem 0 0}.tw-notice{background:#edf7f1;border:1px solid #b4d6c4;color:#24553f}.tw-review-heading{margin-top:1.8rem}.tw-review-heading h3{margin:0;font-size:1.15rem}.tw-review-heading p{font-size:.9rem;color:#5e7569}.tw-entry-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.tw-entry{border:1px solid #c9d9cf;border-radius:.9rem;padding:1rem;background:#fbfdfb;display:grid;gap:.75rem;min-width:0}.tw-entry-top{display:flex;justify-content:space-between;align-items:center}.tw-entry-top strong{display:grid;place-items:center;min-width:1.8rem;height:1.8rem;border-radius:50%;background:#e6f1e9;color:#39644d}.tw-entry-top .text-button{min-height:32px;padding:.25rem .5rem}.tw-unit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-bottom:1.5rem}.tw-unit{padding:1.25rem!important;border:1px solid #d4e0d7;min-width:0}.tw-unit.is-selected{border:2px solid #2c8464;background:#f7fcf8}.tw-unit-meta{display:flex;flex-wrap:wrap;gap:.4rem 1rem;justify-content:space-between;font-size:.9rem;color:#577160}.tw-unit h3{font-size:1.2rem;line-height:1.6;margin:.7rem 0}.tw-unit-title{padding:0;border:0;background:none;text-align:left;color:#214b39;font:inherit;font-weight:700;cursor:pointer;overflow-wrap:anywhere}.tw-unit>p{margin:.4rem 0;overflow-wrap:anywhere}.tw-unit .tw-actions{margin-top:1rem}.tw-empty{text-align:center;padding:2.8rem 1.5rem!important}.tw-empty>span{font-size:3rem}.tw-empty h3{font-size:1.3rem;margin:.75rem 0}.tw-empty p{max-width:480px;margin:.75rem auto 1.5rem;color:#5d7565}.tw-settings{padding:1.5rem!important}.tw-settings h3{margin:0 0 1rem;overflow-wrap:anywhere}.tw-kinds{display:flex;flex-wrap:wrap;gap:.8rem 1.2rem;border:0;padding:0;margin:0 0 1.3rem}.tw-kinds legend{font-size:1rem;font-weight:600;margin-bottom:.7rem}.tw-kinds label,.textbook-workbench .tw-case{flex-direction:row;align-items:center;gap:.5rem;font-weight:400}.tw-case{align-self:end;min-height:48px}.tw-preview-heading{margin:1.8rem 0 1rem}.tw-preview-heading h3{font-size:1.15rem;margin:0}.tw-preview-heading p{font-size:.9rem;color:#5e7569;margin:.5rem 0}.tw-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.tw-preview{padding:1.35rem!important;overflow:hidden;min-width:0}.tw-preview>p{font-size:1rem;line-height:1.8}.tw-preview .paper-textbook{margin-top:1rem}.tw-preview .tw-paper-cell{width:38px;height:38px;font-size:23px}.tw-preview .tw-paper-pinyin{font-size:1rem}.tw-task{max-width:650px;margin:auto;min-width:0}.tw-task-unit{font-size:.9rem;color:#4e6a59;margin:0 0 .7rem}.tw-task h3{font-size:1.25rem;line-height:1.65}.tw-task .paper-textbook{padding:1rem;background:#f5faf6;border:1px solid #d3e3d7;border-radius:.75rem;margin:1rem 0}.tw-task .text-field{font-size:1rem}.tw-task input{font-size:1.3rem;min-height:52px}.tw-task .tw-paper-pinyin{font-size:1.2rem}.tw-task .tw-paper-cell{width:44px;height:44px;font-size:27px}.tw-feedback{padding:1.2rem;border:1px solid #b8d7c1;background:#f0f8f0;border-radius:.75rem;margin-top:1rem}.tw-feedback strong{font-size:1.1rem}.tw-complete{max-width:560px;margin:auto;text-align:center}.tw-complete h3{font-size:1.4rem}.tw-complete p{line-height:1.9;color:#506b5c}.tw-complete .tw-actions{justify-content:center}.acc-compound-button{border:0;border-radius:9px;background:#f0f6f3;color:#244f40;padding:.45rem .65rem;text-align:left;font:inherit;cursor:pointer}.acc-compound-button small{display:block;font-size:.8rem;color:#57796a}.acc-compound-button:focus-visible{outline:3px solid #85af9b;outline-offset:2px}
@media(max-width:700px){.tw-heading{align-items:flex-start;flex-direction:column;gap:1rem}.tw-heading h2{font-size:1.4rem}.tw-heading>.primary-button{width:100%}.tw-form-grid,.tw-unit-grid,.tw-entry-list,.tw-preview-grid{grid-template-columns:minmax(0,1fr)}.tw-editor,.tw-settings{padding:1.1rem!important}.sp-source-tabs{width:100%;box-sizing:border-box}.sp-source-tabs button{flex:1;padding:.75rem .5rem;font-size:.95rem}.tw-actions>.primary-button,.tw-actions>.secondary-button{flex:1 1 160px;justify-content:center}.tw-preview .tw-paper-cell{width:38px;height:38px}.tw-editor-footer button{flex:1}.tw-unit .tw-actions>.primary-button,.tw-unit .tw-actions>.secondary-button{flex-basis:100%}.tw-task .tw-actions button{flex:1 1 100%}.tw-task .tw-paper-cell{width:38px;height:38px}}
