/* Ana Terra Tattoo Sistema v1.11.0 | Contatos & Agenda */

.att-workspace-head-v21 {
    align-items: flex-start;
    gap: 28px;
}
.att-workspace-head-v21 > div:first-child { max-width: 780px; }
.att-workspace-head-v21 p { max-width: 670px; line-height: 1.6; }
.att-workspace-official-wa {
    flex: 0 0 auto;
    min-width: 190px;
    padding: 14px 16px;
    border: 1px solid rgba(58,33,26,.10);
    border-radius: 16px;
    background: rgba(255,255,255,.66);
    text-align: right;
}
.att-workspace-official-wa span,
.att-workspace-official-wa strong { display: block; }
.att-workspace-official-wa span {
    color: var(--att-muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.att-workspace-official-wa strong {
    margin-top: 5px;
    color: var(--att-earth);
    font-size: 12px;
}

.att-workspace-tabs-v21 {
    position: sticky;
    top: 72px;
    z-index: 25;
    display: flex;
    gap: 6px;
    width: max-content;
    max-width: 100%;
    margin: -8px 0 24px;
    padding: 5px;
    overflow-x: auto;
    scrollbar-width: none;
    border: 1px solid rgba(58,33,26,.10);
    border-radius: 999px;
    background: rgba(255,249,239,.93);
    box-shadow: 0 12px 30px rgba(58,33,26,.06);
    backdrop-filter: blur(12px);
}
.att-workspace-tabs-v21::-webkit-scrollbar { display: none; }
.att-workspace-tabs-v21 a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--att-muted);
    text-decoration: none;
    white-space: nowrap;
    font-size: 9px;
    font-weight: 800;
    transition: background .2s ease, color .2s ease;
}
.att-workspace-tabs-v21 a b {
    min-width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    padding: 0 5px;
    border-radius: 999px;
    background: rgba(58,33,26,.08);
    color: var(--att-earth);
    font-size: 7px;
}
.att-workspace-tabs-v21 a:hover,
.att-workspace-tabs-v21 a:focus,
.att-workspace-tabs-v21 a.is-active {
    background: var(--att-earth);
    color: var(--att-ivory);
    outline: none;
}
.att-workspace-tabs-v21 a.is-active b {
    background: rgba(255,249,239,.13);
    color: var(--att-gold);
}

.att-workspace-subhead {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 18px;
    padding: 4px 2px 0;
}
.att-workspace-subhead > div { max-width: 760px; }
.att-workspace-subhead h2 {
    margin: 5px 0 0;
    font-family: var(--att-font-display);
    font-size: clamp(31px, 3vw, 45px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.025em;
}
.att-workspace-subhead p {
    max-width: 650px;
    margin: 9px 0 0;
    color: var(--att-muted);
    font-size: 10px;
    line-height: 1.55;
}

/* Contatos */
.att-contact-stage-filter {
    display: none;
    gap: 7px;
    margin-bottom: 12px;
    overflow-x: auto;
    scrollbar-width: none;
}
.att-contact-stage-filter::-webkit-scrollbar { display: none; }
.att-contact-stage-filter button {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    border: 1px solid rgba(58,33,26,.11);
    border-radius: 999px;
    background: #fffaf3;
    color: var(--att-earth);
    white-space: nowrap;
    cursor: pointer;
    font: inherit;
    font-size: 8px;
    font-weight: 800;
}
.att-contact-stage-filter button b {
    min-width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(58,33,26,.08);
    font-size: 7px;
}
.att-contact-stage-filter button.is-active {
    border-color: var(--att-earth);
    background: var(--att-earth);
    color: var(--att-ivory);
}
.att-contact-stage-filter button.is-active b {
    background: rgba(255,249,239,.14);
    color: var(--att-gold);
}

.att-contact-board {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
    align-items: start;
}
.att-contact-column {
    min-width: 0;
    min-height: 330px;
    padding: 11px;
    border: 1px solid rgba(58,33,26,.09);
    border-radius: 17px;
    background: rgba(255,255,255,.58);
}
.att-contact-column > header {
    min-height: 50px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    padding: 3px 3px 10px;
}
.att-contact-column > header strong,
.att-contact-column > header span { display: block; }
.att-contact-column > header strong { font-size: 9px; }
.att-contact-column > header span {
    margin-top: 3px;
    color: var(--att-muted);
    font-size: 7px;
    line-height: 1.35;
}
.att-contact-column > header > b {
    min-width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--att-sand);
    color: var(--att-earth);
    font-size: 7px;
}
.att-contact-column-list { display: grid; gap: 7px; }
.att-contact-stage-empty {
    padding: 18px 8px;
    color: var(--att-muted);
    text-align: center;
    font-size: 8px;
    line-height: 1.45;
}
.att-contact-card {
    display: block;
    padding: 10px;
    border: 1px solid rgba(58,33,26,.08);
    border-radius: 13px;
    background: var(--att-ivory);
    color: var(--att-earth);
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.att-contact-card:hover,
.att-contact-card:focus,
.att-contact-card.is-active {
    border-color: rgba(217,154,43,.48);
    background: #fffaf3;
    color: var(--att-earth);
    transform: translateY(-1px);
    outline: none;
}
.att-contact-card-top {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 8px;
    align-items: center;
}
.att-contact-card-top i {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--att-earth);
    color: var(--att-ivory);
    font-family: var(--att-font-display);
    font-size: 14px;
    font-style: normal;
}
.att-contact-card-top strong,
.att-contact-card-top span { display: block; }
.att-contact-card-top strong {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 9px;
    white-space: nowrap;
}
.att-contact-card-top span {
    margin-top: 2px;
    color: var(--att-muted);
    font-size: 6.5px;
}
.att-contact-card p,
.att-contact-card small {
    display: block;
    margin: 8px 0 0;
    color: var(--att-muted);
    font-size: 7px;
    line-height: 1.35;
}
.att-contact-card small {
    margin-top: 4px;
    color: #8d641d;
}

.att-contact-detail-v21 {
    padding: 22px;
    border: 1px solid rgba(58,33,26,.10);
    border-radius: 20px;
    background: rgba(255,255,255,.74);
}
.att-contact-detail-v21 .att-module-detail-head > a {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(58,33,26,.12);
    border-radius: 50%;
    color: var(--att-earth);
    text-decoration: none;
    font-size: 18px;
}
.att-contact-detail-v21 .att-module-detail-head > a:hover {
    border-color: var(--att-gold);
    background: var(--att-sand);
    color: var(--att-earth);
}
.att-contact-followup-form { max-width: 820px; }
.att-contact-detail-empty {
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--att-muted);
    text-align: left;
}
.att-contact-detail-empty > i {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(217,154,43,.10);
    color: var(--att-gold);
}
.att-contact-detail-empty > i svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}
.att-contact-detail-empty strong,
.att-contact-detail-empty span { display: block; }
.att-contact-detail-empty strong { color: var(--att-earth); font-size: 11px; }
.att-contact-detail-empty span { max-width: 470px; margin-top: 4px; font-size: 9px; line-height: 1.5; }

/* Lista de espera */
.att-waitlist-grid-v21 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.att-waitlist-grid-v21 > .att-system-empty { grid-column: 1 / -1; min-height: 330px; }
.att-waitlist-card-v21 {
    display: flex;
    flex-direction: column;
    min-height: 250px;
    padding: 18px;
    border: 1px solid rgba(58,33,26,.10);
    border-radius: 18px;
    background: rgba(255,255,255,.72);
}
.att-waitlist-card-v21 > header {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 11px;
    align-items: center;
}
.att-waitlist-card-v21 > header i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--att-earth);
    color: var(--att-ivory);
    font-family: var(--att-font-display);
    font-size: 18px;
    font-style: normal;
}
.att-waitlist-card-v21 > header strong,
.att-waitlist-card-v21 > header span { display: block; }
.att-waitlist-card-v21 > header strong { font-size: 12px; }
.att-waitlist-card-v21 > header span { margin-top: 3px; color: var(--att-muted); font-size: 8px; }
.att-waitlist-card-meta { margin-top: 16px; padding: 11px 12px; border-radius: 11px; background: var(--att-ivory); }
.att-waitlist-card-meta span,
.att-waitlist-card-meta strong { display: block; }
.att-waitlist-card-meta span { color: var(--att-muted); font-size: 7px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.att-waitlist-card-meta strong { margin-top: 3px; font-size: 10px; }
.att-waitlist-card-v21 > p { margin: 13px 0 18px; color: var(--att-muted); font-size: 9px; line-height: 1.55; }
.att-waitlist-card-v21 > footer { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.att-waitlist-card-v21 > footer a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border: 1px solid rgba(58,33,26,.12);
    border-radius: 999px;
    color: var(--att-earth);
    text-decoration: none;
    font-size: 7px;
    font-weight: 800;
}
.att-waitlist-card-v21 > footer a.is-primary {
    border-color: var(--att-earth);
    background: var(--att-earth);
    color: var(--att-ivory);
}
.att-waitlist-card-v21 > footer a:hover { border-color: var(--att-gold); }

.att-settings-static-field {
    min-height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 12px;
    border: 1px solid rgba(58,33,26,.10);
    border-radius: 11px;
    background: var(--att-ivory);
}
.att-settings-static-field > span,
.att-settings-static-field > strong,
.att-settings-static-field > small { display: block; }
.att-settings-static-field > span { color: var(--att-muted); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.att-settings-static-field > strong { margin-top: 5px; color: var(--att-earth); font-size: 12px; }
.att-settings-static-field > small { margin-top: 3px; color: var(--att-muted); font-size: 7px; line-height: 1.35; }

@media (max-width: 1180px) {
    .att-contact-board { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .att-waitlist-grid-v21 { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 820px) {
    .att-workspace-head-v21 { display: block; }
    .att-workspace-official-wa { width: max-content; margin-top: 14px; text-align: left; }
    .att-workspace-tabs-v21 { top: 62px; width: 100%; border-radius: 15px; }
    .att-workspace-tabs-v21 a { flex: 1 0 auto; justify-content: center; }
    .att-workspace-subhead { align-items: stretch; flex-direction: column; }
    .att-workspace-subhead .att-system-primary { width: 100%; justify-content: center; }
    .att-contact-stage-filter { display: flex; }
    .att-contact-board { display: block; }
    .att-contact-column { display: none; min-height: 0; }
    .att-contact-column.is-mobile-active { display: block; }
    .att-contact-detail-v21 { margin-top: 12px; }
    .att-waitlist-grid-v21 { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
    .att-workspace-head-v21 h1 { max-width: 330px; }
    .att-workspace-official-wa { min-width: 0; width: 100%; }
    .att-workspace-tabs-v21 { gap: 3px; padding: 4px; }
    .att-workspace-tabs-v21 a { min-height: 36px; padding-inline: 10px; font-size: 8px; }
    .att-workspace-subhead h2 { font-size: 30px; }
    .att-contact-detail-v21 { padding: 16px; }
    .att-contact-meta { grid-template-columns: 1fr; }
    .att-module-form-row { grid-template-columns: 1fr; }
    .att-contact-detail-empty { align-items: flex-start; justify-content: flex-start; min-height: 130px; }
}
