:root{--primary:#0d766e;--secondary:#102a36;--accent:#6ee7cb;--header-bg:#102a36;--header-color:#eef9f6;--header-link-color:#fff;--breadcrumbs-bg:#153d49;--link-fg:#08796d;--link-selected-fg:#065b53;--button-bg:#0d766e;--button-hover-bg:#095e57;--default-button-bg:#0d766e;--default-button-hover-bg:#095e57;--font-family-primary:"Segoe UI","Microsoft YaHei",sans-serif}
#header{min-height:64px;padding-top:12px;padding-bottom:12px}.brand{display:flex;gap:13px;align-items:center}.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:43px;height:43px;border-radius:12px;background:#6ee7cb;color:#103b3b;font:800 19px "Segoe UI",sans-serif}.brand a{font-size:19px;font-weight:650;letter-spacing:.02em}.brand small{display:block;margin-top:4px;font-size:11px;letter-spacing:.06em;color:#a9c8cc}#branding h1{margin:0}#content{max-width:1600px}body.dashboard #content{width:auto}body.dashboard #content-main{width:100%}.dashboard-intro{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:26px}.dashboard-intro h1{font-size:28px;font-weight:650;margin:7px 0 11px;color:var(--body-fg)}.dashboard-intro p{margin:0;color:var(--body-quiet-color)}.eyebrow{font-size:11px;font-weight:700;letter-spacing:.12em;color:#0d766e;margin:0 0 8px}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(160px,1fr));gap:15px;margin:0 0 20px}.metric{display:block;background:var(--body-bg);border:1px solid var(--hairline-color);border-radius:12px;padding:22px;color:var(--body-fg)!important;box-shadow:0 3px 12px #152f3c06}.metric:hover{border-color:#70b8af}.metric span{font-size:13px;color:var(--body-quiet-color)}.metric strong{display:block;font-size:34px;font-weight:650;margin:8px 0 7px}.metric small{color:var(--body-quiet-color)}.metric.warm strong{color:#b36b13}.policy-strip{display:flex;justify-content:space-between;align-items:center;gap:16px;background:var(--darkened-bg);padding:14px 18px;border-radius:9px;margin-bottom:28px;font-size:13px}.dashboard .module{border:1px solid var(--hairline-color);border-radius:9px;overflow:hidden}.dashboard .module table{width:100%}.activity{margin:28px 0;max-width:100%}.activity h2{font-weight:650}.activity table{width:100%;border:1px solid var(--hairline-color);border-radius:8px}.activity th,.activity td{padding:12px 15px}.empty{padding:26px!important;color:var(--body-quiet-color);text-align:center}.owner-footer{padding:22px 40px;color:var(--body-quiet-color);font-size:11px;border-top:1px solid var(--hairline-color);margin-top:25px}.page-note{font-size:13px;color:var(--body-quiet-color);line-height:1.8;max-width:1100px}.form-card{max-width:840px;border:1px solid var(--hairline-color);padding:30px;border-radius:12px;background:var(--body-bg)}.form-card form p{margin:20px 0}.form-card form label{display:block;font-weight:600;margin-bottom:7px}.form-card input[type=number]{width:90px}.form-card textarea{max-width:100%;box-sizing:border-box}.form-card .submit-row{margin:25px 0 0}.form-card select{max-width:100%;min-width:200px}.activation-value{font-family:Consolas,monospace!important;width:min(650px,90%);padding:10px!important;letter-spacing:.03em}#activation-codes{width:100%;min-height:160px;font:14px/2 Consolas,monospace;padding:14px;box-sizing:border-box;border:1px solid var(--border-color,#c9d6d9);border-radius:8px}.generated-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.button.primary{background:#0d766e!important;color:#fff!important;border:0;padding:11px 18px;white-space:nowrap;text-decoration:none;border-radius:6px;cursor:pointer}.state-pill{display:inline-block;padding:4px 9px;border-radius:99px;background:var(--darkened-bg);font-size:11px;white-space:nowrap}.state-pill.ok{color:#08796d;background:#def5ed}.state-pill.warn{color:#92510b;background:#fff0d4}.state-pill.quiet{color:var(--body-quiet-color)}.setup-page{margin:0;background:#edf3f5;color:#18313b;font:14px/1.6 "Segoe UI","Microsoft YaHei",sans-serif;min-height:100vh;display:flex;justify-content:center}.setup-card{background:white;width:420px;max-width:calc(100% - 56px);margin:40px 0;padding:34px;border:1px solid #dbe5e8;border-radius:16px;box-shadow:0 16px 70px #112f3d0b}.setup-card h1{font-size:24px;margin:10px 0}.setup-card p{color:#59717b}.setup-card .eyebrow{margin-top:22px}.setup-card label{display:block;margin:15px 0;font-weight:600}.setup-card input{display:block;width:100%;padding:11px;margin:7px 0;box-sizing:border-box;border:1px solid #c7d8de;border-radius:6px;background:#fbfdfd;color:#163b47;font:inherit}.setup-card button{width:100%;margin-top:10px;font:inherit}.setup-card .qr svg{width:175px;height:175px}.setup-card .qr{text-align:center}.setup-card details{font-size:12px;word-break:break-all;margin:6px 0 16px}.setup-card details code{display:block;padding:12px;background:#eef6f5;border-radius:5px}.setup-card footer{margin-top:25px;font-size:11px;color:#6b828b}.setup-error{background:#fff0ec;padding:12px;color:#a32d20!important;border-radius:5px}@media(max-width:900px){.metric-grid{grid-template-columns:repeat(2,minmax(120px,1fr))}.dashboard-intro{align-items:flex-start;flex-direction:column}.policy-strip{align-items:flex-start;flex-direction:column}.form-card{padding:20px}.dashboard-intro h1{font-size:23px}}

.plugin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:18px;margin:24px 0}.plugin-card{border:1px solid var(--hairline-color);border-radius:12px;padding:22px;background:var(--body-bg)}.plugin-card h2{margin:0 12px 12px 0;font-size:23px}.plugin-card>div:first-child{display:flex;align-items:center;justify-content:space-between}.plugin-card p{color:var(--body-quiet-color)}.plugin-actions{display:flex;gap:10px;align-items:center}.plugin-actions .button{padding:10px 16px;cursor:pointer}.management-tabs{display:flex;gap:8px;margin:0 0 24px}.management-tabs a{padding:9px 18px;border-radius:7px;background:var(--darkened-bg)}.management-tabs .active{color:#fff;background:#0c7771}.code-cell{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}.copy-code{background:transparent;border:1px solid var(--hairline-color);color:var(--link-fg);border-radius:4px;cursor:pointer;font-size:18px;padding:0 5px}.copy-code:hover{background:var(--darkened-bg)}#record-editor{position:fixed;inset:0;width:min(640px,85vw);max-height:85vh;overflow:auto;border:0;border-radius:12px;padding:32px;color:var(--body-fg);background:var(--body-bg);box-shadow:0 20px 80px #0005}#record-editor::backdrop{background:#062d3f77}.dialog-close{float:right;border:0;background:transparent;color:var(--body-fg);font-size:28px;cursor:pointer}#record-editor label{display:block;margin:15px 0 7px}#record-editor input:not([type=submit]):not([type=checkbox]),#record-editor textarea{box-sizing:border-box;width:100%}#record-editor textarea{height:100px}#record-editor-error{color:var(--error-fg)}.copy-status{font-size:13px;color:var(--link-fg)}

.plugin-controls{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.plugin-selector label{display:block;margin-bottom:7px;font-size:13px;color:var(--body-quiet-color)}.plugin-selector select{min-width:220px;max-width:100%;height:auto;min-height:40px;padding:8px 10px;border-radius:6px}.selected-plugin-grid{grid-template-columns:minmax(0,1fr)}.plugin-card-tools{display:flex;align-items:center;gap:10px}.delete-plugin{border:1px solid var(--hairline-color);background:transparent;color:var(--body-quiet-color);font-size:20px;border-radius:5px;line-height:24px;width:27px;cursor:pointer}.delete-plugin:hover{color:var(--error-fg);border-color:var(--error-fg)}.generate-plugin-code{margin-left:auto}.generation-panel{max-width:1160px}.generation-layout{display:grid;grid-template-columns:minmax(300px,.9fr) minmax(300px,1.1fr);gap:30px;margin-top:25px}.generation-form .customer-picker{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.customer-picker select{min-width:200px}.customer-picker button{padding:8px 12px;cursor:pointer}.generation-form textarea{width:100%;height:95px}.generation-form .submit-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.generation-results{border-left:1px solid var(--hairline-color);padding-left:30px;min-width:0}.generation-results h2{font-size:23px;font-weight:500;margin:6px 0 20px}.generation-results #activation-codes{min-height:230px;resize:vertical;overflow-wrap:anywhere}.generation-results .page-note{margin-top:20px}#inline-customer{border:1px solid var(--hairline-color);border-radius:8px;padding:0 18px;background:var(--darkened-bg)}#inline-customer[hidden]{display:none!important}#inline-customer legend{font-weight:600;padding:0 6px}#inline-customer input{box-sizing:border-box;max-width:100%;width:100%}@media(max-width:900px){.plugin-controls{width:100%}.plugin-actions{flex-wrap:wrap}.generate-plugin-code{margin-left:0}.generation-layout{grid-template-columns:minmax(0,1fr)}.generation-results{padding:24px 0 0;border-left:0;border-top:1px solid var(--hairline-color)}}

#changelist .actions .delete-codes-button{margin-left:6px;color:#a52626;border-color:#d2abab;background:#fff8f6}.delete-code-list{width:100%;margin:20px 0}.delete-code-list th,.delete-code-list td{padding:12px 10px;text-align:left}

.email-login-link{text-align:center;padding:12px 0 22px}.setup-card .email-notice{padding:12px;background:#e7f5f0;border-radius:6px;color:#155e52}.setup-card button.secondary{background:#edf4f4;border:1px solid #bdd7d3;color:#0c6e65;padding:10px;border-radius:6px;cursor:pointer}.setup-card .errorlist{color:#a32d20;list-style:none;padding-left:0}
