/* Shared shell, controls and typography for public and signed-in views. */
body[data-portal-identity] {
    --premsa-ink:#102c45;
    --premsa-steel:#526779;
    --premsa-rule:#d3dce2;
    --premsa-paper:#fafaf8;
    --premsa-surface:#f2f5f6;
    --premsa-orange:#d64d0a;
    --premsa-orange-text:#9c3505;
    --premsa-radius:4px;
}
body[data-portal-identity] .public-top, body[data-portal-identity] .portal-private-top,
body[data-portal-identity] .panel-top {background:white;border-bottom:1px solid var(--premsa-rule)}
body[data-portal-identity] .public-top .public-header {min-height:64px}
body[data-portal-identity] .public-nav a,body[data-portal-identity] .public-tools>a {font-size:.9rem;letter-spacing:0}
body[data-portal-identity] .public-top .public-tools .public-add-company,
body[data-portal-identity] .public-menu-panel .public-mobile-firm {
    display:inline-flex;align-items:center;justify-content:center;gap:7px;box-sizing:border-box;min-height:42px;
    padding:8px 14px;border:1px solid var(--premsa-orange-text);border-radius:3px;background:#fff6ee;color:var(--premsa-orange-text);
    font-size:.9rem;font-weight:750;text-decoration:none
}
body[data-portal-identity] :is(.public-add-company,.public-mobile-firm) .public-symbol {width:16px;height:16px;flex:none}
body[data-portal-identity] .public-top .public-tools .public-add-company:hover,
body[data-portal-identity] .public-menu-panel .public-mobile-firm:hover {background:#fbe5d5;color:#722700}
body[data-portal-identity] .public-menu-panel .public-mobile-firm {display:none}
body[data-portal-identity] :is(.panel-context,.portal-footer) {border-color:var(--premsa-rule)}
body[data-panel] .panel-context {border-inline-start:3px solid var(--premsa-orange);padding-inline-start:15px}
body[data-portal-identity] .account-heading[data-company-entry] {padding-inline-start:16px;border-inline-start:3px solid var(--premsa-orange)}
body[data-portal-identity] .account-heading .company-registration-choice {display:inline-flex;align-items:center;gap:10px;min-height:40px;padding:4px 13px;border-radius:3px;border:1px solid #a43b06;background:#fff5ec;color:#8e3205;font-weight:700;text-decoration:none}
body[data-portal-identity] :is(.p-content,.m-workbench,.panel-content,main) :is(input[type=search],input[type=email],input[type=text],textarea,select) {border-radius:var(--premsa-radius)}
body[data-portal-identity] :is(a,button,summary):focus-visible {outline:3px solid #ac4811;outline-offset:3px}
body[data-portal-identity] #main .request-order-options {display:flex;gap:7px;flex-wrap:wrap;align-items:start;border:0;min-width:0;padding:0;margin-inline:0}
body[data-portal-identity] #main .request-order-options legend {padding:0;margin:0 0 7px;font-weight:700;color:var(--premsa-ink)}
body[data-portal-identity] #main .request-order-options label.request-order-choice {display:flex;align-items:center;gap:9px;min-height:44px;box-sizing:border-box;margin:0;padding:8px 12px;background:#fff;border:1px solid #b9c8d1;border-radius:3px;cursor:pointer;font-weight:550;color:#19374d}
body[data-portal-identity] #main .request-order-options .request-order-choice input[type=checkbox] {appearance:auto;width:18px;height:18px;min-width:18px;min-height:18px;margin:0;padding:0;flex:0 0 18px;accent-color:#143e56}
body[data-portal-identity] #main .request-order-choice:has(:checked) {background:#e9f0f3;border-color:#547184}
body[data-portal-identity] #main .request-order-choice:focus-within {outline:2px solid #a6420b;outline-offset:2px}
body[data-portal-identity] #main .request-order-options small {flex-basis:100%}
body[data-portal-identity] #main .pub-procurement form.pub-options {display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 15px}
body[data-portal-identity] #main .pub-options label.job-list-filter {display:grid;gap:4px;min-width:0;font-size:.85rem;font-weight:650;color:#304a5e}
body[data-portal-identity] #main .job-list-filter select {min-width:0;min-height:42px;max-width:100%;color:#17374b;font-weight:500}
@media(max-width:600px){
    body[data-portal-identity] #main .request-order-options {display:grid;grid-template-columns:minmax(0,1fr);gap:5px}
    body[data-portal-identity] #main .pub-procurement form.pub-options {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px}
    body[data-portal-identity] #main .job-list-filter select {width:100%}
    body[data-portal-identity] #main .pub-options>.button {grid-column:1/-1;min-height:44px;justify-self:start}
}
@media(max-width:900px) {
    body[data-portal-identity] .public-top .public-header {min-height:56px}
    body[data-portal-identity] .public-menu[open] .public-menu-panel .public-mobile-firm {display:inline-flex;width:100%;min-height:44px}
    body[data-portal-identity] .public-top .public-tools .public-add-company {display:none}
}
