:root{color-scheme:light;--ink:#152b38;--muted:#71828b;--teal:#087f78;--teal-dark:#06645f;--blue:#2563eb;--line:#e2e9e9;--bg:#f4f7f7;--red:#bc4545;--mono:Consolas,"SFMono-Regular",monospace}
*{box-sizing:border-box}
body{margin:0;color:var(--ink);background:var(--bg);font-family:Inter,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
button,input,textarea{font:inherit}
button,a,input,textarea{ -webkit-tap-highlight-color:transparent}
button,a{touch-action:manipulation}
button{cursor:pointer}
button:disabled{opacity:.5;cursor:not-allowed}
a{color:inherit;text-decoration:none}
button:focus-visible,a:focus-visible{outline:3px solid #45b5a9;outline-offset:4px}
[hidden]{display:none!important}
.site-header{height:78px;border-bottom:1px solid var(--line);background:#fff}
.header-inner{max-width:1360px;padding:0 36px;height:100%;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:11px;flex-shrink:0}
.brand-mark{height:36px;width:36px;display:grid;place-items:center;background:var(--ink);color:#fff;border-radius:11px}
.brand-mark svg{width:22px;height:22px}
.brand-name{font-size:19px;font-weight:750;letter-spacing:.03em}
.brand-caption{font-size:12px;color:var(--muted);letter-spacing:.16em;line-height:1.1}
.navigation{display:flex;align-items:center;gap:8px}
.navigation a{padding:9px 17px;border-radius:8px;color:#63747e;font-size:15px;font-weight:600}
.navigation a.active{background:#edf6f4;color:var(--teal)}
.navigation a:hover{background:#f2f6f5;color:var(--teal)}
.local-tag{font-size:14px;color:var(--muted);display:flex;align-items:center;gap:7px}
.local-tag svg{width:15px;height:15px}
.workspace{max-width:1360px;margin:auto;padding:45px 36px 24px}
.hero{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:30px}
.eyebrow{font-size:13px;letter-spacing:.17em;font-weight:700;color:var(--teal);margin-bottom:9px}
h1{font-size:34px;letter-spacing:-.04em;line-height:1.3;margin:0 0 10px;font-weight:750}
.hero p{margin:0;color:var(--muted);font-size:16px}
.hero-meta{display:flex;gap:25px;padding:5px 0;flex-shrink:0}
.hero-meta>div{padding-left:17px;border-left:1px solid #d4dfde}
.hero-meta strong{display:block;font-family:var(--mono);font-size:23px;font-weight:500;color:#405e68;line-height:1.25}
.hero-meta span{font-size:13px;color:var(--muted)}
.tool-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:22px;align-items:start}
.panel{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 4px 18px #1a3e3a03;overflow:hidden}
.panel-head{padding:23px 25px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}
.section-heading{display:flex;align-items:center;gap:13px}
.section-icon{width:40px;height:40px;display:grid;place-items:center;background:#edf6f4;color:var(--teal);border-radius:11px;flex-shrink:0}
.section-icon svg{width:21px;height:21px}
h2{margin:0;font-size:19px;font-weight:700;letter-spacing:-.02em}
.section-desc{font-size:13px;color:var(--muted);margin-top:2px}
.panel-link{font-size:14px;color:var(--teal);white-space:nowrap}
.panel-link:hover{text-decoration:underline}
.panel-body{padding:24px 25px}
.field label,.field-label{display:block;font-size:14px;font-weight:600;color:#4f646e;margin-bottom:9px}
input,textarea{width:100%;border:1px solid #dce5e4;border-radius:9px;background:#fbfcfc;color:var(--ink);outline:none;transition:border-color .15s,box-shadow .15s}
input{height:46px;padding:0 13px}
textarea{padding:13px 14px;resize:vertical;line-height:1.75;font-family:var(--mono);font-size:14px}
input::placeholder,textarea::placeholder{color:#99a7ac;font-size:14px}
input:focus,textarea:focus{border-color:#57a79e;box-shadow:0 0 0 3px #087f780c;background:#fff}
.search-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px}
.btn{height:46px;border:1px solid var(--teal);border-radius:9px;padding:0 19px;background:var(--teal);color:white;font-weight:600;font-size:15px;white-space:nowrap}
.btn:hover{background:var(--teal-dark)}
.btn.secondary,.copy{border:1px solid #dce5e4;background:#fff;color:#49616b;border-radius:7px;padding:8px 12px;font-size:14px;line-height:1.4}
.btn.secondary:hover,.copy:hover{border-color:#84b3ac;background:#f2f8f6;color:var(--teal)}
.copy.done{color:var(--teal);border-color:#91c5b9}
.status{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;color:var(--muted);margin:20px 0 15px}
#statusText{overflow-wrap:anywhere}
.pill{font-size:12px;color:#6d7d84;background:#f1f5f4;border-radius:5px;padding:4px 8px;white-space:nowrap}
.empty{color:#8b9b9f;text-align:center;padding:60px 22px;background:#fafcfc;border:1px dashed #e1e9e7;border-radius:10px;font-size:14px}
.empty svg{width:48px;height:48px;margin:0 auto 17px;display:block;color:#a3bcb6;stroke-width:1}
.empty strong{display:block;font-size:16px;color:#637c83;font-weight:500;margin-bottom:6px}
.empty p{margin:0}
.mail-list{display:grid;gap:12px;max-height:680px;overflow-y:auto}
.mail-card{padding:20px;border:1px solid var(--line);border-radius:11px;background:#fff;min-width:0}
.subject{font-weight:650;font-size:16px;overflow-wrap:anywhere}
.meta{color:var(--muted);font-size:13px;margin-top:4px;overflow-wrap:anywhere}
.code-area{display:flex;gap:12px;align-items:center;margin-top:16px;flex-wrap:wrap}
.code{font:600 29px/1.2 var(--mono);letter-spacing:.1em;color:var(--teal)}
.no-code{font-size:14px;color:var(--muted)}
.preview{margin-top:14px;max-height:180px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;color:#63747d}
.mail-link-list{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:13px}
.mail-link-caption{font-size:13px;color:var(--muted);width:100%}
.mail-primary-link{font-size:14px;color:var(--teal);background:#edf7f3;border-radius:6px;padding:7px 10px}
.error{padding:16px;border:1px solid #efdbdb;border-radius:9px;background:#fff8f7;color:var(--red);font-size:14px}
.batch-input{height:150px;min-height:115px;max-height:600px;font-size:16px;color:var(--blue)}
.batch-input::placeholder{font-size:15px}
.totp-widget .field-label{font-size:16px}
.totp-widget .section-desc{font-size:14px}
.input-hint{font-size:14px;color:#8a9a9f;margin:8px 0 0;line-height:1.8}
.input-hint code{font:12px var(--mono);color:#6b858d;background:#f3f6f5;padding:2px 5px;border-radius:4px}
.actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:17px}
.actions .btn{height:38px;font-size:16px;padding:0 15px}
.actions .text-button{margin-left:auto}
.text-button{padding:7px 4px;background:none;border:0;color:#7f8e96;font-size:13px}
.text-button:hover{color:var(--teal)}
.result-area{border-top:1px solid var(--line);margin-top:22px;padding-top:18px;scroll-margin-top:20px}
.tool-grid .totp-widget>.panel-body{display:flex;flex-direction:column}
.tool-grid .totp-widget .result-area{order:-1;border-top:0;border-bottom:1px solid var(--line);margin:0 0 22px;padding:0 0 20px}
.tool-grid .totp-widget #batchEmpty{padding:14px 16px}
.tool-grid .totp-widget #batchEmpty svg,.tool-grid .totp-widget #batchEmpty p{display:none}
.tool-grid .totp-widget #batchEmpty strong{margin:0;font-size:15px}
.result-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}
.result-label{font-size:16px;font-weight:600}
.result-label span{font-family:var(--mono);color:var(--teal);margin-left:5px}
.countdown{display:flex;align-items:center;gap:6px;font-size:14px;color:var(--muted);white-space:nowrap}
.timer-ring{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:conic-gradient(var(--teal) var(--progress,100%),#e5efec 0);position:relative}
.timer-ring::before{content:"";position:absolute;inset:2px;background:white;border-radius:50%}
.timer-ring span{position:relative;font:12px var(--mono);color:var(--teal)}
.countdown.expiring .timer-ring{background:conic-gradient(#bf8932 var(--progress,100%),#f2eadc 0)}
.countdown.expiring span{color:#a67c31}
.result-table-wrap{overflow:auto;max-height:420px;border:1px solid var(--line);border-radius:9px}
.result-table{border-collapse:collapse;width:100%;text-align:left}
.result-table th{background:#f6f9f8;font-size:14px;color:#8a9b9f;font-weight:500;padding:10px 12px;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:1;white-space:nowrap}
.result-table td{padding:12px;border-bottom:1px solid #edf1f0;font-size:15px;vertical-align:middle}
.result-table tr:last-child td{border-bottom:0}
.result-table tr:hover{background:#fcfdfd}
.result-table .row-index{color:#9aa9ad;width:26px;font:14px var(--mono)}
.row-label{font-size:15px;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#455d68}
.row-secret{font:13px var(--mono);margin-top:4px;color:var(--blue);letter-spacing:.015em;max-width:200px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.otp-cell{text-align:right;white-space:nowrap}
.otp-copy{border:0;background:#eff6ff;border-radius:6px;padding:7px 10px;color:var(--blue);font:600 24px/1 var(--mono);letter-spacing:.08em;min-width:116px}
.otp-copy:hover{background:#dbeafe}
.otp-copy.copied{font-size:16px;letter-spacing:0;min-height:36px}
.row-error{color:var(--red);font-size:12px;display:block;max-width:180px;white-space:normal}
.batch-feedback{font-size:15px;min-height:20px;color:var(--muted);margin-top:12px}
.batch-feedback.has-error{color:var(--red)}
.privacy-note{font-size:14px;color:#8a9a9d;margin-top:15px;display:flex;align-items:center;gap:6px}
.privacy-note svg{width:13px;height:13px;flex-shrink:0}
.page-footer{display:flex;justify-content:space-between;gap:20px;padding:24px 0 10px;font-size:12px;color:#94a2a7}
.page-footer a:hover{color:var(--teal)}
.batch-layout{display:grid;grid-template-columns:350px minmax(0,1fr);gap:26px;align-items:start;padding:28px}
.batch-layout .result-area{margin:0;padding:0;border:0}
.batch-layout .batch-input{height:330px}
.batch-layout .result-table-wrap{max-height:620px}
.batch-layout .result-table td{padding:15px 17px}
.batch-layout .row-label{max-width:330px;font-size:16px}
.batch-layout .row-secret{max-width:400px;font-size:14px}
.batch-layout .result-table th{padding:12px 17px}
.batch-layout .empty{min-height:330px;display:flex;flex-direction:column;justify-content:center}
.batch-layout .otp-copy{font-size:28px;padding:9px 14px;min-width:145px}
.batch-layout .otp-copy.copied{font-size:16px}
.help-strip{margin-top:20px;padding:17px 20px;border:1px solid var(--line);border-radius:11px;color:#788c93;font-size:13px;display:flex;gap:22px;justify-content:space-between;flex-wrap:wrap}
.help-strip strong{color:#4f6a73;font-weight:600;margin-right:7px}
@media(min-width:1600px){.workspace{padding-top:55px}.hero{margin-bottom:37px}}
@media(max-width:1050px){.workspace{padding:30px 24px 16px}.header-inner{padding:0 24px}.tool-grid{gap:16px}.panel-head{padding:20px}.panel-body{padding:20px}.hero-meta{display:none}.batch-layout{grid-template-columns:300px minmax(0,1fr);gap:20px;padding:22px}.local-tag{display:none}.row-label,.row-secret{max-width:160px}}
@media(max-width:780px){.tool-grid,.batch-layout{grid-template-columns:1fr}.site-header{height:68px}.brand-name{font-size:17px}.brand-caption{font-size:12px}.navigation a{padding:8px 12px}.workspace{padding-top:26px}.hero{margin-bottom:24px}h1{font-size:29px}.hero p{font-size:14px}.batch-layout .batch-input{height:190px}.batch-layout .result-area{border-top:1px solid var(--line);padding-top:20px}.batch-layout .empty{min-height:220px}.page-footer{font-size:12px}.help-strip{gap:8px;flex-direction:column}}
@media(max-width:480px){.header-inner{padding:0 16px;gap:10px}.workspace{padding:25px 14px 12px}.brand{gap:8px}.brand-mark{width:32px;height:32px}.brand-caption{letter-spacing:.1em}.navigation{gap:1px}.navigation a{padding:7px 9px;font-size:13px}.panel-head,.panel-body{padding:18px}.panel{border-radius:13px}.search-panel{grid-template-columns:1fr}.search-panel .btn{width:100%;height:42px}.hero{margin-bottom:21px}.eyebrow{font-size:12px}h1{font-size:27px}.hero p{font-size:13px}.panel-link{font-size:12px}.section-desc{font-size:12px}.page-footer{flex-direction:column;gap:4px}.result-table th,.result-table td{padding:10px 8px}.result-table .row-index{width:18px}.row-label,.row-secret{max-width:145px}.otp-copy{font-size:20px;padding:7px;min-width:90px}.batch-layout{padding:18px}.batch-layout .result-table td{padding:12px 8px}.batch-layout .row-label,.batch-layout .row-secret{max-width:145px}.batch-layout .otp-copy{font-size:20px;min-width:92px;padding:8px}.batch-layout .result-table th{padding:10px 8px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media(max-width:780px){.batch-layout .result-area{order:-1;border-top:0;border-bottom:1px solid var(--line);padding:0 0 20px}.batch-layout #batchEmpty{min-height:0;padding:14px 16px}.batch-layout #batchEmpty svg,.batch-layout #batchEmpty p{display:none}.batch-layout #batchEmpty strong{margin:0}}
@media(max-width:480px){.otp-copy,.batch-layout .otp-copy{font-size:22px;min-width:100px}.otp-copy.copied,.batch-layout .otp-copy.copied{font-size:16px}.result-table th{font-size:13px}}
@media(max-width:480px){.result-table{table-layout:fixed}.result-table th:first-child{width:30px}.result-table th:last-child{width:120px;white-space:normal}.result-table .row-label,.result-table .row-secret{max-width:100%}.result-table th,.result-table td,.batch-layout .result-table th,.batch-layout .result-table td{padding-left:6px;padding-right:6px}.header-inner{gap:8px}}
.single-result{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:14px;padding:12px;border:1px solid #dbeafe;border-radius:9px;background:#f8fbff;scroll-margin-top:20px}
.single-value{display:flex;align-items:center;gap:10px;min-width:0}
.single-result-label{font-size:14px;color:#63747d}
.single-code{border:0;border-radius:7px;background:#eff6ff;padding:10px 12px;color:var(--blue);font:600 30px/1.1 var(--mono);letter-spacing:.08em;min-width:152px}
.single-code:hover{background:#dbeafe}
.single-countdown{font-size:14px;color:var(--muted);white-space:nowrap}
.single-actions{display:flex;align-items:center;gap:8px;margin-left:auto}
.single-actions .btn{height:38px;font-size:14px;padding:0 12px}
@media(max-width:480px){.single-result{gap:10px}.single-result-label{display:none}.single-code{font-size:28px;min-width:140px}.single-actions{width:100%;justify-content:flex-end}}
