/* R1: screen workspace only. Business/print templates and calculations are unchanged. */
@media screen {
 .login-body {font-family:"Segoe UI","Microsoft YaHei",Arial,sans-serif;}
 .login-body .login-card {border-radius:4px;padding:28px;box-shadow:0 8px 28px #0002;border:1px solid #d5dfe8;max-width:calc(100vw - 32px);}
 .login-body .login-card :is(input,button) {min-height:38px;padding:8px 10px;border-radius:3px;font-size:14px;}
 .login-body .login-card :is(input,button):focus-visible {outline:2px solid #0879bf;outline-offset:2px;}
 body[data-jcp-navigation] {--jcp-side:232px;--jcp-header:52px;--r1-border:#d5dfe8;--r1-primary:#145b78;--r1-focus:#0879bf;font-size:14px;line-height:1.5;}
 body[data-jcp-navigation] .jcp-top {box-shadow:none;}
 body[data-jcp-navigation].r1-legacy-office {max-width:none;margin:0;padding:0;}
 .r1-standalone-frame {position:static;max-width:100%;min-width:0;}
 .r1-standalone-frame>main {padding:18px;}
 .r1-standalone-frame :is(input,select,textarea) {font:inherit;max-width:100%;}
 .r1-return {padding:8px 0 12px;border-bottom:1px solid var(--r1-border);margin-bottom:14px;}
 .jcp-content-frame .r1-legacy-main>h1 {font-size:20px;margin:0 0 12px;}
 .jcp-content-frame .r1-legacy-main>form {max-width:960px;padding:12px;border:1px solid var(--r1-border);background:white;}
 body[data-jcp-navigation] .jcp-top .jcp-mobile-toggle {height:34px;min-width:34px;width:34px;border-radius:3px;}
 body[data-jcp-navigation] .jcp-sidebar {padding:8px;}
 body[data-jcp-navigation] .jcp-tree-module>summary {padding-top:8px;padding-bottom:8px;border-radius:3px;}
 body[data-jcp-navigation] .jcp-tree-group>summary {padding-top:7px;padding-bottom:7px;}
 body[data-jcp-navigation] .jcp-tree-leaf {padding-top:7px;padding-bottom:7px;min-height:32px;border-radius:3px;font-size:13px;}
 body[data-jcp-navigation] .jcp-breadcrumb {min-height:34px;padding:7px 18px;}
 body[data-jcp-navigation] .jcp-content-frame>main,
 body[data-jcp-navigation] .jcp-content-frame>.layout>main {padding:18px;}
 .jcp-content-frame :is(.page-heading h1,.jcp-workspace h1,.hist-header h1,.fin-main h1,.wrap>h1,.logistics>h1) {font-size:20px!important;letter-spacing:0;margin-bottom:6px!important;line-height:1.4;}
 .jcp-content-frame :is(.page-heading,.jcp-page-heading,.hist-header) {gap:10px;}
 .jcp-content-frame .page-heading p {margin:4px 0;color:#53677b;}
 .jcp-content-frame :is(.form-box,.fin-panel,.hist-panel,.tax-card,.logistics section) {border-radius:3px;box-shadow:none;padding:14px;margin-top:14px;border-color:var(--r1-border);}
 .jcp-content-frame :is(.card,.jcp-home-panel,.jcp-classic-directory,.jcp-table-scroll,.table-box) {border-radius:3px;box-shadow:none;}
 .jcp-content-frame .card {padding:16px;}
 .jcp-content-frame :is(.action-buttons,.fin-actions,.head-actions) {gap:8px;flex-wrap:wrap;}
 .jcp-content-frame .action-buttons button {padding:8px 14px;min-height:34px;}
 .jcp-content-frame .sales-meta-row {gap:12px;}
 .jcp-content-frame .sales-meta-row :is(select,.system-value),.jcp-content-frame .delivery-row select {height:36px;min-height:36px;}
 .jcp-content-frame .system-info {gap:12px;margin-bottom:14px;}
 .jcp-content-frame .system-value {padding:8px;border-radius:3px;}
 .jcp-content-frame :is(.form-grid,.fin-grid,.hist-grid) {gap:10px 16px;}
 .jcp-content-frame :is(.form-box,.fin-panel,.hist-panel,.tax-card) label {line-height:1.5;}
 .jcp-content-frame :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]) {min-height:34px;border-radius:3px;padding:6px 9px;border-color:#bfcdda;line-height:1.5;}
 .jcp-content-frame textarea {min-height:72px;}
 .jcp-content-frame :is(input,select,textarea):disabled {background:#edf1f5;color:#66778a;cursor:not-allowed;}
 .jcp-content-frame :is(input,textarea)[readonly] {background:#f1f4f8;color:#526679;}
 .jcp-content-frame .r1-required-label::after {content:' *';color:#af2626;font-weight:600;}
 .jcp-content-frame .r1-required-label:has(input:required)::after {content:none;}
 .jcp-content-frame .r1-required-label:has(input:required)::before {content:'* ';color:#af2626;}
 .jcp-content-frame :is(.primary-link,.jcp-action,.sales-secondary-action) {min-height:34px;padding:6px 12px;border-radius:3px;font-size:13px;line-height:1.5;}
 .jcp-content-frame button {border-radius:3px;font-size:13px;line-height:1.5;}
 .jcp-content-frame :is(.actions,.directory-actions,.product-actions,.search-actions,.fin-actions,.head-actions,.tax-inline) button {min-height:34px;padding:6px 12px;}
 .jcp-content-frame :is(.delete-action,.danger-button,.btn-danger) {background:#b42318;color:white;border-color:#b42318;}
 .jcp-content-frame button:disabled {opacity:.6;cursor:not-allowed;}
 .jcp-content-frame :is(.search-box,.ml-controls) {gap:8px;padding:10px;}
 .jcp-content-frame :is(.search-box,.ml-controls) label {margin-top:0;margin-bottom:4px;}
 .jcp-content-frame .table-box {padding:12px;margin-top:14px;}
 .jcp-content-frame :is(.r1-table-region,.jcp-table-scroll) {min-width:0;max-width:100%;overscroll-behavior:contain;}
 .jcp-content-frame .r1-static-region {max-height:62vh;overflow:auto;scrollbar-gutter:stable;}
 .jcp-content-frame .r1-table-region>table {margin:0;}
 .jcp-content-frame .r1-data-table :is(th,td) {padding:8px 10px;font-size:13px;line-height:1.5;border-color:#dfe6ed;vertical-align:top;}
 .jcp-content-frame .r1-data-table th {color:#394f64;background:#edf2f7;font-weight:600;}
 .jcp-content-frame .r1-static-region>.r1-data-table>thead>tr>th {position:sticky;top:0;z-index:2;box-shadow:0 1px #d5dfe8;}
 .jcp-content-frame .r1-data-table tbody tr:nth-child(even) {background:#fafbfd;}
 .jcp-content-frame .r1-data-table tbody tr:hover,
 .jcp-content-frame .r1-data-table tbody tr:focus-within {background:#e9f3fb;}
 .jcp-content-frame .r1-data-table .r1-number {text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;}
 .jcp-content-frame .r1-data-table .r1-column-header {padding-right:20px;}
 .jcp-content-frame .r1-sized-column {width:var(--r1-column-width);min-width:var(--r1-column-width);max-width:var(--r1-column-width);}
 .r1-column-grip {position:absolute;right:0;top:0;bottom:0;width:12px!important;min-height:0!important;padding:0!important;margin:0!important;border:0;border-left:1px solid transparent;background:transparent!important;color:inherit;cursor:col-resize;touch-action:none;border-radius:0!important;}
 .r1-column-grip:hover,.r1-column-grip:focus-visible {border-left-color:#0879bf;background:#0879bf20!important;}
 .jcp-content-frame .r1-resizing {user-select:none;cursor:col-resize;}
 .jcp-content-frame :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible {outline:2px solid var(--r1-focus);outline-offset:2px;}
 .jcp-content-frame :is(.success-message,.hist-success,.directory-message:not(.directory-error)) {border-left:3px solid #278044;border-radius:3px;}
 .jcp-content-frame :is(.alert,.hist-error,.directory-error,.error-message) {border-left:3px solid #b42318;border-radius:3px;}
 .r1-empty-hint {display:block;margin-top:6px;font-weight:400;color:#53677b;}
 .r1-submit-status {padding:8px 10px;border:1px solid #b9d6e7;background:#edf6fc;color:#184e71;border-radius:3px;}
 body[data-jcp-navigation].customer-body main.customer-page {padding:18px!important;}
 body[data-jcp-navigation].customer-body .customer-table-box {flex:0 1 auto;max-height:62vh;border-radius:3px;}
 body[data-jcp-navigation].customer-body .customer-table-box :is(th,td) {padding:8px 10px;font-size:13px;}
 @media(max-width:1024px) {body[data-jcp-navigation]{--jcp-side:0px;}body[data-jcp-navigation] .jcp-sidebar{width:264px;}}
 @media(max-width:640px) {
  body[data-jcp-navigation] {--jcp-header:52px;}
  body[data-jcp-navigation] .jcp-content-frame>main,body[data-jcp-navigation] .jcp-content-frame>.layout>main {padding:12px;}
  .jcp-content-frame :is(.form-box,.fin-panel,.hist-panel,.tax-card) {padding:12px;}
  .jcp-content-frame :is(input,select,button):not([type=checkbox]):not([type=radio]):not([type=hidden]) {min-height:38px;}
  .jcp-content-frame .r1-column-grip {min-height:0;}
  .jcp-content-frame .r1-static-region {max-height:68vh;}
  body[data-jcp-navigation].customer-body main.customer-page {padding:12px!important;}
 }
}
@media print {.r1-column-grip,.r1-submit-status,.r1-empty-hint {display:none!important;}}
