*{box-sizing:border-box}html,body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#111827;background:#f7f8fa}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}.auth-layout{min-height:100vh;display:grid;grid-template-columns:minmax(360px,44%) 1fr;background:#fff}.auth-aside{background:radial-gradient(circle at 20% 20%,#143a70 0,transparent 32%),linear-gradient(145deg,#06152d,#0b2143);color:#fff;padding:46px clamp(34px,5vw,78px);display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.brand{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:-.03em;position:relative;z-index:1}.brand-icon{width:36px;height:36px;border-radius:10px;background:#2563eb;display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:27px;font-weight:900}.brand-icon span{color:#7dd3fc}.brand-light{font-weight:500}.auth-pitch{position:relative;z-index:1}.eyebrow{font-size:11px;letter-spacing:.16em;font-weight:800;color:#95c3ff;display:flex;align-items:center;gap:9px}.eyebrow.muted{color:#667085}.pulse{width:7px;height:7px;border-radius:50%;background:#35d9a4;box-shadow:0 0 0 4px #35d9a425}.auth-pitch h1{font-size:clamp(38px,4.2vw,66px);line-height:1.13;letter-spacing:-.06em;margin:24px 0}.auth-pitch h1 span{color:#6cafff}.auth-pitch p{color:#b7c8e3;font-size:16px;line-height:1.75;max-width:420px}.auth-points{display:grid;gap:20px;margin-top:52px;color:#e7efff;font-size:13px}.aside-footer{color:#8194b6;font-size:11px}.auth-main{padding:45px clamp(30px,6vw,100px);display:flex;align-items:center;justify-content:center;position:relative}.auth-box{width:min(100%,430px)}.auth-box h2{font-size:32px;letter-spacing:-.045em;margin:14px 0 9px}.auth-sub{color:#667085;font-size:14px;line-height:1.6;margin-bottom:30px}.field{display:grid;gap:8px;margin:0 0 18px;color:#344054;font-size:13px;font-weight:650}.field input,.field select,.input{border:1px solid #d8dfe9;border-radius:10px;padding:12px 14px;background:#fff;outline:none;color:#111827;min-height:46px;width:100%}.field input:focus,.field select:focus,.input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1c}.password-wrap{position:relative}.password-wrap input{padding-right:76px}.password-wrap button{position:absolute;right:7px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:#667085;font-size:12px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:10px;border:1px solid transparent;padding:11px 16px;min-height:44px;font-weight:750;font-size:13px}.btn-primary{background:#2563eb;color:#fff;box-shadow:0 4px 12px #2563eb24}.btn-secondary{color:#344054;background:#fff;border-color:#d8dfe9}.btn-danger{background:#d92d20;color:#fff}.btn-ghost{background:transparent;color:#475467}.form-actions{display:flex;gap:10px;margin-top:25px}.form-actions .btn-primary{flex:1}.auth-links{display:flex;justify-content:space-between;gap:12px;margin-top:23px;font-size:13px;color:#667085}.auth-links a{color:#2563eb;font-weight:700}.auth-bottom{position:absolute;bottom:22px;color:#98a2b3;font-size:11px}.mobile-brand{display:none}.progress{display:flex;gap:7px;margin:-8px 0 24px}.progress span{height:4px;border-radius:10px;background:#e8ecf3;flex:1}.progress span.filled{background:#2563eb}.check-field{display:flex;gap:10px;align-items:center;font-size:13px;color:#344054;margin:12px 0}.form-hint{color:#98a2b3;font-size:12px;margin:-8px 0 18px;line-height:1.5}.color-row{display:flex;align-items:center;gap:12px}.color-row input[type=color]{width:50px;padding:3px}.flash{border-radius:10px;padding:11px 12px;margin-bottom:16px;font-size:12px;line-height:1.5}.flash-error{background:#fef3f2;color:#b42318}.flash-success{background:#ecfdf3;color:#027a48}.flash-warning{background:#fff4e5;color:#b54708}.workspace{min-height:100vh;background:#f7f8fa;display:grid;grid-template-columns:250px 1fr}.sidebar{background:#0b1730;color:#dbe7ff;padding:24px 18px;display:flex;flex-direction:column;gap:28px}.sidebar .brand{padding:4px 8px}.nav{display:grid;gap:6px}.nav a,.nav button{display:flex;align-items:center;gap:10px;width:100%;border:0;border-radius:9px;padding:11px 12px;background:transparent;color:#aebdd8;text-align:left}.nav .active,.nav a:hover,.nav button:hover{background:#ffffff12;color:#fff}.sidebar-bottom{margin-top:auto;border-top:1px solid #ffffff14;padding-top:18px}.main{min-width:0}.topbar{height:72px;background:#fff;border-bottom:1px solid #e8ecf2;display:flex;align-items:center;justify-content:space-between;padding:0 30px;position:sticky;top:0;z-index:5}.top-left{display:flex;align-items:center;gap:14px}.tenant-switch{border:1px solid #e0e6ee;border-radius:9px;padding:8px 10px;background:#fff;color:#344054}.user-chip{display:flex;align-items:center;gap:10px;color:#475467;font-size:13px}.avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#e9efff;color:#285ac6;font-weight:800}.content{padding:30px;max-width:1180px;margin:auto}.hero{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}.hero h1{font-size:29px;letter-spacing:-.04em;margin:0 0 8px}.hero p{margin:0;color:#667085;font-size:14px}.badge{display:inline-flex;border-radius:99px;padding:5px 10px;background:#ecfdf3;color:#027a48;font-weight:750;font-size:11px}.grid{display:grid;grid-template-columns:repeat(12,1fr);gap:18px}.card{background:#fff;border:1px solid #e8ecf2;border-radius:14px;box-shadow:0 3px 12px #10182808;padding:20px}.card h3{margin:0 0 8px;font-size:15px}.card p{color:#667085;font-size:13px;line-height:1.6}.span-7{grid-column:span 7}.span-5{grid-column:span 5}.span-12{grid-column:span 12}.security-list{display:grid;gap:10px;margin-top:18px}.security-item{display:flex;justify-content:space-between;gap:12px;padding:12px;background:#f8fafc;border-radius:10px;font-size:13px}.ok{color:#027a48;font-weight:700}.company-card{display:flex;gap:15px;align-items:center}.company-logo{width:62px;height:62px;border-radius:13px;background:#eff4ff;border:1px solid #dce7ff;display:grid;place-items:center;overflow:hidden;font-size:21px;font-weight:800;color:#2563eb}.company-logo img{width:100%;height:100%;object-fit:contain;background:#fff}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.muted{color:#667085}.role{font-size:11px;color:#667085;text-transform:uppercase;letter-spacing:.08em}.install-page{min-height:100vh;display:grid;place-items:center;padding:28px;background:#eef3fb}.install-card{width:min(760px,100%);background:#fff;border:1px solid #dfe7f1;border-radius:18px;padding:30px;box-shadow:0 24px 70px #10203c14}.install-card h1{margin:12px 0 8px;font-size:29px}.install-card p{color:#667085;line-height:1.6}.install-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.install-status{padding:12px;border-radius:10px;background:#f8fafc;margin:18px 0;font-size:13px}.install-status div{display:flex;justify-content:space-between;padding:4px 0}.code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;background:#eef2f7;border-radius:6px;padding:2px 6px}.small{font-size:12px}.danger-note{background:#fff4e5;color:#8a4b05;border-radius:10px;padding:12px;font-size:12px;line-height:1.5}.inline{display:flex;gap:10px;align-items:center}.file-input{font-size:12px}.empty-box{padding:24px;border:1px dashed #cdd5df;border-radius:12px;text-align:center;color:#667085}.mobile-menu{display:none}.link-btn{border:0;background:none;color:#2563eb;padding:0;font-weight:700}.auth-note{font-size:12px;color:#667085;background:#f8fafc;border-radius:10px;padding:11px;margin:12px 0}
@media(max-width:900px){.auth-layout{grid-template-columns:1fr}.auth-aside{display:none}.auth-main{min-height:100vh;padding:90px 24px 70px}.mobile-brand{display:flex;position:absolute;top:25px;left:24px;align-items:center;gap:8px;font-weight:800}.workspace{grid-template-columns:1fr}.sidebar{display:none}.topbar{padding:0 18px}.content{padding:20px}.span-7,.span-5{grid-column:span 12}.form-grid{grid-template-columns:1fr}.hero{flex-direction:column}.install-grid{grid-template-columns:1fr}}
@media(max-width:430px){.auth-box h2{font-size:28px}.auth-main{padding-left:18px;padding-right:18px}.auth-links{font-size:12px}.content{padding:16px}.card{padding:16px}.topbar{height:64px}.user-chip .user-text{display:none}.tenant-switch{max-width:155px}.install-card{padding:20px}}
