:root{--ink:#18212f;--muted:#6b7482;--line:#e4e8ee;--blue:#175cd3;--green:#11845b;--soft:#f4f7fb;--orange:#d66b0a}*{box-sizing:border-box}body{margin:0;background:#f5f7fa;color:var(--ink);font:16px/1.5 -apple-system,BlinkMacSystemFont,"Pretendard","Noto Sans KR",sans-serif}.topbar{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100% - 1180px)/2));position:sticky;top:0;z-index:10}.brand{display:flex;gap:12px;align-items:center;color:var(--ink);text-decoration:none;font-weight:800}.brand small{display:block;font-size:11px;color:var(--muted);font-weight:500}.brand-mark{width:38px;height:38px;border-radius:11px;background:linear-gradient(145deg,#174ea6,#2f80ed);color:white;display:grid;place-items:center}.user,.user form{display:flex;align-items:center;gap:12px}.link{border:0;background:none;color:var(--muted);cursor:pointer}.shell{width:min(1180px,calc(100% - 40px));margin:38px auto 100px}.hero,.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}.eyebrow{font-size:13px;font-weight:800;letter-spacing:.08em;color:var(--blue);text-transform:uppercase}h1{font-size:clamp(30px,4vw,46px);line-height:1.15;margin:8px 0}h2{margin:34px 0 16px;font-size:22px}p{color:var(--muted)}.primary,.next-actions a{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:12px;background:var(--blue);color:#fff;text-decoration:none;font-weight:800;padding:13px 20px;cursor:pointer}.primary.big{padding:17px 24px;font-size:17px}.primary.full{width:100%}.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.kpis article{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px}.kpis span,.kpis small{display:block;color:var(--muted)}.kpis strong{display:block;font-size:28px;margin:8px 0}.kpis .warn{border-left:4px solid var(--orange)}.menu-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.menu-grid a{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;color:var(--ink);text-decoration:none;display:grid;grid-template-columns:52px 1fr;column-gap:14px;align-items:center;transition:.2s}.menu-grid a:hover{border-color:#9bbcf1;transform:translateY(-2px);box-shadow:0 10px 24px #1b3b6b12}.menu-grid b{grid-row:1/3;width:52px;height:52px;border-radius:15px;background:#edf4ff;color:var(--blue);display:grid;place-items:center;font-size:25px}.menu-grid span{font-weight:800;font-size:18px}.menu-grid small{color:var(--muted)}.section-head{display:flex;align-items:center;justify-content:space-between}.section-head a{color:var(--blue)}.doc-list{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden}.doc-list>a{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;color:var(--ink);text-decoration:none;border-bottom:1px solid var(--line)}.doc-list>a:last-child{border:0}.doc-list small{display:block;color:var(--muted);margin-top:3px}.steps{padding:10px 16px;border-radius:99px;background:#e9f1ff;color:var(--blue);font-weight:700;font-size:13px}.wizard{width:min(760px,100%);display:grid;gap:14px}.field-card{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid var(--line);padding:17px;border-radius:16px}.field-card i{font-style:normal;background:var(--blue);color:#fff;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-weight:800}.field-card label{width:100%;font-weight:800}.field-card select,.field-card input,.stack input{display:block;width:100%;margin-top:7px;border:1px solid #cbd3df;border-radius:10px;padding:13px;font:inherit;background:#fff}.field-card.optional span{color:var(--muted);font-size:12px}.two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.helper,.notice,.empty{padding:18px;border-radius:14px;background:#eaf4ff;color:#24558f}.notice.error{background:#fff0ef;color:#a82d25}.empty{background:#fff;border:1px dashed #bac4d1;text-align:center;padding:55px;color:var(--muted)}.empty a{color:var(--blue)}.paper{background:#fff;border:1px solid var(--line);border-radius:18px;padding:34px}.paper-head{display:flex;justify-content:space-between}.table{margin:30px 0;border-top:2px solid var(--ink)}.tr{display:grid;grid-template-columns:2fr repeat(3,1fr);padding:12px;border-bottom:1px solid var(--line)}.th{font-weight:800;background:var(--soft)}.totals{display:flex;justify-content:flex-end;gap:20px}.next-actions{display:flex;gap:10px;margin-top:18px;flex-wrap:wrap}.next-actions a:not(.primary){background:#fff;color:var(--ink);border:1px solid var(--line)}.actions{display:flex;gap:8px}.actions button{padding:10px 14px;border:1px solid var(--line);background:#fff;border-radius:10px}.login-card{width:min(440px,100%);margin:9vh auto;background:#fff;border:1px solid var(--line);border-radius:22px;padding:38px}.stack{display:grid;gap:18px}.stack label{font-weight:700}.mobile-nav{display:none}
@media(max-width:760px){.topbar{height:62px;padding:0 18px}.user{font-size:0}.shell{width:calc(100% - 28px);margin-top:24px}.hero,.page-head{align-items:flex-start;flex-direction:column}.hero .primary{width:100%}.kpis{grid-template-columns:1fr 1fr}.kpis article{padding:17px}.kpis strong{font-size:22px}.menu-grid{grid-template-columns:1fr 1fr}.menu-grid a{grid-template-columns:40px 1fr;padding:15px}.menu-grid b{width:40px;height:40px;font-size:20px}.menu-grid span{font-size:15px}.menu-grid small{display:none}.two{grid-template-columns:1fr}.steps{white-space:nowrap;overflow:auto;max-width:100%}.paper{padding:18px;overflow:auto}.paper-head,.totals{flex-direction:column}.table{min-width:550px}.mobile-nav{position:fixed;display:flex;bottom:0;left:0;right:0;height:66px;background:#fff;border-top:1px solid var(--line);z-index:20;justify-content:space-around}.mobile-nav a{color:var(--ink);text-decoration:none;display:grid;place-items:center;font-size:20px}.mobile-nav span{display:block;font-size:11px}.doc-list>a{align-items:flex-start}.doc-list>a>strong{font-size:14px}.actions{width:100%}.login-card{margin:3vh auto;padding:26px}}@media(max-width:430px){.kpis,.menu-grid{grid-template-columns:1fr}.menu-grid a{grid-template-columns:48px 1fr}.menu-grid b{width:48px;height:48px}.menu-grid small{display:block}}

.erp-login{width:min(500px,100%);padding:42px;box-shadow:0 22px 60px #1d3d6817}.login-symbol{display:grid;place-items:center;width:62px;height:62px;margin-bottom:20px;border-radius:18px;background:linear-gradient(145deg,#174ea6,#2f80ed);color:#fff;font-size:28px;font-weight:900}.erp-login .primary{width:100%}.login-help{display:block;margin-top:18px;color:var(--muted);text-align:center}
.pictogram{display:block;width:1.3em;height:1.3em;margin:auto;color:inherit;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;overflow:visible}.mobile-nav .pictogram{width:1.35rem;height:1.35rem}

/* 데스크톱 화면은 공통 본문과 상단 메뉴를 화면 폭에 맞춰 사용합니다. */
@media (min-width:761px){
  .shell{width:calc(100% - 48px);max-width:none}
  .topbar{padding-left:clamp(18px,3vw,56px);padding-right:clamp(18px,3vw,56px)}
}

/* 데스크톱 전체 폭 공통 정렬: 고정 최소폭 때문에 오른쪽이 잘리지 않도록 합니다. */
html,body{min-width:0;max-width:100%;overflow-x:hidden}
.topbar,.workspace-tabs{width:100%;max-width:none;box-sizing:border-box}
.shell,.shell.wide-shell{min-width:0;box-sizing:border-box}
.shell>*{min-width:0;max-width:100%}
.hero,.page-head{min-width:0;flex-wrap:wrap}
.hero>*,.page-head>*{min-width:0}
@media(min-width:761px){
     .shell{width:calc(100% - clamp(32px,4vw,96px));margin-left:auto;margin-right:auto}
   }

/* 모든 업무 화면 공통: 데스크톱 폭을 넘겨 내용이 잘리지 않도록 합니다. */
*,*::before,*::after{box-sizing:border-box}
img,svg,video,canvas,iframe{max-width:100%}
.shell,.shell>*{min-width:0;max-width:100%}
.shell *{min-width:0}
.shell table{width:100%;max-width:100%;table-layout:auto}
.shell th,.shell td{overflow-wrap:anywhere}
.shell a,.shell button{max-width:100%;overflow-wrap:anywhere}
.shell input,.shell select,.shell textarea{max-width:100%;min-width:0}
/* Stable desktop layout: keep wide screens readable without clipping or accidental wrapping. */
html, body {
  min-width: 0;
  max-width: none;
  overflow-x: auto;
}

@media (min-width: 761px) {
  .shell,
  .shell.wide-shell {
    width: calc(100% - clamp(32px, 4vw, 96px));
    max-width: none;
    min-width: 0;
    box-sizing: border-box;
  }

  .shell .kpis,
  .shell .analysis-kpis,
  .shell .balance-cards,
  .shell .simple-modules {
    min-width: 0;
    align-items: stretch;
  }

  .shell .kpis > *,
  .shell .analysis-kpis > *,
  .shell .balance-cards > *,
  .shell .simple-modules > * {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .shell .kpis strong,
  .shell .analysis-kpis strong,
  .shell .balance-cards strong {
    display: block;
    max-width: 100%;
    font-size: clamp(24px, 2.1vw, 40px);
    line-height: 1.12;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .shell .table-wrap,
  .shell .ledger-table-wrap,
  .shell .scroll-table,
  .shell .data-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
  }

  .shell table {
    max-width: none;
    min-width: 760px;
    table-layout: auto;
  }
}

@media (min-width: 761px) and (max-width: 1360px) {
  .shell .kpis,
  .shell .analysis-kpis,
  .shell .balance-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  html, body {
    overflow-x: hidden;
  }

  .shell .kpis,
  .shell .analysis-kpis,
  .shell .balance-cards,
  .shell .simple-modules {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 공통 데스크톱 안전 영역: 제목·버튼·작업 메뉴가 오른쪽에서 잘리지 않게 합니다. */
@media (min-width: 761px) {
  .shell .hero,
  .shell .page-head,
  .shell .section-head,
  .shell .section-heading,
  .shell .actions,
  .shell .next-actions {
    min-width: 0;
    max-width: 100%;
    flex-wrap: wrap;
  }

  .shell .hero > *,
  .shell .page-head > *,
  .shell .section-head > *,
  .shell .section-heading > * {
    min-width: 0;
    max-width: 100%;
  }

  .shell .hero > :first-child,
  .shell .page-head > :first-child,
  .shell .section-heading > :first-child {
    flex: 1 1 520px;
  }

  .shell .hero > :last-child,
  .shell .page-head > :last-child,
  .shell .section-head > :last-child,
  .shell .section-heading > :last-child,
  .shell .actions > *,
  .shell .next-actions > * {
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .shell .hero .primary,
  .shell .page-head .primary,
  .shell .section-head a,
  .shell .actions > *,
  .shell .next-actions > * {
    white-space: normal;
    text-align: center;
  }
}

.top-company-switch{display:flex;align-items:center;gap:7px;min-width:0;margin-left:26px;overflow-x:auto;scrollbar-width:none}.top-company-switch::-webkit-scrollbar{display:none}.top-company-switch a{display:flex;align-items:center;gap:7px;flex:0 0 auto;padding:6px 9px 6px 6px;border:1px solid #dce3ec;border-radius:12px;background:#fff;color:#2b3b50;text-decoration:none;font-size:13px;font-weight:900}.top-company-switch a:hover{border-color:#8eb3e5;background:#f7faff}.top-company-switch a.active{border-color:#1769df;background:#eaf3ff;color:#1559b4;box-shadow:inset 0 0 0 1px #1769df}.top-company-switch i{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#eaf3ff;color:#1769df;font-style:normal;font-weight:900}.top-company-switch .company-pz i{background:#e3f5eb;color:#147154}.top-company-switch .company-chooser{display:grid;place-items:center;width:37px;height:37px;padding:0;border-style:dashed;color:#647286;font-size:20px}.topbar .brand{flex:0 0 auto}@media(max-width:1000px){.top-company-switch a span{display:none}.top-company-switch a{padding:5px}.top-company-switch{margin-left:14px}.global-nav{margin-left:10px}}@media(max-width:760px){.top-company-switch{margin-left:auto;max-width:52vw}.top-company-switch a span{display:none}.top-company-switch .company-chooser{display:none}.brand>span:last-child{display:none}}
.global-item-lookup{display:flex;align-items:center;gap:4px;margin-left:auto;flex:0 0 auto;max-width:100%}
.global-item-lookup input[type=search]{width:170px;min-height:32px;padding:4px 8px}
.global-item-lookup button{white-space:nowrap;padding:5px 9px;min-height:36px;border:1px solid #c8d1f4;border-radius:8px;background:#fff;color:#1559b4;font-weight:700}
@media(max-width:600px){.global-item-lookup{width:100%;margin:4px 0}.global-item-lookup input[type=search]{flex:1;min-width:0}}

.workspace-tabs{position:sticky;top:72px;z-index:9;display:flex;align-items:center;gap:10px;min-height:54px;padding:7px max(24px,calc((100% - 1180px)/2));border-bottom:1px solid #cfd9e6;background:#eaf0f7;box-shadow:0 4px 12px #183d6810}.workspace-tabs-title{flex:0 0 auto;color:#50627a;font-size:12px;font-weight:900}.workspace-tab-list{display:flex;align-items:center;gap:6px;min-width:0;flex:1;overflow-x:auto;scrollbar-width:thin}.workspace-tab-empty{color:#78869a;font-size:13px}.workspace-tab{display:flex;align-items:stretch;flex:0 0 auto;overflow:hidden;border:1px solid #bac8da;border-radius:11px 11px 4px 4px;background:#fff}.workspace-tab.active{border-color:#1769df;background:#edf5ff;box-shadow:inset 0 -3px 0 #1769df}.workspace-tab a{display:flex;align-items:center;gap:8px;min-width:150px;max-width:260px;padding:7px 9px;color:#1b2d43;text-decoration:none}.workspace-tab-company{display:grid;place-items:center;flex:0 0 29px;height:29px;padding:0 5px;border-radius:8px;background:#e7f0ff;color:#175fc4;font-size:11px;font-weight:900}.workspace-tab-text{min-width:0}.workspace-tab-text b,.workspace-tab-text small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-tab-text b{font-size:13px}.workspace-tab-text small{color:#6d7c8f;font-size:10px}.workspace-tab-close{align-self:stretch;border:0;border-left:1px solid #dbe3ed;background:transparent;color:#738197;padding:0 9px;cursor:pointer;font-size:17px}.workspace-tab-close:hover{background:#fff0ef;color:#b6332c}.workspace-tabs-clear{flex:0 0 auto;border:0;background:transparent;color:#66768a;font-weight:800;cursor:pointer;font-size:12px}.workspace-tabs-clear[hidden]{display:none}.workspace-page-marker{display:none!important}@media(max-width:760px){.workspace-tabs{top:62px;padding:6px 12px}.workspace-tabs-title{display:none}.workspace-tab a{min-width:135px}.workspace-tabs-clear{display:none}}

@media (min-width:761px){.workspace-tabs{padding-left:clamp(18px,3vw,56px);padding-right:clamp(18px,3vw,56px)}}

/* Larger customer tabs joined to the header and content, without outer gaps. */
@layer erp-reading-hierarchy{
@media screen{
body.erp-unified-design:has(>.workspace-tabs)>main.shell{margin-top:0!important;padding-top:0!important}
body.erp-unified-design:has(>.workspace-tabs)>.global-persistent-header{margin-bottom:0!important}
body.erp-unified-design .workspace-tabs{position:static!important}
body.erp-unified-design .workspace-tabs{min-height:64px!important;height:auto!important;padding:6px 10px!important;margin-top:0!important;margin-bottom:0!important;gap:8px!important;border-radius:0!important;box-sizing:border-box}
body.erp-unified-design .workspace-tabs .workspace-tabs-title,body.erp-unified-design .workspace-tabs .workspace-tab-empty{font-size:16px!important;line-height:1.4!important}
body.erp-unified-design .workspace-tabs .workspace-tab{border-radius:5px!important;min-height:0!important}
body.erp-unified-design .workspace-tabs .workspace-tab a{min-height:48px!important;height:48px!important;min-width:0!important;max-width:300px!important;padding:6px 10px!important;gap:6px!important;box-sizing:border-box}
body.erp-unified-design .workspace-tabs .workspace-tab-company{font-size:13px!important;line-height:1.4!important;min-height:0!important;height:auto!important;min-width:0!important;padding:2px 4px!important;border-radius:3px!important}
body.erp-unified-design .workspace-tabs .workspace-tab-text b{font-size:17px!important;line-height:1.4!important;max-width:210px}
body.erp-unified-design .workspace-tabs .workspace-tab-text small{display:none!important}
body.erp-unified-design .workspace-tabs .workspace-tab-close{font-size:20px!important;min-height:48px!important;height:auto!important;min-width:44px!important;padding:0 7px!important;box-shadow:none!important}
body.erp-unified-design .workspace-tabs .workspace-tabs-clear{font-size:12px!important;min-height:48px!important;padding:3px 6px!important;box-shadow:none!important;background:transparent!important}
}
}

.customer-first{background:linear-gradient(135deg,#173b72,#176b62);color:#fff;border-radius:26px;padding:42px;margin-bottom:30px;box-shadow:0 18px 50px #15365e28}.customer-first .eyebrow,.customer-first p{color:#cce7e2}.customer-first h1{margin-bottom:8px}.customer-search-box{display:flex;align-items:center;gap:12px;background:#fff;border:2px solid transparent;border-radius:16px;padding:8px 10px;margin-top:22px;box-shadow:0 10px 30px #102a4328}.customer-search-box:focus-within{border-color:#75a7f3}.customer-search-box>span{color:#687485;font-size:28px}.customer-search-box input{flex:1;border:0;outline:0;padding:12px 4px;font:inherit;font-size:18px;min-width:0}.customer-search-box>a{color:#175cd3;text-decoration:none;font-weight:800;white-space:nowrap;padding:10px}.customer-search-box button{white-space:nowrap}.live-results{background:#fff;color:#18212f;border-radius:0 0 16px 16px;margin:0 14px;overflow:hidden}.customer-result{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;border-bottom:1px solid #e4e8ee;color:#18212f;text-decoration:none}.customer-result:hover{background:#f2f7ff}.customer-result small,.customer-cards small{display:block;color:#6b7482}.customer-result strong{color:#175cd3;font-size:14px}.search-hint{padding:14px 18px;color:#6b7482}.hero.compact{align-items:center;margin-top:20px}.hero.compact h2{margin:5px 0}.customer-cards,.daily-list{display:grid;gap:12px;margin-top:20px}.customer-cards>a,.daily-list>a{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid #e4e8ee;border-radius:17px;padding:18px 22px;color:#18212f;text-decoration:none}.customer-cards>a:hover,.daily-list>a:hover{border-color:#8bb1ee;box-shadow:0 8px 24px #173b7212}.customer-cards>a>span:nth-child(2),.daily-list>a>span{flex:1}.customer-cards strong,.daily-list>a>strong{color:#175cd3}.avatar{width:44px;height:44px;border-radius:13px;background:#e7f0ff;color:#175cd3;display:grid;place-items:center;font-weight:900}.avatar.large{width:66px;height:66px;border-radius:20px;font-size:25px}.customer-heading{display:grid;grid-template-columns:1fr auto;gap:20px;align-items:end}.customer-heading>a:first-child{grid-column:1/-1;color:#6b7482}.customer-title{display:flex;align-items:center;gap:18px}.customer-title h1{margin:4px 0}.customer-title p{margin:0}.daily-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:30px 0}.daily-summary>div{background:#fff;border:1px solid #e4e8ee;border-radius:15px;padding:18px}.daily-summary span,.daily-summary strong{display:block}.daily-summary span{color:#6b7482;font-size:13px}.daily-summary strong{margin-top:6px}.daily-list time{width:100px}.daily-list time b,.daily-list time small,.daily-list span b,.daily-list span small{display:block}.daily-list small{color:#6b7482}.daily-list i{font-style:normal;margin-left:10px}.day-document{margin:25px 0}.day-document-head{display:flex;justify-content:space-between}.totals.vertical{align-items:flex-end;flex-direction:column}.totals.vertical strong{font-size:24px;color:#175cd3}
@media(max-width:760px){.customer-first{padding:25px 18px;margin-left:-4px;margin-right:-4px}.customer-first h1{font-size:30px}.customer-search-box{flex-wrap:wrap}.customer-search-box input{font-size:16px}.customer-search-box>a{display:none}.customer-result{align-items:flex-start;gap:8px}.customer-result strong{font-size:12px}.customer-heading{grid-template-columns:1fr}.customer-heading .primary{width:100%}.daily-summary{grid-template-columns:1fr}.daily-list>a{padding:15px}.daily-list time{width:76px}.daily-list>a>strong{font-size:13px}.customer-cards>a{padding:15px}.customer-cards strong{font-size:12px}}

.hometax-strip,.evidence-shortcut{display:flex;align-items:center;gap:15px;background:#fff;border:1px solid #cdddf5;border-radius:17px;padding:17px 20px;color:#18212f;text-decoration:none;margin:16px 0}.hometax-strip>span:nth-child(2),.evidence-shortcut>span:nth-child(2){flex:1}.hometax-strip small,.evidence-shortcut small{display:block;color:#6b7482}.hometax-strip strong,.evidence-shortcut strong{color:#175cd3}.hometax-icon{width:42px;height:42px;border-radius:12px;background:#1858b8;color:#fff;display:grid;place-items:center;font-weight:900}.connection-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.connection-card{background:#fff;border:1px solid #e4e8ee;border-radius:18px;padding:22px}.connection-card>div{display:flex;align-items:center;gap:12px}.connection-card>strong{display:block;color:#d66b0a;margin:18px 0 0}.connection-card.connected>strong{color:#11845b}.connection-card button{border:1px solid #d9e0e9;border-radius:10px;background:#f5f7fa;padding:10px 14px}.reconcile-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:25px 0}.reconcile-summary>div{background:#fff;border:1px solid #e4e8ee;border-radius:16px;padding:20px}.reconcile-summary span,.reconcile-summary strong{display:block}.reconcile-summary span{color:#6b7482}.reconcile-summary strong{font-size:26px;margin-top:7px}.reconcile-summary .ok{border-left:4px solid #11845b}.reconcile-summary .attention,.daily-summary .attention{border-left:4px solid #d66b0a}.evidence-list{background:#fff;border:1px solid #e4e8ee;border-radius:18px;overflow:hidden}.evidence-list article,.day-evidence article{display:grid;grid-template-columns:120px 1.5fr 1.2fr auto;gap:16px;align-items:center;padding:17px 20px;border-bottom:1px solid #e4e8ee}.evidence-list article:last-child{border:0}.evidence-list small,.day-evidence small{display:block;color:#6b7482}.status-pill{display:inline-flex;width:max-content;border-radius:99px;padding:5px 10px;background:#fff1df;color:#a65308;font-size:12px;font-weight:800}.status-pill.matched{background:#e4f6ee;color:#087450}.status-pill.mismatch{background:#fff0ef;color:#a82d25}.integration-note{margin-top:22px;background:#eef5ff;border-radius:16px;padding:18px;color:#24558f}.integration-note p{margin:5px 0;color:#466c96}.day-evidence{margin-top:26px}.day-evidence article{background:#fff;border:1px solid #e4e8ee;border-radius:14px;grid-template-columns:120px 1fr auto}
@media(max-width:760px){.hometax-strip,.evidence-shortcut{align-items:flex-start}.hometax-strip>strong,.evidence-shortcut>strong{font-size:0}.hometax-strip>strong:after,.evidence-shortcut>strong:after{content:'→';font-size:18px}.connection-grid,.reconcile-summary{grid-template-columns:1fr}.evidence-list article,.day-evidence article{grid-template-columns:1fr}.evidence-list article>strong,.day-evidence article>strong{font-size:20px}}

.accounting-strip{display:flex;align-items:center;gap:15px;background:#fff;border:1px solid #d8d7ef;border-radius:17px;padding:17px 20px;color:#18212f;text-decoration:none;margin:16px 0}.accounting-strip>span:nth-child(2){flex:1}.accounting-strip small{display:block;color:#6b7482}.accounting-strip>strong{color:#5b4bc4}.book-icon{width:42px;height:42px;border-radius:12px;background:#5b4bc4;color:#fff;display:grid;place-items:center;font-weight:900}.company-filter{display:flex;align-items:center;gap:10px;font-weight:800}.company-filter select{padding:11px 34px 11px 12px;border:1px solid #cbd3df;border-radius:10px;background:#fff;font:inherit}.book-tabs{display:flex;gap:7px;padding:7px;background:#e9edf3;border-radius:13px;overflow:auto}.book-tabs a{padding:10px 18px;color:#56606e;text-decoration:none;white-space:nowrap;border-radius:9px;font-weight:700}.book-tabs a.active{background:#fff;color:#175cd3;box-shadow:0 2px 7px #25364f16}.balance-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.balance-cards article{background:#fff;border:1px solid #e4e8ee;border-radius:16px;padding:20px}.balance-cards span,.balance-cards strong{display:block}.balance-cards span{color:#6b7482}.balance-cards strong{font-size:25px;margin-top:6px}.balance-cards .balanced{border-left:4px solid #11845b}.balance-cards .unbalanced{border-left:4px solid #c4372c}.journal-list{display:grid;gap:14px}.journal-list>article{background:#fff;border:1px solid #e4e8ee;border-radius:17px;overflow:hidden}.journal-list header{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:15px;padding:16px 20px;background:#f7f9fc}.journal-list header>strong{text-align:right}.journal-lines>div{display:grid;grid-template-columns:65px 1fr 120px 1fr;gap:13px;padding:13px 20px;border-top:1px solid #edf0f4;align-items:center}.journal-lines>div>strong{text-align:right}.journal-lines small{color:#6b7482}.side{display:inline-flex;width:max-content;padding:4px 9px;border-radius:8px;font-weight:800;font-size:12px}.side.debit{background:#e8f2ff;color:#175cd3}.side.credit{background:#eeeafa;color:#5b4bc4}.journal-list footer{padding:12px 20px;border-top:1px solid #edf0f4;text-align:right}.journal-list footer a{color:#175cd3}.account-summary{background:#fff;border:1px solid #e4e8ee;border-radius:16px;overflow:hidden}.account-row{display:grid;grid-template-columns:120px 1fr 100px 160px;padding:13px 18px;border-top:1px solid #edf0f4}.account-row.heading{background:#f4f7fb;border:0;font-weight:800}.account-row strong{text-align:right}
@media(max-width:760px){.accounting-strip>strong{font-size:0}.accounting-strip>strong:after{content:'→';font-size:18px}.balance-cards{grid-template-columns:1fr}.journal-list header{grid-template-columns:1fr}.journal-list header>strong{text-align:left}.journal-lines>div{grid-template-columns:60px 1fr auto}.journal-lines small{grid-column:2/-1}.account-summary{overflow:auto}.account-row{min-width:570px}.company-filter{width:100%}.company-filter select{flex:1}}

.store-opening{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.store-opening h1{margin:4px 0}.business-date{text-align:right;font-size:18px;font-weight:900}.business-date small{display:block;color:#6b7482;font-weight:500}.counter-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:26px}.counter-actions a{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #e1e6ed;border-radius:17px;padding:18px;color:#18212f;text-decoration:none}.counter-actions a:hover{border-color:#8baee5;box-shadow:0 8px 22px #173b7214}.counter-actions a.sale{background:#175cd3;color:#fff;border-color:#175cd3}.counter-actions b{width:44px;height:44px;border-radius:13px;background:#edf3fc;color:#175cd3;display:grid;place-items:center;font-size:22px}.counter-actions .sale>b{background:#ffffff24;color:#fff}.counter-actions span{display:block}.counter-actions strong,.counter-actions small{display:block}.counter-actions small{color:#6b7482}.counter-actions .sale small{color:#d7e6ff}.backoffice-links{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:26px 0}.backoffice-links>a{margin:0}.office-strip{display:flex;align-items:center;gap:15px;background:#fff;border:1px solid #d9e2dc;border-radius:17px;padding:17px 20px;color:#18212f;text-decoration:none}.office-strip>span:first-child{width:42px;height:42px;border-radius:12px;background:#11845b;color:#fff;display:grid;place-items:center;font-size:20px}.office-strip>span:nth-child(2){flex:1}.office-strip small{display:block;color:#6b7482}.office-strip>strong{color:#11845b}
@media(max-width:760px){.store-opening{align-items:flex-start}.business-date{font-size:14px}.counter-actions{grid-template-columns:1fr 1fr}.counter-actions a{padding:14px}.counter-actions b{width:38px;height:38px}.counter-actions small{font-size:11px}.backoffice-links{grid-template-columns:1fr}.mobile-nav{justify-content:space-around}.mobile-nav a{width:25%}}@media(max-width:430px){.counter-actions{grid-template-columns:1fr}.business-date{display:none}}

.mode-badge{background:#e7f0ff;color:#175cd3;border-radius:99px;padding:8px 13px;font-weight:800}.sales-work-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.sales-work-actions details{background:#fff;border:1px solid #e4e8ee;border-radius:17px;overflow:hidden}.sales-work-actions summary{display:grid;grid-template-columns:40px 1fr;column-gap:8px;padding:17px;cursor:pointer}.sales-work-actions summary>span{grid-row:1/3;font-size:25px}.sales-work-actions summary small{color:#6b7482}.sales-form{padding:0 17px 17px;display:grid;gap:12px}.sales-form label{font-weight:800;font-size:13px}.sales-form select,.sales-form input,.sales-form textarea{display:block;width:100%;margin-top:5px;padding:11px;border:1px solid #cbd3df;border-radius:9px;font:inherit;background:#fff}.sales-columns{display:grid;grid-template-columns:1.2fr 1fr;gap:20px}.order-cards,.visit-cards{display:grid;gap:11px}.order-cards article,.visit-cards article{background:#fff;border:1px solid #e4e8ee;border-radius:15px;padding:16px}.order-cards header{display:flex;align-items:center;gap:9px}.order-cards header time{margin-left:auto;color:#6b7482}.order-cards p{background:#f6f8fb;border-radius:10px;padding:12px;color:#303a48}.order-cards footer{display:flex;gap:12px;align-items:center;font-size:12px;color:#6b7482}.order-cards footer a{margin-left:auto;color:#175cd3;font-weight:800}.visit-cards article{display:grid;grid-template-columns:65px 1fr auto;gap:12px;align-items:center}.visit-cards time b,.visit-cards time small,.visit-cards span b,.visit-cards span small{display:block}.visit-cards small{color:#6b7482}.copy-visit{border:1px solid #cbd3df;background:#fff;border-radius:9px;padding:8px;color:#175cd3;font-weight:800}.sales-team-strip{display:flex;align-items:center;gap:15px;background:#fff;border:1px solid #f0d9b5;border-radius:17px;padding:17px 20px;color:#18212f;text-decoration:none}.sales-team-strip>span:first-child{width:42px;height:42px;border-radius:12px;background:#e18418;color:#fff;display:grid;place-items:center;font-size:20px}.sales-team-strip>span:nth-child(2){flex:1}.sales-team-strip small{display:block;color:#6b7482}.sales-team-strip strong{color:#b65e00}@media(max-width:900px){.sales-work-actions,.sales-columns{grid-template-columns:1fr}}@media(max-width:600px){.visit-cards article{grid-template-columns:55px 1fr}.copy-visit{grid-column:2}.order-cards footer{flex-wrap:wrap}.order-cards footer a{width:100%;margin:0}}

.hometax-import-box{background:#fff;border:2px solid #cbdcf5;border-radius:20px;padding:22px;margin-bottom:25px}.hometax-import-box>div{display:flex;align-items:center;gap:13px}.hometax-import-box h2,.hometax-import-box p{margin:0}.hometax-import-box form{display:grid;grid-template-columns:1fr 1.3fr 1.5fr auto;gap:10px;align-items:end;margin-top:20px}.hometax-import-box label{font-size:13px;font-weight:800}.hometax-import-box select,.hometax-import-box input[type=file]{display:block;width:100%;margin-top:5px;padding:10px;border:1px solid #cbd3df;border-radius:9px;background:#fff}.file-pick span{display:block;color:#6b7482;font-size:11px;margin-top:4px}.safe-copy{display:block;color:#6b7482;margin-top:12px}.batch-list{background:#fff;border:1px solid #e4e8ee;border-radius:17px;overflow:hidden;margin-bottom:24px}.batch-list>a{display:grid;grid-template-columns:100px 1.5fr 1fr auto;gap:14px;align-items:center;padding:15px 18px;color:#18212f;text-decoration:none;border-bottom:1px solid #e4e8ee}.batch-list>a:last-child{border:0}.batch-list small{display:block;color:#6b7482}.commit-bar{display:flex;align-items:center;justify-content:space-between;background:#fff;border:1px solid #d9e3ef;border-radius:15px;padding:16px 19px;margin-bottom:18px}.commit-bar small{display:block;color:#6b7482}.import-table-wrap{background:#fff;border:1px solid #e4e8ee;border-radius:15px;overflow:auto}.import-row{display:grid;grid-template-columns:55px 110px 1.2fr 120px repeat(3,110px) 1.2fr;min-width:950px;padding:11px 14px;border-top:1px solid #edf0f4;gap:10px;align-items:center}.import-row.heading{background:#f2f5f9;border:0;font-weight:800}.import-row.row-error{background:#fff5f4}.ok-text{color:#087450}.error-text{color:#a82d25;font-size:12px}.status-pill.validated,.status-pill.committed{background:#e4f6ee;color:#087450}.status-pill.has_errors{background:#fff0ef;color:#a82d25}
@media(max-width:900px){.hometax-import-box form{grid-template-columns:1fr 1fr}.batch-list>a{grid-template-columns:90px 1fr}.batch-list>a>strong{grid-column:2}.commit-bar{align-items:flex-start;flex-direction:column;gap:12px}.commit-bar button{width:100%}}@media(max-width:540px){.hometax-import-box form{grid-template-columns:1fr}}

.all-work-link{display:inline-block;margin-top:8px;color:#175cd3;font-weight:800;text-decoration:none}.hub-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.hub-summary article{background:#18212f;color:#fff;border-radius:15px;padding:18px 20px}.hub-summary span{display:block;color:#b9c4d3;font-size:13px}.hub-summary b{font-size:27px}.work-modules{display:grid;grid-template-columns:1fr 1fr;gap:14px}.work-modules a{display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:14px;background:#fff;border:1px solid #e4e8ee;border-radius:18px;padding:22px;color:#18212f;text-decoration:none}.work-modules a:hover{border-color:#8eb4ef}.work-modules i{font-style:normal;width:48px;height:48px;border-radius:14px;background:#edf4ff;color:#175cd3;display:grid;place-items:center;font-weight:900}.work-modules span b,.work-modules span small{display:block}.work-modules span b{font-size:18px}.work-modules span small{color:#6b7482;margin-top:3px}.work-modules em{font-style:normal;color:#175cd3;font-weight:800;font-size:13px}.work-modules .building{background:#fafbfc}.work-modules .building em{color:#8a6470}.hub-note{margin-top:20px;padding:20px 24px;border-radius:16px;background:#eaf4ff}.hub-note p{margin:5px 0 0}@media(max-width:760px){.hub-summary{grid-template-columns:1fr 1fr}.work-modules{grid-template-columns:1fr}.work-modules a{grid-template-columns:44px 1fr}.work-modules em{grid-column:2}.work-modules i{width:44px;height:44px}}
.erp-command-head{display:flex;justify-content:space-between;align-items:end;padding:26px 30px;border-radius:22px;background:linear-gradient(130deg,#132338,#214d79);color:#fff}.erp-command-head h1{margin:3px 0;font-size:38px}.erp-command-head p{margin:0;color:#d6e1ed;font-size:16px}.erp-command-head .eyebrow{color:#7fc4ff}.erp-scope{min-width:220px;padding:15px 18px;border:1px solid #537698;border-radius:14px;background:#ffffff0d}.erp-scope span,.erp-scope small{display:block;color:#c3d2e2}.erp-scope strong{display:block;margin:4px 0;font-size:20px}
.erp-company-scope{display:flex;gap:10px;margin:15px 0;overflow:auto}.erp-company-scope a{display:flex;align-items:center;gap:10px;min-width:180px;padding:12px 15px;border:1px solid #d9e1eb;border-radius:14px;background:#fff;color:#26384d;text-decoration:none}.erp-company-scope a.active{border:2px solid #1769df;background:#f1f6ff}.erp-company-scope i{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#eaf1fb;color:#1b63bb;font-style:normal;font-weight:900}.erp-company-scope b,.erp-company-scope small{display:block}.erp-company-scope small{color:#77879a;font-size:11px}
.erp-live-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:10px;margin:15px 0}.erp-live-kpis article{padding:17px 18px;border:1px solid #dce3ec;border-top:4px solid #647a94;border-radius:15px;background:#fff}.erp-live-kpis article.sales{border-top-color:#1769df}.erp-live-kpis article.purchase{border-top-color:#aa6c17}.erp-live-kpis article.inventory{border-top-color:#14845e}.erp-live-kpis article.receivable{border-top-color:#8e50a5}.erp-live-kpis span,.erp-live-kpis small{display:block;color:#687a90}.erp-live-kpis strong{display:block;margin:4px 0;font-size:23px}
.erp-reference-bridge{display:grid;grid-template-columns:54px 1fr auto;align-items:center;gap:15px;margin:15px 0;padding:18px 21px;border-radius:17px;background:linear-gradient(115deg,#0e3548,#0d766f);color:#fff;text-decoration:none;box-shadow:0 12px 30px #123e4d24}.erp-reference-bridge>i{width:50px;height:50px;border-radius:14px;display:grid;place-items:center;background:#e2a328;color:#173142;font-style:normal;font-weight:950;font-size:1.2rem}.erp-reference-bridge span b,.erp-reference-bridge span small{display:block}.erp-reference-bridge span small{color:#cfe7e3;margin-top:4px}.erp-reference-bridge>strong{white-space:nowrap}
.erp-flow{margin:17px 0;padding:22px;border:1px solid #d9e2ec;border-radius:19px;background:#fff}.erp-flow .section-head{margin:0 0 15px}.erp-flow-line{display:flex;align-items:stretch;gap:8px}.erp-flow-line>a,.erp-flow-line>.locked{display:flex;flex:1;flex-direction:column;min-width:150px;padding:16px;border:1px solid #dbe3ed;border-radius:14px;color:#263a50;text-decoration:none}.erp-flow-line>a:hover{border-color:#5f9fe8;background:#f6faff}.erp-flow-line>.locked{border-style:dashed;background:#f4f5f7;color:#8290a1}.erp-flow-line i{display:grid;place-items:center;width:30px;height:30px;margin-bottom:10px;border-radius:9px;background:#1769df;color:#fff;font-style:normal;font-weight:900}.erp-flow-line b,.erp-flow-line small{display:block}.erp-flow-line small{margin-top:4px;color:#708195}.erp-flow-line>em{display:grid;place-items:center;color:#7e91a8;font-style:normal;font-size:22px}
.erp-panel-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.erp-integrity,.erp-modules{padding:21px;border:1px solid #d9e2ec;border-radius:19px;background:#fff}.erp-panel-grid .section-head{margin:0 0 10px}.integrity-list{display:grid;gap:7px}.integrity-list a{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;padding:11px;border:1px solid #e0e6ee;border-radius:12px;color:#293b50;text-decoration:none}.integrity-list a.attention{border-color:#e0a08e;background:#fff7f4}.integrity-list i{display:grid;place-items:center;width:39px;height:39px;border-radius:10px;background:#edf2f8;color:#355f8a;font-style:normal;font-weight:900}.integrity-list b,.integrity-list small{display:block}.integrity-list small{color:#718195}.integrity-list strong{font-size:18px}.erp-module-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.erp-module-grid a{padding:16px;border:1px solid #dfe6ee;border-radius:13px;color:#26384c;text-decoration:none}.erp-module-grid i{display:grid;place-items:center;width:38px;height:38px;margin-bottom:8px;border-radius:10px;background:#eaf2fd;color:#1769df;font-style:normal;font-weight:900}.erp-module-grid b,.erp-module-grid small{display:block}.erp-module-grid small{margin-top:4px;color:#718195}.erp-source-rule{display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:14px;margin:15px 0;padding:18px 21px;border-radius:16px;background:#e9f4ff}.erp-source-rule>i{display:grid;place-items:center;width:45px;height:45px;border-radius:50%;background:#1769df;color:#fff;font-style:normal;font-weight:900}.erp-source-rule p{margin:3px 0;color:#536a82}.erp-source-rule>strong{color:#1769df}
@media(max-width:1050px){.erp-flow-line{overflow:auto}.erp-flow-line>a,.erp-flow-line>.locked{min-width:180px}.erp-panel-grid{grid-template-columns:1fr}}
@media(max-width:760px){.erp-command-head{align-items:flex-start;flex-direction:column;gap:14px;padding:21px}.erp-command-head h1{font-size:30px}.erp-scope{box-sizing:border-box;width:100%}.erp-live-kpis{grid-template-columns:1fr 1fr}.erp-panel-grid{display:block}.erp-modules{margin-top:12px}.erp-module-grid{grid-template-columns:1fr}.erp-source-rule{grid-template-columns:42px 1fr}.erp-source-rule>strong{grid-column:2}}

.first-guide{background:#fff;border:1px solid #dce3ec;border-radius:18px;margin:18px 0 28px;overflow:hidden}.first-guide summary{cursor:pointer;display:flex;justify-content:space-between;padding:17px 20px}.first-guide summary span{color:#175cd3;font-weight:800}.first-guide>div{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #edf0f4}.first-guide a{display:flex;gap:12px;padding:18px;color:#18212f;text-decoration:none;border-right:1px solid #edf0f4}.first-guide a:last-child{border:0}.first-guide i{font-style:normal;flex:0 0 32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#175cd3;color:#fff;font-weight:900}.first-guide small,.first-guide b{display:block}.first-guide small{color:#6b7482;margin-top:3px}.easy-book{background:linear-gradient(135deg,#15345d,#175cd3);color:#fff;padding:26px;border-radius:20px;margin-bottom:14px}.easy-book header{display:flex;justify-content:space-between;align-items:end}.easy-book header h2{margin:2px 0}.easy-book header p{color:#d8e7ff}.easy-book>div{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.easy-book article{background:#ffffff14;border:1px solid #ffffff28;border-radius:14px;padding:17px}.easy-book article span,.easy-book article strong,.easy-book article small{display:block}.easy-book article strong{font-size:24px;margin:6px 0}.easy-book article small{color:#cfddf5}.easy-book>a{display:inline-block;background:#fff;color:#175cd3;padding:11px 16px;border-radius:10px;text-decoration:none;font-weight:800}.accounting-explain{background:#fff;border:1px solid #e4e8ee;border-radius:13px;padding:13px 17px;margin-bottom:14px}.accounting-explain summary{cursor:pointer;font-weight:800}.accounting-explain p{margin-bottom:2px}@media(max-width:760px){.first-guide>div,.easy-book>div{grid-template-columns:1fr}.first-guide a{border-right:0;border-bottom:1px solid #edf0f4}.easy-book header{display:block}.easy-book header p{margin:4px 0}}

.ai-entry{display:flex;align-items:center;gap:15px;padding:20px 22px;margin:16px 0;background:linear-gradient(120deg,#171d35,#37308d);border-radius:18px;color:#fff;text-decoration:none}.ai-entry>span{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:#fff;color:#37308d;font-weight:900}.ai-entry div{flex:1}.ai-entry b,.ai-entry small{display:block}.ai-entry b{font-size:18px}.ai-entry small{color:#d9d6f5}.analysis-note{display:flex;gap:15px;padding:14px 18px;border-radius:12px;background:#ecebff;color:#393075}.analysis-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0}.analysis-kpis article{background:#fff;border:1px solid #e4e8ee;border-radius:16px;padding:19px}.analysis-kpis span,.analysis-kpis strong,.analysis-kpis small{display:block}.analysis-kpis strong{font-size:24px;margin:6px 0}.analysis-kpis small{color:#6b7482}.analysis-kpis .attention{border-left:4px solid #c4372c}.analysis-layout{display:grid;grid-template-columns:1.6fr 1fr;gap:18px}.insight-list{display:grid;gap:10px}.insight-list article{display:flex;gap:13px;background:#fff;border:1px solid #e4e8ee;border-radius:14px;padding:17px}.insight-list i{width:11px;height:11px;border-radius:50%;margin-top:6px;background:#175cd3}.insight-list .good i{background:#11845b}.insight-list .warn i{background:#d66b0a}.insight-list .danger i{background:#c4372c}.insight-list p{margin:4px 0}.analysis-layout aside{background:#fff;border:1px solid #e4e8ee;border-radius:17px;padding:20px;height:max-content}.analysis-layout aside h2{margin-top:0}.customer-bar{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #edf0f4}.analysis-layout aside>a{display:block;margin-top:16px;color:#175cd3;font-weight:800}.ai-boundary{margin-top:20px;padding:18px;border-radius:14px;background:#f0f2f6}.ai-boundary p{margin:4px 0}@media(max-width:760px){.analysis-kpis{grid-template-columns:1fr 1fr}.analysis-layout{grid-template-columns:1fr}.ai-entry>strong{font-size:0}.ai-entry>strong:after{content:'→';font-size:18px}}

/* 매입 단가 보정 안내 */
.panel-note{margin:6px 0 0;font-size:13px;line-height:1.55;color:#5a6b83;max-width:640px}

.daily-brief{padding:28px;background:linear-gradient(125deg,#10192d,#243e72);color:#fff;border-radius:22px;margin-bottom:14px}.daily-brief span{color:#9fc1ff;font-weight:800}.daily-brief h2{font-size:26px;margin:7px 0}.daily-brief small{color:#cbd7ea}.ask-book{background:#fff;border:1px solid #dfe4ed;border-radius:20px;padding:22px;margin-bottom:14px}.ask-book h2{margin:3px 0 15px}.ask-book form{display:flex;gap:8px}.ask-book input{flex:1;border:2px solid #175cd3;border-radius:12px;padding:14px;font:inherit}.ask-book button{border:0;border-radius:12px;background:#175cd3;color:#fff;padding:0 20px;font-weight:800}.quick-questions{display:flex;gap:7px;margin-top:10px;flex-wrap:wrap}.quick-questions a{padding:7px 11px;background:#edf4ff;border-radius:99px;color:#175cd3;text-decoration:none;font-size:13px;font-weight:800}.ask-book article{margin-top:14px;padding:16px;background:#f0f6ff;border-radius:13px}.ask-book article p{margin:5px 0;color:#25364f}.today-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px}.today-actions>div{display:grid;grid-template-columns:1fr auto;background:#fff;border:1px solid #e4e8ee;border-radius:15px;padding:17px}.today-actions span,.today-actions small{color:#6b7482}.today-actions strong{grid-row:1/3;grid-column:2;font-size:28px}.today-actions a{margin-top:8px;color:#175cd3;font-weight:800;text-decoration:none}@media(max-width:760px){.today-actions{grid-template-columns:1fr}.ask-book form{display:grid}.ask-book button{padding:13px}.daily-brief h2{font-size:22px}}

.daily-brief{display:flex;align-items:center;gap:20px}.brief-icon,.ask-icon,.action-icon{display:grid;place-items:center}.brief-icon{flex:0 0 64px;height:64px;border-radius:20px;background:#ffffff18}.brief-icon svg{width:36px}.daily-brief h2{margin:4px 0}.ask-title{display:flex;align-items:center;gap:12px;margin-bottom:14px}.ask-title h2{margin:0}.ask-icon{width:44px;height:44px;border-radius:13px;background:#edf4ff;color:#175cd3}.ask-icon svg{width:25px}.ask-book svg,.today-actions svg,.daily-brief svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.ask-book form button{display:flex;align-items:center;gap:7px}.ask-book form button svg{width:21px}.quick-questions{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.quick-questions a{display:flex;align-items:center;gap:10px;border-radius:14px;padding:13px;background:#f6f8fb;color:#18212f;border:1px solid #e4e8ee}.quick-questions a:hover{border-color:#175cd3;background:#edf4ff}.quick-questions svg{flex:0 0 29px;width:29px;color:#175cd3}.quick-questions b,.quick-questions small{display:block}.quick-questions small{color:#6b7482;font-weight:500}.answer-card{display:flex;gap:12px;align-items:flex-start}.answer-icon{flex:0 0 34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#175cd3;color:#fff;font-size:12px;font-weight:900}.today-actions a{display:grid;grid-template-columns:46px 1fr auto;align-items:center;gap:12px;background:#fff;border:1px solid #e4e8ee;border-radius:16px;padding:15px;color:#18212f;text-decoration:none}.today-actions a:hover{border-color:#175cd3}.action-icon{width:46px;height:46px;border-radius:14px;background:#edf4ff;color:#175cd3}.action-icon svg{width:25px}.today-actions span b,.today-actions span small{display:block}.today-actions span small{color:#6b7482}.today-actions a>strong{font-size:28px}@media(max-width:760px){.quick-questions{grid-template-columns:1fr 1fr}.brief-icon{flex-basis:50px;height:50px}.brief-icon svg{width:28px}.daily-brief{align-items:flex-start}.today-actions a{grid-template-columns:44px 1fr auto}}@media(max-width:390px){.quick-questions{grid-template-columns:1fr}.ask-book form button span{display:none}}

.simple-modules{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0 24px}.simple-modules a{position:relative;display:flex;flex-direction:column;min-height:160px;padding:18px;background:#fff;border:1px solid #e2e7ee;border-radius:18px;color:#18212f;text-decoration:none}.simple-modules a:hover{border-color:#175cd3;box-shadow:0 8px 22px #173a7012}.simple-modules i{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:#edf4ff;color:#175cd3}.simple-modules svg{width:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.simple-modules b{font-size:18px;margin-top:12px}.simple-modules small{color:#6b7482}.simple-modules strong{margin-top:auto;color:#175cd3}.simple-modules em,.simple-modules .lock{position:absolute;right:12px;top:12px;font-style:normal;font-size:11px;padding:4px 7px;border-radius:99px;background:#f1edf0;color:#785367}.simple-modules .lock{background:#e9f1ff;color:#175cd3}.simple-modules .building{background:#fafbfc}.payroll-access{display:flex;align-items:center;gap:14px;background:#edf4ff;border-radius:15px;padding:17px;margin-bottom:15px}.payroll-access i{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#175cd3;color:#fff}.payroll-access b,.payroll-access small{display:block}.payroll-access small{color:#5e6c7f}.payroll-entry{background:#fff;border:1px solid #e4e8ee;border-radius:15px;padding:16px;margin-bottom:15px}.payroll-entry summary{font-weight:800;cursor:pointer}.payroll-entry form{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}.payroll-entry label{font-weight:700}.payroll-entry input,.payroll-entry select{display:block;width:100%;padding:11px;border:1px solid #cbd3df;border-radius:9px;margin-top:5px}.payroll-total{display:flex;justify-content:space-between;align-items:end;padding:20px;background:#18212f;color:#fff;border-radius:15px;margin-bottom:15px}.payroll-total strong{font-size:28px}.payroll-list{background:#fff;border:1px solid #e4e8ee;border-radius:15px;overflow:auto}.pay-row{display:grid;grid-template-columns:120px 1fr repeat(4,130px);gap:10px;min-width:800px;padding:13px 16px;border-top:1px solid #edf0f4}.pay-row.heading{background:#f4f7fb;border:0;font-weight:800}.pay-row strong{text-align:right}@media(max-width:760px){.simple-modules{grid-template-columns:1fr 1fr}.simple-modules a{min-height:145px}.payroll-entry form{grid-template-columns:1fr}}@media(max-width:390px){.simple-modules{grid-template-columns:1fr 1fr;gap:8px}.simple-modules a{padding:14px;min-height:138px}.simple-modules i{width:42px;height:42px}.simple-modules b{font-size:16px}}

.workforce-month{display:flex;justify-content:flex-end;align-items:end;gap:8px;margin:12px 0}.workforce-month label{font-weight:800}.workforce-month input{display:block;padding:9px;border:1px solid #cbd3df;border-radius:9px}.workforce-month button{padding:10px 14px;border:0;border-radius:9px;background:#243d5e;color:#fff;font-weight:900}.workforce-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:14px 0 22px}.workforce-kpis article{padding:17px;border:1px solid #dfe6ef;border-radius:16px;background:#fff}.workforce-kpis span,.workforce-kpis small{display:block;color:#647388}.workforce-kpis strong{display:block;margin:7px 0;font-size:23px}.workforce-kpis .incentive{border-top:4px solid #e3a008}.workforce-kpis .alert{border:2px solid #d9352b;background:#fff1f0}.workforce-kpis .alert strong{color:#c42620}.workforce-entry-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.workforce-entry-grid .payroll-entry{margin:0}.payroll-entry form .wide{grid-column:span 2}.form-note{grid-column:1/-1;margin:0;color:#6b7482;font-size:12px}.card-expense-entry{grid-column:1/-1}.expense-empty-guide{grid-column:1/-1;padding:15px;border-radius:12px;background:#fff5db;color:#7b5700}.corporate-card-list{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.corporate-card-list article{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid #dfe6ef;border-radius:15px;background:#fff}.corporate-card-list i{display:grid;place-items:center;width:52px;height:34px;border-radius:7px;background:#183c6b;color:#fff;font-size:10px;font-style:normal}.corporate-card-list span{min-width:0;flex:1}.corporate-card-list b,.corporate-card-list small{display:block}.corporate-card-list small{color:#6b7482}.corporate-card-list strong{font-size:13px}.expense-list{overflow:auto;border:1px solid #dfe6ef;border-radius:16px;background:#fff}.expense-row{display:grid;grid-template-columns:95px 170px minmax(190px,1fr) minmax(210px,1fr) 120px minmax(190px,1fr);gap:10px;align-items:center;min-width:1050px;padding:13px 15px;border-top:1px solid #edf0f4}.expense-row.heading{border:0;background:#eef3f9;font-weight:900}.expense-row b,.expense-row small{display:block}.expense-row small{color:#6b7482}.expense-row>strong{text-align:right}.expense-row.attention{border-left:7px solid #d52d25;background:#fff0ef}.expense-row.cleared{border-left:7px solid #2a8b63}.expense-alert{color:#c92821;font-size:12px;font-style:normal;font-weight:900}.expense-cleared{color:#18724f;font-style:normal;font-weight:900}.expense-normal{color:#52677f;font-style:normal}.expense-review{display:flex;gap:4px;margin-top:7px}.expense-review input{min-width:0;width:125px;padding:5px;border:1px solid #e0aaa7;border-radius:6px}.expense-review button{border:0;border-radius:6px;background:#c92821;color:#fff;font-weight:800}.expense-policy-note{padding:12px 15px;border-left:4px solid #d52d25;background:#fff;color:#657488;font-size:13px}.workforce-pay-row{grid-template-columns:110px minmax(150px,1fr) repeat(5,115px);min-width:900px}@media(max-width:1000px){.workforce-kpis{grid-template-columns:repeat(3,1fr)}.workforce-entry-grid{grid-template-columns:1fr}.card-expense-entry{grid-column:auto}.corporate-card-list{grid-template-columns:1fr 1fr}}@media(max-width:760px){.workforce-kpis{grid-template-columns:1fr 1fr}.workforce-entry-grid .payroll-entry form .wide{grid-column:auto}.corporate-card-list{grid-template-columns:1fr}}@media(max-width:440px){.workforce-kpis{grid-template-columns:1fr}}

.customer-work{display:grid;grid-template-columns:2fr 1fr;gap:13px;margin:14px 0 24px}.customer-work details,.customer-work aside{background:#fff;border:1px solid #e4e8ee;border-radius:16px;padding:17px}.customer-work summary{font-weight:900;cursor:pointer}.customer-work form{display:grid;grid-template-columns:repeat(4,1fr) auto;gap:9px;align-items:end;margin-top:14px}.customer-work label{font-size:13px;font-weight:800}.customer-work input,.customer-work select{display:block;width:100%;padding:10px;border:1px solid #cbd3df;border-radius:9px;margin-top:4px}.customer-work aside b,.customer-work aside span,.customer-work aside small{display:block}.customer-work aside span{margin-top:8px}.customer-work aside small{color:#6b7482;margin-top:5px}.receivable-ledger{background:#fff;border:1px solid #e4e8ee;border-radius:16px;overflow:auto;margin-bottom:24px}.receive-row{display:grid;grid-template-columns:120px repeat(4,1fr);min-width:680px;padding:13px 16px;border-top:1px solid #edf0f4;text-align:right}.receive-row.heading{background:#f4f7fb;border:0;font-weight:900}.receive-row span:first-child{text-align:left}.receive-row span small{display:block;color:#6b7482}.receive-row strong{color:#175cd3}.receive-row.error{background:#fff1ef}.receive-row.error strong{color:#c4372c}@media(max-width:900px){.customer-work{grid-template-columns:1fr}.customer-work form{grid-template-columns:1fr 1fr}.customer-work form button{grid-column:1/-1}}@media(max-width:520px){.customer-work form{grid-template-columns:1fr}}

.global-nav{display:flex;align-items:center;gap:7px;margin-left:auto;margin-right:14px;min-width:0;overflow-x:auto;scrollbar-width:none}.global-nav::-webkit-scrollbar{display:none}.global-nav a,.global-nav button{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;white-space:nowrap;border:1px solid #dfe4eb;background:#fff;border-radius:10px;padding:8px 11px;color:#25364f;text-decoration:none;font:inherit;font-size:13.5px;font-weight:800;line-height:1;cursor:pointer}.global-nav .pictogram{display:inline-block;width:17px;height:17px;margin:0;flex:0 0 auto}.topbar .user{flex:0 0 auto;white-space:nowrap}@media(max-width:1280px){.global-nav a span,.global-nav button span{display:none}.global-nav a,.global-nav button{padding:8px 9px}}.mobile-nav button{border:0;background:#fff;color:#18212f;display:grid;place-items:center;font:inherit;font-size:20px}.mobile-nav button span{font-size:11px}@media(max-width:760px){.global-nav{display:none}}

/* 판 번호 표시 — 어느 전체본인지 확인용 */
.build-tag{margin:26px auto 90px;max-width:1180px;padding:8px 14px;color:#98a5b5;font-size:12px;text-align:center}

/* 상단 메뉴는 한 줄에 억지로 넣지 않고 회사·사용자와 작업 메뉴를 두 줄로 분리한다. */
.topbar{height:auto;min-height:86px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"brand companies user" "nav nav nav";row-gap:8px;padding-top:9px;padding-bottom:9px;align-items:center}
.topbar .brand{grid-area:brand;min-width:184px}
.topbar .top-company-switch{grid-area:companies;margin-left:18px;max-width:100%;overflow-x:auto}
.topbar .global-nav{grid-area:nav;width:100%;margin:0;padding-top:7px;border-top:1px solid #edf0f4;justify-content:flex-start;overflow-x:auto}
.topbar .global-nav a,.topbar .global-nav button{padding:8px 12px}
.topbar .user{grid-area:user;justify-self:end}
@media (min-width:761px) and (max-width:1280px){.topbar .global-nav a span,.topbar .global-nav button span{display:inline}.topbar .global-nav a,.topbar .global-nav button{padding:8px 11px}}
/* 좁은 화면에서도 회사 버튼은 로고 옆에, 남는 여백은 사용자 정보 앞에 둡니다. */
@media(max-width:760px){
  .topbar{display:flex;height:62px;min-height:62px;padding-top:0;padding-bottom:0;justify-content:flex-start}
  .topbar .global-nav{display:none}
  .topbar .top-company-switch{margin-left:4px;max-width:52vw}
  .topbar .user{margin-left:auto}
  .topbar .brand{min-width:0}
}

/* 공통 상단 메뉴는 데스크톱에서도 화면 안에서 줄바꿈하고, 폭이 좁아도 사용자 영역을 밀어내지 않습니다. */
.topbar{width:100%;max-width:none;box-sizing:border-box}
.topbar .brand,.topbar .top-company-switch,.topbar .global-nav,.topbar .user{min-width:0}
.topbar .top-company-switch{max-width:100%;flex-wrap:wrap}
.topbar .global-nav{flex-wrap:wrap;overflow:visible}
@media(min-width:761px){
     .topbar{grid-template-columns:minmax(184px,auto) minmax(0,1fr) auto}
     .topbar .top-company-switch{overflow:visible}
   }

/* 상단 메뉴도 화면 폭을 넘기지 않고 내부에서 자연스럽게 줄바꿈합니다. */
.topbar,.topbar>*{min-width:0;max-width:100%;box-sizing:border-box}
.topbar a,.topbar button{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.topbar .global-nav,.topbar .top-company-switch{min-width:0;max-width:100%;flex-wrap:wrap}
/* Keep desktop navigation on one readable line; use horizontal scrolling rather than vertical collisions. */
@media (min-width: 761px) {
  .topbar .global-nav,
  .topbar .top-company-switch {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: thin;
  }

  .topbar .global-nav span,
  .topbar .top-company-switch span {
    display: inline;
  }

  .topbar a,
  .topbar button {
    min-width: max-content;
    max-width: none;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: keep-all;
  }
}

@media (min-width: 1281px) {
  .topbar {
    grid-template-columns: minmax(200px, auto) minmax(0, 1fr) auto;
    padding-left: clamp(24px, 3vw, 64px);
    padding-right: clamp(24px, 3vw, 64px);
  }
}

/* 모바일 하단 메뉴 — 아이폰·갤럭시에서 한글이 세로로 쪼개지지 않도록 고정 */
@media(max-width:760px){
  .mobile-nav{align-items:stretch;justify-content:stretch;padding-bottom:env(safe-area-inset-bottom);height:calc(66px + env(safe-area-inset-bottom));box-shadow:0 -5px 18px rgba(27,59,107,.08)}
  .mobile-nav>a,.mobile-nav>button{box-sizing:border-box;flex:1 1 0;width:auto;min-width:0;height:66px;padding:7px 2px 5px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;white-space:nowrap;word-break:keep-all;overflow:hidden}
  .mobile-nav>a .pictogram{width:23px;height:23px;flex:0 0 auto}
  .mobile-nav>a span,.mobile-nav>button span{display:block;width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:keep-all;text-align:center;font-size:12px;line-height:1.15}
  .mobile-nav>button{font-size:24px;line-height:1}
}
@media(max-width:360px){
  .mobile-nav>a,.mobile-nav>button{padding-left:1px;padding-right:1px}
  .mobile-nav>a .pictogram{width:21px;height:21px}
  .mobile-nav>a span,.mobile-nav>button span{font-size:11px}
}

/* 영업사원용 빠른 이동 — 화면 내용과 분리된 하단 고정 메뉴 */
.employee-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:1200;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;width:auto;margin:0;padding:10px max(14px,calc((100vw - 1280px)/2));padding-bottom:max(10px,env(safe-area-inset-bottom));border:1px solid #d7e3f2;border-bottom:0;border-radius:22px 22px 0 0;background:rgba(255,255,255,.97);box-shadow:0 -9px 26px rgba(35,67,104,.16);backdrop-filter:blur(12px);box-sizing:border-box}
.employee-bottom-nav-item{display:flex;min-width:0;min-height:92px;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:10px 8px;border:1px solid #d5e1ed;border-radius:15px;background:#fff;color:#1c2b41;text-decoration:none;cursor:pointer;box-sizing:border-box}
.employee-bottom-nav-item:hover,.employee-bottom-nav-item:focus-visible{border-color:#8fb5e8;background:#f2f7ff;outline:0}
.employee-bottom-nav-item.active{border-color:#1d5cc9;background:#1d5cc9;color:#fff;box-shadow:0 4px 12px rgba(29,92,201,.24)}
.employee-bottom-nav-item.back{border-color:#cfdbe8;color:#526b88}
.employee-bottom-nav-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#edf4fc;color:#1d5cc9;font-size:30px;font-weight:900;line-height:1}
.employee-bottom-nav-icon .pictogram{width:28px;height:28px;margin:0}
.employee-bottom-nav-item.active .employee-bottom-nav-icon{background:rgba(255,255,255,.18);color:#fff}
.employee-bottom-nav-item.back .employee-bottom-nav-icon{background:#eef1f5;color:#526b88}
.employee-bottom-nav-item b{font-size:16px;line-height:1.2;white-space:nowrap}
.employee-bottom-nav-item small{color:#6b7d94;font-size:11px;line-height:1.2;white-space:nowrap}
.employee-bottom-nav-item.active small{color:#dceaff}
body:has(.employee-bottom-nav) .mobile-nav{display:none!important}
body:has(.employee-bottom-nav) .shell{padding-bottom:124px}
@media(max-width:760px){.employee-bottom-nav{gap:6px;padding:7px 8px;padding-bottom:max(7px,env(safe-area-inset-bottom))}.employee-bottom-nav-item{min-height:82px;padding:7px 3px;border-radius:12px}.employee-bottom-nav-icon{width:34px;height:34px;border-radius:9px;font-size:23px}.employee-bottom-nav-icon .pictogram{width:23px;height:23px}.employee-bottom-nav-item b{font-size:12px}.employee-bottom-nav-item small{display:none}}
.team-nav-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}.team-nav-icon .pictogram{margin:0}.nav-unread-badge{position:absolute;top:-9px;right:-11px;display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border:2px solid #fff;border-radius:999px;background:#d83c3c;color:#fff;font-size:10px;font-style:normal;font-weight:900;line-height:1;box-sizing:border-box}.nav-unread-badge.is-hidden{display:none!important}.employee-bottom-nav-icon{position:relative}.employee-bottom-nav-icon .nav-unread-badge{top:-7px;right:-8px}

/* 모든 일반 업무 화면은 회사 업무 대시보드와 같은 상단 헤더를 유지합니다. */
.global-persistent-header{position:sticky;top:0;background:#0f1b2e;color:#fff;border-bottom:1px solid rgba(255,255,255,.08);box-shadow:0 2px 12px rgba(15,27,46,.25);z-index:1000}
.global-persistent-header .brand{color:#fff}
.global-persistent-header .brand small{color:#9fb0c9}
.global-persistent-header .brand-mark{width:32px;height:32px;border-radius:9px;background:#f5b301;color:#231a02;font-size:14px;font-weight:900}
.global-persistent-header .top-company-switch{gap:6px}
.global-persistent-header .top-company-switch a{padding:7px 14px 7px 9px;border:0;border-radius:999px;background:rgba(255,255,255,.08);color:#c9d4e8;font-size:13px;font-weight:500}
.global-persistent-header .top-company-switch a:hover,.global-persistent-header .top-company-switch a:focus-visible{border:0;background:rgba(255,255,255,.16);color:#fff;outline:0}
.global-persistent-header .top-company-switch a.active{border:0;background:#1d4ed8;color:#fff;box-shadow:none;font-weight:700}
.global-persistent-header .top-company-switch i{width:8px;height:8px;border-radius:3px;background:#9db8ff;color:transparent;font-size:0}
.global-persistent-header .top-company-switch .company-pz i{background:#75d3a6}
.global-persistent-header .top-company-switch .company-chooser{width:32px;height:32px;padding:0;border:0;background:rgba(255,255,255,.08);color:#c9d4e8;font-size:18px}
.global-persistent-header .top-company-switch .company-chooser:hover,.global-persistent-header .top-company-switch .company-chooser:focus-visible{background:rgba(255,255,255,.16);color:#fff}
.global-persistent-header .global-nav{gap:6px;padding-top:8px;border-top:1px solid rgba(255,255,255,.08)}
.global-persistent-header .global-nav a,.global-persistent-header .global-nav button{padding:6px 12px;border:0;border-radius:8px;background:transparent;color:#c9d4e8;font-size:12px;font-weight:500}
.global-persistent-header .global-nav a:hover,.global-persistent-header .global-nav a:focus-visible,.global-persistent-header .global-nav button:hover,.global-persistent-header .global-nav button:focus-visible{background:rgba(255,255,255,.12);color:#fff;outline:0}
.global-persistent-header .global-nav .pictogram{width:15px;height:15px}
.global-persistent-header .user{color:#9fb0c9;font-size:12px}
.global-persistent-header .user small{color:#9fb0c9}
.global-persistent-header .link{padding:6px 12px;border:1px solid rgba(255,255,255,.25);border-radius:8px;color:#c9d4e8}
.global-persistent-header .link:hover,.global-persistent-header .link:focus-visible{background:rgba(255,255,255,.12);color:#fff;outline:0}
.global-persistent-header .global-nav::after{content:'열린 거래처 · 거래처를 누르면 여기에 탭으로 열립니다';margin-left:auto;padding:6px 0;color:#7f8cab;font-size:11px;white-space:nowrap}
.global-persistent-header .global-nav::after:first-letter{color:#c9d4e8}
.global-persistent-header + .workspace-tabs{background:#0f1b2e;border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08);box-shadow:none;color:#c9d4e8}
.global-persistent-header + .workspace-tabs .workspace-tabs-title,.global-persistent-header + .workspace-tabs .workspace-tab-empty{color:#9fb0c9}
.global-persistent-header + .workspace-tabs .workspace-tab{border-color:rgba(255,255,255,.2);background:rgba(255,255,255,.08)}
.global-persistent-header + .workspace-tabs .workspace-tab.active{border-color:#76a7ff;background:rgba(29,78,216,.55);box-shadow:inset 0 -3px 0 #76a7ff}
.global-persistent-header + .workspace-tabs .workspace-tab a{color:#fff}
.global-persistent-header + .workspace-tabs .workspace-tab-company{background:rgba(255,255,255,.15);color:#dbe7ff}
.global-persistent-header + .workspace-tabs .workspace-tab-close{border-left-color:rgba(255,255,255,.15);color:#c9d4e8}
.global-persistent-header + .workspace-tabs .workspace-tabs-clear{color:#c9d4e8}
@media(max-width:1280px){.global-persistent-header .global-nav::after{display:none}}
@media(max-width:760px){.global-persistent-header .global-nav::after{display:none}.global-persistent-header .brand-mark{width:30px;height:30px}.global-persistent-header .top-company-switch a{padding:6px}.global-persistent-header + .workspace-tabs{top:62px}}
@media(min-width:761px){.global-persistent-header + .workspace-tabs{top:112px}}
.global-persistent-header + .workspace-tabs:not(:has(.workspace-tab)){display:none}
.global-persistent-header + .workspace-tabs{top:var(--erp-header-height,112px);z-index:999}
.global-persistent-header .top-company-switch a span{display:inline}
@media print{.global-persistent-header,.global-persistent-header + .workspace-tabs{display:none!important}}
/* Five ledgers remain distinguishable, including the two Prime names. */
/* Compact shared header: keep names and usable targets, trim vertical whitespace. */
@media(min-width:761px){
  .topbar.global-persistent-header{min-height:0;row-gap:3px;padding-top:5px;padding-bottom:5px}
  .global-persistent-header .global-nav{padding-top:3px;gap:4px}
  .global-persistent-header .global-nav a,.global-persistent-header .global-nav button{min-height:32px;padding:4px 10px}
  .global-persistent-header .top-company-switch a{padding-top:5px;padding-bottom:5px;min-height:32px}
  .global-persistent-header .user .login-identity{gap:1px;line-height:1.3}
  .global-persistent-header + .workspace-tabs{min-height:0;padding-top:3px;padding-bottom:3px}
  .global-persistent-header + .workspace-tabs .workspace-tab a{padding-top:4px;padding-bottom:4px;min-height:36px}
  .global-persistent-header + .workspace-tabs .workspace-tab-text{line-height:1.25}
  .global-persistent-header + .workspace-tabs .workspace-tab-close{min-width:30px}
}
@media(max-width:760px){
  .topbar.global-persistent-header{row-gap:4px;padding-top:5px;padding-bottom:5px}
  .global-persistent-header + .workspace-tabs{padding-top:3px;padding-bottom:3px}
  .global-persistent-header + .workspace-tabs .workspace-tab a{min-height:44px;padding-top:3px;padding-bottom:3px}
  .global-persistent-header + .workspace-tabs .workspace-tab-close{min-width:44px}
}
@media(max-width:760px){
  .global-persistent-header .top-company-switch{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden}
  .global-persistent-header .top-company-switch a{flex:0 0 auto;white-space:nowrap;padding:7px 10px}
  .global-persistent-header .top-company-switch a span{display:inline}
}

.customer-sale-entry{background:linear-gradient(130deg,#173b72,#176b62);color:#fff;border-radius:20px;padding:23px;margin-bottom:14px}.customer-sale-entry header{display:flex;justify-content:space-between;align-items:end}.customer-sale-entry header span,.customer-sale-entry header small{color:#cce7e2}.customer-sale-entry h2{margin:3px 0}.customer-sale-entry form{display:grid;grid-template-columns:2fr .65fr 1fr 1.1fr auto;gap:9px;align-items:end;margin-top:17px}.customer-sale-entry label{font-size:13px;font-weight:800}.customer-sale-entry input{display:block;width:100%;padding:12px;border:0;border-radius:10px;margin-top:5px;font:inherit}.sale-live-total{background:#ffffff18;border-radius:11px;padding:9px 12px}.sale-live-total span,.sale-live-total strong,.sale-live-total small{display:block}.sale-live-total strong{font-size:20px}.sale-live-total small{color:#cce7e2}@media(max-width:900px){.customer-sale-entry form{grid-template-columns:1fr 1fr}.customer-sale-entry .product-find,.customer-sale-entry form button{grid-column:1/-1}}@media(max-width:520px){.customer-sale-entry header{display:block}.customer-sale-entry form{grid-template-columns:1fr}.customer-sale-entry .product-find,.customer-sale-entry form button{grid-column:auto}}

.ai-connection{display:inline-flex;margin-top:7px;padding:6px 10px;border-radius:99px;background:#fff1df;color:#9b5a00;font-size:12px;font-weight:800}.ai-connection.connected{background:#e7f7ef;color:#08734c}

.customer-sale-entry select{display:block;width:100%;padding:12px;border:0;border-radius:10px;margin-top:5px;font:inherit;background:#fff}.customer-sale-entry .zero-rate-reason{display:none}.customer-sale-entry .zero-rate-reason.show{display:block}.sale-live-total span{display:flex;justify-content:space-between;gap:8px}.sale-live-total span b{font-weight:900}.sale-live-total>strong{display:flex;justify-content:space-between;border-top:1px solid #ffffff35;margin-top:4px;padding-top:4px}.tax-caution{color:#d9ece9;font-size:12px;margin:11px 0 0}

.quick-tax-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.quick-tax-summary>div{background:#fff;border:1px solid #e4e8ee;border-radius:14px;padding:16px}.quick-tax-summary span,.quick-tax-summary strong{display:block}.quick-tax-summary span{color:#6b7482}.quick-tax-summary strong{font-size:22px;margin-top:4px}.quick-tax-summary>div:last-child{background:#edf4ff;border-color:#bad1f4;color:#175cd3}@media(max-width:600px){.quick-tax-summary{grid-template-columns:1fr}}

:root{--a4-paper:#fff;--a4-ink:#111;--a4-muted:#555;--a4-line:#b8b8b8;--a4-olive:#fff;--a4-olive-deep:#222;--a4-green:#111;--a4-white:#fff}
*{box-sizing:border-box}
body.a4-document{margin:0;background:#ececec;color:var(--a4-ink);font-family:"Pretendard","Noto Sans KR","맑은 고딕",sans-serif;font-size:11px;line-height:1.55}
.print-toolbar{position:sticky;top:0;z-index:5;display:flex;justify-content:center;gap:8px;padding:12px;background:#fff;border-bottom:1px solid #222;box-shadow:none}.print-toolbar a,.print-toolbar button{border:1px solid #222;border-radius:7px;padding:10px 15px;background:#fff;color:#111;font:inherit;font-weight:900;text-decoration:none;cursor:pointer}.print-toolbar .primary{background:#fff;border-color:#222;color:#111}
.a4-page{position:relative;box-sizing:border-box;width:210mm;min-height:297mm;margin:10mm auto;padding:12mm 15mm 10mm;background:var(--a4-paper);color:var(--a4-ink);border:1px solid #bdbdbd;border-radius:0 30px 0 30px;box-shadow:0 8px 26px #00000016;font-family:inherit;page:portrait-page;overflow:hidden}.a4-page:before{content:"";position:absolute;top:0;left:0;right:0;height:7px;background:var(--a4-olive-deep)}.a4-page.landscape{width:297mm;min-height:210mm;page:landscape-page}
.a4-title{position:relative;text-align:left;margin:1mm 0 5mm;color:var(--a4-green);font-size:25px;font-weight:800;letter-spacing:0}.a4-title:before{content:"";display:inline-block;width:9px;height:23px;margin-right:10px;border-radius:2px;background:var(--a4-olive-deep);vertical-align:-2px}
.a4-meta{display:grid;grid-template-columns:1fr 1fr;gap:0 18px;margin-bottom:5mm;border:0}.a4-meta div{min-height:10mm;padding:2mm 0;border-bottom:1px solid var(--a4-line)}.a4-meta div:nth-child(even){border-right:0}.a4-meta b{display:inline-block;width:28mm;color:var(--a4-muted);font-size:10px;font-weight:800}
.a4-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;color:var(--a4-ink);font-size:10px}.a4-table th,.a4-table td{padding:2mm 1.5mm;border:0;border-bottom:1px solid var(--a4-line);text-align:center;word-break:break-all}.a4-table thead th{border-top:1px solid var(--a4-olive-deep);border-bottom:1px solid var(--a4-olive-deep);background:var(--a4-olive);color:var(--a4-green);font-weight:900}.a4-table .left{text-align:left}.a4-table .right{text-align:right}.a4-table tbody tr:last-child td{border-bottom-color:var(--a4-olive-deep)}
.a4-total{display:flex;justify-content:flex-end;gap:10mm;margin-top:5mm;padding:3mm 0;border-top:1px solid var(--a4-olive-deep);border-bottom:2px solid var(--a4-green);color:var(--a4-ink)}.a4-total strong{font-size:18px;color:var(--a4-green)}.quantity-journal-table th:last-child,.quantity-journal-table td:last-child{font-weight:900}.quantity-total{justify-content:flex-end}.a4-sign{display:flex;justify-content:space-between;margin-top:10mm;padding-top:3mm;border-top:1px solid var(--a4-line);color:var(--a4-muted)}.a4-note{margin-top:3mm;color:var(--a4-muted);font-size:10px}.document-form-menu{display:flex;flex-wrap:wrap;gap:8px}.document-form-menu form{margin:0}.document-form-menu a,.document-form-menu button{border:1px solid var(--a4-olive-deep);border-radius:7px;padding:9px 12px;background:var(--a4-white);color:var(--a4-green);text-decoration:none;font:inherit;font-weight:800;cursor:pointer}

/* 견적서 공통 헤더·하단 정보 */
.a4-brand{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:0 0 5mm}.a4-brand-id{display:flex;align-items:center;gap:10px}.a4-logo-mark{display:grid;place-items:center;width:16mm;height:16mm;background:#fff;border:1px solid #222;color:var(--a4-green);font-size:20px;font-weight:900}.a4-brand-name{display:block;color:var(--a4-green);font-size:18px;font-weight:900;line-height:1.05}.a4-brand-sub{display:block;margin-top:4px;color:var(--a4-muted);font-size:10px}.a4-brand-meta{text-align:right;color:var(--a4-muted);font-size:10px}.a4-brand-meta strong{display:block;color:var(--a4-green);font-size:12px}.a4-document-title-row{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:4mm}.a4-document-title-row .a4-title{margin:0}.a4-document-stamp{color:var(--a4-muted);font-size:10px;text-align:right}.quote-page .a4-title{font-size:29px}.quote-page .a4-title:before{height:27px}.quote-parties{display:grid;grid-template-columns:1fr 1fr;gap:12mm;margin:1mm 0 5mm}.quote-party{position:relative;display:grid;gap:2px;padding:0 0 1mm 6mm;border-left:5px solid #ddd}.quote-party span{color:var(--a4-muted);font-size:10px;font-weight:800}.quote-party b{font-size:12px}.quote-party small{color:var(--a4-ink)}.quote-spec{display:block;margin-top:2px;color:var(--a4-muted);font-size:9px}.quote-table th:first-child{text-align:left}.quote-table th:nth-child(1){width:52%}.quote-table th:nth-child(2){width:12%}.quote-table th:nth-child(3),.quote-table th:nth-child(4){width:18%}.quote-summary{display:flex;justify-content:flex-end;margin-top:5mm}.quote-summary-inner{display:grid;grid-template-columns:auto auto;gap:3px 26mm;min-width:70mm;padding:2mm 0 2mm 6mm;border-left:5px solid #ddd}.quote-summary-inner span:nth-child(odd){color:var(--a4-muted)}.quote-summary-inner span:nth-child(even){text-align:right}.quote-summary-inner strong{font-size:16px;color:var(--a4-green)}.a4-footer{display:grid;grid-template-columns:1fr 1fr;gap:12mm;margin-top:18mm;padding-top:5mm;border-top:1px solid var(--a4-line)}.a4-footer section{display:grid;gap:2px}.a4-footer-label{color:var(--a4-muted);font-size:10px;font-weight:800}.a4-footer strong{color:var(--a4-green);font-size:13px}.a4-footer small{font-size:10px}.a4-footer-brand{display:flex;align-items:center;gap:8px}.a4-footer-brand .a4-logo-mark{width:10mm;height:10mm;font-size:14px}

/* 개별 출력자료도 같은 아이보리·올리브 체계로 유지 */
.a4-document .report-table,.a4-document .inventory-print-table,.a4-document .workforce-table{border-collapse:separate;border-spacing:0;color:var(--a4-ink)}.a4-document .report-table th,.a4-document .inventory-print-table th,.a4-document .workforce-table th{background:var(--a4-olive)!important;color:var(--a4-green);border:0!important;border-top:1px solid var(--a4-olive-deep)!important;border-bottom:1px solid var(--a4-olive-deep)!important}.a4-document .report-table td,.a4-document .inventory-print-table td,.a4-document .workforce-table td{border:0!important;border-bottom:1px solid var(--a4-line)!important}.a4-document .report-table tr:last-child td,.a4-document .inventory-print-table tr:last-child td,.a4-document .workforce-table tr:last-child td{border-bottom-color:var(--a4-olive-deep)!important}.inventory-print-head{border-bottom-color:var(--a4-olive-deep)!important}.inventory-print-summary span,.settle-summary span,.workforce-summary span{border-color:var(--a4-olive-deep)!important;background:var(--a4-olive)!important;color:var(--a4-green)}.section-title{border-bottom-color:var(--a4-olive-deep)!important;color:var(--a4-green)}.a4-document .attention{color:#a83e36}.a4-document .print-actions button,.a4-document .print-actions a{background:var(--a4-green);color:var(--a4-paper)}.a4-document .print-actions a.excel{background:#526a4c}
.sales-slip-page .slip-copy-type{margin:-4mm 0 6mm;color:var(--a4-muted);font-size:10px;font-weight:800}.sales-slip-page .slip-table{font-size:9.5px}.sales-slip-page .slip-table th,.sales-slip-page .slip-table td{padding:2.2mm 1.2mm}.sales-slip-page .slip-table th:nth-child(1){width:9%}.sales-slip-page .slip-table th:nth-child(2){width:28%}.sales-slip-page .slip-table th:nth-child(3){width:15%}.sales-slip-page .slip-table th:nth-child(4),.sales-slip-page .slip-table th:nth-child(5),.sales-slip-page .slip-table th:nth-child(6),.sales-slip-page .slip-table th:nth-child(7){width:12%}.sales-slip-page .statement-slip-table th:nth-child(1){width:8%}.sales-slip-page .statement-slip-table th:nth-child(2){width:27%}.sales-slip-page .statement-slip-table th:nth-child(3){width:11%}.sales-slip-page .statement-slip-table th:nth-child(4),.sales-slip-page .statement-slip-table th:nth-child(5),.sales-slip-page .statement-slip-table th:nth-child(6),.sales-slip-page .statement-slip-table th:nth-child(7){width:13.5%}
@page portrait-page{size:A4 portrait;margin:0}@page landscape-page{size:A4 landscape;margin:0}@media print{body{background:#fff}.topbar,.workspace-tabs,.mobile-nav,.print-toolbar{display:none!important}.shell{width:auto!important;margin:0!important;padding:0!important}.a4-page{width:210mm;min-height:297mm;margin:0;padding:11mm 12mm 9mm;box-shadow:none;border-radius:0;page-break-after:always}.a4-page.landscape{width:297mm;min-height:210mm}.a4-page:last-child{page-break-after:auto}.a4-table thead{display:table-header-group}.a4-table tr{break-inside:avoid}.a4-footer{margin-top:12mm}body.a4-document:not(.color-print){filter:grayscale(100%)}body.a4-document.color-print{filter:none}*{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}}
@media screen{html,body{width:100%;min-width:0;overflow-x:hidden}body.a4-document{min-height:100vh}.print-toolbar{width:100%;min-width:0;box-sizing:border-box}.a4-page{width:min(210mm,calc(100vw - 32px));min-width:0;margin:16px auto;padding:clamp(16px,3vw,32px)}.a4-page.landscape{width:min(297mm,calc(100vw - 32px));min-width:0}.a4-page table{width:100%;max-width:100%;table-layout:fixed}.a4-page th,.a4-page td{min-width:0;overflow-wrap:anywhere}}
@media screen and (max-width:760px){.a4-title{font-size:clamp(21px,6vw,29px)}.a4-meta{grid-template-columns:1fr}.a4-total{flex-wrap:wrap;gap:12px;font-size:14px}.a4-brand{align-items:flex-start;flex-direction:column}.a4-brand-meta{text-align:left}.a4-document-title-row{align-items:flex-start;flex-direction:column}.a4-document-stamp{text-align:left}.a4-footer{grid-template-columns:1fr;margin-top:12mm}.quote-summary{justify-content:stretch}.quote-summary-inner{width:100%;min-width:0}}
@media screen and (max-width:560px){.quote-parties{grid-template-columns:1fr}}

/* 모든 공식 출력물은 A4 세로를 기본으로 사용합니다. 예전 landscape 클래스도
   기존 링크가 남아 있는 동안에는 세로 문서로 안전하게 해석합니다. */
@page{size:A4 portrait!important;margin:8mm!important}
@page landscape-page{size:A4 portrait!important;margin:0!important}
.a4-page.landscape{width:210mm;min-height:297mm;page:portrait-page}
@media print{.a4-page.landscape{width:210mm;min-height:297mm}}
@media screen{.a4-page.landscape{width:min(210mm,calc(100vw - 32px));min-width:0}}

/* 기간 거래명세서·매입 거래내역도 공식 출력물과 같은 톤을 사용합니다. */
.customer-period-document .sheet{max-width:297mm;margin:10mm auto;padding:16mm 15mm;background:var(--a4-paper);color:var(--a4-ink);border:1px solid #d2d4c0;border-radius:0 30px 0 30px;box-shadow:0 8px 26px #344d3822}.customer-period-document .preview-notice{border-color:var(--a4-olive-deep)!important;background:var(--a4-olive)!important;color:var(--a4-green)!important}.customer-period-document .actions button,.customer-period-document .actions a{background:var(--a4-green)!important;border-color:var(--a4-green)!important;color:var(--a4-paper)!important}.customer-period-document .preview-notice small,.customer-period-document .head p,.customer-period-document .head-info,.customer-period-document .ledger-title span{color:var(--a4-muted)!important}.customer-period-document .head{border-bottom-color:var(--a4-olive-deep)!important}.customer-period-document .head h1,.customer-period-document .ledger-title h2{color:var(--a4-green)}.customer-period-document .summary div{border-color:var(--a4-olive-deep)!important;background:var(--a4-olive)!important}.customer-period-document .summary .payment,.customer-period-document .summary .closing{background:var(--a4-olive)!important}.customer-period-document .summary span{color:var(--a4-muted)!important}.customer-period-document .data{border-collapse:separate;border-spacing:0;color:var(--a4-ink)}.customer-period-document .data th{background:var(--a4-olive)!important;color:var(--a4-green);border:0!important;border-top:1px solid var(--a4-olive-deep)!important;border-bottom:1px solid var(--a4-olive-deep)!important}.customer-period-document .data td{border:0!important;border-bottom:1px solid var(--a4-line)!important}.customer-period-document .data tr.payment,.customer-period-document .data tr.freight{background:transparent}.customer-period-document .data tr.payment td,.customer-period-document .data tr.freight td{background:var(--a4-olive)!important;border-color:var(--a4-line)!important}.customer-period-document .data tr.payment .payment-amount{color:var(--a4-green)!important}.customer-period-document .formula{border-color:var(--a4-green)!important;background:transparent!important;color:var(--a4-ink)}.customer-period-document .formula b{color:var(--a4-green)!important}
.supplier-statement-page{max-width:1900px;margin:0 auto;padding:22px;color:var(--a4-ink);background:var(--a4-paper);border:1px solid #d2d4c0;border-radius:0 30px 0 30px;box-shadow:0 8px 26px #344d3822}.supplier-statement-page .statement-head span{color:var(--a4-muted)}.supplier-statement-page .statement-head h1{color:var(--a4-green)}.supplier-statement-page .statement-head p{color:var(--a4-muted)}.supplier-statement-page .statement-actions a,.supplier-statement-page .statement-actions button{border-color:var(--a4-olive-deep);background:var(--a4-white);color:var(--a4-green)}.supplier-statement-page .statement-actions button{background:var(--a4-green);color:var(--a4-paper);border-color:var(--a4-green)}.supplier-statement-page .statement-summary article{border-color:var(--a4-olive-deep);border-top-color:var(--a4-olive-deep);background:var(--a4-olive)}.supplier-statement-page .statement-summary span,.supplier-statement-page .statement-summary small{color:var(--a4-muted)}.supplier-statement-page .statement-summary strong{color:var(--a4-green)}.supplier-statement-page .statement-table-wrap{border-color:var(--a4-olive-deep);border-radius:0}.supplier-statement-page .statement-table-wrap th{background:var(--a4-olive);color:var(--a4-green);border-color:var(--a4-line)}.supplier-statement-page .statement-table-wrap td{border-color:var(--a4-line)}.supplier-statement-page .statement-table-wrap tr.payment{background:var(--a4-olive)}

/* 거래처 정보 화면도 견적서의 공식 문서 톤으로 연결합니다. */
.customer-overview{overflow:hidden;border:1px solid #d2d4c0;border-radius:0 24px 0 24px;background:var(--a4-paper);box-shadow:0 8px 26px #344d3822}
.customer-overview>header{border-bottom:1px solid var(--a4-olive-deep);background:var(--a4-olive)}
.customer-overview>header span,.customer-info-modal-head span,.customer-contact-assignment header span{color:var(--a4-green)!important}
.customer-overview>header h2,.customer-info-modal-head h2,.customer-contact-assignment h2{color:var(--a4-green)}
.customer-overview>header p,.customer-info-modal-head p{color:var(--a4-muted)!important}
.customer-overview>header button,.customer-info-trigger,.customer-contact-assignment header a,.customer-contact-assignment header button{border-color:var(--a4-green);background:var(--a4-green);color:var(--a4-paper)}
.customer-overview-grid article{background:var(--a4-white);border-color:var(--a4-line)}
.customer-overview-grid span,.customer-overview-grid small,.contact-grid span,.customer-detail-grid span{color:var(--a4-muted)!important}
.customer-overview-grid b,.contact-grid b,.customer-detail-grid b{color:var(--a4-green)}
.customer-overview-grid article.balance{background:#fff;color:var(--a4-ink)}
.customer-overview-grid article.balance span,.customer-overview-grid article.balance b{color:var(--a4-ink)!important}
.customer-overview>footer{border-top:1px solid var(--a4-line);background:#fff;color:var(--a4-muted)}
.customer-overview>footer a,.contact-grid a{color:var(--a4-green)}
.customer-info-trigger{border-color:var(--a4-green);background:var(--a4-green);color:var(--a4-paper)}
.customer-info-trigger span{background:var(--a4-olive);color:var(--a4-green)}
.customer-info-trigger:hover,.customer-info-trigger:focus-visible{border-color:var(--a4-olive-deep);background:#405d44;outline-color:#344d3833}
.customer-info-dialog{border:1px solid #d2d4c0;background:var(--a4-paper);color:var(--a4-ink);box-shadow:0 30px 90px #344d3855}
.customer-info-dialog::backdrop{background:#263828aa}
.customer-info-modal-head{border-bottom-color:var(--a4-olive-deep);background:var(--a4-olive)}
.customer-info-close{border-color:var(--a4-olive-deep);background:var(--a4-white);color:var(--a4-green)}
.customer-contact-assignment{background:var(--a4-paper)}
.customer-contact-assignment>article{border-color:var(--a4-line);border-radius:0 18px 0 18px;background:var(--a4-white);box-shadow:0 8px 24px #0000000d}
.contact-grid>div,.customer-detail-grid>div{background:#fff;border-left:3px solid var(--a4-olive-deep)}
.contact-edit-form,.assignment-change-form,.customer-detail-edit-form{border-top-color:var(--a4-line)}
.contact-edit-form label,.assignment-change-form label,.customer-detail-edit-form label{color:var(--a4-muted)}
.contact-edit-form input,.assignment-change-form input,.assignment-change-form select,.customer-detail-edit-form input,.customer-detail-edit-form select,.customer-detail-edit-form textarea{border-color:var(--a4-line);background:var(--a4-white)}
.contact-edit-form button,.assignment-change-form button,.customer-detail-edit-form button,.customer-info-modal-foot button{background:var(--a4-green);color:var(--a4-paper)}
.customer-info-modal-foot{border-top-color:var(--a4-olive-deep);background:#fff;color:var(--a4-muted)}
.customer-info-modal-foot b{color:var(--a4-green)}

@media print{
  .customer-period-document .sheet,.supplier-statement-page{max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
}

.print-toolbar,
.infographic-print-toolbar{gap:10px}

/* 브라우저가 제공하는 인쇄창에서 기본 프린터·다른 프린터 검색으로 이어지는 공통 안내 */
@page{size:A4 portrait;margin:10mm}
.printer-routing-guide{display:flex;align-items:center;gap:7px;margin:0 0 10px;color:#4c5b6c;font-size:11px;font-weight:700}
.printer-routing-guide b{color:#173f73}
.printer-routing-guide span{font-weight:600}
.print-toolbar .printer-button{background:#1768d3!important;border-color:#1768d3!important;color:#fff!important}
.printer-help{width:100%;margin-top:2px;color:#4c5b6c;font-size:11px}
.printer-help summary{display:inline-flex;align-items:center;min-height:28px;color:#173f73;font-weight:900;cursor:pointer}
.printer-help-body{max-width:760px;margin-top:5px;padding:10px 12px;border:1px solid #c8d6e5;border-radius:9px;background:#f7fbff;line-height:1.55}
.printer-help-body p{margin:0 0 5px;color:#4c5b6c}
.printer-help-body ol{margin:4px 0 0;padding-left:18px}
.printer-help-body b{color:#173f73}

.print-toolbar .excel,
.infographic-print-toolbar .excel{background:#fff!important;color:#111!important;border-color:#222!important}

.print-toolbar .secondary,
.infographic-print-toolbar .secondary{background:#fff!important;color:#111!important;border-color:#222!important}

.print-toolbar a,
.print-toolbar button,
.infographic-print-toolbar a,
.infographic-print-toolbar button{transition:transform .15s ease,box-shadow .15s ease}

.print-toolbar a:hover,
.print-toolbar button:hover,
.infographic-print-toolbar a:hover,
.infographic-print-toolbar button:hover{transform:translateY(-1px);box-shadow:0 6px 14px #203c621f}

@media screen and (max-width:720px){
  .print-toolbar{flex-wrap:wrap}
  .infographic-print-toolbar div{flex-wrap:wrap}
  .printer-routing-guide{width:100%;justify-content:center;flex-wrap:wrap;text-align:center}
  .printer-help{text-align:left}
  .printer-choice-options{grid-template-columns:1fr}
  .printer-choice-dialog{padding:24px 18px}
  .print-toolbar a,
  .print-toolbar button,
  .infographic-print-toolbar a,
  .infographic-print-toolbar button{min-height:42px}
}

@media print{
  *{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
  body:not(.color-print){filter:grayscale(100%)}
  .print-toolbar,
  .infographic-print-toolbar{display:none!important}
  .printer-help{display:none!important}
  .printer-choice-overlay{display:none!important}
}

/* 기간 매입 명세도 화면에서 A4 세로 폭을 기준으로 미리 봅니다. */
.supplier-statement-page{max-width:210mm}

/* Standalone paper previews share one viewport-pinned toolbar, at every width. */
@media screen {
  body.a4-document.print-preview{margin:0;background:#585f5a;padding-top:var(--print-toolbar-height,0px)}
  body.a4-document.print-preview .print-toolbar{position:fixed;inset:0 0 auto;z-index:1000;box-sizing:border-box;width:100%;margin:0;display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:10px;padding:12px 24px;background:#fff;border:0;border-bottom:1px solid #e3e6e1;box-shadow:0 2px 8px #00000014;max-height:50dvh;overflow:auto;overscroll-behavior:contain}
  body.a4-document.print-preview .print-toolbar a,body.a4-document.print-preview .print-toolbar button{box-sizing:border-box;border:1px solid #d5dad4;border-radius:8px;padding:10px 16px;min-height:40px;font-family:inherit;font-size:13px;font-weight:600;line-height:1.35;color:#4a544e;background:#fff;text-decoration:none;cursor:pointer}
  body.a4-document.print-preview .print-toolbar .printer-button{background:#1e6b4f!important;border-color:#1e6b4f!important;color:#fff!important}
  body.a4-document.print-preview .print-toolbar .excel,body.a4-document.print-preview .print-toolbar .cf-excel{color:#1e6b4f!important;border-color:#1e6b4f!important}
  body.a4-document.print-preview .company-form-switch{display:flex;gap:4px;padding:3px;margin:0;background:#f0f2ee;border-radius:8px}
  body.a4-document.print-preview .company-form-switch a{border:0;background:transparent}
  body.a4-document.print-preview .company-form-switch a.active{color:white;background:#1e6b4f}
  body.a4-document.print-preview .printer-routing-guide{flex:1 1 280px;margin:0;color:#707b74;font-size:12px;line-height:1.5}
  body.a4-document.print-preview .printer-routing-guide b{display:none}
  body.a4-document.print-preview .printer-help{width:auto;margin:0}
  body.a4-document.print-preview .printer-help summary{color:#4a6455}
  body.a4-document.print-preview .a4-page{background:white;border-radius:0;box-shadow:0 12px 40px #0006}
  body.a4-document.print-preview .a4-page:before{display:none}
  @media(max-width:760px){body.a4-document.print-preview .print-toolbar{padding:8px;gap:6px}}
}
@media print{body.a4-document.print-preview{padding-top:0!important;background:#fff}}
