﻿.law-profile-layout{display:grid;grid-template-columns:minmax(240px,32%) minmax(0,1fr);gap:24px;align-items:start;color:#173b5c;max-width:1500px;margin:0 auto;font-family:"Leelawadee UI",Tahoma,sans-serif;font-size:16px;line-height:1.85}.law-profile-identity,.law-profile-content{background:#fff;border:1px solid #dce1e8;border-radius:14px;padding:24px;min-width:0;overflow-wrap:anywhere}.law-profile-identity{border-color:#e1dffc}.law-profile-photo{display:block;width:100%;height:auto;max-height:520px;object-fit:contain;margin:4px auto 22px}.law-profile-photo-empty{padding:48px 10px;text-align:center;background:#f5f7fb;color:#617183}.law-profile-name{font-size:23px;line-height:1.6;margin:22px 0 12px;border-top:1px solid #d5d9df;padding-top:18px;color:#12395c}.law-profile-name-en{font-size:17px;margin:0 0 18px;color:#526779}.law-profile-text{white-space:pre-wrap;margin:14px 0;color:#526779;font-weight:400;line-height:1.9}.law-profile-identity .law-profile-text{margin:12px 0}.law-profile-section{margin:0 0 38px}.law-profile-section:last-child{margin-bottom:0}.law-profile-section>h2{font-size:25px;line-height:1.5;color:#12395c;margin:0 0 22px;font-weight:700}.law-profile-muted{color:#718092;font-size:14px}.law-profile-work{margin-bottom:26px}.law-profile-work h3{font-size:18px;line-height:1.7;color:#173b5c;margin:0 0 12px}.law-profile-note{color:#6e5b26;font-size:12px;background:#fff8e6;padding:7px 10px;border-radius:5px}.law-profile-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}.law-profile-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 24px;color:#fff!important;text-decoration:none;border-radius:28px;max-width:100%;font-weight:700}.law-profile-cv{background:#4131e7}.law-profile-scholar{background:#167c4a}.law-profile-links{display:flex;flex-wrap:wrap;gap:18px}.law-profile-links a{display:inline-flex;align-items:center;min-height:44px}.law-branch-heading{grid-column:1/-1;font-size:22px;border-bottom:1px solid #dce1e8;padding-bottom:10px;margin:24px 0 0}.profile-preview-full{position:fixed;inset:24px;z-index:1000;overflow:auto;background:#f7f8fb;padding:24px;border:1px solid #dce1e8;border-radius:14px;box-shadow:0 20px 100px #10223b44}.profile-preview-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 auto 20px;max-width:1500px}.profile-preview-toolbar h2{margin:0;font-size:20px}.profile-preview-backdrop{position:fixed;inset:0;background:#10223b70;z-index:999}.law-profile-legacy-fields textarea{min-height:140px;width:100%;font:inherit;line-height:1.7;border:1px solid #dce1e8;border-radius:8px;padding:12px}.law-profile-legacy-fields label{margin-top:14px}.law-profile-legacy-fields{padding:16px;background:#f5f7fb;border:1px solid #dce1e8;border-radius:8px;margin:24px 0}.profile-preview-full a:focus-visible,.profile-preview-full button:focus-visible{outline:3px solid #1e40af;outline-offset:3px}
@media(max-width:900px){.law-profile-layout{grid-template-columns:minmax(0,1fr)}.law-profile-photo{max-width:300px;max-height:400px}.profile-preview-full{inset:10px;padding:16px}.law-profile-section>h2{font-size:23px}.law-profile-identity,.law-profile-content{padding:20px}.profile-preview-toolbar{align-items:flex-start}.profile-preview-toolbar h2{font-size:18px}}

.profile-preview-full{width:calc(100% - 48px);height:calc(100% - 48px);max-width:none;max-height:none;margin:0}.profile-preview-full::backdrop{background:#10223b70}@media(max-width:900px){.profile-preview-full{width:calc(100% - 20px);height:calc(100% - 20px)}}
.support-unit-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.support-unit-options label{display:flex;align-items:center;gap:10px;min-height:44px;margin:0}.support-unit-options input{width:20px;height:20px;flex:0 0 20px}
