/* OA site design system. Business widgets opt in; native map/timeline controls retain their sizing. */
:root{--site-primary:#2563eb;--site-primary-hover:#1d4ed8;--site-nav:#142a43;--site-bg:#f4f7fb;--site-surface:#fff;--site-border:#dce4ef;--site-text:#172b46;--site-muted:#5c6d82;--site-danger:#b42335;--site-success:#167348;--site-radius:12px;--site-shadow:0 2px 8px #142a4306;--site-font:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;--site-nav-height:56px}
body[data-site-page]{margin:0;background:var(--site-bg);color:var(--site-text);font-family:var(--site-font);-webkit-text-size-adjust:100%;text-rendering:optimizeLegibility}
body[data-site-page] ::selection{background:#dbeafe;color:#142a43}
body[data-site-page] *,body[data-site-page] *::before,body[data-site-page] *::after{box-sizing:border-box}
body[data-site-page] [hidden]{display:none!important}
body[data-site-page] :where(button,input,select,textarea){font-family:inherit}
body[data-site-page] :where(button,a,input,select,textarea,[tabindex]):focus-visible{outline:3px solid #93b7ff;outline-offset:3px}
body[data-site-page] :where(button,[role=button],a,select){-webkit-tap-highlight-color:transparent}
body[data-site-page] :where(button,[role=button]){cursor:pointer}
body[data-site-page] :where(button:disabled,[aria-disabled=true]){cursor:not-allowed}
.site-main{width:100%;max-width:1600px;min-width:0;margin-inline:auto;padding:24px 32px 40px}
.site-main>*{min-width:0}
.site-page-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:20px}
.site-page-header :where(h1,h2){margin:0;color:var(--site-text);font-size:24px;font-weight:700;line-height:1.4;letter-spacing:-.4px}
.site-page-header p,.site-page-note{margin:6px 0 0;color:var(--site-muted);font-size:13px;line-height:1.7}
.site-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;min-width:0}
.site-filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;padding:16px;margin:0 0 20px;background:var(--site-surface);border:1px solid var(--site-border);border-radius:var(--site-radius);box-shadow:var(--site-shadow);min-width:0}
.site-field{display:flex;flex-direction:column;gap:6px;min-width:0}
.site-field>label,.site-field-label{color:var(--site-muted);font-size:12px;font-weight:600;line-height:1.5}
.site-filters :where(input:not([type=checkbox]):not([type=radio]),select),.site-field :where(input:not([type=checkbox]):not([type=radio]),select,textarea){min-height:36px;max-width:100%;padding:8px 10px;color:var(--site-text);background:#fff;border:1px solid #c9d4e2;border-radius:8px;outline-offset:2px}
.site-filters input[type=search]{min-width:180px;flex:1}
.site-card{background:var(--site-surface);border:1px solid var(--site-border);border-radius:var(--site-radius);box-shadow:var(--site-shadow);padding:20px;min-width:0}
.site-table-scroll{max-width:100%;min-width:0;overflow:auto;border:1px solid var(--site-border);border-radius:var(--site-radius);background:#fff;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.site-table-scroll table{width:100%;border-collapse:collapse}
.site-table-scroll th{padding:12px 14px;background:#f7f9fc;color:var(--site-muted);font-size:12px;font-weight:600;text-align:left;border-bottom:1px solid var(--site-border)}
.site-table-scroll th.text-right{text-align:right}.site-table-scroll th.text-center{text-align:center}
.site-table-scroll td{padding:12px 14px;border-bottom:1px solid #edf1f6;vertical-align:middle}
.site-table-scroll tbody tr:last-child td{border-bottom:0}
.site-table-scroll tbody tr:hover{background:#f8fbff}
.site-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:8px 14px;border:1px solid #c9d4e2;border-radius:8px;background:#fff;color:var(--site-text);font-size:13px;font-weight:600;line-height:1.4;text-decoration:none;white-space:nowrap;transition:background .15s,border-color .15s}
.site-btn:hover{background:#f0f5fc;border-color:#a9bcd5}
.site-btn-primary{background:var(--site-primary);border-color:var(--site-primary);color:#fff}
.site-btn-primary:hover{background:var(--site-primary-hover);border-color:var(--site-primary-hover);color:#fff}
.site-btn-danger{background:#fff;border-color:#efc4ca;color:var(--site-danger)}
.site-btn-danger:hover{background:#fff0f2;border-color:#dc929e}
.site-btn:disabled{opacity:.55}
.site-breadcrumb{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:12px;color:var(--site-muted);margin-bottom:12px}
.site-breadcrumb a{color:var(--site-primary);text-decoration:none}
.site-breadcrumb a:hover{text-decoration:underline}
.site-local-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;background:#fff;border-bottom:1px solid var(--site-border)}
.site-local-header strong{font-size:16px;line-height:1.4}
.site-local-header small{display:block;margin-top:3px;color:var(--site-muted);font-size:12px}
.site-local-header .site-btn{flex:none}
.site-skip{position:fixed;left:16px;top:-100px;z-index:10000;padding:10px 16px;background:#fff;border:2px solid var(--site-primary);border-radius:8px;color:var(--site-text)}
.site-skip:focus{top:12px}
.site-section-links{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px;padding:12px;background:#fff;border:1px solid var(--site-border);border-radius:12px}
.site-section-links a{padding:8px 12px;border-radius:7px;color:var(--site-muted);font-size:13px;text-decoration:none}
.site-section-links a:hover,.site-section-links a[aria-current]{background:#edf4ff;color:#1d4ed8}
.site-form-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;padding-top:16px;margin-top:16px;border-top:1px solid var(--site-border)}
.site-form-actions>*{min-width:84px}
.site-notice{padding:12px 16px;background:#eff6ff;border:1px solid #c7dcff;color:#1e4c88;border-radius:10px;font-size:13px;line-height:1.7}
body[data-site-page="panel2"] .pax-action.demand-delete{width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;padding:0!important}
@media(min-width:1600px){.site-main{padding-inline:40px}}
@media(max-width:767px){
 :root{--site-nav-height:56px}
 .site-main{padding:16px 12px 28px}.site-page-header{gap:12px;margin-bottom:16px;align-items:flex-start}.site-page-header :where(h1,h2){font-size:20px}.site-page-header>.site-actions{width:100%;justify-content:flex-start}
 .site-actions{gap:8px}.site-btn{min-height:44px;padding:10px 14px}.site-filters{padding:12px;gap:10px;margin-bottom:16px}.site-filters>*{max-width:100%}.site-filters input[type=search]{min-width:0;width:100%;flex-basis:100%}
 .site-filters :where(input:not([type=checkbox]):not([type=radio]),select),.site-field :where(input:not([type=checkbox]):not([type=radio]),select,textarea){min-height:44px;font-size:16px}
 .site-card{padding:16px}.site-table-scroll :where(th,td){padding:10px 12px}.site-local-header{padding:12px 16px;gap:10px}.site-section-links{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain}.site-section-links a{flex:none;min-height:44px;display:inline-flex;align-items:center}
 .site-form-actions{position:sticky;bottom:0;z-index:5;background:var(--site-surface);padding-bottom:env(safe-area-inset-bottom,0px)}
}
@media(max-width:360px){.site-main{padding-inline:10px}.site-page-header :where(h1,h2){font-size:19px}.site-btn{padding-inline:11px}.site-form-actions{margin-inline:-10px;padding-inline:10px}}
@media(prefers-reduced-motion:reduce){body[data-site-page] *,body[data-site-page] *::before,body[data-site-page] *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}
@media print{#oa-unified-nav,.site-local-header,.site-skip,.site-section-links,.site-actions{display:none!important}.site-main{padding:0;max-width:none}body[data-site-page]{background:#fff;color:#000}.site-table-scroll{overflow:visible;border:0}}
