*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html{overflow-x:clip;-webkit-overflow-scrolling:touch}body{font-family:Inter,system-ui,sans-serif;background:#f5f5f7;color:#1a1a1a;min-height:100dvh;overflow-x:clip;width:100%;max-width:100vw}#root{overflow-x:hidden;max-width:100vw}.btn{display:block;width:100%;padding:1rem 1.5rem;border:none;border-radius:999px;font-size:1.1rem;font-weight:700;letter-spacing:.04em;cursor:pointer;transition:opacity .15s,transform .1s}.btn:active{transform:scale(.97)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-green{background:#34c759;color:#fff}.btn-red{background:#ff3b30;color:#fff}.btn-blue{background:#007aff;color:#fff}.btn-outline{background:transparent;border:2px solid #007aff;color:#007aff}.card{background:#fff;border-radius:1.25rem;padding:1.5rem;box-shadow:0 2px 12px #00000012;max-width:100%;overflow-x:hidden}.page{max-width:480px;margin:0 auto;padding:1.5rem 1rem 3rem;display:flex;flex-direction:column;gap:1.25rem;min-width:0;width:100%;overflow-x:hidden}.app-header{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:#fff;box-shadow:0 1px 6px #0000000f;position:sticky;top:0;z-index:100}.app-header .logo{font-weight:900;font-size:1.2rem;color:#007aff}.app-header .user-name{font-size:.9rem;color:#555;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:110px}.app-header .logout-btn{border:none;background:none;cursor:pointer;font-size:.85rem;color:#ff3b30;font-weight:600;white-space:nowrap}.desktop-nav{display:flex;gap:.75rem;margin-left:.5rem}.nav-link{font-size:.875rem;color:#007aff;font-weight:600;text-decoration:none;white-space:nowrap}.hamburger-btn{display:none;flex-direction:column;justify-content:center;gap:5px;background:none;border:none;cursor:pointer;width:32px;height:32px;padding:0;flex-shrink:0}.ham-line{display:block;width:22px;height:2px;background:#1a1a1a;border-radius:2px;transition:all .2s}.mobile-drawer{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000059;z-index:200}.mobile-drawer-inner{position:absolute;top:0;left:0;width:72vw;max-width:280px;height:100%;background:#fff;display:flex;flex-direction:column;padding-top:3.5rem;box-shadow:4px 0 24px #0000001f}.drawer-link{display:block;padding:.9rem 1.25rem;font-size:1rem;font-weight:600;color:#1a1a1a;text-decoration:none;border-bottom:1px solid #f0f0f3}.drawer-link:hover{background:#f7f7f7}.drawer-logout{margin:1rem 1.25rem;padding:.65rem;border-radius:999px;border:none;background:#ff3b30;color:#fff;font-size:.95rem;font-weight:700;cursor:pointer}@media (max-width: 600px){.hamburger-btn{display:flex}.desktop-nav,.app-header .user-name,.app-header .logout-btn{display:none}.page{padding:1rem .75rem 3rem}.card{padding:1.1rem}table{font-size:.78rem}th,td{padding:.4rem .5rem}.status-circle{width:170px;height:170px}.form-group input,.form-group select,.form-group textarea{font-size:1rem}}.status-circle{width:200px;height:200px;border-radius:50%;border:4px solid;display:flex;flex-direction:column;align-items:center;justify-content:center;margin:.5rem auto;gap:.35rem;transition:all .3s}.status-circle.off{border-color:#ff3b30;background:#ff3b3014}.status-circle.on{border-color:#34c759;background:#34c75914}.status-circle.break{border-color:#ff9500;background:#ff950014}.status-circle .dot{width:10px;height:10px;border-radius:50%}.status-circle.off .dot{background:#ff3b30}.status-circle.on .dot{background:#34c759}.status-circle.break .dot{background:#ff9500}.status-circle .status-label{font-weight:900;font-size:1.2rem;letter-spacing:.04em}.status-circle.off .status-label{color:#ff3b30}.status-circle.on .status-label{color:#34c759}.status-circle.break .status-label{color:#ff9500}.status-circle .timer{font-size:.95rem;color:#555;font-weight:600}.login-wrap{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:1rem}.login-card{width:100%;max-width:380px}.login-card h1{font-size:1.6rem;font-weight:900;margin-bottom:1.5rem;text-align:center}.form-group{display:flex;flex-direction:column;gap:.35rem;margin-bottom:1rem}.form-group label{font-size:.78rem;font-weight:600;color:#444;letter-spacing:.01em}.form-group input,.form-group select,.form-group textarea{width:100%;padding:.65rem .9rem;border-radius:.65rem;border:1.5px solid #e0e0e5;font-size:.9rem;outline:none;background:#fff;color:#1a1a1a;transition:border .15s,box-shadow .15s;font-family:inherit}.form-group input:focus,.form-group select:focus{border-color:#007aff;box-shadow:0 0 0 3px #007aff1a}.form-group input::placeholder{color:#bbb}.error-msg{color:#ff3b30;font-size:.875rem;font-weight:600;margin-top:.5rem;text-align:center}.form-section-title{font-size:.72rem;font-weight:800;color:#007aff;text-transform:uppercase;letter-spacing:.08em;margin:0 0 .75rem;padding-bottom:.4rem;border-bottom:1.5px solid #e8f0ff}table{width:100%;border-collapse:collapse;font-size:.875rem}th{background:#f0f0f3;padding:.5rem .75rem;text-align:left;font-weight:700}td{padding:.5rem .75rem;border-bottom:1px solid #f0f0f3}tr:last-child td{border-bottom:none}.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;background:linear-gradient(to right,#fff 30%,#fff0),linear-gradient(to right,#fff0,#fff 70%) 100% 0,linear-gradient(to right,#0000000f,#0000),linear-gradient(to left,#0000000f,#0000) 100% 0;background-repeat:no-repeat;background-size:40px 100%,40px 100%,10px 100%,10px 100%;background-attachment:local,local,scroll,scroll}.tabs{display:flex;gap:.5rem;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:.25rem;margin-bottom:-.25rem;max-width:100%}.tabs::-webkit-scrollbar{display:none}.tab-btn{flex-shrink:0;padding:.6rem .9rem;border-radius:.75rem;border:none;font-size:.875rem;font-weight:600;cursor:pointer;background:#e5e5ea;color:#555;white-space:nowrap}.tab-btn.active{background:#007aff;color:#fff}.badge{display:inline-block;padding:.2rem .6rem;border-radius:999px;font-size:.75rem;font-weight:700}.badge-green{background:#34c75926;color:#1a7a35}.badge-red{background:#ff3b301f;color:#c0392b}.action-btn-outline{display:inline-block;font-size:.78rem;font-weight:700;cursor:pointer;padding:.28rem .75rem;border-radius:999px;background:transparent;transition:background .15s,color .15s;margin-right:.35rem}.action-btn-blue{border:1.5px solid #007aff;color:#007aff}.action-btn-blue:hover{background:#007aff;color:#fff}.action-btn-red{border:1.5px solid #ff3b30;color:#ff3b30}.action-btn-red:hover{background:#ff3b30;color:#fff}
