.canceled-order{opacity:0.9;background-color:#f9f9f9}.cancellation-overlay{position:absolute;top:0;right:0;left:0;bottom:0;z-index:10;pointer-events:none;overflow:hidden}.cancellation-overlay span{position:absolute;top:25px;right:-35px;transform:rotate(45deg);width:200px;background-color:#f44336;color:white;text-align:center;font-size:16px;font-weight:bold;padding:8px 0;box-shadow:0 2px 4px rgba(0,0,0,0.2);letter-spacing:1px}@media (max-width: 768px){.cancellation-overlay span{font-size:14px;top:20px;right:-40px;width:180px}}.external-prescriptions-prompt{border-left:5px solid #e65100;margin-bottom:12px}.external-prescriptions-prompt__title{margin:0;font-weight:bold;color:#e65100;font-size:1rem}.external-prescriptions-prompt__subtitle{margin:4px 0 10px 0;font-size:0.9em;color:#bf360c}.external-prescriptions-prompt__item{padding:8px;margin-bottom:8px;background:rgba(255,255,255,0.65);border-radius:4px}.external-prescriptions-prompt__item-body{margin-bottom:8px;font-size:0.9em}.external-prescriptions-prompt__item-actions{display:flex;gap:8px;flex-wrap:wrap}.order-actions{display:flex;flex-wrap:wrap;gap:0.5rem;margin-bottom:1rem}.order-actions-container{display:flex;flex-direction:column;gap:1rem;padding:1rem;width:100%}.order-actions-header-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:0.75rem;width:100%}.order-card-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:0.5rem;margin-left:auto}.action-group{display:flex;flex-wrap:wrap;gap:0.5rem;align-items:center}.switch-container{margin:1rem 0}.switch-label{display:flex;align-items:center;gap:0.5rem}.order-top-status-row{margin-bottom:0.5rem;width:100%}.order-top-status-row .documents-card{margin-top:0;margin-bottom:0.75rem}.documents-content--compact{padding-top:0.65rem;padding-bottom:0.65rem}.order-top-status-strip{display:flex;flex-wrap:wrap;gap:0.75rem 1.5rem;align-items:center}.order-status-line{display:flex;align-items:center;gap:0.35rem;min-height:28px}.order-status-line__icon{font-size:1.25rem !important}.order-status-line__text{display:inline-flex;align-items:center}.order-docs-notes-layout{display:grid;grid-template-columns:1fr minmax(320px, 400px);gap:1rem;align-items:stretch;width:100%;flex:1 1 100%;align-self:stretch}.order-docs-notes-layout__docs,.order-docs-notes-layout__notes{min-width:0;display:flex;flex-direction:column;min-height:0;height:100%}.order-docs-notes-layout .documents-card{flex:1 1 auto;display:flex;flex-direction:column;min-height:0;height:100%;margin-top:0;margin-bottom:0}.order-docs-notes-layout .documents-content{flex:1 1 auto;min-height:0}.order-docs-notes-layout .documents-header{flex-shrink:0}@media screen and (min-width: 993px){.order-docs-notes-layout .order-internal-notes{flex:1 1 auto;min-height:0;height:100%;max-height:none}}@media screen and (max-width: 992px){.order-docs-notes-layout{grid-template-columns:1fr}.order-docs-notes-layout .order-internal-notes{height:65vh;max-height:520px}}.documents-card{background:white;border-radius:8px;box-shadow:0 2px 4px rgba(0,0,0,0.08);margin:1rem 0;width:100%}.documents-header{background:#fafafa;padding:0.75rem 1rem;border-radius:8px 8px 0 0;border-bottom:1px solid #eee}.documents-header h6{margin:0;font-weight:600;color:#333;font-size:0.95rem}.documents-content{padding:0.5rem 1rem}.doc-section{padding:0.5rem 0}.doc-section+.doc-section{border-top:1px solid #f0f0f0}.doc-section__label{display:block;font-size:0.7rem;font-weight:600;color:#9e9e9e;letter-spacing:0.08em;text-transform:uppercase;padding:0.5rem 0 0.25rem}.doc-row{display:flex;align-items:center;gap:0.75rem;padding:0.5rem 0;min-height:2.75rem}.doc-row+.doc-row{border-top:1px dashed #f0f0f0}.doc-row__lead{display:flex;align-items:center;gap:0.5rem;flex:1 1 auto;min-width:0}.doc-row__icon{color:#616161;font-size:1.25rem;flex:0 0 auto}.doc-row__title{font-weight:500;color:#424242;font-size:0.95rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:default}.doc-row__actions{display:flex;align-items:center;gap:0.25rem;flex:0 0 auto}.doc-row__actions--emit-nfe-stacked{align-items:flex-start}.doc-row__emit-nfe-block{display:flex;flex-direction:column;align-items:flex-end}.doc-row__emit-hint{font-size:0.7rem;color:#9e9e9e;line-height:1.2;margin-top:0.15rem;text-align:right;max-width:11rem}.doc-row__primary{margin:0 !important}.doc-row__more{padding:0 0.5rem !important;min-width:2.25rem;background:transparent !important;box-shadow:none !important;color:#616161 !important;display:inline-flex;align-items:center;justify-content:center}.doc-row__more:hover,.doc-row__more:focus{background:rgba(0,0,0,0.05) !important}.doc-row.doc-row--dropdown-open{background-color:rgba(33,150,243,0.06);border-radius:2px}.doc-row.doc-row--dropdown-open .doc-row__more{background-color:rgba(29,78,117,0.06) !important;color:#1976d2 !important}.doc-row__more .material-icons{font-size:1.25rem;line-height:1}.doc-row__more--spacer{visibility:hidden;pointer-events:none;opacity:1 !important}.doc-row__menu{width:300px !important;min-width:300px !important;max-width:300px !important;padding:0.25rem 0 !important}.doc-row__menu-label{padding:0.5rem 1rem 0.25rem;font-size:16px;font-weight:600;color:#9e9e9e;letter-spacing:0.05em;text-transform:uppercase;pointer-events:none;cursor:default;background-color:transparent !important}.doc-row__menu-label:hover{background-color:transparent !important}.doc-row__menu-item{width:100%;text-align:left !important;display:flex !important;align-items:center;gap:0.5rem;padding:0.5rem 1rem !important;color:#212121 !important;background:transparent !important;box-shadow:none !important;text-transform:none !important;font-weight:400 !important;font-size:16px !important;line-height:1.25 !important}.doc-row__menu-item:hover{background:#f5f5f5 !important}.doc-row__menu-item .material-icons{color:#757575}.doc-row__menu-item .doc-row__menu-icon--print{color:#1976d2 !important}.doc-row__menu-item .doc-row__menu-icon--pdf{color:#c62828 !important}.doc-row__menu-item .doc-row__menu-icon--image{color:#00695c !important}.doc-row__menu li form{margin:0}.doc-row__menu-actions-row{display:flex !important;flex-direction:row;align-items:stretch;padding:0 !important;min-height:0 !important}.doc-row__menu-actions-row>a.doc-row__menu-item--pair,.doc-row__menu-actions-row>form{flex:1 1 50%;min-width:0;margin:0 !important}.doc-row__menu-actions-row>a.doc-row__menu-item--pair{justify-content:center !important;border-right:1px solid #eeeeee;box-sizing:border-box}.doc-row__menu-actions-row>a.doc-row__menu-item--pair:last-child{border-right:none}.doc-row__menu-actions-row>form{display:flex !important}.doc-row__menu-actions-row>form>button.doc-row__menu-item--pair{flex:1;width:100% !important;justify-content:center !important;border-right:1px solid #eeeeee;box-sizing:border-box}.doc-row__menu-actions-row>form:last-child>button.doc-row__menu-item--pair{border-right:none}.doc-row__menu.dropdown-content>li.doc-row__menu-actions-row,.doc-row__menu.dropdown-content>li.doc-row__menu-actions-row:hover,.doc-row__menu.dropdown-content>li.doc-row__menu-actions-row:focus-within{background-color:transparent !important;background:transparent !important}.doc-row__menu.dropdown-content>li>a.doc-row__menu-item{font-size:16px !important;line-height:1.25 !important;padding:0.5rem 1rem !important;height:auto !important;min-height:0 !important;text-decoration:none !important;display:flex !important;align-items:center;gap:0.5rem;box-sizing:border-box;border-radius:0}.doc-row__menu.dropdown-content>li>a.doc-row__menu-item:hover{background:#f5f5f5 !important}.doc-row__menu.dropdown-content>li>a.doc-row__menu-item .material-icons.tiny{font-size:1.125rem !important;line-height:1 !important;width:1.125rem;height:1.125rem;margin:0}.nfe-history{margin:0.25rem 0 0.5rem 2rem}.nfe-history__chip{background:transparent;border:1px solid #e0e0e0;border-radius:999px;padding:0.25rem 0.75rem;display:inline-flex;align-items:center;gap:0.375rem;cursor:pointer;font-size:0.8rem;color:#616161;transition:all 0.15s ease}.nfe-history__chip:hover{background:#fafafa;border-color:#bdbdbd}.nfe-history__panel{margin-top:0.5rem;padding:0.75rem;background:#fafafa;border-radius:4px;border:1px solid #eee}.nfe-history__list{list-style:disc;margin:0;padding-left:1.25rem;font-size:0.8rem}.nfe-history__item{margin-bottom:0.25rem}.nfe-history__link{margin-left:0.5rem;font-size:0.75rem}@media (max-width: 768px){.documents-card{margin:0.5rem 0}.doc-row{flex-wrap:wrap;align-items:flex-start}.doc-row__lead{flex:1 1 100%}.doc-row__title{white-space:normal}.doc-row__actions{flex:1 1 100%;justify-content:flex-end}.nfe-history{margin-left:0}}.order-internal-notes{background:#fff;border-radius:8px;box-shadow:0 2px 4px rgba(0,0,0,0.08);margin:0;width:100%;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden}.order-internal-notes__header{background:#fafafa;padding:0.65rem 1rem;border-radius:8px 8px 0 0;border-bottom:1px solid #eee;flex-shrink:0}.order-internal-notes__header h6{margin:0;font-weight:600;color:#333;font-size:0.95rem;display:flex;align-items:center;gap:0.35rem;flex-wrap:wrap}.order-internal-notes__count{font-weight:500;color:#78909c;font-size:0.85rem}.order-internal-notes__static{padding:0.65rem 1rem 0.5rem;flex-shrink:0;border-bottom:1px solid #f0f0f0}.order-internal-notes__textarea{width:100% !important;box-sizing:border-box;padding:0.5rem 0.65rem !important;border:1px solid #e0e0e0 !important;border-radius:6px !important;font-size:18px !important;line-height:1.45 !important;resize:none;min-height:4rem;max-height:120px;margin-bottom:0.5rem}.order-internal-notes__textarea:focus{border-color:#26a69a !important;outline:none;box-shadow:0 0 0 2px rgba(38,166,154,0.15)}.order-internal-notes__submit{width:100%;margin:0 !important}.order-internal-notes__submit .material-icons.left{margin-right:6px}.order-internal-notes__scroll{flex:1 1 0;min-height:0;overflow-y:auto;overflow-x:hidden;padding:0.5rem 1rem 0.75rem;-webkit-overflow-scrolling:touch}.order-internal-notes .order-comments-history{margin:0}.order-internal-notes .order-comment-list{display:flex;flex-direction:column;gap:0}.order-internal-notes .order-comment-item{padding:0.65rem 0;border-bottom:1px solid #eceff1;margin:0}.order-internal-notes .order-comment-item:last-child{border-bottom:none;padding-bottom:0.15rem}.order-internal-notes .order-comment-item__head{display:flex;justify-content:space-between;align-items:flex-start;gap:0.35rem;margin-bottom:0.4rem}.order-internal-notes .order-comment-item__head .order-comment-item__body{flex:1 1 auto;margin:0;min-width:0}.order-internal-notes .order-comment-item__delete-form{margin:0;flex:0 0 auto}.order-internal-notes .order-comment-item__delete{min-width:auto !important;height:auto !important;padding:0.1rem !important;line-height:1 !important;opacity:0.55;color:#78909c !important}.order-internal-notes .order-comment-item__delete:hover{opacity:1;background-color:rgba(0,0,0,0.04) !important}.order-internal-notes .order-comment-item__delete .material-icons{font-size:1.15rem}.order-internal-notes .order-comment-item__body{margin:0 0 0.4rem;font-size:20px;line-height:1.45;color:#37474f;white-space:pre-wrap;word-break:break-word}.order-internal-notes .order-comment-item__meta{display:flex;flex-wrap:wrap;align-items:baseline;gap:0.5rem 0.75rem;font-size:0.75rem;color:#78909c}.order-internal-notes .order-comment-item__date{font-weight:500}.order-internal-notes .order-comment-item__author{color:#90a4ae}.order-internal-notes .order-comments-history__empty{margin:0.25rem 0 0;font-size:0.85rem;color:#90a4ae}.order-top-segments.row{display:flex;flex-wrap:wrap;align-items:stretch}.order-top-segments>.col{display:flex;flex-direction:column}.order-top-segments{margin-bottom:0.5rem}.order-top-segments .documents-card.order-segment-card{margin-top:0;margin-bottom:1rem;flex:1 1 auto;display:flex;flex-direction:column;min-height:0;width:100%;max-width:100%;overflow:hidden}.order-segment-card>.documents-content{flex:1 1 auto;min-width:0;overflow-x:auto}.order-segment-card__title{margin:0;font-weight:600;color:#333;font-size:0.95rem;display:flex;align-items:center;gap:0.4rem;flex-wrap:wrap}.order-segment-card__icon{font-size:1.15rem !important;color:#546e7a}.order-segment-panel{background:#fafafa;border:1px solid #eeeeee;border-radius:6px;padding:0.65rem 0.75rem;margin-bottom:0.75rem;box-sizing:border-box}.order-segment-panel:last-child{margin-bottom:0}.order-segment-panel--message-form{margin-bottom:0.75rem}.order-segment-panel--sent{margin-top:0;margin-bottom:0}.order-segment-sent__label{display:block;margin-bottom:0.4rem}.order-segment-messages-meta{font-size:0.9rem}.order-segment-messages-sent-list{margin:0.25rem 0 0;padding-left:1.1rem}.order-sellers-list{display:flex;flex-direction:column;gap:0.5rem;margin-top:0.45rem}.order-seller-chip{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:0.35rem;padding:0.45rem 0.6rem;background:#fff;border:1px solid #e0e0e0;border-radius:6px}.order-seller-chip__name{font-size:0.9rem;color:#37474f;flex:1 1 auto;min-width:0;word-break:break-word}.order-seller-chip__remove{flex:0 0 auto;min-width:2.25rem;height:2.25rem;line-height:2.25rem;padding:0 !important}.order-sales-form-wrap{margin-bottom:0}.order-segment-subsection{margin-top:0}.sale-form__grid{margin-left:0 !important;margin-right:0 !important;margin-bottom:0}.sale-form__grid .input-field{margin-top:0.65rem;margin-bottom:0.15rem}.sale-form__actions{margin-top:0.35rem}.sale-form__submit{width:100%;max-width:100%;box-sizing:border-box}@media (min-width: 601px){.sale-form__submit{width:auto}}.order-segment-card--messages .input-field{margin-top:0.35rem;margin-bottom:0}.order-segment-panel--message-form .row{margin-bottom:0}.order-segment-tags{margin-top:0.75rem;padding-top:0.75rem}.order-dates-row{margin-top:1.25rem}.order-dates-row__icon{vertical-align:middle;margin-right:0.4rem}.order-dates-row__label{margin-right:0.35rem}@media screen and (min-width: 768px){.title-date-1{padding:0}.title-date-2{text-align:right}}.order-summary{text-align:right;margin-top:2rem;margin-bottom:2rem}.order-summary .discount{margin-bottom:0.5rem}.order-summary .total{font-weight:bold}.order-notes{background-color:#f5f5f5;padding:1rem;border-radius:4px;margin-bottom:2rem;font-size:18px}.order-notes--cancellation{margin-top:10px}.recipient-name{align-items:center;font-size:1.2rem;margin-bottom:0.5rem}.recipient-name i{margin-right:0.5rem}.item-quantity{font-weight:bold;margin-right:0.5rem}.item-price{text-align:right}.recipient-actions{margin-top:1rem}.order-tags{margin-bottom:1rem;display:block}.tag-list{display:flex;flex-wrap:wrap;gap:0.5rem;margin-bottom:0.5rem}.order-tags .tag-list{margin-top:0.5rem}@media screen and (max-width: 768px){.order-actions{flex-direction:column}.order-actions-header-row{flex-direction:column;align-items:stretch}.order-card-toolbar{margin-left:0;justify-content:flex-end}.order-actions .primary-actions a,.order-actions .document-actions a,.order-actions .document-actions button{width:100%;margin-bottom:0.5rem}.order-card-toolbar .btn-small{width:auto;max-width:100%}.order-card-toolbar .btn-floating{align-self:flex-end;width:auto}.action-group{flex-direction:column;align-items:stretch}.action-group .btn-small{width:100%;margin-bottom:0.25rem}}.customer-info-card .customer-card-segments.order-top-segments{margin-left:0;margin-right:0}.customer-info-card .customer-card-segments>.col{padding-bottom:0.25rem}.customer-info-card .customer-card-segment.documents-card{margin-top:0;margin-bottom:0.75rem}.customer-info-card .customer-notes-panel.order-internal-notes{margin-top:0;margin-bottom:0.75rem;width:100%}.customer-info-card .customer-card-segments>.col>.order-internal-notes.customer-notes-panel{flex:1 1 auto;min-height:380px;max-height:560px}@media screen and (max-width: 992px){.customer-info-card .customer-notes-panel.order-internal-notes{height:65vh;max-height:520px}}.customer-info-card .order-internal-notes__form .customer-notes-inline-form__error-line{margin:0 0 0.25rem;font-size:0.88rem}.customer-info-card .customer-card-credit-row{margin-top:0}.customer-info-card .customer-card-credit-help p{font-size:0.88rem;line-height:1.45}.customer-info-card .customer-card-credit-table{font-size:0.88rem;margin:0.35rem 0 0}.customer-info-card .customer-card-credit-table th{font-size:0.72rem;text-transform:uppercase;letter-spacing:0.06em;color:#9e9e9e;font-weight:600}.customer-card-credit-table-wrap:not(:has(#credit_referrals_list tr)),.credit-referrals-table-wrap:not(:has(#credit_referrals_list tr)){display:none !important}.customer-info-card .customer-card-credit-form-panel #credit_referral_form.row{margin-bottom:0}.customer-info-card .customer-card-credit-form-panel #credit_referral_form .input-field.col:last-child{display:flex;align-items:flex-end}@media screen and (max-width: 600px){.customer-info-card .customer-card-credit-form-panel #credit_referral_form .input-field.col:last-child{width:100%}.customer-info-card .customer-card-credit-form-panel #credit_referral_form .input-field.col:last-child .btn{width:100%}}.credit-referral-row__action-head{width:2.5rem}.credit-referral-row__action-cell{width:2.5rem;text-align:right;vertical-align:middle;white-space:nowrap}.credit-referral-row__delete-form{margin:0;display:inline-block}.credit-referral-row__delete{min-width:auto !important;height:auto !important;padding:0.1rem !important;line-height:1 !important;opacity:0.55;color:#78909c !important}.credit-referral-row__delete:hover{opacity:1;background-color:rgba(0,0,0,0.04) !important}.credit-referral-row__delete .material-icons{font-size:1.15rem}
