@charset "UTF-8";
/*
 * HTTP 客户端（/devtools/http-request.htm）专用样式
 * 布局说明：本页已移除站点顶部导航栏、底部导航栏目、开发工具广告位与“更多工具”列表，
 *           改为工具自身撑满视口的独立应用布局：
 *           顶部工具条（图标 / 标题 / 副标题 / 返回更多工具）
 *           + [ 历史请求侧栏 | 请求配置区 / 响应区（可拖拽分隔） ]
 *           + 底部版权备案行。
 */

/*=============================== 全局与骨架 ===============================*/
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #f5f7fa;
}

/* 兜底：显示 / 隐藏切换不依赖任何外部框架 */
.hidden {
    display: none !important;
}

.ohr_app,
.ohr_app * {
    box-sizing: border-box;
}

.ohr_app {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    font-family: "Inter", "Microsoft YaHei", system-ui, sans-serif;
    font-size: 13px;
    color: #1d2129;
    background: #eaeff4;
}

/*=============================== 顶部工具条 ===============================*/
.ohr_toolbar {
    flex: 0 0 auto;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 52px;
    padding: 0 16px;
    color: #1d2129;
    background: #fff;
    border-bottom: 1px solid #e3e8ef;
    box-shadow: 0 1px 4px rgba(31, 56, 88, .08);
}

.ohr_toolbar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.ohr_logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    font-size: 15px;
    border-radius: 8px;
    background: #0989E2;
    color: #fff;
}

.ohr_brand__text {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    line-height: 1.25;
}

.ohr_brand__text strong {
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

.ohr_brand__text span {
    font-size: 11px;
    color: #86909c;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 返回“更多工具”快捷入口 */
.ohr_back {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
    height: 26px;
    padding: 0 10px;
    margin-left: 4px;
    font-size: 12px;
    white-space: nowrap;
    text-decoration: none;
    color: #4e5969;
    border: 1px solid #d3dce6;
    border-radius: 13px;
    background: #f5f7fa;
    transition: background .2s ease-in-out, border-color .2s ease-in-out, color .2s ease-in-out;
}

.ohr_back:hover {
    color: #0989E2;
    border-color: #9dd3ea;
    background: #eef8fd;
}

.ohr_back .fa {
    font-size: 12px;
}

.ohr_divider {
    flex: 0 0 auto;
    width: 1px;
    height: 20px;
    margin: 0 2px;
    background: #e3e8ef;
}

.ohr_toolbar__actions {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
}

.ohr_btn,
.ohr_icon_btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 12px;
    border: none;
    font-family: inherit;
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
    color: #4e5969;
    border: 1px solid #dfe4ea;
    border-radius: 6px;
    background: #f5f7fa;
    transition: background .2s ease-in-out, transform .1s ease-in-out, color .2s ease-in-out, border-color .2s ease-in-out;
}

.ohr_icon_btn {
    width: 32px;
    padding: 0;
    justify-content: center;
}

.ohr_btn:hover,
.ohr_icon_btn:hover {
    color: #0989E2;
    border-color: #9dd3ea;
    background: #eef8fd;
}

.ohr_btn:active,
.ohr_icon_btn:active {
    transform: scale(.94);
}

.ohr_btn--primary {
    font-weight: 600;
    color: #fff;
    border-color: #0989E2;
    background: #0989E2;
}

.ohr_btn--primary:hover {
    color: #fff;
    border-color: #0877c6;
    background: #0877c6;
}

.ohr_btn .fa,
.ohr_icon_btn .fa {
    font-size: 13px;
}

/*=============================== 主体容器 ===============================*/
.ohr_main {
    position: relative;
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

/*=============================== 左侧历史请求 ===============================*/
.ohr_sidebar {
    position: relative;
    flex: 0 0 260px;
    width: 260px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-right: 1px solid #e3e8ef;
    overflow: hidden;
    transition: margin-left .22s ease-in-out, transform .22s ease-in-out;
}

.ohr_app.ohr-sidebar-off .ohr_sidebar {
    margin-left: -261px;
}

.ohr_sidebar__head {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 34px;
    padding: 0 8px 0 12px;
    background: #f7f9fb;
    border-bottom: 1px solid #e3e8ef;
}

.ohr_sidebar__title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #4e5969;
    white-space: nowrap;
}

.ohr_sidebar__title .fa {
    color: #0989E2;
}

.ohr_sidebar__ops {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ohr_sidebar__op {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 22px;
    padding: 0 6px;
    border: none;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
    color: #4e5969;
    border-radius: 4px;
    background: transparent;
    transition: background .2s ease-in-out, color .2s ease-in-out;
}

.ohr_sidebar__op:hover {
    color: #0989E2;
    background: #e6f4fb;
}

.ohr_sidebar__op--icon {
    width: 22px;
    padding: 0;
    justify-content: center;
}

.ohr_sidebar__list {
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
    padding: 6px;
}

.ohr_sidebar__empty {
    padding: 24px 12px;
    font-size: 12px;
    line-height: 1.8;
    color: #86909c;
    text-align: center;
}

.ohr_history__item {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    padding: 7px 8px;
    margin-bottom: 6px;
    cursor: pointer;
    border: 1px solid #eef1f5;
    border-radius: 6px;
    background: #fff;
    transition: border-color .2s ease-in-out, background .2s ease-in-out;
}

.ohr_history__item:hover {
    border-color: #9dd3ea;
    background: #f5fbfe;
}

.ohr_history__item.is-active {
    border-color: #0989E2;
    background: #eef8fd;
}

.ohr_history__main {
    flex: 1 1 0;
    min-width: 0;
}

.ohr_history__title {
    font-size: 13px;
    font-weight: 600;
    color: #1d2129;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ohr_history__meta {
    margin-top: 3px;
    font-size: 11px;
    color: #86909c;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ohr_history__ops {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 2px;
}

.ohr_history__op {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 12px;
    color: #86909c;
    border-radius: 4px;
    background: transparent;
    transition: background .2s ease-in-out, color .2s ease-in-out;
}

.ohr_history__op:hover {
    color: #0989E2;
    background: #e6f4fb;
}

.ohr_history__op--del:hover {
    color: #f53f3f;
    background: #ffece8;
}

.ohr_sidebar__foot {
    flex: 0 0 auto;
    height: 26px;
    line-height: 26px;
    padding: 0 12px;
    font-size: 11px;
    color: #86909c;
    overflow: hidden;
    white-space: nowrap;
    background: #f7f9fb;
    border-top: 1px solid #e3e8ef;
}

.ohr_sidebar__foot b {
    color: #4e5969;
}

/*=============================== 工作区 ===============================*/
.ohr_workspace {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #eaeff4;
}

.ohr_pane {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: #fff;
}

#requestPane {
    flex: 0 0 55%;
    overflow: hidden;
}

#responsePane {
    flex: 1 1 0;
    overflow: hidden;
}

.ohr_pane__head {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 600;
    color: #4e5969;
    background: #f7f9fb;
    border-bottom: 1px solid #e3e8ef;
}

.ohr_pane__head > .fa {
    color: #0989E2;
}

.ohr_pane__ops {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ohr_pane__op {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 22px;
    padding: 0 8px;
    border: 1px solid #dfe4ea;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    cursor: pointer;
    color: #4e5969;
    border-radius: 4px;
    background: #fff;
    transition: background .2s ease-in-out, color .2s ease-in-out, border-color .2s ease-in-out;
}

.ohr_pane__op:hover {
    color: #0989E2;
    border-color: #9dd3ea;
    background: #eef8fd;
}

/* 当前编辑的历史请求名称 */
.ohr_tag {
    flex: 0 0 auto;
    max-width: 220px;
    padding: 1px 8px;
    font-size: 11px;
    font-weight: 400;
    color: #0989E2;
    border-radius: 10px;
    background: #e8f6fc;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ohr_metric {
    font-size: 11px;
    font-weight: 400;
    color: #86909c;
    white-space: nowrap;
}

.ohr_metric b {
    color: #4e5969;
    font-weight: 600;
}

/* 响应状态徽标 */
.ohr_pill {
    flex: 0 0 auto;
    padding: 1px 8px;
    font-size: 11px;
    font-weight: 400;
    border-radius: 10px;
    color: #86909c;
    background: #f2f4f7;
    white-space: nowrap;
}

.ohr_pill--ok {
    color: #0f7b3f;
    background: #e3f9ec;
}

.ohr_pill--warn {
    color: #b2600a;
    background: #fff3e0;
}

.ohr_pill--error {
    color: #cb2634;
    background: #ffece8;
}

.ohr_pane__body {
    flex: 1 1 0;
    min-height: 0;
    overflow: auto;
    padding: 10px 12px 12px;
}

.ohr_pane__body--flex {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/*=============================== 请求行 ===============================*/
.ohr_urlbar {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 10px;
}

#method {
    flex: 0 0 auto;
    width: 100px;
    height: 34px;
    padding: 0 8px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #0989E2;
    border: 1px solid #dfe4ea;
    border-radius: 6px;
    background: #fff;
    outline: none;
}

#method:focus {
    border-color: #0989E2;
    box-shadow: 0 0 0 2px rgba(9,137,226, .15);
}

#url {
    flex: 1 1 auto;
    min-width: 0;
    height: 34px;
    padding: 0 10px;
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
    color: #1d2129;
    border: 1px solid #dfe4ea;
    border-radius: 6px;
    outline: none;
}

#url:focus {
    border-color: #0989E2;
    box-shadow: 0 0 0 2px rgba(9,137,226, .15);
}

#url::placeholder {
    font-family: "Inter", "Microsoft YaHei", system-ui, sans-serif;
    color: #b7bfcb;
}

.ohr_send {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 18px;
    border: none;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: #fff;
    border-radius: 6px;
    background: #0989E2;
    transition: background .2s ease-in-out, transform .1s ease-in-out;
}

.ohr_send:hover {
    background: #1179a6;
}

.ohr_send:active {
    transform: scale(.96);
}

.ohr_send.is-loading {
    cursor: progress;
    background: #7ab3cd;
}

/*=============================== 标签页 ===============================*/
.ohr_tabs {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 2px;
    border-bottom: 1px solid #e3e8ef;
}

.ohr_tab {
    height: 30px;
    padding: 0 12px;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
    color: #4e5969;
    background: transparent;
    transition: color .2s ease-in-out, border-color .2s ease-in-out;
}

.ohr_tab:hover {
    color: #0989E2;
}

.ohr_tab.is-active {
    font-weight: 600;
    color: #0989E2;
    border-bottom-color: #0989E2;
}

.ohr_tab b {
    margin-left: 4px;
    padding: 0 5px;
    font-size: 11px;
    font-weight: 400;
    color: #86909c;
    border-radius: 8px;
    background: #f2f4f7;
}

.ohr_tabpane {
    display: none;
    padding-top: 10px;
}

.ohr_tabpane.is-active {
    display: block;
}

.ohr_hint {
    margin: 0 0 8px;
    font-size: 12px;
    line-height: 1.7;
    color: #86909c;
}

.ohr_hint code {
    padding: 1px 5px;
    font-family: Consolas, "Courier New", monospace;
    color: #0989E2;
    border-radius: 4px;
    background: #eef4f8;
}

/*=============================== 键值对行 ===============================*/
.ohr_rows {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ohr_kv {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ohr_kv__en {
    flex: 0 0 auto;
    width: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ohr_kv__en input {
    width: 14px;
    height: 14px;
    margin: 0;
    cursor: pointer;
}

.ohr_kv__input,
.ohr_input {
    flex: 1 1 0;
    min-width: 0;
    height: 30px;
    padding: 0 8px;
    font-family: Consolas, "Courier New", monospace;
    font-size: 12.5px;
    color: #1d2129;
    border: 1px solid #dfe4ea;
    border-radius: 4px;
    outline: none;
    background: #fff;
}

.ohr_kv__input:focus,
.ohr_input:focus,
.ohr_textarea:focus,
.ohr_select:focus {
    border-color: #0989E2;
    box-shadow: 0 0 0 2px rgba(9,137,226, .15);
}

.ohr_kv__input::placeholder,
.ohr_input::placeholder {
    font-family: "Inter", "Microsoft YaHei", system-ui, sans-serif;
    color: #b7bfcb;
}

.ohr_kv__input.is-disabled {
    color: #b7bfcb;
    background: #f7f9fb;
}

/* 动态值（fx）按钮 */
.ohr_kv__val {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ohr_fx {
    flex: 0 0 auto;
    width: 28px;
    height: 30px;
    border: 1px dashed #c9d3df;
    font-family: Consolas, "Courier New", monospace;
    font-size: 11px;
    cursor: pointer;
    color: #0989E2;
    border-radius: 4px;
    background: #f7fbfe;
    transition: background .2s ease-in-out, border-color .2s ease-in-out;
}

.ohr_fx:hover {
    border-color: #0989E2;
    background: #e8f6fc;
}

.ohr_select {
    flex: 0 0 auto;
    height: 30px;
    padding: 0 6px;
    font-family: inherit;
    font-size: 12px;
    color: #4e5969;
    border: 1px solid #dfe4ea;
    border-radius: 4px;
    background: #fff;
    outline: none;
}

.ohr_kv__del {
    flex: 0 0 auto;
    width: 28px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 13px;
    color: #86909c;
    border-radius: 4px;
    background: transparent;
    transition: background .2s ease-in-out, color .2s ease-in-out;
}

.ohr_kv__del:hover {
    color: #f53f3f;
    background: #ffece8;
}

.ohr_add {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 28px;
    margin-top: 8px;
    padding: 0 12px;
    border: 1px dashed #c9d3df;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
    color: #0989E2;
    border-radius: 4px;
    background: #fff;
    transition: background .2s ease-in-out, border-color .2s ease-in-out;
}

.ohr_add:hover {
    border-color: #0989E2;
    background: #e8f6fc;
}

.ohr_rows__ops {
    display: flex;
    align-items: center;
    gap: 8px;
}

/*=============================== Body 区域 ===============================*/
.ohr_bodytypes {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eef1f5;
}

.ohr_bodytype {
    height: 26px;
    padding: 0 10px;
    border: 1px solid #dfe4ea;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
    color: #4e5969;
    border-radius: 13px;
    background: #fff;
    transition: background .2s ease-in-out, color .2s ease-in-out, border-color .2s ease-in-out;
}

.ohr_bodytype:hover {
    color: #0989E2;
    border-color: #9dd3ea;
}

.ohr_bodytype.is-active {
    font-weight: 600;
    color: #0989E2;
    border-color: #0989E2;
    background: #e8f6fc;
}

.ohr_body {
    display: none;
}

.ohr_body.is-active {
    display: block;
}

.ohr_body__none {
    padding: 24px 0;
    font-size: 12px;
    color: #a9aeb8;
    text-align: center;
}

.ohr_textarea {
    display: block;
    width: 100%;
    min-height: 150px;
    padding: 10px 12px;
    font-family: Consolas, "Courier New", monospace;
    font-size: 12.5px;
    line-height: 1.7;
    color: #1d2129;
    border: 1px solid #dfe4ea;
    border-radius: 6px;
    outline: none;
    resize: vertical;
    background: #fff;
    tab-size: 4;
}

.ohr_body__ops {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.ohr_body__ops .ohr_pane__op {
    height: 26px;
}

.ohr_body__tip {
    margin-left: auto;
    font-size: 11px;
    color: #86909c;
}

/*=============================== 变量表 ===============================*/
.ohr_table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
}

.ohr_table th,
.ohr_table td {
    padding: 6px 8px;
    text-align: left;
    border-bottom: 1px solid #eef1f5;
    vertical-align: middle;
}

.ohr_table th {
    font-weight: 600;
    color: #4e5969;
    background: #f7f9fb;
    white-space: nowrap;
}

.ohr_table td.ohr_break {
    max-width: 320px;
    word-break: break-all;
    color: #4e5969;
}

.ohr_table code {
    font-family: Consolas, "Courier New", monospace;
    color: #0989E2;
}

.ohr_table__ops {
    display: flex;
    gap: 4px;
}

.ohr_linkbtn {
    padding: 2px 6px;
    border: none;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
    color: #0989E2;
    border-radius: 4px;
    background: transparent;
    transition: background .2s ease-in-out;
}

.ohr_linkbtn:hover {
    background: #e6f4fb;
}

.ohr_linkbtn--danger {
    color: #cb2634;
}

.ohr_linkbtn--danger:hover {
    background: #ffece8;
}

.ohr_empty {
    padding: 18px 0;
    font-size: 12px;
    color: #a9aeb8;
    text-align: center;
}

/*=============================== 响应区 ===============================*/
.ohr_res {
    position: relative;
    flex: 1 1 0;
    min-height: 0;
    margin-top: 8px;
}

.ohr_pre {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 12px 14px;
    overflow: auto;
    font-family: Consolas, "Courier New", monospace;
    font-size: 12.5px;
    line-height: 1.7;
    color: #e6edf3;
    border-radius: 6px;
    background: #1d2129;
    white-space: pre-wrap;
    word-break: break-all;
}

/*=============================== 上下分隔条 ===============================*/
.ohr_splitter {
    flex: 0 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: row-resize;
    background: #dfe4ea;
    transition: background .2s ease-in-out;
}

.ohr_splitter:hover,
body.ohr_dragging .ohr_splitter {
    background: #0989E2;
}

.ohr_splitter span {
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: #b7bfcb;
}

body.ohr_dragging {
    user-select: none;
    cursor: row-resize;
}

body.ohr_dragging * {
    cursor: row-resize !important;
}

/*=============================== 动态值浮层 ===============================*/
.ohr_pop {
    position: fixed;
    z-index: 300;
    width: 260px;
    padding: 10px;
    border: 1px solid #e3e8ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(29, 33, 41, .18);
}

.ohr_pop[hidden] {
    display: none !important;
}

.ohr_pop__group {
    padding: 6px 0;
}

.ohr_pop__group + .ohr_pop__group {
    border-top: 1px solid #f2f4f7;
}

.ohr_pop__title {
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #4e5969;
}

.ohr_pop__list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ohr_pop__item {
    height: 26px;
    padding: 0 10px;
    border: 1px solid #dfe4ea;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
    color: #4e5969;
    border-radius: 4px;
    background: #fff;
    transition: background .2s ease-in-out, color .2s ease-in-out, border-color .2s ease-in-out;
}

.ohr_pop__item:hover {
    color: #0989E2;
    border-color: #9dd3ea;
    background: #eef8fd;
}

.ohr_pop__row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 12px;
    color: #4e5969;
}

.ohr_pop__num {
    width: 62px !important;
    flex: 0 0 auto;
    height: 26px !important;
}

.ohr_pop__fmt {
    flex: 1 1 0;
    min-width: 0;
    height: 26px !important;
}

.ohr_pop__empty {
    font-size: 12px;
    color: #a9aeb8;
}

/*=============================== 版权 / 备案行 ===============================*/
.ohr_copyright {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    min-height: 32px;
    padding: 6px 16px;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
    color: #86909c !important;
    background: #fff;
    border-top: 1px solid #e3e8ef;
}

.ohr_copyright a {
    color: #86909c !important;
    text-decoration: none;
}

.ohr_copyright a:hover {
    color: #0989E2 !important;
}

/*=============================== 轻提示 ===============================*/
.ohr_toast {
    position: fixed;
    top: 64px;
    left: 50%;
    z-index: 999;
    padding: 8px 16px;
    font-size: 13px;
    color: #fff;
    border-radius: 6px;
    background: rgba(29, 33, 41, .9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -8px);
    transition: opacity .22s ease-in-out, transform .22s ease-in-out;
}

.ohr_toast--show {
    opacity: 1;
    transform: translate(-50%, 0);
}

/*=============================== 弹窗 ===============================*/
.ohr_modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(29, 33, 41, .55);
}

.ohr_modal[hidden] {
    display: none !important;
}

.ohr_modal__panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 560px;
    max-height: 88vh;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .24);
}

.ohr_modal__panel--wide {
    max-width: 860px;
}

.ohr_modal__head {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 16px;
    font-size: 15px;
    font-weight: 600;
    color: #1d2129;
    border-bottom: 1px solid #e3e8ef;
}

.ohr_modal__head .fa {
    color: #0989E2;
}

.ohr_modal__close {
    margin-left: auto;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 15px;
    color: #86909c;
    border-radius: 6px;
    background: transparent;
    transition: background .2s ease-in-out, color .2s ease-in-out;
}

.ohr_modal__close:hover {
    color: #1d2129;
    background: #f2f4f7;
}

.ohr_modal__body {
    flex: 1 1 auto;
    min-height: 0;
    max-height: calc(88vh - 110px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px;
}

.ohr_modal__foot {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid #e3e8ef;
    background: #f7f9fb;
}

.ohr_modal__foot .ohr_btn {
    color: #4e5969;
    background: #fff;
    border: 1px solid #dfe4ea;
}

.ohr_modal__foot .ohr_btn:hover {
    color: #0989E2;
    border-color: #9dd3ea;
    background: #eef8fd;
}

.ohr_modal__foot .ohr_btn--primary {
    color: #0989E2;
    background: #fff;
    border: 1px solid #0989E2;
}

.ohr_modal__foot .ohr_btn--primary:hover {
    color: #fff;
    background: #0989E2;
}

.ohr_modal__foot__tip {
    margin-right: auto;
    font-size: 12px;
    color: #86909c;
}

/* 表单行 */
.ohr_form__row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.ohr_form__label {
    flex: 0 0 76px;
    font-size: 13px;
    color: #4e5969;
}

.ohr_form__row .ohr_input {
    height: 32px;
}

.ohr_form__preview {
    padding: 10px 12px;
    font-family: Consolas, "Courier New", monospace;
    font-size: 12.5px;
    color: #1d2129;
    border: 1px solid #dfe4ea;
    border-radius: 6px;
    background: #f7f9fb;
    white-space: pre-wrap;
    word-break: break-all;
    max-height: 140px;
    overflow: auto;
}

.ohr_form__preview--error {
    color: #cb2634;
    background: #ffece8;
    border-color: #f9cdc9;
}

/* 帮助文档排版 */
.ohr_doc h4 {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1d2129;
}

.ohr_doc h4:not(:first-child) {
    margin-top: 18px;
}

.ohr_doc p {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.85;
    color: #4e5969;
}

.ohr_doc ul {
    margin: 0;
    padding-left: 18px;
}

.ohr_doc li {
    font-size: 13px;
    line-height: 1.9;
    color: #4e5969;
}

.ohr_doc code {
    padding: 1px 5px;
    font-family: Consolas, "Courier New", monospace;
    font-size: 12px;
    color: #0989E2;
    border-radius: 4px;
    background: #eef4f8;
}

.ohr_doc__cols {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.ohr_doc__col {
    flex: 1 1 300px;
    min-width: 0;
}

/*=============================== 小屏适配 ===============================*/
@media screen and (max-width: 1366px) {
    .ohr_brand__text span {
        display: none;
    }
}

@media screen and (max-width: 1200px) {
    .ohr_btn {
        padding: 0 9px;
    }
    .ohr_btn span {
        display: none;
    }
}

@media screen and (max-width: 1023px) {
    html,
    body {
        height: auto;
        overflow: auto;
    }
    .ohr_app {
        height: auto;
        min-height: 100vh;
    }
    .ohr_toolbar {
        height: auto;
        padding: 8px 12px;
        flex-wrap: wrap;
    }
    .ohr_toolbar__actions {
        flex-wrap: wrap;
    }
    .ohr_main {
        display: block;
        overflow: visible;
        min-height: 0;
    }
    /* 侧栏在小屏改为浮层，收起时移出屏幕 */
    .ohr_sidebar {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 35;
        box-shadow: 2px 0 10px rgba(0, 0, 0, .18);
    }
    .ohr_app.ohr-sidebar-off .ohr_sidebar {
        margin-left: 0;
        transform: translateX(-100%);
    }
    .ohr_pane,
    #requestPane,
    #responsePane {
        flex: 1 1 auto;
        overflow: visible;
    }
    .ohr_splitter {
        display: none;
    }
    .ohr_pane__body {
        overflow: visible;
    }
    .ohr_res {
        height: 320px;
        flex: 0 0 auto;
    }
    .ohr_modal {
        padding: 12px;
    }
    .ohr_modal__panel {
        max-height: 92vh;
    }
    .ohr_modal__body {
        max-height: calc(92vh - 110px);
    }
}
