section.proposal-page .cont {
    max-width: 1150px;
}

.proposal-page-container {
    /*novo - tirei selectores*/
    background-color: var(--white);
    border: var(--border);
    border-radius: var(--borderRadius);
    /* padding: 48px 56px; */
    min-height: calc(100vh - 316px);
    margin: 0 auto;
    position: relative;
    /* overflow: hidden; */
}

.proposal-notification {
    background-color: var(--white);
    border: 1px solid var(--boardPrimary);
    border-radius: var(--borderRadius);
    margin-bottom: 8px;
    -webkit-user-select: none;
    user-select: none;
}

.proposal-notification .main-message {
    padding: 16px min(5vw, 28px);
    display: flex;
    gap: 12px;
    font-weight: 600;
    cursor: pointer;
    align-items: flex-start;
}

.proposal-notification .main-message p {
    margin-top: 2px;
}

.proposal-notification-content {
    padding: 4px 24px 16px 24px;
}

.proposal-task .proposal-notification-content {
    flex-direction: column;
    padding: 4px 69px 24px 69px;
}

svg .icon-fill {
    fill: var(--black);
    stroke-width: 0px;
}

.number-proposal-container {
    background-color: rgba(var(--boardPrimaryRGB), 8%);
    border-radius: var(--borderRadius);
    border: 1px solid rgba(var(--boardPrimaryRGB), 30%);
    margin-bottom: 8px;
}

.number-proposal-container header {
    display: flex;
    gap: 8px;
    font-size: var(--text-m);
    font-weight: 500;
    align-items: center;
    padding: 16px 20px;
    align-items: flex-start;
}

.number-proposal-container header p{
    align-self: center;
}

.number-proposal-container > div {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 16px 20px;
    border-top: 1px solid rgba(var(--boardPrimaryRGB), 8%);
}

.number-proposal-container .form-group {
    margin-bottom: 0;
}

.number-proposal-container .mobile-only {
    display: none;
    margin-left: 4px;
}

.number-proposal-container > div > div:nth-child(1) {
    flex: 3;
}
/* The Year select can only ever offer this year and last year (number-proposal.vue,
   yearsForSelect), so it has a fixed, known content width and must not take a share of
   the row like the fields beside it. Any width from ~94px up satisfies the four/five
   digits the control has to show; see the @media (max-width:900px) block, which has to
   give this back when the row stacks into a column. */
.number-proposal-container > div > div:nth-child(2) {
    flex: 0 0 auto;
    width: 120px;
}
.number-proposal-container > div > div:nth-child(3) {
    flex: 2;
}

.number-proposal-container > div > button {
    flex-shrink: 0;
    margin-top: 24px;
}

/* OPTIONS */
.proposal-page-container {
    display: flex;
}

.options-container {
    padding: 8px;
    border-right: var(--border);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: width .4s ease;
    flex-shrink: 0;
    width: 62px;
}

.proposal-option {
    display: flex;
    gap: 16px;
    padding: 16px 20px;
    border-color: transparent;
    align-items: flex-start;
    overflow: hidden;
    transition: width 0.4s ease;
    justify-content: flex-start;
    align-items: center;
    max-height: unset;
}

.proposal-option p {
    white-space: nowrap;
    opacity: 0;
    -webkit-user-select: none;
    user-select: none;
}

.proposal-option p.visible {
    transition: 0.4s ease;
    opacity: 1;
}

div.proposal-option {
    color: var(--boardPrimary);
    gap: 17px;
    margin-top: 54px;
    margin-bottom: 16px;
}

button.proposal-option:hover {
    background-color: var(--background);
}

button.proposal-option.disabled {
    opacity: 0.5;
    pointer-events: auto;
    cursor: default;
}

button.proposal-option.disabled:hover {
    background-color: transparent;
}

.proposal-option-icon {
    position: relative;
    display: inline-flex;
}

.proposal-option-icon .mark {
    top: -10px;
    right: -4px;
}

.proposal-container {
    padding: min(2vw, 64px) min(5vw, 56px);
    flex-grow: 0;
    flex-shrink: 1;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: min(10vw, 80px);
}

div.proposal-option div {
    height: 20px;
    display: flex;
    gap: 4px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

div.proposal-option div span {
    height: 2px;
    width: 20px;
    background-color: var(--boardPrimary);
}

div.proposal-option div span:first-child {
    width: 50%;
}
/*********/

.proposal-section:last-child {
    margin-bottom: 0px;
}

.proposal-section-title>div {
    display: flex;
    align-items: center;
}

.proposal-section-title {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    margin-bottom: min(1vw, 16px);
    gap: 16px;
    align-items: center;
}

.icon.expand.open {
    transform: rotate(0deg);
}

.proposal-section-title h3 span {
    position: relative;
    font-size: 0.6em;
    color: var(--mediumgrey);
    left: 6px;
    top: -1px;
}

.proposal-decision .icon {
    width: min(12vw, 56px);
    margin-top: 4px;
}

.proposal-decision .icon .stroke:not([stroke-width]) {
    stroke-width: 1.3px;
}

/* Number proposal */
.number-proposal .metadata-title {
    margin-bottom: 24px;
}

.number-proposal .form-group {
    margin-bottom: 16px;
}

/* Number proposal */
.number-proposal .form-buttons {
    /* margin-top: 24px; */
    flex-shrink: 0;
}

.number-proposal {
    flex-direction: column;
}

/* Metadata */
.metadata-wrapper {
    margin-bottom: 1.5rem;
}

.metadata-wrapper .title{
    font-weight: 600;
    -webkit-user-select: none;
    user-select: none;
    margin-bottom: 0.2rem;
    letter-spacing: -0.02em;
}

.metadata-wrapper p:not(.title){
    white-space: break-spaces;
}

.metadata-wrapper .form-group {
    margin-bottom: 0;
}

.metadata-title {
    font-weight: 600;
    margin-bottom: 8px;
    -webkit-user-select: none;
    user-select: none;
}

.proposal-section-title.page-title {
    font-size: 24px;
    gap: 40px;
    word-break: break-word;
    align-items: flex-start;
}

.proposal-section-title.page-title h3 {
    -webkit-user-select: auto;
    user-select: auto;
}

.proposal-section-title:not(.page-title) {
    -webkit-user-select: none;
    user-select: none;
}

.proposal-section-title.page-title h3 a {
    font-weight: inherit;
}

.proposal-section-title.page-title h3 .icon.link {
    display: none;
}

.proposal-section-title.page-title h3.link .icon.link {
    display: inline;
}

.proposal-section-description:not(.proposal-section-description:last-child) {
    margin-bottom: 24px;
}

.proposal-section-description {
    white-space: break-spaces;
}

.proposal-container .dropdown-parent .document-options {
    margin-top: 3px;
}

.proposal-supervisor-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.proposal-supervisor-wrapper .supervisor {
    display: flex;
    gap: 8px;
}

.proposal-supervisor-wrapper .supervisor p {
    margin-top: 5px;
}

/* Documentation */
.generated-documents {
    margin-bottom: 16px;
}

.documentation h4 {
    margin-bottom: min(0.5rem, 1rem);
}

.proposal-document,
.proposal-document-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0px 0px 4px 0px;
    cursor: pointer;
    padding: 8px 0px 8px 8px;
    margin-left: -8px;
    border-radius: var(--borderRadius);
}

.proposal-document > .icon {
    margin-top: 2px;
}

.proposal-document:hover {
    background-color: var(--background);
}

.proposal-document-note:hover {
    background-color: var(--lightgrey);
}

.proposal-document-created {
    margin-top: 4px;
    font-size: 0.85em;
    color: var(--darkgrey);
}

.proposal-document-name {
    flex-grow: 1;
    margin-top: 2px;
    word-break: break-word;
    -webkit-user-select: none;
    user-select: none;
}

.proposal-document-name.edit {
    padding: 4px 8px;
    font: inherit;
    min-height: unset;
    margin-top: -3px;
    box-shadow: 0px 0px 2px var(--boardPrimary);
}

.proposal-document-date {
    font-size: 0.8em;
    margin-top: 4px;
    flex-shrink: 0;
    -webkit-user-select: none;
    user-select: none;
}

.proposal-document-stale-icon {
    margin-top: 2px;
}

.proposal-document .kebab-menu,
.proposal-document .kebab,
.proposal-document-note .kebab {
    margin-top: -6px;
    margin-bottom: -7px;
    margin-right: 2px;
}

.proposal-document-note-share-wrapper {
    background-color: var(--white);
    border: var(--border);
    padding: 12px 16px;
    border-radius: var(--borderRadius);
}

svg.document-options {
    padding: 0;
    margin-right: -8px;
    flex-shrink: 0;
    opacity: 0.5;
}

svg.document-options:hover {
    opacity: 1;
}

.proposal-container .dropdown-parent {
    position: relative;
    cursor: pointer;
}

.proposal-container .dropdown {
    right: 0 !important;
    left: unset !important;
    top: 16px !important;
}

.section-btn {
    display: flex;
    gap: 8px;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    padding-right: 16px;
}

.documentation-container {
    border-radius: var(--borderRadius);
    display: flex;
    flex-direction: column;
    gap: min(4vw, 24px);
}

.documentation-container.upload {
    border: 2px dashed var(--darkgrey);
    opacity: 0.5;
}

/* Dispatches */
.dispatch {
    display: flex;
    gap: 16px;
}

.dispatches-container {
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.dispatch:last-child {
    margin-bottom: 0px;
}

.dispatch-users {
    position: relative;
    padding-right: 16px;
}

.dispatch .user {
    width: 80px;
    height: 80px;
}

.dispatch .user.secondary {
    width: 40px;
    height: 40px;
    position: absolute;
    top: -12px;
    right: 0px;
    outline: 2px solid var(--white);
}

.dispatch .dispatch-users>div {
    border-radius: 100%;
    border: var(--border);
    height: 80px;
    width: 80px;
    overflow: hidden;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.hide {
    border: none !important;
    background-color: unset !important;
}

.dispatch .dispatch-users>div:last-child {
    height: 40px;
    position: absolute;
    top: -16px;
    right: 0px;
    border: 4px solid var(--white);
    z-index: 13;
    width: 40px;
}

.dispatch .dispatch-users>div img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    padding: 0;
    border: none;
}

.dispatch-meeting {
    cursor: pointer;
    border: var(--border);
    margin-top: 20px;
    display: flex;
    gap: 8px;
    align-items: flex-start;
    background-color: var(--background);
    border-radius: var(--borderRadius);
    padding: 8px 8px;
    width: fit-content;
}

.dispatch-comment {
    margin-top: 16px;
    white-space: break-spaces;
    text-align: justify;
}

.sender-comment {
    white-space: break-spaces;
}

.dispatch-sender-comment {
    margin: 16px 0px;
    width: fit-content;
}

.dispatch-subject,
.dispatch-date,
.dispatch-deadline,
.dispatch-sender-comment,
.dispatch-meeting,
.dispatch-result {
    font-size: 0.8em;
}

.dispatch-sender-comment > div {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

.dispatch-sender-comment > div:hover {
    text-decoration: underline;
}

.dispatch-sender-comment > p {
    margin-left: 16px;
    margin-top: 4px;
}

.dispatch-sender-comment > div > img {
    width: 12px;
    padding: 0;
}

.dispatch-date,
.dispatch-deadline {
    margin-top: 4px;
}

.dispatch-result {
    margin-top: 16px;
}

.timeline .proposal-section-title {
    justify-content: flex-start;
    gap: 0;
    margin-bottom: -2px;
    padding-bottom: 0;
    z-index: 1;
    position: relative;
}

.timeline .proposal-section-title h3 {
    padding: 8px 16px;
    border-bottom: 2px solid var(--boardPrimary);
    font-weight: 500;
    position: relative;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
}

.timeline .proposal-section-title h3:not(.active) {
    color: var(--darkgrey);
    border-color: transparent;
    cursor: pointer;
}

.timeline-empty {
    background-color: var(--background);
    height: 320px;
    border-radius: var(--borderRadius);
    position: relative;
    overflow: hidden;
}

.timeline-empty-months {
    background-color: var(--lightgrey);
    height: 64px;
    width: 100%;
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.timeline-empty-months p {
    color: var(--mediumgrey);
}

.timeline-empty .event-container {
    background-color: var(--white);
    width: 350px;
    border-radius: var(--borderRadius);
    display: flex;
    border-left: 2px solid var(--boardPrimary);
    padding: 9px 12px;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
}

.timeline-empty-events {
    padding: 8px;
    display: flex;
    gap: 6px;
    flex-direction: column;
    overflow: hidden;
    position: absolute;
    top: 32px;
    left: 16%;
}

.timeline-empty .event-container:nth-child(2) {
    margin-left: calc(32px);
}

.timeline-empty .event-container:nth-child(3) {
    margin-left: calc(140px);
}

.timeline-empty .event-container:nth-child(4) {
    margin-left: calc(190px);
}

.timeline-empty .event-container:nth-child(5) {
    margin-left: calc(230px);
}

.timeline-empty .event-container:nth-child(6) {
    margin-left: calc(280px);
}

.timeline-empty .event-content {
    height: 6px;
    width: 100%;
    background-color: var(--lightgrey);
    border-radius: 2px;
}

.timeline-empty .event-content:first-child,
.timeline-empty .event-content:last-child {
    width: 20%;
}

.pulse {
    animation: pulse 2.5s infinite;
}

.proposallog-date-group-div {
    -webkit-user-select: none;
    user-select: none;
}

#timeline-content-div {
    background-color: var(--background);
    border: var(--border);
    border-radius: var(--borderRadius);
    padding: 12px 16px;
    height: 320px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-sizing: border-box;
}

.proposallog-text {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    color: grey;
    width: 100%;
    white-space: pre-wrap;
}

.proposallog-date-div {
    margin-bottom: 8px;
}

/* Action buttons */
.proposal-action-buttons {
    background-color: var(--white);
    height: calc(100% - 64px);
    width: 250px;
    position: absolute;
    right: -500px;
    top: 0px;
    z-index: 1;
    border-left: var(--border);
    box-shadow: 0px 0px 150px rgb(0 0 0 / 12%);
    padding: 32px 16px;
    transition: right 0.6s ease;
    overflow-y: auto;
}

.proposal-action-buttons.visible {
    right: 0;
}

.proposal-action-buttons button {
    border-color: transparent;
    background-color: transparent;
    width: 100%;
    padding: 12px 16px 12px 16px;
    align-items: flex-start;
}

.proposal-action-buttons button:hover {
    border-color: var(--border);
    background-color: var(--background);
}

.proposal-action-buttons button p {
    margin: 4px 0 0 0;
    text-align: left;
}

.proposal-action-buttons>div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin: 0px 20px 16px 20px;
    gap: 8px;
}

.proposal-action-buttons>div>img {
    cursor: pointer;
}

.proposal-action-buttons>div>img:hover {
    opacity: 0.5;
}

.proposal-action-buttons h4 {
    margin-top: 3px;
}

/* View All Button */
.proposal-section .button-wrapper {
  display: flex;
  justify-content: flex-end;
}

.view-all {
  text-align: center;
  margin-right: 16px;
  margin-top: -16px;
  border-radius: var(--borderRadius);
  cursor: pointer;
  border: 1px solid transparent;
  width: fit-content;
  -webkit-user-select: none;
  user-select: none;
  display: flex;
  gap: 8px;
  font-size: 16px;
}

.dispatches .view-all{
    margin-top: 24px!important;
}

.options-container-hover {
    box-shadow: 16px 16px 26px rgb(0 0 0 / 4%);
}

/* Documents Observation*/
.document-highlight {
    background-color: var(--white);
    border: var(--border);
    padding: 12px 16px;
    border-radius: var(--borderRadius);
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.notes-content > div {
    margin-bottom: 24px;
}

.notes-content > div > label {
    font-weight: 500;
}

.document-created-info-wrapper {
    display: flex;
    gap: 16px;
}

.document-created-info-wrapper > div {
    flex: 1;
}

.document-created-info-wrapper > div > div {
    background-color: var(--white);
    border: var(--border);
    border-radius: var(--borderRadius);
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.document-highlight-wrapper,
.document-fields-wrapper,
.document-created-info-wrapper > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.document-fields-wrapper .buttons-wrapper {
    display: flex;
    gap: 12px;
}

.document-fields-wrapper .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.document-fields-wrapper textarea {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    border: var(--border);
    padding: 12px 16px;
    border-radius: var(--borderRadius);
    height: 150px;
}

.document-fields-wrapper .read-only {
    resize: none;
    cursor: default;
}

.document-fields-wrapper .read-only:hover {
    border-color: var(--lightgrey)!important;
}

.document-properties-wrapper {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 16px;
}

.document-created-info-wrapper .user {
    height: 20px !important;
    width: 20px !important;
}

.document-created-info-wrapper .user-wrapper {
    gap: 8px !important;
}

/* doc version history */
.document-version-history-content {
  width: 100%;
}

.version-history {
  width: 100%;
  border: var(--border);
  border-radius: var(--borderRadius);
  background: var(--white);
}

.version-history-header,
.version-history-row {
  display: grid;
  grid-template-columns: 80px 1.5fr 1fr 90px 32px;
  column-gap: 24px;
}

.version-history-header {
  min-height: 32px;
  padding: 0 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--darkgrey);
  letter-spacing: -0.02rem;
  align-items: center;
}

.version-history-row {
  padding: 12px 16px;
    border-top: var(--border);
    line-height: 1.3;
}

.version-history-list .version-cell,
.version-history-list .date-cell,
.version-history-list .author-cell,
.version-history-list .size-cell,
.version-history-list .actions-cell {
  min-width: 0;
}

.version-history-list .date-cell, 
.version-history-list .author-cell,
.version-history-list .size-cell {
    padding: 7px 0 5px 0;
}

.version-history-list .version-number {
  display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    border: var(--border);
    border-radius: var(--borderRadius);
    box-sizing: border-box;
}

.version-history-row.is-current {
  font-weight: 600;
}

.version-history-list .date-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

.version-history-list .current-badge {
  padding: 2px 7px 3px 6px;
    border-radius: var(--borderRadius);
    color: var(--boardPrimary);
    background: rgba(var(--boardPrimaryRGB), 8%);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: -0.02rem;
    position: relative;
    left: 8px;
    top: -1px;
}

/* A version the retention policy stripped the file from: it keeps its row in the history, so the cell
   that would hold the download button says why there is nothing to download. */
.version-history-list .file-removed {
    color: var(--grey);
    font-size: 0.8125rem;
    font-style: italic;
    white-space: nowrap;
}

.version-history-list .author-content {
    display: flex;
    gap: 8px;
}

.version-history-list .author-content img {
    width: 24px;
    height: 24px;
    margin-top: -4px;
}

.version-history-list .size-cell {
  white-space: nowrap;
}

.version-history-list .actions-cell {
  justify-self: end;
}

.version-history-list .mobile-only {
  display: none;
}

.version-history-list .version-icon {
    background-color: var(--lightestgrey);
    height: 32px;
    width: 32px;
    display: none;
    align-items: center;
    justify-content: center;
    border: var(--border);
    border-radius: var(--borderRadius);
}

.empty-doc-version-history {
    margin-top: 50px;
}






/* proposal settings */
.proposal-settings-main-wrapper .settings-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.proposal-settings-main-wrapper .settings-tabs p {
  cursor: pointer;
  padding: 16px 16px 24px 16px;
  border-radius: 4px 4px 0px 0px !important;
  position: relative;
  bottom: -1px;
  border: 1px solid transparent;
  border-bottom: none;
  white-space: nowrap;
  box-sizing: border-box;
}

.proposal-settings-main-wrapper .settings-tabs p.active {
  background-color: var(--background);
  border-color: var(--lightgrey);
}



/* pre-schedule wizard */
.pre-schedule-wizard .wizard-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.pre-schedule-wizard .wizard-steps span {
  opacity: 0.5;
}

.pre-schedule-wizard .wizard-steps span.current {
  opacity: 1;
  font-weight: bold;
}

.pre-schedule-wizard .wizard-steps span.done {
  opacity: 0.8;
  text-decoration: line-through;
}





/***********************************/
@media (max-width:1000px) {
    .options-container {
        position: absolute;
        z-index: 7;
        height: 100%;
        background-color: var(--white);
    }

    .proposal-container {
        margin-left: 78px;
    }
}

@media (max-width:900px) {
   .number-proposal-container > div {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .number-proposal-container > div > button {
        margin-top: 0;
    }
    /* Stacked, every field spans the column, so the Year select's fixed desktop width has
       to be given back: align-items:stretch only stretches a child whose width is auto. */
    .number-proposal-container > div > div:nth-child(2) {
        width: auto;
    }
    .number-proposal-container header {
        cursor: pointer;
    }
    .number-proposal-container > div.is-collapsed {
        display: none;
    }
    .number-proposal-container .mobile-only {
        display: inline;
    }
}

@media (max-width:700px) {
    .timeline .proposal-section-title h3 {
        padding: 8px 0px;
        color: var(--black) !important;
        border-bottom: none!important;
        font-weight: 600;
        cursor: default!important;
    }

    .timeline .proposal-section-title h3:first-child {
        display: none;
    }

    #timeline-content-div {
        display: block !important;
        height: unset;
        background-color: transparent;
        border: none;
        padding: 0;
        margin-top: 12px;
    }

    /* The horizontal timeline is unusable at this width; the Diary tab beside it is the
       mobile view of the same entries. Was `#dl-container`, the id the old jquery.dateline
       widget was mounted on. */
    .proposal-timeline-chart {
        display: none !important;
    }

    .document-created-info-wrapper {
        flex-direction: column;
    }

    .document-highlight {
        display: grid;
        grid-template-columns: 16px 1fr;
    }

    .document-highlight .proposal-document-date {
        grid-area: 2 / 2;
    }
}

@media (max-width:750px) {
    .version-history {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .version-history-list .version-icon {
    display: flex;
  }

  .version-icon .icon-component:not(.is-current .version-icon .icon-component) {
    opacity: 0.5;
  }

  .version-history-list .version-number {
    min-width: unset;
    height: unset;
    padding: 0;
    border: none;
    flex: 1;
    justify-content: flex-start;
    font-size: 0.9rem;
  }

  .version-history-list .author-content img {
    margin-top: 0;
  }

  .version-history-list .current-badge {
    padding: 4px 8px;
    position: static;
  }

  .version-history-header {
    display: none;
  }

  .version-history-list {
    display: grid;
    gap: 8px;
  }

  .version-history-row {
    display: flex;
    flex-direction: column;
    grid-template-columns: unset;
    padding: 0;
    background: var(--white);
    border: var(--border);
    border-radius: var(--borderRadius);
    gap: 6px;
    box-shadow: 1px 2px 4px #0000000d;
  }

  .version-history-list .mobile-only {
    display: inline-block;
  }

  .version-history-list .desktop-only {
    display: none;
  }

  .version-history-list .version-cell {
    order: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    border-bottom: var(--border);
    padding: 12px 16px;
  }

  .version-history-list .author-cell {
    order: 2;
    padding: 0 16px;
  }

  .version-history-list .author-content {
    display: flex;
    align-items: center;
    font-weight: 300;
  }

  .version-history-list .date-cell {
    order: 3;
    display: flex;
    gap: 8px;
    padding: 0 16px;
    font-weight: 300;
  }

  .version-history-list .size-content::before {
    content: '·';
    margin-right: 8px;
  }

  .version-history-list .date-content {
    flex-wrap: nowrap;
    gap: 0;
  }

  .version-history-list .actions-cell {
    order: 5;
    margin: 12px 16px 16px;
  }

  .version-history-list .actions-cell button {
    width: 100%;
    height: unset;
    padding: 16px 24px;
  }
    .dispatch {
        flex-direction: column;
        align-items: flex-start;
    }

    .dispatch .user {
        height: 40px;
        width: 40px;
    }

    .dispatch .user {
        height: 64px;
        width: 64px;
    }

    .dispatch .user.secondary {
        height: 32px;
        width: 32px;
    }

    .proposal-section.dispatches {
        margin-bottom: 0;
    }
}

@media (max-width:600px) {
    .proposal-document .kebab {
        grid-column: 3;
        grid-row: 1;
        position: relative;
        right: 4px;
    }

    .proposal-document {
        display: grid;
        grid-template-columns: 16px auto 16px;
        grid-template-rows: auto auto;
        grid-column-gap: 8px;
        grid-row-gap: 0px;
        align-items: start;
    }

    .proposal-document-date {
        grid-column: 2;
    }

    .proposal-document .dropdown-parent {
        grid-row: 1;
        grid-column: 3;
        visibility: visible;
        opacity: 1;
        margin-top: 0px;
    }

    .proposal-document-name {
        display: block;
    }

    .section-btn p {
        display: none;
    }
}

@media (max-width:500px) {
    .proposal-container .page-title h3{
        font-size: 24px;
    }

    .proposal-section-title:not(.page-title) h3 {
        font-size: 20px;
    }

    .proposal-notification button {
         
        flex: 1;
    }

    .proposal-page-container {
        flex-direction: column;
    }

    .options-container {
        position: unset;
        width: 100% !important;
        transition: none;
        border-bottom: var(--border);
        box-shadow: none;
        padding: 0;
        gap: 0;
    }

    .options-container:hover {
        box-shadow: none;
    }

    .proposal-container {
        margin-left: 0px;
    }

    .proposal-option p {
        opacity: 1;
        white-space: unset;
        text-align: left;
    }

    div.proposal-option {
        margin-bottom: 0;
        margin-top: 0;
    }

    button.proposal-option {
        display: none;
    }

    .proposal-option {
        padding: min(5vw, 20px) min(5vw, 30px);
    }

    .proposal-notification .main-message {
        gap: 8px;
    }

    .generated-documents {
        margin-bottom: 0;
    }

    .proposal-section.timeline {
        margin-bottom: 8px;
    }
}

@media print {
    .number-proposal-container,
    .proposal-task,
    .options-container,
    .no-print,
    nav,
    footer {
        display: none;
    }

    #printable-proposal {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
        flex-shrink: unset;
    }

    .proposal-page-container {
        background-color: transparent;
        border: none;
    }

    .proposal-section-title,
    .metadata-wrapper .title {
        break-after: avoid;
    }

    /* Paper always gets the Diary, never the Timeline chart: a panning, two-band chart says
       nothing on a sheet, and the Diary is the readable record of the same entries.
       !important on all four declarations, for two separate reasons: the two views are a
       v-show pair, so whichever is not active carries an INLINE display:none; and
       TimelineStyle.css re-states this element's height and overflow AFTER this file in the
       cascade (index.html loads it next), at equal specificity. Without !important these
       rules lose silently - which is exactly what has already happened to the `height: unset`
       in the @media (max-width:700px) block above. */
    .proposal-timeline-chart {
        display: none !important;
    }

    .timeline .proposal-section-title h3:first-child {
        display: none !important;
    }

    #timeline-content-div {
        display: block !important;
        /* The 320px scrolling box is a screen affordance; paper has no scrollbar, so whatever
           is scrolled out of view is simply lost and nothing on the page says so. */
        height: auto !important;
        max-height: none !important;
        overflow-y: visible !important;
        background-color: transparent;
        border: none;
        padding: 0;
    }
}