:root{color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Malgun Gothic","Apple SD Gothic Neo","Noto Sans KR","Noto Sans JP","Yu Gothic UI",system-ui,sans-serif;color:#1d1b3a;background:linear-gradient(160deg,#F4F3FF,#E9E6FF) fixed}*{box-sizing:border-box}body{margin:0;font-size:14px}header{position:relative;padding:26px clamp(24px,4vw,54px);color:#fff;background:linear-gradient(145deg,#6C60F2,#4A3FD6 55%,#3329A8)}.lang-switch{position:absolute;top:18px;right:clamp(16px,4vw,54px);display:flex;gap:4px}.lang-switch button{width:auto;padding:5px 11px;margin:0;background:transparent;color:#E4E1FF;border:1px solid #ffffff40;border-radius:6px;font-size:.72rem;font-weight:800;text-transform:lowercase}.lang-switch button.active{background:#fff;color:#2a2290;border-color:#fff}header h1{font-size:clamp(1.75rem,4vw,2.6rem);margin:3px 0 5px;letter-spacing:-.045em}header>p:not(.eyebrow){margin:0;color:#E4E1FF}.eyebrow{margin:0;font-size:.68rem;font-weight:800;letter-spacing:.18em;color:#C9C4FF}.badge{display:inline-flex;margin-top:12px;padding:6px 10px;border:1px solid #ffffff55;border-radius:999px;background:#ffffff12;font-size:.76rem}.tabs{display:flex;gap:4px;padding:0 clamp(24px,4vw,54px);background:#2a2290;overflow-x:auto}.tabs .tab-link{width:auto;padding:14px 16px;margin:0;background:transparent;color:#D5D2F5;border:0;border-bottom:3px solid transparent;border-radius:0;font-weight:700;white-space:nowrap}.tabs .tab-link:hover{color:#fff}.tabs .tab-link.active{color:#fff;border-bottom-color:#ffffff}main{max-width:1240px;margin:auto;padding:18px}main>section[id^="tab-"]{display:none}main>section[id^="tab-"].active{display:block}section{background:#fff;border:1px solid #E3E0FF;border-radius:20px;margin:14px 0;padding:22px;box-shadow:0 4px 18px #2a22900d}section.primary{border-top:3px solid #6C60F2}.section-title{display:flex;justify-content:space-between;gap:20px;align-items:center}h2{margin:2px 0 8px;font-size:1.35rem;letter-spacing:-.025em}.notice{font-size:.82rem;color:#6b6890}.compact{width:auto;padding:8px 13px}.filter-bar{display:grid;grid-template-columns:auto repeat(3,minmax(120px,1fr)) auto auto;gap:9px;align-items:end;margin:16px 0 12px;padding:13px;background:#F7F6FF;border:1px solid #E3E0FF;border-radius:12px}.quick-range{display:flex;gap:5px}.quick-range button{width:auto;padding:9px 12px;margin:0;background:#fff;color:#4A3FD6;border:1px solid #D5D2F5}.filter-bar label{font-size:.72rem;color:#6b6890}form{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;align-items:end}label{font-size:.78rem;font-weight:700}input,select,button{display:block;width:100%;padding:10px;margin-top:5px;border:1px solid #D5D2F5;border-radius:8px;background:#fff;font:inherit}button{background:#4A3FD6;color:#fff;border:0;font-weight:750;cursor:pointer}button:hover:not(:disabled){filter:brightness(.96)}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #6C60F255;outline-offset:1px}.secondary{background:#fff;color:#4A3FD6;border:1px solid #D5D2F5}.list{margin-top:8px;overflow-x:auto;border:1px solid #E3E0FF;border-radius:11px}.log-head,.log-row{display:grid;grid-template-columns:178px 100px 84px minmax(170px,1.1fr) minmax(180px,1fr) 120px;gap:12px;align-items:center;min-width:960px}.log-head{padding:11px 14px;background:#F0EEFF;color:#6b6890;font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.log-row{min-height:58px;padding:11px 14px;border-top:1px solid #ECEAFB;transition:background .15s}.log-row:hover{background:#FAF9FF}.log-row time{color:#6b6890;font-size:.78rem;font-variant-numeric:tabular-nums}.actor{display:flex;align-items:center;gap:8px;font-weight:650}.actor i{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#ECEAFF;color:#4A3FD6;font-size:.72rem;font-style:normal}.action-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#ECEAFF;color:#4A3FD6;font-size:.76rem;font-style:normal;white-space:nowrap}.action-badge.order{background:#e9eff9;color:#315f9a}.action-badge.export{background:#fff0d8;color:#8a5510}.action-badge.change{background:#f0eaff;color:#6842a1}.action-badge.danger{background:#fde9e7;color:#a13c32}.detail{font-weight:600;color:#2c2a4d}.detail small{display:block;margin-top:4px;color:#6b6890;font-weight:400}.log-row code{display:inline-flex;width:max-content;padding:4px 7px;border-radius:6px;background:#F1F0FB;color:#6b6890;font-family:ui-monospace,monospace;font-size:.72rem}.reason-button{width:auto;display:inline-block;padding:5px 8px;margin:5px 0 0;background:#fff6e7;color:#8a5510;border:1px solid #e9c992;font-size:.7rem}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:13px}.pagination button{width:auto;min-width:68px;padding:8px 12px}.pagination span{min-width:150px;text-align:center;color:#6b6890;font-size:.8rem}.pagination button:disabled{opacity:.4;cursor:not-allowed}.empty-state{padding:44px;text-align:center;color:#6b6890}.summary,.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:12px 0}.summary>div,.card{padding:14px;border-radius:10px;background:#F7F6FF;border:1px solid #E3E0FF}.summary strong{display:block;font-size:1.4rem}.card h3{font-size:.92rem}.status{font-size:.68rem;font-weight:800}.covered{color:#14743b}.partial{color:#a65d00}.not_configured,.unknown{color:#6b6890}.unsupported{color:#a22b2b}.item{padding:11px;border-bottom:1px solid #ECEAFB}.item small{display:block;color:#6b6890}.item-actions{display:flex;gap:6px;flex-wrap:wrap;flex:none}.item-actions button{width:auto;padding:6px 10px;font-size:.76rem}.staff-row{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.staff-row .staff-line{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Native <input type="file"> always shows browser/OS-language chrome
   ("Choose file"/"No file chosen") that page code cannot translate - this
   hides it (still focusable/clickable via the wrapping <label>, so no JS
   is needed to open the file picker) and shows our own translated button
   + filename text instead. */
.file-picker{cursor:pointer}
.file-picker-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.file-picker-row{display:flex;align-items:center;gap:10px;margin-top:5px}
.file-picker-button{width:auto;padding:10px 14px;border:1px solid #D5D2F5;border-radius:8px;background:#fff;color:#4A3FD6;font-weight:700}
.file-picker-row span:last-child{color:#6b6890;font-size:.85rem;font-weight:400}details{background:#fff;border:1px solid #E3E0FF;border-radius:12px;margin:14px 0}summary{padding:16px 20px;cursor:pointer;font-weight:750;color:#4a4670}.details-content{padding:0 20px 20px}@media(max-width:900px){.filter-bar{grid-template-columns:repeat(2,minmax(140px,1fr))}.quick-range{grid-column:1/-1}.pagination{justify-content:center}}@media(max-width:620px){header{padding:22px 18px}main{padding:10px}section{padding:16px}.section-title{align-items:flex-start}.filter-bar{grid-template-columns:1fr}.quick-range{grid-column:auto}.quick-range button{flex:1}.log-head{display:none}.log-row{min-width:0;grid-template-columns:1fr 1fr;gap:8px}.log-row time{grid-column:1/-1}.log-row strong,.detail{grid-column:1/-1}.pagination span{min-width:auto}}

.form-error{display:block;margin-top:6px;color:#a22b2b;font-size:.8rem}

.app-footer{margin:2rem auto 1.5rem;padding:0 1rem;text-align:center;color:#666;font-size:.9rem}.app-footer a{color:inherit;text-decoration:underline}

.setup-guide{background:#F7F6FF;border-color:#C9C4FF}.setup-guide .details-content p{margin:0 0 10px;color:#4a4670;line-height:1.6}.setup-guide ol{margin:0;padding-left:1.3rem;line-height:1.8}.setup-guide a{color:#4A3FD6;font-weight:700}
.setup-guide ol ul{margin:6px 0 8px;padding-left:1.2rem;line-height:1.7;color:#4a4670}

.capture-badge{display:inline-flex;width:max-content;padding:4px 9px;border-radius:999px;background:#F1F0FB;color:#4a4670;font-size:.72rem;font-weight:700;white-space:nowrap}.capture-badge.card{background:#E6F4EA;color:#14743b}.capture-badge.extension{background:#E9EFF9;color:#315f9a}.status.neutral{color:#6b6890}.status.off{color:#8a5510}.staff-no{font-family:ui-monospace,monospace;font-weight:800}.staff-memo{color:#6b6890}

.staff-layout{display:grid;grid-template-columns:minmax(300px,380px) minmax(0,1fr);gap:16px;align-items:start}
.frame{background:#fff;border:1px solid #E3E0FF;border-radius:16px;padding:20px}.frame h3{margin:2px 0 14px;font-size:1.3rem}.frame h4{margin:18px 0 8px;font-size:.85rem;color:#4a4670}
.frame-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}
.range-toggle{display:flex;gap:6px}.range-toggle button{padding:6px 12px;border-radius:999px;border:1px solid #D9D5FF;background:#fff;color:#4A3FD6;font-weight:700;cursor:pointer}.range-toggle button.active{background:#4A3FD6;color:#fff;border-color:#4A3FD6}
.kpi-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:6px 0 14px}
.kpi{border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:2px}.kpi span{font-size:.72rem;font-weight:700}.kpi strong{font-size:1.7rem;line-height:1.1}
.kpi.active{background:#ECEAFF;color:#4A3FD6}.kpi.extension_silent{background:#FFF3D6;color:#9a6200}.kpi.long_idle{background:#FDE9E7;color:#c0392b}.kpi.unused{background:#EFEFF6;color:#5f5d78}
.chart-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:12px}
.chart-card{border:1px solid #ECEAFB;border-radius:12px;padding:12px 14px;margin-bottom:12px}.chart-card h4{margin:0 0 10px}
.donut{position:relative;width:132px;height:132px;margin:0 auto}.donut svg{width:100%;height:100%;transform:rotate(0)}.donut strong{position:absolute;inset:0;display:grid;place-items:center;font-size:1.6rem}
.legend{display:flex;flex-wrap:wrap;gap:6px 12px;justify-content:center;margin-top:10px;font-size:.72rem;color:#4a4670}.legend-item i{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:5px}
.bars{display:flex;align-items:flex-end;gap:3px;height:120px}.bar-col{flex:1;height:100%;display:flex;align-items:flex-end}.bar{display:block;width:100%;background:#6C5CE7;border-radius:3px 3px 0 0}
.bar-axis{display:flex;justify-content:space-between;font-size:.68rem;color:#6b6890;margin-top:4px}
.hbar-row{display:grid;grid-template-columns:56px 1fr 28px;gap:8px;align-items:center;margin:6px 0;font-size:.75rem;color:#4a4670}.hbar-track{background:#F4F3FF;border-radius:4px;height:12px}.hbar{height:12px;border-radius:4px;background:#6C5CE7}.hbar.late{background:#D64545}.hbar-row em{font-style:normal;font-weight:700}
.chart-card.attention{background:#FFFAFA;border-color:#F6D9D6}.attention-item{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#fff;border:1px solid #F1E3E1;border-radius:10px;padding:10px 12px;margin-bottom:8px}.attention-item small{display:block;color:#6b6890;margin-top:2px}
.pill{padding:4px 9px;border-radius:999px;font-size:.7rem;font-weight:800;white-space:nowrap}.pill.long_idle{background:#FDE9E7;color:#c0392b}.pill.extension_silent{background:#FFF3D6;color:#9a6200}.pill.unused{background:#EFEFF6;color:#5f5d78}
.monitor-note{color:#6b6890;font-size:.72rem;margin:4px 2px 0}
@media (max-width:980px){.staff-layout{grid-template-columns:1fr}.kpi-row{grid-template-columns:repeat(2,minmax(0,1fr))}.chart-grid{grid-template-columns:1fr}}

.staff-row{position:relative;align-items:flex-start}.staff-row .staff-line{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.6}
.row-menu{position:relative;flex:none}.menu-toggle{width:34px;height:34px;padding:0;font-size:1.2rem;line-height:1;display:grid;place-items:center}
.menu-pop{position:absolute;right:0;top:calc(100% + 4px);z-index:20;min-width:140px;background:#fff;border:1px solid #D9D5FF;border-radius:10px;box-shadow:0 8px 24px rgba(74,63,214,.16);padding:4px;display:flex;flex-direction:column}.menu-pop[hidden]{display:none}
.menu-item{background:none;border:0;border-radius:7px;padding:9px 12px;text-align:left;color:#1d1b3a;font:inherit;cursor:pointer;white-space:nowrap}.menu-item:hover,.menu-item:focus-visible{background:#F4F3FF}

#staff-members{overflow:visible}
.staff-row{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;font-size:.85rem;line-height:1.5}
.staff-info{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}
.staff-main{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;font-size:.85rem}.staff-main .staff-no{font-size:.85rem}.staff-email{overflow-wrap:anywhere;color:#1d1b3a}
.staff-meta{display:flex;flex-wrap:wrap;gap:2px 8px;font-size:.78rem;color:#6b6890}
.staff-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:2px}
.tag{display:inline-block;padding:2px 8px;border-radius:999px;font-size:.72rem;font-weight:700;line-height:1.5;white-space:nowrap}.tag.ok{background:#E6F4EA;color:#14743b}.tag.neutral{background:#EFEFF6;color:#5f5d78}.tag.warn{background:#FFF3D6;color:#9a6200}
.menu-toggle{margin-top:0}.menu-pop{min-width:150px}
.menu-item{display:block;width:100%;margin:0;padding:9px 12px;font-size:.85rem;font-weight:600;background:none;color:#1d1b3a}
.range-toggle button{white-space:nowrap;width:auto}

.filter-bar{display:flex;flex-wrap:wrap;gap:8px 10px;align-items:flex-end;padding:9px 12px}
.filter-bar label{display:block;font-size:.7rem}.filter-bar label span{display:block;margin-bottom:2px}
.filter-bar input,.filter-bar select{width:auto;min-width:0;margin-top:0;padding:6px 8px;font-size:.8rem;border-radius:7px}
.filter-bar input[type=date]{width:132px}.filter-bar select{min-width:84px}
.filter-bar>button[type=submit]{width:auto;margin:0;padding:7px 14px;font-size:.8rem}
.quick-range{grid-column:auto;gap:4px}.quick-range button{flex:none;width:auto;padding:6px 10px;font-size:.78rem;border-radius:7px}
.quick-range button.reset{background:transparent;border-color:transparent;color:#6b6890;font-weight:600}.quick-range button.reset:hover{background:#fff;color:#4A3FD6}

.filter-bar{padding:12px 14px;gap:8px 10px}
.filter-bar label{font-size:.72rem}
.filter-bar input,.filter-bar select{padding:9px 10px;font-size:.9rem;border-radius:8px}
.filter-bar input[type=date]{width:150px}.filter-bar select{min-width:96px}
.quick-range button,.filter-bar>button{padding:9px 14px;font-size:.9rem;border-radius:8px;height:40px;margin:0;width:auto;flex:none}
.filter-bar>button.secondary{background:#fff;color:#4A3FD6;border:1px solid #D5D2F5}
/* filter bar fills the same width as the log table */
.filter-bar label{flex:1 1 130px;min-width:0}
.filter-bar input[type=date],.filter-bar select{width:100%}
.quick-range{flex:none}
/* log rows: every plain-text cell shares one font, size, weight and colour; only badges and the IP chip have backgrounds */
.log-row,.log-row time,.log-row .actor,.log-row .staff-no,.log-row .detail,.log-row .detail small,.log-row code,.log-row .reason-button{font-family:inherit;font-size:.85rem;font-weight:500;color:#1d1b3a;font-variant-numeric:tabular-nums;letter-spacing:0}
.log-row .detail small{color:#6b6890;margin-top:2px}
.log-row code{padding:3px 9px;border-radius:999px;background:#F1F0FB;color:#4a4670}
.log-row .reason-button{width:auto;margin:4px 0 0;padding:3px 10px;font-size:.8rem}
.log-row .capture-badge,.log-row .action-badge{font-size:.8rem;font-weight:600}

.guide-status{padding:10px 14px;border-radius:10px;font-weight:700;margin-bottom:12px}.guide-status.ok{background:#E6F4EA;color:#14743b}.guide-status.todo{background:#FFF3D6;color:#9a6200}
#guide-steps{padding-left:20px}#guide-steps>li{margin-bottom:12px;line-height:1.6}#guide-steps strong{color:#1d1b3a}

#guide-steps{font-size:.85rem;padding-left:22px}#guide-steps>li{margin-bottom:14px;line-height:1.55}#guide-steps>li>strong{display:block;font-size:.9rem;margin-bottom:3px}
.guide-line{display:block;color:#3b3858}#guide-steps ul{margin:6px 0 0;padding-left:18px}#guide-steps ul li{margin:2px 0}
#setup-guide .details-content>p{font-size:.85rem}

.member-view{display:none;background:#fff;border:1px solid #E3E0FF;border-radius:16px;padding:22px}.member-view p{margin:6px 0;line-height:1.6}
.member-mode .member-view{display:block !important}.member-mode nav.tabs,.member-mode #setup-guide,.member-mode #tab-logs,.member-mode #tab-export,.member-mode #tab-staff{display:none !important}
.tag.admin{background:#ECEAFF;color:#4A3FD6}
