.sheet-import-trigger{display:inline-flex!important;align-items:center;gap:.55rem;background:#d9ff3f!important;color:#35203e!important;border-color:#c8ef25!important;font-weight:800!important;box-shadow:0 8px 18px rgba(116,83,136,.12)}
.sheet-import-trigger span{font-size:1.05rem;line-height:1}
.sheet-import-trigger-hero{width:max-content;margin-top:.85rem;min-height:44px;padding:.72rem 1rem!important;border-radius:14px!important;white-space:nowrap}
.task-admin>.sheet-import-trigger{width:calc(100% - 28px)!important;margin:12px 14px 4px!important;justify-content:center;min-height:46px}
.sheet-import-open{overflow:hidden!important}
.sheet-import-backdrop{z-index:2000!important;inset:0!important;width:100vw!important;height:100dvh!important;padding:10px!important;overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:center!important}
.sheet-import-modal{width:min(1120px,calc(100vw - 32px));max-width:1120px;max-height:min(900px,calc(100vh - 30px));overflow:hidden;display:flex;flex-direction:column;padding:0!important}
.sheet-import-modal>.close{position:absolute;z-index:3;right:20px;top:18px}
.sheet-modal-content{padding:28px;overflow:auto;overscroll-behavior:contain}
.sheet-file-step{display:flex;align-items:center;gap:20px;padding-right:46px;margin-bottom:24px}
.sheet-file-step h3{margin:.2rem 0 .45rem;font-size:clamp(1.5rem,3vw,2.15rem);color:#37223f}
.sheet-file-step p{margin:0;max-width:720px;color:#6d6073;line-height:1.55}
.sheet-file-icon{flex:0 0 74px;width:74px;height:74px;border-radius:24px;display:grid;place-items:center;background:#edf4f7;color:#37223f;border:1px solid #d5e2e7;font-weight:900;letter-spacing:.08em;box-shadow:0 10px 25px rgba(55,34,63,.08)}
.sheet-drop-zone{min-height:170px;border:2px dashed #9a87a5;border-radius:24px;background:linear-gradient(145deg,#faf8fc,#eef4f7);display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;cursor:pointer;transition:.2s ease}
.sheet-drop-zone:hover,.sheet-drop-zone:focus-within{border-color:#769400;background:#f7ffdf;transform:translateY(-1px)}
.sheet-drop-zone input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.sheet-drop-zone strong{background:#d9ff3f;color:#35203e;padding:.75rem 1.1rem;border-radius:999px;font-size:1rem}
.sheet-drop-zone span{color:#716578;font-size:.88rem}
.sheet-file-error{min-height:1.4em;margin:.65rem 0;color:#b63b57;font-weight:700}
.sheet-import-topline{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px 58px 18px 20px;border-radius:20px;background:#edf4f7;border:1px solid #dae5ea;margin-bottom:18px}
.sheet-import-topline>div{display:grid;gap:3px}.sheet-import-topline strong{font-size:1.05rem;color:#37223f}.sheet-import-topline small{color:#6f6475}
.sheet-source-grid,.sheet-destination{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:18px;padding:18px;border:1px solid #e3dce6;border-radius:20px;background:#fbfafc}
.sheet-destination>p{grid-column:1/-1;margin:0}.sheet-destination>strong{font-size:1.15rem;color:#37223f;align-self:center}.sheet-destination>.eyebrow{grid-column:1/-1}
.sheet-source-grid label,.sheet-destination label,.sheet-mapping label{display:grid;gap:7px;color:#4a3851;font-weight:750}
.sheet-source-grid select,.sheet-destination select,.sheet-mapping select{width:100%;min-height:44px;border:1px solid #d8ccd9;border-radius:13px;background:#fff;color:#37223f;padding:.6rem .75rem;font:inherit}
.sheet-mapping{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:20px;border-radius:22px;background:#f5f0f7;border:1px solid #e4d9e8}
.sheet-mapping>div{grid-column:1/-1}.sheet-mapping h4{margin:.18rem 0 0;color:#37223f;font-size:1.2rem}.sheet-mapping label em{color:#668000;font-style:normal;font-size:.74rem;text-transform:uppercase;letter-spacing:.05em}.sheet-mapping label small{font-weight:600;color:#817487}
.sheet-multiblock{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 16px;padding:15px 18px;border-radius:20px;background:#f4ffd1;border:1px solid #d2ee72;color:#37223f}.sheet-multiblock>div{display:flex;align-items:center;gap:12px}.sheet-multiblock>div>span{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:#d9ff3f;font-weight:900}.sheet-multiblock p{display:grid;gap:2px;margin:0}.sheet-multiblock small{color:#695e6d}.sheet-multiblock label{display:flex;align-items:center;gap:8px;font-weight:800;white-space:nowrap}.sheet-multiblock input{accent-color:#769400;width:18px;height:18px}.sheet-multiblock-note{margin:-4px 0 16px;padding:.8rem 1rem;border-radius:14px;background:#f5f0f7;color:#66566c;font-size:.88rem}
.sheet-import-summary{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 12px}
.sheet-import-summary span{display:flex;align-items:center;gap:5px;padding:.58rem .75rem;border-radius:999px;background:#edf4f7;color:#4a3a50;font-size:.88rem}.sheet-import-summary strong{color:#37223f}.sheet-import-summary .limit{background:#fff0d7;color:#845d16}
.sheet-preview{border:1px solid #ded5e2;border-radius:20px;overflow:auto;max-height:390px;background:#fff}
.sheet-preview-head,.sheet-preview-row{min-width:780px;display:grid;grid-template-columns:1.55fr 1fr 1fr .7fr 1.1fr;gap:12px;align-items:center;padding:12px 16px}
.sheet-preview-head{position:sticky;top:0;z-index:1;background:#37223f;color:#fff;font-size:.76rem;text-transform:uppercase;letter-spacing:.06em;font-weight:800}
.sheet-preview-row{border-top:1px solid #eee8ef;color:#5b4d60;font-size:.88rem}.sheet-preview-row:nth-child(odd){background:#fcfbfc}.sheet-preview-row strong{color:#37223f}.sheet-preview-row>span:last-child{display:grid;gap:2px}.sheet-preview-row small{font-size:.72rem;color:#9a4558}
.sheet-status{width:max-content;padding:.32rem .52rem;border-radius:999px;font-size:.72rem}.sheet-status.ready{background:#e1f7eb;color:#177049}.sheet-status.duplicate{background:#f1edf2;color:#75667a}.sheet-status.error{background:#ffe7ec;color:#a42c48}
.sheet-preview-note{text-align:right;margin:.5rem 0 0;font-size:.8rem}.sheet-import-modal .modal-actions{position:sticky;bottom:-28px;margin:20px -28px -28px;padding:16px 28px;background:rgba(255,255,255,.95);backdrop-filter:blur(12px);border-top:1px solid #e8e1ea;z-index:2}.sheet-import-modal .modal-actions .primary{background:#d9ff3f!important;color:#35203e!important;border-color:#c8ef25!important}.sheet-import-modal .modal-actions button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:760px){.sheet-import-backdrop{padding:7px!important}.sheet-import-modal{width:100%;max-height:calc(100dvh - 14px);border-radius:24px}.sheet-modal-content{padding:20px 16px}.sheet-import-modal>.close{right:14px;top:12px}.sheet-file-step{align-items:flex-start;padding-right:40px}.sheet-file-icon{width:54px;height:54px;flex-basis:54px;border-radius:17px}.sheet-source-grid,.sheet-destination,.sheet-mapping{grid-template-columns:1fr;padding:14px}.sheet-mapping>div,.sheet-destination>p,.sheet-destination>.eyebrow{grid-column:1}.sheet-import-topline{align-items:flex-start;flex-direction:column;padding:16px 50px 16px 16px}.sheet-multiblock{align-items:flex-start;flex-direction:column}.sheet-import-modal .modal-actions{bottom:-20px;margin:18px -16px -20px;padding:14px 16px}.sheet-preview-head,.sheet-preview-row{min-width:720px}.sheet-drop-zone{min-height:145px}.sheet-import-trigger-hero{width:100%;justify-content:center}}
