:root{--thd-bg:#f5f7fb;--thd-panel:#fff;--thd-text:#182230;--thd-muted:#6b7280;--thd-line:#e7eaf0;--thd-accent:#2563eb;--thd-accent-soft:#eff6ff;--thd-success:#15803d;--thd-success-bg:#ecfdf3;--thd-warning:#a16207;--thd-warning-bg:#fffbeb;--thd-danger:#b42318;--thd-danger-bg:#fff1f0;--thd-radius:18px;--thd-shadow:0 10px 30px rgba(18,32,56,.06);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.thd-accent-teal{--thd-accent:#0f766e;--thd-accent-soft:#f0fdfa}.thd-accent-slate{--thd-accent:#334155;--thd-accent-soft:#f1f5f9}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--thd-bg);color:var(--thd-text)}body{font-family:inherit}a{color:var(--thd-accent);text-decoration:none}button,input,select,textarea{font:inherit}.thd-app-brand{display:flex;align-items:center;gap:11px}.thd-app-brand>span:last-child{display:flex;flex-direction:column;line-height:1.1}.thd-app-brand strong{font-size:15px}.thd-app-brand small{font-size:11px;color:var(--thd-muted);margin-top:5px}.thd-logo{width:38px;height:38px;border-radius:12px;background:var(--thd-text);color:#fff;display:grid;place-items:center;font-weight:800;letter-spacing:-.04em}.thd-auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr);background:#fff}.thd-auth-story{background:linear-gradient(145deg,#f8fafc 0%,#eef4ff 60%,#f8fafc 100%);padding:56px clamp(38px,6vw,92px);display:flex;flex-direction:column;justify-content:space-between;min-height:100vh}.thd-auth-copy{max-width:690px}.thd-auth-copy h1{font-size:clamp(42px,5vw,72px);line-height:1.02;letter-spacing:-.045em;margin:18px 0 22px}.thd-auth-copy>p{max-width:590px;font-size:18px;line-height:1.7;color:#556273}.thd-eyebrow{display:inline-block;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.12em;color:var(--thd-accent)}.thd-auth-points{display:flex;flex-wrap:wrap;gap:10px;margin-top:34px}.thd-auth-points span{background:rgba(255,255,255,.72);border:1px solid rgba(37,99,235,.1);padding:10px 13px;border-radius:999px;font-size:13px;color:#41516a}.thd-auth-foot{color:#8792a2}.thd-auth-panel{display:grid;place-items:center;padding:48px}.thd-auth-box{width:min(100%,430px)}.thd-auth-box h2{font-size:31px;letter-spacing:-.03em;margin:10px 0}.thd-muted{color:var(--thd-muted);line-height:1.6}.thd-auth-box form,.thd-form{display:grid;gap:16px;margin-top:28px}.thd-auth-box label,.thd-form label{font-size:13px;font-weight:700;display:grid;gap:8px}.thd-auth-box input,.thd-form input,.thd-form select,.thd-form textarea{width:100%;border:1px solid #d9dee7;border-radius:11px;background:#fff;color:var(--thd-text);padding:12px 13px;outline:none;transition:.15s}.thd-auth-box input:focus,.thd-form input:focus,.thd-form select:focus,.thd-form textarea:focus{border-color:var(--thd-accent);box-shadow:0 0 0 3px var(--thd-accent-soft)}.thd-button{appearance:none;border:1px solid var(--thd-line);background:#fff;color:var(--thd-text);padding:11px 16px;border-radius:11px;font-weight:750;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px}.thd-button:hover{border-color:#cbd2dc}.thd-button:disabled{opacity:.5;cursor:not-allowed}.thd-primary{background:var(--thd-accent);border-color:var(--thd-accent);color:#fff}.thd-form-row,.thd-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:center}.thd-form-row{font-size:13px}.thd-form-row>a{text-align:right}.thd-check{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:8px!important;font-weight:600!important}.thd-check input{width:auto!important}.thd-auth-switch{text-align:center;color:var(--thd-muted);margin-top:22px}.thd-pending{min-height:100vh;display:grid;place-items:center;padding:30px}.thd-pending-card{width:min(100%,520px);background:#fff;border:1px solid var(--thd-line);border-radius:22px;padding:34px;box-shadow:var(--thd-shadow)}.thd-shell{min-height:100vh;display:grid;grid-template-columns:246px minmax(0,1fr)}.thd-sidebar{position:sticky;top:0;height:100vh;background:#fff;border-right:1px solid var(--thd-line);padding:25px 18px;display:flex;flex-direction:column}.thd-sidebar>.thd-app-brand{padding:0 9px 23px}.thd-sidebar nav{display:grid;gap:4px;margin-top:10px}.thd-sidebar nav a{color:#526072;border-radius:11px;padding:10px 12px;display:flex;align-items:center;gap:11px;font-size:14px;font-weight:650}.thd-sidebar nav a>span{width:24px;text-align:center;color:#8490a0}.thd-sidebar nav a:hover,.thd-sidebar nav a.active{background:var(--thd-accent-soft);color:var(--thd-accent)}.thd-sidebar nav a.active>span{color:var(--thd-accent)}.thd-sidebar-foot{margin-top:auto;padding:14px 10px 4px;border-top:1px solid var(--thd-line);font-size:13px}.thd-main{min-width:0}.thd-topbar{height:76px;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--thd-line);display:flex;align-items:center;justify-content:space-between;padding:0 32px;position:sticky;top:0;z-index:5}.thd-topbar>div:first-of-type{display:flex;flex-direction:column}.thd-topbar strong{font-size:15px}.thd-topbar small{color:var(--thd-muted);margin-top:3px}.thd-user{display:flex;align-items:center;gap:13px;font-size:13px;font-weight:700}.thd-user form{margin:0}.thd-user button,.thd-mobile-brand{border:1px solid var(--thd-line);background:#fff;width:36px;height:36px;border-radius:10px;cursor:pointer}.thd-mobile-brand{display:none}.thd-content{padding:30px 32px 56px;max-width:1540px;margin:auto}.thd-hero{background:#fff;border:1px solid var(--thd-line);border-radius:var(--thd-radius);padding:30px 32px;display:flex;align-items:flex-end;justify-content:space-between;gap:25px;box-shadow:var(--thd-shadow)}.thd-hero h1,.thd-page-intro h1{font-size:31px;letter-spacing:-.035em;margin:8px 0}.thd-hero p,.thd-page-intro p{color:var(--thd-muted);margin:0;line-height:1.6}.thd-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}.thd-kpi,.thd-panel{background:var(--thd-panel);border:1px solid var(--thd-line);border-radius:var(--thd-radius);box-shadow:0 4px 16px rgba(18,32,56,.025)}.thd-kpi{padding:20px}.thd-kpi>span{font-size:11px;text-transform:uppercase;letter-spacing:.09em;color:#8a94a4;font-weight:800}.thd-kpi strong{font-size:31px;display:block;margin:13px 0 5px;letter-spacing:-.04em}.thd-kpi p{margin:0;color:var(--thd-muted);font-size:13px}.thd-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.thd-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.thd-panel{padding:22px;margin-bottom:18px;min-width:0}.thd-panel h2{margin:0 0 8px;font-size:18px;letter-spacing:-.02em}.thd-panel h3{font-size:13px;margin:22px 0 8px}.thd-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:15px}.thd-panel-head h2{margin:0}.thd-panel-head p{margin:5px 0 0;color:var(--thd-muted);font-size:13px}.thd-panel-head>a{font-size:13px;font-weight:700}.thd-page-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin:2px 0 22px}.thd-table-wrap{overflow:auto}.thd-table{width:100%;border-collapse:collapse;font-size:13px}.thd-table th{text-align:left;color:#7a8595;font-size:11px;text-transform:uppercase;letter-spacing:.06em;padding:11px 10px;border-bottom:1px solid var(--thd-line)}.thd-table td{padding:13px 10px;border-bottom:1px solid #f0f2f5;vertical-align:middle}.thd-table tbody tr:last-child td{border-bottom:0}.thd-table td strong{display:block}.thd-table td small{display:block;color:var(--thd-muted);margin-top:4px}.thd-empty{text-align:center!important;color:var(--thd-muted);padding:28px!important}.thd-pill{display:inline-flex;align-items:center;white-space:nowrap;border-radius:999px;padding:5px 9px;background:#f1f3f6;color:#596576;font-size:11px;font-weight:800}.thd-good{background:var(--thd-success-bg);color:var(--thd-success)}.thd-warn{background:var(--thd-warning-bg);color:var(--thd-warning)}.thd-bad{background:var(--thd-danger-bg);color:var(--thd-danger)}.thd-neutral{background:#f2f4f7;color:#667085}.thd-form{margin-top:17px}.thd-form textarea{resize:vertical}.thd-info-list{display:grid;gap:12px;margin-top:20px}.thd-info-list span{padding:13px 14px;border-radius:12px;background:#f8fafc;border:1px solid var(--thd-line);font-size:13px}.thd-clean-list{padding-left:18px;color:#596576;display:grid;gap:8px;font-size:13px}.thd-secret{border-color:#bfdbfe;background:#f8fbff}.thd-secret code,.thd-code{display:block;white-space:pre-wrap;overflow-wrap:anywhere;background:#0f172a;color:#e2e8f0;border-radius:12px;padding:14px;line-height:1.6}.thd-flash{border-radius:12px;padding:12px 14px;margin-bottom:17px;font-size:13px;font-weight:650;background:#eff6ff;color:#1d4ed8}.thd-flash-success{background:var(--thd-success-bg);color:var(--thd-success)}.thd-flash-warning{background:var(--thd-warning-bg);color:var(--thd-warning)}.thd-flash-error{background:var(--thd-danger-bg);color:var(--thd-danger)}.thd-inline-form{display:inline}.thd-mini{border:1px solid var(--thd-line);background:#fff;border-radius:8px;padding:6px 8px;font-size:11px;font-weight:750;cursor:pointer}.thd-approve{background:var(--thd-accent);border-color:var(--thd-accent);color:#fff}.thd-ai-output{margin-top:18px;padding:16px;border-radius:12px;background:#f8fafc;border:1px solid var(--thd-line);line-height:1.6}.thd-spacer{height:22px}.thd-density-compact .thd-content{padding-top:22px}.thd-density-compact .thd-panel{padding:17px}.thd-density-compact .thd-kpi{padding:16px}@media(max-width:1100px){.thd-kpis{grid-template-columns:repeat(2,1fr)}.thd-grid-3{grid-template-columns:1fr 1fr}.thd-auth-shell{grid-template-columns:1fr 440px}.thd-auth-story{padding:46px}.thd-auth-copy h1{font-size:48px}}@media(max-width:820px){.thd-auth-shell{grid-template-columns:1fr}.thd-auth-story{min-height:auto;padding:34px}.thd-auth-copy{margin:70px 0 20px}.thd-auth-panel{padding:38px 26px}.thd-shell{display:block}.thd-sidebar{display:flex;position:sticky;top:0;height:auto;padding:10px 12px;border-right:0;border-bottom:1px solid var(--thd-line);z-index:7}.thd-sidebar>.thd-app-brand,.thd-sidebar-foot{display:none}.thd-sidebar nav{display:flex;overflow-x:auto;margin:0;gap:4px}.thd-sidebar nav a{white-space:nowrap;padding:9px 11px}.thd-sidebar nav a>span{width:auto}.thd-mobile-brand{display:block}.thd-content{padding:22px 18px}.thd-topbar{top:55px;padding:0 18px}.thd-grid-2,.thd-grid-3{grid-template-columns:1fr}.thd-page-intro,.thd-hero{align-items:flex-start;flex-direction:column}.thd-form-grid{grid-template-columns:1fr}}@media(max-width:560px){.thd-kpis{grid-template-columns:1fr 1fr}.thd-hero{padding:22px}.thd-auth-copy h1{font-size:40px}.thd-auth-story{padding:26px}.thd-auth-panel{padding:30px 20px}.thd-form-row{grid-template-columns:1fr}.thd-form-row>a{text-align:left}.thd-user>span{display:none}}

/* TecHippo Brand Profile v0.2.1 */
:root{
  --thd-brand-navy:#0b1633;
  --thd-brand-navy-2:#10254f;
  --thd-brand-blue:#244395;
  --thd-brand-orange:#f15a29;
  --thd-brand-orange-dark:#d94b1d;
  --thd-brand-ink:#101828;
  --thd-brand-canvas:#f6f8fc;
}
.thd-accent-orange{--thd-accent:var(--thd-brand-orange);--thd-accent-soft:#fff2ed}
.thd-accent-blue{--thd-accent:var(--thd-brand-blue);--thd-accent-soft:#eef3ff}
html,body{background:var(--thd-brand-canvas)}
.thd-app-brand{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0}
.thd-brand-logo{display:block;width:auto;max-width:178px;height:auto;max-height:58px;object-fit:contain;object-position:left center}
.thd-brand-app-label{font-size:10px;font-weight:800;letter-spacing:.15em;text-transform:uppercase;color:#65738a;margin-left:3px}
.thd-app-brand-dark .thd-brand-app-label{color:rgba(255,255,255,.58)}

/* Login / register */
.thd-auth-shell{background:var(--thd-brand-canvas);grid-template-columns:minmax(0,1.12fr) minmax(420px,.88fr)}
.thd-auth-story{position:relative;overflow:hidden;background:radial-gradient(circle at 78% 18%,rgba(36,67,149,.42),transparent 34%),radial-gradient(circle at 14% 86%,rgba(241,90,41,.16),transparent 32%),linear-gradient(145deg,var(--thd-brand-navy) 0%,#0d1d42 58%,var(--thd-brand-navy-2) 100%);color:#fff;padding:58px clamp(42px,6vw,94px)}
.thd-auth-story:after{content:"";position:absolute;right:-120px;bottom:-140px;width:380px;height:380px;border:1px solid rgba(255,255,255,.07);border-radius:50%;box-shadow:0 0 0 48px rgba(255,255,255,.025),0 0 0 96px rgba(255,255,255,.018);pointer-events:none}
.thd-auth-story>.thd-app-brand,.thd-auth-copy,.thd-auth-foot{position:relative;z-index:1}
.thd-auth-copy{max-width:720px}
.thd-auth-copy h1{max-width:720px;color:#fff;font-weight:780;font-size:clamp(42px,5vw,68px);letter-spacing:-.048em}
.thd-auth-copy>p{color:rgba(237,242,255,.76);font-size:17px;max-width:620px}
.thd-auth-story .thd-eyebrow{color:#ff8a61}
.thd-auth-points span{background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.12);color:#eef3ff;backdrop-filter:blur(5px)}
.thd-auth-foot{color:rgba(255,255,255,.5)}
.thd-auth-panel{background:linear-gradient(180deg,#fbfcff 0%,#f6f8fc 100%);padding:54px}
.thd-auth-box{background:#fff;border:1px solid #e6eaf1;border-radius:22px;padding:34px 34px 30px;box-shadow:0 24px 70px rgba(11,22,51,.11)}
.thd-auth-box:before{content:"";display:block;width:48px;height:4px;background:linear-gradient(90deg,var(--thd-brand-orange),#ff936c);border-radius:99px;margin-bottom:24px}
.thd-auth-box h2{color:var(--thd-brand-ink)}
.thd-auth-box .thd-eyebrow{color:var(--thd-brand-blue)}
.thd-primary{background:var(--thd-accent);border-color:var(--thd-accent);box-shadow:0 7px 18px rgba(241,90,41,.16)}
.thd-primary:hover{background:var(--thd-brand-orange-dark);border-color:var(--thd-brand-orange-dark)}

/* Main app shell */
.thd-shell{grid-template-columns:260px minmax(0,1fr)}
.thd-sidebar{background:linear-gradient(180deg,var(--thd-brand-navy) 0%,#0d1e40 52%,#0a1734 100%);border-right:0;padding:25px 18px 20px;box-shadow:10px 0 30px rgba(11,22,51,.07)}
.thd-sidebar>.thd-app-brand{padding:3px 11px 25px;border-bottom:1px solid rgba(255,255,255,.075)}
.thd-sidebar .thd-brand-logo{max-width:172px;max-height:54px}
.thd-sidebar nav{margin-top:18px;gap:5px}
.thd-sidebar nav a{position:relative;color:#d8e0f0;border-radius:10px;padding:11px 13px;font-weight:620}
.thd-sidebar nav a>span{color:#8ea0c2}
.thd-sidebar nav a:hover{background:rgba(255,255,255,.07);color:#fff}
.thd-sidebar nav a.active{background:linear-gradient(90deg,rgba(241,90,41,.2),rgba(241,90,41,.08));color:#fff;box-shadow:inset 3px 0 0 var(--thd-brand-orange)}
.thd-sidebar nav a.active>span{color:#ff9068}
.thd-sidebar-foot{border-top:1px solid rgba(255,255,255,.09);display:grid;gap:8px;color:rgba(255,255,255,.45);font-size:11px}
.thd-sidebar-foot a{color:#f4f7ff;font-size:12px;font-weight:700}
.thd-topbar{height:78px;background:rgba(255,255,255,.94);border-bottom:1px solid #e8ebf2;box-shadow:0 2px 14px rgba(11,22,51,.025)}
.thd-topbar strong{font-size:16px;color:var(--thd-brand-ink)}
.thd-topbar small{color:#7b879a}
.thd-user-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,var(--thd-brand-blue),#182f73);color:#fff;font-size:12px;font-weight:850;box-shadow:0 5px 13px rgba(36,67,149,.2)}
.thd-mobile-brand{background:var(--thd-brand-navy)!important;color:#fff;border-color:var(--thd-brand-navy)!important;font-weight:900}
.thd-content{padding-top:28px}
.thd-hero{border-color:#e7eaf1;box-shadow:0 8px 28px rgba(11,22,51,.045);background:linear-gradient(135deg,#fff 0%,#fff 70%,#fff8f5 100%);position:relative;overflow:hidden}
.thd-hero:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,var(--thd-brand-orange),#ff9c77)}
.thd-hero .thd-eyebrow{color:var(--thd-brand-blue)}
.thd-kpi,.thd-panel{border-color:#e7eaf1;box-shadow:0 5px 20px rgba(11,22,51,.035)}
.thd-kpi{position:relative;overflow:hidden}
.thd-kpi:after{content:"";position:absolute;left:0;top:0;width:100%;height:2px;background:linear-gradient(90deg,var(--thd-brand-blue),var(--thd-brand-orange));opacity:.7}
.thd-kpi>span{color:#718096}
.thd-kpi strong{color:var(--thd-brand-ink)}
.thd-panel h2,.thd-page-intro h1,.thd-hero h1{color:var(--thd-brand-ink)}
.thd-panel-head>a,.thd-page-intro a{color:var(--thd-brand-blue)}
.thd-table tbody tr:hover{background:#fbfcff}
.thd-pill{border:1px solid rgba(16,24,40,.035)}
.thd-secret{border-color:#ffd7c7;background:#fff9f6}
.thd-flash{background:#eef3ff;color:#244395}
.thd-mini.thd-approve{background:var(--thd-brand-orange);border-color:var(--thd-brand-orange)}

/* Brand-aware responsive treatment */
@media(max-width:820px){
  .thd-sidebar{background:var(--thd-brand-navy);box-shadow:none}
  .thd-sidebar nav a{color:#d8e0f0}
  .thd-sidebar nav a.active{background:rgba(241,90,41,.18)}
  .thd-topbar{top:55px}
  .thd-auth-story{padding:34px}
  .thd-auth-story>.thd-app-brand{margin-bottom:18px}
  .thd-auth-copy{margin:42px 0 10px}
}
@media(max-width:560px){
  .thd-auth-panel{padding:24px 16px 34px}
  .thd-auth-box{padding:26px 22px}
  .thd-brand-logo{max-width:155px}
}
