@import"https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700&display=swap";:root{font-family:Manrope,Segoe UI,sans-serif;color:#0e1b25;background:radial-gradient(circle at 10% 20%,#f3f6ff 0,#e7f0ff 25%,#f9fbff 55%,#f7fbff);line-height:1.5;font-weight:400}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:#eef3fb}a{color:inherit;text-decoration:none}.page{max-width:1280px;margin:0 auto;padding:16px 0}.shell{min-height:100vh;display:grid;grid-template-rows:auto 1fr}.topbar{background:linear-gradient(120deg,#0d2538,#10344a 60%,#0a2a3d);color:#f6fbff;padding:14px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px;box-shadow:0 10px 30px #0000002e}.brand{display:flex;gap:12px;align-items:center;font-weight:700;letter-spacing:.4px}.brand-dot{width:12px;height:12px;border-radius:6px;background:#13c998;box-shadow:0 0 18px #13c998cc}.nav{display:flex;gap:10px;flex-wrap:wrap}.nav a{padding:10px 14px;border-radius:12px;background:#ffffff14;color:#f2f7fb;font-weight:600;border:1px solid transparent;transition:all .2s ease}.nav a:hover{border-color:#ffffff4d;transform:translateY(-1px)}.nav a.active{background:#13c99824;border-color:#13c99899;color:#d6fff2}.user-chip{display:flex;align-items:center;gap:10px;padding:9px 12px;background:#ffffff14;border-radius:12px;color:#f2f7fb;border:none;outline:none;box-shadow:none}.badge{padding:4px 8px;border-radius:999px;background:#0e7ef5;color:#f7fbff;font-weight:700;font-size:12px;letter-spacing:.4px}.logout-btn{background:#f05454;border:none;color:#fff;padding:8px 12px;border-radius:10px;font-weight:700;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}.logout-btn:hover{transform:translateY(-1px);box-shadow:0 6px 18px #f0545459}.card{background:#fff;border-radius:18px;padding:22px;box-shadow:0 16px 40px #0c3f7414;border:1px solid #ecf1f7;display:flex;flex-direction:column;max-height:calc(100vh - 125px);overflow:hidden}.grid-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px}.title{font-size:28px;margin:0 0 12px;letter-spacing:-.3px}.subtitle{color:#4b6072;margin:0 0 24px}.form{display:grid;gap:12px}.field{display:flex;flex-direction:column;gap:6px}.field label{font-weight:600;color:#203040}.field input,.field select{padding:12px 14px;border-radius:12px;border:1px solid #d7dfe8;background:#f8fbff;font-size:15px}.field input:focus{outline:2px solid #0e7ef5;background:#fff}.btn-primary{background:linear-gradient(135deg,#0e7ef5,#13c998);border:none;color:#fff;padding:12px 16px;border-radius:12px;font-weight:700;cursor:pointer;transition:transform .1s ease,box-shadow .2s ease}.btn-primary:hover{transform:translateY(-1px);box-shadow:0 10px 26px #0e7ef559}.btn-ghost{background:#eef3fb;border:1px solid #dce5f0;color:#0d2538;padding:10px 12px;border-radius:10px;font-weight:600;cursor:pointer}.table-wrap{overflow:auto;border-radius:16px;border:1px solid #e5edf5;box-shadow:inset 0 1px #fff6}table{width:100%;border-collapse:collapse;min-width:760px}th,td{padding:12px 14px;border-bottom:1px solid #edf2f7}th{background:#f6f9fe;text-align:left;font-size:13px;letter-spacing:.2px;color:#4a6070}tr:hover td{background:#f9fcff}.pill{padding:10px 14px;border-radius:12px;font-size:13px;font-weight:600;display:inline-block;background:#f0f3f8;color:#345;text-align:center}.pill.success{background:#e9fbf4;color:#0c7a4b}.pill.muted{background:#eef3fb;color:#345}.muted{color:#6b7c8f}.creds{background:#0d2538;color:#f7fbff;padding:10px 12px;border-radius:12px;display:inline-flex;gap:10px;margin-top:8px}.page-grid{display:grid;gap:18px}.flex-between{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.table-controls{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.input-sm{padding:10px 12px;border-radius:10px;border:1px solid #d7dfe8;background:#f8fbff}.pivot-shell{width:100%;display:flex;flex-direction:column;flex:1;min-height:0}.pivot-scroll{position:relative;flex:1;overflow:auto;border:1px solid #e5edf5;border-radius:16px;box-shadow:inset 0 1px #fff6}.pivot-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:auto}.pivot-table th,.pivot-table td{padding:4px 10px;border-bottom:1px solid #d0d8e0;border-right:1px solid #d0d8e0;white-space:nowrap;text-align:right;font-size:12px;height:24px;line-height:1}.pivot-table th.sticky-col,.pivot-table td.sticky-col{text-align:left}.pivot-table th{position:sticky;top:0;z-index:2;background:#f6f9fe}.pivot-table thead tr th{position:sticky;top:0;z-index:2}.pivot-table thead tr:first-child th{border-bottom:none;top:0;padding:5px 10px;height:32px;line-height:1}.pivot-table thead tr:nth-child(2) th{top:32px;padding:5px 10px;height:32px;line-height:1;border-top:none}.pivot-table .sticky-col{position:sticky;left:0;z-index:3;background:#fff;box-shadow:4px 0 8px #0e253814}.pivot-table .sticky-col.sticky-footer{z-index:4;background:#f6f9fe}.pivot-table tfoot td{position:sticky;bottom:0;z-index:2;background:#f6f9fe;font-weight:700}.pivot-table tfoot td.sticky-col{z-index:4}.pivot-table tbody tr:hover td{background-color:#0e7ef50f!important}.pivot-table tbody td:hover,.pivot-table tbody td.col-hover,.pivot-table tfoot td.col-hover{background-color:#0e7ef51f!important}.pivot-table tbody td[data-tooltip],.pivot-table tfoot td[data-tooltip]{position:relative}.pivot-table tbody td[data-tooltip]:hover:after,.pivot-table tfoot td[data-tooltip]:hover:after{content:attr(data-tooltip);position:absolute;bottom:125%;left:50%;transform:translate(-50%);background:#0d2538;color:#f7fbff;padding:8px 10px;border-radius:8px;font-size:11px;white-space:pre-line;z-index:1000;box-shadow:0 4px 12px #0003;pointer-events:none;font-weight:400;line-height:1.4;min-width:140px;text-align:left;opacity:0;animation:tooltipFadeIn .2s ease .6s forwards}.pivot-table tbody td[data-tooltip]:hover:before,.pivot-table tfoot td[data-tooltip]:hover:before{content:"";position:absolute;bottom:120%;left:50%;transform:translate(-50%);border:6px solid transparent;border-top-color:#0d2538;z-index:1000;pointer-events:none;opacity:0;animation:tooltipFadeIn .2s ease .6s forwards}@keyframes tooltipFadeIn{0%{opacity:0}to{opacity:1}}.modal-backdrop{position:fixed;inset:0;background:#05101c8c;display:flex;align-items:center;justify-content:center;padding:20px;z-index:1000}.modal{background:#fff;border-radius:16px;padding:20px;width:min(520px,100%);box-shadow:0 22px 48px #0003}
