:root {
  --navy: #111b31;
  --navy-2: #17233d;
  --navy-3: #23314d;
  --emerald: #10b981;
  --critter-lime: #dceb62;
  --emerald-dark: #07865e;
  --emerald-soft: #eafaf4;
  --ink: #182238;
  --muted: #667085;
  --line: #e7eaf0;
  --surface: #ffffff;
  --canvas: #f4f6fa;
  --shadow: 0 14px 38px rgba(20, 31, 53, .08);
  --radius: 12px;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--canvas); }
body { margin: 0; min-width: 320px; min-height: 100vh; color: var(--ink); font-family: "Segoe UI", Arial, sans-serif; font-size: 14px; font-weight: 400; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.screen { display: none; min-height: 100vh; }
.screen.active { display: flex; }
.prototype-ribbon { position: fixed; z-index: 100; top: 0; left: 50%; transform: translateX(-50%); padding: 6px 16px 7px; border-radius: 0 0 10px 10px; background: rgba(17, 27, 49, .86); color: #dce5f4; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(10px); }

/* Shared brand and controls */
.brand-lockup { display: flex; align-items: center; gap: 12px; }
.brand-lockup.centered { justify-content: center; }
.brand-lockup.compact { gap: 9px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; letter-spacing: -.02em; }
.brand-icon { display: inline-grid; place-items: center; width: 37px; height: 37px; border: 1px solid rgba(16, 185, 129, .48); border-radius: 7px; color: var(--emerald); background: rgba(16,185,129,.06); font-size: 12px; font-weight: 800; letter-spacing: -.03em; }
.brand-icon.small { width: 30px; height: 30px; border-radius: 8px; }
.critter-logo { width: 38px; height: 38px; display: block; flex: 0 0 38px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; object-fit: cover; }
.critter-logo.small { width: 30px; height: 30px; flex-basis: 30px; }
.brand-divider { color: #98a2b3; font-weight: 300; font-size: 18px; }
.gn-wordmark { color: #1a2744; font-size: 18px; font-weight: 750; letter-spacing: -.045em; }
.gn-wordmark span { color: var(--emerald); }
.primary-button { width: 100%; border: 0; border-radius: 8px; padding: 14px 17px; display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--emerald); color: #061b15; font-weight: 700; box-shadow: 0 7px 18px rgba(16,185,129,.17); transition: .2s ease; }
.primary-button:hover { background: #21c890; box-shadow: 0 9px 22px rgba(16,185,129,.2); }
.primary-button span { font-size: 18px; }
.compact-button { width: auto; padding: 11px 16px; }
.secondary-button { border: 1px solid #d8dee8; border-radius: 7px; padding: 9px 13px; color: #344054; background: white; font-weight: 650; }
.secondary-button:hover { border-color: #aeb8c8; background: #f8fafc; }
.text-button, .link-button { border: 0; padding: 0; color: var(--emerald); background: transparent; font-size: 12px; font-weight: 750; }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap input { width: 100%; height: 48px; border: 1px solid #34415a; border-radius: 8px; padding: 0 48px 0 43px; outline: 0; color: white; background: rgba(255,255,255,.035); transition: .2s; }
.input-wrap input:focus { border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(16,185,129,.11); }
.input-wrap.light input { color: var(--ink); background: white; border-color: #d8dee8; }
.input-icon { position: absolute; z-index: 1; left: 15px; color: #77849b; font-size: 12px; font-weight: 800; }
.input-action { position: absolute; right: 13px; border: 0; color: #a7b1c2; background: transparent; font-size: 11px; font-weight: 750; }

/* Authentication */
.auth-shell { background: var(--navy); }
.auth-panel { width: 47%; max-width: 680px; min-height: 100vh; display: flex; flex-direction: column; padding: 50px clamp(42px, 6vw, 96px) 28px; color: white; background: #111b31; }
.auth-content { width: 100%; max-width: 440px; margin: auto 0; padding: 56px 0 28px; }
.auth-panel .gn-wordmark { color: white; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 19px; color: #aeb9ca; font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 5px rgba(16,185,129,.11); }
.auth-content h1 { margin: 0; font-family: Georgia, Cambria, serif; font-size: clamp(42px, 4.4vw, 64px); font-weight: 400; line-height: 1.01; letter-spacing: -.045em; }
.auth-content h1 span { color: #a9dbc9; font-style: italic; }
.auth-lead { max-width: 425px; margin: 22px 0 31px; color: #a9b4c6; font-size: 14px; line-height: 1.7; }
.auth-form { display: grid; gap: 10px; }
.auth-form label, .connect-form label { color: #ced5e1; font-size: 11px; font-weight: 750; }
.form-row { display: flex; align-items: center; justify-content: space-between; margin-top: 7px; }
.auth-form .primary-button { margin-top: 10px; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 15px; color: #77849a; font-size: 10px; }
.secure-note span { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; color: var(--emerald); background: rgba(16,185,129,.1); }
.auth-footer { padding-top: 18px; border-top: 1px solid rgba(255,255,255,.07); color: #8995a8; font-size: 11px; }
.story-panel { position: relative; flex: 1; min-height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 80px clamp(42px, 6vw, 96px); background: #f1f2ef; }
.story-orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .8; }
.orb-one { width: 330px; height: 330px; right: -150px; top: 10%; border: 1px solid rgba(16,185,129,.18); }
.orb-two { width: 180px; height: 180px; left: -90px; bottom: 12%; background: rgba(16,185,129,.05); }
.story-top { width: min(540px, 100%); display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; color: #4b576b; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.live-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid #d9e5e0; border-radius: 999px; background: rgba(255,255,255,.64); color: #576579; }
.live-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 4px rgba(16,185,129,.12); }
.pet-passport-card { position: relative; width: min(540px, 100%); padding: 27px; overflow: hidden; border: 1px solid rgba(255,255,255,.5); border-radius: 15px; color: white; background: #17243d; box-shadow: 0 22px 48px rgba(24,40,60,.16); }
.pet-passport-card::after { content: ""; position: absolute; width: 230px; height: 230px; right: -90px; top: -110px; border: 1px solid rgba(89,225,180,.16); border-radius: 50%; box-shadow: 0 0 0 25px rgba(89,225,180,.025), 0 0 0 55px rgba(89,225,180,.018); }
.official-card-photo { width: min(540px, 100%); margin: 0; overflow: hidden; border: 1px solid #d9ddda; border-radius: 12px; background: #fff; box-shadow: 0 18px 42px rgba(24,40,60,.13); }
.official-card-photo img { display: block; width: 100%; height: 365px; object-fit: contain; object-position: center; background: #eef0ee; }
.admin-access { float: right; color: #8c98aa; text-decoration: none; font-size: 10px; font-weight: 600; }
.admin-access:hover { color: #b6c0cf; }
.official-card-photo figcaption { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 15px; border-top: 1px solid #e7e9e7; }
.official-card-photo figcaption > span { display: grid; gap: 2px; }
.official-card-photo figcaption strong { color: #273245; font-size: 12px; font-weight: 650; }
.official-card-photo figcaption small { color: #7a8594; font-size: 9px; }
.official-card-photo figcaption em { color: #697586; font-size: 8px; font-style: normal; white-space: nowrap; }
.passport-top { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; }
.passport-top div:first-child { display: grid; }
.passport-top small, .passport-meta small { color: #8e9caf; font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.passport-top strong { margin: 10px 0 4px; font-size: 29px; letter-spacing: .04em; }
.passport-top span { color: #abb6c8; font-size: 11px; }
.pet-avatar { display: grid; place-items: center; width: 64px; height: 64px; border: 2px solid rgba(255,255,255,.7); border-radius: 50%; color: #dff9ef; background: linear-gradient(145deg, #26b989, #17664e); font-size: 25px; font-weight: 900; box-shadow: 0 0 0 5px rgba(255,255,255,.06); }
.passport-meta { position: relative; z-index: 1; display: flex; gap: 56px; margin: 34px 0 25px; }
.passport-meta span { display: grid; gap: 5px; font-size: 12px; font-weight: 700; }
.passport-meta b { color: #67e8b6; }
.passport-bottom { display: flex; align-items: center; gap: 12px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.09); color: #9ba8bb; font-size: 10px; }
.mini-qr { width: 37px; height: 37px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 4px; border-radius: 5px; background: white; }
.mini-qr i { background: #17233d; }
.mini-qr i:nth-child(2), .mini-qr i:nth-child(4), .mini-qr i:nth-child(8) { opacity: .08; }
.flow-cards { width: min(540px, 100%); display: grid; gap: 10px; margin-top: 20px; }
.flow-card { display: grid; grid-template-columns: 42px 1fr auto; gap: 13px; align-items: center; padding: 13px 15px; border: 1px solid #dde2df; border-radius: 9px; text-align: left; background: rgba(255,255,255,.74); box-shadow: none; transition: .2s; }
.flow-card:hover { border-color: rgba(16,185,129,.42); background: white; }
.flow-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; font-size: 19px; }
.sync-icon { color: #07865e; background: #dff8ee; }
.edit-icon { color: #b45309; background: #fff3d7; }
.flow-card > span:nth-child(2) { display: grid; gap: 3px; }
.flow-card strong { color: #29354a; font-size: 12px; }
.flow-card small { color: #7a8698; font-size: 10px; }
.flow-card b { color: #8090a4; font-size: 10px; }
.story-caption { width: min(540px, 100%); margin: 18px 0 0; color: #758295; font-size: 10px; line-height: 1.55; }

/* Card connection */
.connect-shell { align-items: center; justify-content: center; padding: 70px 20px; background: radial-gradient(circle at 20% 10%, rgba(16,185,129,.08), transparent 24%), var(--canvas); }
.connect-card { position: relative; width: min(580px, 100%); padding: 41px 48px; border: 1px solid #e1e5ea; border-radius: 14px; background: white; box-shadow: var(--shadow); }
.back-button { position: absolute; top: -34px; left: 0; border: 0; background: transparent; color: #5f6c81; font-size: 11px; font-weight: 700; }
.step-indicator { display: flex; align-items: center; justify-content: center; margin: 30px 0 23px; }
.step-indicator span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #cbd3df; color: #8390a3; font-size: 10px; font-weight: 800; }
.step-indicator .done { color: white; border-color: var(--emerald); background: var(--emerald); }
.step-indicator .current { color: var(--emerald-dark); border-color: var(--emerald); background: var(--emerald-soft); }
.step-indicator i { width: 58px; height: 1px; background: var(--emerald); }
.connect-heading { text-align: center; }
.scan-icon { width: 49px; height: 49px; display: grid; place-items: center; margin: 0 auto 13px; border-radius: 14px; color: var(--emerald-dark); background: var(--emerald-soft); font-size: 25px; }
.connect-heading h2 { margin: 0; font-size: 25px; letter-spacing: -.035em; }
.connect-heading p { max-width: 440px; margin: 9px auto 25px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.connect-form { display: grid; gap: 9px; }
.connect-form label { color: #475467; margin-top: 3px; }
.scan-button { position: absolute; right: 8px; padding: 7px 10px; border: 0; border-radius: 7px; color: var(--emerald-dark); background: var(--emerald-soft); font-size: 10px; font-weight: 800; }
.connect-form .primary-button { margin-top: 11px; }
.official-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 17px; padding: 12px; border-radius: 10px; color: #667085; background: #f6f8fb; }
.official-note span { flex: 0 0 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; color: #64748b; background: #e4e9f0; font-size: 10px; font-weight: 900; }
.official-note p { margin: 0; font-size: 9px; line-height: 1.55; }
.demo-shortcuts { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 17px; border-top: 1px solid var(--line); }
.demo-shortcuts span { width: 100%; color: #98a2b3; text-align: center; font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.demo-shortcuts button { padding: 6px 9px; border: 1px solid #dfe4eb; border-radius: 7px; background: white; color: #59667a; font-size: 9px; font-weight: 700; }

/* Dashboard shell */
.dashboard-shell { display: none; min-height: 100vh; flex-direction: column; background: var(--canvas); }
.dashboard-shell.active { display: flex; }
.app-header { height: 72px; flex: 0 0 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 27px; border-bottom: 1px solid #e4e8ef; background: rgba(255,255,255,.96); }
.app-header .brand { font-size: 13px; }
.app-header .brand-icon { width: 32px; height: 32px; border-radius: 9px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.mode-switch { display: flex; padding: 3px; border-radius: 9px; background: #eef1f5; }
.mode-switch button { padding: 7px 10px; border: 0; border-radius: 7px; color: #768397; background: transparent; font-size: 9px; font-weight: 800; }
.mode-switch button.active { color: #152238; background: white; box-shadow: 0 2px 7px rgba(20,30,50,.08); }
.icon-button { position: relative; width: 36px; height: 36px; border: 1px solid #e0e5ec; border-radius: 9px; color: #7c899b; background: white; font-size: 8px; }
.icon-button span { position: absolute; width: 6px; height: 6px; right: 7px; top: 6px; border: 2px solid white; border-radius: 50%; background: #f04438; }
.account-button { display: flex; align-items: center; gap: 9px; padding: 4px 7px 4px 4px; border: 0; background: transparent; text-align: left; }
.account-button > span:first-child { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 9px; color: #e8fff7; background: #1b6d58; font-size: 10px; font-weight: 800; }
.account-button > span:nth-child(2) { display: grid; gap: 1px; }
.account-button strong { color: #344054; font-size: 10px; }
.account-button small { color: #98a2b3; font-size: 8px; }
.account-button b { color: #98a2b3; font-size: 11px; }
.dashboard-grid { flex: 1; display: grid; grid-template-columns: 230px 1fr; }
.sidebar { display: flex; flex-direction: column; padding: 22px 14px 16px; border-right: 1px solid #e4e8ef; background: #fff; }
.pet-switcher { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 10px; margin-bottom: 23px; padding: 10px; border: 1px solid #e6eaf0; border-radius: 12px; background: #fafbfc; }
.pet-avatar.large { width: 40px; height: 40px; font-size: 15px; border: 0; box-shadow: none; }
.pet-switcher > div:nth-child(2) { display: grid; min-width: 0; }
.pet-switcher small { color: #98a2b3; font-size: 7px; font-weight: 850; letter-spacing: .08em; }
.pet-switcher strong { margin: 2px 0; font-size: 11px; }
.pet-switcher span { overflow: hidden; color: #7a8699; font-size: 8px; text-overflow: ellipsis; }
.pet-switcher button { border: 0; color: #8995a6; background: transparent; }
.side-nav { display: grid; gap: 5px; }
.side-nav button { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border: 0; border-radius: 9px; color: #667085; background: transparent; text-align: left; font-size: 10px; font-weight: 700; }
.side-nav button span { width: 18px; color: #98a2b3; font-size: 15px; text-align: center; }
.side-nav button:hover { color: #344054; background: #f6f8fa; }
.side-nav button.active { color: #087b58; background: #edf9f5; }
.side-nav button.active span { color: var(--emerald); }
.sidebar-card { margin-top: auto; padding: 14px; border: 1px solid #dceee8; border-radius: 13px; background: #f3fbf8; }
.shield-mark { width: 26px; height: 26px; display: grid; place-items: center; margin-bottom: 9px; border-radius: 8px; color: white; background: var(--emerald); font-size: 10px; }
.sidebar-card strong { font-size: 10px; }
.sidebar-card p { margin: 4px 0 10px; color: #728092; font-size: 8px; line-height: 1.5; }
.sidebar-card button { padding: 0; border: 0; color: #087b58; background: transparent; font-size: 8px; font-weight: 800; }
.signout-button { margin-top: 12px; padding: 9px; border: 0; color: #98a2b3; background: transparent; font-size: 9px; font-weight: 700; text-align: left; }
.content-area { min-width: 0; padding: 28px clamp(24px, 3vw, 44px) 50px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; max-width: 1250px; margin: 0 auto 20px; }
.breadcrumb { margin: 0 0 5px; color: #8b97a9; font-size: 8px; font-weight: 700; }
.page-heading h2 { margin: 0 0 4px; color: #1d2939; font-size: 23px; letter-spacing: -.035em; }
.page-heading > div > span { color: #7d899a; font-size: 10px; }
.sync-banner { max-width: 1250px; margin: 0 auto 17px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 15px; border: 1px solid; border-radius: 12px; }
.sync-banner.synced { color: #126349; border-color: #cbeadf; background: #edf9f5; }
.sync-banner.manual { color: #8a4b0d; border-color: #f3dfbd; background: #fff8e8; }
.banner-main { display: flex; align-items: center; gap: 11px; }
.banner-icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; background: white; font-size: 15px; box-shadow: 0 3px 10px rgba(20,40,60,.05); }
.banner-main span:nth-child(2) { display: grid; gap: 2px; }
.banner-main strong { font-size: 10px; }
.banner-main small { opacity: .75; font-size: 8px; }
.sync-banner button { border: 0; background: transparent; color: inherit; font-size: 9px; font-weight: 800; }
.invite-vet-card { max-width: 1250px; margin: 0 auto 17px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 19px; border: 1px solid #dce3b2; border-radius: 11px; color: #182238; background: #f7f9e9; }
.invite-vet-card[hidden] { display: none; }
.invite-copy { display: flex; align-items: center; gap: 14px; }
.invite-symbol { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 42px; border-radius: 8px; color: #fff; background: #18243a; font-size: 11px; font-weight: 800; letter-spacing: -.04em; }
.invite-copy small { color: #748019; font-size: 8px; font-weight: 750; letter-spacing: .08em; }
.invite-copy h3 { margin: 3px 0; font-family: Georgia, Cambria, serif; font-size: 19px; font-weight: 400; }
.invite-copy p { max-width: 640px; margin: 0; color: #697586; font-size: 10px; line-height: 1.5; }
.invite-actions { display: flex; align-items: center; gap: 12px; }
.invite-button { padding: 11px 14px; border: 0; border-radius: 7px; color: #172238; background: var(--critter-lime); font-size: 10px; font-weight: 750; white-space: nowrap; box-shadow: 0 6px 16px rgba(104,120,20,.12); }
.invite-button span { margin-left: 7px; }
.invite-status { display: flex; align-items: center; gap: 8px; }
.invite-status > span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: white; background: #11835f; font-size: 9px; }
.invite-status > div { display: grid; gap: 2px; }
.invite-status strong { font-size: 9px; }.invite-status small { max-width: 170px; overflow: hidden; color: #7a8594; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.tab-panel { display: none; max-width: 1250px; margin: auto; }
.tab-panel.active { display: block; }
.last-visit-card { margin-bottom: 15px; overflow: hidden; }
.last-visit-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 19px; border-bottom: 1px solid #e8ecf1; }
.visit-title { display: flex; align-items: center; gap: 12px; }
.visit-mark { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 34px; border-radius: 8px; color: white; background: #147a5f; font-size: 18px; font-weight: 400; }
.visit-title small, .visit-grid small { color: #07865e; font-size: 8px; font-weight: 750; letter-spacing: .08em; }
.visit-title h3 { margin: 3px 0 2px; font-size: 15px; font-weight: 650; }
.visit-title p { margin: 0; color: #7b8798; font-size: 10px; }
.visit-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.visit-grid > div { min-width: 0; padding: 17px 19px; border-right: 1px solid #edf0f4; }
.visit-grid > div:last-child { border-right: 0; }
.visit-grid strong { display: block; margin: 7px 0 4px; color: #29354a; font-size: 11px; font-weight: 650; line-height: 1.35; }
.visit-grid p { margin: 0; color: #778397; font-size: 9px; line-height: 1.55; }
.emergency-note { display: grid; grid-template-columns: 25px 1fr auto; gap: 10px; align-items: center; margin: 0 19px 17px; padding: 11px 12px; border: 1px solid #f0dfbd; border-radius: 8px; color: #71460f; background: #fff9ec; }
.emergency-note > span { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 6px; color: white; background: #b7791f; font-size: 10px; font-weight: 800; }
.emergency-note p { margin: 0; font-size: 9px; line-height: 1.5; }
.emergency-note em { padding: 4px 7px; border-radius: 5px; color: #087b58; background: #e9f8f3; font-size: 8px; font-style: normal; font-weight: 700; white-space: nowrap; }
.summary-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(270px, .75fr); gap: 15px; }
.premium-card { border: 1px solid #e1e5eb; border-radius: var(--radius); background: white; box-shadow: 0 4px 14px rgba(26,39,68,.025); }
.pet-summary { padding: 20px; }
.pet-summary-top { display: grid; grid-template-columns: 74px 1fr auto; gap: 16px; align-items: center; }
.pet-photo { position: relative; width: 70px; height: 70px; display: grid; place-items: center; border-radius: 17px; color: white; background: linear-gradient(145deg,#238e70,#0f493c); font-size: 26px; font-weight: 900; overflow: hidden; }
.pet-photo button { position: absolute; opacity: 0; inset: auto 0 0; padding: 5px 2px; border: 0; color: white; background: rgba(0,0,0,.45); font-size: 7px; transition: .2s; }
.pet-photo:hover button { opacity: 1; }
.verified-badge { display: inline-block; margin-bottom: 4px; color: #087b58; font-size: 7px; font-weight: 850; letter-spacing: .07em; }
.pet-title h3 { margin: 0; font-size: 20px; letter-spacing: -.03em; }
.pet-title p { margin: 3px 0 7px; color: #788598; font-size: 9px; }
.pet-tags { display: flex; gap: 5px; }
.pet-tags span { padding: 4px 7px; border-radius: 5px; color: #64748b; background: #f1f4f7; font-size: 7px; font-weight: 700; }
.health-stats { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 20px; padding-top: 17px; border-top: 1px solid #edf0f4; }
.health-stats > div { display: grid; gap: 3px; padding: 0 15px; border-right: 1px solid #edf0f4; }
.health-stats > div:first-child { padding-left: 0; }
.health-stats > div:last-child { border: 0; }
.health-stats span { color: #98a2b3; font-size: 7px; font-weight: 800; letter-spacing: .07em; }
.health-stats strong { color: #344054; font-size: 17px; }
.health-stats strong small { font-size: 9px; font-weight: 600; }
.health-stats em { color: #8c98a9; font-size: 7px; font-style: normal; }
.green-text { color: #087b58 !important; font-size: 13px !important; }
.id-card { padding: 18px; }
.card-heading, .card-heading > div { display: flex; justify-content: space-between; align-items: center; gap: 9px; }
.card-heading h3 { margin: 0; font-size: 11px; }
.card-heading p { margin: 2px 0 0; color: #98a2b3; font-size: 7px; }
.mini-icon { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; color: #087b58; background: #eaf8f3; }
.active-badge { padding: 4px 7px; border-radius: 999px; color: #07865e; background: #e5f8f1; font-size: 7px; font-weight: 800; }
.digital-id-preview { margin: 14px 0; padding: 14px; border: 1px solid #c9d550; border-radius: 8px; color: #172238; background: var(--critter-lime); box-shadow: 0 8px 18px rgba(75,88,18,.12); }
.digital-id-top, .digital-id-bottom { display: flex; align-items: center; }
.digital-id-top { gap: 9px; }
.digital-id-top > div:nth-child(2) { display: grid; }
.digital-id-top small { color: #556013; font-size: 6px; letter-spacing: .08em; }
.digital-id-top strong { margin-top: 2px; font-size: 11px; }
.pet-avatar.mini { width: 31px; height: 31px; margin-left: auto; border: 1px solid white; font-size: 10px; box-shadow: none; }
.digital-id-bottom { justify-content: space-between; margin-top: 14px; padding-top: 10px; border-top: 1px solid rgba(23,34,56,.18); font-size: 8px; font-weight: 700; }
.mini-qr.dark { width: 27px; height: 27px; }
.id-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.id-actions button { padding: 8px 4px; border: 1px solid #dfe4eb; border-radius: 8px; color: #58667a; background: white; font-size: 8px; font-weight: 750; }
.two-column { display: grid; grid-template-columns: 1.12fr .88fr; gap: 15px; margin-top: 15px; }
.health-details, .activity-card { padding: 18px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-start; }
.section-heading h3 { margin: 0; font-size: 12px; }
.section-heading p { margin: 3px 0 0; color: #98a2b3; font-size: 8px; }
.section-heading button { padding: 0; border: 0; color: #087b58; background: transparent; font-size: 8px; font-weight: 800; }
.detail-list { display: grid; margin-top: 13px; }
.detail-list > div { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid #edf0f4; }
.detail-list > div:last-child { border: 0; }
.detail-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; font-size: 9px; font-weight: 850; }
.detail-icon.coral { color: #b54708; background: #fff1e6; }.detail-icon.blue { color: #175cd3; background: #eaf2ff; }.detail-icon.violet { color: #6938ef; background: #f0ebff; }.detail-icon.green { color: #087b58; background: #e7f8f2; }
.detail-list > div > span:nth-child(2) { display: grid; gap: 2px; }
.detail-list small { color: #98a2b3; font-size: 6px; font-weight: 800; letter-spacing: .07em; }
.detail-list strong { font-size: 9px; font-weight: 750; }
.source-label { padding: 4px 6px; border-radius: 5px; color: #8a5b12; background: #fff6df; font-size: 6px; font-style: normal; font-weight: 750; }
.source-label.gn-source { color: #087b58; background: #e9f8f3; }
.editable-label { color: #526173; background: #f1f4f7; }
.timeline { display: grid; gap: 13px; margin-top: 16px; }
.timeline-item { display: grid; grid-template-columns: 29px 1fr auto; gap: 10px; align-items: start; }
.timeline-icon { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; color: #087b58; background: #e9f8f3; font-size: 9px; font-weight: 850; }
.timeline-item > span:nth-child(2) { display: grid; gap: 2px; }
.timeline-item strong { font-size: 9px; }
.timeline-item small { color: #8995a6; font-size: 7px; line-height: 1.4; }
.timeline-item time { color: #98a2b3; font-size: 7px; white-space: nowrap; }

/* Inner pages */
.section-page-heading { display: flex; justify-content: space-between; align-items: flex-end; margin: 4px 0 15px; }
.section-page-heading h3 { margin: 0 0 3px; font-size: 19px; letter-spacing: -.025em; }
.section-page-heading p { margin: 0; color: #7b8798; font-size: 9px; }
.form-card { overflow: hidden; padding: 0 22px 21px; }
.form-section-title { display: grid; grid-template-columns: 31px 1fr auto; gap: 11px; align-items: center; padding: 21px 0 14px; border-bottom: 1px solid #edf0f4; }
.form-section-title > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: #087b58; background: #e9f8f3; font-size: 8px; font-weight: 850; }
.form-section-title h4 { margin: 0; font-size: 11px; }
.form-section-title p { margin: 2px 0 0; color: #98a2b3; font-size: 7px; }
.mode-source { padding: 4px 7px; border-radius: 6px; color: #667085; background: #f1f4f7; font-size: 7px; font-style: normal; font-weight: 750; }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 17px 0 3px; }
.field-grid label { display: grid; gap: 6px; color: #5e6a7d; font-size: 8px; font-weight: 750; }
.field-grid input, .field-grid textarea, .field-grid select { width: 100%; border: 1px solid #dce2e9; border-radius: 9px; padding: 10px 11px; outline: 0; color: #344054; background: white; font-size: 9px; transition: .2s; }
.field-grid textarea { min-height: 72px; resize: vertical; }
.field-grid input:focus, .field-grid textarea:focus, .field-grid select:focus { border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(16,185,129,.09); }
.field-grid input:disabled { color: #768397; border-color: #edf0f3; background: #f6f8fa; cursor: not-allowed; }
.field-grid input[readonly] { color: #4d596b; border-color: #e6e9ed; background: #f4f5f3; cursor: not-allowed; }
.locked-note { margin-left: auto; color: #8a5b0d !important; font-size: 8px !important; font-weight: 600 !important; letter-spacing: 0 !important; }
.field-grid .wide { grid-column: 1 / -1; }
.form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #edf0f4; }
.preventive-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 14px; }
.preventive-stats > div { display: flex; gap: 11px; align-items: center; padding: 14px; border: 1px solid #e3e7ee; border-radius: 13px; background: white; }
.preventive-stats > div > div { display: grid; gap: 2px; }
.preventive-stats small { color: #98a2b3; font-size: 6px; font-weight: 800; letter-spacing: .07em; }
.preventive-stats strong { font-size: 10px; }
.preventive-stats p { margin: 0; color: #7f8b9c; font-size: 7px; }
.records-card { overflow: hidden; }
.record-tabs { display: flex; gap: 17px; padding: 0 18px; border-bottom: 1px solid #e8ecf1; }
.record-tabs button { position: relative; padding: 14px 0 11px; border: 0; color: #7d899b; background: transparent; font-size: 8px; font-weight: 800; }
.record-tabs button.active { color: #087b58; }
.record-tabs button.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: var(--emerald); }
.record-tabs span { padding: 2px 5px; border-radius: 4px; background: #edf1f5; font-size: 6px; }
.record-row { display: grid; grid-template-columns: 1.2fr .75fr 1fr .75fr .55fr 24px; gap: 12px; align-items: center; padding: 12px 18px; border-bottom: 1px solid #edf0f4; color: #5f6b7e; font-size: 8px; }
.record-row > span:first-child { display: grid; gap: 2px; }
.record-row b { color: #344054; font-size: 9px; }
.record-row small { color: #98a2b3; font-size: 7px; }
.record-head { padding-block: 9px; color: #98a2b3; background: #fafbfc; font-size: 6px; font-weight: 850; letter-spacing: .06em; }
.provider-cell { display: grid; gap: 3px; }
.provider-source { width: max-content; padding: 3px 5px; border-radius: 4px; color: #087b58 !important; background: #e8f8f2; font-size: 6px !important; font-weight: 800; }
.provider-source.owner { color: #846012 !important; background: #fff6df; }
.status-valid, .status-archived { padding: 4px 7px; border-radius: 999px; color: #087b58; background: #e9f8f3; font-size: 6px; font-style: normal; font-weight: 800; }
.status-archived { color: #667085; background: #edf0f4; }
.row-action { border: 0; color: #98a2b3; background: transparent; letter-spacing: .08em; }
.empty-panel { min-height: 420px; padding: 90px 20px; border: 1px dashed #dce2e9; border-radius: 18px; text-align: center; background: rgba(255,255,255,.55); }
.empty-illustration { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 16px; border-radius: 16px; color: #087b58; background: #e8f8f2; font-size: 25px; }
.empty-panel h3 { margin: 0; font-size: 17px; }
.empty-panel p { max-width: 430px; margin: 7px auto 17px; color: #7b8798; font-size: 9px; line-height: 1.6; }
.empty-panel .primary-button { margin: auto; }

/* Dialogs and feedback */
.modal { width: min(600px, calc(100% - 30px)); padding: 0; border: 0; border-radius: 18px; color: var(--ink); background: white; box-shadow: 0 30px 90px rgba(11,21,38,.28); }
.modal::backdrop { background: rgba(8,16,30,.62); backdrop-filter: blur(4px); }
.modal-header, .modal-footer { display: flex; justify-content: space-between; align-items: center; padding: 18px 21px; }
.modal-header { border-bottom: 1px solid #e8ecf1; }
.modal-header small { color: #087b58; font-size: 7px; font-weight: 850; letter-spacing: .08em; }
.modal-header h3 { margin: 3px 0 0; font-size: 17px; }
.modal-header > button { width: 30px; height: 30px; border: 0; border-radius: 8px; color: #7b8798; background: #f1f4f7; font-size: 18px; }
.invite-intro { display: flex; align-items: center; gap: 12px; margin: 18px 21px 0; padding: 12px 13px; border: 1px solid #dfe4ba; border-radius: 8px; background: #fafbea; }
.invite-intro .invite-symbol { width: 34px; height: 34px; flex-basis: 34px; }
.invite-intro p { margin: 0; color: #657184; font-size: 9px; line-height: 1.55; }
.modal-body { padding: 20px 21px; }
.modal-footer { gap: 8px; justify-content: flex-end; border-top: 1px solid #e8ecf1; }
.toast { position: fixed; z-index: 110; right: 23px; bottom: 23px; display: flex; gap: 10px; align-items: center; min-width: 270px; padding: 13px 15px; border: 1px solid #dbe5e1; border-radius: 12px; background: white; box-shadow: 0 18px 45px rgba(20,35,55,.17); transform: translateY(120px); opacity: 0; transition: .3s ease; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: white; background: var(--emerald); font-size: 10px; }
.toast > div { display: grid; gap: 2px; }
.toast strong { font-size: 10px; }.toast small { color: #7b8798; font-size: 8px; }

/* Typography refinement */
.brand { font-weight: 700; }
.auth-lead { font-size: 15px; line-height: 1.65; }
.auth-form label, .connect-form label { font-size: 12px; font-weight: 600; }
.input-wrap input { font-size: 14px; }
.story-top { font-size: 12px; letter-spacing: .05em; }
.flow-card strong { font-size: 13px; font-weight: 650; }
.flow-card small, .story-caption { font-size: 11px; }
.app-header .brand { font-size: 14px; }
.side-nav button { font-size: 12px; font-weight: 600; }
.pet-switcher strong { font-size: 13px; }
.pet-switcher span { font-size: 10px; }
.page-heading h2 { font-size: 27px; font-weight: 620; letter-spacing: -.035em; }
.page-heading > div > span { font-size: 12px; }
.sync-banner { padding: 14px 16px; }
.banner-main strong { font-size: 12px; font-weight: 650; }
.banner-main small { font-size: 10px; }
.pet-title h3 { font-size: 23px; font-weight: 650; }
.pet-title p { font-size: 11px; }
.health-stats span { font-size: 8px; }
.health-stats strong { font-size: 19px; font-weight: 650; }
.health-stats em { font-size: 9px; }
.card-heading h3, .section-heading h3 { font-size: 14px; font-weight: 650; }
.card-heading p, .section-heading p { font-size: 10px; }
.detail-list small { font-size: 8px; }
.detail-list strong { font-size: 11px; font-weight: 650; }
.source-label { font-size: 8px; }
.timeline-item strong { font-size: 11px; font-weight: 650; }
.timeline-item small, .timeline-item time { font-size: 9px; }
.section-page-heading h3 { font-size: 23px; font-weight: 620; }
.section-page-heading p { font-size: 11px; }
.form-section-title h4 { font-size: 13px; }
.form-section-title p { font-size: 9px; }
.field-grid label { font-size: 10px; font-weight: 650; }
.field-grid input, .field-grid textarea, .field-grid select { font-size: 11px; }
.preventive-stats small { font-size: 8px; }
.preventive-stats strong { font-size: 12px; font-weight: 650; }
.preventive-stats p { font-size: 9px; }
.record-tabs button { font-size: 10px; }
.record-row { font-size: 10px; }
.record-row b { font-size: 11px; font-weight: 650; }
.record-row small { font-size: 8px; }
.record-head { font-size: 8px; }

@media (max-width: 980px) {
  .auth-panel { width: 52%; padding-inline: 40px; }
  .story-panel { padding-inline: 38px; }
  .dashboard-grid { grid-template-columns: 190px 1fr; }
  .summary-grid, .two-column { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: 1fr 1fr; }
  .visit-grid > div:nth-child(2) { border-right: 0; }
  .visit-grid > div:nth-child(-n+2) { border-bottom: 1px solid #edf0f4; }
  .health-stats { grid-template-columns: 1fr 1fr; gap: 14px 0; }
  .health-stats > div:nth-child(2) { border: 0; }.health-stats > div:nth-child(3) { padding-left: 0; }
  .record-row { grid-template-columns: 1.2fr .75fr 1fr .7fr; }.record-row > span:nth-child(4), .record-row > span:nth-child(5), .record-row > button { display: none; }
}

@media (max-width: 760px) {
  .prototype-ribbon { display: none; }
  .auth-shell.active { display: block; }
  .auth-panel { width: 100%; max-width: none; min-height: auto; padding: 34px 24px 28px; }
  .auth-content { max-width: none; padding: 55px 0 36px; }
  .story-panel { min-height: auto; padding: 46px 24px; }
  .connect-card { padding: 33px 22px; }
  .app-header { height: auto; min-height: 65px; padding: 12px 16px; }
  .app-header .brand span:last-child, .app-header .account-button > span:nth-child(2), .icon-button { display: none; }
  .mode-switch button { padding: 6px; font-size: 8px; }
  .dashboard-grid { display: block; }
  .sidebar { display: none; }
  .content-area { padding: 22px 15px 40px; }
  .page-heading { align-items: flex-start; }.page-heading .primary-button { font-size: 0; }.page-heading .primary-button::after { content: "+"; font-size: 17px; }
  .last-visit-heading { align-items: flex-start; }.last-visit-heading > button { display: none; }
  .visit-grid { grid-template-columns: 1fr; }
  .visit-grid > div { border-right: 0; border-bottom: 1px solid #edf0f4; }
  .visit-grid > div:last-child { border-bottom: 0; }
  .emergency-note { grid-template-columns: 25px 1fr; }.emergency-note em { display: none; }
  .pet-summary-top { grid-template-columns: 60px 1fr; }.pet-summary-top > .secondary-button { grid-column: 1 / -1; }
  .pet-photo { width: 58px; height: 58px; }
  .health-stats, .preventive-stats { grid-template-columns: 1fr 1fr; }
  .preventive-stats > div:last-child { grid-column: 1 / -1; }
  .field-grid { grid-template-columns: 1fr; }.field-grid .wide { grid-column: auto; }
  .sync-banner { align-items: flex-start; }.sync-banner > button { display: none; }
  .invite-vet-card { align-items: flex-start; flex-direction: column; }.invite-actions { width: 100%; justify-content: space-between; }.invite-button { margin-left: auto; }
  .record-row { grid-template-columns: 1.25fr .75fr; }.record-row > span:nth-child(3) { display: none; }
}

@media (max-width: 430px) {
  .brand-lockup { gap: 7px; }.brand-divider { display: none; }
  .auth-content h1 { font-size: 39px; }
  .story-top { display: none; }
  .pet-passport-card { padding: 21px; }
  .official-card-photo img { height: 270px; }
  .official-card-photo figcaption em { display: none; }
  .passport-meta { gap: 30px; }
  .header-actions { gap: 4px; }
  .app-header .brand-lockup .gn-wordmark { display: none; }
  .health-stats, .preventive-stats { grid-template-columns: 1fr; }
  .health-stats > div { padding: 0 0 10px !important; border-right: 0; border-bottom: 1px solid #edf0f4; }
  .health-stats > div:last-child { border: 0; }
}

/* Critter Jahan administration */
.admin-body { background: #f4f6f8; }
.admin-header { position: sticky; z-index: 30; top: 0; height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; border-bottom: 1px solid #e1e5e9; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.admin-title { display: grid; line-height: 1.08; }.admin-title strong { font-family: Georgia, Cambria, serif; font-size: 17px; font-weight: 600; }.admin-title span { color: #7b8594; font-size: 9px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.admin-partner { margin-left: 14px; padding-left: 15px; border-left: 1px solid #dfe3e8; color: #26334b; font-size: 11px; font-weight: 750; }.admin-partner b { color: var(--emerald-dark); }
.admin-user { display: flex; align-items: center; gap: 17px; }.admin-user a { color: #596579; font-size: 11px; font-weight: 700; text-decoration: none; }.admin-live { display: inline-flex; align-items: center; gap: 7px; color: #667085; font-size: 10px; }.admin-live i, .admin-side-note i { width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); }.user-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: white; background: #25324b; font-size: 10px; font-weight: 800; }
.admin-layout { min-height: calc(100vh - 72px); display: grid; grid-template-columns: 218px 1fr; }.admin-sidebar { display: flex; flex-direction: column; justify-content: space-between; padding: 29px 15px 20px; border-right: 1px solid #e1e5e9; background: #fff; }.admin-sidebar nav { display: grid; gap: 4px; }
.admin-sidebar nav button { height: 42px; display: grid; grid-template-columns: 22px 1fr auto; align-items: center; border: 0; border-radius: 7px; padding: 0 12px; color: #687386; text-align: left; background: transparent; font-size: 11px; font-weight: 650; }.admin-sidebar nav button:hover, .admin-sidebar nav button.active { color: #15223a; background: #eef8f4; }.admin-sidebar nav button.active { box-shadow: inset 3px 0 var(--emerald); }.admin-sidebar nav button > span { color: #8792a2; font-size: 15px; }.admin-sidebar nav button b { min-width: 22px; padding: 3px 5px; border-radius: 9px; color: #7f6409; text-align: center; background: #f6efc7; font-size: 8px; }
.admin-side-note { display: grid; gap: 7px; padding: 13px; border: 1px solid #e3e8e6; border-radius: 8px; background: #f8fbfa; }.admin-side-note small { color: #8791a0; font-size: 8px; font-weight: 800; letter-spacing: .08em; }.admin-side-note strong { display: flex; align-items: center; gap: 7px; color: #244237; font-size: 10px; }.admin-side-note span { color: #8b95a3; font-size: 8px; }
.admin-main { min-width: 0; padding: 42px clamp(24px, 4vw, 55px) 60px; }.admin-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 27px; }.admin-eyebrow { color: var(--emerald-dark); font-size: 9px; font-weight: 850; letter-spacing: .13em; }.admin-heading h1 { margin: 7px 0 5px; font-family: Georgia, Cambria, serif; font-size: 32px; font-weight: 500; letter-spacing: -.025em; }.admin-heading p { margin: 0; color: #758092; font-size: 11px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 17px; }.metric-grid article { min-height: 112px; display: grid; align-content: center; gap: 7px; padding: 18px; border: 1px solid #e1e5e9; border-radius: 9px; background: white; }.metric-grid article > span { color: #687386; font-size: 10px; font-weight: 650; }.metric-grid strong { color: #1a263c; font-family: Georgia, Cambria, serif; font-size: 27px; font-weight: 500; }.metric-grid small { color: #8993a2; font-size: 8px; }
.admin-workspace { display: grid; grid-template-columns: minmax(620px, 1fr) 288px; border: 1px solid #e1e5e9; border-radius: 10px; overflow: hidden; background: white; }.profiles-panel { min-width: 0; }.panel-toolbar { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; border-bottom: 1px solid #e8ebef; }.panel-toolbar > div:first-child { display: grid; gap: 3px; }.panel-toolbar h2 { margin: 0; font-size: 14px; }.panel-toolbar h2 .demo-label { margin-left: 6px; padding: 3px 6px; border-radius: 8px; color: #7d681d; background: #f7f0cc; font-family: "Segoe UI", Arial, sans-serif; font-size: 7px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }.panel-toolbar span { color: #87919f; font-size: 9px; }.admin-filters { display: flex; gap: 8px; }
.admin-search { width: 230px; height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid #dce1e7; border-radius: 7px; color: #8490a2; }.admin-search input { min-width: 0; flex: 1; border: 0; outline: 0; color: #253149; background: transparent; font-size: 10px; }.admin-filters select { height: 36px; border: 1px solid #dce1e7; border-radius: 7px; padding: 0 28px 0 10px; outline: 0; color: #536074; background: white; font-size: 10px; }
.table-wrap { overflow-x: auto; }.profiles-table { width: 100%; border-collapse: collapse; white-space: nowrap; }.profiles-table th { height: 39px; padding: 0 12px; color: #8993a2; text-align: left; background: #f8f9fb; font-size: 8px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }.profiles-table td { height: 65px; padding: 0 12px; border-top: 1px solid #edf0f3; color: #5b677a; font-size: 9px; }.profiles-table tbody tr { cursor: pointer; outline: 0; }.profiles-table tbody tr:hover, .profiles-table tbody tr.selected { background: #f6fbf9; }.profiles-table tbody tr.selected { box-shadow: inset 3px 0 var(--emerald); }
.pet-cell { display: flex; align-items: center; gap: 9px; }.pet-cell > i { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #33415a; font-size: 9px; font-style: normal; font-weight: 800; }.pet-cell > span { display: grid; gap: 3px; }.pet-cell strong { color: #253149; font-size: 10px; }.pet-cell small { color: #8d97a5; font-size: 8px; }
.status { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border-radius: 12px; font-size: 8px; font-weight: 750; }.status i { width: 5px; height: 5px; border-radius: 50%; }.status.synced { color: #087451; background: #e9f8f2; }.status.synced i { background: #10b981; }.status.manual { color: #8a6413; background: #fff5da; }.status.manual i { background: #d9a528; }
.profile-inspector { padding: 21px; border-left: 1px solid #e4e8ec; background: #fbfcfd; }.inspector-head { display: grid; grid-template-columns: 45px 1fr; align-items: center; gap: 11px; padding-bottom: 18px; border-bottom: 1px solid #e4e8ec; }.large-avatar { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; color: white; background: #293650; font-size: 13px; font-weight: 800; }.inspector-head div { display: grid; gap: 2px; }.inspector-head small { color: #8a95a4; font-size: 7px; font-weight: 850; letter-spacing: .1em; }.inspector-head h2 { margin: 0; font-size: 15px; }.inspector-head div > span { color: #7f8a99; font-size: 8px; }
.sync-summary { display: flex; align-items: center; gap: 10px; margin: 17px 0; padding: 11px; border: 1px solid #d8eee6; border-radius: 7px; color: #0a7957; background: #f0faf6; }.sync-summary.manual { color: #8a6413; border-color: #ede2c5; background: #fff9ea; }.sync-summary > span { font-size: 17px; }.sync-summary div { display: grid; gap: 3px; }.sync-summary strong { font-size: 9px; }.sync-summary small { color: #718076; font-size: 7px; }
.identity-list { display: grid; gap: 10px; margin: 0 0 20px; }.identity-list div { display: flex; justify-content: space-between; gap: 15px; }.identity-list dt { color: #8792a1; font-size: 8px; }.identity-list dd { margin: 0; color: #38445a; text-align: right; font-size: 8px; font-weight: 700; }.inspector-section { margin-top: 19px; }.inspector-section > div { display: flex; justify-content: space-between; }.inspector-section h3 { margin: 0; font-size: 10px; }.inspector-section > div > span { color: #929ba8; font-size: 7px; }
.inspector-section ul { display: grid; gap: 0; margin: 10px 0 17px; padding: 0; list-style: none; }.inspector-section li { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid #e9ecf0; }.activity-mark { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 6px; color: #087451; background: #e7f7f1; font-size: 8px; font-weight: 800; }.inspector-section li div { display: grid; gap: 3px; }.inspector-section li strong { color: #354157; font-size: 8px; }.inspector-section li small { color: #8a94a2; font-size: 7px; }.inspector-section li b { color: #087451; font-size: 7px; }.inspector-section li b.admin-source { color: #8b6415; }.full-button { width: 100%; }.source-policy { color: #8993a1; font-size: 7px; line-height: 1.55; }
.admin-dialog { width: min(590px, calc(100% - 30px)); padding: 0; border: 0; border-radius: 11px; box-shadow: 0 28px 90px rgba(19,29,49,.24); }.admin-dialog::backdrop { background: rgba(15,24,41,.56); backdrop-filter: blur(3px); }.admin-dialog form { display: grid; gap: 13px; padding: 25px; }.dialog-heading { display: flex; justify-content: space-between; }.dialog-heading span { color: var(--emerald-dark); font-size: 8px; font-weight: 850; letter-spacing: .12em; }.dialog-heading h2 { margin: 5px 0; font-family: Georgia, Cambria, serif; font-size: 24px; font-weight: 500; }.dialog-heading p { margin: 0; color: #7f8998; font-size: 9px; }.dialog-heading > button { align-self: start; border: 0; color: #8c96a4; background: transparent; font-size: 20px; }
.admin-dialog label { display: grid; gap: 6px; color: #4a566a; font-size: 9px; font-weight: 700; }.admin-dialog label > span { color: #98a1ad; font-weight: 400; }.admin-dialog input, .admin-dialog select, .admin-dialog textarea { width: 100%; border: 1px solid #d9dfe6; border-radius: 7px; padding: 10px 11px; outline: 0; color: #27334a; background: white; font-size: 10px; resize: vertical; }.admin-dialog input:focus, .admin-dialog select:focus, .admin-dialog textarea:focus { border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(16,185,129,.1); }.admin-dialog input[readonly] { color: #778293; background: #f4f6f8; }.locked-identity, .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }.dialog-policy { display: flex; gap: 9px; padding: 10px; border-radius: 7px; color: #6f7b8d; background: #f5f7f9; font-size: 8px; }.dialog-policy span { color: var(--emerald-dark); font-weight: 850; }.dialog-policy p { margin: 0; }.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 4px; }.dialog-actions .primary-button { width: auto; }
@media (max-width: 1100px) { .metric-grid { grid-template-columns: repeat(2, 1fr); }.admin-workspace { grid-template-columns: 1fr; }.profile-inspector { border-top: 1px solid #e4e8ec; border-left: 0; } }
@media (max-width: 760px) { .admin-live, .admin-partner { display: none; }.admin-layout { grid-template-columns: 1fr; }.admin-sidebar { display: none; }.admin-main { padding: 35px 15px; }.admin-heading { align-items: flex-start; }.metric-grid { grid-template-columns: 1fr 1fr; }.panel-toolbar { align-items: stretch; flex-direction: column; }.admin-filters { flex-direction: column; }.admin-search { width: 100%; } }
