@import"https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap";*{box-sizing:border-box}:root{--bg-base: #08121c;--bg-elev: #0f1f31;--bg-soft: #132843;--surface: #102138;--surface-soft: #132742;--line: #294868;--line-soft: #355a80;--text-main: #e6f0ff;--text-muted: #9eb7d6;--brand: #1f7ed8;--brand-strong: #0f65b8}body{margin:0;font-family:Manrope,Avenir Next,Segoe UI,sans-serif;background:radial-gradient(circle at 12% 0%,rgba(31,126,216,.28),transparent 45%),radial-gradient(circle at 88% 12%,rgba(255,184,77,.2),transparent 42%),linear-gradient(160deg,#08121c,#0b1627,#0a1423);color:var(--text-main);line-height:1.45}.container{max-width:900px;margin:0 auto;padding:24px}h1{margin-bottom:6px}.hint{color:var(--text-muted);font-size:14px}.card{background:linear-gradient(180deg,#122439f0,#0e1d30f5);border:1px solid var(--line);border-radius:14px;padding:18px;margin:18px 0;box-shadow:0 18px 36px #040a1252}input,select,textarea,button{width:100%;margin:6px 0;border-radius:10px;border:1px solid var(--line-soft);padding:10px;background:var(--bg-elev);color:var(--text-main)}button{cursor:pointer;background:linear-gradient(180deg,var(--brand),var(--brand-strong));font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:transform .18s ease,box-shadow .2s ease,filter .2s ease;box-shadow:0 8px 18px #0c284a59;--btn-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 18l6-6-6-6' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}button:hover:not(:disabled){transform:translateY(-1px);filter:brightness(1.06)}button:before,.button-link:before{content:"";width:14px;height:14px;flex:0 0 14px;background-color:currentColor;-webkit-mask-image:var(--btn-icon-mask);mask-image:var(--btn-icon-mask);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain}button:disabled{opacity:.5;cursor:not-allowed}.row{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.row.single{grid-template-columns:2fr 1fr;align-items:center}.toggle{display:flex;gap:8px;align-items:center;justify-content:flex-end;font-size:14px;color:#a9bad7}.toggle input{width:auto;margin:0}.list{margin:10px 0 0;padding-left:18px}.list li{margin:6px 0}.checklist li{list-style:none;margin-left:-18px}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#0a1222;border:1px solid #2d4370;padding:12px;border-radius:8px}a{color:#7fbfff}a:hover{text-decoration:underline}.auth-layout{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;position:relative;overflow:hidden}.auth-layout:before{content:"";position:absolute;top:-20%;right:-8%;bottom:40%;left:-8%;background:radial-gradient(circle at 20% 30%,rgba(29,122,211,.2),transparent 45%),radial-gradient(circle at 70% 20%,rgba(255,178,66,.18),transparent 45%);pointer-events:none}.auth-card{width:100%;max-width:440px;background:linear-gradient(180deg,#13263cf2,#0d1d2ff2);border:1px solid var(--line-soft);border-radius:14px;padding:24px;box-shadow:0 22px 50px #0309106b;position:relative;z-index:1}.auth-title{margin:0 0 8px;font-size:1.5rem}.auth-lead{margin:0 0 16px;color:var(--text-muted);line-height:1.45}.auth-pre{font-size:12px;max-height:200px;overflow:auto}.auth-error{color:#ff8a8a;margin:8px 0;font-size:14px}.success-text{color:#9ff0be;margin:8px 0;font-size:14px}.auth-footer{margin-top:20px;color:#a9bad7;font-size:14px}.app-shell{display:flex;min-height:100vh}.app-nav{width:240px;flex-shrink:0;background:linear-gradient(180deg,#0b1523fa,#0b1321fa);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:18px 12px}.app-brand{display:flex;flex-direction:column;align-items:center;gap:10px;font-weight:700;font-size:15px;padding:8px 10px 16px;border-bottom:1px solid var(--line);margin-bottom:12px}.app-brand-title{align-self:center;text-align:center}.app-brand-logo{width:72px;height:72px;border-radius:50%;object-fit:cover;border:1px solid var(--line-soft);box-shadow:0 10px 22px #060e1959}.app-nav-links{display:flex;flex-direction:column;gap:4px;flex:1}.nav-link{display:block;padding:10px 12px;border-radius:8px;color:#c5d6ef;text-decoration:none;font-size:14px;border:1px solid transparent}.nav-link:hover{background:#1f49796b;border-color:#4274aa6b;text-decoration:none}.nav-link.active{background:linear-gradient(180deg,#1f7ed8,#165da9);color:#fff;border-color:#4d9be5}.app-nav-footer{border-top:1px solid #253453;padding-top:12px}.app-user{font-size:12px;color:var(--text-muted);margin:0;word-break:break-all}.button-ghost{background:#0d1c2dcc;border:1px solid var(--line-soft);color:#d7e7ff;box-shadow:none}.button-ghost:hover:not(:disabled){background:#1f497975}.app-main{flex:1;min-width:0;display:flex;flex-direction:column}.app-account-floating{position:fixed;top:12px;right:16px;z-index:1500}.app-account-box{display:inline-flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--line);border-radius:999px;background:#0a1726b8;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.app-account-box .button-ghost{width:auto;margin:0;min-width:96px;padding:8px 12px}.page{max-width:980px;margin:0 auto;padding:28px}.page-header{margin-bottom:20px}.page-header h1{margin:0 0 6px}.library-header-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.library-header-row button{width:auto;min-width:150px}.provider-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.provider-status{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;font-size:13px;font-weight:600;border:1px solid transparent}.provider-status.online{background:#133622;border-color:#2c8f55;color:#b8f2cc}.provider-status.offline{background:#3a151a;border-color:#b64b57;color:#ffb3bd}.provider-status.unknown{background:#2a2a2a;border-color:#6f6f6f;color:#dedede}.jobs-table-wrap{overflow-x:auto}.jobs-table{width:100%;border-collapse:collapse;font-size:14px;background:#0a14228c;border-radius:12px;overflow:hidden}.jobs-table th,.jobs-table td{border-bottom:1px solid var(--line);padding:10px 8px;text-align:left;vertical-align:top}.jobs-table th{color:var(--text-muted);font-weight:600;background:#14283eb3}.jobs-table tbody tr:hover{background:#1d3e6338}.jobs-actions-inline{display:flex;gap:8px;min-width:180px}.jobs-actions-inline button{width:auto;min-width:84px;margin:0}.jobs-actions-cell{display:flex;flex-direction:column;gap:6px}.run-disabled-reason{margin:0;color:#ffb3bd;font-size:12px;line-height:1.35}.row-actions{display:flex;flex-wrap:wrap;gap:8px}.row-actions button{width:auto;flex:1;min-width:140px}.profile-list li{list-style:none;margin-left:-18px;padding:12px;border:1px solid #253453;border-radius:10px;margin-bottom:10px;background:#0f1830}.button-danger{background:#8f2b3c;--btn-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6h18M8 6V4h8v2M19 6l-1 14H6L5 6M10 11v6M14 11v6' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}.button-link{display:inline-flex;align-items:center;justify-content:center;width:auto;flex:1;min-width:140px;margin:6px 0;border-radius:8px;border:1px solid #38527f;padding:10px;background:#0d162a;color:#e8eefc;text-decoration:none;font-weight:600;--btn-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 18l6-6-6-6' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}.icon-add{--btn-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E")}.icon-view{--btn-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 12s3.5-6 10-6 10 6 10 6-3.5 6-10 6-10-6-10-6z' stroke='%23000' stroke-width='2' fill='none'/%3E%3Ccircle cx='12' cy='12' r='3' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E")}.icon-run{--btn-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5l11 7-11 7V5z' fill='%23000'/%3E%3C/svg%3E")}.icon-stop{--btn-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='6' y='6' width='12' height='12' fill='%23000'/%3E%3C/svg%3E")}.icon-save{--btn-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 4h11l3 3v13H5V4zm3 0v6h8V6l-2-2H8z' fill='%23000'/%3E%3C/svg%3E")}.icon-manage{--btn-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 6h10M10 12h10M10 18h10M4 6h2M4 12h2M4 18h2' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E")}.icon-preview{--btn-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 12s3.5-6 10-6 10 6 10 6-3.5 6-10 6-10-6-10-6z' stroke='%23000' stroke-width='2' fill='none'/%3E%3Ccircle cx='12' cy='12' r='3' fill='%23000'/%3E%3C/svg%3E")}.icon-download{--btn-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4v10M8 10l4 4 4-4M4 20h16' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}.icon-close{--btn-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 6L6 18M6 6l12 12' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E")}.icon-import{--btn-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20V10M8 14l4-4 4 4M4 4h16v4H4z' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}.button-link:hover{background:#1a2744;text-decoration:none}.tab-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tab-button{background:#0d162a}.tab-button.active{background:#234c8f}.inline-form{margin-top:10px;padding:12px;border:1px solid #253453;border-radius:10px;background:#0f1830}.modal-form-row{display:grid;grid-template-columns:220px minmax(0,1fr);align-items:center;gap:10px;margin:6px 0}.modal-form-row>label,.modal-form-label{margin:0;color:#d7e4fa;font-size:14px}.modal-form-row input,.modal-form-row select,.modal-form-row textarea{margin:0}.modal-form-row-top{align-items:start}.switch-field{display:inline-flex;align-items:center;gap:10px;cursor:pointer;margin:0}.switch-field input{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px}.switch-slider{position:relative;width:46px;height:26px;border-radius:999px;background:#1b2a46;border:1px solid #38527f;transition:background .2s ease;flex:0 0 auto}.switch-slider:after{content:"";position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#d7e4fa;transition:transform .2s ease}.switch-field input:checked+.switch-slider{background:#234c8f;border-color:#4f90ea}.switch-field input:checked+.switch-slider:after{transform:translate(20px)}.switch-text{color:#a9bad7;font-size:14px;line-height:1.35}.photo-thumb{display:block;width:100%;height:180px;object-fit:contain;background:#0a1222;border-radius:10px;border:1px solid #253453}.thumb-button{all:unset;display:block;width:100%;margin-bottom:8px;cursor:zoom-in}.thumb-button:before{content:none}.photo-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#020814cc;display:flex;align-items:center;justify-content:center;padding:20px;z-index:1200}.photo-modal-content{width:min(1100px,95vw);max-height:90vh;background:#0f1830;border:1px solid #253453;border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:10px;overflow-y:auto}.photo-modal-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.photo-modal-header button{width:auto;margin:0}.modal-title{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.modal-close-button{margin-left:auto;min-width:96px;padding:8px 12px;background:#6a3044;border-color:#a45b74;color:#f7dbe7;--btn-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 6L6 18M6 6l12 12' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E")}.modal-close-button:hover:not(:disabled){background:#7e3a51}.photo-modal-image{width:100%;height:min(78vh,820px);object-fit:contain;background:#0a1222;border-radius:10px;border:1px solid #253453}.job-grid{grid-template-columns:repeat(2,1fr)}.thumb-select-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px;margin-top:8px}.thumb-select-item{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:8px;width:100%;margin:0;text-align:left;background:#0f1830;border:1px solid #253453;border-radius:10px;padding:8px}.thumb-select-item.active{border-color:#4f90ea;box-shadow:0 0 0 1px #4f90ea}.thumb-select-item span{display:block;font-size:13px;line-height:1.3;color:#d7e4fa;white-space:normal;overflow-wrap:anywhere}.thumb-select-item small{display:block;margin-top:-2px}.thumb-placeholder{display:flex;align-items:center;justify-content:center;color:#8ea2c5;font-size:12px}.run-blocked-reason{margin-top:6px;color:#ffd7a0}.library-detail-card{display:flex;flex-direction:column;gap:10px}.library-audio-player{width:100%;min-height:56px}.library-assets-list{display:flex;flex-direction:column;gap:10px;max-height:320px;overflow-y:auto;padding-right:4px}.library-asset-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px;border:1px solid #253453;border-radius:10px;background:#0f1830}.library-asset-row .jobs-actions-inline{min-width:auto}.library-confirm-backdrop{z-index:1400}.library-confirm-content{width:min(480px,92vw)}@media (min-width: 720px){.job-grid{grid-template-columns:repeat(4,1fr)}}@media (max-width: 760px){.modal-form-row{grid-template-columns:1fr;gap:6px}}.overview-header-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.overview-header-row h2{margin:0}.overview-reload-controls{display:inline-flex;align-items:center;gap:8px}.overview-reload-controls select{width:auto;min-width:120px;margin:0}.overview-reload-controls button{width:auto;margin:0}.overview-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr));gap:12px;margin-top:12px}.overview-stat-card{border:1px solid var(--line);border-radius:12px;padding:14px;background:linear-gradient(180deg,#0f1f32e0,#0b1929e0)}.overview-stat-label{margin:0;color:var(--text-muted);font-size:13px}.overview-stat-value{margin:8px 0 0;font-size:28px;line-height:1;font-weight:700}.overview-balance-value{margin:8px 0 10px;font-size:34px;font-weight:700;color:#9deebd}.overview-usage-grid{display:grid;grid-template-columns:repeat(3,minmax(140px,1fr));gap:12px;margin-top:12px}.overview-usage-card{border:1px solid var(--line);border-radius:12px;padding:14px;background:linear-gradient(180deg,#0f1f32e0,#0b1929e0)}.overview-usage-value{margin:8px 0 0;font-size:20px;font-weight:700}.landing-page{min-height:100vh;max-width:1100px;margin:0 auto;padding:40px 24px 56px}.landing-hero{padding:28px;border-radius:18px;border:1px solid var(--line-soft);background:radial-gradient(circle at 90% 12%,rgba(255,181,58,.22),transparent 38%),linear-gradient(155deg,#173759f0,#0e2135f5);box-shadow:0 24px 48px #03091061}.landing-kicker{margin:0 0 6px;color:#8cc6ff;font-size:13px;letter-spacing:.08em;text-transform:uppercase;font-weight:700}.landing-hero h1{margin:0;font-size:clamp(2rem,4.6vw,3rem);line-height:1.1}.landing-lead{margin-top:12px;max-width:760px;color:var(--text-muted);font-size:17px}.landing-credit-pill{display:inline-flex;margin-top:14px;padding:8px 12px;border-radius:999px;background:#17703459;border:1px solid rgba(105,224,153,.55);color:#caf7dd;font-weight:700;font-size:13px}.landing-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.landing-actions .button-link{width:auto;min-width:150px}.landing-project-types{margin-top:22px}.landing-type-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}.landing-type-card{border-radius:12px;border:1px solid var(--line);background:linear-gradient(180deg,#102238e6,#0c1b2ce6);padding:14px}.landing-type-card h3,.landing-type-card p{margin:0 0 8px}.overview-checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.overview-check-item{border:1px solid var(--line);border-radius:12px;background:linear-gradient(180deg,#0e1e30e0,#0b1827e6);padding:12px}.overview-check-label{display:inline-flex;align-items:center;gap:8px;font-weight:700}.overview-check-label input{width:16px;height:16px;margin:0}.overview-check-item .button-link{width:auto;min-width:160px;margin-top:8px}.project-type-guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:4px}.project-type-select-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;text-align:left;gap:8px;min-height:150px;background:linear-gradient(180deg,#12273ef0,#0d1d2ff2);border:1px solid var(--line-soft)}.project-type-select-card:before{content:none}.project-type-select-card p{margin:0;color:var(--text-muted)}.project-type-guide-card{border:1px solid var(--line);border-radius:12px;background:linear-gradient(180deg,#102135e6,#0c1928e6);padding:14px;margin-bottom:8px}.project-type-guide-card h3,.project-type-guide-card p{margin:0 0 8px}.project-guide-heading{color:#b8d7fb;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.project-guide-list{margin:0 0 10px;padding-left:18px}.project-guide-list li{margin:5px 0}.project-guide-list.ordered{list-style:decimal}@media (max-width: 900px){.overview-stats-grid{grid-template-columns:repeat(2,minmax(140px,1fr))}.overview-usage-grid,.landing-type-grid,.project-type-guide-grid,.overview-checklist{grid-template-columns:1fr}}@media (max-width: 560px){.overview-header-row{flex-direction:column;align-items:stretch}.overview-stats-grid{grid-template-columns:1fr}.overview-reload-controls{width:100%;flex-direction:column;align-items:stretch}.overview-reload-controls select,.overview-reload-controls button{width:100%}}@media (max-width: 920px){.app-shell{flex-direction:column}.app-nav{width:100%;border-right:none;border-bottom:1px solid var(--line);padding:14px}.app-brand{flex-direction:row;justify-content:center;padding-bottom:12px}.app-brand-logo{width:52px;height:52px}.app-nav-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:8px}.page{padding:20px}.app-account-floating{top:8px;right:10px;left:10px}.app-account-box{width:100%;justify-content:space-between;border-radius:12px}}
