
  :root{
    --bg:#EAE3D3;
    --bg-grain:#E3DAC6;
    --surface:#FFFDF8;
    --surface-alt:#F5EFE1;
    --ink:#2B2620;
    --ink-soft:#7A7060;
    --line:#DCD1B8;
    --line-strong:#C9BB9C;

    --doran:#B5552A;
    --doran-soft:#F1DCC7;
    --doran-wash:#FAF1E6;

    --yun:#136B70;
    --yun-soft:#D6E9E6;
    --yun-wash:#EAF4F3;
    --yun-glint:#C89A44;

    --danger:#A23E3E;
    --ok:#2F6A45;
    --radius:16px;
    --radius-sm:10px;
    --shadow:0 2px 10px rgba(43,38,32,0.08), 0 1px 2px rgba(43,38,32,0.06);
  }
  *{box-sizing:border-box;}
  html,body{margin:0;padding:0;}
  body{
    background:
      radial-gradient(1200px 600px at 10% -10%, var(--bg-grain), transparent),
      var(--bg);
    color:var(--ink);
    font-family:'Pretendard', -apple-system, sans-serif;
    -webkit-font-smoothing:antialiased;
    min-height:100vh;
    padding-bottom:48px;
  }
  .wrap{max-width:640px;margin:0 auto;padding:20px 16px 0;}

  /* ---------- Setup banner ---------- */
  .setup-banner{
    background:#3A2F22;color:#F5EFE1;border-radius:var(--radius-sm);
    padding:14px 16px;margin-bottom:16px;font-size:13px;line-height:1.7;word-break:keep-all;
  }
  .setup-banner b{color:#F0C48A;}
  .setup-banner code{background:rgba(255,255,255,.12);padding:1px 5px;border-radius:4px;font-size:12px;}

  /* ---------- Header ---------- */
  header{padding:6px 4px 18px;}
  .eyebrow{
    font-family:'IBM Plex Mono',monospace;
    font-size:11px;letter-spacing:.12em;text-transform:uppercase;
    color:var(--ink-soft);margin-bottom:6px;
  }
  h1{
    font-family:'Gowun Batang',serif;
    font-size:26px;font-weight:700;margin:0 0 4px;letter-spacing:-.01em;
  }
  .sub{font-size:13px;color:var(--ink-soft);word-break:keep-all;}
  .refresh-btn{
    margin-top:12px;padding:8px 14px;border-radius:999px;border:1.5px solid var(--line-strong);
    background:var(--surface);color:var(--ink-soft);font-size:12px;font-weight:600;cursor:pointer;
  }
  .refresh-btn:disabled{opacity:.6;}
  .header-btn-row{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap;}
  .header-btn-row .refresh-btn{margin-top:0;}
  .checklist-corner-btn{
    flex-shrink:0;padding:8px 14px;border-radius:999px;border:1.5px solid var(--line-strong);
    background:var(--surface);color:var(--ink);font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap;
    display:inline-block;text-decoration:none;
  }
  .checklist-corner-btn.active{background:var(--ink);color:var(--surface);border-color:var(--ink);}

  .admin-header-row{
    display:flex;align-items:center;gap:10px;
    position:sticky;top:0;z-index:45;
    background:
      radial-gradient(1200px 600px at 10% -10%, var(--bg-grain), transparent),
      var(--bg);
    padding:14px 0;margin:0 0 8px;border-bottom:1px solid var(--line);
  }
  .admin-header-row h1, .admin-header-row h2{flex:1;min-width:0;font-size:19px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
  .admin-header-row .refresh-btn{margin-top:0;flex-shrink:0;}
  .kebab-btn{
    display:none;flex-shrink:0;width:40px;height:40px;border-radius:10px;
    border:1.5px solid var(--line-strong);background:var(--surface);color:var(--ink);
    font-size:17px;cursor:pointer;align-items:center;justify-content:center;
    -webkit-tap-highlight-color:transparent;
  }
  .kebab-btn.visible{display:flex;}

  .notif-bell-btn{
    position:relative;flex-shrink:0;width:40px;height:40px;border-radius:10px;
    border:1.5px solid var(--line-strong);background:var(--surface);color:var(--ink);
    font-size:17px;cursor:pointer;display:flex;align-items:center;justify-content:center;
    -webkit-tap-highlight-color:transparent;
  }
  .notif-badge{
    position:absolute;top:-5px;right:-5px;min-width:17px;height:17px;padding:0 4px;
    border-radius:999px;background:#c0392b;color:#fff;font-size:10px;font-weight:700;
    display:flex;align-items:center;justify-content:center;line-height:1;box-shadow:0 0 0 2px var(--surface);
  }
  .notif-panel{
    display:none;position:fixed;top:64px;right:16px;z-index:70;
    width:min(320px, calc(100vw - 32px));max-height:60vh;overflow-y:auto;
    background:var(--surface);border:1.5px solid var(--line-strong);border-radius:14px;
    box-shadow:0 10px 30px rgba(43,38,32,0.18);
  }
  .notif-panel.show{display:block;}
  .notif-empty{padding:20px 16px;font-size:13px;color:var(--ink-soft);text-align:center;}
  .notif-item{padding:12px 16px;border-bottom:1px solid var(--line);}
  .notif-item:last-child{border-bottom:none;}
  .notif-item.unread{background:rgba(192,57,43,0.06);}
  .notif-item-main{font-size:13.5px;color:var(--ink);line-height:1.5;}
  .notif-item-sub{margin-top:3px;font-size:11.5px;color:var(--ink-soft);}
  .notif-push-row{
    display:block;width:100%;box-sizing:border-box;padding:11px 16px;border-top:1px solid var(--line);
    font-size:12px;text-align:center;
  }
  .notif-push-note{color:var(--ink-soft);background:none;}
  .notif-push-btn{
    background:var(--ink);color:var(--surface);border:none;font-weight:700;cursor:pointer;border-radius:0 0 12px 12px;
  }
  .notif-push-btn:disabled{opacity:.6;cursor:default;}

  .drawer-overlay{
    display:none;position:fixed;inset:0;background:rgba(43,38,32,0.35);z-index:60;
  }
  .drawer-overlay.open{display:block;}
  .admin-drawer{
    position:fixed;top:0;left:0;bottom:0;width:280px;max-width:82vw;
    background:var(--surface);z-index:61;box-shadow:6px 0 24px rgba(43,38,32,0.18);
    padding:24px 18px;transform:translateX(-100%);transition:transform .25s ease;
    overflow-y:auto;
  }
  .admin-drawer.open{transform:translateX(0);}
  .drawer-close-btn{
    display:none;border:none;background:var(--surface-alt);color:var(--ink-soft);
    width:30px;height:30px;border-radius:8px;font-size:14px;cursor:pointer;
    position:absolute;top:16px;right:16px;align-items:center;justify-content:center;
  }
  .drawer-eyebrow{font-size:10.5px;letter-spacing:.08em;color:var(--ink-soft);font-weight:700;margin-bottom:8px;}
  .drawer-title{font-family:'Gowun Batang',serif;font-size:19px;font-weight:700;margin-bottom:6px;line-height:1.35;}
  .drawer-sub{font-size:12px;color:var(--ink-soft);margin-bottom:22px;line-height:1.55;}
  .drawer-menu{display:flex;flex-direction:column;gap:2px;}
  .drawer-item{
    display:block;width:100%;text-align:left;padding:12px 12px;border-radius:10px;
    border:none;background:none;font-size:14.5px;font-weight:700;color:var(--ink);
    cursor:pointer;text-decoration:none;box-sizing:border-box;
  }
  .drawer-item.active{background:var(--doran-wash);color:var(--doran);}
  .drawer-divider{height:1px;background:var(--line);margin:14px 0;}

  .fab-sync-btn{
    display:none;position:fixed;right:16px;bottom:20px;z-index:40;
    flex-direction:column;align-items:center;gap:1px;
    width:58px;height:58px;border-radius:50%;border:none;
    background:var(--ink);color:var(--surface);font-size:17px;font-weight:700;
    box-shadow:0 6px 16px rgba(43,38,32,0.28);cursor:pointer;
  }
  .fab-sync-btn.visible{display:flex;}
  .fab-sync-btn span{font-size:9px;font-weight:600;}
  .fab-sync-btn:disabled{opacity:.6;}
  .fab-sync-btn .spinner{width:20px;height:20px;border-width:2.5px;margin-right:0;border-color:rgba(255,255,255,0.35);border-top-color:var(--surface);}

  .supply-type-tabs{display:flex;gap:6px;margin-bottom:12px;flex-wrap:wrap;}
  .supply-type-tab{
    flex:1;min-width:110px;border:1px solid var(--line-strong);background:var(--surface);
    color:var(--ink-soft);padding:9px 10px;border-radius:10px;font-size:12.5px;font-weight:700;cursor:pointer;
  }
  .supply-type-tab.active{background:var(--ink);color:var(--surface);border-color:var(--ink);}
  .supply-table-type-sel{width:auto;min-width:64px;}

  .supply-status{
    flex-shrink:0;border:none;padding:5px 12px;border-radius:99px;font-size:12px;font-weight:700;cursor:pointer;
  }
  .supply-status.ok{background:rgba(47,106,69,0.14);color:var(--ok);}
  .supply-status.low{background:rgba(200,154,68,0.18);color:var(--yun-glint);}
  .supply-status.out{background:rgba(196,68,58,0.14);color:var(--danger);}

  .supply-table-wrap{overflow:auto;max-height:calc(100vh - 300px);min-height:120px;margin-bottom:10px;-webkit-overflow-scrolling:touch;}
  .supply-table{border-collapse:collapse;width:100%;min-width:640px;font-size:13px;table-layout:fixed;}
  .supply-table th{
    text-align:left;font-size:11.5px;font-weight:700;color:var(--ink-soft);
    padding:8px;border-bottom:1.5px solid var(--line-strong);white-space:nowrap;
    position:sticky;top:0;z-index:2;background:var(--surface);
  }
  .supply-table td{padding:8px;border-bottom:1px solid var(--line);vertical-align:middle;box-sizing:border-box;}
  .supply-table tr:last-child td{border-bottom:none;}
  .supply-table-name{font-weight:700;}
  .supply-table-note{color:var(--ink-soft);max-width:220px;white-space:normal;word-break:break-word;line-height:1.5;}
  .supply-table-actions{display:flex;align-items:center;gap:6px;white-space:nowrap;}
  .supply-table-input{
    width:90px;padding:7px 8px;margin-bottom:0;font-size:12.5px;border-radius:8px;
    border:1px solid var(--line-strong);background:var(--surface);color:var(--ink);
    box-sizing:border-box;
  }
  .supply-table-input-narrow{width:56px;}
  select.supply-table-input{width:70px;}
  select.supply-table-cat-sel{width:100%;min-width:92px;}

  #suppliesArea{margin-top:0;}
  .supply-section{padding-top:0;}
  .supply-section .supply-table-wrap{margin-bottom:0;}

  .supply-add-row{
    display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;
  }
  .supply-add-row .supply-add-cat{flex:1 1 100px;min-width:0;}
  .supply-add-row .supply-add-name{flex:2 1 140px;min-width:0;}
  .supply-add-row .supply-add-cat,
  .supply-add-row .supply-add-name{margin-bottom:0;box-sizing:border-box;}
  .supply-add-row .supply-add-btn{
    flex:1 1 100%;order:3;
    border:none;background:var(--ink);color:var(--surface);
    padding:10px 14px;border-radius:10px;font-size:13.5px;font-weight:700;cursor:pointer;
  }
  @media (min-width:480px){
    .supply-add-row .supply-add-btn{flex:0 0 auto;order:0;}
  }

  .drawer-accordion-toggle{display:flex;align-items:center;justify-content:space-between;}
  .drawer-submenu{display:none;flex-direction:column;gap:2px;padding-left:14px;margin-top:2px;}
  .drawer-submenu.open{display:flex;}
  .drawer-subitem{font-size:13.5px;font-weight:600;color:var(--ink-soft);}
  .drawer-subitem.active{background:var(--doran-wash);color:var(--doran);}

  .eval-row{
    padding:12px;border-radius:12px;background:var(--surface-alt);border:1px solid var(--line);
    margin-bottom:10px;
  }
  .eval-row-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;}
  .eval-row-name{font-size:14px;font-weight:800;}
  .eval-avg-badge{
    font-size:11.5px;font-weight:700;color:var(--doran);background:var(--doran-wash);
    padding:3px 9px;border-radius:99px;flex-shrink:0;
  }
  .eval-avg-badge.small{margin-left:8px;font-size:10.5px;padding:2px 7px;}
  .eval-row-label{font-size:11px;font-weight:700;color:var(--ink-soft);margin-bottom:4px;}
  .eval-row-stars{margin-bottom:10px;}
  .eval-row-toggle{
    border:none;background:none;padding:0;font-size:12px;font-weight:700;color:var(--doran);
    cursor:pointer;text-decoration:underline;text-underline-offset:2px;
  }
  .eval-stats-box{
    margin-top:10px;padding:9px 11px;border-radius:9px;background:var(--surface);border:1px dashed var(--line-strong);
  }
  .eval-stats-line{font-size:12.5px;color:var(--ink);}
  .eval-remarks-box{margin-top:10px;}
  .eval-remark-item{
    margin-top:6px;padding:8px 10px;border-radius:9px;background:var(--doran-wash);border:1px solid var(--doran-soft);
  }
  .eval-remark-meta{display:flex;align-items:center;gap:6px;font-size:11.5px;color:var(--ink-soft);font-weight:700;margin-bottom:4px;}
  .eval-remark-text{font-size:12.5px;color:var(--ink);white-space:pre-wrap;}
  .eval-cats-box{margin-top:12px;}
  .eval-cat-row{margin-bottom:10px;}
  .eval-history-box{margin-top:14px;padding-top:12px;border-top:1px dashed var(--line-strong);}
  .eval-history-item{
    margin-top:8px;padding:8px 10px;border-radius:9px;background:var(--surface);border:1px solid var(--line);
  }
  .eval-history-month{font-size:12.5px;font-weight:700;margin-bottom:3px;}
  .eval-history-cats{font-size:11.5px;color:var(--ink-soft);}
  .eval-history-notes{font-size:12px;color:var(--ink);margin-top:5px;white-space:pre-wrap;}

  /* ---------- Mode tabs ---------- */
  .mode-tabs{display:flex;gap:6px;margin:18px 0 16px;}
  .mode-tab{
    flex:1;padding:11px 4px;border-radius:var(--radius-sm);
    border:1.5px solid var(--line-strong);background:var(--surface);
    font-family:'Pretendard';font-size:12.5px;font-weight:600;color:var(--ink-soft);
    cursor:pointer;transition:.15s ease;text-align:center;white-space:nowrap;
  }
  .mode-tab.active{
    background:var(--ink);color:var(--surface);border-color:var(--ink);
  }

  /* ---------- Staff picker ---------- */
  .staff-picker{
    background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
    padding:18px 16px;margin-bottom:16px;box-shadow:var(--shadow);
  }
  .staff-picker h2{font-family:'Gowun Batang',serif;font-size:16px;margin:0 0 12px;}
  .staff-chip-grid{display:flex;flex-wrap:wrap;gap:8px;}
  .staff-chip{
    padding:9px 16px;border-radius:999px;border:1.5px solid var(--line-strong);
    background:var(--surface-alt);font-size:14px;font-weight:600;cursor:pointer;color:var(--ink);
  }
  .staff-chip:active{transform:scale(.97);}
  .empty-note{font-size:13px;color:var(--ink-soft);word-break:keep-all;line-height:1.6;}

  .current-staff-bar{
    display:flex;align-items:center;justify-content:space-between;
    background:var(--surface-alt);border:1px solid var(--line);
    border-radius:var(--radius-sm);padding:10px 14px;margin-bottom:16px;font-size:13.5px;
  }
  .current-staff-bar b{font-weight:700;}
  .current-staff-bar button{
    border:none;background:none;color:var(--ink-soft);font-size:12.5px;
    text-decoration:underline;cursor:pointer;padding:4px;
  }

  /* ---------- PIN gate ---------- */
  .pin-card{
    background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
    padding:18px 16px;margin-bottom:16px;box-shadow:var(--shadow);
  }
  .pin-card h2{font-family:'Gowun Batang',serif;font-size:16px;margin:0 0 12px;}
  .pin-row{display:flex;gap:8px;}
  .pin-row input{
    flex:1;padding:11px 14px;border-radius:var(--radius-sm);border:1px solid var(--line-strong);
    font-size:16px;letter-spacing:.3em;font-family:'IBM Plex Mono',monospace;background:var(--surface-alt);
  }
  .pin-row button{
    padding:11px 18px;border-radius:var(--radius-sm);border:none;background:var(--ink);
    color:var(--surface);font-size:13.5px;font-weight:600;cursor:pointer;
  }
  .pin-error{color:var(--danger);font-size:12.5px;margin-top:8px;}

  /* ---------- Calendar ---------- */
  .cal-card{
    background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
    padding:16px 14px 18px;box-shadow:var(--shadow);margin-bottom:18px;
  }
  .cal-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;}
  .cal-stats{margin-top:14px;padding-top:12px;border-top:1px solid var(--line);}
  .cal-stats:empty{display:none;}
  .cal-stats-title{font-size:12.5px;font-weight:700;margin-bottom:8px;}
  .cal-stats-title small{font-weight:500;color:var(--ink-soft);}
  .cal-nav button{touch-action:manipulation;-webkit-tap-highlight-color:transparent;
    width:34px;height:34px;border-radius:50%;border:1px solid var(--line-strong);
    background:var(--surface-alt);font-size:16px;cursor:pointer;color:var(--ink);
  }
  .cal-title{font-family:'Gowun Batang',serif;font-size:18px;font-weight:700;}

  /* 직원 관리 / 급여 관리 탭 전용 월 이동 (청소 일정 달력과 독립적으로 움직임) */
  .panel-month-nav{
    display:flex;align-items:center;justify-content:space-between;
    background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
    padding:10px 12px;margin-bottom:14px;box-shadow:var(--shadow);
  }
  .panel-month-nav button{
    width:34px;height:34px;border-radius:50%;border:1px solid var(--line-strong);
    background:var(--surface-alt);font-size:16px;cursor:pointer;color:var(--ink);flex-shrink:0;
  }
  .panel-month-nav-label{font-family:'Gowun Batang',serif;font-size:17px;font-weight:700;}
  .legend{display:flex;gap:14px;font-size:11.5px;color:var(--ink-soft);margin-bottom:12px;flex-wrap:wrap;}
  .legend span{display:inline-flex;align-items:center;gap:5px;}
  .legend i{width:9px;height:9px;border-radius:50%;display:inline-block;}

  .weekdays{display:grid;grid-template-columns:repeat(7,1fr);margin-bottom:4px;}
  .weekdays div{
    text-align:center;font-size:11px;color:var(--ink-soft);font-weight:600;padding:4px 0;
  }
  .weekdays div:first-child{color:var(--danger);}
  .weekdays div:last-child{color:var(--yun);}

  .day-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;}
  .day-cell{
    position:relative;aspect-ratio:1/1.02;border-radius:9px;min-width:0;
    background:var(--surface-alt);border:1px solid transparent;
    display:flex;flex-direction:column;align-items:center;justify-content:flex-start;
    padding-top:5px;cursor:pointer;transition:.12s ease;
  }
  .day-cell.admin-mode{
    aspect-ratio:auto;min-height:64px;align-items:stretch;padding:5px 3px 5px;gap:2px;overflow:hidden;
  }
  .day-cell.admin-mode .day-num{padding-left:3px;}
  .day-cell.blank{background:transparent;cursor:default;}
  .day-cell.today{border-color:var(--ink);}
  .day-cell:active:not(.blank){transform:scale(.94);}
  .day-num{font-family:'IBM Plex Mono',monospace;font-size:12px;font-weight:600;}
  .day-cell.sun .day-num{color:var(--danger);}
  .day-cell.sat .day-num{color:var(--yun);}
  .dots{display:flex;gap:3px;margin-top:4px;}
  .dot{width:7px;height:7px;border-radius:50%;}
  .dot.doran-need{background:var(--doran-soft);border:1.5px dashed var(--doran);}
  .dot.doran-done{background:var(--doran);}
  .dot.yun-need{background:var(--yun-soft);border:1.5px dashed var(--yun);}
  .dot.yun-done{background:var(--yun);}

  .cell-assign-tag{
    display:block;width:100%;box-sizing:border-box;min-width:0;
    font-size:9px;font-weight:700;line-height:1.5;padding:1px 3px;border-radius:5px;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  }
  .cell-assign-tag.doran{background:var(--doran);color:#fff;}
  .cell-assign-tag.yun{background:var(--yun);color:#fff;}
  .cell-assign-tag.doran.done{background:var(--doran-soft);color:var(--doran);}
  .cell-assign-tag.yun.done{background:var(--yun-soft);color:var(--yun);}
  .cell-assign-tag.empty{background:transparent;color:var(--ink-soft);
    border:1.3px dashed var(--line-strong);font-weight:600;}
  .cell-assign-tag.doran.empty{border-color:var(--doran);color:var(--doran);}
  .cell-assign-tag.yun.empty{border-color:var(--yun);color:var(--yun);}

  .checkin-dots{position:absolute;top:1px;left:6px;display:flex;gap:3px;}
  .checkin-dot{width:6px;height:6px;border-radius:50%;}
  .checkin-dot.doran{background:var(--doran);}
  .checkin-dot.yun{background:var(--yun);}

  /* ---------- Sections ---------- */
  .section{
    background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
    padding:16px;margin-bottom:16px;box-shadow:var(--shadow);
  }
  .section h2{font-family:'Gowun Batang',serif;font-size:15.5px;margin:0 0 12px;}
  .section h2 small{font-family:'Pretendard';font-weight:500;color:var(--ink-soft);font-size:12px;}

  .staff-manage-row{display:flex;gap:8px;margin-bottom:12px;}
  .staff-manage-row input{
    flex:1;padding:10px 12px;border-radius:var(--radius-sm);border:1px solid var(--line-strong);
    font-size:14px;font-family:'Pretendard';background:var(--surface-alt);
  }
  .staff-manage-row button{
    padding:10px 16px;border-radius:var(--radius-sm);border:none;background:var(--ink);
    color:var(--surface);font-size:13.5px;font-weight:600;cursor:pointer;
  }
  .staff-row-list{margin-bottom:10px;}
  .staff-row-card{
    border:1px solid var(--line);border-radius:12px;margin-bottom:10px;
    overflow:hidden;background:var(--surface-alt);
  }
  .staff-row-head{display:flex;align-items:center;gap:8px;padding:4px;}
  .staff-row-name{
    flex:1;display:flex;align-items:center;gap:8px;text-align:left;
    border:none;background:none;cursor:pointer;padding:10px 10px;
    font-weight:700;font-size:14px;color:var(--ink);
  }
  .staff-row-arrow{color:var(--ink-soft);font-size:15px;display:inline-block;}
  .staff-row-pin{
    flex-shrink:0;border:1px solid var(--line-strong);background:var(--surface);color:var(--ink-soft);
    font-size:11px;font-family:'IBM Plex Mono',monospace;padding:5px 9px;border-radius:999px;
    cursor:pointer;margin-right:6px;
  }
  .staff-row-detail{padding:2px 14px 14px;border-top:1px solid var(--line);}
  .staff-note-card{
    border:1px solid var(--line);border-radius:12px;padding:12px;background:var(--surface-alt);margin-bottom:10px;
  }
  .staff-note-head{margin-bottom:8px;}
  .staff-note-head.eval-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;}
  .mini-month-nav{display:flex;align-items:center;gap:4px;flex-shrink:0;}
  .mini-month-nav button{
    width:22px;height:22px;border-radius:50%;border:1px solid var(--line-strong);background:var(--surface);
    font-size:12px;cursor:pointer;color:var(--ink);line-height:1;padding:0;
  }
  .mini-month-nav-label{font-size:12px;font-weight:700;color:var(--ink);white-space:nowrap;}
  .staff-note-name{font-weight:700;font-size:13.5px;}
  .staff-note-save{width:auto;padding:8px 14px;}
  .eval-list{gap:8px;}
  .eval-tag{flex:1 1 28%;min-width:84px;justify-content:center;}
  .eval-tag-name{width:100%;text-align:center;padding:8px 10px;}
  .eval-star-row{display:flex;gap:4px;margin-bottom:12px;}
  .eval-note-textarea{
    width:100%;min-height:160px;padding:12px 14px;border-radius:10px;border:1px solid var(--line-strong);
    background:var(--surface);font-family:'Pretendard';font-size:13.5px;color:var(--ink);line-height:1.6;
    resize:vertical;box-sizing:border-box;margin-bottom:10px;
  }
  .eval-star{
    border:none;background:none;font-size:26px;line-height:1;padding:2px;cursor:pointer;
    color:var(--line-strong);
  }
  .eval-star.filled{color:var(--yun-glint);}
  .staff-note-log{
    margin-bottom:10px;background:var(--surface);border:1px solid var(--line);
    border-radius:10px;padding:4px 10px;
  }
  .staff-note-log-item{
    display:flex;align-items:center;gap:6px;padding:7px 0;font-size:13px;
    border-bottom:1px dashed var(--line);flex-wrap:wrap;
  }
  .staff-note-log-item:last-child{border-bottom:none;}
  .staff-note-log-text{flex:1;min-width:0;word-break:keep-all;}
  .resign-text-link{background:none;border:none;padding:4px 2px;font-size:12px;color:var(--ink-soft);text-decoration:underline;cursor:pointer;font-family:inherit;}
  .resign-text-link:active{color:var(--danger);}
  .staff-note-log-btn{
    border:none;background:var(--surface-alt);color:var(--ink-soft);
    padding:4px 9px;border-radius:7px;font-size:11px;cursor:pointer;flex-shrink:0;
  }
  .staff-note-log-btn.danger{color:var(--danger);}
  .staff-note-log-btn.save{color:var(--ok);background:var(--surface-alt);}
  .staff-note-log-editrow{display:flex;gap:6px;margin-top:6px;width:100%;}
  .staff-note-log-item .guest-input{margin-bottom:0;}

  .unassigned-row{
    display:flex;align-items:center;justify-content:space-between;gap:8px;
    padding:9px 0;border-bottom:1px solid var(--line);font-size:13.5px;
  }
  .unassigned-row:last-child{border-bottom:none;}
  .tag{
    display:inline-block;font-family:'IBM Plex Mono',monospace;font-size:11px;padding:2px 7px;border-radius:5px;color:#fff;
  }
  .tag.doran{background:var(--doran);}
  .tag.yun{background:var(--yun);}
  .unassigned-row select{
    padding:6px 8px;border-radius:8px;border:1px solid var(--line-strong);font-size:12.5px;background:var(--surface-alt);
  }
  .unassigned-row .assign-btn{
    border:none;background:var(--ink);color:var(--surface);padding:6px 12px;border-radius:8px;
    font-size:12px;font-weight:600;cursor:pointer;
  }
  .all-clear{font-size:13px;color:var(--ok);word-break:keep-all;}

  .modal-assign-row{display:flex;gap:8px;align-items:stretch;}
  .modal-other-name{width:100%;box-sizing:border-box;margin-top:8px;}
  .modal-assign-row select{
    flex:0 0 66%;min-width:0;padding:14px 34px 14px 14px;border-radius:12px;
    border:1.5px solid var(--line-strong);font-size:15px;font-weight:600;
    background-color:var(--surface-alt);color:var(--ink);
    -webkit-appearance:none;appearance:none;
    background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%232B2620" stroke-width="2.2"><path d="M6 9l6 6 6-6"/></svg>');
    background-repeat:no-repeat;background-position:right 12px center;background-size:16px;
  }
  .modal-assign-row .action-btn{
    flex:1;width:auto;min-width:0;padding:0 6px;font-size:13px;
  }

  .bar-row{margin-bottom:10px;}
  .bar-row .label{display:flex;justify-content:space-between;font-size:12.5px;margin-bottom:4px;}
  .bar-row-name{
    border:none;background:none;padding:0;font-size:12.5px;font-weight:700;color:var(--ink);
    cursor:pointer;text-decoration:underline;text-underline-offset:2px;
  }
  .bar-track{height:8px;background:var(--surface-alt);border-radius:99px;overflow:hidden;border:1px solid var(--line);}
  .bar-fill{height:100%;background:linear-gradient(90deg,var(--doran),var(--yun));border-radius:99px;}
  .bar-row-detail{
    margin-top:8px;padding:8px 10px;border-radius:9px;background:var(--surface-alt);border:1px solid var(--line);
  }
  .bar-detail-btn-row{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap;}
  .bar-detail-btn-row .action-btn{width:auto;flex:1;min-width:120px;padding:9px 10px;font-size:12.5px;}

  .payroll-card{
    border:1px solid var(--line);border-radius:12px;margin-bottom:10px;
    overflow:hidden;background:var(--surface-alt);
  }
  .payroll-card summary{
    list-style:none;cursor:pointer;padding:12px 14px;display:flex;align-items:center;gap:10px;
  }
  .payroll-card summary::-webkit-details-marker{display:none;}
  .payroll-card summary::before{
    content:'▸';color:var(--ink-soft);font-size:11px;transition:transform .15s ease;flex-shrink:0;
  }
  .payroll-card[open] summary::before{transform:rotate(90deg);}
  .payroll-name{font-weight:700;font-size:14px;flex:1;}
  .payroll-count{font-size:12px;color:var(--ink-soft);font-family:'IBM Plex Mono',monospace;}
  .payroll-net{font-family:'IBM Plex Mono',monospace;font-weight:700;font-size:13.5px;color:var(--ok);}
  .payroll-detail{padding:2px 14px 14px;border-top:1px solid var(--line);}
  .payroll-row{
    display:flex;align-items:center;gap:8px;font-size:12.5px;padding:8px 0;
    border-bottom:1px dashed var(--line);
  }
  .payroll-row:last-of-type{border-bottom:none;}
  .payroll-row-price{margin-left:auto;font-family:'IBM Plex Mono',monospace;color:var(--ink-soft);}
  .payroll-sumline{display:flex;justify-content:space-between;font-size:12.5px;padding:5px 0;color:var(--ink-soft);}
  .payroll-sumline.total{
    font-weight:700;color:var(--ink);font-size:13.5px;
    border-top:1px solid var(--line);padding-top:9px;margin-top:5px;
  }
  .payroll-grand-total{margin-top:8px;padding-top:12px;border-top:2px solid var(--ink);}
  .payroll-sumline.total.grand{font-size:14.5px;color:var(--doran);border-top:2px solid var(--ink);padding-top:10px;margin-top:6px;}

  .extra-cost-block{margin-top:10px;padding:10px;border-radius:10px;background:var(--surface);border:1px dashed var(--line-strong);}
  .extra-cost-title{font-size:12px;font-weight:700;color:var(--ink-soft);margin-bottom:6px;}
  .extra-cost-title small{font-weight:500;color:var(--ink-soft);}
  .extra-cost-row{
    display:flex;flex-direction:column;gap:4px;padding:6px 0;font-size:12.5px;
    border-bottom:1px dashed var(--line);
  }
  .extra-cost-row:last-of-type{border-bottom:none;}
  .extra-cost-row-top{display:flex;align-items:center;gap:6px;flex-wrap:wrap;}
  .extra-cost-row-bottom{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
  .extra-cost-desc{flex:1;min-width:0;word-break:keep-all;}
  .extra-cost-amount{font-family:'IBM Plex Mono',monospace;color:var(--ink-soft);flex-shrink:0;}
  .extra-cost-del{
    border:none;background:var(--surface-alt);color:var(--danger);padding:4px 9px;
    border-radius:7px;font-size:11px;cursor:pointer;flex-shrink:0;
  }
  .extra-cost-edit{
    border:none;background:var(--surface-alt);color:var(--ink-soft);padding:4px 9px;
    border-radius:7px;font-size:11px;cursor:pointer;flex-shrink:0;
  }
  .extra-cost-row.editing{flex-direction:row;flex-wrap:wrap;}
  .extra-cost-row.editing .extra-edit-desc{flex:1.4;min-width:90px;margin-bottom:0;}
  .extra-cost-row.editing .extra-edit-amount{flex:1;min-width:70px;margin-bottom:0;}
  .extra-cost-add-row{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap;}
  .extra-desc-input{flex:1.4;min-width:90px;margin-bottom:0;}
  .extra-amount-input{flex:1;min-width:70px;margin-bottom:0;}
  .extra-prop-select{flex:1;min-width:84px;margin-bottom:0;}
  .extra-tax-select{flex:1;min-width:110px;margin-bottom:0;}
  .extra-cost-row.editing .extra-edit-prop{flex:1;min-width:84px;margin-bottom:0;}
  .extra-cost-row.editing .extra-edit-tax{flex:1;min-width:110px;margin-bottom:0;}
  .extra-cost-add-btn{width:auto;padding:9px 14px;flex-shrink:0;}
  .payroll-pending-note{
    font-size:11.5px;color:var(--doran);background:var(--doran-wash);border:1px solid var(--doran-soft);
    border-radius:8px;padding:7px 10px;margin-top:10px;
  }

  .checklist-item{
    display:flex;align-items:center;gap:10px;padding:12px 4px;font-size:14px;
    border-bottom:1px solid var(--line);cursor:pointer;
  }
  .checklist-item:last-of-type{border-bottom:none;}
  .checklist-item input[type=checkbox]{width:19px;height:19px;flex-shrink:0;accent-color:var(--ink);}
  .checklist-item.checked span{color:var(--ink-soft);text-decoration:line-through;}
  .checklist-manage-row{
    display:flex;align-items:center;justify-content:space-between;gap:8px;
    padding:8px 0;border-bottom:1px solid var(--line);font-size:13px;
  }
  .checklist-manage-row:last-of-type{border-bottom:none;}

  .payroll-subgroup{margin-top:6px;padding:8px 10px;border-radius:9px;background:var(--surface);border:1px solid var(--line);}
  .payroll-subgroup-title{font-size:12px;font-weight:700;margin-bottom:3px;}
  .payroll-subgroup-title.doran{color:var(--doran);}
  .payroll-subgroup-title.yun{color:var(--yun);}
  .payroll-sumline.sub-total{font-weight:700;color:var(--ink);}

  .diag-prop-title{font-size:12.5px;font-weight:700;margin:10px 0 4px;}
  .diag-prop-title.doran{color:var(--doran);}
  .diag-prop-title.yun{color:var(--yun);}
  .diag-row{display:flex;align-items:center;gap:8px;font-size:12.5px;padding:5px 0;}
  .diag-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0;}
  .diag-row.ok .diag-dot{background:var(--ok);}
  .diag-row.fail .diag-dot{background:var(--danger);}
  .diag-platform{font-weight:600;width:72px;flex-shrink:0;}
  .diag-status{color:var(--ink-soft);font-family:'IBM Plex Mono',monospace;font-size:11.5px;}
  .diag-row.fail .diag-status{color:var(--danger);}
  .diag-res-details{margin:2px 0 8px 16px;}
  .diag-res-details summary{
    font-size:11.5px;color:var(--ink-soft);cursor:pointer;text-decoration:underline;text-underline-offset:2px;
  }
  .diag-res-row{
    font-family:'IBM Plex Mono',monospace;font-size:11px;color:var(--ink);
    padding:3px 0;border-bottom:1px dashed var(--line);
  }
  .diag-res-row:last-child{border-bottom:none;}

  .note-block{margin-top:4px;padding-top:14px;border-top:1px solid var(--line);}
  .note-title{font-family:'Gowun Batang',serif;font-size:14px;font-weight:700;margin-bottom:8px;}
  .note-textarea{
    width:100%;min-height:76px;padding:10px 12px;border-radius:10px;border:1px solid var(--line-strong);
    background:var(--surface-alt);font-family:'Pretendard';font-size:13.5px;color:var(--ink);
    resize:vertical;box-sizing:border-box;
  }
  .note-save-row{margin-top:8px;}
  .note-readonly{
    font-size:13.5px;color:var(--ink);line-height:1.6;background:var(--surface-alt);
    border:1px solid var(--line);border-radius:10px;padding:10px 12px;white-space:pre-wrap;word-break:keep-all;
  }
  .note-indicator{
    position:absolute;top:1px;right:6px;width:6px;height:6px;border-radius:50%;
    background:var(--yun-glint);
  }

  .guest-form{margin-top:12px;padding-top:12px;border-top:1px dashed var(--line-strong);}
  .guest-form-title{font-size:12.5px;font-weight:700;color:var(--ink-soft);margin-bottom:8px;}
  .guest-quick-box{
    margin-bottom:12px;padding:10px;border-radius:10px;background:var(--surface-alt);
    border:1px dashed var(--line-strong);
  }
  .guest-quick-title{font-size:12px;font-weight:700;margin-bottom:4px;}
  .guest-quick-input{min-height:60px;margin-bottom:8px;}
  .guest-field-label{font-size:11.5px;color:var(--ink-soft);margin-bottom:4px;}
  .guest-input{
    width:100%;padding:9px 11px;border-radius:9px;border:1px solid var(--line-strong);
    background:var(--surface);font-family:'Pretendard';font-size:13px;color:var(--ink);
    box-sizing:border-box;margin-bottom:7px;
  }
  .guest-row-2{display:flex;gap:7px;}
  .guest-row-2 .guest-input{width:50%;}
  .guest-input-date{width:auto;max-width:100%;min-width:0;box-sizing:border-box;}
  .guest-textarea{
    width:100%;min-height:60px;padding:9px 11px;border-radius:9px;border:1px solid var(--line-strong);
    background:var(--surface);font-family:'Pretendard';font-size:13px;color:var(--ink);
    resize:vertical;box-sizing:border-box;margin-bottom:8px;
  }

  .my-info-toggle{
    background:none;border:none;padding:0;font-family:'Pretendard';font-weight:700;
    font-size:13.5px;color:var(--ink);cursor:pointer;text-decoration:underline;text-underline-offset:2px;
  }
  .my-info-section{margin-top:12px;}
  .my-info-week-nav{
    display:flex;align-items:center;justify-content:space-between;gap:8px;
    margin-bottom:10px;
  }
  .my-info-week-nav-btn{
    flex-shrink:0;border:1px solid var(--line-strong);background:var(--surface);color:var(--ink);
    padding:8px 12px;border-radius:9px;font-size:12.5px;font-weight:700;cursor:pointer;
  }
  .my-info-week-nav-btn:disabled{opacity:.4;cursor:default;}
  .my-info-week-label{
    flex:1;text-align:center;font-size:13.5px;font-weight:700;color:var(--ink);
    overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  }
  .my-info-week-today-btn{
    display:block;width:100%;margin-bottom:10px;border:1px dashed var(--line-strong);
    background:var(--surface-alt);color:var(--ink-soft);padding:8px 12px;border-radius:9px;
    font-size:12.5px;font-weight:600;cursor:pointer;
  }
  .my-info-card{
    border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin-bottom:10px;
    background:var(--surface);
  }
  .my-info-card.done{
    background:var(--surface-alt);border-color:var(--ok);opacity:.72;
  }
  .my-info-done-badge{
    margin-left:auto;font-size:11px;font-weight:700;color:var(--ok);
    background:rgba(47,106,69,0.12);padding:3px 8px;border-radius:99px;flex-shrink:0;
  }
  .my-info-new-badge{
    margin-left:auto;font-size:11px;font-weight:800;color:#fff;
    background:var(--danger);padding:3px 9px;border-radius:99px;flex-shrink:0;letter-spacing:.03em;
  }
  .my-info-head{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:13px;font-weight:700;}
  .my-info-row{margin-bottom:8px;}
  .my-info-line{
    display:flex;align-items:baseline;flex-wrap:wrap;gap:18px;
    font-size:12.5px;padding:3px 0;
  }
  .my-info-pair{display:flex;align-items:baseline;gap:4px;}
  .my-info-label{color:var(--ink-soft);flex-shrink:0;}
  .my-info-label::after{content:'·';margin-left:4px;}
  .my-info-value{font-weight:700;color:var(--ink);}
  .my-info-welcome{
    font-size:12.5px;color:var(--ink);line-height:1.6;background:var(--surface-alt);
    border-radius:8px;padding:9px 10px;white-space:pre-wrap;word-break:keep-all;margin-top:4px;
  }
  .my-info-welcome-title{font-size:11px;font-weight:700;color:var(--ink-soft);margin-bottom:3px;white-space:normal;}
  .my-info-staffnote{
    margin-top:8px;font-size:12.5px;color:var(--ink);line-height:1.6;
    background:var(--doran-wash);border:1px solid var(--doran-soft);border-radius:8px;
    padding:9px 10px;white-space:pre-wrap;word-break:keep-all;
  }
  .my-info-staffnote-title{font-size:11px;font-weight:700;color:var(--doran);margin-bottom:3px;}
  .guest-staff-note{border-color:var(--doran);}

  .note-image-wrap{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0;}
  .note-image-thumb{
    position:relative;width:76px;height:76px;border-radius:10px;overflow:hidden;
    border:1px solid var(--line-strong);flex-shrink:0;background:var(--surface-alt);
  }
  .note-image-thumb img{width:100%;height:100%;object-fit:cover;cursor:pointer;display:block;}
  .note-image-del{
    position:absolute;top:3px;right:3px;width:20px;height:20px;border-radius:50%;
    border:none;background:rgba(43,38,32,0.65);color:#fff;font-size:13px;line-height:1;
    cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;
  }
  .note-image-add-row{margin-bottom:7px;}
  .note-image-add-btn{
    border:1px dashed var(--line-strong);background:var(--surface-alt);color:var(--ink-soft);
    padding:8px 12px;border-radius:9px;font-size:12.5px;font-weight:600;cursor:pointer;
  }
  .note-image-add-btn:disabled{opacity:.6;cursor:default;}

  footer{text-align:center;font-size:11.5px;color:var(--ink-soft);padding:10px 20px 0;word-break:keep-all;line-height:1.7;}

  /* ---------- Modal ---------- */
  .modal-backdrop{
    position:fixed;inset:0;background:rgba(43,38,32,.45);display:none;
    align-items:flex-end;justify-content:center;z-index:50;
  }
  .modal-backdrop.open{display:flex;}
  .modal{
    background:var(--surface);width:100%;max-width:640px;border-radius:20px 20px 0 0;
    padding:20px 18px 26px;animation:slideUp .18s ease-out;max-height:82vh;overflow-y:auto;
  }
  @keyframes slideUp{from{transform:translateY(24px);opacity:0;}to{transform:translateY(0);opacity:1;}}
  .modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;}
  .modal-head h3{font-family:'Gowun Batang',serif;font-size:18px;margin:0;}
  .modal-head button{border:none;background:var(--surface-alt);width:30px;height:30px;border-radius:50%;font-size:15px;cursor:pointer;}

  /* ---------- 급여 명세서 ---------- */
  .payslip-modal{max-width:520px;}
  /* PDF로 캡처할 때 오른쪽/아래쪽 테두리 선이 캔버스 경계에 딱 붙어서 잘려 보이지 않도록
     캡처 대상 바깥쪽에 약간의 여유 공간을 둡니다. */
  #payslipExportWrap{padding:6px;}
  .payslip-picker-row{display:flex;gap:8px;margin-bottom:14px;flex-wrap:wrap;}
  .payslip-picker-row select{flex:1;min-width:120px;margin-bottom:0;}
  .payslip-picker-row .action-btn{flex-shrink:0;}

  .payslip-doc{
    background:#FFFDF8;color:#2B2620;border:1px solid #DCD1B8;border-radius:14px;
    padding:22px 18px;font-size:13px;line-height:1.6;
  }
  .payslip-doc-header{text-align:center;margin-bottom:14px;padding-bottom:14px;border-bottom:2px solid #2B2620;break-inside:avoid;page-break-inside:avoid;}
  .payslip-doc-title{font-family:'Gowun Batang',serif;font-size:20px;font-weight:700;}
  .payslip-doc-sub{font-size:12px;color:#6b6355;margin-top:3px;}
  .payslip-doc-meta{margin-bottom:14px;break-inside:avoid;page-break-inside:avoid;}
  .payslip-doc-meta div{display:flex;justify-content:space-between;padding:3px 0;}
  .payslip-doc-meta span:first-child{color:#6b6355;}
  .payslip-doc-meta span:last-child{font-weight:700;}
  .payslip-pending-note{
    font-size:11.5px;color:#B5552A;background:rgba(181,85,42,0.1);border:1px solid rgba(181,85,42,0.3);
    border-radius:8px;padding:7px 10px;margin-bottom:12px;break-inside:avoid;page-break-inside:avoid;
  }
  .payslip-prop-block{border:1px solid #DCD1B8;border-radius:10px;padding:12px;margin-bottom:10px;break-inside:avoid;page-break-inside:avoid;}
  .payslip-prop-title{font-weight:700;font-size:13.5px;margin-bottom:8px;}
  .payslip-prop-title.doran{color:#B5552A;}
  .payslip-prop-title.yun{color:#136B70;}
  .payslip-prop-title small{font-weight:500;color:#6b6355;margin-left:4px;}
  .payslip-entry-list{margin-bottom:8px;padding-bottom:8px;border-bottom:1px dashed #DCD1B8;}
  .payslip-entry-row{display:flex;justify-content:space-between;font-size:12px;color:#6b6355;padding:2px 0;}
  .payslip-line{display:flex;justify-content:space-between;padding:3px 0;}
  .payslip-line.strong{font-weight:700;border-top:1px solid #DCD1B8;padding-top:6px;margin-top:3px;}
  .payslip-extra-detail{border:1px dashed #DCD1B8;border-radius:10px;padding:12px;margin-bottom:10px;break-inside:avoid;page-break-inside:avoid;}
  .payslip-extra-detail-title{font-weight:700;font-size:12.5px;margin-bottom:6px;color:#6b6355;}
  .payslip-total-box{border-top:2px solid #2B2620;padding-top:10px;margin-top:6px;break-inside:avoid;page-break-inside:avoid;}
  .payslip-line.grand{font-weight:700;font-size:15px;color:#B5552A;border-top:1px solid #DCD1B8;padding-top:8px;margin-top:4px;}
  .payslip-doc-closing{
    text-align:center;font-size:13.5px;color:#6b6355;margin-top:14px;
    break-inside:avoid;page-break-inside:avoid;
  }

  .prop-block{border:1px solid var(--line);border-radius:14px;padding:14px;margin-bottom:10px;}
  .prop-block.doran{background:var(--doran-wash);border-color:var(--doran-soft);}
  .prop-block.yun{background:var(--yun-wash);border-color:var(--yun-soft);}
  .prop-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;}
  .prop-name{font-weight:700;font-size:14.5px;}
  .prop-name.doran{color:var(--doran);}
  .prop-name.yun{color:var(--yun);}

  .toggle{
    position:relative;width:51px;height:31px;border-radius:99px;background:var(--line-strong);
    cursor:pointer;flex-shrink:0;touch-action:pan-y;user-select:none;
    transition:background .2s ease;
  }
  .toggle.on{background:var(--ok);}
  .toggle .knob{
    position:absolute;top:2px;left:2px;width:27px;height:27px;border-radius:50%;
    background:#fff;
    transition:transform .28s cubic-bezier(0.34,1.35,0.64,1), width .18s ease, left .18s ease;
    box-shadow:0 3px 8px rgba(43,38,32,0.2), 0 1px 2px rgba(43,38,32,0.12);
  }
  .toggle.on .knob{transform:translateX(20px);}
  .toggle.pressed .knob{width:33px;}
  .toggle.pressed.on .knob{transform:translateX(14px);}
  .toggle.dragging .knob{transition:none;}
  .toggle.on.disabled{background:var(--ok);}
  .toggle.disabled{cursor:default;opacity:.85;}

  .done-box{
    margin-top:12px;padding:12px;border-radius:12px;background:var(--surface);
    border:1.5px solid var(--line-strong);
  }
  .done-box.done{border-color:var(--ok);background:var(--surface);}
  .done-row{display:flex;align-items:center;justify-content:space-between;gap:10px;}
  .done-label{font-size:13.5px;font-weight:700;}
  .done-meta{font-size:11.5px;color:var(--ink-soft);margin-top:6px;}

  .staff-remark-box{margin-top:10px;padding:12px;border-radius:12px;background:var(--surface);border:1.5px solid var(--line-strong);}
  .staff-remark-title{font-size:13px;font-weight:700;margin-bottom:8px;}
  .staff-remark-textarea{
    width:100%;min-height:70px;padding:10px 12px;border-radius:10px;border:1px solid var(--line-strong);
    background:var(--surface-alt);font-family:'Pretendard';font-size:13px;color:var(--ink);
    resize:vertical;box-sizing:border-box;margin-bottom:8px;
  }

  .status-line{font-size:13px;color:var(--ink-soft);margin-bottom:10px;word-break:keep-all;}

  .seal{
    display:inline-flex;align-items:center;gap:6px;font-family:'IBM Plex Mono',monospace;
    font-size:12.5px;font-weight:600;padding:6px 12px;border-radius:99px;
    animation:stampPress .22s ease-out;
  }
  @keyframes stampPress{
    from{transform:scale(1.5) rotate(-6deg);opacity:0;}
    to{transform:scale(1) rotate(-2deg);opacity:1;}
  }
  .seal.doran{background:var(--doran);color:#fff;}
  .seal.yun{background:var(--yun);color:#fff;}

  .action-btn{
    width:100%;padding:11px;border-radius:10px;border:none;font-size:13.5px;font-weight:600;cursor:pointer;
  }
  .action-btn.claim{background:var(--ink);color:var(--surface);}
  .action-btn.release{background:transparent;color:var(--danger);border:1px solid var(--danger);}
  .action-btn[disabled]{opacity:.45;cursor:default;}

  .toast{
    position:fixed;bottom:22px;left:50%;transform:translateX(-50%);
    background:var(--ink);color:var(--surface);padding:11px 18px;border-radius:99px;
    font-size:13px;box-shadow:var(--shadow);z-index:60;opacity:0;pointer-events:none;transition:.2s ease;
    max-width:88%;text-align:center;
  }
  .toast.show{opacity:1;transform:translate(-50%,-6px);}

  .spinner{
    display:inline-block;width:14px;height:14px;border-radius:50%;
    border:2px solid var(--line-strong);border-top-color:var(--ink);
    animation:spin .7s linear infinite;vertical-align:-2px;margin-right:6px;
  }
  @keyframes spin{to{transform:rotate(360deg);}}

  @media (prefers-reduced-motion: reduce){
    .modal{animation:none;} .seal{animation:none;} .spinner{animation:none;}
  }

  /* PC(넓은 화면)에서는 드로어를 기본으로 열어두고, 오버레이 없이 옆에 고정해서 보여줍니다.
     .admin-drawer에 closed 클래스가 붙으면 접을 수 있습니다. */
  @media (min-width: 768px){
    .admin-drawer{box-shadow:none;border-right:1px solid var(--line-strong);}
    .admin-drawer:not(.closed){transform:translateX(0);}
    .drawer-overlay.open{display:none;}
    .drawer-close-btn{display:flex;}
  }

.notif-item-link{cursor:pointer;}
.notif-item-link:active{background:var(--surface-alt);}
.my-info-card.peek-highlight{outline:2px solid var(--accent, #3b82f6);outline-offset:2px;}

  .res-stat-row{display:flex;gap:8px;}
  .res-stat{flex:1;min-width:0;text-align:center;padding:10px 4px;border-radius:10px;background:var(--surface-alt);}
  .res-stat-num{font-family:'IBM Plex Mono',monospace;font-size:20px;font-weight:700;}
  .res-stat-num small{font-size:11px;font-weight:600;margin-left:2px;}
  .res-stat-label{font-size:11.5px;color:var(--ink-soft);margin-top:2px;font-weight:600;}
  .res-stat.doran .res-stat-num{color:var(--doran);}
  .res-stat.yun .res-stat-num{color:var(--yun);}

  /* ---------- 숙소 가격 탭 ---------- */
  .pricing-section .guest-input{margin-bottom:0;}
  .pricing-prop-block{margin-bottom:14px;}
  .pricing-prop-title{font-weight:700;font-size:13.5px;margin-bottom:8px;}
  .pricing-prop-title small{font-weight:500;color:var(--ink-soft);font-size:11.5px;}
  .pricing-prop-title.doran{color:var(--doran);}
  .pricing-prop-title.yun{color:var(--yun);}
  .pricing-rate-grid,.pricing-policy-grid,.pricing-fee-grid{display:grid;gap:8px;grid-template-columns:repeat(3,minmax(0,1fr));}
  .pricing-policy-grid,.pricing-fee-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  @media (min-width:560px){.pricing-policy-grid,.pricing-fee-grid{grid-template-columns:repeat(4,minmax(0,1fr));}}
  .pricing-rate-cell{display:flex;flex-direction:column;gap:4px;font-size:11.5px;color:var(--ink-soft);font-weight:600;min-width:0;}
  .pricing-rate-cell .guest-input{width:100%;min-width:0;}
  .pricing-hint{margin-top:6px;font-size:12px;}
  .pricing-sub-title{font-size:12.5px;font-weight:700;margin:14px 0 8px;}
  .pricing-sub-title small{font-weight:500;color:var(--ink-soft);}
  .pricing-note-input{margin:8px 0 10px;width:100%;}
  .pricing-chips{display:flex;gap:6px;flex-wrap:wrap;}
  .pricing-chip{width:38px;height:34px;border-radius:9px;border:1px solid var(--line-strong);background:var(--surface);color:var(--ink-soft);font-weight:700;cursor:pointer;font-family:inherit;}
  .pricing-chip.on{background:var(--ink);color:var(--surface);border-color:var(--ink);}
  .pricing-section .action-btn{width:auto;min-width:96px;padding:10px 16px;}
  .pricing-lookup-row{margin-bottom:10px;}
  .pricing-lookup-row .guest-input{width:100%;}
  .pricing-lookup-head{font-size:13px;margin-bottom:8px;}
  .pricing-lookup-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:7px 0;border-top:1px solid var(--line);}
  .pricing-lookup-price{font-family:'IBM Plex Mono',monospace;font-weight:700;font-size:15px;}
  .pricing-lookup-line small{color:var(--ink-soft);font-size:11.5px;}
  .pricing-season-badge{font-size:11px;font-weight:700;background:var(--surface-alt);border-radius:99px;padding:2px 8px;color:var(--ink-soft);}
  .pricing-tag-all{background:var(--ink);color:var(--surface);}
  .pricing-list-row{display:flex;align-items:center;gap:8px;padding:9px 0;border-top:1px solid var(--line);}
  .pricing-list-info{flex:1;min-width:0;font-size:13px;word-break:keep-all;}
  .pricing-list-sub{font-size:11.8px;color:var(--ink-soft);margin-top:3px;line-height:1.5;}
  .pricing-form{margin-top:12px;padding-top:4px;border-top:1px dashed var(--line-strong);}
  .pricing-form>.guest-input{width:100%;margin-top:8px;}
  .pricing-form-row{display:flex;gap:8px;margin-top:8px;}
  .pricing-form-row>*{flex:1;min-width:0;}
  .pricing-form-row-3>*{flex:1 1 0;}
  .pricing-form-row .pricing-inline-btn{flex:0 0 auto;}
  .pricing-btn-row{display:flex;gap:8px;margin-top:10px;}
  .pricing-holiday-list{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:6px;}
  .pricing-holiday-chip{display:inline-flex;align-items:center;gap:6px;background:var(--surface-alt);border-radius:99px;padding:5px 6px 5px 11px;font-size:12px;}
  .pricing-holiday-chip button{border:none;background:none;color:var(--ink-soft);cursor:pointer;font-size:11px;padding:2px 4px;}
  .pricing-load-btn{margin-top:10px;}
  .pricing-cost-row{display:flex;align-items:flex-end;gap:8px;margin:10px 0;}
  .pricing-cost-row .pricing-rate-cell{flex:1;}
  .pricing-margin-box{margin-top:16px;}
  .pricing-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;}
  .pricing-table{border-collapse:collapse;width:100%;font-size:12.5px;min-width:420px;}
  .pricing-table th,.pricing-table td{padding:7px 6px;border-bottom:1px solid var(--line);text-align:right;white-space:nowrap;}
  .pricing-table thead th{font-size:11.5px;color:var(--ink-soft);font-weight:700;}
  .pricing-table tbody th{text-align:left;font-weight:700;}
  .pricing-table small{display:block;font-size:10.5px;color:var(--ink-soft);font-weight:500;}
  .pricing-muted{color:var(--ink-soft);text-align:left !important;}
  .pricing-neg{color:var(--danger);font-weight:700;}
  .pricing-up{color:var(--doran);font-weight:700;}
  .pricing-down{color:var(--yun);font-weight:700;}
  .pricing-stale{font-size:10.5px;font-weight:700;color:var(--danger);}
  .pricing-breakeven{margin-top:16px;}
  .pricing-plat-sel{width:auto !important;margin-bottom:8px !important;}
  .pricing-be-line{display:flex;gap:8px;align-items:flex-start;font-size:12.5px;line-height:1.6;padding:5px 0;}
  .pricing-history-item{padding:9px 0;border-top:1px solid var(--line);font-size:13px;}
  .pricing-history-top{display:flex;align-items:center;gap:6px;flex-wrap:wrap;}
  .pricing-history-kind{font-size:10.5px;font-weight:700;background:var(--surface-alt);border-radius:6px;padding:2px 6px;color:var(--ink-soft);}
  .pricing-history-when{margin-left:auto;font-size:11px;color:var(--ink-soft);font-family:'IBM Plex Mono',monospace;}
  .pricing-history-change{margin-top:4px;font-size:12.5px;}
  .pricing-review-list{margin:0 0 6px;padding-left:18px;font-size:12.8px;line-height:1.7;word-break:keep-all;}
  .pricing-review-list.done li::marker{content:'✓ ';color:var(--ok);}
