/* The same tile colours identify each destination on the landing page and in a dossier. */
:root {
  --portal-loc: #075d85;
  --portal-sheets: #584184;
  --portal-docs: #11665e;
  --portal-focus: var(--va-focus, #31abcd);
}
.home-entry .entrances .entrance {
  background: var(--portal-loc)!important; color: white!important;
  border: 0!important; border-radius: 3px; padding: clamp(20px, 2.2vw, 36px);
}
.home-entry .entrances .entrance-if {background: var(--portal-sheets)!important}
.home-entry .entrance :is(h2,p,.entry-role,.entry-purpose,.source-link) {color: white!important}
.home-entry .entrance .entry-role {background: transparent; padding: 0}
.home-entry .entrance .primary {background: white!important; color: #15364a!important; border: 0!important}
.workspace-cover {border-inline-start: 5px solid var(--portal-loc)}
.loc-find .loc-find-footer a.loc-form-link, .portal-dossier-actions > :is(button,a),
.r051-document-links a, .r051-current-reference li a {
  display: flex!important; align-items: flex-end; justify-content: flex-start;
  min-inline-size: 0!important; inline-size: auto!important; max-inline-size: none!important;
  min-height: 76px; padding: 14px 18px!important; box-sizing: border-box;
  border: 1px solid transparent!important; border-radius: 3px!important;
  font: 650 1rem/1.35 system-ui, sans-serif; text-align: start;
  color: #fff!important; background: var(--portal-loc)!important; text-decoration: none!important;
  white-space: normal!important; overflow-wrap: normal!important; word-break: normal!important; cursor: pointer;
}
.loc-find .loc-find-footer a:nth-of-type(2), .portal-dossier-actions > [data-loc-sheet] {
  background: var(--portal-sheets)!important;
}
.portal-dossier-actions > a, .r051-document-links a, .r051-current-reference li a {background: var(--portal-docs)!important}
.portal-dossier-actions, .r051-document-links, .r051-current-reference ul {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 185px),1fr)); gap: 8px;
  margin: 16px 0; padding: 0; list-style: none;
}
.portal-dossier-actions > *, .r051-document-links > * {margin: 0!important}
.server-doc:has(>.discipline-pictogram) > .portal-dossier-actions {grid-column:1/-1;inline-size:100%;min-width:0}
.portal-dossier-actions > :hover, .r051-document-links a:hover, .loc-find .loc-form-link:hover,
.r051-current-reference li a:hover {box-shadow: inset 0 0 0 2px #fff9; filter: brightness(1.09)}
.portal-dossier-actions :focus-visible, .r051-document-links :focus-visible, .portal-size:focus-visible {
  outline: 3px solid var(--portal-focus); outline-offset: 2px;
}
.server-doc:has(.portal-dossier-actions) {min-width: 0; border-radius: 4px; border-top: 4px solid var(--portal-loc)}
.loc-find {border: 1px solid var(--va-border,#78909d); border-radius: 5px}
.dossier-nav .nav-group {border-inline-start: 3px solid var(--portal-docs); padding-inline-start: 9px}
.dossier-nav .nav-group:first-child {border-color: var(--portal-loc)}
.portal-print iframe {display:block; height:100%; width:100%; border:0}
.portal-print .venue-window-content {overflow:hidden}
.portal-size {min-height:36px; padding:5px 10px; flex:none; border:1px solid var(--va-border,#809398);
  border-radius:4px; background:var(--va-surface,#fff); color:var(--va-text,#123); cursor:pointer}
.stock-app #drawer.venue-window-v23 .dhead {position:static; padding:0; border:0; min-height:0}
.stock-app #drawer.venue-window-v23 .dhead :is(h2,#close) {display:none}
.stock-app #detail-back:not([hidden]) {margin:12px 18px 0; min-height:36px}
.stock-app #drawer #pane {padding:clamp(14px,2vw,28px); width:100%; box-sizing:border-box}
.stock-app #drawer #pane :is(input:not([type=checkbox]),textarea,select) {max-width:100%; box-sizing:border-box}
.venue-window-v23[open] .venue-window-title {font-size:1rem; line-height:1.3}
.portal-document-error {padding:18px; max-width:65ch}
.portal-icon {width:25px;height:25px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}
.portal-dossier-actions > :is(a,button), .r051-document-links a {
  flex-direction:column;align-items:flex-start!important;justify-content:space-between!important;text-align:left!important;gap:14px;min-height:98px
}
.portal-dossier-actions > a.portal-equipment {background:#36587c!important}
.portal-dossier-actions > a.portal-consumables {background:#385f44!important}
.loc-find-head .portal-map-link {margin-inline-start:auto;display:inline-flex;align-items:center;gap:8px;padding:8px 12px;
  border:1px solid var(--va-border,#78909d);border-radius:4px;color:var(--va-text,#15364a);text-decoration:none;font-weight:650}
.portal-map-link .portal-icon {width:19px;height:19px}
.loc-find.portal-linked .loc-find-footer .loc-form-link {display:none!important}
.loc-find.portal-linked .loc-find-footer span {display:none}
.loc-find.portal-linked {padding-block:14px;margin-block:12px}
.shell:has(.loc-find) .workspace-cover {padding-block:14px}
.shell:has(.loc-find) .workspace-cover .rule {display:none}
.home-entry .home-entry-layout {align-items:start}
.home-entry .entrances {align-self:start}
@media(max-width:760px) {
  .portal-size {display:none}
  .portal-dossier-actions {grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr))}
  .loc-find .loc-find-footer {display:grid; grid-template-columns:1fr}
  .venue-window-controls {gap:6px}
}
