:root{font-family:system-ui,-apple-system,sans-serif;color:#e8e9f1;background:#0b0d16;font-size:14px;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at top left,rgba(63,59,125,.22),transparent 40%),#0b0d16}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:#afa6fc}button:disabled{opacity:.5;cursor:not-allowed}.topbar{height:78px;border-bottom:1px solid #272a39;display:flex;align-items:center;justify-content:space-between;padding:0 max(30px,calc((100vw - 1280px)/2));background:rgba(13,15,26,.78)}.brand{display:flex;gap:13px;align-items:center}.logo,.brandmark{color:#c8beff;background:#2f284e;display:grid;place-items:center;width:41px;height:41px;border:1px solid #5d508b;border-radius:13px;font-size:25px}.brand strong{font-family:system-ui;font-size:18px;letter-spacing:-.8px}.brand small{display:block;color:#888eaa;font-size:9px;letter-spacing:2px;margin-top:4px}.top-actions{display:flex;gap:18px;align-items:center}.status{font-size:12px;color:#a6aabb}.green-dot{display:inline-block;background:#60dcab;width:7px;height:7px;border-radius:100%;margin-right:5px}.main{max-width:1280px;margin:auto;padding:35px 30px 30px}.hero{display:flex;align-items:end;justify-content:space-between;gap:22px;margin-bottom:34px}.eyebrow{font-weight:700;color:#a69df6;font-size:11px;letter-spacing:2px}.hero h1{font-family:system-ui;font-size:clamp(29px,3.4vw,43px);letter-spacing:-1.9px;margin:11px 0 10px}.hero h1 em{color:#b7aaff;font-style:normal}.hero p{color:#a7aabe;margin:0}.hero-meta{display:flex;gap:26px}.hero-meta div{display:flex;flex-direction:column;border-left:1px solid #353546;padding-left:17px;white-space:nowrap}.hero-meta b{font:800 27px system-ui;color:#fff}.hero-meta span{font-size:11px;color:#9ba0b6}.layout{display:grid;grid-template-columns:1.04fr .96fr;gap:20px;margin-bottom:20px}.panel{background:#151823;border:1px solid #292d3c;border-radius:19px;padding:23px;box-shadow:0 12px 40px rgba(0,0,0,.1)}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:20px}.section-heading>div:first-child{display:flex;align-items:center;gap:10px}.step{border-radius:7px;background:#302e4a;color:#afa5fb;border:1px solid #49436b;font-size:11px;font-weight:800;padding:5px 7px}.section-heading h2{font:800 16px system-ui;margin:0;letter-spacing:-.4px}.muted{color:#9299ac;font-size:12px}.btn{border:none;background:#252b3b;color:#d7daf0;border-radius:10px;padding:11px 14px;font-weight:700;white-space:nowrap;transition:background .12s}.btn:hover{background:#383c53}.btn.primary{background:#a998ff;color:#181331}.btn.primary:hover{background:#c1b5ff}.btn.secondary{background:#26273c;border:1px solid #50516d}.btn.ghost{background:transparent;border:1px solid #3c3f50}.btn.small{padding:8px 11px;font-size:12px}.btn.large{padding:16px 19px}.dropzone{min-height:172px;border:1.5px dashed #56506d;background:linear-gradient(140deg,rgba(132,100,232,.1),rgba(64,80,119,.05));border-radius:14px;display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;position:relative;cursor:pointer;text-align:center;padding:15px}.dropzone.drag{border-color:#b9aafa;background:#353051}.dropzone b{font-size:14px}.dropzone span:not(.upload-ic){font-size:12px;color:#9aa0b4}.upload-ic{display:grid;place-items:center;width:39px;height:39px;border-radius:9px;background:#342f52;color:#c7baff;font-size:25px}.dropzone input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.upload-actions{display:flex;align-items:center;justify-content:space-between;margin-top:17px;gap:8px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.settings-grid label,.meta-grid label,.authcard label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:700;color:#bfc2d3}.settings-grid select,.meta-grid input,.meta-grid textarea,.meta-grid select,.authcard input{background:#0e121f;border:1px solid #353b50;padding:11px;border-radius:9px;color:#e5e8f6;outline:none;width:100%}.settings-grid select:focus,.meta-grid input:focus,.meta-grid textarea:focus{border-color:#9789ed}.settings-grid select{height:44px}.switchrow{display:flex;align-items:center;gap:10px;background:#101420;padding:13px;border:1px solid #2c3144;border-radius:11px;margin:18px 0}.switchrow input,.check{accent-color:#a998ff;width:16px;height:16px}.switchrow span{display:flex;flex-direction:column;gap:3px}.switchrow small{font-size:11px;color:#8991ab}.actionrow{display:flex;gap:10px;flex-wrap:wrap}.hint{font-size:11px;color:#949ab0;margin-top:15px;line-height:1.5}.library{margin-bottom:20px}.library-actions{display:flex;gap:7px}.count{font-size:12px;border:1px solid #3b3b4f;border-radius:15px;padding:2px 7px;color:#c8c9dc}.library-help{font-size:12px;color:#a1a7be;border-bottom:1px solid #303241;padding-bottom:16px;margin-bottom:19px}.assets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.asset{border:1px solid #303447;background:#101521;border-radius:13px;overflow:hidden;display:grid;grid-template-columns:176px 1fr;min-width:0}.preview{position:relative;background:#232638;display:flex;align-items:center;justify-content:center;overflow:hidden}.preview img{width:100%;height:100%;max-height:385px;object-fit:contain;min-height:190px;background-image:linear-gradient(45deg,#2d3343 25%,transparent 25%),linear-gradient(-45deg,#2d3343 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#2d3343 75%),linear-gradient(-45deg,transparent 75%,#2d3343 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}.preview .select{position:absolute;top:10px;left:10px;display:flex;background:#121627e6;border:1px solid #50536c;border-radius:7px;padding:6px;gap:4px;font-size:11px;align-items:center}.asset-content{padding:14px;min-width:0}.assethead{display:flex;align-items:center;justify-content:space-between;gap:8px}.assethead h3{font:800 12px system-ui;overflow-wrap:anywhere;margin:0}.pill{display:inline-block;padding:4px 7px;border-radius:8px;background:#2d244b;color:#c5b4ff;font-weight:700;font-size:10px}.pill.ok{background:#14392f;color:#85e3bd}.assetmeta{font-size:11px;color:#9298ae;margin:8px 0 12px;line-height:1.6}.warnings{font-size:11px;color:#e7b97c;margin:9px 0}.meta-grid{display:grid;gap:9px}.meta-grid label{font-size:10px;gap:5px}.meta-grid textarea{resize:vertical;min-height:56px;line-height:1.35}.meta-grid input,.meta-grid textarea,.meta-grid select{padding:8px 9px;font-size:12px}.meta-cols{display:grid;grid-template-columns:1fr 1fr;gap:8px}.asset-buttons{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin-top:12px}.asset-buttons .btn{padding:8px;font-size:11px}.asset-buttons a{font-size:11px;color:#b8aeff;text-decoration:none}.asset-buttons a:hover{text-decoration:underline}.export{display:flex;justify-content:space-between;align-items:center;gap:30px}.export .section-heading{margin-bottom:5px}.export p{color:#b1b5c6;line-height:1.5;margin:9px 0 11px}.export-notes{font-size:11px;color:#e4bb8e;line-height:1.5}.empty{grid-column:1/-1;text-align:center;padding:45px}.empty-icon{font-size:40px;color:#ada4f3}.empty h3{font:700 17px system-ui}.empty p{color:#999fb6}.toast{position:fixed;bottom:24px;right:24px;max-width:400px;z-index:99;display:none;border-radius:11px;background:#32344c;color:white;padding:14px 18px;box-shadow:0 15px 40px #0008;line-height:1.5}.toast.visible{display:block}.toast.error{background:#65393f}.authwrap{display:grid;place-items:center;min-height:100vh;padding:24px}.authcard{max-width:415px;width:100%;padding:36px;background:#161925;border:1px solid #34354d;border-radius:22px}.brandmark{margin-bottom:18px}.authcard h1{font:800 32px system-ui;margin:9px 0}.authcard p{color:#a7aec4;line-height:1.5;margin:0 0 23px}.authcard .stack{display:grid;gap:11px}.fineprint{font-size:11px;color:#8f98b0;margin-top:23px;line-height:1.6}.alert{padding:12px;border-radius:10px;margin-bottom:16px}.alert.danger{background:#522e38;color:#ffc6c6}footer{text-align:center;color:#777f95;font-size:11px;margin:27px 0 0}.progress{font-size:12px;color:#c7bcff;margin-top:12px;min-height:16px}
@media(max-width:1100px){.assets{grid-template-columns:1fr}.asset{grid-template-columns:200px 1fr}}@media(max-width:780px){.topbar{padding:0 18px}.main{padding:24px 15px}.hero{align-items:start;flex-direction:column}.hero-meta{width:100%;justify-content:space-between}.layout{grid-template-columns:1fr}.export{align-items:stretch;flex-direction:column}.assets{grid-template-columns:1fr}.panel{padding:18px}}@media(max-width:480px){.status{display:none}.asset{grid-template-columns:1fr}.preview img{max-height:230px}.meta-cols{grid-template-columns:1fr}.settings-grid{grid-template-columns:1fr}.upload-actions{flex-direction:column;align-items:stretch}.brand strong{font-size:16px}}
