/* Material detail: selection, settings, quote and generation on one page. */
[data-material-legacy][hidden],[data-direct-maker][hidden]{display:none!important}
.imp-page .ix-direct-hero{padding-top:35px;padding-bottom:26px}
.imp-page .md-heading{display:flex;justify-content:space-between;gap:28px;align-items:center}
.imp-page .md-heading h1{font-size:32px;line-height:1.3;margin:8px 0 12px;letter-spacing:-1px}
.imp-page .md-heading p{font-size:16px;color:#61718a;line-height:1.65}
.imp-page .md-heading>a{flex:none;white-space:nowrap;border:1px solid #d9e2ed;background:white}
.md-maker{padding-bottom:64px;scroll-margin-top:95px}
.md-workspace{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:28px;align-items:start}
.md-workspace :is(input,select,button){font:inherit}
.md-workspace input[type=checkbox]{width:18px;height:18px;accent-color:#2563eb;flex:none;cursor:pointer}
.md-workspace input:focus-visible,.md-workspace select:focus-visible,.md-workspace button:focus-visible{outline:2px solid #2563eb;outline-offset:3px}
.md-workspace h2{font-size:21px;font-weight:750;color:#24354d;margin:0}
.md-passages,.md-options{min-width:0;background:#fff;border:1px solid #e0e7ef;border-radius:16px;padding:24px}
.md-panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.md-panel-head p{margin-top:8px;font-size:14px;color:#667a94}
.md-selection-actions{display:flex;align-items:center;gap:12px;flex:none}
.md-selection-actions label{display:flex;align-items:center;gap:8px;min-height:44px;font-size:14px;cursor:pointer}
.md-selection-actions button{border:0;background:none;color:#667a94;font-size:13px;min-height:44px;cursor:pointer;padding:0 4px}
.md-items{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.md-item{min-width:0;position:relative;display:flex;align-items:center;gap:8px;min-height:61px;border:1px solid #e0e7ef;border-radius:10px;padding:12px 10px;cursor:pointer;color:#516179;font-size:15px}
.md-item:has(input:checked){border-color:#9cbaed;background:#f0f5ff;color:#214e97}
.md-item:has(input:focus-visible){outline:2px solid #2563eb;outline-offset:2px}
.md-item b{min-width:0;font-size:15px;font-weight:650;line-height:1.5;white-space:normal;word-break:keep-all;overflow-wrap:anywhere}
.md-item small{display:none}
.md-passages{container-type:inline-size}
.md-items.md-items-grouped{display:block}
.md-item-group{min-width:0;margin:0 0 22px;padding:0;border:0}
.md-item-group:last-child{margin-bottom:0}
.md-item-group legend{max-width:100%;padding:0;margin-bottom:10px;font-size:14px;font-weight:650;line-height:1.5;color:#42536a;overflow-wrap:anywhere}
.md-item-grid{display:flex;flex-wrap:wrap;gap:9px}
.md-item-grid>.md-item{flex:1 1 64px}
.md-item-grid>.md-item-long{flex-basis:180px}
@container(max-width:440px){.md-item-grid>.md-item-long{flex-basis:100%}}
.md-unit{display:flex;align-items:center;gap:12px;margin:0 0 18px;font-size:14px}
.md-unit[hidden]{display:none}
.md-options>h2{margin-bottom:20px}
.md-options label{font-size:14px;color:#42536a}
.md-options input:not([type=checkbox]),.md-options select,.md-unit select{display:block;width:100%;min-height:44px;margin-top:7px;border:1px solid #d9e2ee;border-radius:9px;background:#fff;color:#2c3c53;padding:9px 10px;min-width:0;font-size:14px}
.md-options fieldset{margin:20px 0;border:0;padding:0;min-width:0}
.md-options legend{font-size:14px;font-weight:650;margin-bottom:10px}
.md-types{display:grid;grid-template-columns:1fr 1fr;gap:6px 10px}
.md-types label{display:flex;align-items:center;gap:8px;min-height:44px;cursor:pointer}
.md-types small{font-size:11px;color:#7b8798;display:block}
.md-option-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.md-variant{display:block;margin:18px 0 14px}.md-variant>span{font-size:12px;color:#718199;margin-left:5px}
.md-variant small{display:block;font-size:12px;color:#718199;line-height:1.6;margin-top:7px}
.md-cover{display:flex;gap:8px;align-items:center;min-height:44px}
.md-academy{display:flex;gap:8px;justify-content:space-between;font-size:12px;margin:2px 0 12px;color:#657791}.md-academy[hidden]{display:none}.md-academy a{text-decoration:underline}
.md-checkout{border-top:1px solid #e0e7ef;padding-top:18px;margin-top:15px}
.md-price{font-size:16px;line-height:1.7;color:#34465e;font-weight:650}.md-price strong{font-size:24px;color:#20334e;display:block;margin:4px 0}
.md-price-note,.md-account-note{font-size:12px;line-height:1.7;color:#6b7f99;margin:8px 0 16px;white-space:pre-line}
.md-workspace .md-make{width:100%;min-height:52px;font-size:17px;font-weight:700;margin-top:14px;justify-content:center}
.md-workspace button:disabled{opacity:.5;cursor:default}
.md-agree{display:flex;gap:8px;align-items:flex-start;margin-top:14px;line-height:1.65;font-size:12px!important;min-height:44px}.md-agree input{margin-top:3px}.md-agree a{text-decoration:underline}
.md-retry{display:block;min-height:44px;border:0;background:none;color:#305d9f;text-decoration:underline;margin:8px auto 0;cursor:pointer}.md-retry[hidden]{display:none}
.md-error{font-size:13px;color:#b3261e;line-height:1.65;margin-top:12px}.md-error[hidden]{display:none}
.md-more-books{display:inline-flex;align-items:center;gap:14px;margin-top:24px;min-height:44px;font-size:13px;color:#61789b}
.md-dialog{width:min(560px,calc(100vw - 32px));max-height:85dvh;border:0;border-radius:20px;padding:26px;color:#24354d;box-shadow:0 24px 100px #10233b33;overflow:auto}
.md-dialog::backdrop{background:#13243f66}.md-dialog>header{display:flex;justify-content:space-between;align-items:center;gap:16px}.md-dialog h2{font-size:23px;line-height:1.4;margin:0}.md-dialog header button{border:0;border-radius:50%;background:#f1f4f8;width:44px;height:44px;flex:none;font-size:24px;cursor:pointer}
.md-dialog-body>p{font-size:15px;line-height:1.7;white-space:pre-line;margin:18px 0}.md-progress{height:7px;border-radius:8px;background:#e7eef9;overflow:hidden;margin:24px 0}.md-progress[hidden]{display:none}.md-progress span{display:block;width:36%;height:100%;background:#2563eb;border-radius:8px;animation:md-progress 1.5s ease-in-out infinite}
@keyframes md-progress{from{transform:translateX(-100%)}to{transform:translateX(380%)}}
.md-downloads{display:grid;grid-template-columns:1fr 1fr;gap:12px}.md-downloads a{border:1px solid #d9e3f3;background:#f5f8fd;border-radius:12px;padding:20px 16px;color:#225596;display:flex;flex-direction:column;gap:8px}.md-downloads strong{font-size:19px}.md-downloads small{font-size:13px}.md-downloads span{font-size:14px;font-weight:650;margin-top:12px}.md-library-link{display:inline-flex;min-height:44px;align-items:center;margin-top:18px;color:#566f93;font-size:14px;text-decoration:underline}
@media(max-width:1100px){.md-workspace{grid-template-columns:minmax(0,1fr) 340px;gap:20px}.md-items{grid-template-columns:repeat(3,minmax(0,1fr))}.md-panel-head{align-items:flex-start;flex-direction:column;gap:4px}}
@media(max-width:800px){.md-workspace{grid-template-columns:1fr;gap:20px}.md-items{grid-template-columns:repeat(5,minmax(0,1fr))}.md-panel-head{flex-direction:row}.imp-page .md-heading{align-items:flex-start;flex-direction:column;gap:14px}.imp-page .md-heading h1{font-size:28px}.md-maker{padding-bottom:36px}.md-passages,.md-options{padding:20px}}
@media(max-width:480px){.md-items{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.md-item{min-height:54px}.md-panel-head{flex-direction:column;gap:6px}.md-selection-actions{gap:20px}.md-passages,.md-options{padding:18px}.imp-page .md-heading h1{font-size:25px}.md-dialog{padding:20px}.md-dialog h2{font-size:20px}}
@media(prefers-reduced-motion:reduce){.md-progress span{animation:none;width:100%;opacity:.5}}

#md-dialog-title:focus{outline:none}

.md-cover-panel{border-top:1px solid #e0e7ef;margin-top:16px;padding-top:18px;scroll-margin-top:100px}
.md-cover-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.md-cover-head h3{margin:0;font-size:16px;font-weight:700;color:#24354d}
.md-cover-modes{display:flex;gap:4px}.md-cover-modes[hidden]{display:none}
.md-cover-modes button{min-height:44px;padding:8px 10px;border:1px solid #d9e2ed;border-radius:8px;background:#fff;color:#516179;font-size:13px;cursor:pointer}
.md-cover-modes button[aria-pressed=true]{background:#f0f5ff;border-color:#9cbaed;color:#214e97}
.md-cover-note{font-size:12px;line-height:1.7;color:#657791;margin:10px 0;white-space:pre-line}
.md-cover-preview{display:block;width:min(100%,210px);margin:14px auto 0;padding:0;border:1px solid #e0e7ef;border-radius:3px;background:#fff;cursor:zoom-in;box-shadow:0 5px 16px #24354d14}
.md-cover-preview[hidden]{display:none}.md-cover-preview svg{display:block;width:100%;height:auto}
.md-cover-actions{display:flex;flex-direction:column;align-items:center;gap:4px;margin-top:10px}
.md-cover-actions :is(a,button){display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid #d9e2ed;border-radius:8px;padding:9px 14px;background:#fff;color:#345885;font-size:14px;cursor:pointer;text-align:center}
.md-cover-actions [hidden]{display:none}
.md-cover-dialog{width:min(650px,calc(100vw - 24px));max-height:90dvh;overflow:auto;padding:20px;border:0;border-radius:16px;background:#f6f8fb;color:#24354d;outline:none}
.md-cover-dialog::backdrop{background:#13243f66}.md-cover-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.md-cover-dialog h2{font-size:20px;margin:0}.md-cover-dialog header button{width:44px;height:44px;border:0;border-radius:50%;background:#e8edf5;font-size:24px;cursor:pointer;flex:none}
.md-cover-dialog svg{display:block;width:100%;height:auto;background:#fff}.md-cover-dialog>.im-btn{display:flex;justify-content:center;margin:16px auto 0;min-width:120px;min-height:44px}
