@media (max-width:768px){#mobile-splash{display:flex;flex-direction:column;align-items:center;justify-content:center;position:fixed;top:0;left:0;width:100vw;height:100vh;background-color:#fff;z-index:10000000;opacity:1;visibility:visible;transition:opacity .4s cubic-bezier(.4, 0, .2, 1),visibility .4s cubic-bezier(.4, 0, .2, 1)}#mobile-splash.hidden{opacity:0;visibility:hidden;pointer-events:none}.splash-content{display:flex;flex-direction:column;align-items:center;justify-content:center;animation:splashFadeIn .8s cubic-bezier(.34,1.56,.64,1) both}.splash-greeting{font-family:Inter,system-ui,sans-serif;font-size:1.05rem;font-weight:600;color:#2563eb;letter-spacing:.01em;text-align:center;opacity:.85;position:absolute;top:2.5rem;left:0;right:0}.splash-logo{width:88px;height:88px;border-radius:22px;overflow:hidden;margin-bottom:1.5rem;box-shadow:0 10px 25px rgba(37,99,235,.25);background:#1e3a8a;display:flex;align-items:center;justify-content:center}.splash-logo img{width:70%;height:70%;object-fit:contain;display:block}.splash-title{font-family:Inter,system-ui,sans-serif;font-size:2.25rem;font-weight:850;letter-spacing:-.04em;background:linear-gradient(135deg,#1e3a8a 0,#2563eb 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin-bottom:2rem}.splash-loader{width:24px;height:24px;border:3px solid rgba(37,99,235,.15);border-top:3px solid #2563eb;border-radius:50%;animation:splashSpin .8s linear infinite}@keyframes splashFadeIn{from{opacity:0;transform:scale(.92) translateY(10px)}to{opacity:1;transform:scale(1) translateY(0)}}@keyframes splashSpin{to{transform:rotate(360deg)}}}
@media (max-width:768px){.video-call-header{padding:.5rem .75rem}.video-header-btn{padding:.5rem}.video-header-btn .btn-text{display:none}#video-call-title{max-width:90px}#video-call-frame-container{padding-bottom:env(safe-area-inset-bottom,0)}}
@media(max-width:768px){.nav-links{display:none}.burger{display:flex}.nav-links.open{display:flex;flex-direction:column;position:fixed;top:64px;left:0;right:0;background:rgba(255,255,255,.96);backdrop-filter:blur(20px);border-bottom:1px solid var(--border);padding:1rem;gap:2px;z-index:var(--z-nav);animation:fadeUp .2s ease;box-shadow:var(--sh-md)}.nav-links.open .nav-link{padding:.75rem 1rem;font-size:.95rem}.chat-wrap{grid-template-columns:1fr}.chat-sidebar{display:none}.msg-bubble{max-width:88%}.foot-grid{grid-template-columns:1fr}#toasts{left:1rem;right:1rem;bottom:1rem}}
@media(max-width:480px){.hero-btns{flex-direction:column;align-items:center}.btn-outline,.btn-primary{width:100%;justify-content:center}.hero-stats{gap:2rem}}
@media(max-width:640px){.an-grid{grid-template-columns:1fr}}
@media(max-width:600px){.dg-fields-grid,.dg-fields-grid.cols-3{grid-template-columns:1fr}}
@media (max-width:720px){.court-sim-page{padding:16px 12px 28px!important}.court-sim-title-row{align-items:flex-start}.court-sim-logo{width:54px;height:54px;border-radius:15px;font-size:28px}.court-sim-header h2{font-size:27px}.court-sim-header p{font-size:14px}.court-sim-warning{font-size:13px;padding:12px}.court-sim-tabs{gap:8px;overflow:auto;flex-wrap:nowrap;padding-bottom:4px}.court-sim-tabs button{min-width:150px}.court-sim-form-card{padding:12px}.court-sim-steps{grid-template-columns:1fr 1fr}.court-sim-area-grid{grid-template-columns:repeat(2,1fr);gap:10px}.court-sim-fact-grid{grid-template-columns:1fr}.court-sim-actions,.court-sim-empty-panels,.court-sim-empty-summary,.court-sim-evidence-row,.court-sim-lawyer-cta{grid-template-columns:1fr;gap:12px}.court-sim-result-top{align-items:flex-start;flex-direction:column}.court-sim-new{width:100%}.court-sim-lawyer-cta a{width:100%}}
@media (max-width:768px){.chat-wrap{grid-template-columns:1fr!important;height:calc(100dvh - 58px)}.chat-sidebar{display:none!important}.messages{padding:.75rem .625rem;gap:1rem}.msg-bubble{max-width:88%!important;padding:.75rem 1rem;font-size:.875rem}.msg{gap:.5rem}.msg-av{width:30px;height:30px;font-size:.75rem;flex-shrink:0}.chat-topbar{padding:.625rem 1rem}.chat-topbar-info h2{font-size:.82rem}.sofia-topbar-left{gap:.5rem}.sofia-av{width:36px;height:36px;font-size:.9rem}.end-session-btn{padding:.28rem .7rem;font-size:.68rem}.chat-input-wrap{padding:.625rem .75rem}.chips{gap:.3rem;margin-bottom:.4rem}.chip{font-size:.7rem;padding:.22rem .6rem}#chat-input{font-size:.875rem;padding:.4rem .75rem;min-height:38px}.send-btn{width:38px;height:38px;font-size:.95rem}.mic-btn{width:34px;height:34px;font-size:1rem}.attach-btn{width:34px;height:34px}.nav-inner{padding:0 .75rem}.nav-logo-text{font-size:.88rem}.nav-logo-sub{display:none}.nav-links{display:none}.cta-btn{padding:.35rem .85rem;font-size:.78rem}section:not(#chat):not(#home){padding:1rem .75rem}.section-inner{padding:1.5rem 1rem}.welcome-icon{width:56px;height:56px;font-size:1.4rem}.welcome-state h2{font-size:1.1rem}.welcome-state p{font-size:.82rem}.fb-btn{font-size:.68rem;padding:.18rem .5rem}.tts-btn{font-size:.68rem;padding:.18rem .5rem}}
@media (max-width:480px){.msg-bubble{max-width:92%!important;font-size:.84rem}.messages{padding:.625rem .5rem}.chat-topbar{padding:.5rem .75rem}.chat-input-wrap{padding:.5rem .625rem}}
@media(max-width:768px){#mob-nav{display:block}main{padding-bottom:calc(var(--mob-nav-h) + env(safe-area-inset-bottom,0px))}header.site-header{height:var(--mob-header-h)}.nav-inner{padding:0 1rem;height:var(--mob-header-h)}.nav-logo-text{font-size:.875rem;font-weight:800}.nav-logo-sub{display:none}.nav-links{display:none!important}.cta-btn{padding:.3rem .8rem;font-size:.75rem}.lang-btn{padding:.28rem .55rem;font-size:.73rem}#page-home{overflow-y:auto;-webkit-overflow-scrolling:touch}.hero{min-height:auto;padding:1.5rem 1rem 1.25rem;background-image:url(/hero-bg.webp);background-size:cover;background-position:center right;background-repeat:no-repeat;position:relative;overflow:hidden}.hero-body{grid-template-columns:1fr!important;gap:1rem;text-align:center}.hero-visual{display:none}.hero-badge{margin:0 auto .75rem;font-size:.72rem}.hero-h1{font-size:clamp(.75rem,3.2vw,1.35rem)!important;line-height:1.16}.hero-h1 .line2{font-size:.95rem!important}.hero-sub{font-size:.8rem;max-width:100%}.hero-btns{flex-direction:column!important;gap:.5rem;margin:1rem 0}.hero-btns .btn-outline,.hero-btns .btn-primary{width:100%;padding:.75rem 1rem;font-size:.875rem;border-radius:var(--r-xl);justify-content:center}.hero-stats{grid-template-columns:repeat(4,1fr)!important;gap:.375rem;margin-top:.75rem}.stat{padding:.5rem .25rem}.stat-n{font-size:1.1rem}.stat-l{font-size:.58rem}.cards-grid{grid-template-columns:1fr 1fr!important;gap:.625rem!important;padding:0 1rem!important}.scard{padding:.875rem .75rem!important;border:1px solid rgba(0,0,0,.06)!important;box-shadow:0 2px 8px rgba(0,0,0,.02)!important}.scard-icon{font-size:1.4rem!important;margin-bottom:.375rem!important}.scard h3{font-size:.78rem!important}.scard p{font-size:.69rem!important;-webkit-line-clamp:2!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;overflow:hidden!important;margin-bottom:.5rem!important}.section-inner{padding:1.25rem 1rem!important}.section-title{font-size:1.2rem!important}.chat-wrap{grid-template-columns:1fr!important;height:calc(100dvh - var(--mob-header-h))!important}.chat-sidebar{display:none!important}.messages{padding:.75rem .625rem;gap:.875rem}.msg-bubble{max-width:88%!important;padding:.7rem .875rem;font-size:.85rem;line-height:1.65}.msg{gap:.5rem}.msg-av{width:28px;height:28px;font-size:.7rem;flex-shrink:0}.chat-topbar{padding:.625rem 1rem}.chat-topbar-info h2{font-size:.82rem}.sofia-av{width:34px;height:34px;font-size:.88rem}.end-session-btn{padding:.25rem .65rem;font-size:.67rem}.chat-input-wrap{padding:.625rem .75rem}.chips{gap:.3rem;margin-bottom:.375rem;overflow-x:auto;flex-wrap:nowrap;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:2px}.chips::-webkit-scrollbar{display:none}.chip{font-size:.7rem;padding:.22rem .6rem;white-space:nowrap}#chat-input{font-size:16px!important;padding:.4rem .75rem!important;min-height:38px!important;flex:1!important;min-width:0!important;width:50px!important}.send-btn{width:38px;height:38px;font-size:.9rem;flex-shrink:0!important}.mic-btn{width:34px;height:34px;font-size:1rem}.attach-btn{width:32px;height:32px;font-size:.9rem}.welcome-icon{width:52px;height:52px;font-size:1.25rem;margin-bottom:1rem}.welcome-state h2{font-size:1rem}.welcome-state p{font-size:.78rem}#page-analysis,#page-doc-analysis,#page-doc-gen,#page-simulate{overflow-y:auto;-webkit-overflow-scrolling:touch}.dg-fields-grid,.dg-fields-grid.cols-3{grid-template-columns:1fr!important}.court-picker-wrap{padding:.75rem}.court-cat-btn,.court-sub-btn{font-size:.75rem;padding:.4rem .625rem}.dg-section{padding:.875rem .75rem}.feedback-row{gap:.3rem;margin-top:.4rem;flex-wrap:wrap}.fb-btn,.tts-btn{font-size:.67rem;padding:.18rem .5rem}body,html{overflow-x:hidden!important}}
@media(max-width:480px){.hero-h1{font-size:clamp(.7rem,3vw,1rem)!important}.msg-bubble{max-width:93%!important;font-size:.82rem}.mob-tab-label{max-width:56px;font-size:.55rem}.mob-fab-inner{width:48px;height:48px}}
@media(max-width:768px){#page-chat.active .chat-wrap{height:100%!important}#mob-nav{transition:transform .22s cubic-bezier(.4,0,.2,1),opacity .22s ease}}
@media(max-width:768px){.chat-main,.chat-wrap{max-width:100%!important;overflow:hidden!important}.confidential-badge span[data-i18n="chat.confidential"]{display:none!important}.confidential-badge{padding:.4rem .5rem!important;gap:0!important}body.mob-chat-open{overflow:hidden;position:fixed;width:100%;height:100%}body.mob-chat-open #page-chat.active{position:fixed;top:calc(var(--mob-header-h) + env(safe-area-inset-top,0px));left:0;right:0;bottom:0;overflow:hidden;z-index:500;background:var(--bg-page)}body.mob-chat-open .chat-wrap{height:100%!important;grid-template-columns:1fr!important}@media (display-mode:standalone){body.mob-chat-open #page-chat.active{top:env(safe-area-inset-top,0)!important}.chat-topbar{position:sticky!important;top:0!important;z-index:10}}}
@media(max-width:768px){.input-box{padding:.2rem .3rem .2rem .2rem}.send-btn{width:40px;height:40px;min-width:40px;border-radius:12px;flex-shrink:0;font-size:.95rem}}
@media(max-width:768px){.dash-wrap{grid-template-columns:1fr;padding:1rem;gap:1rem;margin-top:0}.dash-sidebar{position:static;max-height:none;border-radius:16px;display:flex;flex-direction:column;gap:1rem}.dash-profile-card{flex-direction:row;text-align:left;align-items:center;padding:1.2rem}.dash-profile-card .dash-name{font-size:.95rem}.dash-stats-grid{grid-template-columns:1fr 1fr}.dash-quick-actions{flex-direction:row;flex-wrap:wrap;gap:.5rem}.dash-qa-btn{flex:1;min-width:calc(50% - .25rem);font-size:.78rem;padding:.55rem .5rem}.dash-main{border-radius:16px;min-height:300px}.dash-tabs{padding:.75rem 1rem 0}#page-dashboard.page.active{padding-bottom:calc(var(--mob-nav-h) + 1rem)}}
@media(max-width:480px){.dash-billing-section{grid-template-columns:1fr!important;gap:1rem!important}.dash-billing-card{padding:1rem!important}.dash-billing-card h3{font-size:1.2rem!important}.dash-billing-card button{margin-top:1rem!important;padding:9px!important;font-size:.8rem!important}.dash-profile-card{flex-direction:row!important;text-align:left!important;align-items:center!important;padding:1rem!important;gap:1rem!important}.dash-avatar-ring{width:60px!important;height:60px!important;padding:2px!important}.dash-avatar-initials{font-size:1.5rem!important}.dash-name{font-size:1rem!important;font-weight:700!important}.dash-email{font-size:.75rem!important}.dash-since{font-size:.65rem!important;padding:.1rem .4rem!important}.dash-quick-actions{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:.5rem!important}.dash-qa-btn{flex:none!important;min-width:0!important;font-size:.72rem!important;padding:.6rem .25rem!important;flex-direction:column!important;align-items:center!important;text-align:center!important;justify-content:center!important;gap:.35rem!important}.dash-qa-btn span:first-child{font-size:1.3rem!important;margin:0!important}.dash-tabs{display:flex!important;width:100%!important;overflow-x:visible!important;white-space:normal!important;padding:.5rem .15rem!important;margin-bottom:1.25rem!important;gap:.35rem!important}.dash-tabs::-webkit-scrollbar{display:none!important}.dash-tab{flex:1 1 0px!important;min-width:0!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:.25rem!important;padding:.5rem .15rem!important;font-size:.72rem!important;border-radius:10px!important;text-align:center!important;white-space:nowrap!important;position:relative!important}.dash-tab-count{position:absolute!important;top:-4px!important;right:-2px!important;padding:.05rem .25rem!important;font-size:.65rem!important;border-radius:8px!important;line-height:1!important}.dash-tab-count:empty{display:none!important}}
@media(max-width:768px){#auth-btn-wrap,#auth-login-btn,#nav-logout-btn{display:none!important}}
@media (max-width:768px){.lmk-grid{grid-template-columns:1fr}}
@media (max-width:768px){.lmk-page{padding:1.5rem 1rem 5rem}.lmk-hero{padding:2.25rem 1.75rem 4.5rem;border-radius:var(--r-lg)}.lmk-hero::before{background-size:16px 16px}.lmk-filters{padding:1.25rem;margin:-2.5rem .5rem 2rem;gap:1rem;border-radius:var(--r-lg)}.lmk-filter-group{min-width:100%}.lmk-filter-btn{width:100%}.modal-overlay{align-items:flex-end;padding:0}.modal-box{max-height:92vh;border-radius:var(--r-xl) var(--r-xl) 0 0;max-width:100%;padding-bottom:env(safe-area-inset-bottom,24px)}.lmp-header{flex-direction:column;gap:1.25rem;padding:1.75rem;align-items:flex-start}.lmp-stats-row{gap:1.25rem}.lmp-body{padding:1.5rem}.bk-body,.bk-summary{padding:1.5rem}.lmp-date-grid{grid-template-columns:repeat(4,1fr)}.lmk-grid{grid-template-columns:1fr}}
@media(max-width:768px){#atty-sidebar{display:none}.atty-mob-tabs{display:grid}#atty-main{padding:1.25rem 1rem calc(80px + env(safe-area-inset-bottom));max-width:100%}.atty-stat-grid{grid-template-columns:repeat(2,1fr);gap:.75rem}.atty-profile-grid{grid-template-columns:1fr}.atty-sched-grid{grid-template-columns:repeat(4,1fr)}.atty-consult-card{flex-wrap:wrap}.atty-consult-actions{width:100%;justify-content:flex-end}}
@media(max-width:640px){.admin-layout{flex-direction:column;align-items:stretch}.admin-sidebar{width:100%;min-width:unset;position:static;height:auto;border-right:none;border-bottom:1px solid var(--border,#e2e8f0);overflow-x:auto;overflow-y:visible}.admin-main{max-width:100%;padding:1.25rem}.atty-form-grid{grid-template-columns:1fr}}
@media (max-width:768px){.leg-jump-bar{display:none!important}}
@media (max-width:768px){.leg-article-anchor{scroll-margin-top:116px}}
@media (max-width:640px){.leg-detail-view{padding:1.5rem}.leg-detail-title{font-size:1.5rem}.leg-toc{border-radius:10px;padding:.85rem}.leg-toc-list{grid-template-columns:1fr;max-height:300px}.leg-toc-link{font-size:.86rem}}
@media (max-width:768px){#atty-onboarding{padding:.5rem!important}.atty-form-container{margin:.5rem auto!important;padding:1.5rem!important;border-radius:12px!important}#atty-onboarding-status-view{margin:.5rem auto!important;padding:1.5rem!important;border-radius:12px!important}}
@media (max-width:768px){.atty-form-input,.court-sim-mini-field input,.court-sim-mini-field textarea,.court-sim-notes,.dg-field input,.dg-field select,.dg-field textarea,.leg-inpage-input,.leg-jump-input,.leg-sr-input,input,select,textarea{font-size:16px!important}}
@media (max-width:768px){header#nav{display:none!important}#mob-subpage-header,.mob-subpage-header{display:flex!important;align-items:center;justify-content:space-between;background:#026!important;color:#fff!important;height:calc(56px + env(safe-area-inset-top,0px))!important;padding:env(safe-area-inset-top,0) 1rem 0 1rem!important;box-sizing:border-box!important;position:fixed!important;top:0;left:0;right:0;z-index:10000!important;box-shadow:0 2px 8px rgba(0,0,0,.1)!important}#mob-subpage-header h1,.mob-subpage-header h1{font-size:1.1rem!important;font-weight:700!important;margin:0!important;text-align:center!important;flex-grow:1!important;color:#fff!important}.mob-back-btn{background:0 0!important;border:none!important;color:#fff!important;cursor:pointer!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:.5rem!important;margin-left:-.5rem!important;transition:transform .1s ease!important}.mob-back-btn:active{transform:scale(.9)!important}}
@media (max-width:768px){#scroll-to-top{bottom:calc(var(--mob-nav-h,72px) + env(safe-area-inset-bottom,0px) + 24px)!important}}
@media(max-width:768px){#lawyer-modal-box:has(.lida-booking-shell){width:100%;max-width:none;border-radius:0}.lida-booking-heading{padding:1rem}.lida-booking-main{grid-template-columns:1fr}.lida-booking-picker{padding:1rem}.lida-booking-summary{border-left:0;border-top:1px solid #e8edf5;padding:1rem}.lmp-date-grid.lida-month-grid{gap:2px!important}.lida-calendar-day.lmp-date-btn{min-height:40px;font-size:.75rem!important}.lmp-slots-wrap{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:.45rem!important}.lida-selected-lawyer{align-items:stretch;flex-direction:column;padding:1rem}.lida-selected-lawyer .lmp-book-cta{width:100%!important;min-width:0}.lida-slot-heading{align-items:flex-start;gap:.4rem;flex-direction:column}}
@media(max-width:768px){#atty-schedule-content{padding:.7rem!important}.atty-week-board-wrap{overflow-x:auto}.atty-week-timeline{grid-template-columns:54px repeat(7,100px);min-width:754px}.atty-hours-editor .atty-calendar-grid{grid-template-columns:1fr!important}.atty-week-nav{grid-template-columns:repeat(2,1fr)!important}.atty-timeline-time,.atty-timeline-cell{min-height:52px}.atty-timeline-free,.atty-timeline-booking{min-height:42px}}
@media(max-width:520px){.atty-booking-detail-rows>div{grid-template-columns:1fr;gap:4px}.atty-booking-detail-card header{padding:18px}.atty-booking-detail-rows{padding:6px 18px 16px}}
@media (max-width:768px){
  html body main>#page-doc-analysis.page,
  html body main>#page-doc-gen.page,
  html body main>#page-dashboard.page,
  html body main>#page-legislation.page{
    padding-top:1rem!important;
  }
  html body main>#page-legislation>.leg-page{
    padding-top:0!important;
  }
}
@media(max-width:680px){.da-mode-switch{display:grid;grid-template-columns:1fr 1fr;width:100%;box-sizing:border-box}.da-mode-switch button{padding:8px 6px;font-size:.7rem}.da-file-list{grid-template-columns:1fr}.da-compare-heading{align-items:flex-start;flex-direction:column}.da-compare-selectors{grid-template-columns:1fr}.da-compare-arrow{transform:rotate(90deg)}.da-preview-body{grid-template-columns:1fr}.da-note-rail{max-height:none;border-top:1px solid #e7ebf2;border-left:0}.da-preview-paper{max-height:500px;padding:15px}}
@media(max-width:560px){.dash-sidebar-billing{grid-template-columns:1fr!important}}
@media(max-width:768px){#dash-live-banner-mobile-slot:not(:empty){display:block;margin:0 0 14px}#dash-live-banner-mobile-slot #dash-live-consultation-banner{width:100%;box-sizing:border-box}}
@media(max-width:760px){.dash-consult-card{grid-template-columns:1fr;gap:14px;padding:16px}.dash-consult-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;margin-bottom:13px}.dash-consult-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-consult-actions{padding:13px 0 0;border-left:0;border-top:1px solid var(--border,#e2e8f0)}.dash-consult-actions .call-presence-badge{min-height:34px}.dash-consult-receipt{border:1px solid #dbeafe;background:#f8fbff}.dash-consult-topic{width:100%;box-sizing:border-box}}
@media(max-width:380px){.dash-consult-heading{grid-template-columns:1fr}.dash-consult-status{width:max-content}.dash-consult-meta{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.dash-booking-pagination{position:sticky;bottom:calc(var(--mob-nav-h,64px) + 8px);z-index:5;margin:12px -4px 0;padding:9px 6px;border:1px solid #e2e8f0;border-radius:12px;background:rgba(255,255,255,.94);backdrop-filter:blur(10px)}.dash-booking-pagination button{min-width:32px;height:32px}}
@media(max-width:640px){#apanel-bookings>h2{margin-bottom:.85rem!important}.atty-consult-filter-panel{margin-right:-.4rem;padding:8px}.atty-consult-filter-panel .atty-tab-btn{min-height:36px;padding:7px 11px!important}}
@media(max-width:768px){.atty-control-center{margin:.75rem 0}.atty-overview-calendar{max-height:380px}.atty-overview-pending-item{align-items:flex-start;flex-direction:column}.atty-overview-pending-item>div:last-child{width:100%}.atty-overview-pending-item button{flex:1;min-height:36px}}
@media (max-width:768px){
  body.attorney-mode #page-attorney.active,
  body.attorney-mode #page-attorney.active #atty-content,
  body.attorney-mode #page-attorney.active #atty-main-wrap.atty-pro-main,
  body.attorney-mode #page-attorney.active #apanel-earnings{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow-x:hidden!important;
    box-sizing:border-box!important;
  }
  body.attorney-mode #page-attorney.active #apanel-earnings>*{
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.attorney-mode #payout-method-form-wrap>div:nth-of-type(2){
    grid-template-columns:1fr!important;
  }
  body.attorney-mode #payout-methods-list>div,
  body.attorney-mode #withdraw-history>div{
    min-width:0!important;
    max-width:100%!important;
  }
  body.attorney-mode #payout-methods-list span[style*="monospace"]{
    overflow-wrap:anywhere!important;
    word-break:break-word!important;
  }
}
@media(max-width:768px){
  .atty-earn-analytics{
    padding:1rem .9rem 1.05rem;
    border-radius:16px;
  }
  .atty-earn-analytics-head{
    flex-direction:column;
    align-items:stretch;
    gap:.75rem;
  }
  .atty-earn-period-filters{
    width:100%;
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
  }
  .atty-earn-period-filters button{
    min-height:38px;
    padding:.45rem .2rem;
    font-size:.62rem;
  }
  .atty-earn-metrics{
    grid-template-columns:1fr;
    gap:.55rem;
  }
  .atty-earn-metric{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:.5rem .75rem;
    padding:.8rem .9rem;
  }
  .atty-earn-metric-label{
    margin:0;
    text-transform:none;
    letter-spacing:0;
    font-size:.78rem;
    font-weight:700;
    color:#475569;
  }
  .atty-earn-metric-value{
    font-size:1.15rem;
    text-align:right;
  }
  .atty-earn-chart{
    height:120px;
    margin-top:.85rem;
  }
}
@media(max-width:640px){.clarification-options{flex-direction:column}.clarification-option{width:100%;border-radius:12px;padding:.68rem .75rem}}
@media(max-width:768px){.atty-control-head{align-items:flex-start!important;gap:.65rem;flex-direction:column}.atty-calendar-view-tabs{width:100%}.atty-calendar-view-tabs button{flex:1}.atty-overview-calendar{overflow:auto}.atty-overview-week{grid-template-columns:repeat(7,105px)}.atty-overview-month{grid-template-columns:repeat(7,78px)}}
@media(max-width:768px){.atty-control-calendar .atty-overview-calendar{padding:0 .65rem .8rem}.atty-dashboard-calendar-head{padding:1rem}.atty-control-calendar .atty-overview-month{grid-template-columns:repeat(7,minmax(34px,1fr));gap:.16rem}.atty-control-calendar .atty-overview-month .day,.atty-control-calendar .atty-overview-month .empty{min-height:43px}.atty-control-calendar .atty-overview-month .day strong{width:34px;height:34px}.atty-calendar-selected-sessions{padding:.9rem}.atty-calendar-session-card{grid-template-columns:48px 1fr}.atty-calendar-session-card button{grid-column:1/-1;width:100%}}
@media(max-width:768px){
  #lawyer-modal{align-items:flex-start;justify-content:center;height:100dvh;min-height:100svh;padding:max(10px,env(safe-area-inset-top,0px)) 0 0;overflow:hidden}
  #lawyer-modal-box{width:100%;max-width:100%!important;max-height:calc(100dvh - 10px - env(safe-area-inset-top,0px))!important;border-radius:18px 18px 0 0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scroll-padding-top:64px}
  #lawyer-modal-box>.modal-close{position:sticky;top:10px;float:right;width:42px;height:42px;margin:10px 10px -52px 0;border:1px solid rgba(15,23,42,.16);background:#fff;color:#0f172a;box-shadow:0 6px 20px rgba(15,23,42,.22);z-index:1000}
  #lawyer-modal-box .lmp-header{min-height:0;padding:4.25rem 1.5rem 1.75rem}
  #lawyer-modal-box .lmp-avatar{margin-top:0}
}
@media(max-width:768px){
  #lawyer-modal #lawyer-modal-box>.modal-close,
  #lawyer-modal #lawyer-modal-box .lmp-profile-article>.modal-close{
    top:6px!important;
    right:8px!important;
    margin:6px 8px -50px 0!important;
  }
}
@media(max-width:768px){
  #booking-modal.modal-overlay{inset:0 0 calc(max(var(--mob-nav-h,72px),72px) + env(safe-area-inset-bottom,0px)) 0!important;width:100%!important;height:auto!important;min-height:0!important;padding:max(3px,env(safe-area-inset-top,0px)) 0 0!important;align-items:flex-start!important;overflow:hidden!important}
  #booking-modal .booking-modal-box{width:100%!important;height:100%!important;max-width:none!important;max-height:100%!important;margin:0!important;border-radius:16px 16px 0 0!important}
  #booking-modal .booking-modal-scroll{padding-top:0;padding-bottom:.5rem!important}
  #booking-modal .booking-modal-actions{padding:.65rem 1rem .85rem!important;position:relative!important;bottom:auto!important}
  #booking-modal .booking-modal-box>.modal-close{position:absolute!important;top:8px!important;right:8px!important;display:flex!important;width:42px!important;height:42px!important;align-items:center!important;justify-content:center!important;border-radius:999px!important;background:rgba(255,255,255,.96)!important;box-shadow:0 5px 18px rgba(15,23,42,.2)!important;z-index:20!important}
}
@media(max-width:768px){.lida-selected-lawyer-actions .lmp-book-cta{width:100%!important}}
@media(max-width:768px){
  #profile-switcher-modal.modal-overlay{
    inset:0 0 calc(var(--mob-nav-h,72px) + env(safe-area-inset-bottom,0px)) 0!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    padding:max(8px,env(safe-area-inset-top,0px)) 0 0!important;
    align-items:flex-end!important;
    justify-content:center!important;
    overflow:hidden!important;
  }
  #profile-switcher-modal>.modal-box{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    max-width:440px!important;
    max-height:100%!important;
    margin:0 auto!important;
    border-radius:20px 20px 0 0!important;
    overflow:hidden!important;
  }
  #profile-switcher-modal>.modal-box>div:last-child{
    min-height:0!important;
    overflow-y:auto!important;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    padding-bottom:max(1.5rem,env(safe-area-inset-bottom,0px))!important;
  }
  #profile-switcher-modal .modal-close{
    position:absolute!important;
    top:12px!important;
    right:12px!important;
    z-index:20!important;
  }
}
@media(max-width:768px){
  #lawyer-modal,#lawyer-modal-box,#lawyer-modal-content{max-width:100dvw!important;overflow-x:hidden!important;touch-action:pan-y}
  #lawyer-modal-box>* ,#lawyer-modal-content>* ,#lawyer-modal-box .lmp-header,#lawyer-modal-box .lmp-body,#lawyer-modal-box .lmp-share-bar{width:100%;max-width:100%;min-width:0}
  #lawyer-modal-box .lmp-grid-spec-lang{grid-template-columns:minmax(0,1fr)!important}
  #lawyer-modal-box .lmp-name,#lawyer-modal-box .lmp-bio,#lawyer-modal-box .lmp-section{max-width:100%;overflow-wrap:anywhere;word-break:break-word}
  #lawyer-modal-box .lmp-stats-row,#lawyer-modal-box .lmp-verified-row{max-width:100%;flex-wrap:wrap}
}
@media(max-width:768px){
  .lmk-hero{display:flex;flex-direction:column;align-items:stretch}
  #for-attorneys-cta{position:relative!important;top:auto!important;right:auto!important;order:-1;width:100%;max-width:100%;justify-content:center;margin:0 0 1rem;padding:.65rem 1rem!important;white-space:normal!important;text-align:center}
  .lmk-hero-content{width:100%;max-width:100%;min-width:0}
}
@media(max-width:600px){.lmp-photo-lightbox-circle{width:min(86vw,440px);border-width:4px}}
@media(max-width:600px){
  #lawyer-modal-box .lmp-header{grid-template-columns:96px minmax(0,1fr)!important;column-gap:.9rem!important;padding-left:1rem!important;padding-right:1rem!important}
  #lawyer-modal-box .lmp-avatar{width:96px!important;height:96px!important;min-width:96px!important;margin:0!important}
  #lawyer-modal-box .lmp-name{font-size:clamp(1.05rem,5vw,1.35rem)!important;line-height:1.18!important}
  #lawyer-modal-box .lmp-verified-row{justify-content:flex-start!important;gap:.35rem!important}
  #lawyer-modal-box .lmp-stats-row{justify-content:flex-start!important;gap:.7rem!important}
}
@media (max-width:768px){
  body #mob-nav,
  body #atty-mob-tabs{
    position:fixed!important;
    inset:auto 0 0 0!important;
    top:auto!important;
    bottom:0!important;
    width:100vw!important;
    max-width:none!important;
    margin:0!important;
    transform:none!important;
    translate:none!important;
    z-index:2147483000!important;
  }
  html.lida-keyboard-open body #mob-nav,
  html.lida-keyboard-open body #atty-mob-tabs{display:none!important}
}
@media (max-width:768px){
  body:not(.attorney-mode)>#atty-mob-tabs{display:none!important;visibility:hidden!important;pointer-events:none!important}
  body.attorney-mode>#atty-mob-tabs{display:flex!important;visibility:visible!important;pointer-events:auto!important}
}
@media(max-width:380px){
  #video-call-overlay #video-call-alert{
    white-space:normal!important;
    border-radius:14px!important;
    max-width:calc(100vw - 16px)!important;
  }
  #video-call-overlay #video-call-alert #video-call-alert-text{
    white-space:normal!important;
  }
}
@media(max-width:768px){
  #video-call-overlay #video-prejoin-container{padding:max(24px,env(safe-area-inset-top,0px)) 24px max(32px,env(safe-area-inset-bottom,0px))!important}
  #video-call-overlay #prejoin-start-btn{display:inline-flex!important;width:auto!important;min-width:220px!important;height:auto!important;min-height:48px!important;padding:.78rem 1.5rem!important;border-radius:12px!important;white-space:nowrap!important;line-height:1.2!important}
}
@media(max-width:768px){
  #lawyer-modal.modal-overlay{
    inset:0 0 calc(var(--mob-nav-h,72px) + env(safe-area-inset-bottom,0px)) 0!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    padding:max(3px,env(safe-area-inset-top,0px)) 0 0!important;
    align-items:flex-start!important;
    overflow:hidden!important;
  }
  #lawyer-modal #lawyer-modal-box{
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:100%!important;
    margin:0!important;
    border-radius:16px 16px 0 0!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior:contain;
    scroll-padding-top:58px;
    padding-bottom:max(18px,env(safe-area-inset-bottom,0px))!important;
  }
  #lawyer-modal #lawyer-modal-box>.modal-close{
    position:sticky!important;
    top:6px!important;
    right:8px!important;
    float:right!important;
    display:flex!important;
    width:44px!important;
    height:44px!important;
    margin:6px 8px -50px 0!important;
    align-items:center!important;
    justify-content:center!important;
    border:1px solid rgba(15,23,42,.18)!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.96)!important;
    color:#0f172a!important;
    box-shadow:0 6px 22px rgba(15,23,42,.24)!important;
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    z-index:2147482500!important;
  }
}
@media(max-width:768px){.atty-week-timeline{grid-template-columns:54px repeat(var(--atty-visible-days,7),100px)!important;min-width:calc(54px + var(--atty-visible-days,7) * 100px)!important}}
@media(max-width:720px){.payment-footer-row{grid-template-columns:1fr!important;justify-items:center!important;text-align:center;gap:.85rem!important}.payment-footer-copyright,.payment-footer-logos,.payment-footer-meta{grid-column:1;justify-self:center}.payment-footer-logos{grid-row:auto;width:min(340px,90vw)}.payment-footer-copyright{grid-row:auto;white-space:normal}.payment-footer-meta{grid-row:auto;justify-content:center;flex-wrap:wrap}.payment-footer-divider{display:none}}
@media(max-width:768px){.ai-services-showcase{padding:3rem 0}.ai-services-showcase .container{padding:0}.ai-services-showcase .sec-head{padding:0 1.25rem}.ai-services-showcase .cards-grid{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;gap:.85rem!important;padding:0 1.25rem 1rem!important;scrollbar-width:none}.ai-services-showcase .cards-grid::-webkit-scrollbar{display:none}.ai-services-showcase .scard{flex:0 0 min(82vw,330px);padding:0!important;border-radius:24px!important;scroll-snap-align:start}.ai-services-showcase .scard-body{padding:1.25rem!important;min-height:0}.ai-services-showcase .scard h3{font-size:1.15rem!important}.ai-services-showcase .scard p{display:block!important;overflow:visible!important;-webkit-line-clamp:unset!important;font-size:.82rem!important;line-height:1.55!important}.ai-services-showcase .scard-link{font-size:.82rem!important}}
@media (max-width:768px) {
  .home-georgia-flag { display:none!important; }
  .lida-brand-lockup { width:118px; height:31px; overflow:visible; }
  .lida-brand-lockup img { width:100%; height:100%; object-fit:contain; }
  #mob-header-logo { background:transparent!important; width:138px!important; height:40px!important; border-radius:0!important; }
  #mob-header-logo img { content:url('/assets/lida-logo-transparent.png'); width:136px!important; height:36px!important; object-fit:contain!important; }
  .splash-logo { width:170px!important; height:54px!important; border-radius:0!important; background:transparent!important; box-shadow:none!important; overflow:visible!important; }
  .splash-logo img { width:100%!important; height:100%!important; object-fit:contain!important; }
  #mobile-splash { background:#062765!important; }
  #mobile-splash .splash-greeting { color:rgba(255,255,255,.88)!important; }
  #mobile-splash .splash-title { display:none!important; }
  #mobile-splash .splash-loader { border-color:rgba(255,255,255,.22)!important; border-top-color:#e9af36!important; }
}
@media(max-width:768px){
  #page-lawyers .lmk-hero{display:none!important}
}
@media(max-width:600px){
  #lawyer-modal-box .lmp-header{grid-template-columns:96px minmax(0,1fr)!important;column-gap:.9rem!important;padding-left:1rem!important;padding-right:1rem!important}
  #lawyer-modal-box .lmp-avatar{grid-column:1!important;width:96px!important;height:96px!important;min-width:96px!important;margin:0!important}
  #lawyer-modal-box .lmp-identity{grid-column:2!important}
  #lawyer-modal-box .lmp-name{font-size:clamp(1.05rem,5vw,1.35rem)!important;line-height:1.18!important}
  #lawyer-modal-box .lmp-verified-row{justify-content:flex-start!important;gap:.35rem!important}
  #lawyer-modal-box .lmp-stats-full-row{grid-column:1/-1!important;margin-top:.7rem!important;justify-content:space-around!important;gap:.35rem!important}
}
@media(max-width:768px){
  #pwa-install-modal.modal-overlay{box-sizing:border-box;align-items:flex-start!important;padding:calc(env(safe-area-inset-top,0px) + 24px) 10px calc(var(--mob-nav-h,72px) + env(safe-area-inset-bottom,0px) + 16px)!important;height:var(--lida-visible-height,100dvh);bottom:auto;overflow:hidden}
  #pwa-install-modal .modal-box{width:100%!important;max-height:100%!important;min-height:0;margin:0 auto;border-radius:var(--r-xl)!important;overflow-y:auto;overscroll-behavior:contain}
}
@media(max-width:560px){#pwa-install-modal .modal-box{padding:1.15rem!important}.pwa-ios-visual-guide{grid-template-columns:repeat(5,138px);margin-inline:-2px}.pwa-ios-phone{width:116px;height:170px}}
@media (max-width: 768px) {
  body.mob-chat-open #page-chat.active {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  body.mob-chat-open #page-chat.active .chat-wrap {
    margin-top: 0 !important;
  }
}
@media(max-width:560px){.astat-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.astat-plan-user-row{grid-template-columns:38px minmax(0,1fr)}.astat-plan-user-meta{grid-column:2;text-align:left;display:flex;gap:.6rem}.astat-plan-modal-box{max-height:90dvh}}
@media(max-width:560px){.account-danger-card{align-items:stretch;flex-direction:column}.account-delete-btn{width:100%}}
@media (max-width:768px){
  html:not([data-route]) body #page-home.active,html[data-route="home"] body #page-home.active{height:calc(100dvh - var(--mob-header-h) - var(--mob-nav-h) - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))!important;min-height:0!important;overflow:hidden!important;padding:2px 0 12px!important}
  html:not([data-route]) body #page-home .mob-launcher-dashboard,html[data-route="home"] body #page-home .mob-launcher-dashboard{flex:1 1 auto!important;height:100%!important;min-height:0!important}
  html:not([data-route]) body #page-home .mob-header-card,html[data-route="home"] body #page-home .mob-header-card{flex:0 0 auto!important;width:100%!important;margin-left:0!important;margin-right:0!important}
  html:not([data-route]) body #page-home .mob-launcher-grid,html[data-route="home"] body #page-home .mob-launcher-grid{grid-template-rows:repeat(3,minmax(0,1fr))!important;flex:1 1 auto!important;height:auto!important;min-height:0!important;align-content:stretch!important}
  html:not([data-route]) body #page-home .mob-grid-item,html[data-route="home"] body #page-home .mob-grid-item{min-height:0!important;height:auto!important;padding:.55rem .45rem 1.35rem!important;overflow:hidden!important}
  html:not([data-route]) body #page-home .mob-grid-item .item-desc,html[data-route="home"] body #page-home .mob-grid-item .item-desc{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important}
  html:not([data-route]) body #page-home .mob-grid-item .item-arrow-btn,html[data-route="home"] body #page-home .mob-grid-item .item-arrow-btn{width:20px!important;height:20px!important;bottom:.35rem!important;right:.4rem!important}
  body.mob-chat-open #page-chat.active{top:calc(var(--mob-header-h) + env(safe-area-inset-top,0px))!important;bottom:calc(var(--mob-nav-h) + var(--mob-safe-b))!important;height:auto!important;padding-top:0!important;margin-top:0!important}
  body.mob-chat-open #page-chat.active .chat-wrap{height:100%!important;margin-top:0!important}
  body.mob-chat-open #page-chat.active .chat-topbar{position:sticky!important;top:0!important;z-index:12!important;flex:0 0 auto!important}
}
@media (max-width:768px){
  html:not([data-route]) body #page-home.active,
  html[data-route="home"] body #page-home.active{
    padding-top:0!important;
  }
  html:not([data-route]) body #page-home.active .mob-launcher-dashboard .mob-header-card,
  html[data-route="home"] body #page-home.active .mob-launcher-dashboard .mob-header-card{
    min-height:182px!important;
    border-radius:0 0 16px 16px!important;
    padding-top:20px!important;
    padding-bottom:20px!important;
  }
  html:not([data-route]) body #page-home.active #mob-constitution-container,
  html[data-route="home"] body #page-home.active #mob-constitution-container{
    position:relative!important;
    border-top:0!important;
  }
  html:not([data-route]) body #page-home.active #mob-constitution-container::before,
  html[data-route="home"] body #page-home.active #mob-constitution-container::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:min(38%,135px);
    height:1.5px;
    background:rgba(255,255,255,.25);
    pointer-events:none;
  }
}
@media(max-width:768px){#review-modal.review-modal-overlay{inset:0 0 calc(max(var(--mob-nav-h,72px),72px) + env(safe-area-inset-bottom,0px)) 0!important;width:auto!important;height:auto!important;align-items:flex-start!important;padding:12px 0 16px!important}#review-modal .review-modal-box{width:100%!important;max-width:none!important;max-height:calc(100dvh - max(var(--mob-nav-h,72px),72px) - env(safe-area-inset-bottom,0px) - 28px)!important;margin:auto 0 0;border-radius:20px 20px 0 0!important;padding-bottom:env(safe-area-inset-bottom,0px)}}
@media(max-width:700px){.wa-form-grid{grid-template-columns:1fr}.wa-field-full{grid-column:auto}.wa-faq-row{grid-template-columns:1fr}.wa-savebar{align-items:stretch;flex-direction:column}}
@media(max-width:560px){.client-cancel-modal{align-items:end;padding:0 0 calc(var(--mob-nav-h,72px) + env(safe-area-inset-bottom,0px))}.client-cancel-dialog{border-radius:20px 20px 0 0;padding:20px}.client-cancel-actions{flex-direction:column-reverse}.client-cancel-actions button{width:100%}}
@media(max-width:760px){.support-channel-grid{grid-template-columns:1fr;gap:9px}.support-channel-card{padding:14px}.support-panel{margin:12px -4px!important;padding:16px!important}.support-intake-grid{grid-template-columns:1fr}.support-ai-compose{grid-template-columns:1fr}.support-ai-compose button{width:100%}.support-ai-messages{min-height:150px;max-height:280px}}
@media(max-width:640px){.atty-moderation-banner{align-items:stretch;flex-direction:column}.atty-moderation-banner a{text-align:center}}
@media(max-width:768px){
  .atty-week-board-wrap.atty-week-board-scroll{
    max-height:calc(58px + (12 * 52px) + 48px);
  }
}
@media(max-width:768px){
  #dash-plans-modal.premium-modal-overlay,
  #dash-credits-modal.premium-modal-overlay{
    box-sizing:border-box;
    align-items:flex-start;
    padding:calc(env(safe-area-inset-top, 0px) + 16px) 12px
      calc(92px + env(safe-area-inset-bottom, 0px));
    overflow:hidden;
  }
  #dash-plans-modal .premium-modal-box,
  #dash-credits-modal .premium-modal-box{
    width:100%;
    max-height:calc(100dvh - 108px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    margin:0;
  }
  #dash-plans-modal .premium-modal-body,
  #dash-credits-modal .premium-modal-body{
    padding:1.25rem 1rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    scroll-padding-bottom:1.5rem;
  }
}
@media(max-width:480px){.msg.ai .chat-consultation-card{gap:10px;padding:15px 12px}.chat-consultation-icon{font-size:22px}.msg.ai .msg-bubble a.chat-consultation-button{width:100%}}
