/* v202 — compact contextual page bars. The global topbar owns the visible
   page title; supporting text and actions remain here. All rules are scoped. */
@media screen {
  body.hm185-app .app-shell .page-content .hm202-compact-pagebar {
    box-sizing:border-box;
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between;
    gap:10px 18px;
    min-height:0;
    width:100%;
    margin:0 0 14px!important;
    padding:12px 16px!important;
    border:1px solid #dce6f0;
    border-radius:15px;
    background:linear-gradient(120deg,#fff,#f8fbff);
    box-shadow:0 3px 13px rgba(25,50,81,.035);
  }
  body.hm185-app .app-shell .page-content .hm202-visually-hidden-title {
    position:absolute!important;
    inline-size:1px!important;
    block-size:1px!important;
    padding:0!important;
    margin:-1px!important;
    overflow:hidden!important;
    clip-path:inset(50%)!important;
    white-space:nowrap!important;
    border:0!important;
  }
  body.hm185-app .app-shell .page-content .hm202-pagebar-copy {
    flex:1 1 300px;
    min-width:0;
  }
  body.hm185-app .app-shell .page-content .hm202-compact-pagebar p,
  body.hm185-app .app-shell .page-content .hm202-compact-pagebar .hm202-pagebar-copy p {
    margin:0!important;
    font-size:14px!important;
    line-height:1.75!important;
    color:#425774!important;
    font-weight:650;
    max-width:85ch;
    overflow-wrap:anywhere;
  }
  body.hm185-app .app-shell .page-content .hm202-compact-pagebar :is(.actions,.hm202-pagebar-actions) {
    display:flex;
    flex-flow:row wrap;
    align-items:center;
    gap:8px;
    justify-content:flex-start;
    flex:0 1 auto;
    margin:0;
    min-width:0;
  }
  body.hm185-app .app-shell .page-content .hm202-compact-pagebar :is(.button,button) {
    min-height:43px;
    white-space:normal;
  }
  body.hm185-app .page-content .hm202-import-workspace {
    width:min(100%,1160px);
    min-width:0;
    margin-inline:auto;
    box-sizing:border-box;
    display:block;
  }
  body.hm185-app .page-content .hm202-import-workspace > .hm202-compact-pagebar {max-width:none}
  body.hm185-app .page-content .hm202-import-panel {
    min-width:0;
    border:1px solid #dce6f0;
    box-shadow:0 5px 20px rgba(21,49,84,.035);
    border-radius:16px;
    background:#fff;
    padding:20px;
  }
  body.hm185-app .page-content .hm202-import-panel .hm202-import-panel-head {
    display:flex;
    flex-flow:row wrap;
    justify-content:space-between;
    align-items:center;
    gap:9px 12px;
    margin-bottom:14px;
  }
  body.hm185-app .page-content .hm202-import-panel-head h2 {
    font-size:18px;
    line-height:1.6;
    margin:0 0 3px;
    color:#233b59;
  }
  body.hm185-app .page-content .hm202-import-panel-head p {
    font-size:13px!important;
    color:#61758f;
    margin:0;
  }
  body.hm185-app .page-content .hm202-import-panel .hm202-import-form {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:9px;
    min-width:0;
  }
  body.hm185-app .page-content .hm202-import-form > .wide {grid-column:1/-1;min-width:0}
  body.hm185-app .page-content .hm202-file-control {
    display:block;
    position:relative;
    min-height:110px;
    cursor:pointer;
    border-radius:14px;
    min-width:0;
  }
  body.hm185-app .page-content .hm202-file-zone {
    box-sizing:border-box;
    width:100%;min-height:110px;
    padding:13px 16px;
    border-radius:14px;
    border:1.5px dashed #b6c9e1;
    background:#f7faff;
    display:flex;gap:9px 12px;
    align-items:center;justify-content:center;
    flex-wrap:wrap;
    color:#345779;
    text-align:center;
    transition:background .12s,border-color .12s;
  }
  body.hm185-app .page-content .hm202-file-zone strong {font-size:15px;font-weight:900;color:#254365}
  body.hm185-app .page-content .hm202-file-zone small {font-size:13px!important;color:#657a93!important}
  body.hm185-app .page-content .hm202-file-symbol {
    display:grid;place-items:center;
    width:38px;height:38px;
    border-radius:11px;background:#e9f2ff;
    font-family:inherit;font-weight:900;font-size:23px;color:#2e5fb3;
  }
  body.hm185-app .page-content .hm202-file-pick {
    display:inline-flex;align-items:center;justify-content:center;
    min-height:42px;padding:8px 13px;
    border:1px solid #c6d8f2;border-radius:10px;
    color:#2555aa;background:#fff;font-weight:850;font-size:14px;
  }
  body.hm185-app .page-content .hm202-file-native {
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    opacity:0!important;
    cursor:pointer!important;
    z-index:2;
    padding:0!important;
    margin:0!important;
    border:0!important;
  }
  body.hm185-app .page-content .hm202-file-control:focus-within .hm202-file-zone {
    outline:3px solid #6794de;outline-offset:3px;
  }
  body.hm185-app .page-content .hm202-file-control:has(.hm202-file-native:hover) .hm202-file-zone {background:#f0f6ff;border-color:#739bd2}
  body.hm185-app .page-content .hm202-file-feedback {
    font-size:13px!important;font-weight:650;
    line-height:1.7;color:#587088;
    margin:0 0 4px!important;
    overflow-wrap:anywhere;
  }
  body.hm185-app .page-content .hm202-file-feedback.is-selected {color:#155c4d;font-weight:850}
  body.hm185-app .page-content .hm202-import-hint {
    padding:11px 13px;
    border:1px solid #e0e9f2;border-radius:12px;
    background:#fafcff;
    color:#526982;
    font-size:13px;
    line-height:1.9;
    display:flex;gap:7px;flex-wrap:wrap;
  }
  body.hm185-app .page-content .hm202-import-hint strong {color:#244568}
  body.hm185-app .page-content .hm202-import-actions,
  body.hm185-app .page-content .hm202-result-actions {
    display:flex;justify-content:flex-start;flex-flow:row wrap;gap:8px;
    margin-top:4px;
  }
  body.hm185-app .page-content .hm202-import-actions .button {min-height:46px;min-width:180px}
  body.hm185-app .page-content .hm202-import-security {padding:15px 18px;margin-top:12px}
  body.hm185-app .page-content .hm202-import-security .panel-head{margin-bottom:6px}
  body.hm185-app .page-content .hm202-import-security p {margin:0;line-height:1.9}
  body.hm185-app .page-content .hm202-import-workspace .stat-grid {min-width:0}
  body.hm185-app .page-content .hm202-standalone-pagebar {margin-bottom:14px!important}
}
@media screen and (max-width:680px) {
  body.hm185-app .app-shell .page-content .hm202-compact-pagebar {
    align-items:stretch;gap:9px;padding:12px 13px!important;
  }
  body.hm185-app .app-shell .page-content .hm202-pagebar-copy {flex:1 1 100%;}
  body.hm185-app .app-shell .page-content .hm202-compact-pagebar p,
  body.hm185-app .app-shell .page-content .hm202-compact-pagebar .hm202-pagebar-copy p {font-size:14px!important;line-height:1.8!important;}
  body.hm185-app .app-shell .page-content .hm202-compact-pagebar :is(.actions,.hm202-pagebar-actions) {
    width:100%;flex:1 1 100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }
  body.hm185-app .app-shell .page-content .hm202-compact-pagebar :is(.actions,.hm202-pagebar-actions) > .button {
    width:100%;min-width:0;min-height:45px;padding:7px 8px;
    font-size:14px!important;text-align:center;
  }
  body.hm185-app .page-content .hm202-import-panel {padding:14px;border-radius:14px}
  body.hm185-app .page-content .hm202-import-panel .hm202-import-panel-head > .button {width:100%}
  body.hm185-app .page-content .hm202-file-zone{min-height:124px;padding:13px 9px;gap:5px 8px}
  body.hm185-app .page-content .hm202-file-zone strong {font-size:16px}
  body.hm185-app .page-content .hm202-file-zone small {flex:1 1 100%;font-size:14px!important}
  body.hm185-app .page-content .hm202-import-actions .button {width:100%;min-width:0}
  body.hm185-app .page-content .hm202-result-actions {display:grid;grid-template-columns:1fr;}
  body.hm185-app .page-content .hm202-result-actions > .button {min-height:45px}
}
