
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:18px}.card-titlebar{margin:-18px -18px 16px;padding:12px 16px;background:#f6f8fa;border-bottom:1px solid var(--line);border-radius:var(--radius) var(--radius) 0 0}.card-titlebar h2,.card-titlebar h3{margin:0}
.metric-label{color:#748291;font-size:.8rem;font-weight:700}.metric-value{font-size:1.9rem;line-height:1.1;font-weight:800;color:#183c66}.dashboard-metric-card{min-height:94px;display:flex;align-items:center;gap:12px;padding:16px}.metric-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:5px;background:#edf5fd;color:var(--blue);flex:0 0 auto}.metric-icon svg{width:18px;height:18px}.dashboard-metric-copy{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;flex:1;min-width:0}
.btn{border:1px solid transparent;border-radius:5px;padding:8px 12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:6px;background:#fff;font-size:.9rem}.btn-primary{background:var(--blue);color:#fff}.btn-primary:hover{background:var(--blue-dark)}.btn-secondary{border-color:#d4dce4;color:#354454;background:#fff}.btn-secondary:hover{background:#f6f8fa}.btn-danger{background:var(--danger);color:#fff}.btn-icon{width:36px;height:36px;padding:0;border-color:#d8dfe6;color:#4d5a67}.btn-icon svg{width:17px;height:17px}
.badge{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:4px 8px;font-size:.75rem;font-weight:750}.badge::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.badge-success{color:var(--success);background:var(--success-bg)}.badge-danger{color:var(--danger);background:var(--danger-bg)}.badge-neutral{color:#657382;background:#eef1f4}
.result-status{display:inline-flex;align-items:center;gap:6px;font-weight:750;font-size:.8rem;white-space:nowrap}.result-icon{width:19px;height:19px;border-radius:50%;display:grid;place-items:center}.result-icon svg{width:12px;height:12px}.result-success{color:var(--success)}.result-success .result-icon{background:var(--success-bg)}.result-danger{color:var(--danger)}.result-danger .result-icon{background:var(--danger-bg)}
.toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin-bottom:14px}.form-field{display:grid;gap:6px;min-width:0}.form-field label{font-size:.84rem;font-weight:700;color:#465565}.input,.select,.textarea{width:100%;border:1px solid #cfd7df;border-radius:5px;padding:9px 10px;background:#fff;color:var(--text)}.textarea{min-height:110px;resize:vertical}.required{color:var(--danger);font-size:.74rem;margin-left:5px}
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:5px;background:#fff}table{width:100%;border-collapse:collapse;min-width:820px;background:#fff;font-size:.88rem}th,td{padding:11px 12px;border-bottom:1px solid #e8edf1;text-align:left;vertical-align:middle}th{font-size:.76rem;color:#657382;background:#f4f6f8;white-space:nowrap;font-weight:750}tbody tr:hover td{background:#fafcfd}tr:last-child td{border-bottom:0}.fit-table-wrap{overflow-x:hidden}.fit-table{min-width:0!important;table-layout:fixed}.fit-table td,.fit-table th{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.split-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.split-title h2,.split-title h3{margin:0}.tabs{display:flex;gap:0;overflow-x:auto;border-bottom:1px solid var(--line);margin:-18px -18px 18px;padding:0 12px;background:#fbfcfd}.tab-btn{border:0;background:transparent;padding:13px 12px 11px;color:#667483;border-bottom:2px solid transparent;white-space:nowrap;font-weight:650;font-size:.9rem}.tab-btn:hover{color:var(--blue)}.tab-btn.is-active{color:var(--blue);border-bottom-color:var(--blue);font-weight:750}.tab-panel{display:none}.tab-panel.is-active{display:block}
.employee-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#f8fbfe;border:1px solid #d5e1ed;border-radius:var(--radius);padding:16px 18px;margin-bottom:14px}.employee-name{font-size:1.34rem;font-weight:800;margin-bottom:4px;color:#1d2f42}.employee-meta{display:flex;gap:8px 12px;align-items:center;flex-wrap:wrap;color:#6f7f8f;font-size:.84rem}
.tab-panel>h2{margin-bottom:13px;font-size:1.06rem}.section-block{border:1px solid var(--line);border-radius:5px;overflow:hidden;background:#fff}.section-block-title{padding:10px 13px;background:#f4f7fa;border-bottom:1px solid var(--line);font-size:.83rem;font-weight:800;color:#425468}.data-list{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;padding:0 14px}.data-row{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;gap:10px;min-height:46px;border-bottom:1px solid #e8edf1}.data-row dt{color:#738191;font-size:.8rem;font-weight:700}.data-row dd{margin:0;color:#243443;font-size:.9rem;font-weight:650;min-width:0}.data-row:nth-last-child(-n+2){border-bottom:0}.basic-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.basic-column{border:1px solid var(--line);border-radius:5px;overflow:hidden}.basic-column .data-list{display:block;padding:0 14px}.basic-column .data-row{grid-template-columns:105px minmax(0,1fr)}.basic-column .data-row:last-child{border-bottom:0}
.premium-header-grid{display:grid;grid-template-columns:2fr 1fr;gap:14px;margin-bottom:14px}.info-tile{border:1px solid var(--line);border-radius:5px;background:#fff;padding:12px 14px}.info-tile-label{display:block;color:#748291;font-size:.76rem;font-weight:750;margin-bottom:4px}.info-tile-value{display:block;font-weight:750;color:#243443;font-size:.92rem}.sp-code-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);border-radius:5px;overflow:hidden;margin-bottom:16px}.sp-code-item{padding:12px 13px;border-right:1px solid var(--line);background:#fff}.sp-code-item:last-child{border-right:0}.sp-code-label{display:block;color:#748291;font-size:.74rem;font-weight:750;margin-bottom:4px}.sp-code-value{font-weight:750;color:#243443;font-size:.9rem}.subsection-title{margin:16px 0 9px;font-size:.93rem;font-weight:800;color:#34485d}.code-matrix{min-width:0!important;table-layout:fixed}
.secret-card{border:1px solid var(--line);border-radius:5px;padding:0;background:#fff;overflow:hidden}.secret-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 13px;background:#f4f7fa;border-bottom:1px solid var(--line)}.secret-card-body{display:grid;grid-template-columns:minmax(0,1fr) 96px;gap:14px;padding:13px}.credential-info{min-width:0}.key-value{display:grid;grid-template-columns:92px minmax(0,1fr);gap:10px;padding:8px 0;border-bottom:1px solid #edf0f3}.key-value:last-child{border-bottom:0}.key-value>span:first-child{color:var(--muted);font-size:.79rem;font-weight:650}.key-value strong,.key-value .secret-value{font-size:.88rem}.secret-value{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.03em}.credential-actions{display:grid;align-content:center;gap:7px;border-left:1px solid #edf0f3;padding-left:13px}.credential-actions .btn{width:100%;padding:7px 8px}.asset-id{font-variant-numeric:tabular-nums}.sensitive-actions{display:flex;gap:6px;flex-wrap:wrap}.notice{margin-top:12px;padding:10px 12px;border-radius:5px;border:1px solid var(--line)}.notice-warning{background:var(--warning-bg);border-color:#eedcae;color:#6d4d05}.notice-info{background:#eef6fd;border-color:#d5e7f7;color:#365d7d}
.modal-backdrop{position:fixed;inset:0;z-index:50;display:none;place-items:center;padding:20px;background:rgba(28,39,50,.42)}.modal-backdrop.is-open{display:grid}.modal{width:min(540px,100%);background:#fff;border:1px solid var(--line);border-radius:7px;padding:20px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.toast{position:fixed;right:20px;bottom:20px;z-index:100;opacity:0;transform:translateY(10px);pointer-events:none;background:#27313b;color:#fff;padding:10px 13px;border-radius:5px;transition:.16s}.toast.is-show{opacity:1;transform:none}
.employee-filter-card{padding:14px;background:#f9fbfd}.employee-table-wrap{max-width:100%;overflow:auto}.employee-table{min-width:960px;table-layout:fixed}.employee-table th{position:sticky;top:0;z-index:1}.col-employee-id{width:110px}.col-name{width:145px}.col-division{width:105px}.col-section{width:95px}.col-transit{width:175px}.col-toyoko{width:175px}.col-status{width:85px}.col-detail{width:70px}.copy-field,.quick-value{display:flex;align-items:center;gap:7px;min-width:0}.copy-field-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}.copy-btn{width:30px;height:30px;display:grid;place-items:center;flex:0 0 auto;border:1px solid #d4dce4;border-radius:5px;background:#fff;color:#63717f}.copy-btn:hover{color:var(--blue);border-color:#b8d2ec;background:#f7fbff}.copy-btn svg{width:14px;height:14px}.no-results{padding:15px 2px 0}
.dashboard-quick-card,.dashboard-activity-card{padding:16px}.dashboard-quick-card{border-top:3px solid #4e91d5}.dashboard-activity-card{border-top:3px solid #91a5b8}.dashboard-quick-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.dashboard-quick-head h2{margin:0;font-size:1.1rem}.quick-search{position:relative;width:245px}.quick-search svg{position:absolute;left:10px;top:50%;transform:translateY(-50%);width:15px;height:15px;color:#88939e}.quick-search input{width:100%;height:36px;border:1px solid #cfd7df;border-radius:5px;padding:7px 10px 7px 32px;background:#fff}.quick-table-head,.quick-row{display:grid;grid-template-columns:minmax(130px,160px) minmax(0,1fr) minmax(0,1fr);gap:10px;align-items:center}.quick-table-head{padding:7px 10px;background:#f4f7fa;border:1px solid var(--line);border-bottom:0;border-radius:5px 5px 0 0;color:#6e7d8b;font-size:.73rem;font-weight:800}.dashboard-list{display:grid;gap:0;border:1px solid var(--line);border-radius:0 0 5px 5px;overflow:hidden}.quick-row{padding:10px;background:#fff;border-bottom:1px solid #e8edf1}.quick-row:last-child{border-bottom:0}.quick-row:hover{background:#f8fbfd}.quick-person{font-weight:700;min-width:0;font-size:.9rem}.quick-meta{min-width:0}.quick-label{display:none}.quick-value .copy-field-value{font-size:.84rem}.quick-empty{display:none;padding:22px;text-align:center;color:var(--muted)}.quick-empty.is-show{display:block}.dashboard-table-wrap{border:1px solid var(--line);border-radius:5px;overflow:hidden}.dashboard-table{min-width:0;width:100%;table-layout:fixed}.dashboard-table th,.dashboard-table td{padding:10px 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.84rem}.dashboard-table .status-cell{overflow:visible}.sticky-save-bar{position:sticky;bottom:10px;margin-top:14px;display:flex;justify-content:space-between;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:5px;padding:11px 13px}.save-state{font-size:.82rem;color:var(--muted)}
.log-card{padding:0;overflow:hidden}.log-card .fit-table-wrap{border:0;border-radius:0}.log-page-table th,.log-page-table td{padding:12px 14px;font-size:.87rem}
@media(max-width:980px){.data-list{grid-template-columns:1fr}.basic-layout{grid-template-columns:1fr}.employee-summary{align-items:flex-start;flex-direction:column}.quick-search{width:100%}.dashboard-quick-head{align-items:stretch;flex-direction:column}.sp-code-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sp-code-item:nth-child(2){border-right:0}.sp-code-item:nth-child(-n+2){border-bottom:1px solid var(--line)}}
@media(max-width:680px){.grid-2{grid-template-columns:1fr}.quick-table-head{display:none}.quick-row{grid-template-columns:1fr}.quick-label{display:inline}.premium-header-grid{grid-template-columns:1fr}.sp-code-grid{grid-template-columns:1fr}.sp-code-item{border-right:0;border-bottom:1px solid var(--line)}.sp-code-item:last-child{border-bottom:0}.secret-card-body{grid-template-columns:1fr}.credential-actions{grid-template-columns:repeat(3,1fr);border-left:0;border-top:1px solid #edf0f3;padding-left:0;padding-top:12px}}


/* v0.8 interaction unification */
.icon-action{width:34px;height:34px;padding:0;display:inline-grid;place-items:center;border:1px solid #d5dde5;border-radius:5px;background:#fff;color:#536477;transition:.12s}
.icon-action:hover{background:#f1f6fb;border-color:#b8c9da;color:var(--blue)}
.icon-action svg{width:17px;height:17px}.secret-card-head-actions{display:flex;align-items:center;gap:8px}.credential-card-body{display:block}.password-line{align-items:center}.password-value-wrap{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}.password-actions{display:flex;gap:6px;flex:0 0 auto}.credential-info{width:100%}.credential-grid{align-items:stretch}.secret-card{height:100%}.secret-card-body{min-height:112px}.sensitive-actions{display:flex;gap:6px;align-items:center}.account-edit-modal{width:min(540px,100%)}.modal-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.modal-title-row h2{margin:0}
.dashboard-metric-card{overflow:hidden}.dashboard-metric-copy>div:first-child{min-width:0}.metric-label{white-space:nowrap}.dashboard-metric-card .small{font-size:.76rem}.dashboard-metric-card:nth-child(4) .dashboard-metric-copy{align-items:center}.dashboard-metric-card:nth-child(4) .dashboard-metric-copy>.small{max-width:145px;line-height:1.35;white-space:normal}.asset-id,.secret-value{font-variant-numeric:tabular-nums}.table-wrap td:last-child{white-space:nowrap}

/* v0.9 account note + unified secret actions */
.credential-note{padding:9px 13px;border-top:1px solid #edf0f3;background:#fafbfd;color:#6d7986;font-size:.78rem;line-height:1.45}
.credential-note:empty{display:none}
.sensitive-actions .icon-action,.password-actions .icon-action{background:#fff}
.sensitive-actions .icon-action:hover,.password-actions .icon-action:hover{background:#eef6fd}


/* v0.10 FINAL DESIGN POLISH */
.card{box-shadow:0 1px 2px rgba(20,42,68,.025)}
.page-head h1{color:#1b2e42}
.employee-summary{background:#f7fafc;border-color:#d6e0ea}
.employee-summary .btn{min-height:38px}
.tabs{background:#f8fafc}
.tab-btn{padding-left:14px;padding-right:14px}
.tab-panel>h2{color:#1f3348;font-size:1.08rem;letter-spacing:-.005em}
.section-block-title{background:#f2f5f8;color:#334a61}
.basic-column{background:#fff}
.basic-column .data-row{min-height:48px}
.basic-column .data-row dt{color:#6e7c8b}
.basic-column .data-row dd{font-size:.91rem}
.info-tile{background:#fbfcfd}
.sp-code-item{background:#fbfcfd}
.credential-grid{gap:12px}
.secret-card-head{background:#f2f5f8;padding:10px 12px}
.secret-card-head strong{font-size:.93rem;color:#26394d}
.secret-card-body{padding:12px 13px}
.key-value{padding:9px 0}
.credential-note{padding:9px 13px;border-top:1px solid #edf0f3;background:#fbfcfd;color:#71808f;font-size:.78rem;line-height:1.4}
.credential-note:empty{display:none}
.icon-action{width:32px;height:32px;border-color:#d6dee7;color:#536679}
.icon-action svg{width:16px;height:16px}
.icon-action:hover{background:#eaf3fc;border-color:#b7cee5;color:#176fbd}
.sensitive-actions{justify-content:flex-start}
.asset-table th:last-child,.asset-table td:last-child{text-align:left}
.notice-warning{background:#fff8e9;border-color:#edd9a5}
.dashboard-metric-card{padding:15px 16px;min-height:90px}
.dashboard-metric-copy{align-items:center}
.dashboard-metric-card .metric-label{font-size:.79rem;line-height:1.25}
.dashboard-metric-card .metric-value{font-size:1.82rem;margin-top:3px}
.dashboard-metric-card .system-names{max-width:128px!important;font-size:.72rem!important;line-height:1.35!important}
.dashboard-quick-card,.dashboard-activity-card{background:#fff}
.dashboard-quick-head h2,.dashboard-activity-card h2{color:#21374e}
.quick-table-head{background:#f1f5f8}
.quick-row{min-height:46px}
.quick-person{font-size:.89rem}
.dashboard-table th{background:#f1f5f8}
.result-icon{width:18px;height:18px}
.modal{border-radius:7px}
.toast{border-radius:5px}
.btn-icon,.btn,.input,.select,.textarea,.role-wrap{border-radius:5px}
@media(max-width:1280px){
  .tab-btn{padding-left:10px;padding-right:10px;font-size:.86rem}
  .dashboard-metric-card .system-names{max-width:110px!important;font-size:.69rem!important}
}


/* v0.11 employee search polish */
.employee-search-panel{
  border:1px solid #d7e1eb;
  background:#f5f8fb;
  border-radius:7px;
  overflow:hidden;
  margin-bottom:16px;
}
.employee-search-primary{
  display:grid;
  grid-template-columns:150px minmax(0,1fr);
  gap:16px;
  align-items:center;
  padding:16px 18px;
  background:#fff;
  border-bottom:1px solid #e3e9ef;
}
.employee-search-heading{
  display:flex;
  align-items:center;
  gap:8px;
  color:#30485f;
  font-size:.9rem;
  font-weight:800;
  white-space:nowrap;
}
.employee-search-heading-icon,
.employee-filter-title-icon{
  width:28px;height:28px;
  display:inline-grid;place-items:center;
  border-radius:5px;
  background:#eaf3fc;
  color:#176fbd;
  flex:0 0 auto;
}
.employee-search-heading-icon svg,
.employee-filter-title-icon svg{width:15px;height:15px}
.employee-search-input-wrap{position:relative;min-width:0}
.employee-search-input-icon{
  position:absolute;left:13px;top:50%;transform:translateY(-50%);
  color:#7c8996;width:17px;height:17px;pointer-events:none;
}
.employee-search-input-icon svg{width:17px;height:17px}
.employee-search-input{
  width:100%;height:42px;
  border:1px solid #cbd6e1;
  border-radius:5px;
  background:#fff;
  color:var(--text);
  padding:9px 14px 9px 40px;
  font-size:.9rem;
  transition:border-color .12s,box-shadow .12s;
}
.employee-search-input::placeholder{color:#98a4b1}
.employee-search-input:focus{
  border-color:#82b5e5;
  box-shadow:0 0 0 3px rgba(23,111,189,.08);
  outline:0;
}
.employee-filter-row{
  display:grid;
  grid-template-columns:150px repeat(3,minmax(130px,180px)) auto 1fr;
  gap:12px;
  align-items:end;
  padding:14px 18px 15px;
}
.employee-filter-title{
  display:flex;
  align-items:center;
  gap:8px;
  align-self:center;
  color:#516579;
  font-size:.83rem;
  font-weight:800;
  white-space:nowrap;
}
.employee-filter-control{display:grid;gap:5px;min-width:0}
.employee-filter-control label{
  color:#71808f;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.01em;
}
.compact-select{height:36px;padding:6px 30px 6px 10px;font-size:.84rem;background:#fff}
.filter-clear-btn{
  height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  border:1px solid #d2dbe4;
  border-radius:5px;
  background:#fff;
  color:#5c6d7e;
  padding:0 11px;
  font-size:.8rem;
  font-weight:700;
}
.filter-clear-btn:hover{background:#eef4fa;color:#176fbd;border-color:#bdd1e4}
.filter-clear-btn svg{width:14px;height:14px}
.employee-filter-result{
  justify-self:end;
  align-self:center;
  min-width:108px;
  display:inline-flex;
  align-items:baseline;
  justify-content:center;
  gap:4px;
  padding:6px 10px;
  border:1px solid #d8e1ea;
  border-radius:999px;
  background:#fff;
  color:#6a7988;
  font-size:.75rem;
  white-space:nowrap;
}
.employee-filter-result-label{margin-right:2px}
.employee-filter-result strong{color:#176fbd;font-size:1rem;line-height:1}
.employee-table-wrap{border-top-left-radius:5px;border-top-right-radius:5px}
@media(max-width:1280px){
  .employee-search-primary{grid-template-columns:130px minmax(0,1fr)}
  .employee-filter-row{grid-template-columns:130px repeat(3,minmax(118px,1fr)) auto}
  .employee-filter-result{grid-column:1/-1;justify-self:end;margin-top:-2px}
}
@media(max-width:900px){
  .employee-search-primary{grid-template-columns:1fr;gap:9px}
  .employee-filter-row{grid-template-columns:repeat(2,minmax(0,1fr))}
  .employee-filter-title{grid-column:1/-1}
  .filter-clear-btn{justify-self:start}
  .employee-filter-result{grid-column:auto;justify-self:end;margin-top:0}
}
@media(max-width:560px){
  .employee-filter-row{grid-template-columns:1fr}
  .employee-filter-result{justify-self:start}
}
