:root{--ink:#183d35;--muted:#728078;--green:#207758;--lime:#c6e979;--paper:#fff;--bg:#f5f7f2;--border:#e1e7dd;--danger:#a53f38}*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,Helvetica,sans-serif;color:var(--ink);background:var(--bg);font-size:14px}button,input,textarea{font:inherit}button,a,input,textarea{outline-offset:4px}button,a{touch-action:manipulation}button{cursor:pointer}a{text-decoration:none;color:inherit}[hidden]{display:none!important}.boot{padding:50px;text-align:center}button:disabled{opacity:.6;cursor:wait}label{display:block;font-weight:600;font-size:12px;margin:23px 0 9px}input,textarea{width:100%;border:1px solid #d7e0d6;border-radius:8px;background:#fff;padding:13px 14px;color:var(--ink);transition:border .2s;resize:vertical}input:focus,textarea:focus{border-color:var(--green);outline:2px solid #c6e97955}input::placeholder,textarea::placeholder{color:#9aa59b}h1,h2,h3,p{margin:0}button{border:0}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:14px;border-radius:7px;padding:13px 18px;font-weight:600;font-size:12px;text-align:center;min-height:44px}.primary{background:var(--green);color:white}.primary:hover{background:#175b43}.primary span{margin-left:auto;font-size:19px}.secondary{background:#fff;border:1px solid #d7e0d6;color:var(--ink)}.secondary:hover{background:#f3f6ed}.full{width:100%;margin-top:24px}.badge{display:inline-block;padding:7px 9px;background:#edf3e7;border-radius:4px;font-size:9px;font-weight:700;letter-spacing:1.2px}.eyebrow{font-size:10px;letter-spacing:1.9px;font-weight:600;color:#738875;margin-bottom:16px}.form-error{color:var(--danger);font-size:12px;line-height:1.6;margin-top:12px;white-space:pre-wrap}.input-hint{font-size:11px;color:var(--muted);line-height:1.65;margin-top:8px}.auth-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-brand{position:relative;background:#163e32;color:#fff;padding:50px 66px;min-height:700px;overflow:hidden}.auth-brand:after{content:'';position:absolute;width:400px;height:400px;border:1px solid #c6e97928;border-radius:50%;bottom:-220px;right:-130px}.brand-mark{position:absolute;right:55px;font-size:20px;border:1px solid #ffffff45;width:45px;height:45px;text-align:center;padding-top:9px;border-radius:10px}.brand-mark span{font-size:15px;color:var(--lime)}.auth-brand>p{font-size:21px;font-weight:800;letter-spacing:1.5px}.auth-brand>p span{font-size:9px;font-weight:400;display:block;letter-spacing:5px;margin-top:4px}.auth-pitch{max-width:480px;margin-top:150px}.auth-pitch .eyebrow{color:var(--lime);font-size:10px}.auth-pitch h1{font-size:58px;line-height:1.08;font-weight:500;letter-spacing:-2px;margin:24px 0}.auth-pitch p{color:#b6c8bd;font-size:15px;line-height:1.8;max-width:360px}.auth-line{width:45px;height:2px;background:var(--lime);margin:35px 0 20px}.auth-pitch small{font-size:9px;letter-spacing:3px;color:#acc7b1}.auth-bottom{margin-top:100px;font-size:10px;color:#89a995}.auth-panel{display:flex;justify-content:center;align-items:center;padding:50px}.login-card{width:100%;max-width:350px}.login-card h2{font-size:28px;letter-spacing:-.8px;margin:22px 0 12px}.login-card>p{color:var(--muted);font-size:13px;line-height:1.7}.login-card .auth-hint{font-size:10px;text-align:center;margin-top:26px}.login-card small{display:block;margin-top:8px;font-size:10px;color:var(--muted)}.app-shell{display:flex;min-height:100vh}.sidebar{width:228px;background:#173e32;color:#dae5dc;position:fixed;inset:0 auto 0 0;padding:42px 24px 20px;display:flex;flex-direction:column}.wordmark{font-size:24px;font-weight:800;letter-spacing:1.4px;padding-left:14px;display:block}.wordmark span{display:block;font-size:8px;letter-spacing:3px;font-weight:400;color:var(--lime);margin-top:8px}.side-caption{font-size:8px;letter-spacing:1.4px;color:#809f8c;margin:55px 14px 16px}.nav-item{display:flex;align-items:center;gap:12px;background:none;color:#b4c8ba;text-align:left;width:100%;padding:14px 13px;border-radius:6px;font-size:12px;margin-bottom:7px}.nav-item span{font-size:20px;width:22px;line-height:18px}.nav-item.active{background:#2b5141;color:var(--lime)}.nav-item:hover{background:#2b5141}.sidebar-bottom{margin-top:auto}.protected{font-size:10px;margin:25px 13px;color:#b6c9b9;display:flex;align-items:center;gap:7px}.status-dot{width:6px;height:6px;border-radius:100%;background:var(--lime)}.logout{display:flex;justify-content:space-between;width:100%;background:none;color:#c1d3c4;padding:14px;border-top:1px solid #365647;font-size:11px}.sidebar-bottom small{font-size:8px;color:#7d9d88;display:block;margin:25px 13px 0}.workspace{margin-left:228px;width:calc(100% - 228px)}.topbar{height:76px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 44px;font-size:11px;background:#fff9;color:var(--muted)}.topbar strong{color:var(--ink);font-weight:500}.crumb{margin:0 12px;color:#c7d0c1}.user-pill{display:flex;align-items:center;gap:10px;font-size:10px}.avatar{width:27px;height:27px;display:flex;align-items:center;justify-content:center;background:#e7edde;border-radius:50%;font-size:11px;font-weight:bold}.workspace main{padding:38px 44px 0;max-width:1500px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading h1{font-size:34px;font-weight:500;letter-spacing:-1.4px;margin-bottom:11px}.page-heading h1 span{color:#80a650}.page-heading>div>p:last-child{font-size:12px;color:var(--muted);line-height:1.6}.connection-badge{background:#edf2e8;border:1px solid #dce5d5;padding:9px 12px;border-radius:20px;font-size:10px;white-space:nowrap;color:#778b6c}.connection-badge.ready{color:#347145;background:#ecf4e7}.card{background:var(--paper);border:1px solid var(--border);border-radius:12px}.query-layout{display:grid;grid-template-columns:minmax(310px,.86fr) minmax(350px,1.14fr);gap:24px}.query-card{padding:27px 28px}.card-heading{display:flex;align-items:center;gap:12px;margin-bottom:8px}.step{width:35px;height:35px;flex-shrink:0;background:#edf3e6;display:flex;align-items:center;justify-content:center;border-radius:8px;color:#57814e;font-size:10px;font-weight:bold}.card-heading h2{font-size:15px;font-weight:600;margin-bottom:5px}.card-heading p{font-size:10px;color:var(--muted)}.query-card #duimp{font-size:18px;letter-spacing:.5px;padding:16px 14px}.manual-tag{font-size:8px;letter-spacing:1px;font-weight:400;color:#819b6b;margin-left:6px;background:#f0f4e9;padding:4px 6px;border-radius:3px}.version-row{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #edf0e9;margin-top:23px;padding-top:16px}.version-row label{margin:0;font-size:11px;color:#69796a;font-weight:400}.version-row input{width:72px;padding:7px 9px}.notice{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;background:#eef4e5;border:1px solid #dce7cc;border-radius:8px;margin-bottom:20px;font-size:11px;line-height:1.6;gap:12px}.text-button{color:var(--green);background:none;font-weight:600;font-size:11px}.compact{display:block;margin-top:22px}.result-column{display:flex}.empty-result{width:100%;display:flex;align-items:center;flex-direction:column;justify-content:center;text-align:center;padding:35px;background:linear-gradient(140deg,#fff,#f9fbf5);min-height:510px}.empty-result h2{font-size:29px;line-height:1.2;font-weight:500;letter-spacing:-.9px;margin:20px 0 16px}.empty-result>p{max-width:310px;font-size:12px;color:var(--muted);line-height:1.8}.empty-features{display:flex;gap:25px;border-top:1px solid #e8edde;padding-top:22px;margin-top:25px;font-size:10px;color:#63805f}.paper-illustration{position:relative;width:90px;height:112px;background:white;border:1px solid #dbe6d4;border-radius:6px;transform:rotate(-7deg);box-shadow:10px 12px 0 #edf3e5;margin-bottom:35px;padding:18px 13px}.paper-header{height:5px;background:#527c52;width:25px;margin-bottom:14px}.paper-lines{height:3px;background:#d7e2d0;margin-bottom:6px;width:57px}.paper-lines.short{width:36px}.paper-table{height:23px;border:1px solid #d7e2d0;background:repeating-linear-gradient(0deg,#fff,#fff 5px,#edf3e6 5px,#edf3e6 7px);margin-top:10px}.paper-illustration>span{position:absolute;right:-15px;bottom:10px;background:var(--green);color:white;padding:7px;border-radius:4px;font-size:9px;font-weight:bold;letter-spacing:1px}.result-card{width:100%;padding:25px}.result-top{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--muted)}.badge.success{background:#e6f2df;color:#48713e}.result-card>h2{font-size:23px;letter-spacing:-.6px;margin:19px 0 10px}.result-importer{font-size:11px;line-height:1.6;color:var(--muted)}.result-metrics{display:grid;grid-template-columns:.7fr .85fr 1.1fr;padding:20px 0;margin-top:6px;border-bottom:1px solid var(--border);gap:12px}.result-metrics small{font-size:8px;letter-spacing:.5px;color:var(--muted);display:block;margin-bottom:9px}.result-metrics strong{font-size:14px;font-weight:500}.result-details{padding-top:14px}.detail-row{display:flex;justify-content:space-between;gap:20px;padding:9px 0;font-size:11px;line-height:1.5}.detail-row dt{color:var(--muted)}.detail-row dd{margin:0;text-align:right;overflow-wrap:anywhere;max-width:70%}.edit-recinto{display:flex;gap:8px}.edit-recinto textarea{font-size:11px}.edit-recinto button{font-size:10px;padding:10px;min-width:88px}.download-actions{display:flex;gap:10px;margin-top:20px}.download-actions .primary{flex:1}.download-actions .secondary{font-size:11px}.progress-message{font-size:11px;color:var(--green);line-height:1.8;margin-top:15px}.progress-message:before{content:'';display:inline-block;width:8px;height:8px;background:#74a65f;border-radius:50%;margin-right:8px;animation:pulse 1s infinite}@keyframes pulse{50%{opacity:.25}}.process-strip{display:grid;grid-template-columns:repeat(3,1fr);margin-top:27px;padding:25px 10px;border-top:1px solid var(--border);gap:18px}.process-strip>div{display:flex;gap:13px;align-items:flex-start}.process-strip>div>span{font-size:10px;color:#7f9a71;padding-top:2px}.process-strip p{font-size:9px;color:var(--muted);line-height:1.8}.process-strip strong{display:block;font-size:11px;font-weight:500;color:var(--ink);margin-bottom:2px}.workspace-footer{display:flex;justify-content:space-between;gap:20px;margin-top:30px;padding:24px 0;border-top:1px solid var(--border);color:#93a08c;font-size:8px;letter-spacing:.6px}.settings-layout{display:grid;grid-template-columns:1fr .85fr;gap:65px}.keys-card{padding:30px;max-width:580px}.settings-notes{padding:27px 15px 0 0}.settings-notes h2{font-size:28px;line-height:1.3;letter-spacing:-.8px;font-weight:500;margin:22px 0}.settings-notes p{font-size:12px;line-height:1.9;color:var(--muted);margin-bottom:18px;max-width:360px}.settings-notes h3{font-size:13px;margin-bottom:13px}.note-divider{height:1px;background:var(--border);margin:30px 0;max-width:360px}.danger-link{margin-top:20px;background:none;color:var(--danger);font-size:11px;padding:0}.history-header{display:flex;align-items:center;justify-content:space-between;padding:23px}.history-header h2{font-size:15px;font-weight:500}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:8px;letter-spacing:.7px;color:#819079;background:#f9fbf6;white-space:nowrap;font-weight:500;padding:14px 18px;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}td{font-size:10px;padding:18px;line-height:1.7;border-bottom:1px solid #edf0e9;vertical-align:top}td:first-child{white-space:nowrap;font-weight:600}td:nth-child(2),td:nth-child(3){min-width:160px;max-width:250px}.table-empty{padding:50px 25px;text-align:center;color:var(--muted);font-size:12px}.history-card .form-error{padding:0 25px 15px}.toast{position:fixed;bottom:25px;right:25px;background:#183d35;color:#fff;padding:15px 20px;font-size:12px;border-radius:8px;box-shadow:0 5px 20px #0002;z-index:100;max-width:90vw}
@media(min-width:1500px){.query-layout{grid-template-columns:440px 1fr}.workspace main{padding-top:50px}.page-heading{margin-bottom:35px}}
@media(max-width:1100px){.sidebar{width:190px;padding-left:16px;padding-right:16px}.workspace{margin-left:190px;width:calc(100% - 190px)}.workspace main{padding:30px 25px 0}.topbar{padding:0 25px}.query-layout{grid-template-columns:1fr}.empty-result{min-height:360px}.empty-result .paper-illustration{margin-bottom:22px}.settings-layout{gap:25px}.page-heading{align-items:flex-start}.auth-brand{padding:40px}.auth-pitch h1{font-size:46px}}
@media(max-width:720px){.sidebar{position:static;width:100%;padding:20px;display:block}.app-shell{display:block}.wordmark{font-size:20px;padding-left:0}.wordmark span{display:inline;font-size:8px;margin-left:15px}.side-caption,.sidebar-bottom{display:none}.sidebar nav{display:flex;margin-top:20px;gap:7px}.nav-item{margin:0;padding:10px;font-size:10px;justify-content:center}.nav-item span{font-size:16px;width:15px}.workspace{margin:0;width:100%}.topbar{height:55px;padding:0 20px}.user-pill{font-size:9px}.workspace main{padding:28px 18px 0}.page-heading{display:block}.page-heading h1{font-size:30px}.connection-badge{display:inline-block;margin-top:18px}.query-card,.result-card{padding:23px 20px}.query-layout{gap:18px}.notice{display:block}.notice .text-button{padding:10px 0 0}.process-strip{gap:14px}.process-strip>div{display:block}.process-strip p{font-size:9px}.process-strip>div>span{display:block;margin-bottom:8px}.workspace-footer{font-size:7px}.settings-layout{grid-template-columns:1fr}.settings-notes{padding:10px 6px}.auth-page{grid-template-columns:1fr}.auth-brand{min-height:auto;padding:30px}.auth-pitch{margin-top:45px}.auth-pitch h1{font-size:38px;margin:17px 0}.auth-pitch h1 br{display:none}.auth-pitch p,.auth-line,.auth-pitch small,.auth-bottom{display:none}.auth-panel{padding:40px 25px}.login-card h2{font-size:25px}.auth-pitch .eyebrow{font-size:8px}.brand-mark{right:30px}.edit-recinto{display:block}.edit-recinto button{margin-top:8px}.download-actions{flex-wrap:wrap}.download-actions a{flex:1;white-space:nowrap}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
