@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:flex}.sidebar{width:260px;background:#0d2538;color:#f6fbff;display:flex;flex-direction:column;padding:24px;flex-shrink:0;position:sticky;top:0;height:100vh;overflow-y:auto;gap:32px}.page{flex:1;padding:16px;width:100%;max-width:1600px;min-width:0}.brand{display:flex;gap:12px;align-items:center;font-weight:700;letter-spacing:.4px;font-size:18px;color:#fff;padding-bottom:24px;border-bottom:1px solid rgba(255,255,255,.1)}.nav{display:flex;flex-direction:column;gap:8px;flex:1}.nav a{padding:12px 16px;border-radius:12px;color:#b0c0d0;font-weight:600;text-decoration:none;transition:all .2s ease;display:flex;align-items:center}.nav a:hover{background:#ffffff0d;color:#fff;transform:translate(4px)}.nav a.active{background:#0e7ef5;color:#fff;box-shadow:0 4px 12px #0e7ef54d}.user-section{padding-top:24px;border-top:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column;gap:16px}.user-chip{display:flex;align-items:center;gap:12px;text-align:left;background:none;border:none;padding:0;color:#fff;cursor:pointer;width:100%}.user-chip .badge{flex-shrink:0}.logout-btn{width:100%;text-align:center;background:#f0545426;color:#ff6b6b;border:1px solid rgba(240,84,84,.3)}.logout-btn:hover{background:#f05454;color:#fff}.card{background:#fff;border-radius:20px;padding:12px;box-shadow:0 4px 20px #0c3f740a;border:1px solid #ecf1f7;display:flex;flex-direction:column;overflow:hidden}.card-full{height:calc(100vh - 32px)}.grid-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px}.title{font-size:18px;margin:0 0 4px;letter-spacing:-.2px}.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}tr.row-selected td{background-color:#dbeafe!important;border-top:2px solid #3b82f6!important;border-bottom:2px solid #3b82f6!important;color:#1e3a8a!important}tr.row-selected td.sticky-col{background-color:#dbeafe!important;border-left:2px solid #3b82f6!important}tr.row-selected td:last-child{border-right:2px solid #3b82f6!important}
