/* Paste, review, then add: import never writes a deck before review. */
.studio-import-launcher{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 16px;margin:0 0 19px;background:#f0f5e9;border:1px solid #dfe9d4;border-radius:11px}
.studio-import-launcher>div{display:flex;align-items:center;gap:10px}
.studio-import-launcher>div>.icon{height:23px;width:23px;color:#92aa76}
.studio-import-launcher span{font-size:11px;font-weight:650;color:#61794e;line-height:1.7}
.studio-import-launcher small{font-size:9px;font-weight:400;display:block;color:#7e8c72}
.studio-import-launcher .button{font-size:10px;min-height:36px;padding:9px 12px}
.card-row-actions{display:flex;align-items:center;gap:2px;flex-shrink:0}
.card-row-actions .icon-button{min-width:32px;min-height:32px}
.row-collapse .icon{height:14px;width:14px;transform:rotate(-90deg);transition:transform .2s}
[data-collapsed="true"] .row-collapse .icon{transform:rotate(90deg)}
.collapsed-card-summary{display:none;font-size:12px;color:var(--studio-text);line-height:1.8;max-width:750px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:5px;font-weight:400}
.collapsed-card-summary mark{padding:2px 4px;border-radius:3px;background:var(--studio-selection);color:var(--studio-green)}
[data-collapsed="true"] .collapsed-card-summary{display:block}
[data-collapsed="true"] .editor-card-workspace{display:none}
[data-collapsed="true"] .card-heading{min-width:0;align-items:flex-start}
[data-collapsed="true"] .card-heading>div{min-width:0}
[data-collapsed="true"] .card-number{margin-top:3px;flex-shrink:0}
.editor-modal.import-open{max-width:1120px}
.bulk-header{position:sticky;top:0;z-index:4;align-items:center;background:linear-gradient(115deg,#f2f8ea,#fff 70%);padding:24px 27px}
.bulk-header .studio-mark{background:#e7f0dc}
.bulk-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:25px;padding:25px 27px}
.bulk-input-column,.bulk-preview-column{min-width:0}
.bulk-section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px;min-height:27px}
.bulk-section-heading h3{font-size:13px;letter-spacing:-.25px;font-weight:750;margin:0;color:var(--studio-text)}
.bulk-file-label{display:flex;align-items:center;gap:5px;color:var(--studio-green);font-size:9px;font-weight:600;cursor:pointer;white-space:nowrap;padding:5px 0}
.bulk-file-label .icon{height:13px;width:13px;transform:rotate(180deg)}
.bulk-input-label{display:block;font-size:10px;color:var(--studio-muted);margin-bottom:8px}
#bulk-text{width:100%;min-height:266px;padding:16px;background:var(--studio-input);border:1px solid var(--studio-border);border-radius:11px;resize:vertical;color:var(--studio-text);font:12px/2 ui-monospace,SFMono-Regular,Consolas,monospace;tab-size:4;white-space:pre;overflow:auto}
#bulk-text::placeholder{color:#95a28d;font-size:11px;opacity:1}
.bulk-examples{display:flex;gap:8px;align-items:center;margin-top:9px;flex-wrap:wrap;font-size:9px;color:var(--studio-muted)}
.bulk-examples button{padding:5px 8px;border:1px solid #dce7d2;border-radius:5px;background:#f4f8ee;color:#77925c;font-size:9px}
.bulk-examples button:hover{background:#e7f1db}
.bulk-options{display:grid;grid-template-columns:1.4fr 1fr;gap:13px;margin-top:21px}
.editor-modal .bulk-options .field{margin:0;gap:7px}
.editor-modal .bulk-options label{font-size:10px}
.editor-modal .bulk-options select{font-size:11px;padding:10px;border-radius:8px}
.bulk-instructions{border-top:1px solid var(--studio-border);margin-top:20px;padding-top:14px}
.bulk-instructions summary{display:flex;align-items:center;gap:7px;list-style:none;cursor:pointer;font-size:10px;font-weight:650;color:var(--studio-green);padding:4px 0}
.bulk-instructions summary::-webkit-details-marker{display:none}
.bulk-instructions summary .icon{height:11px;width:11px;transform:rotate(90deg)}
.bulk-instructions[open] summary .icon{transform:rotate(-90deg)}
.bulk-instructions p{font-size:10px;line-height:1.9;color:var(--studio-muted);margin:12px 0}
.bulk-instructions code{font:10px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;background:#edf4e5;color:#668b44;border-radius:4px;padding:2px 5px;overflow-wrap:anywhere}
.bulk-detected-format{font-size:8px;color:var(--studio-muted);text-align:right}
.bulk-counts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:17px}
.bulk-counts>div{padding:13px 12px;border:1px solid #e0e9d8;border-radius:9px;background:#f5f9ef}
.bulk-counts strong{font-size:22px;display:block;line-height:1.4;font-weight:750;color:#769650;letter-spacing:-.4px}
.bulk-counts span{font-size:9px;color:#849477}
.bulk-counts>div:nth-child(2){background:#f5f6f9;border-color:#e5e7ed}
.bulk-counts>div:nth-child(2) strong{color:#8b92a7}
.bulk-counts>div:nth-child(2) span{color:#858e9c}
.bulk-counts>div:nth-child(3){background:#fbf6ee;border-color:#eee3d2}
.bulk-counts>div:nth-child(3) strong{color:#b2946a}
.bulk-counts>div:nth-child(3) span{color:#a28e74}
.bulk-table-header{display:grid;grid-template-columns:1fr 135px;gap:12px;padding:0 11px 10px;font-size:7px;letter-spacing:1px;font-weight:700;color:var(--studio-muted)}
.bulk-table-header span:last-child{text-align:right}
.bulk-card-list{border:1px solid var(--studio-border);border-radius:10px;overflow:auto;max-height:320px;background:var(--studio-panel);overscroll-behavior:contain}
.bulk-card-row{display:grid;grid-template-columns:minmax(0,1fr) 125px;gap:12px;align-items:start;border-bottom:1px solid var(--studio-border);padding:13px 12px}
.bulk-card-row:last-child{border:0}
.bulk-card-row>div{display:flex;gap:9px;min-width:0}
.bulk-line{font-size:8px;color:#99a78b;min-width:12px;padding-top:4px;font-variant-numeric:tabular-nums}
.bulk-card-row p{font-size:11px;line-height:1.9;color:var(--studio-text);margin:0;overflow-wrap:anywhere;white-space:pre-wrap}
.bulk-card-row mark{color:#7ca151;background:#e8f2da;border-bottom:1px solid #afca91;padding:1px 5px;border-radius:3px;letter-spacing:2px;margin:0 2px}
.bulk-card-row small{display:block;font-size:9px;line-height:1.8;color:var(--studio-muted);margin-top:4px}
.bulk-card-row>strong{font-size:10px;font-weight:650;line-height:1.8;color:var(--studio-green);text-align:right;overflow-wrap:anywhere}
.bulk-more{font-size:9px;color:var(--studio-muted);line-height:1.8;margin:10px 3px}
.bulk-empty{min-height:235px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:var(--studio-panel);border:1px dashed var(--studio-border);border-radius:11px;padding:30px}
.bulk-empty>.icon{height:37px;width:37px;color:#a9c28d;margin-bottom:20px}
.bulk-empty strong{font-size:12px;line-height:1.8;color:var(--studio-text);font-weight:650}
.bulk-empty p{font-size:10px;line-height:1.9;color:var(--studio-muted);margin:7px 0 0}
.bulk-errors{margin-top:14px;padding:13px 14px;background:#fcf1e7;border:1px solid #efdecd;border-radius:9px}
.bulk-errors>strong{font-size:10px;font-weight:700;color:#a68051;display:flex;align-items:center;gap:6px}
.bulk-errors>strong .icon{width:14px;height:14px}
.bulk-errors p{font-size:9px;line-height:1.9;color:#9b805f;margin:11px 0 0}
.bulk-errors code{font:8px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;display:block;overflow-wrap:anywhere;color:#9d8a75;opacity:.9;margin-top:3px}
.bulk-warnings{margin-top:12px;color:var(--studio-muted)}
.bulk-warnings summary{font-size:9px;cursor:pointer;display:flex;align-items:center;gap:7px;list-style:none}
.bulk-warnings summary::-webkit-details-marker{display:none}
.bulk-warnings summary .icon{width:10px;height:10px;transform:rotate(90deg)}
.bulk-warnings p{font-size:9px;line-height:1.9;margin:8px 0;color:var(--studio-muted)}
.bulk-duplicate-note{font-size:9px;line-height:1.8;color:var(--studio-green);display:flex;gap:6px;align-items:start;margin:13px 0 0}
.bulk-duplicate-note .icon{height:13px;width:13px;flex-shrink:0;margin-top:2px}
.bulk-skip-invalid{display:flex;gap:8px;align-items:start;font-size:10px;line-height:1.8;margin:15px 0;color:var(--studio-text);cursor:pointer}
.bulk-skip-invalid input{margin:4px 0 0;accent-color:#8fae69;flex-shrink:0;width:14px;height:14px}
.bulk-local-note{display:flex;gap:6px;align-items:start;font-size:9px;line-height:1.9;color:var(--studio-muted);margin:17px 0 0}
.bulk-local-note .icon{height:13px;width:13px;flex-shrink:0;margin-top:2px;color:#91a77a}
.editor-modal .bulk-footer{position:sticky;bottom:0;z-index:4;justify-content:space-between;padding:18px 27px;background:#fff}
.bulk-footer .button{min-height:42px;font-size:11px}
html[data-theme="dark"] .studio-import-launcher{background:#212237;border-color:#3b3c51}
html[data-theme="dark"] .studio-import-launcher span{color:#d9f2a2}
html[data-theme="dark"] .studio-import-launcher small{color:#c2ea6d}
html[data-theme="dark"] .studio-import-launcher>div>.icon{color:#cdee85}
html[data-theme="dark"] .bulk-header{background:linear-gradient(115deg,#21233c,#171834 70%)}
html[data-theme="dark"] .bulk-header .studio-mark{background:#32344f;color:#def4b0}
html[data-theme="dark"] #bulk-text::placeholder{color:#8486a9}
html[data-theme="dark"] .bulk-examples button{background:#292a3f;color:#d4f097;border-color:#3e4057}
html[data-theme="dark"] .bulk-examples button:hover{background:#393b52}
html[data-theme="dark"] .bulk-instructions code{background:#2c2e44;color:#d2ef92}
html[data-theme="dark"] .bulk-counts>div{background:#26283e;border-color:#3c3e56}
html[data-theme="dark"] .bulk-counts strong{color:#d2f093}
html[data-theme="dark"] .bulk-counts span{color:#c6ec76}
html[data-theme="dark"] .bulk-counts>div:nth-child(2){background:#272943;border-color:#3d3f5f}
html[data-theme="dark"] .bulk-counts>div:nth-child(2) strong{color:#c5beda}
html[data-theme="dark"] .bulk-counts>div:nth-child(2) span{color:#b4b2c7}
html[data-theme="dark"] .bulk-counts>div:nth-child(3){background:#3c342d;border-color:#594937}
html[data-theme="dark"] .bulk-counts>div:nth-child(3) strong{color:#e5c89d}
html[data-theme="dark"] .bulk-counts>div:nth-child(3) span{color:#cfb694}
html[data-theme="dark"] .bulk-card-row mark{background:#32344e;border-color:#bde860;color:#e0f4b4}
html[data-theme="dark"] .bulk-line{color:#c5eb73}
html[data-theme="dark"] .bulk-empty>.icon{color:#c7ec77}
html[data-theme="dark"] .bulk-errors{background:#3b302b;border-color:#64503c}
html[data-theme="dark"] .bulk-errors>strong{color:#e8c597}
html[data-theme="dark"] .bulk-errors p{color:#dbbea0}
html[data-theme="dark"] .bulk-errors code{color:#c2ab92}
html[data-theme="dark"] .editor-modal .bulk-footer{background:#171834}
@media(max-width:900px){.bulk-body{gap:20px;padding:22px}.bulk-card-row{grid-template-columns:minmax(0,1fr) 105px}.bulk-table-header{grid-template-columns:1fr 105px}.bulk-section-heading h3{font-size:12px}}
@media(max-width:760px){
 .studio-import-launcher{padding:13px 12px;gap:10px;align-items:center}
 .studio-import-launcher>div{gap:7px}
 .studio-import-launcher>div>.icon{width:18px;height:18px}
 .studio-import-launcher span{font-size:10px;line-height:1.8}
 .studio-import-launcher small{font-size:8px}
 .studio-import-launcher .button{font-size:9px;min-height:44px;padding:9px 10px;gap:5px}
 .studio-import-launcher .button .icon{height:13px;width:13px}
 .card-row-actions .icon-button{min-width:36px;min-height:44px}
 .collapsed-card-summary{font-size:11px;max-width:195px}
 .bulk-header{padding:18px 17px;align-items:start}
 .bulk-header h2{font-size:18px;letter-spacing:-.5px;line-height:1.4}
 .bulk-header p{font-size:9px;line-height:1.8;max-width:230px}
 .bulk-body{grid-template-columns:1fr;gap:26px;padding:21px 17px}
 .bulk-section-heading{margin-bottom:12px}
 .bulk-section-heading h3{font-size:12px}
 .bulk-file-label{min-height:44px;font-size:9px}
 .bulk-input-label{font-size:10px}
 #bulk-text{font-size:16px;min-height:230px;padding:13px;line-height:1.9;white-space:pre-wrap}
 #bulk-text::placeholder{font-size:12px}
 .bulk-examples{gap:6px;font-size:9px}
 .bulk-examples button{min-height:38px;font-size:9px;padding:6px 8px}
 .bulk-options{grid-template-columns:1fr;gap:14px;margin-top:19px}
 .editor-modal .bulk-options select{font-size:16px;padding:11px}
 .bulk-instructions summary{font-size:10px;min-height:40px}
 .bulk-instructions p{font-size:11px}
 .bulk-instructions code{font-size:10px}
 .bulk-counts{gap:8px}
 .bulk-counts>div{padding:12px 10px}
 .bulk-counts strong{font-size:23px}
 .bulk-counts span{font-size:9px}
 .bulk-detected-format{font-size:8px;max-width:100px}
 .bulk-card-row{grid-template-columns:minmax(0,1fr) 90px;gap:8px;padding:12px 10px}
 .bulk-table-header{grid-template-columns:1fr 90px;font-size:7px;gap:8px;padding:0 10px 9px}
 .bulk-card-row p{font-size:11px}
 .bulk-card-row>strong{font-size:10px}
 .bulk-card-row small{font-size:9px}
 .bulk-card-list{max-height:380px}
 .bulk-errors p{font-size:10px}
 .bulk-errors code{font-size:9px}
 .bulk-skip-invalid{font-size:11px;min-height:44px;align-items:center}
 .bulk-skip-invalid input{width:18px;height:18px;margin:0}
 .bulk-warnings summary{font-size:10px;min-height:40px}
 .bulk-warnings p{font-size:10px}
 .bulk-local-note{font-size:10px}
 .editor-modal .bulk-footer{padding:14px 17px;gap:8px}
 .bulk-footer .button{font-size:10px;min-height:44px;padding:10px 12px;gap:5px}
 .bulk-footer .button.ghost{font-size:9px;padding-left:0}
}
@media(max-width:380px){.studio-import-launcher>div>.icon{display:none}.studio-import-launcher .button{font-size:8px}.collapsed-card-summary{max-width:165px}.bulk-header .studio-mark{display:none}}
.bulk-card-row p{font-size:12px}
.bulk-card-row>strong{font-size:11px}
.bulk-errors p{font-size:11px}
.bulk-errors code{font-size:10px}
@media(max-width:760px){.bulk-card-row p{font-size:11px}.bulk-card-row>strong{font-size:10px}.bulk-errors p{font-size:10px}.bulk-errors code{font-size:9px}}
