/* WCP application shell — deliberately isolated from the public Healthio theme. */
:root {
    --app-accent: #ac4e10;
    --app-dark: #242933;
    --app-line: #e8e9ed;
    --app-bg: #f5f6f8;
    --sidebar-width: 258px;
}
.workspace {
    background: var(--app-bg);
    color: #242933;
    font-size: 14px;
    line-height: 1.6;
}
.workspace h1,
.workspace h2,
.workspace h3,
.workspace .stat strong {
    font-family: Manrope, Arial, sans-serif;
    font-weight: 600;
    letter-spacing: -0.04em;
}
.workspace h1 {
    font-size: clamp(27px, 2.5vw, 40px);
    line-height: 1.2;
    margin-bottom: 10px;
}
.workspace h2 {
    font-size: 20px;
}
.workspace h3 {
    font-size: 18px;
}
.workspace .eyebrow {
    font-size: 10px;
    letter-spacing: 0.13em;
    color: #a5531d;
    margin-bottom: 10px;
}
.workspace .muted {
    color: #69717e;
    font-size: 12px;
}
.ui-icon {
    height: 21px;
    width: 21px;
    flex: 0 0 21px;
}
.workspace button,
.workspace .button {
    border-radius: 10px;
    min-height: 44px;
    padding: 11px 17px;
    font-size: 12px;
    gap: 9px;
    background: var(--app-accent);
    border-color: var(--app-accent);
    font-weight: 600;
}
.workspace .button.secondary {
    background: white;
    color: var(--app-dark);
    border-color: #d8dbe1;
}
.workspace .button.secondary:hover {
    background: #f5f6f8;
}
.workspace .text-button {
    background: transparent;
    border: 0;
    color: var(--app-accent);
    font-size: 12px;
    padding: 10px 0;
    min-height: 40px;
}
.workspace .text-button:hover {
    color: #783807;
}
.workspace .sidebar {
    width: var(--sidebar-width);
    background: #fff;
    color: #626b79;
    padding: 28px 18px 16px;
    border-right: 1px solid var(--app-line);
    z-index: 40;
    overflow-y: auto;
    overscroll-behavior: contain;
    gap: 0;
}
.sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 13px;
    margin-bottom: 33px;
}
.workspace .sidebar .brand {
    margin: 0;
}
.workspace .workspace-logo {
    width: 155px;
    height: 73px;
    padding: 0;
    object-fit: contain;
    border-radius: 0;
    background: white;
}
.workspace-label {
    font-size: 9px;
    letter-spacing: 0.15em;
    color: #949aa4;
    font-weight: 600;
    padding: 0 16px;
    margin-bottom: 12px;
}
.workspace .sidebar nav {
    gap: 5px;
}
.workspace .sidebar nav a {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 15px;
    border-radius: 11px;
    font-size: 12px;
    position: relative;
    min-height: 46px;
}
.workspace .sidebar nav a:hover {
    background: #f4f5f7;
    color: #242933;
}
.workspace .sidebar nav a[aria-current="page"] {
    background: #fff0e4;
    color: #994509;
    font-weight: 600;
}
.workspace .sidebar nav a[aria-current="page"]:after {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #bb5b19;
    margin-left: auto;
}
.sidebar-help {
    margin: 30px 8px 22px;
    padding: 19px;
    border: 1px solid #eee4db;
    border-radius: 17px;
    background: linear-gradient(135deg, #fff9f4, #fcf1e8);
}
.sidebar-help > .ui-icon {
    color: #b66022;
    margin-bottom: 12px;
}
.sidebar-help strong {
    display: block;
    font-size: 12px;
    color: #242933;
}
.sidebar-help p {
    font-size: 10px;
    margin: 7px 0 14px;
    line-height: 1.6;
}
.sidebar-help a {
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
    color: #994509;
}
.workspace .sidebar-bottom {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    border-top: 1px solid var(--app-line);
    padding: 18px 2px 0;
    margin-top: auto;
    font-size: 11px;
}
.user-avatar {
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f8dfc9;
    color: #8b4414;
    font-weight: 600;
}
.sidebar-bottom > div {
    min-width: 0;
    flex: 1;
}
.sidebar-bottom strong {
    display: block;
    overflow-wrap: anywhere;
    color: #242933;
    font-size: 11px;
}
.workspace .sidebar-bottom small {
    display: block;
    font-size: 9px;
    color: #8c939d;
}
.workspace .sidebar-bottom form {
    margin: 0;
}
.workspace .logout-button {
    background: transparent;
    border: 0;
    color: #69717e;
    padding: 8px;
    min-height: 40px;
}
.workspace .logout-button:hover {
    background: #f5f6f8;
    color: #242933;
}
.workspace .workspace-body {
    margin-left: var(--sidebar-width);
    min-width: 0;
}
.workspace .workspace-header {
    height: 86px;
    background: #ffffffeb;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--app-line);
    padding: 0 38px;
    position: sticky;
    top: 0;
    z-index: 25;
    gap: 20px;
}
.header-location,
.header-tools {
    display: flex;
    align-items: center;
    gap: 15px;
}
.header-location {
    font-size: 11px;
    color: #9298a2;
    min-width: 0;
}
.header-location strong {
    color: #3c4350;
    font-weight: 600;
}
.breadcrumb-divider {
    color: #c5cad0;
}
.header-tools time {
    font-size: 10px;
    color: #7f8793;
    white-space: nowrap;
}
.workspace .header-tools .button {
    min-height: 40px;
    padding: 10px 15px;
}
.header-tools .ui-icon {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
}
.workspace .workspace-menu,
.workspace .sidebar-close,
.sidebar-scrim {
    display: none;
}
.workspace .workspace-main {
    max-width: none;
    padding: 36px 38px 70px;
    min-height: calc(100vh - 86px);
}
.workspace .page-heading {
    margin-bottom: 27px;
}
.workspace .page-heading > p:last-child {
    max-width: 720px;
    font-size: 12px;
    color: #7a8290;
    margin: 0;
}
.workspace .panel {
    border: 1px solid var(--app-line);
    box-shadow: 0 3px 12px #24293303;
    border-radius: 18px;
    padding: 25px;
    margin-bottom: 22px;
    min-width: 0;
}
.workspace .panel h2 {
    font-family: Manrope, Arial, sans-serif;
    font-size: 17px;
    margin-bottom: 19px;
}
.workspace .panel h3 {
    font-size: 20px;
}
.workspace .panel p {
    font-size: 12px;
}
.workspace .section-heading {
    margin-bottom: 21px;
    gap: 12px;
}
.workspace .section-heading h2 {
    margin: 0;
}
.workspace .section-heading > a {
    font-size: 10px;
    color: #95501e;
    text-decoration: none;
}
.workspace .stats {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 185px), 1fr));
    gap: 18px;
    margin-bottom: 25px;
}
.workspace .stat {
    border: 1px solid var(--app-line);
    border-radius: 17px;
    background: white !important;
    padding: 22px;
    gap: 12px;
    min-width: 0;
}
.workspace .stat > span {
    font-size: 11px;
    color: #7c8492;
}
.workspace .stat strong {
    font-size: 32px;
    color: #242933;
    overflow-wrap: anywhere;
}
.workspace .stat a {
    font-size: 14px;
}
.workspace .stat.accent {
    background: #242933 !important;
    color: white;
    border-color: #242933;
}
.workspace .stat.accent > span,
.workspace .stat.accent strong {
    color: white;
}
.stat-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #737d8a;
}
.stat-icon {
    background: #fff0e4;
    padding: 9px;
    border-radius: 11px;
    color: #af5820;
    display: grid;
    place-items: center;
}
.stat small {
    font-size: 10px;
    color: #8a919d;
}
.dashboard-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    background: #fff;
    border: 1px solid var(--app-line);
    border-radius: 20px;
    padding: 28px 32px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}
.dashboard-hero:after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    border: 45px solid #f8dfc94a;
    border-radius: 50%;
    right: 30px;
    top: -85px;
    pointer-events: none;
}
.dashboard-hero > * {
    position: relative;
    z-index: 1;
}
.dashboard-hero h1 {
    font-size: 32px;
    margin: 0 0 10px;
}
.dashboard-hero p:last-child {
    font-size: 12px;
    color: #7a8290;
    margin: 0;
}
.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
    gap: 22px;
    align-items: start;
}
.workspace .two-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.workspace .narrow {
    max-width: 850px;
}
.workspace .list-row {
    padding: 17px 0;
    gap: 14px;
    font-size: 12px;
    overflow-wrap: anywhere;
}
.workspace .list-row > div {
    min-width: 0;
}
.workspace .list-row p {
    font-size: 11px;
}
.workspace .list-row > span {
    font-size: 11px;
    color: #747e8b;
}
.session-date {
    width: 49px;
    flex: 0 0 49px;
    border-radius: 11px;
    background: #fff3e9;
    text-align: center;
    padding: 9px 5px;
}
.session-date strong {
    display: block;
    font-size: 19px;
    line-height: 1.2;
    color: #954718;
}
.session-date small {
    font-size: 9px;
    color: #a27655;
}
.session-info {
    flex: 1;
}
.workspace .badge {
    font-size: 9px;
    border-radius: 6px;
    background: #ecf4ef;
    color: #367755;
    padding: 5px 9px;
}
.workspace .badge.waiting {
    background: #fff1dc;
    color: #966216;
}
.workspace .empty {
    padding: 36px 14px;
}
.workspace .empty h2 {
    font-size: 19px;
    margin: 12px 0;
}
.workspace .empty p {
    font-size: 11px;
    max-width: 330px;
}
.workspace .empty-mark {
    display: grid;
    place-items: center;
    background: #f5f6f8;
    border-radius: 18px;
    width: 58px;
    height: 58px;
    margin: auto;
    color: #a0a8b2;
    font-size: 29px;
}
.quick-links {
    display: grid;
    gap: 12px;
}
.quick-link {
    display: flex;
    align-items: center;
    gap: 13px;
    border: 1px solid var(--app-line);
    border-radius: 12px;
    padding: 15px;
    text-decoration: none;
    font-size: 12px;
}
.quick-link:hover {
    background: #fff8f1;
    border-color: #edd5c2;
}
.quick-link .ui-icon {
    color: #a24d16;
}
.quick-link > span:last-child {
    margin-left: auto;
}
.quick-link small {
    display: block;
    font-size: 10px;
    color: #88909b;
    margin-top: 3px;
}
.connection-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--app-line);
    padding: 14px 0;
    gap: 15px;
    font-size: 11px;
}
.connection-row strong {
    font-size: 10px;
    font-weight: 600;
    text-align: right;
}
.connection-row:last-of-type {
    border-bottom: 0;
}
.progress-row {
    display: grid;
    grid-template-columns: 100px 1fr 25px;
    align-items: center;
    gap: 14px;
    margin: 18px 0;
    font-size: 10px;
}
.progress-row meter {
    width: 100%;
    height: 10px;
    appearance: none;
}
.progress-row meter::-webkit-meter-bar {
    background: #f2f3f5;
    border: 0;
    border-radius: 12px;
}
.progress-row meter::-webkit-meter-optimum-value {
    background: #c9783f;
    border-radius: 12px;
}
.workspace .stack {
    gap: 17px;
}
.workspace .stack label {
    font-size: 11px;
    color: #505b6a;
    font-weight: 600;
    gap: 8px;
}
.workspace input,
.workspace select,
.workspace textarea {
    border: 1px solid #dce0e6;
    background: #fff;
    border-radius: 9px;
    padding: 12px;
    font-size: 12px;
    min-height: 43px;
    box-shadow: none;
}
.workspace input:focus,
.workspace select:focus,
.workspace textarea:focus {
    border-color: #b77b51;
    outline: 3px solid #f8dfc980;
    outline-offset: 1px;
}
.workspace textarea {
    min-height: 120px;
    line-height: 1.6;
}
.workspace .stack .check {
    font-weight: 400;
    font-size: 12px;
}
.workspace input[type="checkbox"] {
    min-height: 18px;
    margin-top: 2px;
}
.workspace .notice {
    max-width: none;
    margin: 0 0 22px;
    border-radius: 12px;
    background: #edf5ee;
    border-color: #cfe3d1;
    font-size: 12px;
}
.workspace .notice.error {
    background: #fff0ed;
    border-color: #efcec7;
}
.workspace .tabs {
    padding: 5px;
    border: 1px solid var(--app-line);
    border-radius: 13px;
    background: #fff;
    display: inline-flex;
    max-width: 100%;
    gap: 3px;
}
.workspace .tabs a {
    background: transparent;
    font-size: 11px;
    border-radius: 9px;
    padding: 10px 16px;
}
.workspace .tabs a[aria-current="page"] {
    background: #242933;
    color: #fff;
}
.workspace .tabs a:hover {
    background: #fff0e4;
    color: #994509;
}
.workspace .inbox {
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 0;
    border: 1px solid var(--app-line);
    border-radius: 18px;
    overflow: hidden;
    background: white;
    min-height: 630px;
}
.workspace .inbox > .panel {
    border: 0;
    border-radius: 0;
    margin: 0;
    box-shadow: none;
}
.workspace .thread-list {
    border-right: 1px solid var(--app-line) !important;
    padding: 18px 12px;
    max-height: 850px;
}
.thread-search {
    margin-bottom: 16px;
}
.workspace .thread {
    border: 0;
    border-radius: 12px;
    padding: 16px 13px;
    margin: 5px 0;
    font-size: 12px;
    gap: 5px;
}
.workspace .thread:hover {
    background: #f6f7f9;
}
.workspace .thread[aria-current="page"] {
    background: #fff1e6;
    border-left: 3px solid #b05a1e;
}
.workspace .thread small {
    font-size: 10px;
}
.workspace .chat {
    padding: 25px;
    min-width: 0;
}
.workspace .messages {
    height: 370px;
    background: #f6f7fa;
    border-radius: 14px;
    padding: 22px;
    gap: 16px;
}
.workspace .message {
    border: 0;
    border-radius: 14px 14px 14px 3px;
    box-shadow: 0 2px 5px #24293305;
    font-size: 12px;
    max-width: 88%;
}
.workspace .message p {
    font-size: 12px;
}
.workspace .message.agent,
.workspace .message.ai {
    background: #f7e5d6;
    border-radius: 14px 14px 3px 14px;
}
.workspace .message.note {
    background: #fff2cb;
    border: 1px dashed #e5c889;
    border-radius: 10px;
}
.workspace .message small {
    font-size: 9px;
}
.workspace #chat-status {
    font-size: 10px;
}
.workspace .chat .stack {
    gap: 13px;
}
.workspace .chat textarea {
    min-height: 100px;
}
.workspace .booking {
    border-radius: 16px;
}
.workspace .booking summary {
    font-size: 12px;
}
.workspace .booking summary small {
    font-size: 10px;
}
.workspace .token {
    border-radius: 10px;
    background: #f6f1eb;
}
.branding-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
}
.logo-preview {
    background: repeating-conic-gradient(#f1f2f4 0 25%, #fff 0 50%) 0/20px 20px;
    border: 1px solid var(--app-line);
    border-radius: 13px;
    padding: 24px;
    max-width: 350px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.workspace .upload-zone {
    border: 1px dashed #cbb29f;
    border-radius: 13px;
    background: #fffaf6;
    padding: 20px;
}
.upload-zone span {
    font-size: 10px;
    color: #8b7b70;
    font-weight: 400;
}
.workspace input[type="file"] {
    background: transparent;
    border: 0;
    padding: 10px 0;
    min-height: 0;
}
.workspace input[type="file"]::file-selector-button {
    border: 1px solid #dfc7b5;
    border-radius: 7px;
    padding: 8px 12px;
    background: #fff;
    color: #95501e;
    font: inherit;
    margin-right: 10px;
}
.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}
.filter-bar input {
    max-width: 320px;
}
.filter-count {
    font-size: 10px;
    color: #858e99;
}
[hidden] {
    display: none !important;
}
@media (min-width: 1800px) {
    :root {
        --sidebar-width: 280px;
    }
    .workspace .workspace-main {
        padding: 45px 55px 80px;
    }
    .workspace .workspace-header {
        padding: 0 55px;
    }
    .workspace .panel {
        padding: 30px;
    }
}
@media (max-width: 1200px) {
    :root {
        --sidebar-width: 230px;
    }
    .workspace .workspace-main {
        padding: 28px 24px 60px;
    }
    .workspace .workspace-header {
        padding: 0 24px;
    }
    .workspace .sidebar {
        padding-left: 12px;
        padding-right: 12px;
    }
    .dashboard-grid {
        grid-template-columns: minmax(0, 1.3fr) minmax(250px, 1fr);
    }
    .header-tools time {
        display: none;
    }
    .workspace .inbox {
        grid-template-columns: 230px minmax(0, 1fr);
    }
    .workspace .panel {
        padding: 22px;
    }
    .workspace .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .dashboard-hero {
        padding: 25px;
    }
    .dashboard-hero h1 {
        font-size: 28px;
    }
}
@media (max-width: 1000px) {
    .workspace .sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        width: 278px;
        max-width: calc(100vw - 38px);
        height: 100dvh;
        transform: translateX(-102%);
        transition: transform 0.2s ease;
    }
    .workspace.nav-open .sidebar {
        transform: translateX(0);
    }
    .workspace .sidebar nav {
        flex-direction: column;
        overflow: visible;
    }
    .workspace .sidebar nav a {
        white-space: normal;
    }
    .workspace .sidebar-bottom {
        display: flex;
        flex-direction: row;
    }
    .workspace .workspace-body {
        margin-left: 0;
    }
    .workspace .sidebar-help {
        display: block;
    }
    .workspace .workspace-menu,
    .workspace .sidebar-close {
        display: inline-grid;
        place-items: center;
        width: 40px;
        height: 40px;
        padding: 8px;
        min-height: 40px;
        border: 0;
        background: transparent;
        color: #626b79;
        border-radius: 9px;
    }
    .workspace .workspace-menu:hover,
    .workspace .sidebar-close:hover {
        background: #f5f6f8;
    }
    .sidebar-scrim:not([hidden]) {
        display: block;
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100%;
        background: #17202d66;
        border: 0;
        border-radius: 0;
        z-index: 35;
    }
    .workspace.nav-open {
        overflow: hidden;
    }
    .workspace .workspace-header {
        height: 76px;
    }
    .workspace .workspace-main {
        min-height: calc(100vh - 76px);
    }
    .header-location {
        gap: 12px;
    }
    .workspace .sidebar .brand {
        margin: 0;
    }
}
@media (max-width: 720px) {
    .dashboard-grid,
    .workspace .two-columns,
    .branding-panel {
        grid-template-columns: 1fr;
    }
    .workspace .workspace-main {
        padding: 24px 18px 45px;
    }
    .workspace .workspace-header {
        padding: 0 15px;
        gap: 8px;
    }
    .header-location > span {
        display: none;
    }
    .header-location strong {
        font-size: 11px;
    }
    .workspace .header-tools .button {
        font-size: 10px;
        padding: 9px 11px;
        min-height: 38px;
    }
    .header-tools .ui-icon {
        display: none;
    }
    .dashboard-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }
    .dashboard-hero h1 {
        font-size: 27px;
    }
    .dashboard-hero .button {
        align-self: flex-start;
    }
    .workspace .page-heading h1 {
        font-size: 28px;
    }
    .workspace .inbox {
        grid-template-columns: 1fr;
    }
    .workspace .thread-list {
        max-height: 265px;
        border-right: 0 !important;
        border-bottom: 1px solid var(--app-line) !important;
        padding: 16px;
    }
    .workspace .chat {
        padding: 18px;
    }
    .workspace .messages {
        height: 350px;
        padding: 14px;
    }
    .workspace .section-heading {
        flex-direction: row;
        align-items: center;
    }
    .workspace .list-row {
        flex-wrap: wrap;
    }
    .session-info {
        min-width: 135px !important;
    }
    .workspace .list-row .badge {
        margin-left: auto;
    }
    .workspace .panel {
        padding: 21px;
    }
    .workspace .stats {
        gap: 12px;
    }
    .workspace .stat {
        padding: 18px;
    }
    .workspace .stat strong {
        font-size: 28px;
    }
    .stat-top {
        font-size: 10px;
    }
    .stat-icon {
        padding: 6px;
    }
    .stat-icon .ui-icon {
        width: 18px;
        height: 18px;
    }
    .filter-bar {
        flex-wrap: wrap;
        gap: 8px;
    }
    .filter-bar input {
        max-width: none;
    }
    .workspace .tabs {
        display: flex;
        overflow: auto;
        flex-wrap: nowrap;
    }
    .workspace .tabs a {
        white-space: nowrap;
        font-size: 10px;
        padding: 10px 12px;
    }
    .workspace .branding-panel {
        gap: 25px;
    }
    .workspace .sidebar-bottom small {
        display: block;
    }
}
@media (max-width: 370px) {
    .workspace .header-tools .button {
        max-width: 130px;
        line-height: 1.3;
    }
    .workspace .workspace-main {
        padding: 20px 12px;
    }
    .workspace .stats {
        grid-template-columns: 1fr;
    }
    .header-location {
        gap: 5px;
    }
    .workspace .panel {
        padding: 18px;
    }
    .workspace .workspace-header {
        padding: 0 8px;
    }
    .workspace .messages {
        height: 320px;
    }
    .workspace .message {
        max-width: 95%;
    }
}
@media (prefers-reduced-motion: reduce) {
    .workspace * {
        transition: none !important;
        animation: none !important;
    }
}
@media print {
    .workspace .sidebar,
    .workspace .workspace-header,
    .sidebar-scrim {
        display: none !important;
    }
    .workspace .workspace-body {
        margin: 0;
    }
    .workspace .workspace-main {
        padding: 0;
    }
    .workspace .dashboard-grid,
    .workspace .two-columns {
        display: block;
    }
}
.next-session {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: #f8f9fb;
    border-radius: 14px;
    margin-bottom: 22px;
}
.next-session h3 {
    margin: 12px 0 8px;
}
.next-session p {
    margin: 0;
    color: #7a8390;
}
.preparation-list article {
    display: flex;
    gap: 18px;
    padding: 17px 0;
    border-bottom: 1px solid var(--app-line);
}
.preparation-list article:last-child {
    border: 0;
}
.preparation-list article > span {
    color: #b05a1e;
    font-size: 11px;
    padding-top: 2px;
}
.preparation-list strong {
    font-size: 12px;
}
.preparation-list p {
    font-size: 11px !important;
    color: #858e99;
    margin: 6px 0 0;
}
.workspace .personal-note {
    background: #fff3e9;
    border-color: #f2dfce;
}
.workspace .personal-note h2 {
    font-size: 23px;
    line-height: 1.4;
}
.personal-note .link {
    font-size: 11px;
}
.workspace-client .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.workspace-client .stat.accent strong {
    font-size: 21px;
}
.workspace-client .stat.accent .button {
    font-size: 11px;
    background: #fff;
    color: #242933;
    border-color: #fff;
    align-self: flex-start;
    min-height: 38px;
    padding: 9px 12px;
}
.workspace .personal-note p {
    color: #8f735e;
}
@media (max-width: 720px) {
    .workspace-client .stats {
        grid-template-columns: 1fr 1fr;
    }
    .workspace-client .stat.accent {
        grid-column: 1/-1;
    }
    .next-session {
        align-items: flex-start;
        gap: 15px;
        padding: 16px;
    }
}
@media (max-width: 370px) {
    .workspace-client .stats {
        grid-template-columns: 1fr;
    }
}

.content-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.content-fields label {
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--line, #e7e5df);
    border-radius: 16px;
}
.content-fields small {
    color: #687069;
    font-weight: 400;
    overflow-wrap: anywhere;
}
.media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.media-preview {
    height: 220px;
    display: grid;
    place-items: center;
    background: #f2f3ee;
    border-radius: 14px;
    margin-bottom: 24px;
    overflow: hidden;
}
.media-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.media-editor {
    min-width: 0;
}
.media-editor h2 {
    overflow-wrap: anywhere;
}
@media (max-width: 720px) {
    .content-fields,
    .media-grid {
        grid-template-columns: 1fr;
    }
}

.wcp-bell { position: relative; }
.wcp-bell summary { display: grid; place-items: center; width: 40px; height: 40px; cursor: pointer; list-style: none; }
.wcp-bell summary::-webkit-details-marker { display: none; }
.wcp-bell {
    --bs-inactif: #dc2000;
}
.redo {
    position: absolute;
    top: 0rem;
    left: 1.2rem;
    background: var(--bs-inactif);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    line-height: 1;
    white-space: nowrap;
}
.wcp-bell [hidden] { display: none; }
.wcp-bell section { position: absolute; top: 100%; right: 0; z-index: 20; width: min(340px, 88vw); padding: 16px; border: 1px solid #ddd; border-radius: 14px; background: white; color: #242833; box-shadow: 0 8px 25px #2222; }
.wcp-bell button { font: inherit; color: inherit; cursor: pointer; background: transparent; border: 0; }
.wcp-bell [data-all] { text-decoration: underline; font-size: 12px; }
.wcp-bell [data-list] { margin-top: 10px; max-height: 50vh; overflow: auto; }
.wcp-bell [data-list] button { display: block; width: 100%; text-align: left; padding: 9px; border-bottom: 1px solid #eee; }
.wcp-bell .unread { font-weight: 700; border-inline-start: 3px solid #ff8500; }
@media (max-width: 650px) { .wcp-bell section { position: fixed; top: auto; right: 4vw; } }
.workspace progress, .workspace meter { accent-color: #ff8500; }
.workspace progress { margin-top: 10px; appearance: none; background: #ececef; border: 0; border-radius: 1em; overflow: hidden; }
.workspace [data-update-progress] progress { display: block; width: 100%; box-sizing: border-box; }
.workspace progress::-webkit-progress-bar { background: #ececef; }
.workspace progress::-webkit-progress-value, .workspace .progress-row meter::-webkit-meter-optimum-value { background: #ff8500; transition: width .35s ease-out; }
.workspace progress::-moz-progress-bar { background: #ff8500; }
.workspace meter::-moz-meter-bar { background: #ff8500; }
@media (prefers-reduced-motion: reduce) { .workspace progress::-webkit-progress-value, .workspace .progress-row meter::-webkit-meter-optimum-value { transition: none; } }
.workspace meter::-webkit-meter-optimum-value,
.workspace meter::-webkit-meter-suboptimum-value,
.workspace meter::-webkit-meter-even-less-good-value { background: #ff8500; transition: width .35s ease-out; }
@media (prefers-reduced-motion: reduce) {
    .workspace meter::-webkit-meter-optimum-value,
    .workspace meter::-webkit-meter-suboptimum-value,
    .workspace meter::-webkit-meter-even-less-good-value { transition: none; }
}
@media (min-width: 651px) { .wcp-bell.align-start section { left: 0; right: auto; } }
