html,body,#root{min-width:320px;min-height:100vh;margin:0}*{box-sizing:border-box}body{color:#17211b;background:#f6f7f9;margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input{font:inherit}.app{min-height:100vh;display:flex}.sidebar{color:#fff;background:#163d2d;flex-direction:column;width:245px;padding:24px 16px;display:flex;position:fixed;inset:0 auto 0 0}.brand{align-items:center;gap:12px;padding:0 10px 28px;display:flex}.brand-icon{color:#163d2d;background:#fff;border-radius:11px;place-items:center;width:42px;height:42px;font-weight:800;display:grid}.brand strong,.brand span{display:block}.brand span{opacity:.65;margin-top:2px;font-size:12px}nav{flex-direction:column;gap:5px;display:flex}nav button,.sidebar-bottom button{color:#dbe8e1;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:9px;padding:12px 14px}nav button:hover,nav button.active{color:#fff;background:#ffffff1c}.sidebar-bottom{margin-top:auto}main{width:calc(100% - 245px);margin-left:245px;padding:32px}.topbar{justify-content:space-between;align-items:center;margin-bottom:30px;display:flex}.topbar h1{margin:0 0 5px;font-size:27px}.topbar p,.card-header p{color:#77817b;margin:0}.primary{color:#fff;cursor:pointer;background:#1f5b42;border:none;border-radius:9px;padding:11px 17px;font-weight:600}.primary:hover{background:#174a35}.stats{grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:24px;display:grid}.stat-card,.content-card{background:#fff;border:1px solid #e7ebe8;border-radius:14px}.stat-card{padding:20px}.stat-card span{color:#717c75;font-size:13px}.stat-card strong{margin:10px 0 5px;font-size:30px;display:block}.stat-card small{color:#97a099}.content-card{overflow:hidden}.card-header{border-bottom:1px solid #edf0ee;justify-content:space-between;align-items:center;padding:20px 22px;display:flex}.card-header h2{margin:0 0 4px;font-size:18px}.card-header input{border:1px solid #dfe5e1;border-radius:8px;outline:none;width:260px;padding:10px 12px}.empty-state,.state{text-align:center;padding:70px 20px}.empty-icon{font-size:40px}.empty-state h3{margin-bottom:5px}.empty-state p{color:#7a847e;margin-bottom:20px}.error{color:#b42318}table{border-collapse:collapse;width:100%}th,td{text-align:left;border-bottom:1px solid #edf0ee;padding:15px 22px}th{color:#7a847e;text-transform:uppercase;font-size:12px}.status{color:#257044;background:#e8f5ed;border-radius:20px;padding:5px 9px;font-size:12px}@media (width<=900px){.stats{grid-template-columns:repeat(2,1fr)}}.alert-error{color:#a61b12;background:#fff1f0;border:1px solid #ffd3cf;border-radius:9px;margin-bottom:18px;padding:12px 14px}.modal-backdrop{z-index:1000;background:#00000073;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:16px;width:min(760px,100%);max-height:90vh;overflow-y:auto;box-shadow:0 24px 70px #00000038}.modal-header{border-bottom:1px solid #edf0ee;justify-content:space-between;align-items:flex-start;padding:22px 24px;display:flex}.modal-header h2{margin:0 0 5px}.modal-header p{color:#77817b;margin:0}.close-button{cursor:pointer;color:#68736c;background:0 0;border:none;font-size:28px}form{padding:24px}.form-grid{grid-template-columns:repeat(2,1fr);gap:18px;display:grid}.form-grid label{color:#425047;flex-direction:column;gap:7px;font-size:13px;font-weight:600;display:flex}.form-grid input{border:1px solid #dbe2dd;border-radius:8px;outline:none;padding:11px 12px}.form-grid input:focus{border-color:#1f5b42;box-shadow:0 0 0 3px #1f5b4214}.modal-actions{justify-content:flex-end;gap:10px;margin-top:25px;display:flex}.secondary{cursor:pointer;background:#fff;border:1px solid #d6ddd8;border-radius:9px;padding:10px 16px}button:disabled{opacity:.6;cursor:not-allowed}@media (width<=700px){.form-grid{grid-template-columns:1fr}}nav a,.sidebar-bottom a{color:#dbe8e1;border-radius:9px;margin-bottom:5px;padding:12px 14px;text-decoration:none;display:block}nav a:hover,nav a.active,.sidebar-bottom a:hover,.sidebar-bottom a.active{color:#fff;background:#ffffff1c}
