/* Responsive navigation owns its layout; the same styles apply to all public form, service and market pages. */
@media screen {
  .v4-header[data-n77-shell] {
    position:relative; z-index:40; inset:auto; margin:0; padding:0; inline-size:100%; min-inline-size:0;
    color:var(--v4-ink,#203034); background:var(--v4-surface,#fff); border:0; border-block-end:1px solid var(--v4-line,#cbd3d1);
    box-shadow:none; line-height:1.45; font-family:var(--v4-font,system-ui,sans-serif);
  }
  [data-n77-shell] *,[data-n77-shell] *::before,[data-n77-shell] *::after { box-sizing:border-box; }
  [data-n77-shell] .n77-bar {
    display:flex; flex-wrap:wrap; align-items:center; gap:.5rem 1rem;
    max-inline-size:84rem; inline-size:100%; min-inline-size:0; margin:0 auto; padding:.5rem clamp(.75rem,2.4vw,2rem);
    min-block-size:3.75rem;
  }
  [data-n77-shell] .n77-brand {
    display:inline-flex; align-items:center; gap:.5rem; text-decoration:none; color:inherit;
    font:inherit; min-block-size:2.75rem; margin:0; white-space:nowrap;
  }
  [data-n77-shell] .n77-brand img { inline-size:2rem; block-size:2rem; max-width:none; object-fit:contain; flex:none; }
  [data-n77-shell] .n77-brand strong { font-family:inherit; font-size:1.12rem; font-weight:700; line-height:1.2; letter-spacing:normal; white-space:nowrap; }
  html[data-theme=dark] [data-n77-shell] .n77-brand img { filter:brightness(0) invert(1); }
  [data-n77-shell] .n77-nav { display:none; }
  [data-n77-shell] .n77-actions { min-inline-size:0; max-inline-size:100%; display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:.4rem; margin-inline-start:auto; }
  [data-n77-shell] .n77-actions :is(.n77-search,.n77-theme,.n77-contact,summary,.v75-fastnews) {
    align-items:center; justify-content:center; gap:.38rem; flex:none; min-block-size:2.75rem;
    border:1px solid var(--v4-line,#cbd3d1); background:transparent; color:inherit;
    border-radius:.5rem; margin:0; padding:.45rem .65rem; font-family:inherit; font-size:.9375rem; line-height:1.35;
    font-weight:600; letter-spacing:normal; text-decoration:none; cursor:pointer; white-space:nowrap;
  }
  [data-n77-shell] .n77-actions :is(.n77-search,.n77-theme) { min-inline-size:2.75rem; inline-size:2.75rem; padding:.5rem; }
  [data-n77-shell] .n77-search,[data-n77-shell] .n77-actions .v75-fastnews,[data-n77-shell] summary { display:inline-flex; }
  [data-n77-shell] .n77-actions .v75-fastnews { color:var(--v4-purple,#325f5b); border-color:transparent; }
  [data-n77-shell] :is(.n77-theme,.n77-contact,.n77-theme [data-theme-text]) { display:none; }
  html[data-theme] [data-n77-shell] .n77-theme { display:inline-flex; }
  [data-n77-shell] .n77-actions :is(button,summary,a):is(:hover,:focus-visible) { background:var(--v4-soft,#e9f0ed); color:var(--v4-ink,#203034); }
  [data-n77-shell] :is(a,summary,button):focus-visible { outline:2px solid var(--v74-focus,#31685b); outline-offset:2px; }
  [data-n77-shell] .n77-actions svg { width:1.1rem; height:1.1rem; flex:none; fill:none; stroke:currentColor; stroke-width:1.75; stroke-linecap:round; stroke-linejoin:round; }
  [data-n77-shell] .n77-disclosure { display:block; position:relative; margin:0; padding:0; border:0; min-inline-size:0; background:transparent; }
  [data-n77-shell] .n77-disclosure summary { list-style:none; }
  [data-n77-shell] summary::-webkit-details-marker {display:none;}
  [data-n77-shell] summary::marker { content:""; }
  [data-n77-shell] .n77-disclosure[open] summary { background:var(--v4-soft,#e9f0ed); border-color:var(--v74-field,#869990); }
  [data-n77-shell] .n77-panel {
    position:absolute; inset-inline-end:0; inset-block-start:calc(100% + .35rem); z-index:2;
    inline-size:min(22rem,calc(100vw - 2rem)); max-block-size:60vh; max-block-size:min(72dvh,32rem);
    overflow:auto; overscroll-behavior:contain; padding:.4rem; border:1px solid var(--v4-line,#cbd3d1); border-radius:.6rem;
    background:var(--v4-surface,#fff); box-shadow:0 .3rem .9rem rgba(0,0,0,.1);
  }
  [data-n77-shell] .n77-panel a {
    display:flex; align-items:center; min-block-size:2.75rem; margin:0; padding:.5rem .65rem; border-radius:.35rem;
    font-family:inherit; font-size:1rem; line-height:1.4; font-weight:550; color:inherit; text-decoration:none;
    white-space:normal; overflow-wrap:break-word;
  }
  [data-n77-shell] .n77-panel a:is([aria-current],:hover,:focus-visible),[data-n77-shell] .n77-nav a:is([aria-current],:hover,:focus-visible) { color:var(--v4-ink,#203034);background:var(--v4-soft,#e9f0ed); }
  [data-n77-shell] .n77-panel a[aria-current],[data-n77-shell] .n77-nav a[aria-current] { text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.22em; }
  [data-n77-shell] .n77-panel .n77-contact-item { border-block-start:1px solid var(--v4-line,#cbd3d1); border-radius:0; margin-block-start:.35rem; }
}
@media screen and (min-width:80em) {
  [data-n77-shell] .n77-nav { display:flex; flex:1 1 40rem; min-inline-size:0; justify-content:center; align-items:center; flex-wrap:nowrap; gap:.1rem; }
  [data-n77-shell] .n77-nav a { display:inline-flex; align-items:center; justify-content:center; min-inline-size:0; flex:0 1 auto; min-block-size:2.75rem; padding:.45rem .4rem;
    font-family:inherit; font-size:.94rem; font-weight:550; line-height:1.32; text-align:center; color:inherit; text-decoration:none; letter-spacing:normal;
    border-radius:.4rem; white-space:normal; }
  [data-n77-shell] .n77-disclosure,[data-n77-shell] .n77-actions .v75-fastnews {display:none;}
  [data-n77-shell] .n77-actions {margin:0;}
}
@media screen and (min-width:94em) {
  [data-n77-shell] .n77-actions .n77-contact {display:inline-flex;}
}
@media screen and (max-width:33em) {
  [data-n77-shell] .n77-bar {gap:.3rem .5rem; padding:.35rem .7rem;}
  [data-n77-shell] .n77-actions {gap:.22rem;}
  [data-n77-shell] .n77-brand {gap:.32rem;}
  [data-n77-shell] .n77-brand img {inline-size:1.75rem;block-size:1.75rem;}
  [data-n77-shell] .n77-brand strong {font-size:1rem;}
}
@media screen and (max-width:26em) {
  [data-n77-shell] .n77-brand .n77-consult,[data-n77-shell] summary svg {display:none;}
  [data-n77-shell] .n77-actions summary,[data-n77-shell] .n77-actions .v75-fastnews {padding-inline:.35rem;}
  [data-n77-shell] .n77-panel {inline-size:min(20rem,calc(100vw - 2.15rem));}
}
@media screen and (max-width:22em) {
  [data-n77-shell] .n77-brand strong {display:none;}
}
/* A wide spreadsheet can scroll inside its preview without pushing the navigation, form or download buttons off screen. */
@media screen {
  html[data-vdn-ui="7.7"] body,body[data-c74-editor] {min-width:0;}
  :is([data-x75-document],.c74-docs,.vt73,.cx75,.v7-feed,[data-s74-section],.f74,.sam-page,.nr,.pm-page,.work-detail) {
    min-inline-size:0;
  }
  :where([data-x75-document],.c74-docs,.vt73,.cx75,.v7-feed,[data-s74-section],.f74,.sam-page,.nr,.pm-page,.work-detail)
    :where(fieldset,.x75-work,.x75-kit-fields,.st-workcol,.st-docgrid,.st-block,.panel,.v7-feed-content,.market-catalog-wrap,.work-list,.s74-zone,.f74-directory) {
    min-inline-size:0; max-inline-size:100%;
  }
  :is(.c74-items,.c74-search-tools,.x75-work,.x75-kit-grid,.kitgrid,.kititem,.form-grid,.vt-fields,.vt-rowgrid,.t75-fields,.cx-parties,.work-layout,.work-filter-grid,.market-grid,.market-layout,.s74-service-grid,.ft-dir-grid,.sam-stage-inner) > * {
    min-inline-size:0;
  }
  :where([data-x75-document],.vt73,.cx75,[data-s74-section],.c74-docs,.f74,.v7-feed,.sam-page,.nr)
    :where(input[type="file"],input[type="search"],input[type="date"],select,textarea) {
    max-inline-size:100%; min-inline-size:0;
  }
  :where([data-x75-document],.vt73,.cx75,[data-s74-section],.v7-feed,.sam-page,.nr,.f74,.c74-docs,.pm-page,.work-detail)
    :where(.vd-status,.format-status,.vt-actions button,.t75-meta,.cx-readback,.work-item-summary,.c74-item,.ft-dir-item,.n75-status,.r74-hint,.v7-feed-title,.pm-card) {
    overflow-wrap:anywhere;
  }
  :is(.scope-table-wrap,.additional-price-table,.ft-sample,.market-table-scroll,.market-compare-scroll,.work-table-scroll,.st-tablewrap,.n77-tablescroll,.viewer-scroll) {
    box-sizing:border-box; min-inline-size:0; max-inline-size:100%; overflow-x:auto;
  }
  :where([data-x75-document]) :where(.table-wrap,.table-scroll,.preview-scroll,.data-scroll,.st-preview) { min-inline-size:0; max-inline-size:100%; overflow-x:auto; }
  :where(.c74-search-tools,.personal-actions,.vt-actions,.cx-run,.work-actions,.market-actions,.s74-actions,.w76-bottom-actions,.st-buttons)
    :where(button,a) { min-inline-size:0; max-inline-size:100%; }
  .n77-tablescroll:focus-visible,:where(.scope-table-wrap,.additional-price-table,.ft-sample)[tabindex="0"]:focus-visible {outline:2px solid var(--v74-focus,#31685b);outline-offset:2px;}
}
@media screen and (max-width:40em) {
  :where([data-x75-document],.vt73,.cx75,[data-s74-section],.v7-feed,.sam-page,.nr,.pm-page,.work-detail)
    :where(dialog) {box-sizing:border-box;max-inline-size:calc(100% - 1.25rem);max-block-size:85dvh;overflow:auto;}
  :is(.c74-item,.c74-search-list a,.p7-btn,.work-search-row button,.s74-actions a,.st-actions-bottom button,.work-item-summary,.t75-sub summary,.v7-feed-item a) {
    white-space:normal; overflow-wrap:break-word;
  }
  #vt-form .vt-rowgrid {grid-template-columns:repeat(2,minmax(0,1fr));}
  :where(.cx-upload,.t75-fields,.vt-fields,[data-x75-document] .field) :is(input[type="file"], select) {max-inline-size:100%; min-inline-size:0;}
}
@media screen and (max-width:25em) {
  #vt-form .vt-rowgrid {grid-template-columns:minmax(0,1fr);}
  .vt-rowgrid .vt-long {grid-column:1/-1;}
  :where([data-x75-document="kit"]) .kit-ops button {overflow-wrap:break-word;}
}
@media screen and (min-width:60.0625em) {
  main[data-x75-document] .x75-rail {top:.75rem;max-height:calc(100dvh - 1.5rem);}
  [data-x75-document="ks"] .tools-inner {top:.75rem;}
}
