/* Portal-wide spacing, navigation and card rhythm. */
:root{--radius:16px;--bg:#f4f6f9;--line:#e3e8ef}body{font-size:15px;color:#243443}h1{font-size:clamp(27px,2.25vw,38px);letter-spacing:-.9px}button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent}.btn{min-height:40px;border-radius:9px;gap:8px;padding:9px 14px;font-size:13px;transition:background .15s,border-color .15s}.btn:hover{transform:none;border-color:#b9cbe3}.btn.primary{box-shadow:none}.btn:disabled{cursor:not-allowed;opacity:.55}.btn:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #85b5ff;outline-offset:3px}.topbar .tp-header{height:68px}.tp-header .tp-account>span:last-child{margin-left:0;color:inherit}.company-switch{padding:10px clamp(20px,3vw,64px);gap:16px;background:#fff;border-bottom:1px solid var(--line)}.company-switch label{color:#637184;font-size:12px;font-weight:500}.company-switch select{margin:0;min-height:38px;padding:8px 30px 8px 11px;max-width:320px;font-size:13px;border-color:#dce4ef}.company-switch a{font-size:12px}.portal-nav{padding:0 clamp(20px,3vw,64px);gap:26px;min-height:48px;align-items:stretch}.portal-nav a{display:inline-flex;align-items:center;padding:12px 0;border-bottom:2px solid transparent;color:#5b6c7b;font-size:13px;font-weight:600}.portal-nav a:hover,.portal-nav a[aria-current=page]{color:var(--blue);border-bottom-color:var(--blue)}.portal-page{max-width:none;padding-top:28px;padding-bottom:36px}.portal-heading{margin:0 0 24px;align-items:center}.portal-heading h1{margin:0 0 10px}.portal-heading p{max-width:900px;font-size:14px;line-height:1.6}.eyebrow{font-size:11px;letter-spacing:1.25px;margin-bottom:10px}.surface,.project-card,.match-panel{border-radius:16px}.surface{margin-bottom:20px;padding:24px}.compact-match{border:1px solid var(--line);padding:22px;margin:0}.match-mount{margin:20px 0}.compact-match .match-details{margin-top:16px}.compact-note{color:#75664f}.source-note{color:#6e7c8d}.section-heading{margin-bottom:20px}.status-pill{font-size:12px;padding:6px 10px}.profile-stats{gap:14px;margin-bottom:20px}.profile-stats>div{padding:18px 20px;border-radius:12px}.profile-stats span{font-size:12px;margin-bottom:5px}.profile-stats strong{font-size:clamp(20px,1.8vw,28px)}.company-list{gap:16px}.company-list .surface{margin-bottom:0;border-width:1px}.company-list{margin-bottom:24px}.company-list .selected-company{box-shadow:inset 0 0 0 1px #166af0}.reference-card{padding:20px;border-radius:12px}.reference-card h3{margin-top:0}.browse-controls{gap:16px;padding:20px;border-radius:14px;align-items:end}.browse-controls label{font-size:12px;font-weight:600}.browse-controls input,.browse-controls select{font-size:14px;background:white;min-height:42px}.view-toolbar{margin:12px 0 16px}.view-tabs button{padding:8px 20px;font-size:13px}.project-grid{gap:18px}.project-card{display:flex;flex-direction:column;padding:22px;margin:0}.project-card h2{font-size:21px;margin:16px 0 12px}.project-card .project-actions{margin-top:auto;padding-top:14px;gap:10px}.project-actions .quantity-list-button{white-space:normal}.project-facts{margin:18px 0}.project-table th{padding:13px 14px;color:#5e7081}.project-table td{padding:16px 14px}.project-row-actions{gap:8px}.project-row-actions>a:first-child{font-size:12px}.quantity-list-button{border-color:#d1def0;color:#175ec6;background:#f5f9ff;min-height:36px;line-height:1.35}.project-state{margin:0;border-color:#dce4ef;background:#f7f9fc;color:#526578;min-height:36px}.map-project{padding:18px}.map-focus{font-size:12px;min-height:34px}.quantity-dialog{border-radius:18px}.quantity-dialog .section-heading{margin-bottom:18px}.quantity-dialog .quantity-close{box-shadow:0 2px 8px #2233440d}.quantity-dialog label{font-size:12px}.quantity-form select{margin:0}.quantity-form .btn{width:100%}.quantity-status:empty,.preview-status:empty,#copy-status:empty{display:none}.analysis-actions,.page-actions{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:9px;max-width:520px}.quantity-launcher{margin:0;display:contents}.analysis-actions .btn,.page-actions .btn{font-size:12px}.page-heading{align-items:start}.page-heading h1 br{display:none}.page-heading h1 br:after{content:' '}.page-heading h1{max-width:800px}.imported-page .portal-heading{margin-top:0}.import-nav{margin:20px 0 16px;gap:8px}.import-nav a{font-size:12px;padding:8px 11px}.import-grid{gap:18px}.import-card{border-radius:16px}.import-card>header{padding:17px 20px;min-height:72px}.import-card footer{padding:8px 20px}.import-number{font-size:17px}.import-body{font-size:14px}.layout{padding-top:28px;padding-bottom:32px;gap:26px;grid-template-columns:170px minmax(0,1fr)}.sidebar{top:94px;min-height:0;height:auto;align-self:start}.sidebar .nav-label{font-size:10px;margin:6px 0 14px 12px}.sidebar nav a{font-size:12px;padding:11px 12px;gap:9px}.breadcrumbs{font-size:12px;margin:0}.report-meta{margin:0;font-size:11px;gap:14px}.card-header{padding:18px 20px;min-height:76px;border-bottom:1px solid #eef1f5}.card h2{font-size:17px;line-height:1.4;flex:1;min-width:0}.section-no{width:30px;height:30px;border-radius:8px;font-size:12px}.copy-section{font-size:12px;color:#60758a;padding:7px}.card-body{padding:18px 20px}.card-body p,.card-body li{font-size:14px;line-height:1.65}.card-body h3{font-size:15px}.card-footer{padding:8px 20px}.small-note{font-size:11px}.promo{padding:24px;border-radius:16px}.promo h2{font-size:23px}.promo-top{margin-bottom:20px}.promo p{font-size:14px}.qa-card{border-radius:16px;box-shadow:none}.qa-head{padding:20px 22px 0}.qa-head h2{font-size:19px}.qa-head p{font-size:13px}.qa-tabs{padding:14px 22px 0;gap:20px}.qa-tabs button{font-size:13px}.qa-panel{padding:18px 22px}.qa-panel textarea{font-size:14px;min-height:90px}.qa-status{font-size:13px}.qa-help{font-size:11px}.qa-suggestions button{font-size:12px}.qa-send{flex-wrap:wrap}.qa-head .qa-icon{width:36px;height:36px;flex-shrink:0}.qa-badge{display:none}
@media screen{.layout>main{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:stretch}.layout>main>.breadcrumbs,.layout>main>.page-heading,.layout>main>.report-meta,.layout>main>.match-mount,.layout>main>footer{grid-column:1/-1;margin:0}#analysis{display:contents}#analysis>.card{grid-column:auto;height:480px}#analysis>#osa6{grid-column:1/-1}#kysy{grid-column:auto;margin:0;height:480px;display:flex;flex-direction:column}#kysy .qa-head,#kysy .qa-tabs{flex-shrink:0}#kysy .qa-panel{flex:1;min-height:0;max-height:none;overflow:auto}.services{grid-column:1/-1;margin:0;gap:18px;align-items:stretch}.promo{height:480px;max-height:480px}.layout>main>footer{padding-top:4px}}
@media screen and (min-width:1800px){.layout>main{grid-template-columns:repeat(4,minmax(0,1fr))}#kysy,#analysis>#osa1,#analysis>#osa6{grid-column:span 2}#analysis>#osa2,#analysis>#osa3,#analysis>#osa4,#analysis>#osa5{grid-column:span 1}.services{grid-column:span 2;grid-template-columns:repeat(2,minmax(0,1fr))}.import-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.import-card:first-child,.import-card:last-child{height:340px}.import-card:first-child .import-body,.import-card:last-child .import-body{columns:2;column-gap:32px}.import-body table{break-inside:avoid}}
@media(max-width:1100px){.layout{display:block;padding:24px}.sidebar{position:static;margin:0 0 18px}.sidebar .nav-label{display:none}.sidebar nav{display:flex;overflow:auto;gap:6px}.sidebar nav a{white-space:nowrap;flex-shrink:0;background:#fff;border:1px solid #e3e9f2}.page-heading,.portal-heading{flex-wrap:wrap}.analysis-actions,.page-actions{justify-content:flex-start;max-width:none}.compact-criterion{grid-template-columns:120px 88px minmax(0,1fr)}}
@media(max-width:800px){.topbar .tp-header{height:auto}.company-switch{padding:12px 16px;gap:10px}.company-switch label{display:flex;width:auto;flex:1;min-width:0;gap:10px}.company-switch select{width:100%;max-width:300px;margin:0}.company-switch>a{white-space:nowrap}.portal-nav{padding:0 16px}.portal-page{padding:22px 16px}.layout{padding:22px 16px}.compact-criterion{grid-template-columns:minmax(0,1fr) 96px}.compact-criterion p{grid-column:1/-1}.compact-match-main{grid-template-columns:100px minmax(0,1fr)}.profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-stats>div{padding:16px}.browse-controls{padding:16px}.portal-heading .status-pill{align-self:flex-start}.imported-page .profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media screen and (max-width:700px){.layout>main{grid-template-columns:minmax(0,1fr)}#analysis>.card,#analysis>#osa6,#kysy{grid-column:1/-1}#kysy{height:auto;max-height:600px}.services{grid-template-columns:1fr}.promo{height:auto;max-height:480px}.import-grid{grid-template-columns:1fr}.compact-match-main{grid-template-columns:1fr}.company-switch label{flex-wrap:wrap}.company-switch>a{align-self:end;padding-bottom:10px}.analysis-actions,.page-actions{width:100%;margin:8px 0 0}.quantity-launcher .btn{width:auto}.import-card{height:450px}.project-actions{gap:10px}.page-heading h1{margin-bottom:10px}.compact-score-label{margin:0}.reference-grid{grid-template-columns:1fr}}
@media(max-width:420px){.company-switch{align-items:end}.company-switch label{flex-basis:100%}.company-switch>a{padding:0}.profile-stats,.imported-page .profile-stats{grid-template-columns:1fr}.analysis-actions .btn,.page-actions .btn{white-space:normal}.supplier-top{gap:8px}.supplier-select{min-width:0}.supplier-score{font-size:11px;padding:5px 7px}.qa-head{padding:18px 16px 0}.qa-panel{padding:16px}.qa-tabs{padding-left:16px;padding-right:16px;gap:14px}}
@media print{.company-switch,.portal-nav,.quantity-launcher,.analysis-actions,.quantity-dialog{display:none!important}.layout>main{display:block}.match-mount{margin:16px 0}.import-card:first-child .import-body,.import-card:last-child .import-body{columns:auto}}
@media screen and (min-width:1800px){.import-grid>#osa1,.import-grid>#osa6{grid-column:1/-1}}
.project-table{min-width:1320px;overflow-wrap:normal}.project-table th{white-space:nowrap}.project-table td:not(:nth-child(2)){white-space:nowrap}.project-table .list-name{min-width:260px}.project-table .list-name a{white-space:normal;overflow-wrap:break-word}.project-table .project-state{width:132px;max-width:none}.project-table-scroll{scrollbar-width:thin}.project-table-scroll:focus-visible{outline:2px solid #85b5ff;outline-offset:3px}
/* Imported analyses use the same shared layout and scrollable cards. */
.card-body table{border-collapse:collapse;width:100%;font-size:13px}.card-body td,.card-body th{border:1px solid var(--line);padding:8px;text-align:left;vertical-align:top}.card-body .import-bullet{padding-left:12px}.qa-panel textarea:disabled{color:#76818c;background:#f5f7fa;cursor:not-allowed}.layout>main>footer>span{min-width:0;overflow-wrap:anywhere}

.company-shared .company-list{display:none}.company-shared .company-switch small{color:#607083;letter-spacing:.06em}.company-shared .tp-account{max-width:320px}
.company-share-list>div{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid #e5eaf0}.company-share-list a{color:#166af0}#new-company-dialog{width:min(560px,92vw);max-height:90vh;overflow:auto;border:1px solid #dce3ec;border-radius:20px;padding:24px}#new-company-dialog::backdrop{background:#13243b66}#new-company-form label{display:block;margin:12px 0}#new-company-form input,#new-company-form textarea{display:block;width:100%;padding:10px;border:1px solid #ccd5e2;border-radius:8px;font:inherit}@media(max-width:650px){.company-share-list>div{grid-template-columns:1fr}.company-share-list .btn{justify-self:start}}
