/* Deep teal and gold portal. Presentation only; access and billing are unchanged. */
body.portal-theme{background:#fbf8f0;color:#113a46}
.portal-theme .sidebar{background:#082f37;color:#e4ece5;padding:28px 20px 22px}
.portal-theme .sidebar .mdv-brand{font-size:25px;gap:9px}
.portal-theme .sidebar .workspace-label{color:#d8bd81;margin-top:25px}
.portal-theme .sidebar nav{gap:5px}
.portal-theme .sidebar nav button{font-size:13px;min-height:45px;color:#e2ece8;border-radius:10px;padding:12px 13px;gap:3px}
.portal-theme .sidebar nav button.active{background:#d9b264;color:#fff}
.portal-theme .sidebar nav button:hover{background:#174952}
.portal-theme .sidebar nav button span{display:inline-flex;align-items:center;flex:0 0 28px}
.portal-theme .sidebar nav svg{width:21px;height:21px}
.portal-theme .sidebar nav b{background:#174952;color:#fff}
.portal-theme .sidebar-bottom{border-color:#486064;margin-top:auto;padding:22px 6px 0;color:#e4ece8}
.portal-theme .sidebar-bottom progress,.portal-mobile-storage progress{width:100%;height:9px;border:0;appearance:none;border-radius:20px;overflow:hidden;background:#36575c;margin:12px 0 4px}
.portal-theme progress::-webkit-progress-bar{background:#36575c;border-radius:20px}
.portal-theme progress::-webkit-progress-value{background:#d9b264;border-radius:20px}
.portal-theme progress::-moz-progress-bar{background:#d9b264;border-radius:20px}
.portal-storage-label{font-size:12px!important;font-weight:600;display:flex;justify-content:space-between;gap:8px;margin:0!important;color:inherit!important}
.portal-theme .sidebar-bottom p{font-size:11px;color:#d2e0dd;margin:3px 0 11px}
.portal-theme .sidebar-bottom button{display:inline-flex;align-items:center;gap:7px;font-size:11px;color:#e5efe9;min-height:28px}
.portal-theme .sidebar-bottom button svg{width:15px;height:15px}
.portal-theme>.shell>header{background:#fdfcf8;border-color:#e5e6dc;gap:16px;height:auto;min-height:76px;padding-top:14px;padding-bottom:14px}
.portal-theme .header-actions{gap:10px;flex-wrap:wrap;justify-content:flex-end}
.portal-theme .account-actions{gap:7px;flex-wrap:wrap;justify-content:flex-end}
.portal-theme>.shell>main{padding-top:30px}
.portal-theme .primary{background:#082f37;border-color:#082f37}
.portal-theme .primary:hover{background:#174952}
.portal-theme .panel,.portal-theme .dog-card,.portal-theme .document-table{border-color:#e3e5dc;box-shadow:0 2px 8px #193d4404}
.portal-theme .tabs button.active{border-color:#b58b40}
.portal-theme .sub,.portal-theme .section-title p{color:#506972}
.portal-theme footer{line-height:1.8;flex-wrap:wrap;gap:12px;color:#506972}
.portal-welcome{position:relative;isolation:isolate;padding:6px 0 63px;display:flex;align-items:flex-start;justify-content:space-between;gap:22px;overflow:hidden;margin-bottom:28px}
.portal-welcome h1{font-size:clamp(34px,3.6vw,52px);line-height:1.12;font-weight:700;letter-spacing:-1.4px;margin:7px 0 10px}
.portal-welcome p{font-size:16px;margin:0;color:#45616a;line-height:1.5}
.portal-welcome>.portal-add-dog{flex-shrink:0;padding:12px 18px;margin-top:15px;background:#d9b264;border-color:#d9b264}
.portal-welcome-wave{display:flex;align-items:center;justify-content:flex-end;gap:16px;position:absolute;inset:auto 0 0;height:44px;background:#eee1c2;color:#705823;border-radius:70% 35% 0 0 / 90% 65% 0 0;padding:2px 25px 2px 0;z-index:-1}
.portal-welcome-wave>svg{width:31px;height:31px;transform:rotate(-18deg);opacity:.5}
.portal-welcome-wave>span:not(.portal-leaves){font:13px/1.3 Georgia,serif;font-weight:600}
.portal-leaves svg{width:25px;height:25px;opacity:.4}
.portal-section{margin-bottom:28px}
.portal-section-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px}
.portal-section-head h2{font:700 25px/1.2 Georgia,'Times New Roman',serif;letter-spacing:-.6px;margin:0}
.portal-section-head p{font-size:12px;line-height:1.6;color:#506972;margin:5px 0 0}
.portal-section-head .text-btn{display:inline-flex;gap:7px;align-items:center;font-size:12px;color:#113a46;flex-shrink:0;min-height:36px}
.portal-section-head svg{width:17px;height:17px}
.portal-dogs,.portal-actions,.portal-moments{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.portal-dog-card{border:1px solid #e5dece;background:#fffefa;border-radius:14px;overflow:hidden;box-shadow:0 3px 8px #1c3c4208;transition:transform .18s,box-shadow .18s}
.portal-dog-card:hover{transform:translateY(-3px);box-shadow:0 8px 18px #1c3c4210}
.portal-dog-open{display:block;width:100%;height:100%;border:0;border-radius:0;padding:0;text-align:left;background:transparent}
.portal-dog-open:hover{background:#faf3e3}
.portal-dog-photo{position:relative;aspect-ratio:1.55;overflow:hidden;background:#ede4d1;display:flex;align-items:center;justify-content:center}
.portal-dog-photo img{width:100%;height:100%;object-fit:cover}
.portal-no-cover{background:linear-gradient(145deg,#f5ead1,#e7d4ac)}
.portal-no-cover>svg{width:62%;height:92%;align-self:flex-end}
.portal-dog-badges{display:flex;flex-direction:column;gap:5px;position:absolute;right:11px;top:11px;background:#fffdf2ef;border:1px solid #fff7;border-radius:8px;padding:7px 9px;font-size:10px;color:#264753}
.portal-dog-badges>span{display:flex;gap:5px;align-items:center}
.portal-dog-badges svg{width:13px;height:13px}
.portal-cover-hint{position:absolute;bottom:8px;left:8px;right:8px;font-size:10px;text-align:center;background:#fffdf2e8;border-radius:5px;padding:4px;color:#506972}
.portal-dog-body{padding:15px 15px 14px}
.portal-dog-body h3{font:700 25px/1.15 Georgia,serif;letter-spacing:-.5px;margin:0 0 4px;overflow-wrap:anywhere}
.portal-dog-body p{font-size:12px;color:#506972;margin:0 0 8px;overflow-wrap:anywhere}
.portal-dog-docs{display:flex;gap:5px;align-items:center;font-size:11px;color:#537078;margin-bottom:12px}
.portal-dog-docs svg{width:15px;height:15px}
.portal-open-label{display:flex;align-items:center;justify-content:center;gap:10px;background:#082f37;color:#fff;border-radius:8px;min-height:39px;font-size:12px;font-weight:600;padding:8px}
.portal-open-label svg{width:16px;height:16px}
.portal-action{display:flex;align-items:center;gap:13px;padding:17px 15px;text-align:left;background:#fffdf8;border:1px solid #e5dece;border-radius:13px;box-shadow:0 3px 8px #1c3c4205;min-width:0}
.portal-action:hover{background:#f7efdd;border-color:#c7a45d}
.portal-action>span:nth-child(2){flex:1;min-width:0}
.portal-action strong{display:block;font:700 17px/1.25 Georgia,serif;letter-spacing:-.3px}
.portal-action small{display:block;font-size:11px;line-height:1.55;color:#506972;margin-top:5px}
.portal-action>svg{flex:0 0 15px;width:15px;height:15px}
.portal-action-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#f0dfb7;color:#75551e;flex:0 0 48px}
.portal-action-icon svg{width:27px;height:27px}
.portal-peach{background:#dfe9e8;color:#113a46}
.portal-moment{min-width:0}
.portal-moment button{display:block;padding:0;border:0;text-align:left;background:transparent;width:100%;border-radius:12px}
.portal-moment-image{aspect-ratio:1.65;overflow:hidden;border-radius:11px;background:#ede4d1;border:1px solid #e3e4da}
.portal-moment img{width:100%;height:100%;object-fit:cover;transition:transform .2s}
.portal-moment button:hover img{transform:scale(1.035)}
.portal-moment-caption{display:block;margin:9px 1px 2px;font:600 15px/1.35 Georgia,serif;overflow-wrap:anywhere}
.portal-moment-meta{display:block;font-size:11px;color:#506972;margin:0 1px;overflow-wrap:anywhere}
.portal-gallery-empty{display:flex;align-items:center;gap:19px;border:1px dashed #c7ad78;background:#f7efdd;border-radius:13px;padding:24px}
.portal-gallery-empty>div{flex:1;min-width:0}
.portal-gallery-empty h3{font:600 21px/1.3 Georgia,serif;margin:0 0 7px}
.portal-gallery-empty p{margin:0;color:#506972;font-size:12px;line-height:1.6;max-width:480px}
.portal-gallery-empty>.primary{flex-shrink:0}
.portal-recent-docs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.portal-recent-document{display:flex;align-items:center;gap:12px;background:#fffdf9;border:1px solid #e4e5db;padding:14px;text-align:left;border-radius:11px;min-width:0}
.portal-recent-document>span:nth-child(2){flex:1;min-width:0}
.portal-recent-document strong{display:block;font-size:12px;font-weight:600;overflow-wrap:anywhere}
.portal-recent-document small{display:block;font-size:11px;color:#506972;margin-top:4px}
.portal-recent-document>svg{width:17px;height:17px;flex:0 0 17px}
.portal-file-type{display:grid;place-items:center;width:34px;height:42px;flex:0 0 34px;border-radius:5px;background:#f0dfb7;color:#75551e;font-size:10px;font-weight:bold}
.portal-empty-docs{padding:24px;border:1px dashed #d6ded0;border-radius:12px;color:#506972;font-size:12px}
.portal-bottom-links{display:flex;justify-content:space-between;gap:15px;border-top:1px solid #e2e4d9;padding:18px 0 5px}
.portal-bottom-links button{min-height:36px;color:#113a46}
.portal-mobile-storage{display:none}
.portal-quota-warning{background:#fff1d6;border:1px solid #d9b366;padding:15px 18px;border-radius:10px;color:#6b4d1c;font-size:13px;line-height:1.6;margin:0 0 25px}
.portal-quota-warning button{padding:3px 8px;margin-left:5px;font-size:12px}
.portal-all-photos{row-gap:25px}
.portal-photo-pager{display:flex;justify-content:center;align-items:center;gap:18px;margin-top:28px;font-size:12px}
.portal-photo-pager button:disabled{opacity:.45;cursor:default}
.portal-photo-toolbar select{width:200px}
.portal-choose-intro{margin:0 0 18px;line-height:1.6;font-size:13px}
@media(max-width:1200px){.portal-actions{gap:12px}.portal-action{gap:10px;padding:16px 12px}.portal-action-icon{width:38px;height:38px;flex-basis:38px}.portal-action-icon svg{width:23px;height:23px}.portal-action>svg{display:none}.portal-dog-badges{right:7px;top:7px;padding:5px 7px;font-size:9px}}
@media(min-width:761px) and (max-width:980px){.portal-dogs{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-actions{grid-template-columns:1fr}.portal-action>svg{display:block}.portal-welcome h1{font-size:35px}.portal-welcome p{font-size:14px}.portal-theme .breadcrumb{display:none}.portal-theme .header-actions{width:100%}.portal-moments{gap:12px}}
@media(max-width:760px){.portal-theme .sidebar{padding:17px 20px}.portal-theme .sidebar .mdv-brand{font-size:24px}.portal-theme .sidebar nav{gap:4px;margin-top:15px}.portal-theme .sidebar nav button{font-size:12px;padding:9px 11px;min-height:40px;flex-shrink:0}.portal-theme .sidebar nav svg{width:18px;height:18px}.portal-theme .sidebar nav button span{flex-basis:23px}.portal-theme>.shell>header{padding:12px 20px;min-height:62px;gap:10px}.portal-theme .breadcrumb{display:none}.portal-theme .header-actions{width:100%;justify-content:space-between;gap:6px}.portal-theme .account-actions{justify-content:flex-start;gap:5px}.portal-theme .account-actions button,.portal-theme #addTop{font-size:10px;padding:8px 9px;min-height:34px}.portal-theme>.shell>main{padding:25px 20px}.portal-welcome{padding-bottom:58px;margin-bottom:25px;gap:10px}.portal-welcome h1{font-size:34px;letter-spacing:-1px}.portal-welcome p{font-size:13px;max-width:300px}.portal-add-dog{display:none}.portal-welcome-wave{padding-right:10px;gap:10px}.portal-welcome-wave>span:not(.portal-leaves){font-size:11px}.portal-welcome-wave>svg{width:25px;height:25px}.portal-section-head{gap:10px;align-items:flex-start}.portal-section-head h2{font-size:24px}.portal-section-head p{font-size:11px}.portal-section-head .text-btn{font-size:11px;white-space:nowrap}.portal-dogs{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.portal-dog-body h3{font-size:24px}.portal-dog-photo{aspect-ratio:1.45}.portal-actions{grid-template-columns:1fr;gap:11px}.portal-action{padding:16px;gap:14px}.portal-action-icon{width:46px;height:46px;flex-basis:46px}.portal-action>svg{display:block}.portal-action strong{font-size:19px}.portal-action small{font-size:12px}.portal-moments{gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}.portal-moment-caption{font-size:14px}.portal-recent-docs{grid-template-columns:1fr}.portal-gallery-empty{flex-wrap:wrap;padding:20px;gap:14px}.portal-gallery-empty>.primary{margin-left:60px}.portal-mobile-storage{display:block;margin:28px 0 15px;padding:20px;border:1px solid #decba4;border-radius:12px;background:#f6edda;color:#113a46}.portal-mobile-storage p{font-size:12px;margin:4px 0 10px}.portal-mobile-storage button{display:inline-flex;align-items:center;gap:7px;font-size:11px}.portal-mobile-storage svg{width:16px;height:16px}.portal-theme footer{padding:0 20px 22px;letter-spacing:.3px;font-size:9px}.portal-photo-toolbar select{width:100%}}
@media(max-width:480px){.portal-dogs{grid-template-columns:1fr}.portal-dog-photo{aspect-ratio:1.65}.portal-dog-badges{font-size:10px;padding:7px 9px;top:12px;right:12px}.portal-dog-body{padding:17px}.portal-open-label{min-height:42px;font-size:13px}.portal-moments{grid-template-columns:1fr;gap:21px}.portal-moment-image{aspect-ratio:1.7}.portal-moment-caption{font-size:16px}.portal-moment-meta{font-size:12px}.portal-section-head h2{font-size:23px}.portal-section-head .text-btn svg{display:none}.portal-gallery-empty>.primary{margin-left:0;width:100%}.portal-bottom-links{flex-wrap:wrap}.portal-theme .account-actions{gap:4px}}
@media(prefers-reduced-motion:reduce){.portal-dog-card,.portal-moment img{transition:none}.portal-dog-card:hover,.portal-moment button:hover img{transform:none}}
@media print{.portal-welcome-wave,.portal-actions,.portal-bottom-links,.portal-mobile-storage{display:none}.portal-dog-card,.portal-moment{break-inside:avoid}}

/* Shared controls, record forms, and private account/support screens. */
.portal-theme{--portal-teal:#082f37;--portal-ink:#113a46;--portal-gold:#d9b264;--portal-gold-light:#f0dfb7;--portal-cream:#fbf8f0;--portal-muted:#506972}
.portal-theme .sidebar nav button.active{background:var(--portal-gold);color:var(--portal-teal)}
.portal-theme .sidebar nav button.active:hover{background:#e9c77f}
.portal-theme .sidebar nav button.active b{background:var(--portal-teal);color:#f4d796}
.portal-theme .sidebar .mdv-wordmark{color:#f4d796}
.portal-theme .sidebar-bottom button:hover{color:#f4d796}
.portal-theme .primary,.portal-theme .support-dialog button.primary,.portal-theme .portal-welcome>.portal-add-dog{background:linear-gradient(110deg,#efd18a,#d4aa5b);border-color:#c59d51;color:var(--portal-teal);font-weight:600}
.portal-theme .primary:hover,.portal-theme .support-dialog button.primary:hover,.portal-theme .portal-welcome>.portal-add-dog:hover{background:#eed294;border-color:#bd9448;color:var(--portal-teal)}
.portal-theme .primary:disabled{opacity:.5;cursor:not-allowed}
.portal-theme .portal-open-label{color:#f3d38d}
.portal-theme .portal-action:hover,.portal-theme .portal-recent-document:hover{background:#f8efdc;border-color:#c7a45d}
.portal-theme .text-btn:hover,.portal-theme .profile-back:hover{color:#75551e}
.portal-theme :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #a4792f;outline-offset:3px}
.portal-theme .sidebar :is(button,a):focus-visible{outline-color:#f4d796}
.portal-theme input[type=checkbox],.portal-theme input[type=radio]{accent-color:var(--portal-teal)}
.portal-theme .tabs{border-color:#e5dece}
.portal-theme .tabs button{color:var(--portal-muted)}
.portal-theme .tabs button.active{color:var(--portal-teal);border-bottom-color:#b58b40;font-weight:700;background:#f7efdd}
.portal-theme .eyebrow,.portal-theme .breadcrumb,.portal-theme #accountEmail{color:#506972}
.portal-theme .breadcrumb strong{color:var(--portal-ink)}
.portal-theme :is(.file-icon,.stat-icon,.pill){background:#f3e6c9;color:#75551e;border-color:#e0c995}
.portal-theme :is(.backup-panel,.dna-result){background:#f7f1e3;border-color:#e5dece;color:var(--portal-ink)}
.portal-theme .backup-panel p,.portal-theme .empty{color:var(--portal-muted)}
.portal-theme .empty .empty-icon{color:#a27a31}
.portal-theme .detail-photo{background:#f0e2c2}
.portal-theme dialog,.portal-theme .support-dialog,.portal-theme .owner-dashboard,.portal-theme #welcomeTour{background:var(--portal-cream);color:var(--portal-ink);border-color:#ddcfb1}
.portal-theme dialog::backdrop{background:#082f37b8}
.portal-theme .modal-head{border-color:#e5dece}
.portal-theme .modal-head h2,.portal-theme .owner-top h2,.portal-theme .support-wrap h2{color:var(--portal-teal)}
.portal-theme .support-kicker,.portal-theme .owner-eyebrow,.portal-theme .tour-kicker{color:#75551e}
.portal-theme :is(.support-account,.owner-safety,.support-image-picker,.tour-location){background:#f5ecd8;border-color:#d5bb83;color:var(--portal-ink)}
.portal-theme .support-message{border-left-color:#c6a15b}
.portal-theme .support-note{background:#fff8e7;border-color:#dfc68c}
.portal-theme .tour-symbol{background:var(--portal-gold-light);color:var(--portal-teal)}
.portal-theme .tour-progress span{background:#e6dfd0}
.portal-theme .tour-progress .done{background:#b58b40}
.portal-theme .toast{background:var(--portal-teal);color:var(--portal-cream)}
.portal-theme .toast button{color:#f3d38d}
.portal-theme .auth-root{background:var(--portal-cream)}
.portal-theme .auth-story{background:var(--portal-teal)}
.portal-theme .auth-story .eyebrow,.portal-theme .auth-story small{color:#dec180}
.portal-theme .auth-card p{color:var(--portal-muted)}
