/*
 * 新工具页共用样式（扁平直角，对齐站点主色）
 * 强调色 #16baaa；主操作按钮 #1e9fff
 * Author: 缘境 (yvsm@zunyunkeji.com) QQ:316430983 微信：yvsm316
 */
.wrap .box{line-height:1.55;}
.wrap .box .content{padding:0 0 4px;}
.of-grid{display:grid;gap:12px;margin-bottom:12px;}
.of-grid--2{grid-template-columns:1fr 1fr;}
.of-grid--3{grid-template-columns:1fr 1fr 1fr;}
.of-pane{padding:14px 16px;background:#f7f8fa;border:1px solid #eee;border-radius:0;min-width:0;}
.of-card{padding:14px 16px;border:1px solid #eee;border-radius:0;background:#fff;}
.wrap .box .content .of-kicker{margin:0 0 10px;padding:0;border:none;font-size:12px;font-weight:600;letter-spacing:.06em;color:#16baaa;line-height:1.3;}
.of-label{display:block;margin:0 0 6px;font-size:12px;color:#888;}
.of-input,.of-select,.of-area{
    width:100%;padding:0 10px;border:1px solid #e6e6e6;border-radius:0;
    background:#fff;color:#333;font-size:13px;box-sizing:border-box;
}
.of-input,.of-select{height:38px;}
.of-area{padding:10px 12px;min-height:140px;resize:vertical;font-family:Consolas,Monaco,monospace;font-size:12px;line-height:1.6;}
.of-area--lg{min-height:280px;}
.of-area--code{background:#2f363c;color:#e6e6e6;border-color:#2f363c;}
.of-input:focus,.of-select:focus,.of-area:focus{border-color:#16baaa;outline:0;}
.of-row{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px;margin-bottom:10px;}
.of-row--3{grid-template-columns:1fr 1fr 1fr;}
.of-toolbar{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 14px;}
.of-seg{display:inline-flex;border:1px solid #e6e6e6;border-radius:0;overflow:hidden;background:#fff;}
.of-seg button{height:36px;padding:0 14px;border:0;background:transparent;color:#666;font-size:12px;cursor:pointer;}
.of-seg button + button{border-left:1px solid #eee;}
.of-seg button.is-on{background:#16baaa;color:#fff;font-weight:600;}
.of-unitbox{display:flex;align-items:stretch;border:1px solid #e6e6e6;border-radius:0;overflow:hidden;background:#fff;}
.of-unitbox:focus-within{border-color:#16baaa;}
.of-unitbox .of-input{border:0;border-radius:0;box-shadow:none;height:38px;}
.of-unit{display:flex;align-items:center;padding:0 12px;font-size:12px;font-weight:600;color:#16baaa;background:#e9faf8;border-left:1px solid #eee;white-space:nowrap;}
.of-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;}
.of-chip{height:26px;padding:0 9px;border:1px solid #e6e6e6;border-radius:0;background:#fff;color:#666;font-size:12px;line-height:24px;cursor:pointer;}
.of-chip:hover{border-color:#16baaa;color:#16baaa;}
.of-chip.is-on{background:#16baaa;border-color:#16baaa;color:#fff;}
.of-metrics--3{grid-template-columns:repeat(3,minmax(0,1fr));}
.of-metrics--4{grid-template-columns:repeat(4,minmax(0,1fr));}
.of-scroll{max-height:420px;overflow:auto;border:1px solid #eee;border-radius:0;}
.of-table{width:100%;border-collapse:collapse;font-size:13px;}
.of-table th,.of-table td{padding:8px 12px;border-bottom:1px solid #f0f0f0;text-align:right;font-variant-numeric:tabular-nums;}
.of-table th{color:#888;font-size:12px;font-weight:600;background:#f7f8fa;}
.of-table th:first-child,.of-table td:first-child{text-align:left;font-weight:600;color:#333;}
.of-table tbody tr:last-child td{border-bottom:0;}
.of-table tbody tr:hover{background:#fafafa;}
.of-table tbody tr.is-on{background:#e9faf8;}
.of-table tbody tr.is-on td{color:#16baaa;}
.of-scroll .of-table thead th{position:sticky;top:0;z-index:1;}
.of-err{margin:8px 0 0;font-size:12px;color:#ff5722;}
.of-hide{display:none;}
.of-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;}
.of-btn{height:36px;padding:0 14px;border:1px solid #e6e6e6;border-radius:0;background:#fff;color:#555;font-size:13px;cursor:pointer;}
.of-btn:hover{border-color:#16baaa;color:#16baaa;}
.of-btn--primary{background:#1e9fff;border-color:#1e9fff;color:#fff;font-weight:600;}
.of-btn--primary:hover{color:#fff;background:#1a8ce6;border-color:#1a8ce6;}
.of-btn--ghost{border:0;background:transparent;color:#16baaa;height:auto;padding:0;line-height:1.3;}
.of-btn--ghost:hover{text-decoration:underline;}
.of-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:12px;padding-top:12px;border-top:1px dashed #e6e6e6;}
.of-stat{padding:0 10px;}
.of-stat + .of-stat{border-left:1px solid #eee;}
.of-stat:first-child{padding-left:0;}
.of-stat__k{font-size:11px;color:#999;letter-spacing:.04em;}
.of-stat__v{margin-top:4px;font-size:18px;font-weight:700;color:#16baaa;word-break:break-all;font-variant-numeric:tabular-nums;}
.of-stat__v small{margin-left:4px;font-size:11px;font-weight:500;color:#7aa39a;}
.of-out{margin:0;padding:10px 12px;background:#2f363c;color:#e6e6e6;border-radius:0;font-family:Consolas,Monaco,monospace;font-size:12px;line-height:1.6;white-space:pre-wrap;word-break:break-all;}
.of-tip{margin:10px 0 0;font-size:12px;line-height:1.7;color:#888;}
.of-tip code{padding:1px 5px;background:#e9faf8;color:#16baaa;border-radius:0;}
.of-list{margin:0;padding:0;list-style:none;}
.of-list li{padding:8px 0;border-bottom:1px solid #f0f0f0;font-size:13px;color:#333;}
.of-list li:last-child{border-bottom:0;}
.of-badge{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:0;background:#e9faf8;color:#16baaa;font-size:11px;}
.of-hit{background:#fde8e4;color:#9a3412;border-radius:0;padding:0 2px;}
.of-hit--typo{background:#fef3c7;color:#92400e;}
@media (max-width:800px){
    .of-grid--2,.of-grid--3,.of-row,.of-row--3,.of-metrics,.of-metrics--3,.of-metrics--4{grid-template-columns:1fr;}
    .of-stat{padding:8px 0;}
    .of-stat + .of-stat{border-left:0;border-top:1px solid #eee;}
    .of-seg{width:100%;}
    .of-seg button{flex:1;}
}
