.tallyk9-legal-shell{width:min(1120px,calc(100% - 28px));margin:36px auto 70px;color:#071a2e}.tallyk9-legal-card{background:#fff;border:1px solid rgba(7,26,46,.14);border-radius:22px;padding:clamp(22px,4vw,46px);box-shadow:0 24px 60px rgba(1,18,34,.16)}.tallyk9-legal-topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:30px}.tallyk9-legal-topbar h1{margin:4px 0 8px;font-size:clamp(2rem,5vw,4rem);line-height:.95;text-transform:uppercase}.tallyk9-legal-topbar p{max-width:720px;margin:0;color:#526478;font-weight:600}.tallyk9-legal-eyebrow{display:block;color:#b88a00;font-size:.8rem;font-weight:900;letter-spacing:.16em;text-transform:uppercase}.tallyk9-legal-profile-link,.tallyk9-legal-back{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 14px;border:1px solid rgba(7,26,46,.25);border-radius:999px;color:#071a2e;text-decoration:none;font-weight:800;background:#f5f3ed}.tallyk9-legal-profile-link:hover,.tallyk9-legal-back:hover{background:#f8c400;border-color:#071a2e}.tallyk9-legal-alert{margin:0 0 24px;padding:13px 16px;border-left:5px solid #15803d;background:#ecfdf3;font-weight:750}.tallyk9-legal-alert.is-error{border-color:#b42318;background:#fff1f0}.tallyk9-legal-identity{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 28px}.tallyk9-legal-identity>div{min-width:0;padding:14px 16px;background:#f5f3ed;border:1px solid rgba(7,26,46,.12);border-radius:12px}.tallyk9-legal-identity span{display:block;color:#637286;font-size:.72rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.tallyk9-legal-identity strong{display:block;overflow-wrap:anywhere;margin-top:4px}.tallyk9-legal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.tallyk9-legal-link-card{position:relative;display:flex;min-height:190px;flex-direction:column;padding:22px;border:2px solid #0d3b60;border-radius:16px;background:#082641;color:#fff;text-decoration:none;box-shadow:7px 7px 0 #f8c400;transition:transform .18s ease,box-shadow .18s ease}.tallyk9-legal-link-card:hover{transform:translate(-2px,-2px);box-shadow:10px 10px 0 #f8c400}.tallyk9-legal-link-card>span{color:#f8c400;font-size:.72rem;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.tallyk9-legal-link-card strong{margin:9px 0 7px;font-size:1.3rem;line-height:1.1}.tallyk9-legal-link-card small{color:#dbeafe;font-weight:600;line-height:1.45}.tallyk9-legal-link-card em{margin-top:auto;padding-top:18px;color:#f8c400;font-style:normal;font-weight:900;text-transform:uppercase}.tallyk9-legal-link-card.is-pending{background:#18364f;box-shadow:5px 5px 0 #9ca9b5}.tallyk9-legal-link-card.is-pending em{color:#dbe3ea}.tallyk9-legal-back{margin-bottom:20px}.tallyk9-legal-document{border:1px solid rgba(7,26,46,.15);border-radius:18px;overflow:hidden}.tallyk9-legal-document>header{padding:24px 26px;background:#04182d;color:#fff}.tallyk9-legal-document>header span{color:#f8c400;font-size:.75rem;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.tallyk9-legal-document>header h2{margin:6px 0 8px;color:#fff;font-size:clamp(1.65rem,4vw,2.8rem)}.tallyk9-legal-document>header p{margin:0;color:#dbeafe}.tallyk9-legal-prefill-note,.tallyk9-legal-previous{margin:24px 26px 14px;padding:12px 15px;background:#fff8d8;border-left:5px solid #f8c400;font-weight:700}.tallyk9-legal-identity.is-document{margin:0;padding:0 26px}.tallyk9-legal-document-body{padding:8px 26px 28px;font-size:1rem;line-height:1.68}.tallyk9-legal-document-body h2,.tallyk9-legal-document-body h3{color:#071a2e}.tallyk9-legal-coming-soon{margin:28px;padding:28px;border:2px dashed rgba(7,26,46,.3);border-radius:14px;text-align:center;background:#f5f3ed}.tallyk9-legal-coming-soon strong{display:block;font-size:1.5rem}.tallyk9-legal-signature-form{display:grid;gap:16px;padding:26px;background:#f5f3ed;border-top:1px solid rgba(7,26,46,.15)}.tallyk9-legal-signature-form label:not(.tallyk9-legal-check){font-weight:850}.tallyk9-legal-signature-form label>span{color:#b42318}.tallyk9-legal-signature-form input[type=text]{display:block;width:100%;margin-top:7px;padding:13px 14px;border:1px solid #9aa7b5;border-radius:9px;background:#fff;font:inherit}.tallyk9-legal-check{display:flex;align-items:flex-start;gap:10px;font-weight:700;line-height:1.45}.tallyk9-legal-check input{width:20px;height:20px;margin-top:2px;flex:0 0 20px}.tallyk9-legal-signature-form button{justify-self:start;padding:13px 20px;border:2px solid #04182d;border-radius:9px;background:#f8c400;color:#04182d;font-weight:950;text-transform:uppercase;cursor:pointer;box-shadow:4px 4px 0 #04182d}.tallyk9-legal-signature-form button:hover{transform:translate(-1px,-1px);box-shadow:6px 6px 0 #04182d}.tallyk9-legal-login-shell{margin-top:30px}.tallyk9-legal-login-shell .tallyk9-profile-card{max-width:620px;margin-inline:auto}
@media(max-width:760px){.tallyk9-legal-shell{width:min(100% - 18px,1120px);margin-top:18px}.tallyk9-legal-card{padding:20px 16px}.tallyk9-legal-topbar{display:block}.tallyk9-legal-profile-link{margin-top:16px}.tallyk9-legal-identity,.tallyk9-legal-grid{grid-template-columns:1fr}.tallyk9-legal-document>header,.tallyk9-legal-document-body,.tallyk9-legal-signature-form{padding-left:18px;padding-right:18px}.tallyk9-legal-identity.is-document{padding:0 18px}.tallyk9-legal-prefill-note,.tallyk9-legal-previous{margin-left:18px;margin-right:18px}.tallyk9-legal-link-card{min-height:170px}}
@media print{.site-header,.site-footer,.mobile-call-bar,.tallyk9-legal-profile-link,.tallyk9-legal-back,.tallyk9-legal-signature-form{display:none!important}.tallyk9-legal-shell,.tallyk9-legal-card{width:100%;margin:0;padding:0;border:0;box-shadow:none}}

/* v1.1.0 — one-page agreements and drawn electronic signatures */
.tallyk9-legal-document{max-width:940px;margin-inline:auto}
.tallyk9-legal-document-body{padding-bottom:20px;font-size:.96rem;line-height:1.52}
.tallyk9-legal-document-body p{margin:0 0 13px}
.tallyk9-legal-critical{margin:17px 0;padding:15px 17px;border:3px solid #04182d;border-radius:8px;background:#fff8d8;color:#04182d;font-size:clamp(1rem,1.65vw,1.16rem);font-weight:950;line-height:1.38;letter-spacing:.012em}
.tallyk9-legal-signature-form{gap:14px;padding-top:22px}
.tallyk9-legal-signature-heading{display:grid;gap:3px}
.tallyk9-legal-signature-heading>span{color:#8b6800;font-size:.74rem;font-weight:950;letter-spacing:.13em;text-transform:uppercase}
.tallyk9-legal-signature-heading>strong{font-size:1.08rem}
.tallyk9-legal-signature-fields{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(180px,.55fr);gap:14px}
.tallyk9-legal-signature-form input[readonly]{background:#e9edf1;color:#26394c;font-weight:750;cursor:default}
.tallyk9-legal-signature-pad{position:relative;width:100%;height:150px;overflow:hidden;border:2px solid #7e8d9b;border-radius:10px;background:#fff;box-shadow:inset 0 1px 4px rgba(4,24,45,.08)}
.tallyk9-legal-signature-pad canvas{position:relative;z-index:2;display:block;width:100%;height:100%;touch-action:none;cursor:crosshair;outline:none}
.tallyk9-legal-signature-pad canvas:focus-visible{box-shadow:inset 0 0 0 3px #f8c400}
.tallyk9-legal-signature-line{position:absolute;z-index:1;left:24px;right:24px;bottom:31px;border-top:1px solid #5e6e7e;pointer-events:none}
.tallyk9-legal-signature-caption{position:absolute;z-index:3;left:24px;bottom:8px;color:#5e6e7e;font-size:.72rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase;pointer-events:none}
.tallyk9-legal-signature-actions{display:flex;justify-content:flex-end;margin-top:-6px}
.tallyk9-legal-signature-form .tallyk9-legal-clear-signature{padding:7px 11px;border:1px solid #83909d;border-radius:7px;background:#fff;color:#34475a;font-size:.78rem;font-weight:850;text-transform:none;box-shadow:none}
.tallyk9-legal-signature-form .tallyk9-legal-clear-signature:hover{transform:none;background:#e9edf1;box-shadow:none}
.tallyk9-legal-signature-error{padding:10px 12px;border-left:4px solid #b42318;background:#fff1f0;color:#7a1a13;font-weight:800}
.tallyk9-legal-signature-form .tallyk9-legal-submit-signature{margin-top:2px}
@media(max-width:760px){.tallyk9-legal-signature-fields{grid-template-columns:1fr}.tallyk9-legal-signature-pad{height:165px}.tallyk9-legal-critical{font-size:.96rem;line-height:1.34}.tallyk9-legal-document-body{font-size:.94rem;line-height:1.48}}
@media print{@page{size:letter;margin:.4in}.tallyk9-legal-document{max-width:none!important}.tallyk9-legal-document>header{padding:12px 16px!important}.tallyk9-legal-document>header h2{font-size:20pt!important;margin:3px 0 4px!important}.tallyk9-legal-document>header p{font-size:9.5pt!important}.tallyk9-legal-prefill-note{display:none!important}.tallyk9-legal-identity.is-document{grid-template-columns:repeat(4,1fr)!important;padding:10px 0 0!important;margin:0!important;gap:6px!important}.tallyk9-legal-identity.is-document>div{padding:6px 8px!important;border-radius:4px!important}.tallyk9-legal-document-body{padding:10px 0 0!important;font-size:9.5pt!important;line-height:1.3!important}.tallyk9-legal-document-body p{margin:0 0 7px!important}.tallyk9-legal-critical{margin:8px 0!important;padding:8px 9px!important;border-width:2px!important;font-size:10pt!important;line-height:1.25!important}.tallyk9-legal-previous{display:none!important}}


/* v1.2.0 — client printable signed-form previews */
.tallyk9-legal-link-card.is-completed{border-color:#f8c400;background:#04182d;box-shadow:7px 7px 0 #d7f0df}
.tallyk9-legal-link-card.is-completed em{color:#d7f0df}
.tallyk9-legal-preview-nav{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px}
.tallyk9-legal-preview-nav .tallyk9-legal-back{margin:0}
.tallyk9-legal-preview-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.tallyk9-legal-preview-secondary,.tallyk9-legal-print-button{display:inline-flex;min-height:42px;align-items:center;justify-content:center;padding:10px 15px;border-radius:8px;font:inherit;font-weight:900;text-decoration:none;cursor:pointer}
.tallyk9-legal-preview-secondary{border:1px solid #718093;background:#fff;color:#071a2e}
.tallyk9-legal-print-button{border:2px solid #04182d;background:#f8c400;color:#04182d;box-shadow:3px 3px 0 #04182d}
.tallyk9-legal-signed-preview{max-width:940px;margin-inline:auto;overflow:hidden;border:1px solid rgba(7,26,46,.18);border-radius:16px;background:#fff;color:#071a2e}
.tallyk9-legal-preview-header{padding:22px 26px 18px;border-bottom:3px solid #04182d;background:#f5f3ed}
.tallyk9-legal-preview-header>span{color:#8b6800;font-size:.74rem;font-weight:950;letter-spacing:.13em;text-transform:uppercase}
.tallyk9-legal-preview-header h2{margin:4px 0 5px;color:#04182d;font-size:clamp(1.7rem,4vw,2.7rem);text-transform:uppercase}
.tallyk9-legal-preview-header p{margin:0;font-weight:700}
.tallyk9-legal-preview-identity{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:16px 26px 4px}
.tallyk9-legal-preview-identity>div{min-width:0;padding:9px 10px;border:1px solid rgba(7,26,46,.14);border-radius:7px;background:#f8fafc}
.tallyk9-legal-preview-identity span{display:block;color:#637286;font-size:.68rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.tallyk9-legal-preview-identity strong{display:block;overflow-wrap:anywhere;margin-top:3px;font-size:.9rem}
.tallyk9-legal-preview-body{padding:16px 26px 6px;font-size:.96rem;line-height:1.5}
.tallyk9-legal-preview-body p{margin:0 0 12px}
.tallyk9-legal-preview-body .tallyk9-legal-critical{margin:14px 0;padding:13px 15px;border-width:3px;font-size:1.02rem;line-height:1.35}
.tallyk9-legal-preview-signature{display:grid;grid-template-columns:1fr 1fr;gap:10px 22px;margin:14px 26px 24px;padding-top:15px;border-top:2px solid #1d2d3d}
.tallyk9-legal-preview-signature strong,.tallyk9-legal-preview-signature span{display:block}
.tallyk9-legal-preview-signature figure{grid-column:1/-1;margin:5px 0 0}
.tallyk9-legal-preview-signature img{display:block;width:300px;max-width:100%;height:90px;object-fit:contain;object-position:left bottom;border-bottom:1px solid #1d2d3d}
.tallyk9-legal-preview-signature figcaption,.tallyk9-legal-preview-signature small{color:#637286;font-size:.7rem}
.tallyk9-legal-preview-signature small{grid-column:1/-1}
@media(max-width:760px){.tallyk9-legal-preview-nav{align-items:stretch;flex-direction:column}.tallyk9-legal-preview-actions{justify-content:stretch}.tallyk9-legal-preview-secondary,.tallyk9-legal-print-button{flex:1}.tallyk9-legal-preview-identity{grid-template-columns:1fr 1fr;padding-left:18px;padding-right:18px}.tallyk9-legal-preview-header,.tallyk9-legal-preview-body{padding-left:18px;padding-right:18px}.tallyk9-legal-preview-signature{margin-left:18px;margin-right:18px}}
@media print{@page{size:letter;margin:.4in}.tallyk9-legal-topbar,.tallyk9-legal-alert,.tallyk9-legal-preview-nav{display:none!important}.tallyk9-legal-signed-preview{max-width:none!important;margin:0!important;border:0!important;border-radius:0!important;overflow:visible!important}.tallyk9-legal-preview-header{padding:8px 0 7px!important;background:#fff!important}.tallyk9-legal-preview-header h2{font-size:18pt!important;margin:2px 0 3px!important}.tallyk9-legal-preview-header p{font-size:9pt!important}.tallyk9-legal-preview-identity{grid-template-columns:repeat(4,1fr)!important;padding:8px 0 0!important;gap:5px!important}.tallyk9-legal-preview-identity>div{padding:5px 7px!important}.tallyk9-legal-preview-identity strong{font-size:8.5pt!important}.tallyk9-legal-preview-body{padding:8px 0 0!important;font-size:9.5pt!important;line-height:1.3!important}.tallyk9-legal-preview-body p{margin:0 0 7px!important}.tallyk9-legal-preview-body .tallyk9-legal-critical{margin:8px 0!important;padding:8px 9px!important;border-width:2px!important;font-size:10pt!important;line-height:1.25!important}.tallyk9-legal-preview-signature{margin:11px 0 0!important;padding-top:10px!important;page-break-inside:avoid}.tallyk9-legal-preview-signature img{height:66px!important}}


/* v1.3.0 — prevent Dog Profile print rules from hiding legal previews. */
@media print{
  body .tallyk9-legal-shell,
  body .tallyk9-legal-shell *,
  body .tallyk9-legal-signed-preview,
  body .tallyk9-legal-signed-preview *{visibility:visible!important}
  body .tallyk9-legal-shell{position:absolute!important;inset:0 auto auto 0!important;width:100%!important}
}


/* v1.4.0 — front-end Waivers & Forms Admin website. */
.tallyk9-legal-admin-shell{margin-top:28px}.tallyk9-legal-admin-card{padding:clamp(20px,3vw,38px)}
.tallyk9-legal-admin-topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:28px;padding-bottom:22px;border-bottom:2px solid rgba(7,26,46,.12)}
.tallyk9-legal-admin-topbar h1{margin:4px 0 8px;font-size:clamp(2rem,5vw,3.7rem);line-height:.96;text-transform:uppercase}.tallyk9-legal-admin-topbar p{max-width:690px;margin:0;color:#526478;font-weight:650}
.tallyk9-legal-admin-top-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}.tallyk9-legal-admin-top-actions form{margin:0}.tallyk9-legal-admin-lock{display:inline-flex;min-height:40px;align-items:center;justify-content:center;padding:9px 14px;border:1px solid #8b98a7;border-radius:999px;background:#fff;color:#071a2e;font:inherit;font-weight:850;cursor:pointer}.tallyk9-legal-admin-lock:hover{border-color:#071a2e;background:#eef2f5}
.tallyk9-legal-admin-section{margin-top:28px;padding-top:4px}.tallyk9-legal-admin-section+.tallyk9-legal-admin-section{margin-top:42px;padding-top:34px;border-top:2px solid rgba(7,26,46,.13)}
.tallyk9-legal-admin-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:16px}.tallyk9-legal-admin-section-heading h2{margin:3px 0 0;color:#071a2e;font-size:clamp(1.45rem,3vw,2.25rem)}.tallyk9-legal-admin-section-heading p{max-width:620px;margin:0;color:#637286;font-weight:650}.tallyk9-legal-admin-section-heading code{display:inline-block;margin:2px 1px;padding:2px 5px;border-radius:4px;background:#eef2f5;color:#071a2e;font-size:.78rem}
.tallyk9-legal-admin-settings-form{display:grid;gap:12px}.tallyk9-legal-admin-document-editor{overflow:hidden;border:1px solid #b9c3cd;border-radius:12px;background:#fff}.tallyk9-legal-admin-document-editor[open]{border-color:#0d3b60;box-shadow:0 10px 24px rgba(7,26,46,.09)}.tallyk9-legal-admin-document-editor summary{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:15px 17px;cursor:pointer;background:#f5f3ed}.tallyk9-legal-admin-document-editor summary span{color:#6c7886;font-size:.72rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.tallyk9-legal-admin-document-editor summary strong{overflow-wrap:anywhere}.tallyk9-legal-admin-document-editor summary em{padding:4px 8px;border-radius:999px;background:#e9f7ee;color:#17633a;font-size:.7rem;font-style:normal;font-weight:900;text-transform:uppercase}.tallyk9-legal-admin-editor-fields{display:grid;gap:14px;padding:18px}.tallyk9-legal-admin-editor-fields label{display:grid;gap:6px;color:#071a2e;font-weight:850}.tallyk9-legal-admin-editor-fields input[type=text],.tallyk9-legal-admin-editor-fields textarea{width:100%;padding:11px 12px;border:1px solid #9aa7b5;border-radius:8px;background:#fff;color:#071a2e;font:inherit}.tallyk9-legal-admin-editor-fields textarea{resize:vertical;line-height:1.45}.tallyk9-legal-admin-editor-fields small{color:#637286;font-weight:600}.tallyk9-legal-admin-editor-fields .tallyk9-legal-admin-enable{display:flex;align-items:center;gap:9px}.tallyk9-legal-admin-enable input{width:20px;height:20px}.tallyk9-legal-admin-save{justify-self:start;margin-top:5px;padding:13px 19px;border:2px solid #04182d;border-radius:8px;background:#f8c400;color:#04182d;font:inherit;font-weight:950;text-transform:uppercase;box-shadow:4px 4px 0 #04182d;cursor:pointer}
.tallyk9-legal-admin-search{display:flex;align-items:flex-end;gap:10px;margin:0 0 16px}.tallyk9-legal-admin-search label{display:grid;flex:1;gap:6px;font-weight:850}.tallyk9-legal-admin-search input{width:100%;padding:11px 12px;border:1px solid #9aa7b5;border-radius:8px;font:inherit}.tallyk9-legal-admin-search button,.tallyk9-legal-admin-search a{display:inline-flex;min-height:44px;align-items:center;justify-content:center;padding:10px 15px;border-radius:8px;font:inherit;font-weight:900;text-decoration:none}.tallyk9-legal-admin-search button{border:2px solid #04182d;background:#f8c400;color:#04182d;cursor:pointer}.tallyk9-legal-admin-search a{border:1px solid #9aa7b5;background:#fff;color:#071a2e}
.tallyk9-legal-admin-table-wrap{overflow:auto;border:1px solid #cbd3dc;border-radius:12px}.tallyk9-legal-admin-table{width:100%;min-width:880px;border-collapse:collapse;background:#fff}.tallyk9-legal-admin-table th,.tallyk9-legal-admin-table td{padding:12px 13px;border-bottom:1px solid #e0e5ea;text-align:left;vertical-align:middle}.tallyk9-legal-admin-table th{background:#04182d;color:#fff;font-size:.74rem;letter-spacing:.06em;text-transform:uppercase}.tallyk9-legal-admin-table tbody tr:nth-child(even){background:#f8fafc}.tallyk9-legal-admin-row-actions{display:flex;gap:7px;white-space:nowrap}.tallyk9-legal-admin-row-actions a{display:inline-flex;min-height:36px;align-items:center;padding:7px 10px;border:1px solid #8d9aa8;border-radius:7px;background:#fff;color:#071a2e;font-weight:850;text-decoration:none}.tallyk9-legal-admin-row-actions a.is-primary{border-color:#04182d;background:#f8c400}
.tallyk9-legal-admin-record-nav{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.tallyk9-legal-admin-record-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:12px 26px 0}.tallyk9-legal-admin-record-meta>div{min-width:0;padding:9px 10px;border:1px solid rgba(7,26,46,.14);border-radius:7px;background:#fff8d8}.tallyk9-legal-admin-record-meta span{display:block;color:#637286;font-size:.67rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.tallyk9-legal-admin-record-meta strong{display:block;overflow-wrap:anywhere;margin-top:3px;font-size:.88rem}.tallyk9-legal-admin-record-meta a{color:#0d3b60}
@media(max-width:820px){.tallyk9-legal-admin-topbar,.tallyk9-legal-admin-section-heading{align-items:stretch;flex-direction:column}.tallyk9-legal-admin-top-actions{justify-content:flex-start}.tallyk9-legal-admin-search{align-items:stretch;flex-direction:column}.tallyk9-legal-admin-record-meta{grid-template-columns:1fr 1fr;padding-left:18px;padding-right:18px}.tallyk9-legal-admin-record-nav{align-items:stretch;flex-direction:column}.tallyk9-legal-admin-record-nav a{width:100%}}
@media(max-width:520px){.tallyk9-legal-admin-top-actions{display:grid;grid-template-columns:1fr}.tallyk9-legal-admin-top-actions a,.tallyk9-legal-admin-top-actions button{width:100%}.tallyk9-legal-admin-document-editor summary{grid-template-columns:1fr auto}.tallyk9-legal-admin-document-editor summary span{grid-column:1/-1}.tallyk9-legal-admin-record-meta{grid-template-columns:1fr}}


/* v1.7.0 — client-first document lookup, yellow hover links, and yellow non-link headings on navy. */
.tallyk9-legal-document > header h2,
.tallyk9-legal-preview-header h2 {
  color: #f8c400 !important;
  -webkit-text-fill-color: #f8c400 !important;
}
.tallyk9-legal-link-card:hover,
.tallyk9-legal-link-card:focus-visible {
  color: #f8c400 !important;
}
.tallyk9-legal-link-card:hover strong,
.tallyk9-legal-link-card:focus-visible strong {
  color: #f8c400 !important;
}
.tallyk9-legal-profile-link:hover,
.tallyk9-legal-profile-link:focus-visible,
.tallyk9-legal-back:hover,
.tallyk9-legal-back:focus-visible,
.tallyk9-legal-preview-secondary:hover,
.tallyk9-legal-preview-secondary:focus-visible {
  border-color: #04182d !important;
  background: #04182d !important;
  color: #f8c400 !important;
}
.tallyk9-legal-admin-row-actions a:hover,
.tallyk9-legal-admin-row-actions a:focus-visible,
.tallyk9-legal-admin-search a:hover,
.tallyk9-legal-admin-search a:focus-visible,
.tallyk9-legal-client-history a:hover,
.tallyk9-legal-client-history a:focus-visible,
.tallyk9-legal-admin-record-meta a:hover,
.tallyk9-legal-admin-record-meta a:focus-visible {
  border-color: #04182d !important;
  background: #04182d !important;
  color: #f8c400 !important;
}
.tallyk9-legal-client-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-top: 16px;
}
.tallyk9-legal-client-result {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  padding: 17px;
  border: 2px solid #c4ccd5;
  border-radius: 12px;
  background: #fff;
  color: #071a2e;
  text-decoration: none;
  box-shadow: 4px 4px 0 rgba(7,26,46,.08);
  transition: transform .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
}
.tallyk9-legal-client-result > span {
  color: #637286;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tallyk9-legal-client-result > strong {
  margin: 7px 0 5px;
  font-size: 1.35rem;
  line-height: 1.08;
}
.tallyk9-legal-client-result > small {
  color: #526478;
  overflow-wrap: anywhere;
}
.tallyk9-legal-client-result > em {
  margin-top: auto;
  padding-top: 16px;
  color: #0d3b60;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}
.tallyk9-legal-client-result:hover,
.tallyk9-legal-client-result:focus-visible {
  transform: translateY(-2px);
  border-color: #f8c400;
  background: #04182d;
  color: #f8c400;
  box-shadow: 7px 7px 0 #f8c400;
}
.tallyk9-legal-client-result:hover > span,
.tallyk9-legal-client-result:hover > small,
.tallyk9-legal-client-result:focus-visible > span,
.tallyk9-legal-client-result:focus-visible > small {
  color: #fff;
}
.tallyk9-legal-client-result:hover > strong,
.tallyk9-legal-client-result:hover > em,
.tallyk9-legal-client-result:focus-visible > strong,
.tallyk9-legal-client-result:focus-visible > em {
  color: #f8c400;
}
.tallyk9-legal-admin-hint,
.tallyk9-legal-client-no-results {
  margin: 14px 0 0;
  color: #637286;
  font-weight: 650;
}
.tallyk9-legal-client-dashboard {
  margin-top: 20px;
  overflow: hidden;
  border: 2px solid #04182d;
  border-radius: 15px;
  background: #f7f9fc;
}
.tallyk9-legal-client-dashboard-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  background: #04182d;
  color: #fff;
}
.tallyk9-legal-client-dashboard-head h3 {
  margin: 4px 0 6px;
  color: #f8c400 !important;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1;
}
.tallyk9-legal-client-dashboard-head p { margin: 0; color: #dbe8f3; }
.tallyk9-legal-client-dashboard-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.tallyk9-legal-client-dashboard-actions .tallyk9-legal-profile-link,
.tallyk9-legal-client-dashboard-actions .tallyk9-legal-back { margin: 0; background: #fff; }
.tallyk9-legal-admin-client-identity { margin: 0; padding: 16px 16px 4px; }
.tallyk9-legal-client-document-list { display: grid; gap: 11px; padding: 16px; }
.tallyk9-legal-client-document-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 15px;
  border: 1px solid #c5ced8;
  border-left: 6px solid #98a2b3;
  border-radius: 10px;
  background: #fff;
}
.tallyk9-legal-client-document-row.is-signed { border-left-color: #15803d; }
.tallyk9-legal-client-document-copy { display: grid; gap: 3px; min-width: 0; }
.tallyk9-legal-client-document-copy > span { color: #637286; font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.tallyk9-legal-client-document-copy > strong { overflow-wrap: anywhere; font-size: 1.08rem; }
.tallyk9-legal-client-document-copy > small { color: #637286; }
.tallyk9-legal-client-document-status {
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef1f4;
  color: #475467;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}
.tallyk9-legal-client-document-row.is-signed .tallyk9-legal-client-document-status { background: #e7f7ed; color: #17633a; }
.tallyk9-legal-client-history { grid-column: 1 / -1; padding-top: 8px; border-top: 1px solid #e0e5ea; }
.tallyk9-legal-client-history summary { cursor: pointer; color: #0d3b60; font-weight: 850; }
.tallyk9-legal-client-history ul { margin: 10px 0 0; padding: 0; list-style: none; }
.tallyk9-legal-client-history li { display: grid; grid-template-columns: 1fr auto auto; gap: 9px; padding: 7px 0; border-top: 1px solid #edf0f3; }
.tallyk9-legal-client-history a { color: #0d3b60; font-weight: 850; text-decoration: none; }
.tallyk9-legal-admin-tools {
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid #b9c3cd;
  border-radius: 13px;
  background: #fff;
}
.tallyk9-legal-admin-tools > summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  align-items: center;
  padding: 17px 19px;
  background: #eef2f5;
  cursor: pointer;
}
.tallyk9-legal-admin-tools > summary span { color: #637286; font-size: .72rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.tallyk9-legal-admin-tools > summary strong { font-size: 1.12rem; }
.tallyk9-legal-admin-tools > .tallyk9-legal-admin-section { margin: 0; padding: 22px; border: 0; }
@media(max-width:900px){
  .tallyk9-legal-client-results{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tallyk9-legal-client-dashboard-head{align-items:stretch;flex-direction:column}
  .tallyk9-legal-client-document-row{grid-template-columns:1fr}
  .tallyk9-legal-client-document-row .tallyk9-legal-admin-row-actions{white-space:normal;flex-wrap:wrap}
}
@media(max-width:600px){
  .tallyk9-legal-client-results{grid-template-columns:1fr}
  .tallyk9-legal-client-dashboard-actions{display:grid;grid-template-columns:1fr}
  .tallyk9-legal-client-dashboard-actions a{width:100%}
}


/* v1.7.0 final consistency: every legal-area link turns yellow on hover. */
.tallyk9-legal-shell a:hover,
.tallyk9-legal-shell a:focus-visible {
  color: #f8c400 !important;
  -webkit-text-fill-color: #f8c400 !important;
}

