/* Tranquil Moments Admin v3 */
.admin-shell{background:#f5f2f0!important;color:#352a31!important;padding-bottom:0!important}
.admin-shell>.tm-site-header,.admin-shell>.site-header,.admin-shell>.site-footer,.admin-shell>.mobile-tabbar{display:none!important}
.admin-shell main{min-height:100vh}
.admin-shell .flash{position:fixed;top:18px;right:18px;left:auto;transform:none;z-index:9000;border-radius:12px}

.adm3-app{min-height:100vh;display:grid;grid-template-columns:250px minmax(0,1fr)}
.adm3-sidebar{position:fixed;inset:0 auto 0 0;width:250px;z-index:300;padding:20px 15px;display:flex;flex-direction:column;background:#32222b;color:#fff}
.adm3-brand{display:flex;gap:11px;align-items:center;padding:4px 7px 20px;border-bottom:1px solid rgba(255,255,255,.1);color:#fff;text-decoration:none}
.adm3-brand img{width:49px;height:49px;object-fit:contain;border-radius:50%;background:#fff}
.adm3-brand span{display:flex;flex-direction:column}
.adm3-brand strong{font:600 .89rem "Playfair Display",serif}
.adm3-brand small{margin-top:3px;color:#d3c0c9;font-size:.57rem;letter-spacing:.12em;text-transform:uppercase}
.adm3-nav{display:grid;gap:5px;margin-top:22px}
.adm3-nav a{display:flex;align-items:center;gap:11px;min-height:45px;padding:0 12px;border-radius:10px;color:#d8cbd1;text-decoration:none;font-size:.73rem;font-weight:600}
.adm3-nav a span{width:23px;text-align:center}
.adm3-nav a:hover,.adm3-nav a.is-active{background:rgba(255,255,255,.1);color:#fff}
.adm3-nav a.is-active{box-shadow:inset 3px 0 #e7a9b6}
.adm3-side-footer{margin-top:auto;display:grid;gap:7px;padding:16px 7px 0;border-top:1px solid rgba(255,255,255,.1)}
.adm3-side-footer a{color:#d5c5cc;text-decoration:none;font-size:.68rem}

.adm3-main{grid-column:2;min-width:0}
.adm3-topbar{position:sticky;top:0;z-index:150;height:70px;padding:0 clamp(18px,4vw,48px);display:flex;align-items:center;gap:13px;background:rgba(255,255,255,.94);border-bottom:1px solid #e7dfe2;backdrop-filter:blur(14px)}
.adm3-topbar>div{display:flex;flex-direction:column}
.adm3-topbar strong{color:#5b2e4a;font:600 .88rem "Playfair Display",serif}
.adm3-topbar small{color:#8c7881;font-size:.6rem}
.adm3-user{margin-left:auto;width:32px;height:32px;border:7px solid #f3e6e8;border-radius:50%;background:#a56a7f}
.adm3-menu{display:none;width:40px;height:40px;border:1px solid #ddd3d7;border-radius:9px;background:#fff;color:#5b2e4a}

.adm3-content{max-width:1500px;margin:auto;padding:clamp(22px,4vw,48px)}
.adm3-page-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:24px}
.adm3-page-head h1{margin:.15rem 0 .45rem;font-size:clamp(2rem,4vw,3.5rem)}
.adm3-page-head p:last-child{margin:0;color:#806f78}
.adm3-kicker{margin:0!important;color:#a56a7f!important;font-size:.61rem!important;font-weight:700;letter-spacing:.17em;text-transform:uppercase}
.adm3-quick-actions{display:flex;gap:8px}

.adm3-btn{min-height:42px;display:inline-flex;align-items:center;justify-content:center;padding:0 16px;border:1px solid transparent;border-radius:9px;cursor:pointer;text-decoration:none;font:700 .64rem Montserrat,sans-serif;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap}
.adm3-btn-primary{background:#5b2e4a;color:#fff}
.adm3-btn-secondary{background:#fff;color:#5b2e4a;border-color:#ddd2d6}
.adm3-btn-danger{background:#a83250;color:#fff}

.adm3-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:22px}
.adm3-stats>a,.adm3-stats>div{min-height:119px;padding:18px;display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto;column-gap:13px;align-items:center;border:1px solid #e6dde0;border-radius:16px;background:#fff;color:inherit;text-decoration:none}
.adm3-stats span{grid-row:1/3;width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#f4e5e8;color:#7b465d}
.adm3-stats strong{font:600 1.9rem/1 "Playfair Display",serif;color:#5b2e4a}
.adm3-stats small{color:#89767f;font-size:.64rem}

.adm3-panel{overflow:hidden;border:1px solid #e6dde0;border-radius:17px;background:#fff;box-shadow:0 11px 28px rgba(66,38,53,.04)}
.adm3-panel-head,.adm3-toolbar{min-height:72px;padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #eee7e9}
.adm3-panel-head h2{margin:0 0 3px;font-size:1.4rem}
.adm3-panel-head p{margin:0;color:#8d7982;font-size:.72rem}
.adm3-panel-head a{color:#6d3a51;text-decoration:none;font-size:.67rem;font-weight:700;text-transform:uppercase}
.adm3-toolbar-wide{justify-content:flex-start}
.adm3-search{position:relative;min-width:280px;flex:1;max-width:470px}
.adm3-search span{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#9a858e}
.adm3-search input,.adm3-select-wrap select{width:100%;height:41px;border:1px solid #ddd3d7;border-radius:9px;background:#fbf9f8;color:#3b2d34;font:inherit;outline:none}
.adm3-search input{padding:0 12px 0 35px}
.adm3-select-wrap{display:flex;align-items:center;gap:8px;color:#806d76;font-size:.65rem;font-weight:700}
.adm3-select-wrap select{width:190px;padding:0 10px}
.adm3-toolbar>span{margin-left:auto;color:#907d86;font-size:.66rem}

.adm3-table-wrap{overflow-x:auto}
.adm3-table{width:100%;border-collapse:collapse}
.adm3-table th{padding:12px 16px;background:#fbf9f8;color:#8c7881;text-align:left;font-size:.58rem;letter-spacing:.08em;text-transform:uppercase}
.adm3-table td{padding:15px 16px;border-top:1px solid #eee8ea;color:#493b42;font-size:.73rem}
.adm3-table td strong{color:#422d38}
.adm3-table a{color:#75435a}
.adm3-badge{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;font-style:normal;font-size:.55rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase}
.adm3-badge:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}
.adm3-badge.is-live{background:#eaf5ee;color:#31734a}
.adm3-badge.is-new{background:#f5e4e9;color:#993753}
.adm3-badge.is-hidden{background:#f0edef;color:#786c72}

.adm3-desktop-list{display:block}
.adm3-list-head,.adm3-list-row{display:grid;grid-template-columns:42px minmax(230px,1fr) 120px 120px 210px;align-items:center}
.adm3-list-head{min-height:42px;padding:0 14px;background:#fbf9f8;color:#8b7780;font-size:.58rem;letter-spacing:.08em;text-transform:uppercase}
.adm3-list-row{min-height:74px;padding:10px 14px;border-top:1px solid #eee8ea;color:#4a3c43;font-size:.71rem}
.adm3-list-row>div>strong,.adm3-list-row>strong{display:block;color:#422d38}
.adm3-list-row small{display:block;margin-top:3px;color:#94818a;font-size:.61rem}
.adm3-treatment-head,.adm3-treatment-row{grid-template-columns:42px minmax(220px,1.2fr) 120px 92px 105px 95px 255px}
.adm3-name-cell{display:flex;align-items:center;gap:11px}
.adm3-name-cell img{width:42px;height:42px;object-fit:contain}
.adm3-drag{width:31px;height:34px;border:0;background:transparent;color:#9b8790;cursor:grab}
.adm3-actions{display:flex;justify-content:flex-end;gap:6px}
.adm3-actions form{display:flex;margin:0}
.adm3-actions button{height:35px;display:inline-flex;align-items:center;justify-content:center;padding:0 10px;border:1px solid #ddd3d7;border-radius:7px;background:#fff;color:#63364b;cursor:pointer;font:700 .57rem Montserrat,sans-serif}
.adm3-actions button.is-danger{color:#9d2948}
.adm3-actions button:disabled{opacity:.4;cursor:not-allowed}
.adm3-list-row.is-dragging{opacity:.4}

.adm3-mobile-cards{display:none}
.adm3-mobile-card{padding:14px;border-top:1px solid #eee8ea}
.adm3-mobile-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.adm3-mobile-card-head>div{min-width:0}
.adm3-mobile-card-head strong{display:block;color:#422d38}
.adm3-mobile-card-head small{display:block;margin-top:3px;color:#917e87;font-size:.61rem}
.adm3-mobile-meta{display:flex;align-items:center;justify-content:space-between;margin-top:11px;padding:10px 0;border-top:1px solid #f0eaec;color:#806e77;font-size:.65rem}
.adm3-mobile-meta strong{font:600 1.1rem "Playfair Display",serif;color:#5b2e4a}
.adm3-mobile-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.adm3-mobile-actions-three{grid-template-columns:repeat(3,1fr)}
.adm3-mobile-actions form{display:block;margin:0}
.adm3-mobile-actions button{width:100%;height:37px;display:flex;align-items:center;justify-content:center;border:1px solid #ddd2d6;border-radius:8px;background:#fff;color:#63364b;font:700 .56rem Montserrat,sans-serif}
.adm3-mobile-actions button.is-danger{color:#9d2948}

.adm3-drawer{position:fixed;inset:0;z-index:5000;display:none}
.adm3-drawer.is-open{display:block}
.adm3-drawer-backdrop{position:absolute;inset:0;background:rgba(38,24,31,.55);backdrop-filter:blur(4px)}
.adm3-drawer-panel{position:absolute;top:0;right:0;width:min(520px,100%);height:100%;display:flex;flex-direction:column;background:#fff;box-shadow:-25px 0 70px rgba(35,20,28,.25);animation:adm3Slide .2s ease-out}
.adm3-drawer-wide{width:min(880px,100%)}
@keyframes adm3Slide{from{transform:translateX(30px);opacity:.5}}
.adm3-drawer-panel>header{min-height:82px;padding:18px 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eee7e9}
.adm3-drawer-panel>header h2{margin:.15rem 0 0;font-size:1.5rem}
.adm3-drawer-panel>header>button{width:37px;height:37px;border:1px solid #ddd3d7;border-radius:50%;background:#fff;color:#654655;font-size:1.4rem}
.adm3-drawer-panel form{display:grid;gap:15px;padding:22px;overflow:auto}
.adm3-drawer-panel form>label,.adm3-form-grid label{display:grid;gap:7px;color:#5d4350;font-size:.62rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.adm3-drawer-panel input,.adm3-drawer-panel textarea,.adm3-drawer-panel select{width:100%;min-height:43px;padding:10px 11px;border:1px solid #ddd2d6;border-radius:8px;background:#fcfbfa;color:#332931;font:inherit;outline:none}
.adm3-drawer-panel textarea{resize:vertical}
.adm3-drawer-panel small{color:#95838b;font-size:.58rem;text-transform:none;letter-spacing:0}
.adm3-drawer-panel footer{display:flex;justify-content:flex-end;gap:8px;margin-top:auto;padding:16px 22px;border-top:1px solid #eee7e9;background:#fcfaf9}
.adm3-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.adm3-money{position:relative}
.adm3-money input{padding-left:25px}
.adm3-editor{display:grid;grid-template-columns:minmax(0,1fr) 310px;min-height:0;overflow:auto}
.adm3-editor>form{min-width:0}
.adm3-preview{padding:22px;border-left:1px solid #eee7e9;background:#faf7f6}
.adm3-preview>div{margin-top:15px;padding:20px;border:1px solid #eadfe3;border-radius:16px;background:#fff}
.adm3-preview h3{margin:.5rem 0 .7rem;font-size:1.3rem}
.adm3-preview p{min-height:50px;margin:0;color:#75636c;font-size:.7rem}
.adm3-preview footer{display:flex;justify-content:space-between;margin-top:16px;padding:13px 0 0;border-top:1px solid #eee7e9;background:none}
.adm3-preview footer strong{font:600 1.15rem "Playfair Display",serif;color:#5b2e4a}
.adm3-switch{display:flex!important;align-items:center!important;grid-template-columns:none!important;gap:10px!important;padding:12px;border:1px solid #e4dbde;border-radius:10px;cursor:pointer}
.adm3-switch>input{position:absolute;opacity:0}
.adm3-switch>span{width:40px;height:22px;flex:0 0 40px;padding:3px;border-radius:999px;background:#ccc0c5}
.adm3-switch>span:after{content:"";display:block;width:16px;height:16px;border-radius:50%;background:#fff;transition:.18s}
.adm3-switch>input:checked+span{background:#8c536b}
.adm3-switch>input:checked+span:after{transform:translateX(18px)}
.adm3-switch em{display:flex;flex-direction:column;font-style:normal;text-transform:none;letter-spacing:0}
.adm3-switch em strong{font-size:.67rem}
.adm3-switch em small{margin-top:2px}

.adm3-modal{position:fixed;inset:0;z-index:6000;display:none;align-items:center;justify-content:center;padding:20px}
.adm3-modal.is-open{display:flex}
.adm3-modal-backdrop{position:absolute;inset:0;background:rgba(38,24,31,.6)}
.adm3-modal>section{position:relative;width:min(460px,100%);border-radius:17px;background:#fff;box-shadow:0 25px 70px rgba(35,20,28,.28)}
.adm3-modal header{padding:20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eee7e9}
.adm3-modal header h2{margin:.15rem 0 0;font-size:1.4rem}
.adm3-modal header button{width:35px;height:35px;border:1px solid #ddd3d7;border-radius:50%;background:#fff;font-size:1.3rem}
.adm3-delete-copy{padding:22px}
.adm3-delete-copy strong{display:block;margin-bottom:7px}
.adm3-delete-copy p{margin:0;color:#806f77}
.adm3-modal footer{display:flex;justify-content:flex-end;gap:8px;padding:15px 20px;border-top:1px solid #eee7e9;background:#fcfaf9}
.adm3-danger{color:#a83250!important}

.adm3-enquiries article{display:grid;grid-template-columns:1fr auto;border-top:1px solid #eee7e9}
.adm3-enquiries article:first-child{border-top:0}
.adm3-enquiries article.is-unread{background:#fdf8f9;box-shadow:inset 3px 0 #a56a7f}
.adm3-enquiries article>button{display:grid;grid-template-columns:42px 1fr auto;gap:13px;align-items:start;padding:17px 19px;border:0;background:transparent;text-align:left}
.adm3-enquiries article>button>span{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#f1dfe3;color:#6c3a51;font:700 1rem "Playfair Display",serif}
.adm3-enquiries article>button strong{display:flex;align-items:center;gap:7px;color:#472f3b}
.adm3-enquiries article>button strong i{padding:3px 6px;border-radius:999px;background:#a56a7f;color:#fff;font:700 .48rem Montserrat,sans-serif;text-transform:uppercase}
.adm3-enquiries article>button small{display:block;margin:3px 0 6px;color:#907c85}
.adm3-enquiries article>button p{margin:0;color:#6e5c64;font-size:.71rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.adm3-enquiries article>button time{color:#9c8991;font-size:.59rem}
.adm3-enquiries article>div{display:flex;align-items:center;gap:6px;padding:0 17px}
.adm3-enquiries article>div form{margin:0}
.adm3-enquiries article>div button{height:34px;padding:0 10px;border:1px solid #ddd2d6;border-radius:7px;background:#fff;color:#63364b;font:700 .56rem Montserrat,sans-serif}
.adm3-enquiry-detail{display:grid;gap:7px;padding:22px}
.adm3-enquiry-detail a,.adm3-enquiry-detail time{color:#75465b;font-size:.7rem;text-decoration:none}
.adm3-enquiry-detail p{margin:12px 0 0;color:#514149;white-space:pre-wrap}

.adm3-login{min-height:100vh;display:grid;place-items:center;padding:22px;background:radial-gradient(circle at top right,rgba(231,169,182,.15),transparent 32rem),#f8f4f2}
.adm3-login>div{width:min(460px,100%);padding:36px;border:1px solid #eadfe3;border-radius:22px;background:#fff;box-shadow:0 25px 65px rgba(65,38,53,.1);text-align:center}
.adm3-login img{width:130px;margin:0 auto 17px}
.adm3-login h1{margin:.3rem 0 .75rem;font-size:2.4rem}
.adm3-login>div>p:not(.adm3-kicker){color:#806f77}
.adm3-login form{display:grid;gap:14px;margin:22px 0;text-align:left}
.adm3-login label{display:grid;gap:7px;color:#5d4350;font-size:.63rem;font-weight:700;text-transform:uppercase}
.adm3-login input{height:45px;padding:0 12px;border:1px solid #ddd2d6;border-radius:9px;font:inherit}
.adm3-login form .adm3-btn{width:100%}
.adm3-login a{color:#795065;font-size:.68rem}
.adm3-empty{padding:48px;text-align:center;color:#8c7881}
.adm3-scrim{display:none}
.adm3-toast{position:fixed;right:18px;bottom:18px;z-index:9000;padding:10px 14px;border-radius:10px;background:#34242e;color:#fff;font-size:.63rem;box-shadow:0 12px 30px rgba(0,0,0,.2)}
.adm3-hidden{display:none!important}

@media(max-width:1120px){
  .adm3-stats{grid-template-columns:repeat(2,1fr)}
  .adm3-treatment-head,.adm3-treatment-row{grid-template-columns:38px minmax(190px,1fr) 110px 80px 90px 88px 225px}
}
@media(max-width:860px){
  .adm3-app{display:block}
  .adm3-sidebar{transform:translateX(-105%);transition:.2s}
  .adm3-sidebar.is-open{transform:translateX(0)}
  .adm3-main{width:100%}
  .adm3-menu{display:block}
  .adm3-scrim{position:fixed;inset:0;z-index:250;border:0;background:rgba(30,18,25,.5)}
  .adm3-scrim.is-open{display:block}
  .adm3-page-head{align-items:flex-start;flex-direction:column}
  .adm3-quick-actions,.adm3-page-head>.adm3-btn{width:100%}
  .adm3-quick-actions .adm3-btn{flex:1}
  .adm3-toolbar{align-items:stretch;flex-direction:column}
  .adm3-search{width:100%;min-width:0;max-width:none}
  .adm3-select-wrap{width:100%;justify-content:space-between}
  .adm3-select-wrap select{flex:1}
  .adm3-toolbar>span{margin-left:0}
  .adm3-desktop-list{display:none}
  .adm3-mobile-cards{display:block}
  .adm3-editor{grid-template-columns:1fr}
  .adm3-preview{display:none}
}
@media(max-width:600px){
  .adm3-content{padding:20px 12px 34px}
  .adm3-topbar{padding:0 12px}
  .adm3-stats{grid-template-columns:1fr 1fr;gap:9px}
  .adm3-stats>a,.adm3-stats>div{min-height:88px;padding:11px;grid-template-columns:34px 1fr;column-gap:9px}
  .adm3-stats span{width:34px;height:34px}
  .adm3-stats strong{font-size:1.45rem}
  .adm3-stats small{font-size:.54rem;line-height:1.25}
  .adm3-panel{border-radius:13px}
  .adm3-mobile-card{padding:12px}
  .adm3-mobile-actions button{height:36px;font-size:.54rem}
  .adm3-drawer-panel{top:auto;bottom:0;width:100%;height:auto;max-height:92vh;border-radius:20px 20px 0 0}
  .adm3-drawer-panel>header{min-height:72px;padding:16px 18px}
  .adm3-drawer-panel form{padding:18px;gap:13px}
  .adm3-form-grid{grid-template-columns:1fr}
  .adm3-drawer-panel footer{padding:14px 18px calc(14px + env(safe-area-inset-bottom))}
  .adm3-drawer-panel footer .adm3-btn{flex:1}
  .adm3-enquiries article{grid-template-columns:1fr}
  .adm3-enquiries article>button{grid-template-columns:38px 1fr;padding:14px}
  .adm3-enquiries article>button>span{width:38px;height:38px}
  .adm3-enquiries article>button time{display:none}
  .adm3-enquiries article>div{display:grid;grid-template-columns:1fr 1fr;padding:0 14px 13px 65px}
  .adm3-enquiries article>div form,.adm3-enquiries article>div button{width:100%}
}


/* =========================================================
   Admin responsive breakpoint correction
   Use compact cards until there is enough room for tables
   ========================================================= */

@media (min-width: 861px) and (max-width: 1179px) {

    .adm3-desktop-list {
        display: none !important;
    }

    .adm3-mobile-cards {
        display: block !important;
    }

    .adm3-page-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .adm3-page-head > .adm3-btn,
    .adm3-quick-actions {
        width: 100%;
    }

    .adm3-quick-actions .adm3-btn {
        flex: 1;
    }

    .adm3-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .adm3-search {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .adm3-select-wrap {
        width: 100%;
        justify-content: space-between;
    }

    .adm3-select-wrap select {
        flex: 1;
        width: auto;
    }

    .adm3-toolbar > span {
        margin-left: 0;
    }
}


/* Only show full desktop management rows on wide screens */

@media (min-width: 1180px) {

    .adm3-desktop-list {
        display: block;
    }

    .adm3-mobile-cards {
        display: none;
    }
}


/* Protect desktop tables on narrower laptop screens */

@media (min-width: 1180px) {

    .adm3-treatment-head,
    .adm3-treatment-row {
        grid-template-columns:
            34px
            minmax(190px, 1fr)
            105px
            78px
            90px
            88px
            238px;
    }

    .adm3-actions {
        gap: 5px;
    }

    .adm3-actions button {
        padding: 0 8px;
        font-size: 0.54rem;
    }
}



/* ==========================================
   Mobile treatment price typography
   ========================================== */

.adm3-mobile-meta strong{
    font-family:"Playfair Display",serif;
    font-size:1.15rem;
    font-weight:600;
    color:#5b2e4a;
    line-height:1.2;
}

.adm3-mobile-meta span{
    font-family:Montserrat,sans-serif;
    font-size:.70rem;
    font-weight:600;
    color:#7b6b73;
}



/* =========================================================
   Admin mobile treatment price readability
   ========================================================= */

@media (max-width: 860px) {

    .adm3-mobile-meta strong {
        font-family:
            Montserrat,
            Arial,
            Helvetica,
            sans-serif !important;

        font-size: 1rem !important;
        font-weight: 700 !important;
        font-style: normal !important;
        font-variant: normal !important;
        line-height: 1.3 !important;
        letter-spacing: 0 !important;

        color: #5b2e4a !important;
        white-space: nowrap;
    }
}



/* =========================================================
   Admin v3 action button readability
   ========================================================= */

/* Desktop category and treatment action buttons */

.adm3-actions button {
    min-height: 38px;
    padding: 0 13px;

    font-family: Montserrat, Arial, sans-serif;
    font-size: 0.72rem !important;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.025em;

    white-space: nowrap;
}


/* Ensure buttons inside duplicate forms match */

.adm3-actions form button {
    font-size: 0.72rem !important;
}


/* Mobile category and treatment action buttons */

.adm3-mobile-actions button,
.adm3-mobile-actions form button {
    min-height: 40px;

    font-family: Montserrat, Arial, sans-serif;
    font-size: 0.7rem !important;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;

    white-space: nowrap;
}


/* Slightly larger on normal desktop screens */

@media (min-width: 1180px) {
    .adm3-actions button,
    .adm3-actions form button {
        font-size: 0.74rem !important;
    }
}


/* Keep all three mobile buttons evenly sized */

@media (max-width: 860px) {
    .adm3-mobile-actions-three {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .adm3-mobile-actions-three > button,
    .adm3-mobile-actions-three > form,
    .adm3-mobile-actions-three > form > button {
        width: 100%;
        min-width: 0;
    }
}



/* =========================================================
   Admin v3 final typography polish
   ========================================================= */

/* Section headings */

.adm3-page-title,
.adm3-header h1{
    font-size:2rem;
    line-height:1.2;
}

/* Section description */

.adm3-page-subtitle,
.adm3-header p,
.adm3-header .lead{
    font-size:1.06rem;
    line-height:1.65;
    color:#6f5a66;
}


/* ---------- Live Preview ---------- */

/* Match the public website pricing */

.adm3-preview .treatment-price,
.adm3-preview .price,
.adm3-live-preview .treatment-price,
.adm3-live-preview .price{

    font-family:"Playfair Display", Georgia, serif !important;
    font-size:1.25rem !important;
    font-weight:700;
    color:#5b2e4a;

    letter-spacing:0;
}


/* Treatment title in preview */

.adm3-preview h3,
.adm3-live-preview h3{

    font-size:1.2rem;
    line-height:1.3;
}


/* Description in preview */

.adm3-preview p,
.adm3-live-preview p{

    font-size:1.02rem;
    line-height:1.7;
}



/* =========================================================
   Admin v3 exact typography corrections
   ========================================================= */

/* Treatments and Categories page heading: approximately +1pt */

body.admin-shell .adm3-page-head h1 {
    font-size: calc(clamp(2rem, 4vw, 3.5rem) + 0.083rem) !important;
}


/* Description immediately beneath those headings: approximately +1pt */

body.admin-shell .adm3-page-head > div > p:last-child {
    font-size: 1.02rem !important;
    line-height: 1.65 !important;
}


/* Live Preview price: clear sans-serif pricing font */

body.admin-shell .adm3-preview [data-preview="price"] {
    font-family:
        Montserrat,
        Arial,
        Helvetica,
        sans-serif !important;

    font-size: 1.18rem !important;
    font-weight: 700 !important;
    font-style: normal !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;

    color: #5b2e4a !important;
}


/* Desktop Edit / Duplicate / Delete buttons */

body.admin-shell .adm3-actions > button,
body.admin-shell .adm3-actions > form > button {
    min-height: 39px !important;
    padding: 0 13px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-family:
        Montserrat,
        Arial,
        Helvetica,
        sans-serif !important;

    font-size: 0.76rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0.015em !important;
}


/* Mobile Edit / Duplicate / Delete buttons */

@media (max-width: 860px) {

    body.admin-shell .adm3-mobile-actions {
        display: grid !important;
        gap: 7px !important;
    }

    body.admin-shell .adm3-mobile-actions-three {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    body.admin-shell .adm3-mobile-actions > button,
    body.admin-shell .adm3-mobile-actions > form,
    body.admin-shell .adm3-mobile-actions > form > button {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    body.admin-shell .adm3-mobile-actions > button,
    body.admin-shell .adm3-mobile-actions > form > button {
        min-height: 42px !important;
        padding: 0 6px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        font-family:
            Montserrat,
            Arial,
            Helvetica,
            sans-serif !important;

        font-size: 0.76rem !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        letter-spacing: 0 !important;
        white-space: nowrap !important;
    }
}


/* Slightly more compact text on very narrow phones,
   while remaining substantially larger than before. */

@media (max-width: 380px) {

    body.admin-shell .adm3-mobile-actions > button,
    body.admin-shell .adm3-mobile-actions > form > button {
        font-size: 0.7rem !important;
        padding-right: 3px !important;
        padding-left: 3px !important;
    }
}



/* =========================================================
   Admin v3 form typography refinement
   Increase all form controls except search boxes
   ========================================================= */

/* Labels */

body.admin-shell .adm3-form label,
body.admin-shell .adm3-modal label {
    font-size: 1rem !important;
    font-weight: 600;
}


/* Text inputs, textareas and selects
   (excluding search fields) */

body.admin-shell input:not([type="search"]),
body.admin-shell textarea,
body.admin-shell select {
    font-size: 1.06rem !important;
    line-height: 1.45;
}


/* Placeholder text */

body.admin-shell input:not([type="search"])::placeholder,
body.admin-shell textarea::placeholder {
    font-size: 1.06rem;
}


/* Dropdown selected value */

body.admin-shell select option {
    font-size: 1.06rem;
}


/* Checkboxes */

body.admin-shell input[type="checkbox"] {
    transform: scale(1.05);
}


/* Mobile */

@media (max-width:860px) {

    body.admin-shell input:not([type="search"]),
    body.admin-shell textarea,
    body.admin-shell select {
        font-size: 1.08rem !important;
    }

}


/* =========================================================
   Final form typography adjustment
   ========================================================= */

body.admin-shell input:not([type="search"]),
body.admin-shell textarea,
body.admin-shell select{
    font-size:1.02rem !important;
}

body.admin-shell input:not([type="search"])::placeholder,
body.admin-shell textarea::placeholder,
body.admin-shell select option{
    font-size:1.02rem !important;
}

body.admin-shell .adm3-form label,
body.admin-shell .adm3-modal label{
    font-size:.97rem !important;
}

@media (max-width:860px){

    body.admin-shell input:not([type="search"]),
    body.admin-shell textarea,
    body.admin-shell select{
        font-size:1.04rem !important;
    }

}



/* =========================================================
   Admin v3 final form-control sizing
   Search fields intentionally excluded
   ========================================================= */

/* Desktop: 0.5pt smaller than the previous 1.06rem setting */

body.admin-shell .adm3-drawer-panel input:not([type="search"]):not([type="checkbox"]),
body.admin-shell .adm3-drawer-panel textarea,
body.admin-shell .adm3-drawer-panel select,
body.admin-shell .adm3-login input:not([type="search"]) {
    font-family: Montserrat, Arial, Helvetica, sans-serif !important;
    font-size: 1.018rem !important;
    line-height: 1.45 !important;
}

body.admin-shell .adm3-drawer-panel input:not([type="search"])::placeholder,
body.admin-shell .adm3-drawer-panel textarea::placeholder,
body.admin-shell .adm3-login input::placeholder {
    font-size: 1.018rem !important;
}

body.admin-shell .adm3-drawer-panel select option {
    font-size: 1.018rem !important;
}


/* Mobile: 0.5pt larger than the original mobile control text */

@media (max-width: 860px) {

    body.admin-shell .adm3-drawer-panel input:not([type="search"]):not([type="checkbox"]),
    body.admin-shell .adm3-drawer-panel textarea,
    body.admin-shell .adm3-drawer-panel select,
    body.admin-shell .adm3-login input:not([type="search"]) {
        font-size: 1.038rem !important;
        line-height: 1.45 !important;
    }

    body.admin-shell .adm3-drawer-panel input:not([type="search"])::placeholder,
    body.admin-shell .adm3-drawer-panel textarea::placeholder,
    body.admin-shell .adm3-login input::placeholder,
    body.admin-shell .adm3-drawer-panel select option {
        font-size: 1.038rem !important;
    }
}



/* =========================================================
   Tranquil Moments Admin v3 unified typography
   Small:  0.9rem
   Normal: 1rem
   Large:  1.2rem
   ========================================================= */

body.admin-shell {
    --adm3-text-small: 0.9rem;
    --adm3-text-normal: 1rem;
    --adm3-text-large: 1.2rem;
}


/* Normal readable interface text */

body.admin-shell,
body.admin-shell p,
body.admin-shell td,
body.admin-shell .adm3-list-row,
body.admin-shell .adm3-mobile-card,
body.admin-shell .adm3-enquiries,
body.admin-shell .adm3-enquiry-detail,
body.admin-shell .adm3-panel-head p,
body.admin-shell .adm3-page-head > div > p:last-child {
    font-size: var(--adm3-text-normal) !important;
}


/* Supporting and secondary text */

body.admin-shell small,
body.admin-shell .adm3-kicker,
body.admin-shell .adm3-topbar small,
body.admin-shell .adm3-brand small,
body.admin-shell .adm3-list-head,
body.admin-shell .adm3-badge,
body.admin-shell .adm3-mobile-card small,
body.admin-shell .adm3-list-row small,
body.admin-shell .adm3-toolbar > span,
body.admin-shell .adm3-select-wrap > span,
body.admin-shell .adm3-sort-note {
    font-size: var(--adm3-text-small) !important;
}


/* Forms */

body.admin-shell label,
body.admin-shell .adm3-drawer-panel form > label,
body.admin-shell .adm3-form-grid label {
    font-size: var(--adm3-text-normal) !important;
}

body.admin-shell input:not([type="search"]):not([type="checkbox"]),
body.admin-shell textarea,
body.admin-shell select,
body.admin-shell input:not([type="search"])::placeholder,
body.admin-shell textarea::placeholder,
body.admin-shell select option {
    font-size: var(--adm3-text-normal) !important;
}


/* Search remains normal-sized but visually compact */

body.admin-shell input[type="search"] {
    font-size: var(--adm3-text-normal) !important;
}


/* Buttons and actions */

body.admin-shell .adm3-btn,
body.admin-shell .adm3-actions button,
body.admin-shell .adm3-actions form button,
body.admin-shell .adm3-mobile-actions button,
body.admin-shell .adm3-mobile-actions form button,
body.admin-shell .adm3-enquiries article > div button {
    font-size: var(--adm3-text-small) !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}


/* Prominent UI content */

body.admin-shell .adm3-mobile-meta strong,
body.admin-shell .adm3-preview [data-preview="price"],
body.admin-shell .adm3-stat-card strong,
body.admin-shell .adm3-stats strong,
body.admin-shell .adm3-panel-head h2,
body.admin-shell .adm3-preview h3,
body.admin-shell .adm3-mobile-card-head strong,
body.admin-shell .adm3-list-row > div > strong,
body.admin-shell .adm3-list-row > strong {
    font-size: var(--adm3-text-large) !important;
}


/* Preserve actual page headings */

body.admin-shell .adm3-page-head h1 {
    font-size: clamp(2.1rem, 4vw, 3.5rem) !important;
}

body.admin-shell .adm3-drawer-panel h2,
body.admin-shell .adm3-modal h2 {
    font-size: 1.5rem !important;
}


/* Mobile uses the same scale rather than shrinking text */

@media (max-width: 860px) {

    body.admin-shell,
    body.admin-shell p,
    body.admin-shell .adm3-mobile-card,
    body.admin-shell input:not([type="search"]):not([type="checkbox"]),
    body.admin-shell textarea,
    body.admin-shell select {
        font-size: var(--adm3-text-normal) !important;
    }

    body.admin-shell small,
    body.admin-shell .adm3-badge,
    body.admin-shell .adm3-mobile-card small,
    body.admin-shell .adm3-mobile-actions button,
    body.admin-shell .adm3-mobile-actions form button {
        font-size: var(--adm3-text-small) !important;
    }

    body.admin-shell .adm3-mobile-meta strong,
    body.admin-shell .adm3-mobile-card-head strong {
        font-size: var(--adm3-text-large) !important;
    }

    body.admin-shell .adm3-mobile-actions button,
    body.admin-shell .adm3-mobile-actions form button {
        min-height: 42px !important;
        padding: 0 6px !important;
    }
}



/* =========================================================
   Admin treatment table spacing after typography increase
   ========================================================= */

@media (min-width: 1180px) {

    /*
     * Columns:
     * drag | treatment | category | price | duration |
     * status | actions
     */
    body.admin-shell .adm3-treatment-head,
    body.admin-shell .adm3-treatment-row {
        grid-template-columns:
            42px
            minmax(210px, 1fr)
            minmax(120px, 0.55fr)
            92px
            125px
            115px
            285px !important;

        column-gap: 14px !important;
    }

    /*
     * Give Duration and Status additional separation.
     */
    body.admin-shell .adm3-treatment-head > :nth-child(5),
    body.admin-shell .adm3-treatment-row > :nth-child(5) {
        padding-right: 12px;
    }

    body.admin-shell .adm3-treatment-head > :nth-child(6),
    body.admin-shell .adm3-treatment-row > :nth-child(6) {
        padding-left: 8px;
        min-width: 0;
    }

    /*
     * Keep the status badge wholly inside its own column.
     */
    body.admin-shell .adm3-treatment-row > :nth-child(6) {
        display: flex;
        align-items: center;
        overflow: visible;
    }

    body.admin-shell .adm3-treatment-row .adm3-badge {
        max-width: 100%;
        white-space: nowrap;
    }

    /*
     * Prevent the action group encroaching on Status.
     */
    body.admin-shell .adm3-treatment-row .adm3-actions {
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 7px;
        padding-left: 8px;
    }

    body.admin-shell .adm3-treatment-row .adm3-actions button {
        flex: 0 0 auto;
    }
}


/*
 * Use the mobile-card presentation on narrower desktop
 * windows where the seven-column row cannot fit cleanly.
 */
@media (min-width: 861px) and (max-width: 1179px) {

    body.admin-shell .adm3-desktop-list {
        display: none !important;
    }

    body.admin-shell .adm3-mobile-cards {
        display: block !important;
    }
}



/* =========================================================
   Admin treatment layout responsive correction

   The admin sidebar consumes 250px, so the full treatment
   row requires a wider viewport than the previous breakpoint.
   ========================================================= */


/* Use compact cards on tablets and normal laptop widths. */

@media (max-width: 1399px) {

    body.admin-shell .adm3-desktop-list {
        display: none !important;
    }

    body.admin-shell .adm3-mobile-cards {
        display: block !important;
    }
}


/* Only enable the full treatment-management row when there
   is enough usable space beside the admin sidebar. */

@media (min-width: 1400px) {

    body.admin-shell .adm3-desktop-list {
        display: block !important;
    }

    body.admin-shell .adm3-mobile-cards {
        display: none !important;
    }

    body.admin-shell .adm3-treatment-head,
    body.admin-shell .adm3-treatment-row {
        width: 100%;

        grid-template-columns:
            36px
            minmax(190px, 1fr)
            minmax(105px, 0.48fr)
            82px
            112px
            108px
            276px !important;

        column-gap: 12px !important;
    }

    body.admin-shell .adm3-treatment-head > *,
    body.admin-shell .adm3-treatment-row > * {
        min-width: 0;
    }

    body.admin-shell .adm3-treatment-row .adm3-actions {
        width: 100%;
        min-width: 0;

        display: grid !important;
        grid-template-columns:
            minmax(66px, 0.85fr)
            minmax(86px, 1.1fr)
            minmax(72px, 0.95fr);

        align-items: center;
        gap: 6px;

        padding-left: 4px;
    }

    body.admin-shell .adm3-treatment-row .adm3-actions > button,
    body.admin-shell .adm3-treatment-row .adm3-actions > form,
    body.admin-shell .adm3-treatment-row .adm3-actions > form > button {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    body.admin-shell .adm3-treatment-row .adm3-actions > form {
        display: block !important;
    }

    body.admin-shell .adm3-treatment-row .adm3-actions button {
        padding-right: 7px !important;
        padding-left: 7px !important;

        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.admin-shell .adm3-treatment-row > :nth-child(5),
    body.admin-shell .adm3-treatment-head > :nth-child(5) {
        padding-right: 8px;
    }

    body.admin-shell .adm3-treatment-row > :nth-child(6),
    body.admin-shell .adm3-treatment-head > :nth-child(6) {
        padding-left: 6px;
    }
}


/* At very wide desktop sizes, allow the treatment and
   category columns a little more breathing room. */

@media (min-width: 1600px) {

    body.admin-shell .adm3-treatment-head,
    body.admin-shell .adm3-treatment-row {
        grid-template-columns:
            42px
            minmax(230px, 1fr)
            minmax(125px, 0.52fr)
            92px
            125px
            115px
            290px !important;

        column-gap: 14px !important;
    }
}



/* Compact category and treatment cards used below 1400px. */

@media (max-width: 1399px) {

    body.admin-shell .adm3-mobile-actions-three {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 7px !important;
    }

    body.admin-shell .adm3-mobile-actions-three > button,
    body.admin-shell .adm3-mobile-actions-three > form,
    body.admin-shell .adm3-mobile-actions-three > form > button {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    body.admin-shell .adm3-mobile-actions-three > form {
        display: block !important;
    }
}



/* =========================================================
   Admin card-layout price typography

   Applies to mobile, tablet and medium desktop widths where
   the compact treatment cards are displayed.
   ========================================================= */

@media (max-width: 1399px) {

    body.admin-shell .adm3-mobile-card .adm3-mobile-meta > strong,
    body.admin-shell .adm3-mobile-cards .adm3-mobile-meta > strong {
        font-family:
            Montserrat,
            Arial,
            Helvetica,
            sans-serif !important;

        font-size: var(--adm3-text-large, 1.2rem) !important;
        font-weight: 700 !important;
        font-style: normal !important;
        font-variant: normal !important;

        line-height: 1.25 !important;
        letter-spacing: 0 !important;

        color: #5b2e4a !important;
        white-space: nowrap !important;
    }

    body.admin-shell .adm3-mobile-card .adm3-mobile-meta > span {
        font-family:
            Montserrat,
            Arial,
            Helvetica,
            sans-serif !important;

        font-size: var(--adm3-text-small, 0.9rem) !important;
        font-weight: 600 !important;
        font-style: normal !important;
        line-height: 1.35 !important;

        color: #806e77 !important;
    }
}



/* =========================================================
   Mobile dashboard quick-action alignment
   ========================================================= */

@media (max-width: 600px) {

    body.admin-shell .adm3-page-head {
        width: 100%;
        min-width: 0;
    }

    body.admin-shell .adm3-quick-actions {
        width: 100%;
        min-width: 0;

        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    body.admin-shell .adm3-quick-actions .adm3-btn {
        width: 100%;
        min-width: 0;

        padding-right: 8px;
        padding-left: 8px;

        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}


/* Very narrow phones: stack the two actions */

@media (max-width: 380px) {

    body.admin-shell .adm3-quick-actions {
        grid-template-columns: 1fr;
    }
}

