/**
 * 公共设计基础：表单、账户弹层、加载动画、可访问性与品牌基础。前后台均使用，业务布局不在此文件。
 * 依赖 /assets/common/app.css；无外部字体和远程样式，不包含凭据。
 * Copyright (c) 2026 威海颜翊网络科技有限公司。
 */
:root{--ct-ink:#172c43;--ct-muted:#7b8796;--ct-line:#e8edf2;--ct-accent:#326be8;--ct-soft:#edf3ff;--ct-bg:#f7f9fc;--ct-radius:14px}
body:not([data-admin=true]),body[data-page=account]{margin:0;color:var(--ct-ink);background:var(--ct-bg);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;font-size:14px;line-height:1.6}
body:not([data-admin=true]) *,body[data-page=account] *{box-sizing:border-box}
body:not([data-admin=true]) button,body:not([data-admin=true]) input,body:not([data-admin=true]) select,body:not([data-admin=true]) textarea{font:inherit}
[hidden]{display:none!important}
.ct-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.ct-muted{color:var(--ct-muted)}
.ct-link{color:var(--ct-accent);text-decoration:none}
.ct-link:hover{text-decoration:underline}
.ct-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.ct-brand{display:flex;align-items:center;gap:10px;padding:0 14px 32px;text-decoration:none;color:var(--ct-ink);font-size:23px;font-weight:750;letter-spacing:-1px}
.ct-brand span small{font-size:22px;color:var(--ct-accent);margin-left:3px}
.ct-brand-image{max-width:128px;max-height:40px;object-fit:contain}
.ct-button{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 17px;border:1px solid var(--ct-accent);border-radius:8px;background:var(--ct-accent);color:white;font:600 13px/1.5 inherit;text-decoration:none;cursor:pointer;transition:box-shadow .15s,background .15s;white-space:nowrap}
.ct-button:hover:not(:disabled){box-shadow:0 5px 12px #326be825;filter:brightness(.97)}
.ct-button.secondary{background:#fff;color:#465c73;border-color:#dce4ee}
.ct-button.ghost{background:transparent;border-color:transparent;color:#67798f}
.ct-button.danger{background:#fff;border-color:#f0d7d7;color:#bb4d50}
.ct-button.small{padding:6px 10px;min-height:32px;font-size:12px}
.ct-button:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}
.ct-button:focus-visible,.ct-input:focus-visible{outline:3px solid #92b3ff;outline-offset:3px}
.ct-icon-button{border:0;background:none;color:#738299;cursor:pointer;padding:7px;display:inline-flex;align-items:center}
.ct-card{background:white;border:1px solid var(--ct-line);border-radius:var(--ct-radius);padding:24px}
.ct-card h2{font-size:15px;margin:0 0 20px;font-weight:650}
.ct-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.ct-model-card{display:flex;flex-direction:column;align-items:flex-start;min-height:205px}
.ct-model-mark{width:43px;height:43px;border-radius:12px;background:#edf4ff;color:#326be8;display:flex;align-items:center;justify-content:center;margin-bottom:17px}
.ct-model-card h2{margin-bottom:6px}
.ct-model-card p{color:#8692a2;font-size:12px;flex:1;margin:0 0 20px}
.ct-model-card .ct-card-bottom{width:100%;display:flex;align-items:center;justify-content:space-between;gap:15px}
.ct-chip{display:inline-flex;padding:4px 8px;background:#f1f5fa;color:#6f8297;border-radius:6px;font-size:11px;white-space:nowrap}
.ct-chip.good{background:#eaf8f1;color:#339870}
.ct-chip.warning{background:#fff7e8;color:#b48830}
.ct-chip.error{background:#fceeee;color:#bd6161}
.ct-form{display:flex;flex-direction:column;gap:18px}
.ct-form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.ct-field{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:12px;color:#5e7086}
.ct-field>span{font-weight:550}
.ct-input{width:100%;min-height:43px;padding:10px 12px;border:1px solid #dfe6ef;border-radius:8px;color:#344c68;background:#fff;outline:none;font:inherit;box-sizing:border-box}
.ct-input:focus{border-color:#719cef;box-shadow:0 0 0 3px #326be80d}
.ct-input::placeholder{color:#abb5c2}
.ct-input[type=file]{font-size:12px}
textarea.ct-input{min-height:110px;resize:vertical}
.ct-field small{color:#9aa7b6;font-size:11px}
.ct-form-actions{display:flex;align-items:center;gap:12px;margin-top:5px}
.ct-inline-field{display:flex;gap:9px}
.ct-inline-field .ct-input{min-width:0;flex:1}
.ct-checkbox{display:flex;align-items:flex-start;gap:8px;font-size:12px;color:#7b8a9d}
.ct-checkbox input{width:16px;height:16px;margin-top:2px;accent-color:var(--ct-accent)}
.ct-form-note{font-size:12px;color:#8f9daf;line-height:1.8;margin:0}
.ct-divider{height:1px;background:var(--ct-line);margin:22px 0}
.ct-inline-actions{display:flex;gap:8px;flex-wrap:wrap}
.ct-table-wrap{overflow:auto}
.ct-table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}
.ct-table th{font-weight:500;color:#95a1af;background:#fafbfd}
.ct-table td,.ct-table th{padding:14px 18px;border-bottom:1px solid #edf1f6;max-width:300px;overflow-wrap:anywhere}
.ct-table tr:last-child td{border-bottom:0}
.ct-table td{color:#5e7188}
.ct-table code{font-family:Consolas,monospace;font-size:11px}
.ct-two-column{display:grid;grid-template-columns:1.3fr 1fr;gap:24px}
.ct-stat-value{font-size:36px;letter-spacing:-1px;font-weight:650;margin:10px 0}
.ct-stat-caption{font-size:12px;color:#9aa6b5}
.ct-secret{white-space:pre-wrap;overflow-wrap:anywhere;padding:18px;background:#f6f8fc;border:1px solid #e6ecf3;border-radius:9px;font-family:Consolas,monospace;font-size:12px;user-select:all}
.ct-empty{padding:60px 24px;text-align:center;color:#9aa7b7}
.ct-empty-mark{width:60px;height:60px;border-radius:18px;background:#f0f5ff;display:flex;align-items:center;justify-content:center;margin:0 auto 18px;color:#8ca9d5}
.ct-empty-mark .ct-icon{width:27px;height:27px}
.ct-empty h3{font-size:15px;color:#50657e;font-weight:550;margin:0 0 7px}
.ct-empty p{font-size:12px;margin:0 auto 20px;max-width:360px}
.ct-loading{min-height:160px;display:flex;gap:12px;align-items:center;justify-content:center;color:#8b9aab;font-size:12px}
.ct-spinner{width:19px;height:19px;border:2px solid #dce7fa;border-top-color:var(--ct-accent);border-radius:50%;animation:ct-spin .8s linear infinite}
.ct-global-loading{position:fixed;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#a4cbff,#326be8,#63c6be);z-index:1500;animation:ct-progress 1.2s ease-in-out infinite}
.ct-toast{position:fixed;top:24px;left:50%;transform:translateX(-50%);z-index:1700;max-width:min(500px,calc(100vw - 32px));padding:13px 22px;background:#243950;color:white;border-radius:10px;box-shadow:0 8px 25px #21395325;font-size:13px}
.ct-toast.error{background:#a2464f}
.ct-inline-error{padding:12px 14px;background:#fff3f3;color:#af5e61;border:1px solid #f2dddd;border-radius:8px;font-size:12px}
.account-actions{display:flex;align-items:center;gap:9px}
.ct-avatar{width:33px;height:33px;border-radius:50%;background:#eaf1ff;color:#557cb6;object-fit:cover;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:600}
.ct-avatar.large{width:72px;height:72px;font-size:23px}
.ct-profile-trigger{display:inline-flex;align-items:center;gap:9px;border:0;background:none;cursor:pointer;color:#53687e;font:inherit;font-size:12px}
.ct-logout{font-size:12px;color:#967782;padding:6px 9px;background:none;border:0;cursor:pointer}
.ct-profile-intro{display:flex;align-items:center;gap:22px;margin-bottom:28px}
.ct-profile-intro h2{margin:0 0 5px;font-size:20px}
.ct-profile-intro p{margin:0;color:#8e9bab;font-size:12px}
.ct-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.ct-modal{position:fixed;inset:0;z-index:1100;background:#162c4a65;backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:22px;font-family:Inter,-apple-system,"Segoe UI","Microsoft YaHei",sans-serif;color:var(--ct-ink)}
.ct-modal *{box-sizing:border-box}
.ct-modal-card{width:min(100%,490px);max-height:calc(100vh - 44px);overflow:auto;border:1px solid #e8eef7;border-radius:20px;background:white;padding:30px;box-shadow:0 25px 80px #0a21423d}
.ct-modal-card.wide{width:min(100%,830px)}
.ct-modal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:25px}
.ct-modal-heading h2{font-size:20px;font-weight:600;margin:0 0 7px}
.ct-modal-heading p{color:#94a0b0;font-size:12px;margin:0}
.ct-account-page{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr;background:white}
.ct-account-story{padding:52px 64px;display:flex;flex-direction:column;background:linear-gradient(135deg,#f0f5ff,#f7faff 55%,#eaf6f5);position:relative;overflow:hidden}
.ct-account-story .ct-brand{padding:0}
.ct-account-copy{margin:auto 0;max-width:520px;position:relative;z-index:1}
.ct-account-copy h1{font-size:43px;line-height:1.5;font-weight:550;letter-spacing:-1.5px;margin:24px 0}
.ct-account-copy p{font-size:15px;color:#8b9cb0;max-width:380px;line-height:2}
.ct-account-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:45px}
.ct-account-feature{padding:20px;border:1px solid #fff9;border-radius:13px;background:#ffffff9e;backdrop-filter:blur(8px)}
.ct-account-feature strong{display:block;font-size:13px;font-weight:550;margin-bottom:5px}
.ct-account-feature span{font-size:11px;color:#9aabba}
.ct-account-story:after{content:"";position:absolute;width:390px;height:390px;border:1px solid #aec9ef35;border-radius:50%;right:-100px;bottom:70px;box-shadow:0 0 0 80px #aac9f00a,0 0 0 160px #aac9f007}
.ct-account-form-side{display:flex;flex-direction:column;justify-content:center;padding:45px 12%;position:relative}
.ct-account-language{position:absolute;right:35px;top:30px}
.ct-auth-panel{width:100%;max-width:390px;margin:auto}
.ct-auth-panel h1{font-size:28px;letter-spacing:-.5px;margin:0 0 8px;font-weight:650}
.ct-auth-panel>p{font-size:13px;color:#98a3b2;margin:0 0 32px}
.ct-auth-nav{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-top:20px}
.ct-auth-footer{max-width:400px;margin:40px auto 0;font-size:10px;line-height:1.9;text-align:center;color:#a1adbc}
.ct-auth-footer a{color:#8c9bb0;text-decoration:none}
.ct-captcha-preview{position:relative;margin:18px auto;touch-action:none;max-width:100%;overflow:hidden;border-radius:9px;background:#edf2f7}
.ct-captcha-preview>img:first-child{display:block;width:100%;height:auto}
.ct-captcha-piece{position:absolute;left:0;top:0;pointer-events:none}
.ct-captcha-track{height:44px;border:1px solid #dce5f0;border-radius:8px;background:#f7f9fc;position:relative;touch-action:none;display:flex;align-items:center;justify-content:center;color:#9daaba;font-size:12px;user-select:none}
.ct-captcha-thumb{position:absolute;left:0;top:0;width:44px;height:42px;border:1px solid #cad9ef;border-radius:7px;background:#fff;color:var(--ct-accent);cursor:grab;touch-action:none;font-size:18px}
.ct-captcha-thumb:active{cursor:grabbing}
.ct-captcha-track-simple{height:58px;margin:20px 0 8px;border-radius:12px;font-size:14px}
.ct-captcha-track-simple .ct-captcha-thumb{width:56px;height:56px;border-radius:11px}
.ct-captcha-footer{display:flex;justify-content:space-between;align-items:center;margin-top:15px}
.ct-auth-notice{margin-bottom:20px}
.ct-loading-screen{display:flex;align-items:center;justify-content:center;min-height:50vh}
.ct-travel-prompts{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:23px}
@keyframes ct-spin{to{transform:rotate(360deg)}}
@keyframes ct-progress{0%{opacity:.55}50%{opacity:1}100%{opacity:.55}}
@media(prefers-reduced-motion:reduce){.ct-spinner,.ct-global-loading{animation:none}*{transition:none!important}}
@media(max-width:1150px){.ct-cards{grid-template-columns:1fr 1fr}.ct-account-story{padding:42px}.ct-account-copy h1{font-size:34px}.ct-account-form-side{padding:40px 10%}}
@media(max-width:800px){.ct-cards,.ct-two-column,.ct-profile-grid{grid-template-columns:1fr}.ct-account-page{grid-template-columns:1fr}.ct-account-story{display:none}.ct-account-form-side{padding:95px 28px 35px;min-height:100vh}.ct-account-language{right:25px;top:25px}.ct-auth-panel{max-width:380px}.ct-modal-card{padding:24px}.ct-profile-trigger .ct-display-name{display:none}.ct-form-row{grid-template-columns:1fr}.ct-card{padding:21px}}
.ct-brand-image,.ct-official-mark{width:32px;height:32px;object-fit:contain;vertical-align:middle;flex-shrink:0}
.ct-brand{gap:10px}
.ct-brand .ct-brand-image{max-height:32px;max-width:32px}
.ct-auth-footer{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px 14px;font-size:11px;line-height:1.7}
.ct-auth-footer>a{white-space:nowrap}
.ct-pre-wrap{white-space:pre-wrap}
.ct-text-xs{font-size:11px}
.ct-mt-20{margin-top:20px}
.ct-align-end{justify-content:flex-end}
.ct-mt-18{margin-top:18px}
.ct-fieldset-reset{border:0;padding:0}
.ct-captcha-width{width:300px}
.ct-mt-25{margin-top:25px}
.ct-mt-24{margin-top:24px}

/* 前后台登录页共享的简短眉题，不承载业务布局。 */
.ct-eyebrow{font-size:10px;letter-spacing:1.6px;text-transform:uppercase;font-weight:700;color:var(--ct-accent);margin-bottom:7px}
