body{margin:0;font-family:sans-serif}#root{min-height:100vh;display:flex}.sidebar{box-sizing:border-box;background:#bdedfb url(/assets/blue-img-bg-Cmyg3Krm.jpg) 0 0/280px no-repeat;flex-direction:column;flex-shrink:0;width:280px;height:100vh;padding:16px;transition:width .2s;display:flex;position:sticky;top:0;overflow:hidden}.sidebar-collapsed{width:84px}.sidebar-brand{height:103px;margin-bottom:56px}.sidebar-logo{width:160px;height:auto;transition:width .2s;display:block}.sidebar-toggle-row{justify-content:flex-start;margin-top:auto;padding-bottom:12px;display:flex}.sidebar-toggle{color:#1f6f8b;cursor:pointer;background:#fff;border:none;border-radius:50%;flex-shrink:0;place-items:center;width:36px;height:36px;margin-left:8px;padding:0;display:grid}.sidebar-toggle:hover{background:#f3fbfe}.sidebar-toggle .sidebar-icon{transition:transform .2s}.sidebar-collapsed .sidebar-logo{width:52px}.sidebar-collapsed .sidebar-toggle .sidebar-icon{transform:rotate(180deg)}.sidebar-collapsed .sidebar-label{display:none}.sidebar-menu{margin:0;padding:0;list-style:none}.sidebar-menu li+li{margin-top:4px}.sidebar-menu button{text-align:left;width:100%;font:inherit;color:#1f3440;white-space:nowrap;cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;gap:12px;padding:12px 16px;font-size:16px;font-weight:500;display:flex}.sidebar-menu button:hover:not(.active){background:#ffffff80}.sidebar-icon{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;width:20px;height:20px}.sidebar-menu button.active{color:#fff;background:#00abcd}.sidebar-user{border-top:1px solid #4ca9ca;padding-top:16px}.sidebar-user-info{white-space:nowrap;align-items:center;gap:12px;margin-bottom:12px;padding-left:8px;font-weight:700;display:flex}.sidebar-user-icon{box-sizing:border-box;fill:#00abcd;background:#fff;border-radius:50%;flex-shrink:0;width:36px;height:36px;padding:6px}.sidebar-logout{color:#fff;white-space:nowrap;background:#00abcd;border-radius:8px;align-items:center;gap:12px;padding:12px 16px;text-decoration:none;display:flex}.sidebar-logout:hover{background:#0096b4}.content{background:#f3fbfe;flex:1;min-width:0;padding:56px 24px 24px;display:flex}@media (width<=1024px){.sidebar{z-index:20;position:fixed;top:0;left:0}.sidebar:not(.sidebar-collapsed){box-shadow:4px 0 24px #1f344033}.content{margin-left:84px}}.sidebar-backdrop{z-index:10;background:#1f344059;animation:.2s fade-in;position:fixed;inset:0}@keyframes fade-in{0%{opacity:0}}.page{flex-direction:column;flex:1;align-self:flex-start;gap:24px;min-width:0;max-width:1000px;margin:0 auto;display:flex}.card{background:#fff;border:1px solid #4ca9ca;border-radius:16px 16px 0 0;flex-direction:column;display:flex;overflow:hidden}.card-header{color:#fff;background:#4ca9ca;justify-content:space-between;align-items:center;gap:16px;min-height:36px;padding:12px 24px;display:flex}.card-header h1{margin:0;font-size:18px}.card-header-link{color:#fff;font-size:14px;font-weight:600;text-decoration:none}.card-header-link:hover{text-decoration:underline}.card-body{flex:1;padding:24px}.table-scroll{position:relative}.table-wrap{overflow-x:auto}.table-scroll:before,.table-scroll:after{content:"";z-index:1;opacity:0;pointer-events:none;width:32px;transition:opacity .2s;position:absolute;top:0;bottom:0}.table-scroll:before{background:linear-gradient(90deg,#1f344024,#0000);left:0}.table-scroll:after{background:linear-gradient(270deg,#1f344024,#0000);right:0}.table-scroll-left:before,.table-scroll-right:after{opacity:1}.table-wrap::-webkit-scrollbar{height:10px}.table-wrap::-webkit-scrollbar-track{background:#e3f5fb}.table-wrap::-webkit-scrollbar-thumb{background:#4ca9ca;border:2px solid #e3f5fb;border-radius:999px}.table-wrap::-webkit-scrollbar-thumb:hover{background:#00abcd}@supports not selector(::-webkit-scrollbar){.table-wrap{scrollbar-color:#4ca9ca #e3f5fb;scrollbar-width:thin}}.table{table-layout:fixed;border-collapse:collapse;width:100%;font-size:15px}.table th{white-space:nowrap}.table-contacts,.table-users,.table-statistics{table-layout:auto}.table-contacts td,.table-users td{white-space:nowrap}.table-locations{min-width:600px}.table-contacts{min-width:860px}.table-users{min-width:760px}.table-statistics{min-width:480px}.table th,.table td{text-align:left;border-bottom:1px solid #e3f1f6;padding:14px 24px}.table th{color:#3d7f97;letter-spacing:.06em;text-transform:uppercase;background:#f3fbfe;font-size:12px;font-weight:600}.table-locations th:first-child{width:40%}.table-locations th.table-actions{width:240px}.table-users td{font-size:14px}.table-contacts td{vertical-align:top;font-size:14px}.table-contacts td.table-actions{vertical-align:middle}.table .table-muted{color:#5f7c88;margin-top:2px;font-size:13px}.table mark{color:inherit;background:#ffe58a;border-radius:3px}.table-summary{color:#5f7c88;gap:8px;padding:0 24px 12px;font-size:14px;display:flex}.table-summary strong{color:#1f3440}.table-summary-top{padding:16px 24px}.table-statistics th:first-child{width:40%}.table .table-weekday{color:#5f7c88;margin-left:8px;font-size:13px}.stat-bar{align-items:center;gap:16px;display:flex}.stat-bar-value{font-variant-numeric:tabular-nums;flex-shrink:0;width:56px}.stat-bar-track{background:#e3f5fb;border-radius:999px;flex:1;height:8px;overflow:hidden}.stat-bar-fill{background:#00abcd;border-radius:999px;height:100%;display:block}.table tbody tr:last-child td{border-bottom:none}.table tbody tr:hover{background:#f7fcfe}.table .table-name{color:#1f3440;font-weight:600}.table .table-nowrap{white-space:nowrap}.table .table-actions{text-align:right;white-space:nowrap}.badge{color:#2a7f9e;letter-spacing:.05em;background:#e3f5fb;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:600;display:inline-block}.btn{font:inherit;cursor:pointer;border:1px solid #0000;border-radius:8px;padding:8px 16px;font-size:14px;line-height:20px;text-decoration:none;display:inline-block}.btn:disabled{opacity:.5;cursor:not-allowed}.btn+.btn{margin-left:8px}.btn-sm{padding:5px 10px;font-size:13px}.btn-sm+.btn-sm{margin-left:6px}.btn-danger{color:#c53030;background:#fff;border-color:#f3c1c1}.btn-danger:hover{color:#fff;background:#c53030;border-color:#c53030}.btn-primary{color:#fff;background:#00abcd}.btn-primary:hover:not(:disabled){background:#0096b4}.btn-secondary{color:#1f6f8b;background:#fff;border-color:#b9e0ec}.btn-secondary:hover{background:#f3fbfe;border-color:#4ca9ca}.btn-light{color:#1f6f8b;background:#fff;font-weight:600}.btn-light:hover{background:#f3fbfe}.form-section{border-bottom:1px solid #e3f1f6;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px 32px;padding:24px;display:flex}.form-section:last-child{border-bottom:none}.form-section h2{color:#1f3440;margin:0 0 4px;font-size:15px}.form-section p{color:#5f7c88;margin:0;font-size:14px}.form-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.form-label{color:#1f3440;margin-bottom:6px;font-size:14px;font-weight:600;display:block}.form-hint{color:#5f7c88;margin:6px 0 0;font-size:13px}.settings-form{flex-direction:column;gap:16px;display:flex}.settings-intro{color:#5f7c88;margin:0 0 8px;font-size:14px}.settings-field{grid-template-columns:200px minmax(0,360px);align-items:start;gap:8px 24px;display:grid}.settings-field .form-label{margin:0;padding-top:9px}.settings-field .input{box-sizing:border-box;width:100%}.settings-field>.btn{grid-column:2;justify-self:start}.form-separator{color:#5f7c88}.input{font:inherit;color:#1f3440;background:#fff;border:1px solid #b9e0ec;border-radius:8px;padding:8px 12px;font-size:14px;line-height:20px}.input:focus{border-color:#00abcd;outline:none;box-shadow:0 0 0 3px #00abcd26}.input-grow{flex:1;min-width:200px}.file-input{cursor:pointer;align-items:center;gap:12px;display:flex}.file-input input{opacity:0;width:1px;height:1px;position:absolute}.file-input:focus-within .btn{border-color:#00abcd;box-shadow:0 0 0 3px #00abcd26}.file-input-name{color:#5f7c88;text-overflow:ellipsis;white-space:nowrap;max-width:200px;font-size:14px;overflow:hidden}.stats{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin:0 0 24px;display:grid}.stat{background:#f7fcfe;border:1px solid #e3f1f6;border-radius:12px;padding:16px 20px}.stat dt{color:#5f7c88;font-size:13px}.stat dd{color:#1f3440;font-variant-numeric:tabular-nums;margin:4px 0 0;font-size:24px;font-weight:600}.empty-state{color:#5f7c88;text-align:center;background:#f7fcfe;border:1px dashed #b9e0ec;border-radius:12px;padding:40px 24px}.empty-state svg{fill:none;stroke:#4ca9ca;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:32px;height:32px}.empty-state p{margin:8px 0 0;font-size:14px}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.tabbar{z-index:30;padding-bottom:env(safe-area-inset-bottom);background:#fff;border-top:1px solid #e3f1f6;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -4px 16px #1f34400f}.tabbar button{min-width:0;height:64px;font:inherit;color:#5f7c88;cursor:pointer;background:0 0;border:none;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:4px;padding:0 2px;font-size:11px;font-weight:500;display:flex}.tabbar button span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.tabbar button.active{color:#00abcd;font-weight:600}.tabbar-icon{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px}.sheet{right:0;bottom:calc(64px + env(safe-area-inset-bottom));z-index:25;background:#fff;border-radius:16px 16px 0 0;max-height:calc(100vh - 120px);padding:16px;animation:.2s sheet-up;position:fixed;left:0;overflow-y:auto;box-shadow:0 -8px 24px #1f344026}@keyframes sheet-up{0%{opacity:0;transform:translateY(16px)}}.sheet-menu{margin:0;padding:0;list-style:none}.sheet-menu li+li{margin-top:4px}.sheet-menu button{width:100%;font:inherit;color:#1f3440;cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;gap:12px;padding:14px 16px;font-size:16px;font-weight:500;display:flex}.sheet-menu button.active{color:#fff;background:#00abcd}.sheet-user{border-top:1px solid #e3f1f6;margin-top:12px;padding-top:16px}.sheet .sidebar-user-icon{background:#e3f5fb}.mobile-header{z-index:30;box-sizing:border-box;height:calc(64px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 16px 0;background:#bdedfb url(/assets/blue-img-bg-Cmyg3Krm.jpg) 0 0/280px no-repeat;justify-content:space-between;align-items:center;gap:16px;display:flex;position:fixed;top:0;left:0;right:0;box-shadow:0 4px 16px #1f344014}.mobile-header-logo{width:auto;height:44px;display:block}.mobile-header-logout{color:#fff;background:#00abcd;border-radius:8px;align-items:center;gap:8px;padding:8px 14px;font-size:14px;font-weight:500;text-decoration:none;display:flex}.mobile-header-logout:hover{background:#0096b4}@media (width<=640px){.content{padding:calc(64px + env(safe-area-inset-top) + 16px) 16px calc(64px + env(safe-area-inset-bottom) + 16px);margin-left:0}.page{gap:16px}.card-header{flex-wrap:wrap;min-height:32px;padding:10px 16px}.card-header h1{font-size:16px}.card-body,.form-section{padding:16px}.table-summary{flex-wrap:wrap;padding:0 16px 12px}.table-summary-top,.table th,.table td{padding:12px 16px}.input-grow{min-width:0}.file-input-name{max-width:140px}.settings-field{grid-template-columns:1fr;gap:6px}.settings-field .form-label{padding-top:0}.settings-field>.btn{grid-column:1}.table-stack{table-layout:auto;min-width:0}.table-stack thead{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.table-stack tbody,.table-stack tr,.table-stack td{display:block}.table-stack tr{border-bottom:1px solid #e3f1f6;padding:12px 16px}.table-stack tbody tr:last-child{border-bottom:none}.table-stack td,.table-stack tbody tr:last-child td{white-space:normal;border:none;padding:4px 0}.table-stack td[data-label]:before{content:attr(data-label);letter-spacing:.06em;text-transform:uppercase;color:#3d7f97;margin-bottom:2px;font-size:11px;font-weight:600;display:block}.table-stack .table-actions{text-align:left;white-space:normal;flex-wrap:wrap;gap:8px;padding-top:12px;display:flex}.table-stack .table-actions .btn{margin-left:0}}
