/* Compact: shared presentation for the existing public and account layouts. */
:root{--radius:6px;--control-height:44px;--space-section:28px;--compact-soft:#edf3ff;--compact-line:#d9e2ec}
.btn,.lk-button,.lk-app .btn{border-radius:6px;min-height:44px;padding:10px 18px;line-height:1.5}
.header-row,.guided-mode .header-row{min-height:72px}
.main-nav{gap:8px}
.main-nav a{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;border-radius:6px}
.main-nav a[aria-current=page]{background:var(--compact-soft);text-decoration:none}
.main-nav .lk-entry-link{background:#0d4cd3;border:1px solid #0d4cd3;color:#fff!important;padding-inline:18px}
.home-page .hero{padding:38px 0 32px}
.home-page .hero h1{max-width:980px;font-size:46px;line-height:1.15;margin-bottom:26px}
.home-page .quick-tasks{gap:12px}
.home-page .quick-tasks a,.home-page .quick-tasks a:last-child{min-height:82px;padding:16px 40px 16px 18px;gap:14px;border-radius:8px;background:#fff;border-style:solid}
.home-page .quick-tasks .task-icon{width:44px;height:44px;padding:4px;border-radius:9px;background:#edf3ff}
.home-page .quick-tasks strong{font-weight:700;line-height:1.4}
.home-page .quick-tasks a>span{right:16px}
.home-page .section{padding-block:32px}
.home-page .section-head{margin-bottom:20px}
.home-page .section-head h2{font-size:32px;line-height:1.25}
.catalog-filters{margin-bottom:22px}
.catalog-filters button{border-radius:6px 6px 0 0;min-height:44px;padding:10px 16px}
.catalog-filters button[aria-pressed=true],.catalog-filters button[aria-pressed=true]:hover{background:#e6efff}
.catalog-groups{gap:20px}
.catalog-group,.catalog-group:nth-child(n){padding:20px 22px 6px;border-radius:6px}
.catalog-group h3{font-size:20px;padding-bottom:10px;margin-bottom:4px}
.catalog-group .document-row{min-height:58px;padding:13px 0;gap:16px}
.guided-mode .tool-page{padding-top:24px}
.guided-mode .tool-intro{margin-bottom:16px}
.guided-mode .tool-intro h1{font-size:25px;line-height:1.3}
.guided-mode .workflow-bar{margin-bottom:20px;padding-bottom:12px}
.guided-mode .workflow-steps button{min-height:44px;border-radius:6px;padding:8px 12px}
.guided-mode .workflow-steps button[aria-current=step]{background:#e6efff;border-color:#0d4cd3}
.guided-mode .form-panel,.guided-mode .output-panel{border-radius:6px}
.guided-mode .form-panel{border-color:var(--compact-line);border-top:3px solid #0d4cd3}
.guided-mode .form-panel .panel-body{padding:24px 28px}
.guided-mode .question-meta{margin-bottom:12px}
.guided-mode .guide-map{margin-bottom:16px}
.guided-mode .guide-map .reminder-steps{gap:8px}
.guided-mode .guide-map .reminder-steps button{min-height:48px;border-radius:6px}
.guided-mode .question-head h2{font-size:27px;margin-bottom:16px;line-height:1.3}
.guided-mode .question-help{margin-bottom:16px}
.guided-form .question-active input,.guided-form .question-active textarea,.guided-form .question-active select{min-height:50px;padding:11px 14px;font-size:17px;border-radius:6px;background:#fff}
.guided-form .question-active textarea{min-height:120px}
.question-example{margin:16px 0 20px;border-radius:0 6px 6px 0}
.question-navigation{margin-top:20px;padding-top:18px}
.question-navigation .btn{min-height:44px;padding:10px 20px}
.guided-mode .question-navigation #question-next{min-height:44px}
.preview-modes{padding:12px 16px}
.completion-note,.save-feedback{padding:12px 16px}
.commerce-page{padding-top:28px;padding-bottom:40px}
.commerce-page h1,.pricing-page-head h1{font-size:34px;line-height:1.25;margin-bottom:14px}
.commerce-page h2{font-size:23px;line-height:1.35;margin-top:28px;margin-bottom:12px}
.commerce-page p,.commerce-page li{line-height:1.7}
.commerce-page li{margin-bottom:8px}
.commerce-page .lead{font-size:17px}
.commerce-page .page-toc{padding:14px 18px;margin:20px 0 24px;border-radius:6px}
.commerce-page .merchant-details{border-radius:6px}
.commerce-page .merchant-details>div{padding-block:13px}
.commerce-page .commerce-nav{margin-top:28px;padding-top:16px;gap:4px 20px}
.commerce-table{margin-block:20px}
.commerce-table th,.commerce-table td{padding:12px 14px}
.pricing-page{padding:28px 0 40px}
.pricing-page-head{margin-bottom:22px}
.pricing-section{padding:32px 0}
.pricing-root .plan-grid,.lk-app .plan-grid{gap:16px}
.pricing-root .plan-card,.lk-app .plan-card{min-height:250px;padding:20px;border-radius:6px;border-width:1px}
.pricing-root .plan-card.is-recommended,.lk-app .plan-card.is-recommended{border:2px solid #0d4cd3;padding:19px}
.pricing-root .plan-kicker{margin-bottom:10px}
.pricing-root .plan-card h3,.lk-app .plan-card h3{font-size:20px;margin-bottom:12px}
.pricing-root .plan-price strong,.lk-app .plan-price strong{font-size:34px;line-height:1.2;font-variant-numeric:tabular-nums}
.pricing-root .plan-details{margin-top:10px;font-size:14px}
.pricing-root .plan-details p{margin-bottom:6px}
.pricing-root .pricing-features{gap:8px 22px;margin-bottom:20px}
.pricing-root .pricing-availability{margin-bottom:20px;padding:12px 16px;border-radius:6px;background:#edf3ff}
.pricing-root .pricing-summary{margin-top:18px}
.pricing-root .pricing-terms-links{margin-top:12px;gap:8px 20px}
.pricing-root .pricing-free-note{margin-top:16px}
.pricing-root .pricing-terms-links .btn{background:#0d4cd3;color:#fff;border-color:#0d4cd3;min-height:44px;padding:10px 18px}
.lk-header-row{min-height:72px;gap:24px}
.lk-header-caption{padding-left:24px}
.lk-workspace{gap:28px;padding-top:26px;padding-bottom:40px}
.lk-nav{gap:5px}
.lk-nav a{min-height:46px;padding:10px 12px;border-radius:6px}
.lk-nav a[aria-current=page]{background:#0d4cd3;color:#fff;border-color:#0d4cd3}
.lk-nav a[aria-current=page] svg{color:inherit}
.lk-create-link{display:flex;align-items:center;justify-content:center;min-height:46px;margin-top:20px;padding:10px 12px;border:1px solid #0d4cd3;border-radius:6px;background:#0d4cd3;color:#fff;text-decoration:none}
.lk-create-link span{color:inherit}
.lk-user-menu>a,.lk-auth-nav>a{border-radius:6px;padding:8px 14px}
.lk-user-menu>a,.lk-auth-nav a[aria-current=page]{background:#0d4cd3;color:#fff}
.lk-page-head{gap:20px;margin-bottom:20px;align-items:center}
.lk-page-head h1,.lk-auth-card h1{font-size:32px;line-height:1.2;letter-spacing:-.025em}
.lk-page-head p{margin-top:8px}
.lk-card{padding:22px;border-radius:6px;margin-bottom:20px}
.lk-card h2{font-size:21px;line-height:1.35}
.lk-card-head{margin-bottom:16px}
.lk-onboarding{padding:16px 20px;margin-bottom:20px;border-radius:6px;background:#edf3ff}
.lk-stats{gap:14px;margin-bottom:20px}
.lk-stats article{padding:18px 20px;border-radius:6px}
.lk-stats strong{font-size:27px;line-height:1.25}
.lk-empty{padding:28px 16px}
.lk-alert{padding:12px 16px;margin-bottom:20px;border-radius:6px}
.lk-alert-info,.lk-access-status{background:#edf3ff}
.lk-access-status{padding:16px 20px;margin-bottom:20px;border-radius:6px}
.lk-archive-tabs{gap:0;margin-bottom:18px}
.lk-archive-tabs a{min-height:46px;padding:10px 18px;border-radius:6px 6px 0 0}
.lk-archive-tabs [aria-current=page]{background:#e6efff;border-bottom:3px solid #0d4cd3}
.lk-filters{padding:0;border:0;background:transparent;gap:16px;margin-bottom:20px}
.lk-filters input,.lk-filters select,.lk-form input:not([type=checkbox]):not([type=hidden]),.lk-form select{min-height:46px;padding:10px 12px;border-radius:6px}
.lk-filter-actions .lk-button-secondary{background:#0d4cd3;border-color:#0d4cd3;color:#fff}
.lk-table-caption{font-size:14px;font-weight:600;color:#0b1f33;margin-bottom:14px}
.lk-table-wrap{border:1px solid var(--compact-line);border-radius:6px}
.lk-table th{background:#f0f4fa}
.lk-table th,.lk-table td{padding:10px 14px}
.lk-table td:last-child,.lk-table th:last-child{padding-right:14px}
.lk-table td:first-child,.lk-table th:first-child{padding-left:14px}
.lk-table td strong{font-size:14px}
.lk-table small{margin-top:3px}
.lk-form{gap:18px}
.lk-form-grid{gap:18px 20px}
.lk-form-section legend{padding:10px 14px;margin-bottom:18px;border-radius:6px;background:#edf3ff;font-size:18px}
.lk-form-section+.lk-form-section{padding-top:20px}
.lk-form-actions{padding-top:20px;gap:12px}
.lk-document-toolbar{gap:8px;margin-bottom:14px}
.lk-document-toolbar .lk-button-secondary{background:#edf3ff;border-color:#cfddf7;color:#0d4cd3}
#document-edit-form>.lk-button{justify-self:start;width:auto}
#saved-document.lk-document-text{padding:24px;min-height:520px;border-radius:6px}
.lk-auth-card{max-width:480px;padding:28px;border-radius:6px}
.lk-auth-card h1{margin-bottom:22px}
.lk-auth-card .lk-form{gap:18px}
.lk-guest .lk-workspace{padding-top:36px}
.lk-auth-note{padding-top:16px;margin-top:20px}
.lk-footer-row{min-height:80px;padding-block:16px}
@media(hover:hover) and (pointer:fine){
 .main-nav .lk-entry-link:hover,.lk-user-menu>a:hover,.lk-auth-nav a[aria-current=page]:hover,.lk-create-link:hover,.lk-nav a[aria-current=page]:hover{background:#0b3da8;color:#fff!important;border-color:#0b3da8}
 .lk-nav a:not([aria-current=page]):hover{background:#e6efff}
 .lk-document-toolbar .lk-button-secondary:hover{background:#dfeaff;color:#0d4cd3;border-color:#a8c0ed}
 .pricing-root .pricing-terms-links .btn:hover,.lk-filter-actions .lk-button-secondary:hover{background:#0b3da8;color:#fff;border-color:#0b3da8}
}
@media(min-width:601px){.lk-table th:first-child,.lk-table td:first-child{width:30%}.lk-table th:nth-child(2){width:25%}.lk-table th:nth-child(3){width:20%}.lk-table th:last-child,.lk-table td:last-child{width:25%}.lk-table th{text-transform:none;letter-spacing:0;font-size:12px}.lk-row-actions{gap:10px}}
@media(min-width:1051px){.lk-filters{grid-template-columns:minmax(160px,1fr) minmax(150px,.8fr) auto}.lk-filter-actions{grid-column:auto}}
@media(max-width:1050px){.lk-workspace{gap:20px}.lk-create-link{display:none}.lk-nav a{min-height:58px}.home-page .hero h1{font-size:40px}.home-page .quick-tasks{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
 .header-row,.guided-mode .header-row{min-height:64px}
 .home-page .hero{padding:28px 0}
 .home-page .hero h1{font-size:34px;max-width:620px;margin-bottom:22px}
 .home-page .quick-tasks a,.home-page .quick-tasks a:last-child{padding:14px 30px 14px 14px;gap:10px;min-height:80px}
 .home-page .quick-tasks a>span{right:12px}
 .home-page .quick-tasks strong{font-size:14px}
 .home-page .section-head h2{font-size:28px}
 .catalog-groups{grid-template-columns:1fr;gap:16px}
 .catalog-group,.catalog-group:nth-child(n){padding:18px 20px 6px}
 .catalog-group h3{font-size:19px}
 .catalog-group .document-row{min-height:56px}
 .guided-mode .tool-page{padding-top:20px}
 .guided-mode .tool-intro h1{font-size:23px}
 .guided-mode .form-panel .panel-body{padding:22px}
 .guided-mode .question-head h2{font-size:25px}
 .commerce-page h1,.pricing-page-head h1{font-size:29px}
 .commerce-page h2{font-size:22px}
 .lk-header-row{min-height:64px;gap:12px;padding-block:10px}
 .lk-workspace{padding-top:20px;padding-bottom:32px}
 .lk-nav{grid-template-columns:repeat(4,minmax(0,1fr))}
 .lk-nav a{min-height:60px;flex-direction:column;justify-content:center;text-align:center;gap:6px;padding:8px 4px}
 .lk-page-head{align-items:flex-start;gap:14px}
 .lk-page-head h1,.lk-auth-card h1{font-size:28px}
 .lk-card{padding:18px}
 .lk-stats article{padding:16px}
 .lk-stats strong{font-size:24px}
 .lk-form-grid{gap:16px}
 .lk-form-actions{align-items:flex-start}
 .lk-form-actions>.lk-button{width:auto}
 .lk-filters{gap:14px}
 .lk-access-status{padding:14px 16px}
 .lk-app .plan-grid{grid-template-columns:1fr}
 .pricing-root .plan-card,.lk-app .plan-card{min-height:0}
 #saved-document.lk-document-text{padding:16px;min-height:420px}
 .lk-auth-card{padding:24px}
}
@media(max-width:600px){.lk-table-wrap{border:0;border-radius:0}.lk-table td,.lk-table td:first-child,.lk-table td:last-child{padding:0}}
@media(max-width:500px){
 .home-page .hero h1{font-size:30px;line-height:1.2}
 .home-page .quick-tasks{gap:8px}
 .home-page .quick-tasks a,.home-page .quick-tasks a:last-child{padding:12px 20px 12px 10px;gap:7px;min-height:82px}
 .home-page .quick-tasks .task-icon{width:30px;height:34px;padding:2px;border-radius:6px}
 .home-page .quick-tasks strong{font-size:13px}
 .home-page .quick-tasks a>span{right:7px;font-size:18px}
 .home-page .section{padding-block:26px}
 .home-page .section-head h2{font-size:26px}
 .catalog-filters button{padding-inline:10px;font-size:13px}
 .catalog-group,.catalog-group:nth-child(n){padding:16px 16px 4px}
 .guided-mode .tool-intro h1{font-size:22px}
 .guided-mode .form-panel .panel-body{padding:18px 16px}
 .guided-mode .question-head h2{font-size:24px}
 .guided-mode .workflow-steps button{padding:8px 5px;min-height:44px}
 .guided-form .question-active input,.guided-form .question-active textarea,.guided-form .question-active select{font-size:16px}
 .commerce-page h1,.pricing-page-head h1{font-size:28px}
 .lk-nav a{font-size:11px}
 .lk-table-wrap{border:0;border-radius:0}
 .lk-table tbody tr{gap:10px;padding:16px 0}
 .lk-table td,.lk-table td:first-child,.lk-table td:last-child{padding:0}
 .lk-table td strong{font-size:15px}
 .lk-archive-tabs a{padding-inline:12px;font-size:14px}
 .lk-auth-card{padding:22px}
 .lk-guest .lk-workspace{padding-top:24px}
 .lk-auth-nav>a{padding-inline:8px}
 .lk-document-toolbar .lk-button{padding-inline:10px}
 .lk-stats strong{font-size:22px}
}
@media print{.lk-table-wrap{border:0}.lk-form-section legend{background:transparent;padding:0}.commerce-page{padding:0}.lk-nav,.lk-create-link{display:none}}
