:root{--blue:#4f82bd;--blue-dark:#2f659f;--teal:#004b4c;--teal-soft:#e7f1f0;--ink:#173943;--muted:#70818a;--line:#dce5e8;--surface:#fff;--bg:#f3f6f8;--danger:#b42318;--success:#16744a;--shadow:0 22px 70px rgba(23,57,67,.13)}
.form-message.error{background:#fff0ef;color:var(--danger)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink);background:var(--bg)}a{color:var(--blue-dark);text-decoration:none}button,input{font:inherit}.eyebrow{display:block;color:var(--blue-dark);font-size:.76rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.auth-shell{display:grid;grid-template-columns:minmax(390px,44%) 1fr;min-height:100vh}.auth-brand{position:relative;overflow:hidden;display:flex;flex-direction:column;padding:56px 8vw 46px;color:#fff;background:linear-gradient(145deg,#003f42 0%,#075b5b 54%,#4f82bd 140%)}.auth-brand:before,.auth-brand:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.16);border-radius:40px;transform:rotate(34deg)}.auth-brand:before{width:440px;height:440px;right:-250px;top:2%}.auth-brand:after{width:300px;height:300px;left:-190px;bottom:-80px}.auth-logo{position:relative;z-index:1;width:min(330px,80%);height:auto;padding:12px 18px;background:#fff;border-radius:14px}.auth-brand-copy{position:relative;z-index:1;margin:auto 0;max-width:540px}.auth-brand .eyebrow{color:#bcd9f4}.auth-brand h1{margin:18px 0;font-size:clamp(2.3rem,4vw,4.3rem);line-height:1.03;letter-spacing:-.045em}.auth-brand p{max-width:470px;margin:0;color:#dbeceb;font-size:1.12rem;line-height:1.7}.auth-copyright{position:relative;z-index:1;color:#bdd3d3;font-size:.82rem}.auth-panel{display:flex;align-items:center;justify-content:center;padding:48px}.auth-card{width:min(430px,100%);padding:46px;background:var(--surface);border:1px solid rgba(220,229,232,.8);border-radius:18px;box-shadow:var(--shadow)}.auth-card h2{margin:9px 0 10px;font-size:2rem;letter-spacing:-.025em}.form-intro{margin:0 0 30px;color:var(--muted);line-height:1.55}.field{margin:0 0 20px}.field label,.label-row{font-size:.88rem;font-weight:650}.label-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.field>label{display:block;margin-bottom:8px}.input{width:100%;height:50px;padding:0 15px;border:1px solid #cdd9dd;border-radius:8px;background:#fbfcfd;color:var(--ink);outline:none;transition:.18s}.input:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(79,130,189,.14);background:#fff}.password-wrap{position:relative}.password-wrap .input{padding-right:50px}.password-toggle{position:absolute;right:6px;top:6px;width:38px;height:38px;border:0;border-radius:6px;color:var(--muted);background:transparent;cursor:pointer}.check{display:flex;align-items:center;gap:8px;margin:4px 0 24px;color:var(--muted);font-size:.9rem}.btn{display:inline-flex;justify-content:center;align-items:center;min-height:46px;padding:0 22px;border:0;border-radius:7px;font-weight:700;cursor:pointer}.btn-primary{color:#fff;background:linear-gradient(135deg,var(--blue),var(--blue-dark));box-shadow:0 8px 20px rgba(47,101,159,.22)}.btn-primary:hover{filter:brightness(.96)}.btn-block{width:100%}.field-error,.validation-summary{display:block;margin-top:7px;color:var(--danger);font-size:.82rem}.validation-summary ul{margin:0 0 18px;padding-left:18px}.form-message{display:none;margin-top:18px;padding:12px 14px;border-radius:7px;background:#edf4fa;color:var(--blue-dark);font-size:.88rem;line-height:1.45}.form-message.visible{display:block}.form-message.success{background:#e9f6ef;color:var(--success)}.back-link{display:inline-block;margin-bottom:28px;font-size:.88rem;font-weight:650}
.app-shell{display:grid;grid-template-columns:250px 1fr;grid-template-rows:74px 1fr;min-height:100vh}.topbar{grid-column:1/-1;display:flex;align-items:center;gap:22px;padding:0 28px;background:#fff;border-bottom:1px solid var(--line);z-index:5}.topbar-logo img{display:block;width:205px;max-height:50px;object-fit:contain}.topbar-user{display:flex;align-items:center;gap:10px;margin-left:auto}.user-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;color:#fff;background:var(--teal);font-weight:700}.user-copy{display:flex;flex-direction:column;font-size:.84rem}.user-copy small{margin-top:2px;color:var(--muted)}.menu-toggle{display:none;border:0;background:transparent;font-size:1.35rem}.sidebar{display:flex;flex-direction:column;justify-content:space-between;padding:28px 16px 20px;background:var(--teal);color:#fff}.sidebar nav{display:flex;flex-direction:column}.nav-caption{margin:8px 13px 10px;color:#91b6b6;font-size:.68rem;font-weight:700;letter-spacing:.11em;text-transform:uppercase}.nav-caption:not(:first-child){margin-top:30px}.nav-link{display:flex;align-items:center;gap:13px;padding:13px;border-radius:7px;color:#e8f0f0;font-size:.92rem;font-weight:600}.nav-link:hover{background:rgba(255,255,255,.1)}.nav-link span{width:20px;text-align:center}.nav-muted{opacity:.72}.logout{border-top:1px solid rgba(255,255,255,.12);border-radius:0}.app-content{min-width:0;padding:42px clamp(22px,4vw,64px)}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:30px}.page-heading h1{margin:7px 0 5px;font-size:2.15rem;letter-spacing:-.035em}.page-heading p,.panel-header p,.setting-card p{margin:0;color:var(--muted)}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:24px}.stat-card,.panel,.setting-card{background:#fff;border:1px solid var(--line);border-radius:11px}.stat-card{display:flex;flex-direction:column;padding:24px}.stat-card span{color:var(--muted);font-size:.86rem}.stat-card strong{margin:10px 0 5px;font-size:2.15rem;color:var(--teal)}.stat-card small{color:#8a989f}.panel{overflow:hidden}.panel-header{display:flex;justify-content:space-between;align-items:center;padding:24px 26px;border-bottom:1px solid var(--line)}.panel-header h2,.setting-card h2{margin:0 0 6px;font-size:1.05rem}.search-stub{min-width:180px;padding:10px 13px;border:1px solid var(--line);border-radius:6px;color:var(--muted);font-size:.85rem}.empty-state{padding:64px 24px;text-align:center}.empty-icon{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 17px;border-radius:50%;background:var(--teal-soft);color:var(--teal);font-size:1.4rem}.empty-state h3{margin:0 0 8px}.empty-state p{margin:0;color:var(--muted)}.settings-grid{display:grid;gap:12px;max-width:850px}.setting-card{display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:16px;padding:20px;color:var(--ink);transition:.18s}.setting-card:hover{border-color:#aac3dc;transform:translateY(-1px);box-shadow:0 8px 24px rgba(23,57,67,.07)}.setting-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:9px;background:var(--teal-soft);color:var(--teal);font-size:1.25rem}.setting-card>b{color:var(--blue);font-size:1.3rem}
@media(max-width:850px){.auth-shell{grid-template-columns:1fr}.auth-brand{min-height:260px;padding:34px 30px}.auth-brand-copy{margin:38px 0}.auth-brand h1{font-size:2.4rem}.auth-copyright{display:none}.auth-panel{padding:28px 18px 45px}.auth-card{padding:34px 28px}.app-shell{grid-template-columns:1fr;grid-template-rows:66px 1fr}.topbar{padding:0 18px}.topbar-logo img{width:170px}.menu-toggle{display:block}.sidebar{position:fixed;z-index:4;top:66px;bottom:0;left:0;width:250px;transform:translateX(-100%);transition:.2s}.sidebar.open{transform:translateX(0)}.app-content{padding:30px 20px}.stat-grid{grid-template-columns:1fr}.page-heading{align-items:flex-start;flex-direction:column}.user-copy{display:none}}
@media(max-width:520px){.auth-brand{min-height:220px}.auth-brand-copy p{display:none}.auth-brand h1{font-size:2rem}.auth-logo{width:230px}.auth-card{padding:30px 22px}.panel-header{align-items:flex-start;flex-direction:column;gap:14px}.search-stub{width:100%}}
