:root{
  --gmm-bg:#f7f9fc;
  --gmm-card:#ffffff;
  --gmm-text:#172033;
  --gmm-muted:#6b7280;
  --gmm-line:#e6eaf0;
  --gmm-primary:#2563eb;
  --gmm-primary-dark:#1d4ed8;
  --gmm-soft:#eef5ff;
  --gmm-success:#0f9f6e;
  --gmm-danger:#dc2626;
  --gmm-shadow:0 14px 36px rgba(15,23,42,.06);
}
.gmm-page{background:var(--gmm-bg);padding:24px 14px;border-radius:24px}
.gmm-page,.gmm-page *{box-sizing:border-box}
.gmm-shell,.gmm-login-wrap{max-width:1180px;margin:0 auto;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--gmm-text)}
.gmm-login-wrap{min-height:68vh;display:flex;align-items:center;justify-content:center;padding:28px 0}
.gmm-card{background:var(--gmm-card);border:1px solid var(--gmm-line);border-radius:22px;padding:24px;box-shadow:var(--gmm-shadow)}
.gmm-login-card{width:min(460px,100%);margin:auto;padding:34px;text-align:center}
.gmm-login-card form{text-align:left;margin-top:22px}
.gmm-login-logo{width:54px;height:54px;border-radius:17px;margin:0 auto 16px;background:linear-gradient(135deg,#2563eb,#60a5fa);color:#fff;display:flex;align-items:center;justify-content:center;font-size:25px;font-weight:900;box-shadow:0 12px 24px rgba(37,99,235,.22)}
.gmm-login-card h2{margin:8px 0 2px;font-size:28px;letter-spacing:-.02em}
.gmm-login-foot{margin-top:18px;padding-top:16px;border-top:1px solid var(--gmm-line);font-size:12px;color:#8a94a5}
.gmm-chip{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border-radius:999px;font-size:11px;font-weight:700;letter-spacing:.02em;background:var(--gmm-soft);color:var(--gmm-primary)}
.gmm-chip-success{background:#eafbf3;color:var(--gmm-success)}
.gmm-card-head,.gmm-section-head,.gmm-table-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.gmm-card-head h2,.gmm-section-head h3,.gmm-table-head h3{margin:5px 0 0;font-size:22px;letter-spacing:-.01em}
.gmm-section-head p,.gmm-table-head p,.gmm-muted{margin:6px 0 0;color:var(--gmm-muted);line-height:1.6}
.gmm-brand{font-weight:900;letter-spacing:.12em;color:var(--gmm-primary);font-size:11px;text-transform:uppercase}
.gmm-card label{display:block;font-size:13px;font-weight:700;margin:16px 0 8px;color:#374151}
.gmm-card input{width:100%;height:48px;border:1px solid var(--gmm-line);border-radius:13px;padding:0 14px;font-size:15px;background:#fff;color:var(--gmm-text);transition:border-color .18s,box-shadow .18s}
.gmm-card input:focus{outline:none;border-color:#9ab7ff;box-shadow:0 0 0 4px rgba(37,99,235,.09)}
.gmm-input-row{display:grid;grid-template-columns:1fr auto;gap:9px;align-items:center}
.gmm-domain{font-size:13px;color:var(--gmm-muted);margin-top:8px}
.gmm-btn,.gmm-copyline button,.gmm-actions button,.gmm-link-btn{appearance:none;border:1px solid transparent;border-radius:12px;padding:0 15px;height:43px;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;font-weight:700;text-decoration:none;transition:all .16s ease}
.gmm-btn:hover,.gmm-copyline button:hover,.gmm-actions button:hover,.gmm-link-btn:hover{transform:translateY(-1px)}
.gmm-primary{background:var(--gmm-primary);color:#fff;box-shadow:0 10px 20px rgba(37,99,235,.16)}
.gmm-primary:hover{background:var(--gmm-primary-dark)}
.gmm-secondary{background:#fff;border-color:var(--gmm-line);color:#22304a}
.gmm-ghost{background:#fff;color:var(--gmm-primary);border-color:#dbe7fb;box-shadow:0 4px 12px rgba(37,99,235,.05)}
.gmm-full{width:100%;margin-top:18px}
.gmm-message{margin-top:12px;font-size:13px;min-height:18px;line-height:1.5}
.gmm-message.ok{color:var(--gmm-success)}
.gmm-message.bad{color:#b42318}
.gmm-copyline{display:grid;grid-template-columns:1fr auto;gap:9px;align-items:center;margin-top:6px}
.gmm-copyline code{display:block;background:#f8fafc;border:1px solid var(--gmm-line);border-radius:12px;padding:13px 15px;overflow:auto;font-size:14px}
.gmm-copyline button,.gmm-actions button,.gmm-link-btn{background:#fff;border-color:var(--gmm-line);color:#22304a}
.gmm-hero{display:flex;justify-content:space-between;gap:18px;align-items:center;background:linear-gradient(135deg,#eef5ff,#f9fbff);padding:24px 26px;border:1px solid #dfeafa;border-radius:22px;color:var(--gmm-text);box-shadow:var(--gmm-shadow);margin-bottom:18px}
.gmm-hero h1{margin:7px 0 7px;font-size:30px;letter-spacing:-.02em}
.gmm-hero p{margin:0;max-width:720px;color:#61708a;line-height:1.65}
.gmm-hero-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.gmm-user-badge{background:#fff;border:1px solid #dfe7f2;padding:9px 13px;border-radius:999px;color:#334155;font-weight:700;box-shadow:0 3px 10px rgba(15,23,42,.04)}
.gmm-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:18px}
.gmm-stat-card{background:#fff;border:1px solid var(--gmm-line);border-radius:18px;padding:18px;box-shadow:0 6px 20px rgba(15,23,42,.035)}
.gmm-stat-card span{display:block;color:#7a8495;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.gmm-stat-card strong{display:block;margin-top:8px;font-size:24px;line-height:1.2;color:#172033;word-break:break-word}
.gmm-stat-card small{display:block;margin-top:6px;color:#8a94a5;line-height:1.45}
.gmm-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:16px;margin-bottom:16px}
.gmm-create-card{min-height:100%}
.gmm-result-card{display:flex;flex-direction:column;justify-content:center}
.gmm-result-placeholder{align-items:center;text-align:center;background:#fbfdff}
.gmm-placeholder-icon{width:58px;height:58px;border-radius:18px;display:flex;align-items:center;justify-content:center;background:var(--gmm-soft);font-size:26px;margin-bottom:12px}
.gmm-result-placeholder h3{margin:0 0 8px}
.gmm-result-placeholder p{margin:0;color:var(--gmm-muted);line-height:1.6;max-width:350px}
.gmm-table-card{padding:0;overflow:hidden}
.gmm-table-head{padding:22px 22px 16px;align-items:center}
.gmm-table-wrap{overflow:auto}
.gmm-table{width:100%;border-collapse:separate;border-spacing:0;min-width:720px}
.gmm-table thead th{background:#fafbfc;color:#7a8495;font-size:11px;text-transform:uppercase;letter-spacing:.06em}
.gmm-table th,.gmm-table td{text-align:left;padding:15px 17px;border-top:1px solid #eef1f5;font-size:14px;vertical-align:middle}
.gmm-table tbody tr:hover{background:#fbfdff}
.gmm-email-cell{display:flex;flex-direction:column;gap:4px}
.gmm-email-cell strong{font-size:14px;color:#172033}
.gmm-email-cell span{font-size:12px;color:var(--gmm-muted)}
.gmm-actions{display:flex;flex-wrap:wrap;gap:7px}
.gmm-actions button{height:34px;padding:0 11px;border-radius:10px;font-size:12px}
.gmm-actions button.danger{color:var(--gmm-danger);border-color:#fecaca;background:#fff}
.gmm-empty-cell{text-align:center;color:var(--gmm-muted);padding:28px 18px!important}
.gmm-alert{background:#fff8e8;border:1px solid #f2d777;padding:13px 15px;border-radius:13px;margin-bottom:16px;color:#7c5b00}
.gmm-modal{position:fixed;inset:0;background:rgba(15,23,42,.38);z-index:999999;display:flex;align-items:center;justify-content:center;padding:18px}
.gmm-modal[hidden]{display:none}
.gmm-modal-box{position:relative;background:#fff;border-radius:20px;padding:24px;width:min(460px,100%);box-shadow:0 20px 60px rgba(0,0,0,.18)}
.gmm-modal-box h3{margin:0 0 10px;font-size:23px}
.gmm-modal-close{position:absolute;right:14px;top:12px;border:0;background:none;font-size:28px;cursor:pointer;color:#334155}
.gmm-modal-email{font-size:13px;color:var(--gmm-muted);margin-bottom:12px}
.gmm-modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:12px}
@media(max-width:1050px){.gmm-stat-grid{grid-template-columns:repeat(2,1fr)}.gmm-grid{grid-template-columns:1fr}}
@media(max-width:760px){.gmm-page{padding:12px 7px;border-radius:16px}.gmm-shell{margin:0}.gmm-login-wrap{min-height:60vh;padding:12px 0}.gmm-login-card{padding:24px 19px}.gmm-hero{padding:19px;flex-direction:column;align-items:flex-start}.gmm-hero h1{font-size:26px}.gmm-hero-actions{justify-content:flex-start}.gmm-stat-grid{grid-template-columns:1fr 1fr}.gmm-card{border-radius:18px;padding:18px}.gmm-section-head,.gmm-table-head{align-items:flex-start}.gmm-card-head h2,.gmm-section-head h3,.gmm-table-head h3{font-size:20px}.gmm-input-row,.gmm-copyline{grid-template-columns:1fr}.gmm-table{min-width:660px}}
@media(max-width:480px){.gmm-stat-grid{grid-template-columns:1fr}.gmm-user-badge{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
.gmm-search-bar{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:0 24px 18px}.gmm-search-box{display:flex;gap:9px;align-items:center;flex:1;max-width:760px}.gmm-search-box input{min-width:260px;flex:1;height:44px;border:1px solid var(--gmm-line);border-radius:14px;padding:0 14px;font-size:14px;background:#fff}.gmm-search-box input:focus{outline:none;border-color:#9ab7ff;box-shadow:0 0 0 4px rgba(37,99,235,.10)}.gmm-search-status{color:var(--gmm-muted);font-size:13px;white-space:nowrap}.gmm-creator-label{display:inline-flex;align-items:center;min-height:30px;padding:5px 10px;border-radius:999px;background:#f3f6fb;color:#475569;font-size:12px;font-weight:700}.gmm-table{min-width:1040px}@media(max-width:760px){.gmm-search-bar{padding:0 18px 16px;align-items:stretch;flex-direction:column}.gmm-search-box{max-width:none;display:grid;grid-template-columns:1fr 1fr}.gmm-search-box input{grid-column:1/-1;min-width:0}.gmm-search-status{white-space:normal}}
