.aros-sign-workspace { display: grid; gap: 18px; }

.aros-sign-hero {
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 34px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 8%, rgba(57, 230, 217, .34), transparent 31%),
    linear-gradient(135deg, #073441 0%, #006e77 58%, #0db7b7 100%);
  box-shadow: 0 20px 52px rgba(6, 64, 76, .18);
}

.aros-sign-hero-copy { display: flex; align-items: center; gap: 22px; min-width: 0; }
.aros-sign-product-mark {
  width: 86px; height: 86px; flex: 0 0 auto; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.35); border-radius: 25px;
  background: rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
}
.aros-sign-product-mark svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.aros-sign-eyebrow { display: block; color: #72f3e8; font-size: .75rem; font-weight: 950; letter-spacing: .15em; }
.aros-sign-hero h1 { margin: 6px 0 5px; color: #fff; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; }
.aros-sign-hero p { margin: 0; color: rgba(255,255,255,.8); font-weight: 750; }

.aros-sign-primary-button,
.aros-sign-secondary-button {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 0 20px; border: 0; border-radius: 13px; font: inherit; font-weight: 900; cursor: pointer;
}
.aros-sign-primary-button { color: #fff; background: linear-gradient(135deg, #04949a, #13beb7); box-shadow: 0 10px 24px rgba(0, 103, 111, .2); }
.aros-sign-hero .aros-sign-primary-button { min-height: 54px; color: #073441; background: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.13); white-space: nowrap; }
.aros-sign-hero .aros-sign-primary-button span { font-size: 1.45rem; }
.aros-sign-secondary-button { color: #17334c; border: 1px solid #cddce5; background: #fff; }
.aros-sign-primary-button:disabled { opacity: .58; cursor: wait; }

.aros-sign-summary {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden;
  border: 1px solid #d8e5ec; border-radius: 20px; background: #fff;
  box-shadow: 0 12px 30px rgba(31, 65, 91, .07);
}
.aros-sign-summary article { min-height: 112px; display: flex; align-items: center; gap: 16px; padding: 22px 28px; border-right: 1px solid #e2eaf0; }
.aros-sign-summary article:last-child { border-right: 0; }
.aros-sign-summary small { display: block; color: #6b7d91; font-weight: 850; }
.aros-sign-summary strong { display: block; margin-top: 3px; color: #071b38; font-size: 1.9rem; }
.summary-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; font-size: 1.35rem; font-weight: 900; }
.summary-icon-all { color: #078f96; background: #e5f7f6; }
.summary-icon-waiting { color: #9b6500; background: #fff2d7; }
.summary-icon-complete { color: #168354; background: #e5f7ed; }

.aros-sign-records { overflow: hidden; min-height: 310px; border: 1px solid #d8e5ec; border-radius: 20px; background: #fff; box-shadow: 0 12px 30px rgba(31, 65, 91, .07); }
.aros-sign-records-head { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 24px; border-bottom: 1px solid #e1eaf0; }
.aros-sign-tabs { align-self: stretch; display: flex; align-items: stretch; gap: 28px; }
.aros-sign-tabs button { position: relative; border: 0; background: transparent; color: #617389; font: inherit; font-weight: 900; cursor: pointer; }
.aros-sign-tabs button.active { color: #0a5660; }
.aros-sign-tabs button.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: #08aeb0; }
.aros-sign-search { width: min(320px, 42vw); min-height: 44px; display: grid; grid-template-columns: 20px 1fr; align-items: center; gap: 9px; padding: 0 13px; border: 1px solid #ccdae3; border-radius: 12px; }
.aros-sign-search svg { width: 19px; height: 19px; fill: none; stroke: #6d8194; stroke-width: 2; stroke-linecap: round; }
.aros-sign-search input { min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-weight: 750; }
.aros-sign-list { display: grid; padding: 0 24px; }
.aros-sign-row { min-height: 94px; display: grid; grid-template-columns: minmax(180px, 1.25fr) minmax(150px, 1fr) 125px 155px auto; align-items: center; gap: 18px; border-bottom: 1px solid #e7edf2; }
.aros-sign-row:last-child { border-bottom: 0; }
.aros-sign-row div { min-width: 0; }
.aros-sign-row strong, .aros-sign-row span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aros-sign-row strong { color: #102b47; }
.aros-sign-row span { margin-top: 4px; color: #75869a; font-size: .82rem; font-weight: 750; }
.aros-sign-status { width: fit-content; padding: 7px 11px; border-radius: 999px; color: #9a5d00 !important; background: #fff1d7; font-size: .76rem !important; font-weight: 950 !important; text-transform: capitalize; }
.aros-sign-status.completed { color: #167245 !important; background: #def5e8; }
.aros-sign-status.voided, .aros-sign-status.declined { color: #9b3842 !important; background: #fde8ea; }
.aros-sign-actions { display: flex; justify-content: flex-end; gap: 7px; }
.aros-sign-actions button { min-height: 38px; padding: 0 12px; border: 1px solid #cddce5; border-radius: 10px; color: #23445d; background: #fff; font: inherit; font-size: .78rem; font-weight: 900; cursor: pointer; }
.aros-sign-actions button.danger { color: #a13943; border-color: #edc7cc; }
.aros-sign-empty { min-height: 225px; display: grid; place-items: center; text-align: center; color: #738499; font-weight: 800; }

.aros-sign-dialog { width: min(760px, calc(100vw - 26px)); max-height: calc(100vh - 28px); padding: 0; border: 0; border-radius: 22px; background: transparent; }
.aros-sign-dialog::backdrop { background: rgba(7, 27, 56, .5); }
.aros-sign-form { overflow: auto; max-height: calc(100vh - 28px); border: 1px solid rgba(0,139,143,.28); border-radius: 22px; background: linear-gradient(180deg,#fff,#f2fbfb); box-shadow: 0 28px 80px rgba(7,27,56,.25); }
.aros-sign-form header, .aros-sign-form footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.aros-sign-form header { align-items: flex-start; padding: 21px 24px; color: #fff; background: linear-gradient(135deg,#073441,#078f96); }
.aros-sign-form h2 { margin: 5px 0 0; color: #fff; font-size: 1.55rem; }
.aros-sign-form header p { margin: 7px 0 0; color: rgba(255,255,255,.77); font-size: .87rem; font-weight: 750; }
.aros-sign-close { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.38); border-radius: 11px; color: #fff; background: rgba(255,255,255,.12); font-size: 1.6rem; cursor: pointer; }
.aros-sign-form-body { display: grid; gap: 13px; padding: 20px 24px; }
.aros-sign-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.aros-sign-form-body label { display: grid; gap: 7px; min-width: 0; }
.aros-sign-form-body label > span:first-child { color: #2a4e63; font-size: .76rem; font-weight: 950; letter-spacing: .04em; text-transform: uppercase; }
.aros-sign-form-body input, .aros-sign-form-body select { width: 100%; min-height: 49px; padding: 0 13px; border: 1px solid #cbdce5; border-radius: 12px; outline: 0; color: #0d2942; background: #fff; font: inherit; font-weight: 800; }
.aros-sign-form-body input:focus, .aros-sign-form-body select:focus { border-color: #45bcc0; box-shadow: 0 0 0 3px rgba(8,174,176,.12); }
.aros-sign-homeowner-picker { position: relative; }
.aros-sign-homeowner-menu { position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; max-height: 250px; display: grid; gap: 7px; overflow: auto; padding: 8px; border: 1px solid #cfdee6; border-radius: 14px; background: rgba(250,253,254,.98); box-shadow: 0 20px 45px rgba(12,46,66,.16); }
.aros-sign-homeowner-menu[hidden] { display: none; }
.aros-sign-homeowner-option { display: grid; gap: 3px; padding: 10px 12px; border: 1px solid #dce7ec; border-radius: 11px; text-align: left; background: #fff; cursor: pointer; }
.aros-sign-homeowner-option:hover { border-color: #5cc8c9; background: #f1fbfb; }
.aros-sign-homeowner-option strong { color: #102b47; }
.aros-sign-homeowner-option span { color: #6b7e90; font-size: .8rem; font-weight: 750; }
.aros-sign-upload { min-height: 86px; grid-template-columns: 47px 1fr; align-items: center; gap: 13px !important; padding: 14px; border: 1px dashed #90cacc; border-radius: 14px; background: rgba(237,250,249,.72); cursor: pointer; }
.aros-sign-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.aros-sign-upload-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 13px; color: #087e84 !important; background: #d9f3f0; font-size: 1.4rem !important; }
.aros-sign-upload strong, .aros-sign-upload small { display: block; }
.aros-sign-upload strong { color: #14334b; }
.aros-sign-upload small { margin-top: 4px; color: #718296; font-weight: 700; }
.aros-sign-security-note { display: grid; grid-template-columns: 27px 1fr; align-items: center; gap: 11px; padding: 12px 14px; border-radius: 12px; color: #426376; background: #e9f7f6; font-size: .8rem; line-height: 1.4; }
.aros-sign-security-note svg { width: 24px; height: 24px; fill: none; stroke: #078f96; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.aros-sign-form footer { justify-content: flex-end; padding: 0 24px 22px; }

@media (max-width: 820px) {
  .aros-sign-hero { align-items: flex-start; flex-direction: column; }
  .aros-sign-summary { grid-template-columns: 1fr; }
  .aros-sign-summary article { border-right: 0; border-bottom: 1px solid #e2eaf0; }
  .aros-sign-records-head { align-items: stretch; flex-direction: column; padding: 16px; }
  .aros-sign-tabs { min-height: 48px; overflow-x: auto; }
  .aros-sign-search { width: 100%; }
  .aros-sign-row { grid-template-columns: 1fr 1fr; padding: 16px 0; }
  .aros-sign-actions { justify-content: flex-start; grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .aros-sign-product-mark { display: none; }
  .aros-sign-form-grid { grid-template-columns: 1fr; }
}
