@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--gold:#EED484;--gold-dark:#D8B957;--navy:#17263C;--ink:#202B3C;--muted:#748094;--canvas:#F4F5F7;--border:#E5E8ED;--green:#237A57;--red:#B54745;--shadow:0 12px 34px #17263c12}*{box-sizing:border-box}body{margin:0;font-family:'DM Sans',Arial,sans-serif;color:var(--ink);background:var(--canvas)}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}.hidden{display:none!important}.muted{color:var(--muted);line-height:1.65}.eyebrow{font-size:10px;letter-spacing:.16em;font-weight:800;color:#8a94a4}.brand{display:flex;align-items:center;gap:12px;position:relative;z-index:2}.brand strong,.brand small{display:block}.brand strong{font:800 15px Manrope;letter-spacing:.075em}.brand small{font-size:8px;font-weight:700;letter-spacing:.15em;opacity:.58;margin-top:3px}.mark{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:var(--gold);color:var(--navy);font:800 21px Manrope;letter-spacing:-2px}.mark span{color:#8d7130}.mark.small{width:39px;height:39px;border-radius:11px;font-size:18px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:42px;padding:0 16px;border:1px solid transparent;border-radius:9px;font-size:11px;font-weight:700}.btn:disabled{opacity:.48;cursor:not-allowed}.primary{background:var(--gold);border-color:var(--gold);color:var(--navy)}.outline{background:#fff;border-color:var(--border);color:var(--navy)}.full{width:100%;margin-top:7px}.tiny{min-height:30px;padding:0 10px;font-size:10px}.danger{background:white;border-color:#efcecc;color:var(--red)}.stack{display:flex;flex-direction:column;gap:9px}.stack label{display:flex;flex-direction:column;gap:6px;margin-top:4px;color:#465267;font-size:11px;font-weight:700}.stack input,.stack select,.auth-form input{width:100%;min-height:42px;padding:0 12px;border:1px solid #dde2e8;border-radius:8px;background:white;color:var(--ink);font-size:12px;outline:none}.stack input:focus,.stack select:focus,.auth-form input:focus{border-color:var(--gold-dark);box-shadow:0 0 0 3px #eed48438}.message{min-height:16px;color:var(--muted);font-size:10px;line-height:1.5}.message.error{color:var(--red)}.message.success{color:var(--green)}.auth{min-height:100vh;background:white}.auth-layout{min-height:100vh;display:grid;grid-template-columns:1.02fr .98fr}.auth-art{display:flex;flex-direction:column;justify-content:space-between;padding:40px 7vw 32px;color:white;background:radial-gradient(circle at 88% 78%,#eed48426,transparent 31%),linear-gradient(145deg,var(--navy),#101c2d 78%);overflow:hidden}.art-copy{max-width:500px;margin:auto 0;padding:65px 0}.art-copy>small{font-size:10px;letter-spacing:.16em;font-weight:800;color:var(--gold)}.art-copy h1{margin:22px 0 18px;font:700 clamp(42px,5vw,67px)/1.1 Manrope;letter-spacing:-.055em}.art-copy h1 em{font-style:normal;color:var(--gold)}.art-copy p{max-width:390px;color:#ffffffa8;font-size:14px;line-height:1.8}.auth-art footer{color:#ffffff9c;font-size:10px}.auth-form{display:grid;place-items:center;padding:48px 8%;background:white}.form-wrap{width:min(100%,390px)}.form-wrap h2{margin:12px 0 7px;font:800 28px Manrope;letter-spacing:-.045em}.form-wrap>.muted{margin:0 0 25px;font-size:12px}.auth-form form{display:flex;flex-direction:column;gap:10px}.auth-form label{font-size:11px;font-weight:700;color:#465267}.label-row{display:flex;justify-content:space-between;align-items:center;margin-top:5px}.label-row a,.text-link{color:#92752f;font-size:10px;font-weight:700}.secure{margin-top:24px;color:#8a94a4;font-size:10px}.form-wrap footer{margin-top:50px;color:#a5adba;font-size:9px}.mobile-brand{display:none;margin-bottom:35px;color:var(--navy)}.simple-auth{min-height:100vh;display:grid;place-items:center;padding:24px;background:#faf8f1}.simple-card{width:min(100%,440px);padding:36px;border:1px solid var(--border);border-radius:17px;background:white;box-shadow:var(--shadow)}.centered{justify-content:center;margin-bottom:32px;color:var(--navy)}.simple-card h1{font:800 27px Manrope;margin:10px 0 8px}.simple-card>.muted{font-size:12px;margin:0 0 22px}.back{display:inline-block;margin-top:18px}.app{min-height:100vh}.shell{min-height:100vh;display:flex}.sidebar{position:fixed;inset:0 auto 0 0;z-index:20;width:248px;display:flex;flex-direction:column;padding:24px 16px 17px;background:var(--navy);color:white}.side-brand{padding:0 8px 30px;color:white}.nav-label{padding:15px 10px 9px;color:#ffffff62;font-size:9px;font-weight:800;letter-spacing:.16em}.sidebar nav{display:flex;flex-direction:column;gap:4px}.nav{display:flex;align-items:center;min-height:40px;width:100%;padding:0 11px;border:0;border-radius:8px;background:transparent;color:#ffffffb0;text-align:left;font-size:10px;font-weight:600}.nav:hover{background:#ffffff12;color:white}.nav.active{color:var(--gold);background:#eed4841f;box-shadow:inset 2px 0 var(--gold)}.side-bottom{margin-top:auto}.help{display:flex;gap:9px;padding:11px;margin-bottom:10px;border:1px solid #ffffff17;border-radius:9px;background:#ffffff08}.help>b{width:21px;height:21px;display:grid;place-items:center;border-radius:50%;background:#eed48429;color:var(--gold)}.help strong,.help small{display:block}.help strong{font-size:9px}.help small{margin-top:4px;color:#ffffff70;font-size:8px}.main{width:calc(100% - 248px);min-height:100vh;margin-left:248px}.topbar{height:67px;display:flex;align-items:center;justify-content:space-between;padding:0 34px;border-bottom:1px solid var(--border);background:white}.crumb{color:#8a94a4;font-size:10px;font-weight:700}.crumb i{padding:0 8px;color:var(--gold-dark);font-style:normal}.top-right{display:flex;align-items:center;gap:20px}.secure-tag{color:#8b96a5;font-size:8px;font-weight:800;letter-spacing:.1em}.user{display:flex;align-items:center;gap:9px;padding-left:15px;border-left:1px solid var(--border)}.user>b{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#f6ebc7;color:var(--navy);font:800 12px Manrope}.user strong,.user small{display:block}.user strong{max-width:145px;overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.user small{margin-top:3px;color:#929cab;font-size:8px}.mobile-menu{display:none;border:0;background:transparent;color:var(--navy);font-size:19px}.content{max-width:1450px;margin:auto;padding:34px 34px 23px}.welcome{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:24px}.welcome h1{margin:8px 0 5px;color:var(--navy);font:800 clamp(25px,3vw,34px) Manrope;letter-spacing:-.055em}.welcome h1 span{color:var(--gold-dark)}.welcome p{margin:0;font-size:11px}.date{padding:9px 12px;border:1px solid var(--border);border-radius:8px;background:white;color:#778294;font-size:10px}.summary{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;overflow:hidden;margin-bottom:34px;border:1px solid var(--border);border-radius:12px;background:var(--border)}.summary>div{display:flex;align-items:center;gap:12px;min-height:76px;padding:14px 18px;background:white}.summary>div>b{width:35px;height:35px;display:grid;place-items:center;border-radius:9px;background:#f8f0d8;color:#8e712b}.summary>div:nth-child(2)>b{background:#e8edf3;color:var(--navy)}.summary>div:nth-child(3)>b{background:#eaf1ed;color:var(--green)}.summary small,.summary strong{display:block}.summary small{color:#98a1ae;font-size:8px;font-weight:800;letter-spacing:.1em}.summary strong{margin-top:5px;color:var(--navy);font:700 13px Manrope}.section-title{margin-bottom:14px}.section-title h2{margin:7px 0 4px;color:var(--navy);font:800 19px Manrope}.section-title p{margin:0;font-size:10px}.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.module-card{min-height:178px;padding:18px;border:1px solid var(--border);border-radius:12px;background:white;transition:.18s}.module-card:hover{transform:translateY(-3px);border-color:#e5d39b;box-shadow:var(--shadow)}.card-top{display:flex;justify-content:space-between;color:#b3bbc5}.monogram{width:41px;height:41px;display:grid;place-items:center;border-radius:10px;font:800 10px Manrope}.gold{background:#f8f0d8;color:#8e712b}.blue{background:#e8eef6;color:#345678}.sage{background:#eaf1ed;color:#4e7562}.slate{background:#eef0f3;color:#536174}.navy{background:var(--navy);color:var(--gold)}.module-card h3{margin:15px 0 6px;color:var(--navy);font:800 13px Manrope}.module-card p{min-height:31px;margin:0;color:#8490a0;font-size:9px;line-height:1.6}.open-link{display:flex;justify-content:space-between;margin-top:14px;padding-top:10px;border-top:1px solid #f0f1f3;color:#8a7138;font-size:9px;font-weight:800}.notice{display:flex;gap:11px;padding:13px 15px;margin-top:22px;border:1px solid #e9e3d1;border-radius:10px;background:#fffcf3}.notice>b{width:21px;height:21px;flex:0 0 21px;display:grid;place-items:center;border-radius:50%;background:#f4e7be;color:#866b2d;font-weight:800}.notice strong{color:#5b4b2c;font-size:10px}.notice p{margin:4px 0 0;color:#887a5b;font-size:9px;line-height:1.6}.app-footer{padding-top:22px;margin-top:27px;border-top:1px solid var(--border);color:#a0a8b3;font-size:9px}.app-footer span{float:right}.empty{grid-column:1/-1;padding:25px;border:1px dashed #d6dce4;border-radius:10px;background:white;color:#8490a0;text-align:center;font-size:10px}.empty.error{color:var(--red)}.toast{position:fixed;right:22px;bottom:22px;z-index:50;max-width:340px;padding:12px 15px;border-radius:9px;background:var(--navy);color:white;box-shadow:var(--shadow);font-size:10px;opacity:0;pointer-events:none;transform:translateY(8px);transition:.2s}.toast.show{opacity:1;transform:none}.toast.error{background:#8f3535}.toast.success{background:#236b4d}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.stats>div{padding:15px 17px;border:1px solid var(--border);border-radius:10px;background:white}.stats small,.stats strong,.stats span{display:block}.stats small{color:#9aa3b0;font-size:8px;font-weight:800;letter-spacing:.12em}.stats strong{margin:7px 0 3px;color:var(--navy);font:800 23px Manrope}.stats span{color:#9aa3b0;font-size:9px}.admin-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:13px;align-items:start}.panel{padding:17px;border:1px solid var(--border);border-radius:11px;background:white}.panel.wide{grid-column:1/-1}.panel header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}.panel h2{margin:5px 0 0;color:var(--navy);font:800 14px Manrope}.table-scroll{width:100%;overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left}th{padding:9px;border-bottom:1px solid var(--border);color:#9aa3b0;font-size:8px;letter-spacing:.1em;white-space:nowrap}td{padding:10px 9px;border-bottom:1px solid #f0f1f3;color:#536174;font-size:9px;vertical-align:middle}tr:last-child td{border:0}.mono{font-family:ui-monospace,monospace;font-size:8px}.empty-cell{padding:18px;color:#9aa3b0;text-align:center;font-size:9px}.pill{display:inline-flex;padding:5px 8px;border-radius:99px;font-size:8px;font-weight:800;white-space:nowrap}.pill.active{background:#e8f3ec;color:#26714f}.pill.inactive{background:#fceDEC;color:#a13e3b}.pill.pending{background:#f8f0d8;color:#876b2c}.check{display:flex!important;flex-direction:row!important;align-items:center;gap:8px}.check input{width:14px;min-height:14px;accent-color:var(--gold-dark)}.role-list{display:flex;flex-direction:column}.role-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #f0f1f3}.role-row:last-child{border:0}.role-row strong,.role-row small{display:block}.role-row strong{font-size:9px}.role-row small{margin-top:4px;color:#99a2af;font-size:8px}.placeholder{min-height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:38px}.placeholder-icon{width:58px;height:58px;display:grid;place-items:center;margin-bottom:18px;border-radius:15px;background:#f8f0d8;color:#92752f;font-size:23px}.placeholder h2{margin:10px 0;color:var(--navy);font:800 20px Manrope}.placeholder p{max-width:550px;font-size:11px}.tags{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin-top:14px}.tags span{padding:7px 10px;border-radius:99px;background:#f4f5f7;color:#758093;font-size:8px}.storage{display:flex;align-items:center;gap:17px;padding:22px;border-radius:12px;background:linear-gradient(115deg,var(--navy),#243b59);color:white}.storage>b{width:51px;height:51px;display:grid;place-items:center;border-radius:12px;background:#eed48429;color:var(--gold);font-size:22px}.storage h2{margin:7px 0 5px;font:800 17px Manrope}.storage p{max-width:700px;margin:0;color:#ffffffa8;font-size:10px;line-height:1.7}.doc-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:14px}.doc-grid article{display:flex;flex-direction:column;gap:7px;padding:14px;border:1px solid var(--border);border-radius:10px;background:white}.doc-grid b{width:31px;height:31px;display:grid;place-items:center;border-radius:8px;background:#f8f0d8;color:#8d7130;font:800 10px Manrope}.doc-grid strong{color:var(--navy);font:700 10px Manrope}.doc-grid small{color:#929cab;font-size:8px;line-height:1.5}.config-error{max-width:550px;margin:15vh auto;padding:28px;border-radius:14px;background:white;box-shadow:var(--shadow)}.config-error h1{color:var(--navy);font-family:Manrope}.config-error p{color:var(--muted);line-height:1.7}.boot{min-height:100vh;display:grid;align-content:center;justify-items:center;gap:12px;background:var(--navy);color:#ffffffaa;font-size:10px}
@media(max-width:1100px){.sidebar{width:220px}.main{width:calc(100% - 220px);margin-left:220px}.content{padding-left:23px;padding-right:23px}.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.doc-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.auth-layout{display:block}.auth-art{display:none}.auth-form{min-height:100vh;padding:28px 23px}.mobile-brand{display:flex;margin-bottom:34px}.sidebar{transform:translateX(-100%);transition:transform .2s;box-shadow:12px 0 30px #0002}.sidebar.open{transform:translateX(0)}.main{width:100%;margin-left:0}.topbar{height:59px;padding:0 13px;gap:9px}.mobile-menu{display:block}.crumb{margin-right:auto;font-size:9px}.secure-tag{display:none}.user{padding-left:8px}.user strong{max-width:90px}.content{padding:24px 14px 17px}.welcome{align-items:flex-start;flex-direction:column}.summary{grid-template-columns:1fr}.summary>div{min-height:65px}.module-grid,.admin-grid{grid-template-columns:1fr}.panel.wide{grid-column:auto}.stats{grid-template-columns:1fr}.doc-grid{grid-template-columns:repeat(2,1fr)}.storage{align-items:flex-start;padding:17px}.app-footer span{display:none}.simple-card{padding:26px 20px}}
@media(max-width:420px){.doc-grid{grid-template-columns:1fr}.panel{padding:13px}}
