.sync-line{max-width:1180px;margin:8px auto 0;display:flex;justify-content:flex-end;gap:12px;color:#64748b;font-size:12px}
.site-icon{position:relative;overflow:hidden}.site-icon-image{position:absolute;inset:4px;width:calc(100% - 8px);height:calc(100% - 8px);object-fit:contain;opacity:0;pointer-events:none}.site-icon.has-site-icon{background:#fff!important}.has-site-icon .site-icon-image{opacity:1}.has-site-icon .site-icon-fallback{visibility:hidden}
.sync-line button{border:0;background:none;color:#2563eb;cursor:pointer}
.pagination{display:flex;align-items:center;justify-content:center;gap:14px;margin:24px 0}
.plain-btn,.primary-btn{border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff;color:#1d4ed8;padding:8px 14px;cursor:pointer;font:inherit}
.primary-btn{background:#2563eb;color:white;border-color:#2563eb}
button:disabled{opacity:.5;cursor:not-allowed}
.form-label{display:block;font-size:13px;color:#475569;margin:8px 0 4px}
.dialog-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.catalog-picker-dialog #pickSearchForm{display:flex;flex-direction:column;flex:none}
.notice{padding:12px;background:#eff6ff;border-radius:8px;font-size:13px;color:#334155;margin-bottom:12px;white-space:pre-wrap}
.error{color:#b91c1c;white-space:pre-wrap;font-size:13px;margin:8px 0}
.more-item{font-size:19px!important;opacity:.65}
.g-actions{gap:4px}.g-use{padding:5px 8px}
.ctx-sub{left:auto;right:100%;margin-right:4px;margin-left:0}
.ctx-item.has-sub:focus-within .ctx-sub,.ctx-item.has-sub.open .ctx-sub{display:block}
.engine-row{display:flex;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid #e5e7eb}
.engine-row span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
textarea.modal-input{min-height:150px;resize:vertical}
.history-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #e5e7eb}
.account-dialog .modal{max-width:480px}.account-dialog .modal-head strong{font-size:24px}.account-subtitle{color:#64748b;margin-bottom:18px}.account-tip{color:#64748b;font-size:12px}.account-link{background:none;border:0;color:#2563eb;cursor:pointer;margin-top:16px;font:inherit;font-size:12px}.sms-row{display:flex;gap:10px;align-items:flex-start}.sms-row input{flex:1;min-width:0}.sms-row button{white-space:nowrap;height:42px}.captcha-dialog{z-index:1100}.captcha-dialog .modal{max-width:390px}.captcha-stage{position:relative;width:320px;height:160px;margin:0 auto 14px;overflow:hidden;border-radius:8px}.captcha-bg{width:320px;height:160px}.captcha-piece{position:absolute;width:48px;height:48px;filter:drop-shadow(0 1px 3px #1118)}.puzzle-range{width:100%;height:38px;accent-color:#3b82f6;cursor:grab}
.legal-agreement{display:block;margin-top:12px;color:#64748b;font-size:12px;line-height:1.7}.legal-agreement input{margin-right:5px}.legal-agreement a{color:#2563eb;text-decoration:none}.legal-agreement a:hover{text-decoration:underline}.legal-text{max-height:60vh;overflow:auto;white-space:pre-wrap;line-height:1.8;color:#334155;font-size:14px;padding:4px}
.usage-pdf-actions{display:flex;gap:8px;margin:12px 0;flex-wrap:wrap}.usage-pdf-actions a{text-decoration:none}.usage-pdf-preview{width:100%;height:420px;border:1px solid #dbe3ef;border-radius:8px;background:#f8fafc}
@media(max-width:380px){.captcha-dialog{padding:8px}.captcha-dialog .modal-body{padding:10px}.captcha-stage{transform-origin:top left;max-width:100%}}
@media(max-width:720px){.g-move{min-width:28px;min-height:32px}.modal-head{padding:12px}.modal-tab{padding:6px 8px;font-size:12px}.modal-body{padding:14px}.group-name{max-width:150px}.ctx-menu{min-width:160px}.ctx-sub{position:static;box-shadow:none;max-height:160px}.g-actions{gap:2px}.g-use{padding:5px 6px}.sync-line{justify-content:flex-start;flex-wrap:wrap}}
.top-row,.sync-line{max-width:1600px}
.search-wrap{transition:border-color .2s,box-shadow .2s}
.draft-banner{background:#fef3c7;color:#92400e;text-align:center;padding:8px;font-size:13px}
.catalog-search-form{display:flex;gap:10px;max-width:600px}
.catalog-search-form .tool-search{flex:1;min-width:0;width:0}
.catalog-search-form button{flex:none;white-space:nowrap;height:42px}
.catalog-status{text-align:center;color:#64748b;font-size:13px;min-height:22px}
.catalog-retry{justify-content:center}
.puzzle-range{appearance:none;-webkit-appearance:none;height:48px;background:transparent;margin:8px 0;touch-action:pan-y}
.puzzle-range::-webkit-slider-runnable-track{height:20px;background:#dbeafe;border:1px solid #bfdbfe;border-radius:12px}
.puzzle-range::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:66px;height:44px;margin-top:-13px;border-radius:22px;background:#2563eb;border:3px solid #fff;box-shadow:0 2px 8px #2563eb55;cursor:grab}
.puzzle-range::-moz-range-track{height:20px;background:#dbeafe;border-radius:12px}
.puzzle-range::-moz-range-thumb{width:60px;height:38px;background:#2563eb;border:3px solid #fff;border-radius:22px;cursor:grab}
.puzzle-range:focus-visible{outline:3px solid #93c5fd;border-radius:14px}
@media(max-width:720px){.top-row{flex-wrap:wrap}.search-wrap{width:100%;min-width:0}.search-input{min-width:0}.left-tabs{max-width:100%;overflow:auto}.captcha-dialog .modal{max-width:390px}}

/* review5: restore the reference width; increase only the search bar height. */
/* 顶部整行最大宽度，搜索框占去掉左侧标签后的剩余空间 */
.top-row,.sync-line { max-width:1450px }

/* 垂直居中 */
.top-row { align-items:center }
.left-tabs { margin-top:0 }

/* 搜索框高度 */
.search-wrap { height:50px }

/* 左侧搜索引擎按钮高度 */
.search-wrap .engine-btn { height:40px }

/* 右侧“搜索”按钮高度 */
.search-wrap .search-btn { height:40px }

/* Keep the same pale-blue outline while idle and while typing. */
.search-wrap,.search-wrap:focus-within {
  border-color:var(--blue);
  box-shadow:0 0 0 4px rgba(59,130,246,.12),0 4px 16px rgba(59,130,246,.1);
}


.group-card.collapsed{height:auto;min-height:58px}
.group-card.collapsed .group-items{display:none}
.group-collapse{font-size:12px;flex-shrink:0;padding:5px 8px;margin-left:auto}
.settings-preview-banner{background:#fef3c7;text-align:center;padding:12px;color:#92400e}

.pagination{flex-wrap:wrap}.page-jump{display:flex;align-items:center;gap:6px}.page-jump input[type=number]{width:76px;min-width:60px}

.password-control{position:relative;display:block;width:100%}.password-control input{padding-right:44px!important;width:100%}.password-eye{position:absolute;right:7px;top:7px;width:30px;height:30px;background:transparent;border:0;color:#2563eb;cursor:pointer;font-size:20px}.requirement-number{color:#2563eb;font-weight:700}.profile-row{display:flex;justify-content:space-between;width:100%;padding:16px 8px;border:0;border-bottom:1px solid #e2e8f0;background:transparent;text-align:left;cursor:pointer;font:inherit}.main{padding-bottom:16px}.catalog-picker-dialog .modal{max-height:94vh}.catalog-picker-dialog .search-list{max-height:none}.catalog-picker-dialog .modal-body{overflow-y:auto}.engine-dot.site-icon{display:inline-flex;align-items:center;justify-content:center}.engine-dot .site-icon-image{inset:2px;width:calc(100% - 4px);height:calc(100% - 4px)}

.catalog-picker-dialog .modal{height:min(900px,94dvh);min-height:0}.catalog-picker-dialog .modal-body{overflow:hidden}.catalog-picker-dialog #pickList{height:auto;flex:1;min-height:0;overflow-y:auto}

.password-eye:disabled{opacity:.35;cursor:not-allowed}input::-ms-reveal{display:none}
