.wizard-book-summary{padding:11px 12px;margin-bottom:12px;background:#172e35;border:1px solid #89adb542;border-radius:7px}.wizard-book-summary>strong{display:block;color:#e4dcb8;font-size:13px}.wizard-book-summary small,.wizard-book-summary p,.wizard-memorize p,.wizard-preparation>small,.wizard-memorize>small{display:block;font-size:11px;line-height:1.5;color:#bbcfc9;margin:7px 0 0}.wizard-book-migration{font-size:11px;line-height:1.5;margin-top:8px;color:#c8d8ba}.wizard-book-migration summary{cursor:pointer}.wizard-book-migration p{margin:6px 0 0}.wizard-book-summary .wizard-book-info{color:#e8ce97}.wizard-preparation{position:sticky;top:-1px;z-index:2;padding:10px 12px;border:1px solid #d4b67670;border-radius:6px;background:#203c34f7;box-shadow:0 4px 12px #0003;margin-bottom:12px}.wizard-preparation>strong{font-size:12px;color:#eddda7}.wizard-book-controls{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.wizard-book-controls button{min-width:0;flex:1 1 130px;white-space:normal}.wizard-memorize{padding:12px;border:1px solid #a7b78250;border-radius:6px;margin-bottom:14px;background:#253b2b}.wizard-memorize h3{font:600 16px Georgia,serif;color:#e4d39e;margin:0}.wizard-memorize-picks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}.wizard-memorize-picks label{display:flex;flex-direction:column;gap:5px;min-width:0}.wizard-memorize-picks label span{font-size:10px;color:#c4d6bb}.wizard-memorize-picks select{min-width:0;width:100%;font-size:11px;padding:7px}.wizard-spell-state{display:block;font-size:10px;line-height:1.4;color:#d8c791}.wizard-spell-select{display:flex;gap:8px;align-items:center;min-height:34px;color:#e4d7a9;font-size:12px;cursor:pointer}.wizard-spell-select input{width:18px;height:18px;accent-color:#b6c883;margin:0}.sheet-spell-actions:has(.wizard-spell-select){align-self:center}.wizard-book-tabs button{min-width:0!important;flex:1 1 0!important}.wizard-book-empty{padding:15px;border:1px dashed #88a18b66;border-radius:6px;font-size:12px;line-height:1.5;color:#bfd1b5}
@media(max-width:620px){.wizard-book-summary,.wizard-memorize{padding:10px}.wizard-preparation{position:static;padding:10px}.wizard-book-controls button{flex-basis:140px;min-height:40px;font-size:11px}.wizard-memorize-picks{grid-template-columns:1fr}.wizard-memorize>button{width:100%;min-height:40px}.wizard-book-tabs button{padding:7px 4px!important;font-size:10px!important}.sheet-spell-actions:has(.wizard-spell-state){flex-wrap:wrap}.sheet-spell-actions .wizard-spell-state{flex-basis:100%}.sheet-spell-actions [data-wizard-learn]{white-space:normal}}
@media(pointer:coarse){.wizard-memorize select,.wizard-book-controls button,.wizard-memorize>button,.wizard-spell-select,.sheet-spell-actions [data-wizard-learn]{min-height:44px}}

.sheet-spell.locked:has([data-wizard-learn]:not(:disabled)){opacity:1}
