.tcm-shell{font-family:Arial,Helvetica,sans-serif;color:#17385f;background:#f7f9fc;min-height:100vh}.tcm-top{background:#10365d;color:#fff;text-align:center;padding:28px 20px 22px}.tcm-brand{font-family:Georgia,serif;font-size:clamp(36px,5vw,68px);font-weight:700}.tcm-sub{margin-top:7px;color:#e6bf55;letter-spacing:2px;font-weight:700}.tcm-nav{position:sticky;top:32px;z-index:1000;background:#123d68;display:flex;gap:10px;align-items:center;justify-content:center;flex-wrap:wrap;padding:14px;border-bottom:3px solid #e1bb52;box-shadow:0 3px 12px #0002}.tcm-nav a{background:#fff;color:#17385f;text-decoration:none;padding:12px 18px;border-radius:8px;font-weight:800;border:1px solid #d7dee7}.tcm-nav a.is-active,.tcm-nav a:hover{background:#e0ba51}.tcm-login{color:#fff;font-weight:700;margin-left:10px}.tcm-login a{background:transparent;color:#fff;border-color:#fff;padding:8px 12px}.tcm-upcoming{height:48px;display:flex;align-items:center;overflow:hidden;white-space:nowrap;background:#071f37;color:#fff}.tcm-upcoming b{background:#e0ba51;color:#12385e;padding:16px 25px;align-self:stretch;display:flex;align-items:center}.tcm-upcoming span{padding-left:25px}.tcm-main{max-width:1500px;margin:auto;padding:30px 22px 70px}.tcm-main h1{font-size:42px;margin:8px 0;color:#17385f}.tcm-lead{font-size:18px;color:#536579}.tcm-filters{display:flex;gap:12px;flex-wrap:wrap;margin:25px 0}.tcm-filters input,.tcm-filters select,.tcm-filters button,.tcm-filters a{padding:13px 15px;border:1px solid #c9d4df;border-radius:8px;background:#fff;font-size:16px}.tcm-filters input{min-width:330px}.tcm-filters button,.tcm-btn{background:#173f6c!important;color:#fff!important;border:0!important;text-decoration:none;padding:12px 18px;border-radius:8px;font-weight:800;display:inline-block;cursor:pointer}.tcm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.tcm-card{background:#fff;border:1px solid #d9e0e8;border-radius:14px;padding:20px;box-shadow:0 4px 15px #163a5e12}.tcm-card h3{margin:0 0 12px;font-size:23px}.tcm-vs{font-size:19px;font-weight:800;margin-bottom:18px}.tcm-date{display:flex;justify-content:space-between;gap:10px;background:#f0f3f7;border-left:5px solid #d3ad45;padding:13px;border-radius:8px;margin-bottom:14px}.tcm-date strong{font-size:20px}.tcm-panel{background:#fff;border:1px solid #d9e0e8;border-radius:14px;padding:25px;margin:20px 0;box-shadow:0 4px 15px #163a5e12}.tcm-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.tcm-form-grid label,.tcm-panel>label{font-weight:800;display:block;margin-bottom:12px}.tcm-form-grid input,.tcm-form-grid select,.tcm-panel textarea,.tcm-panel>label input{width:100%;box-sizing:border-box;margin-top:7px;padding:12px;border:1px solid #c8d3df;border-radius:7px}.tcm-panel textarea{min-height:90px}.tcm-actions{display:flex;gap:12px;margin-bottom:20px}.tcm-notice{background:#e9f8ed;border:1px solid #a8dbb2;padding:14px;border-radius:8px;margin:15px 0}.tcm-lock,.tcm-login-required{text-align:center;background:#fff;border:1px solid #ddd;border-radius:14px;padding:50px;margin:30px auto;max-width:700px}.tcm-case-detail{position:relative;background:#fff;border:2px solid #d4b04e;border-radius:14px;padding:28px;margin:25px 0;box-shadow:0 8px 30px #0002}.tcm-case-detail h2{font-size:30px;margin:0 0 10px}.tcm-case-detail h3{font-size:22px}.tcm-close{position:absolute;right:15px;bottom:15px;border:0;background:#173f6c;color:#fff;border-radius:50%;font-size:24px;width:40px;height:40px;cursor:pointer}.tcm-single>div{display:flex;flex-direction:column;border-bottom:1px solid #ddd;padding:15px 0}.tcm-single b{margin-bottom:5px}.tcm-table{overflow:auto}.tcm-table .tr{display:grid;grid-template-columns:2fr 1.3fr 1fr 2fr 100px;gap:8px;align-items:center;padding:10px;border-bottom:1px solid #ddd}.tcm-table .th{font-weight:800;background:#edf2f7}.tcm-table input,.tcm-table select{padding:9px;min-width:0}.tcm-topbtn{position:fixed;right:22px;bottom:22px;z-index:1100;width:48px;height:48px;border-radius:50%;border:0;background:#e0ba51;color:#12385e;font-size:25px;font-weight:900;cursor:pointer;box-shadow:0 4px 15px #0003}@media(max-width:1050px){.tcm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tcm-nav{justify-content:flex-start}.tcm-table .tr{grid-template-columns:1.5fr 1fr 1fr 1.5fr 90px}}@media(max-width:700px){.tcm-grid,.tcm-form-grid{grid-template-columns:1fr}.tcm-main{padding:20px 12px 60px}.tcm-main h1{font-size:32px}.tcm-filters input{min-width:0;width:100%}.tcm-nav{top:0}.tcm-nav a{padding:10px 12px}.tcm-upcoming{font-size:13px}.tcm-table .tr{grid-template-columns:1fr;gap:5px}.tcm-login{width:100%}}
.tcm-login-button{background:#e0ba51;color:#12385e;border:1px solid #e0ba51;border-radius:8px;padding:12px 22px;font-size:16px;font-weight:900;cursor:pointer}
.tcm-login-modal{position:fixed;inset:0;background:rgba(0,0,0,.68);z-index:999999!important;align-items:flex-start;justify-content:center;padding:clamp(24px,7vh,72px) 20px 28px;box-sizing:border-box;overflow-y:auto;overscroll-behavior:contain}
.tcm-login-box{position:relative;width:min(460px,100%);max-height:calc(100vh - 100px);overflow-y:auto;background:#fff;border-radius:16px;padding:32px;box-shadow:0 20px 60px #0007;color:#17385f;box-sizing:border-box;margin:0 auto}
.tcm-login-box h2{text-align:center;font-size:32px;margin:0 0 22px}
.tcm-login-box label{display:block;font-weight:800;margin:14px 0}.tcm-login-box input[type=text],.tcm-login-box input[type=password]{width:100%;box-sizing:border-box;margin-top:7px;padding:13px;border:1px solid #c8d3df;border-radius:8px;font-size:16px}.tcm-check{display:flex!important;gap:8px;align-items:center}.tcm-check input{width:auto!important}.tcm-login-x{position:absolute;right:14px;bottom:14px;width:42px;height:42px;border:0;border-radius:50%;background:#173f6c;color:#fff;font-size:27px;cursor:pointer}.tcm-login-error{background:#fde8e8;border:1px solid #e0a0a0;color:#8d1111;padding:10px;border-radius:8px}.tcm-login-links{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:18px}.tcm-login-links a{color:#173f6c;font-weight:800}.tcm-login-required{max-width:760px}.tcm-lock{max-width:760px;margin:30px auto;text-align:center;background:#fff;border:1px solid #d9e0e8;border-radius:14px;padding:50px;font-size:20px}

/* Applicant Registration onboarding */
.tcm-how-register{position:relative}
.tcm-how-register h1{margin-top:0}
.tcm-register-steps{display:grid;grid-template-columns:1fr;gap:12px;margin:18px 0 22px}
.tcm-register-steps>div{border:2px solid #d8e0e8;border-radius:12px;padding:15px 18px;background:#f8fafc}
.tcm-register-steps b{display:block;color:#163b63;font-size:19px;margin-bottom:5px}
.tcm-register-steps span{display:block;color:#34495e;font-size:16px;line-height:1.45}
.tcm-open-reg{font-size:20px;padding:16px 28px}
.tcm-sticky-reg{position:fixed;z-index:99990;top:0;left:0;right:0;background:#163b63;border-bottom:3px solid #d1a536;padding:10px 16px;text-align:center;transform:translateY(-110%);transition:transform .2s ease;box-shadow:0 5px 18px rgba(0,0,0,.2)}
.tcm-sticky-reg.show{transform:translateY(0)}
.tcm-sticky-reg a{display:inline-block;background:#d1a536;color:#163b63!important;text-decoration:none;font-weight:800;font-size:18px;padding:10px 24px;border-radius:9px}
@media(max-width:700px){.tcm-register-steps b{font-size:17px}.tcm-register-steps span{font-size:15px}.tcm-sticky-reg a{font-size:16px;width:calc(100% - 20px);box-sizing:border-box}}
.tcm-login-success{background:#e9f8ee;border:1px solid #9fd2ad;color:#1c6734;padding:12px;border-radius:8px;margin:12px 0;font-weight:700}.tcm-forgot-intro{line-height:1.55;color:#344b63}.tcm-forgot-box{width:min(620px,94vw)}.tcm-close-link{text-decoration:none!important;display:flex;align-items:center;justify-content:center}.tcm-forgot-links{margin-top:22px}
.tcm-modal{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:99999;align-items:center;justify-content:center;padding:20px;box-sizing:border-box}.tcm-modal-box{background:#fff;border-radius:14px;max-width:1100px;width:100%;max-height:90vh;overflow:auto;padding:28px;box-shadow:0 15px 50px rgba(0,0,0,.3)}.tcm-summary-table{width:100%;border-collapse:collapse;margin:15px 0}.tcm-summary-table th,.tcm-summary-table td{border:1px solid #ccd5df;padding:10px;text-align:left;vertical-align:top}.tcm-summary-table th{background:#e8edf3}.tcm-summary-table td:first-child{width:22%}.tcm-admin-search{margin-bottom:18px}.tcm-admin-search h2{margin-top:0}.tcm-admin-search .tcm-filters{margin-bottom:0}.tcm-panel .tcm-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.tcm-panel .tcm-actions form{margin:0}.tcm-btn.alt{background:#fff;color:#173f68;border:2px solid #173f68}
@media(max-width:700px){.tcm-modal{padding:8px}.tcm-modal-box{padding:16px}.tcm-summary-table{font-size:14px}.tcm-summary-table th,.tcm-summary-table td{padding:7px}}
/* New Case builder */
.tcm-new-case-builder h3{font-size:25px;margin:30px 0 14px;padding-bottom:8px;border-bottom:2px solid #e0ba51}.tcm-new-app-card{background:#f8fafc;border:2px solid #d8e1ea;border-radius:12px;padding:18px;margin:14px 0}.tcm-new-app-card .tcm-form-grid{margin-bottom:0}.tcm-new-app-card input,.tcm-adv-card input,.tcm-resp-card input{font-size:17px}.tcm-autofill-msg{font-weight:700;color:#285f38;margin-top:8px;min-height:22px}.tcm-row.tcm-adv-card,.tcm-row.tcm-resp-card{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0;padding:12px;background:#f8fafc;border:1px solid #d8e1ea;border-radius:10px}.tcm-row.tcm-resp-card{grid-template-columns:1fr}.tcm-new-case-builder .tcm-actions{margin-top:25px}@media(max-width:900px){.tcm-row.tcm-adv-card{grid-template-columns:1fr 1fr}}@media(max-width:700px){.tcm-row.tcm-adv-card{grid-template-columns:1fr}.tcm-new-case-builder h3{font-size:22px}}

.tcm-detail-block{background:#f6f8fb;border:1px solid #d8e0e8;border-radius:8px;padding:12px 14px;margin:8px 0;line-height:1.55}.tcm-doc-link{font-weight:800;text-decoration:none;margin-left:10px}.protected-view{-webkit-user-select:none;user-select:none}

.tcm-detail-section{margin:22px 0}.tcm-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.tcm-section-head h3{margin:0}.tcm-edit-btn{display:inline-block;background:#e0ba51;color:#12385e!important;border:1px solid #c99f32;border-radius:8px;padding:9px 18px;font-weight:900;text-decoration:none}.tcm-edit-btn:hover{background:#d3ad45}.tcm-modal-box>.tcm-panel{box-shadow:none;border:0;margin:0;padding:0}.tcm-modal-box .tcm-case-detail{box-shadow:none;border:0;margin:0;padding:0}.tcm-modal-box .tcm-close{position:sticky;float:right;right:auto;bottom:auto;top:0;z-index:2;margin-left:10px}

.tcm-total{margin:18px 0;padding:14px 18px;border-left:5px solid #e5b83f;background:#eef2f7;color:#173f68;font-size:20px;font-weight:600;border-radius:8px}
.tcm-total strong{font-size:24px}

/* TodayCase Professional v2.0.0 */
html,body{background:#eef3f8!important}
body{color:#17385f!important}
body.admin-bar{padding-top:0!important}
#wpadminbar{display:none!important}
.tcm-shell{min-height:100vh;background:#eef3f8}
.tcm-top{background:linear-gradient(135deg,#08294a,#174b79);padding:24px 18px 17px;display:flex;align-items:baseline;justify-content:center;gap:10px;flex-wrap:wrap}
.tcm-brand{font-family:Georgia,serif;font-size:clamp(38px,5vw,60px);line-height:1;color:#fff!important}.tcm-brand-sub{font-family:Georgia,serif;font-size:clamp(24px,3vw,37px);font-weight:700;color:#e5bd55!important}.tcm-sub{width:100%;text-align:center;color:#dce8f4!important;font-size:14px;letter-spacing:1.6px}
.tcm-nav{position:sticky;top:0;z-index:999;background:#0d3559;padding:8px 16px;display:flex;align-items:center;gap:5px;border-bottom:2px solid #d8ae43;box-shadow:0 6px 18px rgba(5,27,49,.2)}
.tcm-nav-group{position:relative}.tcm-nav-group-title{background:transparent!important;color:#fff!important;border:0!important;padding:11px 12px;font-size:13px;font-weight:900;border-radius:7px;cursor:pointer}.tcm-nav-group-title:hover,.tcm-nav-group:focus-within .tcm-nav-group-title{background:#174a75!important}
.tcm-nav-sub{display:none;position:absolute;top:100%;left:0;min-width:220px;padding:7px;background:#fff;border:1px solid #d5dfe8;border-radius:10px;box-shadow:0 14px 30px rgba(0,0,0,.18)}.tcm-nav-group:hover .tcm-nav-sub,.tcm-nav-group:focus-within .tcm-nav-sub{display:flex;flex-direction:column}.tcm-nav-sub a{padding:11px 12px!important;color:#17385f!important;text-decoration:none!important;border-radius:6px;font-weight:800;white-space:nowrap}.tcm-nav-sub a:hover,.tcm-nav-sub a.is-active{background:#e6bf55!important;color:#0d3559!important}
.tcm-login{margin-left:auto;display:flex;align-items:center;gap:8px;color:#fff}.tcm-user-chip{font-weight:800}.tcm-login a{color:#fff!important;border:1px solid rgba(255,255,255,.7);padding:8px 12px;border-radius:7px;text-decoration:none}.tcm-login-button{border:1px solid rgba(255,255,255,.7)!important;background:transparent!important;color:#fff!important;padding:9px 14px;border-radius:7px;font-weight:900}
.tcm-mobile-bar{display:none}.tcm-main{max-width:1540px;margin:0 auto;padding:28px 24px 80px}
.tcm-hero-panel{background:linear-gradient(135deg,#123f68,#1a587f);color:#fff;border-radius:18px;padding:30px 32px;display:flex;justify-content:space-between;align-items:center;gap:24px;box-shadow:0 12px 32px rgba(10,43,73,.18);margin-bottom:22px}.tcm-eyebrow{color:#e6bf55;font-weight:900;letter-spacing:2px;font-size:13px}.tcm-hero-panel h1{color:#fff!important;font-size:clamp(30px,4vw,46px);margin:7px 0}.tcm-hero-panel p{color:#e7eff7!important;font-size:18px;margin:0;line-height:1.5}.tcm-hero-actions{display:flex;gap:10px;flex-wrap:wrap}.tcm-btn-gold{background:#e5bd55!important;color:#10375c!important}.tcm-btn-light{background:#fff!important;color:#123f68!important}
.tcm-stat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:20px 0}.tcm-stat-card{background:#fff!important;border:1px solid #d7e0e8!important;border-radius:14px!important;padding:18px!important;text-decoration:none!important;color:#17385f!important;box-shadow:0 4px 15px rgba(15,49,79,.07)}.tcm-stat-card span,.tcm-stat-card small{display:block;color:#5c6f82!important;font-weight:700}.tcm-stat-card strong{display:block;font-size:34px;line-height:1.1;margin:7px 0;color:#17385f!important}
.tcm-workspace-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:20px 0}.tcm-workspace-panel{background:#fff;border:1px solid #d7e0e8;border-radius:16px;padding:22px;box-shadow:0 4px 15px rgba(15,49,79,.07)}.tcm-section-title{border-bottom:2px solid #e2ba4d;padding-bottom:12px;margin-bottom:14px}.tcm-section-title span{display:block;color:#b18316;font-size:12px;font-weight:900;letter-spacing:1.5px}.tcm-section-title b{font-size:21px}.tcm-action-grid{display:grid;gap:9px}.tcm-action-card{display:grid;grid-template-columns:42px 1fr 20px;align-items:center;gap:12px;padding:12px 13px;border:1px solid #dce4eb;border-radius:11px;text-decoration:none!important;color:#17385f!important;background:#fbfcfd}.tcm-action-card:hover{border-color:#d8b24d;box-shadow:0 4px 12px rgba(15,49,79,.08)}.tcm-action-icon{width:38px;height:38px;border-radius:9px;background:#e8eef5;display:grid;place-items:center;font-weight:900;color:#153d64}.tcm-action-card b,.tcm-action-card small{display:block}.tcm-action-card small{color:#657789!important;margin-top:2px}.tcm-action-card em{font-style:normal;font-size:24px;color:#a67c15}
.tcm-workflow-banner{display:flex;justify-content:space-between;align-items:center;gap:18px}.tcm-workflow-banner span{display:block;color:#5a6e81!important;margin-top:5px}.tcm-panel,.tcm-card{box-shadow:0 5px 18px rgba(15,49,79,.07)}
.tcm-form-grid input,.tcm-form-grid select,.tcm-panel textarea,.tcm-panel>label input{min-height:46px;font-size:16px}.tcm-btn{min-height:46px}
@media(max-width:1150px){.tcm-stat-grid{grid-template-columns:repeat(3,1fr)}.tcm-workspace-grid{grid-template-columns:1fr}}
@media(max-width:800px){.tcm-top{padding:18px 12px 15px}.tcm-brand{font-size:42px}.tcm-brand-sub{font-size:27px}.tcm-sub{font-size:11px}.tcm-nav{display:none;position:static;flex-direction:column;align-items:stretch;padding:8px}.tcm-nav.tcm-open{display:flex}.tcm-nav-group-title{width:100%;text-align:left;display:flex;justify-content:space-between}.tcm-nav-sub{position:static;box-shadow:none;min-width:0}.tcm-nav-group:hover .tcm-nav-sub{display:none}.tcm-nav-group.tcm-expanded .tcm-nav-sub{display:flex}.tcm-mobile-bar{display:flex;background:#0d3559;color:#fff;position:sticky;top:0;z-index:1000;padding:9px 12px;align-items:center;gap:12px}.tcm-menu-toggle{background:#e3ba50;color:#12385f;border:0;border-radius:7px;padding:10px 14px;font-weight:900}.tcm-main{padding:18px 12px 65px}.tcm-hero-panel{padding:23px 20px;display:block}.tcm-hero-actions{margin-top:18px}.tcm-stat-grid{grid-template-columns:repeat(2,1fr)}.tcm-workflow-banner{display:block}}
@media(max-width:520px){.tcm-stat-grid{grid-template-columns:1fr}.tcm-action-card{grid-template-columns:38px 1fr 16px}.tcm-hero-panel h1{font-size:30px}.tcm-btn{width:100%;box-sizing:border-box;text-align:center}.tcm-hero-actions{display:grid}}

/* v2.4 selected-case review workflow */
.tcm-selected-case-banner{display:grid;grid-template-columns:1fr 1fr;gap:14px;background:#eef3f8;border-left:4px solid #d6b44c;border-radius:10px;padding:14px 16px;margin:0 0 18px}.tcm-selected-case-banner span,.tcm-case-summary span{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#5b6b7f;margin-bottom:4px}.tcm-selected-case-banner strong{font-size:17px;color:#17395f}.tcm-modal-backdrop{position:fixed;inset:0;background:rgba(9,27,49,.62);z-index:999999;display:flex;align-items:center;justify-content:center;padding:18px;overflow:auto}.tcm-modal{position:relative;background:#fff;border-radius:16px;max-width:980px;width:min(980px,96vw);max-height:92vh;overflow:auto;box-shadow:0 24px 70px rgba(0,0,0,.28);padding:26px}.tcm-modal-close{position:absolute;right:14px;top:10px;border:0;background:transparent;font-size:32px;line-height:1;cursor:pointer;color:#17395f}.tcm-modal-head h2{margin:0;color:#17395f}.tcm-modal-head p{margin:5px 0 16px;color:#5b6b7f}.tcm-case-summary{display:grid;grid-template-columns:1fr 1fr;gap:14px;background:#f1f5f9;border-radius:10px;padding:14px;margin-bottom:18px}.tcm-case-summary strong{color:#17395f;font-size:17px}.tcm-review-table{border:1px solid #d7e0ea;border-radius:10px;overflow:hidden}.tcm-review-row{display:grid;grid-template-columns:1.2fr 1fr 1fr;border-top:1px solid #d7e0ea}.tcm-review-row:first-child{border-top:0}.tcm-review-row>span{padding:11px 12px;overflow-wrap:anywhere}.tcm-review-head{background:#17395f;color:#fff;border-top:0}.tcm-review-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:18px}.tcm-inline-form{display:inline;margin:0}.tcm-success-modal{text-align:center;max-width:520px}.tcm-success-icon{width:58px;height:58px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#e9f6ee;color:#198754;font-size:34px;font-weight:800;margin-bottom:8px}.tcm-success-modal h2{color:#17395f}.tcm-success-modal p{color:#40556d;margin-bottom:20px}@media(max-width:700px){.tcm-selected-case-banner,.tcm-case-summary{grid-template-columns:1fr}.tcm-review-row{grid-template-columns:1fr}.tcm-review-head{display:none}.tcm-review-row>span{border-top:1px solid #d7e0ea}.tcm-review-row>span:first-child{border-top:0}.tcm-modal{padding:20px}.tcm-review-actions{flex-direction:column}.tcm-review-actions .tcm-btn,.tcm-review-actions form{width:100%}.tcm-review-actions form .tcm-btn{width:100%}}

.tcm-case-entry-modal{max-width:1100px}.tcm-case-entry-modal>.tcm-panel{box-shadow:none;border:0;padding:0;margin:0}.tcm-case-entry-modal .tcm-selected-case-banner{margin-top:2px}.tcm-case-entry-backdrop{align-items:flex-start;padding-top:5vh}

.tcm-review-actions{align-items:center;flex-wrap:wrap}.tcm-review-actions .tcm-inline-form{display:inline-flex}.tcm-review-actions .tcm-btn{min-width:130px;justify-content:center}

/* v2.5.0 Bulk NDH Update */
.tcm-bulk-panel{margin:24px 0 28px;padding:24px}.tcm-bulk-date-form{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:16px 0}.tcm-bulk-date-form label{display:flex;flex-direction:column;gap:6px;font-weight:800;color:#17395f}.tcm-bulk-date-form input{min-height:46px;padding:9px 12px;border:1px solid #c9d6e3;border-radius:8px;font-size:16px}.tcm-bulk-table{border:1px solid #d5dfe9;border-radius:12px;overflow:auto;background:#fff}.tcm-bulk-row{display:grid;grid-template-columns:.75fr .75fr 1.45fr 1fr 1fr 1.35fr;min-width:1050px;border-top:1px solid #dbe3eb;align-items:center}.tcm-bulk-row:first-child{border-top:0}.tcm-bulk-row>div,.tcm-bulk-row>span{padding:12px 14px}.tcm-bulk-head{background:#17395f;color:#fff;font-weight:900}.tcm-bulk-row strong{display:block;color:#17395f}.tcm-bulk-row small{display:block;color:#65788a;margin-top:4px}.tcm-bulk-row input,.tcm-bulk-row select{width:100%;box-sizing:border-box;min-height:44px;border:1px solid #c9d6e3;border-radius:8px;background:#fff;padding:8px 10px;font-size:15px}.tcm-bulk-row input[readonly]{background:#eef3f8;font-weight:800}.tcm-bulk-actions{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:16px;padding-top:15px;border-top:2px solid #e2bb50;color:#53687c;font-weight:700}.tcm-bulk-review-modal{max-width:1100px}.tcm-bulk-review-modal .tcm-review-table{max-height:60vh;overflow:auto}.tcm-bulk-review-modal .tcm-review-row{grid-template-columns:1.15fr 1fr 1fr}.tcm-bulk-review-modal .tcm-review-head{position:sticky;top:0;z-index:2}
@media(max-width:700px){.tcm-bulk-date-form{align-items:stretch}.tcm-bulk-date-form label,.tcm-bulk-date-form .tcm-btn{width:100%;box-sizing:border-box}.tcm-bulk-actions{display:block}.tcm-bulk-actions .tcm-btn{margin-top:12px}.tcm-bulk-review-modal .tcm-review-table{max-height:none}}

/* v2.5.0 modal bulk launcher */
.tcm-bulk-launch{margin:0 0 18px;min-width:170px}.tcm-bulk-entry-backdrop{display:none;align-items:flex-start;padding-top:6vh}.tcm-bulk-entry-backdrop.is-open{display:flex}.tcm-bulk-entry-backdrop .tcm-bulk-panel{margin:0;max-width:1180px;width:min(1180px,96vw);position:relative}.tcm-bulk-help{background:#eef3f8;border-left:5px solid #e1b94d;border-radius:9px;padding:16px;margin-top:16px;color:#425970}.tcm-bulk-help strong{color:#17395f}

.tcm-bulk-load-message{margin:8px 0 12px;color:#17395f;font-weight:700;min-height:20px}.tcm-bulk-load-message:empty{display:none}

/* Management 0.1 — unified professional application shell */
.tcm-application-page .tc-header,
.tcm-application-page .tc-nav-wrap,
.tcm-application-page .tc-footer{display:none!important}
.tcm-application-page .tc-main{max-width:none!important;margin:0!important;padding:0!important}
.tcm-application-page .tc-page-card{max-width:none!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.tcm-application-page .tc-page-title,
.tcm-application-page .tc-page-description{display:none!important}
.tcm-shell{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif!important;color:#17385f;background:#f3f6fa;min-height:100vh}
.tcm-app-header{position:sticky;top:0;z-index:100100;background:linear-gradient(115deg,#0c2e4c 0%,#123f68 58%,#174f7d 100%);color:#fff;min-height:106px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px clamp(18px,4vw,58px);box-sizing:border-box;box-shadow:0 8px 24px rgba(7,35,60,.18);transition:transform .28s ease,box-shadow .28s ease,min-height .28s ease}
.tcm-brand-wrap{display:flex;align-items:center;gap:18px;min-width:0}.tcm-brand-mark{width:66px;height:66px;flex:0 0 66px;border-radius:18px;background:linear-gradient(145deg,#fff,#edf2f6);color:#123858;display:grid;place-items:center;font-weight:950;font-size:24px;box-shadow:0 5px 18px rgba(0,0,0,.2);letter-spacing:-1px}.tcm-brand-copy{min-width:0}.tcm-brand-main{font-family:Georgia,"Times New Roman",serif;font-size:clamp(31px,3.4vw,52px);font-weight:500;line-height:1.02;letter-spacing:-1.3px;white-space:nowrap}.tcm-brand-main span{color:#fff}.tcm-brand-main strong{color:#e3ba4d;font-weight:700}.tcm-brand-subtitle{margin-top:8px;color:#dbe8f3;font-size:clamp(13px,1.25vw,18px);font-weight:650;letter-spacing:.35px}.tcm-header-user{display:flex;align-items:center;gap:10px;flex:0 0 auto}.tcm-user-chip{font-weight:750;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.28);border-radius:999px;padding:11px 18px;white-space:nowrap}.tcm-header-logout,.tcm-login-button{min-height:44px;padding:10px 17px!important;border:1px solid rgba(255,255,255,.75)!important;border-radius:10px!important;background:transparent!important;color:#fff!important;text-decoration:none!important;font-weight:850;cursor:pointer}.tcm-header-logout:hover,.tcm-login-button:hover{background:#e3ba4d!important;color:#123858!important;border-color:#e3ba4d!important}
.tcm-menu-shell{position:sticky;top:106px;z-index:100090;background:#0b2b47;border-bottom:3px solid #dfb94d;box-shadow:0 5px 18px rgba(8,32,53,.18);transition:top .28s ease}.tcm-nav{position:relative!important;top:auto!important;z-index:auto!important;max-width:1500px;margin:0 auto;background:transparent!important;border:0!important;box-shadow:none!important;display:flex;align-items:center;justify-content:flex-start;gap:4px;flex-wrap:nowrap;padding:0 18px!important}.tcm-nav-group{position:relative;flex:0 0 auto}.tcm-nav-group-title{appearance:none;border:0!important;background:transparent!important;color:#fff!important;min-height:57px;padding:0 17px!important;border-radius:0!important;font-size:15px!important;font-weight:900!important;letter-spacing:.5px;cursor:pointer;display:flex!important;align-items:center;gap:8px}.tcm-nav-group-title:hover,.tcm-nav-group.tcm-expanded .tcm-nav-group-title{background:#173f63!important;color:#e7bf55!important}.tcm-chevron{font-size:16px;transition:transform .18s ease}.tcm-nav-group.tcm-expanded .tcm-chevron{transform:rotate(180deg)}.tcm-nav-sub{display:none;position:absolute;left:0;top:57px;min-width:235px;background:#fff;border:1px solid #d8e0e8;border-top:3px solid #dfb94d;border-radius:0 0 12px 12px;box-shadow:0 14px 34px rgba(8,34,57,.25);padding:7px;flex-direction:column;gap:2px}.tcm-nav-group.tcm-expanded .tcm-nav-sub{display:flex}.tcm-nav-sub a{display:block;background:transparent!important;color:#17385f!important;border:0!important;border-radius:8px!important;padding:11px 13px!important;font-weight:750;text-decoration:none!important;white-space:nowrap}.tcm-nav-sub a:hover,.tcm-nav-sub a.is-active{background:#eef3f8!important;color:#0b3b63!important}.tcm-nav-sub a.is-active{border-left:4px solid #dcb74b!important;padding-left:9px!important}.tcm-menu-toggle{display:none!important}
.tcm-upcoming{height:47px!important;background:#071f37!important}.tcm-upcoming b{background:#e0ba51!important;color:#12385e!important;padding:0 24px!important}.tcm-upcoming span{padding-left:22px!important;color:#fff!important}.tcm-main{max-width:1540px!important;padding:34px 28px 70px!important}.tcm-main h1{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;font-weight:850;letter-spacing:-.7px}
.tcm-footer{margin-top:25px;background:#fff;border-top:1px solid #dce3ea;min-height:86px;display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;padding:22px 18px;color:#64758a;font-size:13px}.tcm-footer strong{color:#123858}.tcm-footer span+span{border-left:1px solid #ccd6df;padding-left:9px}
.tcm-scroll-down .tcm-app-header{transform:translateY(-100%);box-shadow:none}.tcm-scroll-down .tcm-menu-shell{top:0}.tcm-scroll-up .tcm-app-header{transform:translateY(0)}.tcm-scroll-up .tcm-menu-shell{top:106px}
.tcm-scroll-down .tcm-menu-shell{box-shadow:0 6px 20px rgba(8,32,53,.25)}
@media(max-width:1050px){.tcm-brand-main{font-size:34px}.tcm-brand-mark{width:56px;height:56px;flex-basis:56px}.tcm-brand-subtitle{font-size:12px}.tcm-user-chip{display:none}.tcm-nav-group-title{padding:0 11px!important;font-size:14px!important}.tcm-main{padding-left:18px!important;padding-right:18px!important}}
@media(max-width:800px){.tcm-app-header{min-height:76px;padding:12px 14px}.tcm-brand-wrap{gap:11px}.tcm-brand-mark{width:46px;height:46px;flex-basis:46px;border-radius:12px;font-size:18px}.tcm-brand-main{font-size:25px;letter-spacing:-.7px}.tcm-brand-subtitle{font-size:10px;margin-top:4px}.tcm-header-logout{display:none}.tcm-menu-shell{top:76px}.tcm-menu-toggle{display:flex!important;align-items:center;gap:8px;margin:7px 10px;width:calc(100% - 20px);justify-content:center;background:#e1b94d!important;color:#123858!important;border:0!important;border-radius:9px!important;min-height:44px;font-weight:900}.tcm-menu-icon{font-size:18px}.tcm-nav{display:none!important;flex-direction:column!important;align-items:stretch!important;padding:0 10px 10px!important;gap:2px!important}.tcm-nav.tcm-open{display:flex!important}.tcm-nav-group{width:100%}.tcm-nav-group-title{width:100%;justify-content:space-between;min-height:48px;padding:0 14px!important;background:#123f68!important;border-radius:8px!important}.tcm-nav-sub{position:static;min-width:0;border:0;border-left:3px solid #dfb94d;border-radius:0;box-shadow:none;padding:3px 0 3px 8px;background:#f7fafc}.tcm-nav-sub a{white-space:normal;padding:10px 13px!important}.tcm-upcoming{font-size:12px!important}.tcm-upcoming b{padding:0 13px!important}.tcm-upcoming span{padding-left:12px!important}.tcm-main{padding:22px 12px 55px!important}.tcm-footer{font-size:12px}.tcm-scroll-up .tcm-menu-shell{top:76px}}
@media(max-width:520px){.tcm-brand-main{font-size:22px}.tcm-brand-subtitle{font-size:9px}.tcm-header-user{display:none}.tcm-upcoming b{font-size:11px}.tcm-upcoming span{font-size:11px}.tcm-footer{display:block;text-align:center;line-height:1.8}.tcm-footer span{display:block}.tcm-footer span+span{border-left:0;padding-left:0}}

/* ================================================================
   Management 0.2 — unified page opening / professional navigation
   ================================================================ */
.tcm-shell{background:#f4f7fb!important;color:#163657!important}
.tcm-app-header{position:sticky!important;top:0!important;min-height:112px!important;padding:20px clamp(22px,4vw,68px)!important;background:linear-gradient(120deg,#092d4c 0%,#12466f 62%,#1d5b85 100%)!important;border-bottom:1px solid rgba(255,255,255,.13)!important}
.tcm-brand-wrap{color:#fff!important;text-decoration:none!important}
.tcm-brand-main{font-family:Georgia,"Times New Roman",serif!important;font-size:clamp(32px,3.3vw,52px)!important;letter-spacing:.2px!important;font-weight:700!important}
.tcm-brand-main span{color:#fff!important}.tcm-brand-main strong{color:#efc44f!important;font-weight:700!important}
.tcm-brand-subtitle{font-family:Georgia,"Times New Roman",serif!important;color:#e3edf5!important;font-size:clamp(13px,1.25vw,18px)!important;font-weight:500!important;letter-spacing:.6px!important}
.tcm-page-hero{display:flex;align-items:center;justify-content:space-between;gap:28px;margin:0 0 26px;padding:32px clamp(24px,4vw,52px);border-radius:0 0 24px 24px;background:linear-gradient(120deg,#103e63,#205f88);color:#fff;box-shadow:0 10px 30px rgba(13,50,79,.16);position:relative;overflow:hidden}
.tcm-page-hero:after{content:"";position:absolute;right:-90px;top:-120px;width:360px;height:360px;border-radius:50%;border:70px solid rgba(255,255,255,.045);pointer-events:none}
.tcm-page-hero-copy{position:relative;z-index:1}.tcm-page-hero .tcm-eyebrow{font-size:14px;letter-spacing:3px;color:#f0c54d;font-weight:900;margin-bottom:9px}.tcm-page-hero h1{margin:0!important;color:#fff!important;font-family:Georgia,"Times New Roman",serif!important;font-size:clamp(34px,4vw,58px)!important;line-height:1.05!important;letter-spacing:-.5px!important}.tcm-page-hero p{margin:10px 0 0;color:#e4eef6;font-family:Georgia,"Times New Roman",serif;font-size:clamp(14px,1.3vw,19px);letter-spacing:.4px}
.tcm-page-actions{position:relative;z-index:2;display:flex;gap:12px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.tcm-page-actions .tcm-btn{min-width:142px;text-align:center;box-sizing:border-box}
.tcm-btn-gold{background:#efc44f!important;color:#113a5c!important;border-color:#efc44f!important}.tcm-btn-gold:hover{background:#f5d46e!important}.tcm-btn-light{background:#fff!important;color:#173e62!important;border-color:#fff!important}.tcm-btn-light:hover{background:#edf3f8!important}
/* Picture 2: secondary workspace menu is intentionally limited to Advocate/Admin pages. */
.tcm-adv-admin-bar{background:#0a2b48;border-bottom:3px solid #e2bc4e;box-shadow:0 6px 18px rgba(8,35,58,.18);position:sticky;top:112px;z-index:100090}
.tcm-adv-admin-bar .tcm-nav{display:flex!important;max-width:1500px;margin:auto;padding:0 18px!important;justify-content:flex-start;align-items:center}
.tcm-adv-admin-bar .tcm-nav-group-title{min-height:56px!important;color:#fff!important}.tcm-adv-admin-bar .tcm-nav-group-title:hover,.tcm-adv-admin-bar .tcm-nav-group.tcm-expanded .tcm-nav-group-title{background:#16466b!important;color:#f0c54d!important}
.tcm-adv-admin-bar .tcm-nav-sub{top:56px!important}
.tcm-adv-admin-bar + .tcm-upcoming{display:flex!important}
.tcm-upcoming{height:48px!important}
/* Dashboard is Home: do not show a second hero inside the Home dashboard. */
.tcm-main > .tcm-hero-panel{display:none!important}
.tcm-main > .tcm-stat-grid{margin-top:0!important}
.tcm-stat-card{transition:transform .18s ease,box-shadow .18s ease}.tcm-stat-card:hover{transform:translateY(-2px);box-shadow:0 12px 25px rgba(19,52,82,.12)}
.tcm-footer{font-family:Georgia,"Times New Roman",serif!important;color:#64768a!important}.tcm-footer span:last-child{font-weight:600;color:#52677d}
/* When compacted while scrolling down, the large header disappears and the action bar remains available. */
.tcm-scroll-down .tcm-app-header{transform:translateY(-100%)!important}.tcm-scroll-down .tcm-page-hero{position:sticky;top:0;z-index:100050;border-radius:0 0 18px 18px;padding-top:16px;padding-bottom:16px;box-shadow:0 7px 20px rgba(8,35,58,.18)}
.tcm-scroll-down .tcm-page-hero h1{font-size:clamp(25px,3vw,38px)!important}.tcm-scroll-down .tcm-page-hero p,.tcm-scroll-down .tcm-page-hero .tcm-eyebrow{display:none}.tcm-scroll-down .tcm-adv-admin-bar{top:0}
.tcm-scroll-up .tcm-app-header{transform:translateY(0)!important}.tcm-scroll-up .tcm-page-hero{position:relative}
@media(max-width:900px){.tcm-page-hero{align-items:flex-start;flex-direction:column;padding:27px 22px}.tcm-page-actions{width:100%;justify-content:flex-start}.tcm-page-actions .tcm-btn{min-width:130px}.tcm-adv-admin-bar{top:96px}.tcm-adv-admin-bar .tcm-nav{display:none!important}.tcm-adv-admin-bar .tcm-menu-toggle{display:flex!important;margin:7px 10px;width:calc(100% - 20px);justify-content:center;align-items:center;gap:8px;background:#e2bc4e!important;color:#12385b!important;min-height:44px;border-radius:9px!important}.tcm-adv-admin-bar .tcm-nav.tcm-open{display:flex!important;flex-direction:column!important;padding-bottom:10px!important}.tcm-adv-admin-bar .tcm-nav-group{width:100%}.tcm-adv-admin-bar .tcm-nav-group-title{width:100%;justify-content:space-between;background:#123e62!important;border-radius:8px!important}.tcm-adv-admin-bar .tcm-nav-sub{position:static!important;background:#f7fafc!important;border-left:3px solid #e2bc4e;border-radius:0;box-shadow:none;min-width:0}.tcm-scroll-down .tcm-adv-admin-bar{top:0}}
@media(max-width:560px){.tcm-app-header{min-height:76px!important;padding:12px 14px!important}.tcm-brand-mark{width:45px!important;height:45px!important;flex-basis:45px!important}.tcm-brand-main{font-size:23px!important}.tcm-brand-subtitle{font-size:10px!important}.tcm-page-hero{margin-bottom:18px;padding:22px 17px;border-radius:0 0 18px 18px}.tcm-page-hero h1{font-size:31px!important}.tcm-page-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.tcm-page-actions .tcm-btn{width:100%;min-width:0}.tcm-scroll-down .tcm-page-hero{padding:12px 14px}.tcm-scroll-down .tcm-page-hero h1{font-size:23px!important}.tcm-adv-admin-bar{top:76px}}

/* Management 0.3: page banner belongs between the role menu and Upcoming Dates. */
.tcm-adv-admin-bar + .tcm-page-hero{margin-top:0!important}
.tcm-page-hero + .tcm-upcoming{margin-top:0!important}
.tcm-upcoming{overflow-x:auto!important;white-space:nowrap!important;display:flex!important;align-items:stretch!important}
.tcm-upcoming b{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important}
.tcm-upcoming span{display:flex!important;align-items:center!important;gap:14px!important;min-width:max-content!important}
.tcm-date-link{color:#fff!important;text-decoration:none!important;font-weight:800!important;border-radius:6px;padding:5px 4px!important;transition:background .18s ease,color .18s ease}
.tcm-date-link:hover,.tcm-date-link:focus{background:rgba(255,255,255,.12)!important;color:#f0c54d!important;text-decoration:none!important;outline:none}
.tcm-date-sep{color:#d8e5ef!important;font-weight:700!important}
.tcm-no-dates{padding-left:4px}
@media(max-width:800px){.tcm-upcoming span{gap:8px!important}.tcm-date-link{font-size:12px!important}.tcm-date-sep{font-size:12px!important}}

/* ================================================================
   Management 0.4 — final navigation, spacing and scroll stability
   ================================================================ */
html,body{overflow-x:hidden!important;min-height:100%!important}
body{overflow-y:auto!important}
.tcm-shell{width:100%;min-height:100vh;overflow:visible!important}

/* The large brand header is deliberately in normal document flow.
   Only the compact navigation is sticky. This prevents the old
   sticky-header/transform combination from fighting the browser's
   scroll position and producing flicker or a locked page. */
.tcm-app-header{
 position:relative!important;
 top:auto!important;
 transform:none!important;
 transition:none!important;
 z-index:1000!important;
 min-height:112px!important;
}
.tcm-menu-shell{
 position:sticky!important;
 top:0!important;
 z-index:100090!important;
 height:auto!important;
 transition:none!important;
}
.tcm-nav{min-height:58px!important}

/* Four requested primary links: Home, Advocate, Applicant and Admin.
   Workspace and Data Entry remain grouped secondary menus. */
.tcm-top-link{
 display:flex!important;
 align-items:center!important;
 min-height:58px!important;
 padding:0 18px!important;
 color:#fff!important;
 background:transparent!important;
 border:0!important;
 border-radius:0!important;
 text-decoration:none!important;
 font-size:15px!important;
 font-weight:900!important;
 letter-spacing:.35px!important;
 white-space:nowrap!important;
}
.tcm-top-link:hover,.tcm-top-link:focus,.tcm-top-link.is-active{
 background:#173f63!important;
 color:#efc44f!important;
 text-decoration:none!important;
 outline:none!important;
}

/* Professional page banner sits immediately above Upcoming Dates. */
.tcm-page-hero{
 margin:0!important;
 border-radius:0 0 22px 22px!important;
}
.tcm-page-hero + .tcm-upcoming{margin:0!important}
.tcm-upcoming{margin:0!important}

/* Remove the scroll-time transforms responsible for visual flicker. */
.tcm-scroll-down .tcm-app-header,
.tcm-scroll-up .tcm-app-header{transform:none!important;transition:none!important}
.tcm-scroll-down .tcm-menu-shell,
.tcm-scroll-up .tcm-menu-shell{top:0!important;transition:none!important}
.tcm-scroll-down .tcm-page-hero{position:relative!important;top:auto!important;padding:32px clamp(24px,4vw,52px)!important;box-shadow:0 10px 30px rgba(13,50,79,.16)!important}
.tcm-scroll-down .tcm-page-hero h1{font-size:clamp(34px,4vw,58px)!important}
.tcm-scroll-down .tcm-page-hero p,.tcm-scroll-down .tcm-page-hero .tcm-eyebrow{display:block!important}

/* Dropdowns are click-controlled, never hover-dependent. */
.tcm-nav-group:hover .tcm-nav-sub{display:none!important}
.tcm-nav-group.tcm-expanded .tcm-nav-sub{display:flex!important}
.tcm-nav-group-title:focus-visible,.tcm-top-link:focus-visible,.tcm-nav-sub a:focus-visible{outline:3px solid #efc44f!important;outline-offset:-2px!important}

/* Home must not carry the statistics row; the reusable statistics are
   rendered only on Advocate and Administrator pages. */
.tcm-home-page .tcm-stat-grid{display:none!important}

/* Do not allow content wrappers from a host theme/page builder to create
   an artificial vertical gap around the application shell. */
.tcm-application-page .site-main,
.tcm-application-page .content-area,
.tcm-application-page .entry-content{margin-top:0!important;padding-top:0!important}

@media(max-width:1100px){
 .tcm-top-link{padding:0 13px!important;font-size:14px!important}
 .tcm-nav-group-title{padding:0 12px!important;font-size:14px!important}
}
@media(max-width:900px){
 .tcm-app-header{min-height:96px!important}
 .tcm-menu-shell{top:0!important}
 .tcm-nav{min-height:0!important}
 .tcm-top-link{width:100%!important;min-height:48px!important;justify-content:flex-start!important;padding:0 14px!important}
 .tcm-nav-group-title{min-height:48px!important}
 .tcm-nav-group:hover .tcm-nav-sub{display:none!important}
 .tcm-nav-group.tcm-expanded .tcm-nav-sub{display:flex!important}
 .tcm-page-hero{margin:0!important}
}
@media(max-width:560px){
 .tcm-app-header{min-height:76px!important}
 .tcm-page-hero{border-radius:0 0 18px 18px!important}
}


/* ================================================================
   AutoManage 0.1 — navigation and home-page presentation
   ================================================================ */
/* Primary order: Home, Applicant, Advocate, Admin, Data Entry.
   Workspace and People are intentionally not rendered. */
.tcm-menu-shell{position:sticky!important;top:0!important;z-index:100090!important;margin:0!important}
.tcm-nav{justify-content:flex-start!important;gap:2px!important;padding:0 24px!important;min-height:58px!important}
.tcm-top-link{order:initial!important}
.tcm-nav-group{order:5!important}
.tcm-nav-group-title{min-height:58px!important}
/* No visual gap between page banner and upcoming-date strip. */
.tcm-page-hero{margin:0!important;border-radius:0!important;display:flex!important}
.tcm-page-hero + .tcm-upcoming{margin:0!important;border-top:0!important}
.tcm-upcoming{margin:0!important}
/* Statistics are not part of the Home/Dashboard page. They remain available
   where tcm_stats_section() is explicitly rendered (Advocate/Admin). */
.tcm-home-page .tcm-stat-grid,
.tcm-dashboard-page .tcm-stat-grid{display:none!important}
/* Stable scrolling: no transform/position changes on scroll. */
.tcm-shell,.tcm-app-header,.tcm-menu-shell,.tcm-page-hero,.tcm-upcoming{transform:none!important}
.tcm-scroll-down .tcm-app-header,.tcm-scroll-up .tcm-app-header,
.tcm-scroll-down .tcm-menu-shell,.tcm-scroll-up .tcm-menu-shell,
.tcm-scroll-down .tcm-page-hero,.tcm-scroll-up .tcm-page-hero{transform:none!important;transition:none!important}
body{overflow-y:auto!important;overscroll-behavior-y:auto!important}
html{scroll-behavior:smooth}
/* More refined brand typography. */
.tcm-brand-main{font-family:Georgia,"Times New Roman",serif!important;font-weight:700!important;letter-spacing:-1px!important}
.tcm-brand-main span{color:#fff!important}
.tcm-brand-main strong{color:#f0c54d!important;font-weight:700!important}
.tcm-brand-subtitle{font-family:Georgia,"Times New Roman",serif!important;color:#e9f1f7!important;font-weight:500!important;letter-spacing:.25px!important}
.tcm-page-hero h1{font-family:Georgia,"Times New Roman",serif!important;font-weight:700!important}
.tcm-page-hero p{font-family:Georgia,"Times New Roman",serif!important;font-weight:500!important}
.tcm-eyebrow{font-family:Arial,Helvetica,sans-serif!important;letter-spacing:3px!important;color:#f0c54d!important}
.tcm-footer{margin-top:0!important}
@media(max-width:900px){
 .tcm-nav{padding:0 10px 10px!important}
 .tcm-menu-shell{top:0!important}
 .tcm-page-hero{margin:0!important}
}

/* ================================================================
   AutoManage Ver 0.3 — compact one-line page banner
   Page title and special action buttons stay on one professional row
   on desktop/tablet widths; controls shrink to fit before wrapping.
   ================================================================ */
.tcm-page-hero{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(520px,56%);
  align-items:center!important;
  column-gap:24px!important;
  row-gap:0!important;
}
.tcm-page-hero-copy{
  min-width:0!important;
  overflow:hidden!important;
}
.tcm-page-hero .tcm-eyebrow{
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.tcm-page-hero h1{
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  font-size:clamp(32px,3.35vw,56px)!important;
  line-height:1.02!important;
}
.tcm-page-actions{
  min-width:0!important;
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:nowrap!important;
  gap:14px!important;
}
.tcm-page-actions .tcm-btn{
  flex:1 1 0!important;
  min-width:0!important;
  width:auto!important;
  max-width:none!important;
  padding:14px 16px!important;
  white-space:nowrap!important;
  text-align:center!important;
  font-size:clamp(13px,1.05vw,18px)!important;
  line-height:1.15!important;
  box-sizing:border-box!important;
}
/* Keep the complete banner compact at intermediate desktop widths. */
@media (min-width:901px) and (max-width:1250px){
  .tcm-page-hero{grid-template-columns:minmax(300px,1fr) minmax(500px,59%);column-gap:16px!important;padding-left:26px!important;padding-right:26px!important}
  .tcm-page-actions{gap:8px!important}
  .tcm-page-actions .tcm-btn{padding:12px 9px!important;font-size:13px!important}
  .tcm-page-hero h1{font-size:clamp(29px,3.2vw,43px)!important}
}
/* At phone widths, accessibility and touch targets take priority over
   the desktop one-line rule. */
@media (max-width:900px){
  .tcm-page-hero{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:18px!important}
  .tcm-page-hero-copy{overflow:visible!important}
  .tcm-page-hero h1{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
  .tcm-page-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important}
  .tcm-page-actions .tcm-btn{width:100%!important;padding:13px 9px!important;font-size:14px!important}
}
@media (max-width:560px){
  .tcm-page-actions{grid-template-columns:1fr 1fr!important}
  .tcm-page-actions .tcm-btn{font-size:13px!important}
}

/* ================================================================
   AutoManage 0.4 — Applicant case workspace
   ================================================================ */
.tcm-applicant-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 20px;padding:16px 20px;background:#f1f5f9;border-left:5px solid #efc44f;border-radius:10px;font-weight:700;color:#24466c}
.tcm-applicant-case-grid .tcm-card{display:flex;flex-direction:column}
.tcm-applicant-case-grid .tcm-card .tcm-btn{align-self:flex-start;margin-top:auto}
.tcm-applicant-case-modal{width:min(1100px,94vw);max-height:90vh;overflow:auto}
.tcm-modal-wide{width:min(1000px,94vw);max-height:90vh;overflow:auto}
.tcm-app-case-sections{display:grid;gap:14px}
.tcm-section-actions{display:flex;gap:8px;align-items:center}
.tcm-readonly-badge{display:inline-block;padding:5px 9px;border-radius:999px;background:#edf2f7;color:#5f7184;font-size:12px;font-weight:800}
.tcm-applicant-admin-note{margin-top:16px;padding:12px 15px;border-left:4px solid #efc44f;background:#f8fafc;color:#53677d;border-radius:7px}
.tcm-modal-backdrop .tcm-modal label{font-weight:800;color:#24466c}
.tcm-modal-backdrop .tcm-modal input,.tcm-modal-backdrop .tcm-modal select,.tcm-modal-backdrop .tcm-modal textarea{box-sizing:border-box;width:100%;margin-top:7px}
.tcm-modal-backdrop .tcm-modal .tcm-form-grid{gap:16px}
@media(max-width:800px){
 .tcm-applicant-toolbar{flex-direction:column;align-items:stretch}
 .tcm-applicant-toolbar .tcm-btn{width:100%;text-align:center}
 .tcm-applicant-case-modal,.tcm-modal-wide{width:96vw;max-height:92vh}
 .tcm-review-row{grid-template-columns:1fr!important;gap:5px}
 .tcm-review-head{display:none!important}
}

/* ================================================================
   AutoManage Ver 0.1 — final integrated UI rules
   ================================================================ */
html,body{overflow-x:hidden!important;min-height:100%!important}
body{overflow-y:auto!important;overscroll-behavior-y:auto!important}
.tcm-shell{width:100%!important;min-height:100vh!important;overflow:visible!important;background:#f4f7fb!important}

/* Stable application header and navigation: no scroll-time transforms. */
.tcm-app-header{position:relative!important;top:auto!important;transform:none!important;transition:none!important;z-index:1000!important}
.tcm-menu-shell{position:sticky!important;top:0!important;z-index:100090!important;margin:0!important;transition:none!important}
.tcm-scroll-down .tcm-app-header,.tcm-scroll-up .tcm-app-header,.tcm-scroll-down .tcm-menu-shell,.tcm-scroll-up .tcm-menu-shell{transform:none!important;transition:none!important;top:0!important}

/* Required primary menu order. */
.tcm-nav{justify-content:flex-start!important;gap:2px!important;padding:0 24px!important;min-height:58px!important}
.tcm-top-link{order:initial!important;display:flex!important;align-items:center!important;min-height:58px!important;padding:0 20px!important;background:transparent!important;color:#fff!important;border:0!important;border-radius:0!important;font-weight:900!important;white-space:nowrap!important;text-decoration:none!important}
.tcm-top-link:hover,.tcm-top-link:focus,.tcm-top-link.is-active{background:#173f63!important;color:#f0c44f!important}
.tcm-nav-group{order:5!important}
.tcm-nav-group-title{min-height:58px!important}
.tcm-nav-group:hover .tcm-nav-sub{display:none!important}
.tcm-nav-group.tcm-expanded .tcm-nav-sub{display:flex!important}

/* Page banner is directly followed by Upcoming Dates — no artificial gap. */
.tcm-page-hero{margin:0!important;border-radius:0!important}
.tcm-page-hero + .tcm-upcoming{margin:0!important;border-top:0!important}
.tcm-upcoming{margin:0!important}

/* Home is the dashboard; the summary-stat row is reserved for Advocate/Admin. */
.tcm-home-page .tcm-stat-grid,.tcm-dashboard-page .tcm-stat-grid{display:none!important}

/* Applicant workspace: the banner contains no registration/New Case/NDH/Case Data/Today List actions. */
.tcm-applicant-toolbar{margin-top:0!important}
.tcm-applicant-toolbar .tcm-btn{display:none!important}

/* Registration landing page uses the same application menu and has one focused action. */
.tcm-page-hero .tcm-page-actions{min-width:0}

/* Professional footer wording and spacing. */
.tcm-footer{margin-top:0!important}

@media(max-width:1100px){
 .tcm-nav{padding:0 12px!important}
 .tcm-top-link{padding:0 14px!important;font-size:14px!important}
}
@media(max-width:900px){
 .tcm-menu-shell{top:0!important}
 .tcm-nav{padding:0 10px 10px!important}
 .tcm-top-link{width:100%!important;min-height:48px!important;justify-content:flex-start!important}
 .tcm-nav-group-title{min-height:48px!important}
}


/* ================================================================
   AutoManage Ver 0.3 — Unified Applicant case-action box
   ================================================================ */
.tcm-applicant-case-action-box{
 display:flex!important;
 align-items:stretch!important;
 justify-content:flex-end!important;
 gap:12px!important;
 min-width:0!important;
 width:100%!important;
 padding:10px!important;
 border:1px solid rgba(255,255,255,.38)!important;
 border-radius:16px!important;
 background:rgba(4,29,51,.28)!important;
 box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)!important;
 box-sizing:border-box!important;
}
.tcm-banner-case-control{
 flex:1 1 260px!important;
 min-width:210px!important;
 display:flex!important;
 flex-direction:column!important;
 justify-content:center!important;
}
.tcm-banner-case-select{
 display:flex!important;
 flex-direction:column!important;
 justify-content:center!important;
 gap:5px!important;
 min-width:0!important;
 width:100%!important;
 color:#fff!important;
 font-size:11px!important;
 font-weight:900!important;
 letter-spacing:.45px!important;
 text-transform:uppercase!important;
}
.tcm-banner-case-select select{
 width:100%!important;
 min-width:0!important;
 height:46px!important;
 padding:0 12px!important;
 border:2px solid rgba(255,255,255,.65)!important;
 border-radius:10px!important;
 background:#fff!important;
 color:#163d62!important;
 font-weight:800!important;
 font-size:13px!important;
 box-sizing:border-box!important;
}
.tcm-banner-case-hint{
 display:block!important;
 margin-top:5px!important;
 color:rgba(255,255,255,.78)!important;
 font-size:11px!important;
 font-weight:600!important;
}
.tcm-banner-case-actions{
 flex:1 1 auto!important;
 display:flex!important;
 align-items:center!important;
 justify-content:flex-end!important;
 gap:9px!important;
 min-width:0!important;
}
.tcm-banner-app-action{
 flex:1 1 0!important;
 min-width:145px!important;
 max-width:230px!important;
 min-height:46px!important;
 white-space:normal!important;
 line-height:1.15!important;
 text-align:center!important;
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
}
.tcm-banner-no-case{
 display:flex!important;
 align-items:center!important;
 min-height:46px!important;
 padding:0 14px!important;
 border:1px solid rgba(255,255,255,.35)!important;
 border-radius:10px!important;
 color:#fff!important;
 font-weight:800!important;
}
.tcm-required-flash{outline:4px solid #efc44f!important;outline-offset:2px!important}
@media (min-width:901px) and (max-width:1400px){
 .tcm-applicant-case-action-box{gap:8px!important;padding:8px!important}
 .tcm-banner-case-control{flex-basis:210px!important;min-width:190px!important}
 .tcm-banner-case-actions{gap:6px!important}
 .tcm-banner-app-action{min-width:120px!important;padding:10px 8px!important;font-size:12px!important}
}
@media(max-width:900px){
 .tcm-applicant-case-action-box{display:flex!important;flex-direction:column!important;gap:9px!important}
 .tcm-banner-case-control{width:100%!important;min-width:0!important}
 .tcm-banner-case-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important;width:100%!important}
 .tcm-banner-app-action{max-width:none!important;width:100%!important}
 .tcm-banner-no-case{width:100%!important;box-sizing:border-box!important}
}
@media(max-width:560px){
 .tcm-banner-case-actions{grid-template-columns:1fr!important}
}

/* Management Ver 0.5: Applicant Workspace explanatory strip removed. */
.tcm-applicant-toolbar{display:none!important}

/* ================================================================
   AutoManage 0.1 — Minimum Entry / Maximum Automation
   ================================================================ */
.tcm-min-entry{margin-top:0!important}
.tcm-min-entry-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:8px}
.tcm-min-entry-head h2{margin:0 0 8px;color:#173f63;font-size:32px}
.tcm-min-badge{flex:0 0 auto;background:#f2c84b;color:#12385b;border-radius:999px;padding:10px 15px;font-size:12px;font-weight:900;letter-spacing:1px}
.tcm-min-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.tcm-min-grid label,.tcm-app-min-grid label{position:relative}
.tcm-min-grid select,.tcm-min-grid input,.tcm-app-min-grid input{font-size:17px;min-height:52px}
.tcm-min-grid .wide{grid-column:1/-1}
.tcm-optional{font-size:12px;color:#68798a;font-weight:600}
.tcm-custom-choice{margin-top:8px!important;border-color:#d3a936!important;background:#fffaf0!important}
.tcm-case-id-preview{margin:18px 0 8px;padding:15px 18px;border-left:5px solid #e7bd45;background:#eef4f8;border-radius:10px;display:flex;justify-content:space-between;gap:20px;align-items:center}
.tcm-case-id-preview span{font-size:13px;text-transform:uppercase;letter-spacing:1.2px;font-weight:900;color:#617387}
.tcm-case-id-preview strong{font-size:21px;color:#123b60;text-align:right}
.tcm-id-note{font-size:14px;color:#627488;margin:0 0 20px}
.tcm-app-min-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.tcm-new-app-card{border:1px solid #d9e2eb!important;border-left:5px solid #e4bc46!important;background:#fbfdff!important;padding:16px!important;border-radius:12px!important}
.tcm-autofill-msg{margin-top:10px;padding:9px 12px;background:#eef6fb;color:#315875;border-radius:8px;font-weight:700;font-size:14px;min-height:18px}
.tcm-min-later{margin-top:22px;padding:15px 17px;background:#f7f9fb;border:1px solid #dce4ec;border-radius:10px;color:#566b7f;font-size:14px;line-height:1.55}
.tcm-success-banner{margin:0 0 18px;padding:15px 18px;border-left:5px solid #2e8b57;background:#eaf7ef;border-radius:9px;color:#1f5f3d;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.tcm-success-banner strong{font-size:18px}.tcm-success-banner span{font-size:15px}
.tcm-client-error{margin-top:15px;padding:12px;border:1px solid #e2aaaa;background:#fff2f2;color:#8d2020;border-radius:8px;font-weight:700}
@media(max-width:900px){.tcm-min-entry-head{flex-direction:column}.tcm-min-badge{align-self:flex-start}.tcm-app-min-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.tcm-min-grid,.tcm-app-min-grid{grid-template-columns:1fr}.tcm-min-grid .wide{grid-column:auto}.tcm-case-id-preview{display:block}.tcm-case-id-preview strong{display:block;text-align:left;margin-top:6px;font-size:17px}.tcm-min-badge{font-size:10px}}

/* Home page must remain a clean landing/dashboard page without the statistics row. */
.tcm-home-clean .tcm-stat-grid{display:none!important}
/* New Case is the canonical diary/intake page and its banner must sit directly above Upcoming Dates. */
.tcm-page-hero + .tcm-upcoming{margin-top:0!important}

/* ================================================================
   AutoManage Ver 0.1 — Case Data full-record view
   ================================================================ */
.tcm-full-record-page{position:relative;width:min(1440px,96vw);margin:28px auto 60px;padding:0 0 30px;color:#173f63}
.tcm-floating-close-record{position:fixed;right:24px;bottom:24px;z-index:100200;border:0;border-radius:999px;background:#e2bc4e;color:#12385b;font-size:16px;font-weight:900;padding:15px 24px;box-shadow:0 10px 28px rgba(8,35,58,.28);cursor:pointer}
.tcm-floating-close-record:hover,.tcm-floating-close-record:focus{background:#f0c54d;outline:3px solid rgba(240,197,77,.35);outline-offset:2px}
.tcm-full-record-head{display:flex;justify-content:space-between;align-items:center;gap:24px;background:linear-gradient(110deg,#123e62,#1f5e89);color:#fff;border-radius:18px;padding:30px 34px;margin-bottom:18px;box-shadow:0 12px 28px rgba(15,55,86,.14)}
.tcm-full-record-head h1{margin:4px 0 8px;font:700 clamp(32px,4vw,52px)/1.05 Georgia,"Times New Roman",serif;color:#fff}
.tcm-full-record-head p{margin:0;font-size:20px;font-weight:800;color:#edf5fb}
.tcm-record-status{display:flex;flex-direction:column;align-items:flex-end;gap:5px;text-align:right}.tcm-record-status strong{font-size:20px;color:#f0c54d}.tcm-record-status span{font-weight:800;color:#fff}
.tcm-complete-case-section{margin-bottom:16px}.tcm-record-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}.tcm-record-field{background:#f4f7fb;border-left:4px solid #e2bc4e;border-radius:8px;padding:11px 13px;min-width:0}.tcm-record-field span{display:block;color:#60758a;font-size:13px;font-weight:800;margin-bottom:4px}.tcm-record-field strong{display:block;color:#173f63;font-size:15px;line-height:1.35;overflow-wrap:anywhere}
.tcm-record-person{padding:12px 0;border-bottom:1px solid #dfe7ee}.tcm-record-person:last-child{border-bottom:0}.tcm-record-person h3{margin:0 0 10px;color:#173f63}
@media(max-width:800px){.tcm-full-record-page{width:94vw}.tcm-full-record-head{flex-direction:column;align-items:flex-start}.tcm-record-status{align-items:flex-start;text-align:left}.tcm-record-fields{grid-template-columns:1fr}.tcm-floating-close-record{right:14px;bottom:14px;padding:13px 18px;font-size:14px}}
/* Unified Advocate / Case Data card actions */
.tcm-card-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px;align-items:center}
.tcm-card-advocate,.tcm-card-subject,.tcm-card-courtline,.tcm-card-purpose{margin-top:10px;color:#173f63;line-height:1.45}
.tcm-card-advocate b,.tcm-card-subject b,.tcm-card-courtline b,.tcm-card-purpose b{font-weight:800}
.tcm-full-record-page{padding-bottom:90px}
.tcm-floating-close-record{position:fixed!important;right:24px!important;bottom:22px!important;z-index:99999!important;box-shadow:0 10px 24px rgba(0,0,0,.2)!important}
@media(max-width:900px){.tcm-card-actions{flex-direction:column;align-items:stretch}.tcm-card-actions .tcm-btn{width:100%;text-align:center}.tcm-floating-close-record{right:14px!important;bottom:14px!important}}


/* ================================================================
   Full Case Record — compact, expandable presentation
   ================================================================ */
.tcm-page-action-note{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 18px;border:1px solid rgba(255,255,255,.28);border-radius:10px;color:#fff;font-weight:800;background:rgba(255,255,255,.07)}
.tcm-full-record-page{max-width:1500px;margin:0 auto;padding:24px 22px 110px;position:relative}
.tcm-full-record-head{display:flex;align-items:center;justify-content:space-between;gap:28px;margin:0 0 24px;padding:30px clamp(22px,4vw,48px);border-radius:22px;background:linear-gradient(120deg,#103e63,#205f88);color:#fff;box-shadow:0 10px 30px rgba(13,50,79,.16);position:relative;overflow:hidden}
.tcm-full-record-head:after{content:"";position:absolute;right:-100px;top:-140px;width:390px;height:390px;border-radius:50%;border:75px solid rgba(255,255,255,.045);pointer-events:none}
.tcm-full-record-head h1{margin:0!important;color:#fff!important;font-family:Georgia,"Times New Roman",serif!important;font-size:clamp(34px,4vw,58px)!important;line-height:1.05!important}
.tcm-full-record-head p{margin:10px 0 0;color:#edf5fa;font-size:clamp(18px,2vw,28px);font-weight:900;letter-spacing:.2px}
.tcm-record-status{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-end;gap:8px;white-space:nowrap}.tcm-record-status strong{font-size:24px;color:#f0c54d}.tcm-record-status span{font-size:18px;font-weight:900;color:#fff}
.tcm-record-overview{background:#f8fbfd!important}.tcm-record-key-row{display:grid;grid-template-columns:auto minmax(160px,1fr) auto minmax(240px,2fr);gap:12px 18px;align-items:center;padding:14px 16px}.tcm-record-key-row span{font-weight:900;color:#62778d}.tcm-record-key-row strong{font-size:19px;color:#163f63;overflow-wrap:anywhere}
.tcm-collapsible-section details{margin-top:2px}.tcm-collapsible-section details>summary,.tcm-detail-section>details>summary{list-style:none;cursor:pointer;min-height:52px;display:flex;align-items:center;gap:12px;padding:13px 16px;border-radius:12px;background:#eef4f8;color:#173e62;font-size:18px;font-weight:900;user-select:none}.tcm-collapsible-section details>summary::-webkit-details-marker,.tcm-detail-section>details>summary::-webkit-details-marker{display:none}.tcm-collapsible-section details>summary:before,.tcm-detail-section>details>summary:before{content:"+";width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#e2bc4e;color:#113a5c;font-weight:1000;font-size:20px;line-height:1;flex:0 0 28px}.tcm-collapsible-section details[open]>summary:before,.tcm-detail-section>details[open]>summary:before{content:"−"}.tcm-collapsible-section details>summary:hover,.tcm-detail-section>details>summary:hover{background:#e6eff5}.tcm-collapsible-section details[open]>summary,.tcm-detail-section>details[open]>summary{margin-bottom:14px}
.tcm-detail-section{margin:0 0 20px;padding:22px;background:#fff;border:1px solid #d9e4ed;border-radius:18px;box-shadow:0 5px 18px rgba(18,55,85,.05)}.tcm-detail-section .tcm-section-head{margin-bottom:14px}.tcm-detail-section .tcm-section-head h2{margin:0;color:#173e62;font-size:26px}.tcm-record-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}.tcm-record-field{padding:13px 15px;background:#f4f7fa;border-left:4px solid #e2bc4e;border-radius:9px;min-width:0}.tcm-record-field span{display:block;font-size:14px;color:#657a8e;font-weight:800;margin-bottom:5px}.tcm-record-field strong{display:block;color:#173e62;font-size:17px;line-height:1.38;overflow-wrap:anywhere}.tcm-record-person{margin-top:12px}.tcm-record-person h3{margin:0 0 12px;color:#173e62;font-size:22px}.tcm-brief-box{margin-top:15px;padding:16px;border-radius:12px;background:#fbfcfd;border:1px solid #dce7ef}.tcm-brief-box h4{margin:0 0 9px;color:#173e62;font-size:18px}.tcm-brief-text{white-space:normal;color:#334e68;line-height:1.55}.tcm-muted{color:#718397}.tcm-history-list{display:grid;gap:10px}.tcm-document-row{display:flex;align-items:center;justify-content:space-between;gap:18px}.tcm-doc-link{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 13px;background:#173f67;color:#fff!important;border-radius:8px;text-decoration:none!important;font-weight:900;white-space:nowrap}.tcm-doc-link:hover{background:#0e3151;color:#fff!important}.tcm-subsection h3{margin:18px 0 10px;color:#173e62}.tcm-floating-close-record{position:fixed;right:24px;bottom:24px;z-index:100500;border:1px solid #e2bc4e;background:#efc44f;color:#12385b;font-weight:1000;font-size:17px;min-height:56px;padding:0 27px;border-radius:30px;box-shadow:0 10px 28px rgba(8,35,58,.25);cursor:pointer}.tcm-floating-close-record:hover{background:#f5d46e}
@media(max-width:900px){.tcm-full-record-head{align-items:flex-start;flex-direction:column}.tcm-record-status{align-items:flex-start}.tcm-record-key-row{grid-template-columns:1fr}.tcm-record-fields{grid-template-columns:1fr}.tcm-document-row{align-items:flex-start;flex-direction:column}.tcm-floating-close-record{right:16px;bottom:16px;width:calc(100% - 32px);border-radius:12px}}
@media(max-width:560px){.tcm-full-record-page{padding:14px 10px 96px}.tcm-full-record-head{padding:24px 18px;border-radius:16px}.tcm-full-record-head h1{font-size:34px!important}.tcm-full-record-head p{font-size:18px}.tcm-detail-section{padding:15px;border-radius:14px}.tcm-detail-section .tcm-section-head h2{font-size:22px}.tcm-record-field strong{font-size:16px}}


/* ================================================================
   v2.2 Maintenance UI — Picture-1 disclosure/minimise concept
   One disclosure row only; no circular +/− controls.
   ================================================================ */
.tcm-full-record-page .tcm-picture-collapse{margin-top:14px}
.tcm-full-record-page .tcm-picture-collapse>summary,
.tcm-full-record-page .tcm-collapsible-section details>summary,
.tcm-full-record-page .tcm-detail-section>details>summary{
  list-style:none!important;
  cursor:pointer;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  min-height:42px!important;
  padding:8px 2px!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#173f63!important;
  font-size:18px!important;
  font-weight:800!important;
  line-height:1.35!important;
  user-select:none;
  box-shadow:none!important;
}
.tcm-full-record-page .tcm-picture-collapse>summary::-webkit-details-marker,
.tcm-full-record-page .tcm-collapsible-section details>summary::-webkit-details-marker,
.tcm-full-record-page .tcm-detail-section>details>summary::-webkit-details-marker{display:none!important}
.tcm-full-record-page .tcm-picture-collapse>summary:before,
.tcm-full-record-page .tcm-collapsible-section details>summary:before,
.tcm-full-record-page .tcm-detail-section>details>summary:before{
  content:"▶"!important;
  display:inline-block!important;
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#173f63!important;
  font-size:18px!important;
  font-weight:900!important;
  line-height:22px!important;
  transform:none!important;
}
.tcm-full-record-page .tcm-picture-collapse[open]>summary:before,
.tcm-full-record-page .tcm-collapsible-section details[open]>summary:before,
.tcm-full-record-page .tcm-detail-section>details[open]>summary:before{
  content:"▼"!important;
}
.tcm-full-record-page .tcm-picture-collapse>summary:hover,
.tcm-full-record-page .tcm-collapsible-section details>summary:hover,
.tcm-full-record-page .tcm-detail-section>details>summary:hover{
  color:#0f3556!important;
  background:transparent!important;
}
.tcm-full-record-page .tcm-picture-collapse[open]>summary,
.tcm-full-record-page .tcm-collapsible-section details[open]>summary,
.tcm-full-record-page .tcm-detail-section>details[open]>summary{
  margin-bottom:10px!important;
}
.tcm-full-record-page .tcm-picture-collapse .tcm-record-fields{margin-top:4px}
.tcm-full-record-page .tcm-record-overview .tcm-picture-collapse{
  border-top:1px solid #e1e8ee;
  padding-top:7px;
}
@media(max-width:560px){
 .tcm-full-record-page .tcm-picture-collapse>summary,
 .tcm-full-record-page .tcm-collapsible-section details>summary,
 .tcm-full-record-page .tcm-detail-section>details>summary{font-size:16px!important}
}

/* ================================================================
   AutoManage 2.2.1 — Full Case Record tab behaviour
   The application page banner already supplies the page name. Suppress
   duplicate host-theme page titles only on Full Case Record pages.
   ================================================================ */
.tcm-full-record-host-page .entry-title,
.tcm-full-record-host-page .page-title,
.tcm-full-record-host-page .page-header,
.tcm-full-record-host-page .wp-block-post-title,
.tcm-full-record-host-page .tc-page-title,
.tcm-full-record-host-page .tc-page-description{display:none!important}
.tcm-full-record-host-page .site-main,
.tcm-full-record-host-page .content-area,
.tcm-full-record-host-page .entry-content{margin-top:0!important;padding-top:0!important}

/* Full Case Record is opened by JavaScript without rel=noopener so that the
   child retains a usable opener reference for Close & Redirect. */
.tcm-full-record-page{isolation:isolate}

/* ================================================================
   AutoManage 2.2.2 — Home hearing calendar + Advocate registration
   ================================================================ */
.tcm-calendar-home{max-width:1500px;margin:0 auto;padding:34px 22px 56px}
.tcm-calendar-panel,.tcm-calendar-results{background:#fff;border:1px solid #d8e2ec;border-radius:22px;box-shadow:0 12px 35px rgba(16,52,84,.08);overflow:hidden}
.tcm-calendar-panel{max-width:1120px;margin:0 auto}
.tcm-calendar-head,.tcm-calendar-results-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px 28px;background:#163f63;color:#fff;border-bottom:4px solid #efc44f}
.tcm-calendar-kicker{display:block;color:#efc44f;font-size:13px;font-weight:900;letter-spacing:2px;margin-bottom:5px}
.tcm-calendar-head h2,.tcm-calendar-results-head h2{margin:0;color:#fff;font-size:30px}
.tcm-calendar-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.tcm-calendar-nav a{display:inline-flex;align-items:center;justify-content:center;min-width:46px;min-height:44px;padding:8px 14px;border:1px solid rgba(255,255,255,.35);border-radius:10px;color:#fff;text-decoration:none;font-weight:800;background:rgba(255,255,255,.08)}
.tcm-calendar-nav a:first-child,.tcm-calendar-nav a:last-child{font-size:28px;padding:4px 14px}
.tcm-calendar-nav a:hover,.tcm-calendar-nav a:focus{background:#efc44f;color:#163f63;outline:none}
.tcm-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr)}
.tcm-calendar-weekdays{background:#edf3f8;color:#234766;font-weight:900;text-align:center}
.tcm-calendar-weekdays span{padding:13px 5px;border-right:1px solid #d8e2ec}
.tcm-calendar-days{background:#fff}
.tcm-calendar-day,.tcm-calendar-empty{min-height:92px;border-right:1px solid #e0e7ee;border-bottom:1px solid #e0e7ee;box-sizing:border-box}
.tcm-calendar-day{padding:10px 8px;text-decoration:none;color:#163f63;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;transition:background .12s ease,transform .12s ease}
.tcm-calendar-day b{font-size:19px}
.tcm-calendar-day strong{font-size:22px;line-height:1;color:#163f63}
.tcm-calendar-day small{font-size:11px;color:#60778e;font-weight:800}
.tcm-calendar-day.has-cases{background:#fffaf0}
.tcm-calendar-day.has-cases strong{color:#b17e00}
.tcm-calendar-day:hover,.tcm-calendar-day:focus{background:#eaf2f8;outline:none;transform:translateY(-1px);box-shadow:inset 0 0 0 2px #163f63}
.tcm-calendar-day.is-today{box-shadow:inset 0 0 0 3px #efc44f;background:#f4f8fb}
.tcm-calendar-note{margin:0;padding:15px 20px;color:#60778e;font-size:14px;background:#f7f9fb}
.tcm-calendar-results{max-width:1500px;margin:30px auto 0}
.tcm-total-pill{background:#efc44f;color:#163f63;border-radius:999px;padding:9px 16px;font-weight:900;white-space:nowrap}
.tcm-calendar-case .tcm-card-actions{margin-top:14px}
.tcm-adv-reg-box{max-width:1150px;margin:28px auto}
.tcm-adv-reg-form{margin-top:20px}
.tcm-inline-field{display:flex;gap:8px;align-items:stretch;margin-top:8px}
.tcm-inline-field input{flex:1;margin-top:0!important}
.tcm-adv-lookup{margin-top:0!important;white-space:nowrap;min-height:55px}
.tcm-adv-reg-form small{display:block;margin-top:7px;color:#63788d;font-weight:600}
.tcm-hide-native-title .entry-title,.tcm-hide-native-title .page-header,.tcm-hide-native-title .wp-block-post-title,.tcm-hide-native-title .wp-block-query-title{display:none!important}
@media(max-width:800px){
 .tcm-calendar-home{padding:22px 10px 40px}
 .tcm-calendar-head,.tcm-calendar-results-head{padding:18px 16px;align-items:flex-start;flex-direction:column}
 .tcm-calendar-head h2,.tcm-calendar-results-head h2{font-size:25px}
 .tcm-calendar-day,.tcm-calendar-empty{min-height:72px}
 .tcm-calendar-day b{font-size:15px}.tcm-calendar-day strong{font-size:18px}.tcm-calendar-day small{font-size:9px}
 .tcm-calendar-nav{width:100%}.tcm-calendar-nav a{flex:1}
 .tcm-inline-field{flex-direction:column}.tcm-adv-lookup{width:100%}
}


/* AutoManage 2.2.3 maintenance: home/calendar and password recovery */
.tcm-login-link-button{appearance:none;background:none;border:0;padding:0;color:#173f6c;font:inherit;font-weight:800;text-decoration:underline;cursor:pointer}
.tcm-forgot-box{max-width:620px}
.tcm-forgot-intro{line-height:1.55;color:#344b63;margin:0 0 16px}
.tcm-close-link{margin-top:10px;text-align:center}
.tcm-login-success{background:#e9f8ee;border:1px solid #9fd2ad;color:#1c6734;padding:12px;border-radius:8px;margin:12px 0;font-weight:700}
/* The Home page is calendar-led; suppress legacy workspace/hero blocks when an older theme/plugin leaves them in the page. */
.tcm-home-clean~.tcm-hero-panel,.tcm-home-clean~.tcm-workspace-grid,.tcm-home-clean~.tcm-workflow-banner{display:none!important}
body.tcm-home-application .tcm-hero-panel,body.tcm-home-application .tcm-workspace-grid,body.tcm-home-application .tcm-workflow-banner{display:none!important}
body.tcm-home-application .tc-page-title,body.tcm-home-application .tc-page-description,body.tcm-home-application .tc-page-header,body.tcm-home-application .tc-hero,body.tcm-home-application .page-header{display:none!important}
body.tcm-home-application .tcm-main{padding-top:12px!important}
body.tcm-home-application .tcm-calendar-home{padding-top:12px!important}
body.tcm-home-application.tcm-guest .tcm-app-header{min-height:92px;padding-top:12px;padding-bottom:12px}
body.tcm-home-application.tcm-guest .tcm-brand-mark{width:54px;height:54px;flex-basis:54px}
body.tcm-home-application.tcm-guest .tcm-brand-main{font-size:clamp(27px,3vw,43px)}
body.tcm-home-application.tcm-guest .tcm-brand-subtitle{margin-top:4px;font-size:12px}
body.tcm-home-application.tcm-guest .tcm-calendar-panel{max-width:1080px}
body.tcm-home-application.tcm-guest .tcm-calendar-head{padding:12px 18px}
body.tcm-home-application.tcm-guest .tcm-calendar-head h2{font-size:25px}
body.tcm-home-application.tcm-guest .tcm-calendar-day,body.tcm-home-application.tcm-guest .tcm-calendar-empty{min-height:62px}
body.tcm-home-application.tcm-guest .tcm-calendar-note{display:none}
body.tcm-home-application.tcm-guest .tcm-calendar-kicker{font-size:11px}
@media(max-width:800px){body.tcm-home-application.tcm-guest .tcm-app-header{min-height:76px}.tcm-login-link-button{min-height:30px}.tcm-forgot-box{padding:24px}.tcm-calendar-day,.tcm-calendar-empty{min-height:64px}}
@media(max-width:520px){body.tcm-home-application.tcm-guest .tcm-brand-copy{max-width:calc(100vw - 150px)}body.tcm-home-application.tcm-guest .tcm-brand-main{font-size:26px}body.tcm-home-application.tcm-guest .tcm-brand-subtitle{font-size:10px}body.tcm-home-application.tcm-guest .tcm-calendar-day,body.tcm-home-application.tcm-guest .tcm-calendar-empty{min-height:52px}body.tcm-home-application.tcm-guest .tcm-calendar-day b{font-size:14px}body.tcm-home-application.tcm-guest .tcm-calendar-day strong{font-size:16px}body.tcm-home-application.tcm-guest .tcm-calendar-day small{font-size:8px}}

/* ================================================================
   AutoManage 2.2.4 — Applicant account workspace / restricted record
   ================================================================ */
.tcm-applicant-workspace{margin-top:24px}
.tcm-applicant-workspace .tcm-section-title{display:flex;flex-direction:column;gap:6px}
.tcm-applicant-workspace .tcm-section-title span{color:#b88917;font-weight:900;letter-spacing:2px;font-size:13px}
.tcm-applicant-workspace .tcm-section-title b{font-size:28px;color:#173f63}
.tcm-applicant-full-record{max-width:1400px;margin:0 auto;padding:30px 0 90px}
.tcm-applicant-full-record .tcm-full-record-head{margin-bottom:26px}
.tcm-applicant-full-record .tcm-full-record-head h1{font-size:clamp(38px,5vw,64px);line-height:1.05;margin:0 0 12px}
.tcm-applicant-full-record .tcm-full-record-head p{font-size:clamp(20px,2.2vw,30px);font-weight:900;margin:0;color:#fff}
.tcm-applicant-full-record .tcm-detail-section{margin:22px 0;padding:26px;border-radius:20px}
.tcm-applicant-full-record .tcm-section-head{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.tcm-applicant-full-record .tcm-section-head h2{margin:0}
.tcm-view-edit-label{font-size:14px;font-weight:800;color:#687d92}
.tcm-record-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}
.tcm-applicant-full-record .tcm-picture-collapse{margin-top:18px}
.tcm-applicant-full-record .tcm-picture-collapse summary{cursor:pointer;list-style:none;font-weight:900;color:#173f63;padding:13px 4px}
.tcm-applicant-full-record .tcm-picture-collapse summary::-webkit-details-marker{display:none}
.tcm-applicant-full-record .tcm-picture-collapse summary:before{content:'▶';display:inline-block;margin-right:10px;font-size:13px;color:#173f63;transition:transform .15s ease}
.tcm-applicant-full-record .tcm-picture-collapse[open] summary:before{transform:rotate(90deg)}
.tcm-applicant-full-record .tcm-subsection{margin-top:22px}
.tcm-applicant-full-record .tcm-subsection h3{color:#173f63;margin:0 0 12px}
.tcm-applicant-full-record .tcm-floating-close-record{position:fixed;right:22px;bottom:22px;z-index:100000;background:#efc44f;color:#123a60;border:0;border-radius:999px;padding:18px 30px;font-size:17px;font-weight:900;box-shadow:0 10px 28px rgba(0,0,0,.22);cursor:pointer}
.tcm-applicant-full-record .tcm-floating-close-record:hover,.tcm-applicant-full-record .tcm-floating-close-record:focus{background:#ffd96b;color:#123a60}
@media(max-width:800px){
 .tcm-applicant-workspace .tcm-section-title b{font-size:22px}
 .tcm-applicant-full-record{padding:18px 8px 100px}
 .tcm-applicant-full-record .tcm-detail-section{padding:18px;margin:14px 0;border-radius:15px}
 .tcm-applicant-full-record .tcm-full-record-head{padding:24px 20px!important}
 .tcm-applicant-full-record .tcm-floating-close-record{right:12px;bottom:12px;padding:15px 22px;font-size:15px}
 .tcm-record-actions{justify-content:flex-start}
}

/* v2.2.6 Applicant Full Case Record action menu */
.tcm-applicant-case-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:18px 0 24px;padding:14px 16px;background:#edf3f8;border:1px solid #d8e2ec;border-radius:16px}
.tcm-applicant-case-actions .tcm-btn{min-height:46px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.tcm-brief-history{margin:12px 0 20px}
.tcm-brief-history h3{margin:0 0 10px}
@media(max-width:700px){.tcm-applicant-case-actions{flex-direction:column;align-items:stretch}.tcm-applicant-case-actions .tcm-btn{width:100%}}

/* ================================================================
   AutoManage 2.2.7 — Applicant page presentation
   Replace the old Applicant page banner/case selector with the same
   case-specific banner/action presentation used by Full Case Record.
   ================================================================ */
.tcm-applicant-selected-case{max-width:1400px;margin:0 auto;padding:28px 0 0}
.tcm-applicant-selected-case .tcm-full-record-head{margin-bottom:18px}
.tcm-applicant-selected-case .tcm-applicant-case-actions{margin:0 0 24px}
.tcm-applicant-workspace{margin-top:24px}
/* The old selector/banner is no longer part of the Applicant page. */
.tcm-applicant-page .tcm-banner-case-control,
.tcm-applicant-page .tcm-applicant-case-action-box{display:none!important}
@media(max-width:900px){
  .tcm-applicant-selected-case{padding:18px 10px 0}
  .tcm-applicant-selected-case .tcm-full-record-head{padding:24px 20px!important}
}

/* AutoManage Complete v2.2.8 – Applicant workspace maintenance */
.tcm-applicant-selected-case .tcm-full-record-head{margin-bottom:18px}
.tcm-applicant-selected-case .tcm-full-record-head h1{margin-bottom:0!important}
.tcm-applicant-case-actions .tcm-btn-master-data{background:#fff;border:1px solid #1f4770;color:#173f66}
.tcm-applicant-case-actions .tcm-btn-master-data:hover,.tcm-applicant-case-actions .tcm-btn-master-data:focus{background:#f7f9fb;color:#173f66}
@media(max-width:900px){.tcm-applicant-case-actions .tcm-btn-master-data{width:auto}}
@media(max-width:700px){.tcm-applicant-case-actions .tcm-btn-master-data{width:100%}}

/* AutoManage v2.3.0 — Advocate role dashboard and partial NDH maintenance */
.tcm-pleading-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;margin-bottom:24px!important}
.tcm-pleading-stat-grid .tcm-stat-card span{min-height:2.6em;display:flex;align-items:center;justify-content:center;text-align:center}
.tcm-advocate-home{padding-top:20px}
.tcm-record-applicant-first .tcm-picture-collapse summary{font-size:22px!important;font-weight:900!important}
.tcm-new-adv-card{background:#f5f8fb;border:1px solid #d8e3ec;border-left:4px solid #e2bc4e;border-radius:12px;padding:18px;margin-bottom:18px}
@media(max-width:1100px){.tcm-pleading-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){.tcm-pleading-stat-grid{grid-template-columns:1fr!important}}
/* v2.3.1 — hearing-list presentation */
.tcm-page-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:0 0 24px;padding:28px 30px;border-radius:22px;background:linear-gradient(135deg,#173f66,#285d86);color:#fff;box-shadow:0 10px 28px rgba(15,47,76,.12)}
.tcm-page-intro h1{margin:4px 0 8px;color:#fff}.tcm-page-intro .tcm-lead{margin:0;color:#fff}.tcm-page-intro .tcm-eyebrow{color:#f4c63d}.tcm-page-intro .tcm-actions{margin:0}.tcm-hearing-card{display:flex;flex-direction:column;min-height:100%}.tcm-hearing-card .tcm-card-actions{margin-top:auto}.tcm-hearing-card .tcm-card-subject,.tcm-hearing-card .tcm-card-courtline,.tcm-hearing-card .tcm-card-purpose{margin-top:10px}.tcm-date-link{white-space:nowrap}
@media (max-width:900px){.tcm-page-intro{align-items:flex-start;flex-direction:column;padding:22px}.tcm-page-intro .tcm-actions{width:100%}.tcm-page-intro .tcm-actions .tcm-btn{width:100%;text-align:center}}
@media print{.tcm-page-intro .tcm-actions,.tcm-filters,.tcm-top-link,.tcm-nav,.tcm-menu,.tcm-footer,.tcm-topbtn,.tcm-card-actions{display:none!important}.tcm-page-intro{box-shadow:none;color:#000;background:#fff;border:1px solid #ddd}.tcm-page-intro h1,.tcm-page-intro .tcm-lead{color:#000}.tcm-grid{grid-template-columns:1fr 1fr!important}.tcm-card{break-inside:avoid;box-shadow:none}}

/* AutoManage v2.3.12 — Advocate Home dashboard */
.tcm-advocate-dashboard{max-width:1500px;margin:0 auto;padding:28px 22px 50px}
.tcm-advocate-welcome{display:flex;align-items:center;justify-content:space-between;padding:24px 28px;margin-bottom:22px;border-radius:18px;background:linear-gradient(135deg,#071a2c,#0d3455);border:1px solid rgba(212,166,46,.35);box-shadow:0 10px 28px rgba(0,0,0,.12);color:#fff}
.tcm-advocate-welcome h1{margin:5px 0 4px;font-size:clamp(30px,4vw,46px);line-height:1.05}.tcm-advocate-welcome p{margin:0;color:#dbe6ef;font-size:16px}.tcm-advocate-box-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:28px}
.tcm-advocate-summary-box,.tcm-advocate-pleading-box{display:flex;text-decoration:none;color:#071a2c;background:#fff;border:1px solid #d8e0e8;border-radius:16px;box-shadow:0 7px 20px rgba(7,26,44,.09);transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.tcm-advocate-summary-box{min-height:190px;padding:22px;flex-direction:column}.tcm-advocate-summary-box:hover,.tcm-advocate-pleading-box:hover,.tcm-advocate-summary-box:focus,.tcm-advocate-pleading-box:focus{transform:translateY(-2px);border-color:#c9a43a;box-shadow:0 12px 26px rgba(7,26,44,.14)}
.tcm-adv-box-title{font-weight:800;font-size:19px;line-height:1.2}.tcm-advocate-summary-box strong{font-size:40px;line-height:1;margin:18px 0 8px}.tcm-advocate-summary-box small{font-size:13px;color:#5a6875}.tcm-adv-box-open{margin-top:auto;font-weight:800;color:#9a7211;font-size:14px}.tcm-advocate-pleading-section{background:#f5f7fa;border-radius:18px;padding:22px;margin-bottom:28px;border:1px solid #e0e5eb}.tcm-advocate-pleading-section .tcm-section-title{margin-bottom:16px}.tcm-advocate-pleading-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.tcm-advocate-pleading-box{min-height:120px;padding:18px;flex-direction:column;justify-content:space-between}.tcm-advocate-pleading-box span{font-weight:800;font-size:15px;line-height:1.25}.tcm-advocate-pleading-box strong{font-size:31px;line-height:1}.tcm-advocate-pleading-box small{color:#66727d}.tcm-advocate-case-results{margin-top:10px}.tcm-advocate-results-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:16px;padding:20px 22px;border-radius:16px;background:#eef3f7;border-left:5px solid #c9a43a}.tcm-advocate-results-head h2{margin:4px 0}.tcm-advocate-results-head p{margin:0;color:#56636f}.tcm-advocate-case-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tcm-advocate-min-card{padding:20px}.tcm-advocate-min-card h3{margin-top:0;margin-bottom:14px}.tcm-advocate-card-row{display:grid;grid-template-columns:145px 1fr;gap:10px;padding:9px 0;border-bottom:1px solid #e7ebef}.tcm-advocate-card-row span{font-size:13px;color:#64717d}.tcm-advocate-card-row strong{font-size:14px;overflow-wrap:anywhere}.tcm-advocate-min-card .tcm-card-actions{margin-top:16px}
@media(max-width:1100px){.tcm-advocate-box-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tcm-advocate-pleading-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tcm-advocate-case-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.tcm-advocate-dashboard{padding:18px 12px 36px}.tcm-advocate-welcome{padding:20px}.tcm-advocate-box-grid,.tcm-advocate-pleading-grid,.tcm-advocate-case-grid{grid-template-columns:1fr}.tcm-advocate-summary-box{min-height:155px}.tcm-advocate-results-head{align-items:stretch;flex-direction:column}.tcm-advocate-card-row{grid-template-columns:1fr;gap:3px}}

/* v2.3.13 Advocate Home: summary records + touch-friendly 3D cards */
.tcm-advocate-primary-box-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
.tcm-advocate-summary-box.tcm-advocate-3d-box,
.tcm-advocate-pleading-box.tcm-advocate-3d-box,
.tcm-advocate-3d-card{transform:translateZ(0);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;box-shadow:0 8px 0 rgba(7,26,44,.08),0 16px 30px rgba(7,26,44,.13),inset 0 1px 0 rgba(255,255,255,.8);}
.tcm-advocate-summary-box.tcm-advocate-3d-box{position:relative;overflow:hidden;}
.tcm-advocate-summary-box.tcm-advocate-3d-box:before,.tcm-advocate-pleading-box.tcm-advocate-3d-box:before{content:"";position:absolute;inset:0 0 auto 0;height:7px;background:linear-gradient(90deg,#b38a24,#e6c45a,#b38a24);opacity:.95;}
.tcm-advocate-summary-box.tcm-advocate-3d-box:hover,.tcm-advocate-summary-box.tcm-advocate-3d-box:focus-visible,.tcm-advocate-pleading-box.tcm-advocate-3d-box:hover,.tcm-advocate-pleading-box.tcm-advocate-3d-box:focus-visible,.tcm-advocate-3d-card:hover{transform:translateY(-7px) perspective(700px) rotateX(1deg);box-shadow:0 12px 0 rgba(7,26,44,.1),0 24px 42px rgba(7,26,44,.2),inset 0 1px 0 rgba(255,255,255,.9);}
.tcm-advocate-summary-box.tcm-advocate-3d-box:active,.tcm-advocate-pleading-box.tcm-advocate-3d-box:active{transform:translateY(1px);box-shadow:0 3px 0 rgba(7,26,44,.08),0 8px 16px rgba(7,26,44,.14);}
.tcm-advocate-record-box strong{font-size:44px;}
.tcm-advocate-results-mode{padding-top:28px;}
.tcm-advocate-results-page-head{max-width:1500px;margin:0 auto 22px;padding:24px 28px;border-radius:20px;background:linear-gradient(135deg,#071a2c,#123e62);color:#fff;box-shadow:0 10px 28px rgba(7,26,44,.18),0 4px 0 rgba(7,26,44,.1);display:flex;justify-content:space-between;align-items:center;gap:20px;}
.tcm-advocate-results-page-head h2{margin:4px 0 7px;color:#fff;}
.tcm-advocate-results-page-head p{margin:0;color:#dbe6ef;}
.tcm-advocate-home-return{display:flex;justify-content:center;margin:28px 0 10px;}
@media(max-width:1200px){.tcm-advocate-primary-box-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:900px){.tcm-advocate-primary-box-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.tcm-advocate-results-page-head{align-items:stretch;flex-direction:column;}}
@media(max-width:600px){.tcm-advocate-primary-box-grid{grid-template-columns:1fr;}.tcm-advocate-results-mode{padding:16px 12px 36px;}.tcm-advocate-results-page-head{padding:20px;border-radius:16px;}.tcm-advocate-results-page-head .tcm-btn{width:100%;text-align:center;}}


/* AutoManage v2.3.14 — logged-in menu search and unified compact case cards */
.tcm-nav-search{margin-left:auto;display:flex;align-items:center;gap:6px;padding:0 0 0 10px;min-width:280px;max-width:380px;}
.tcm-nav-search input{width:100%;height:40px;box-sizing:border-box;border:1px solid rgba(255,255,255,.45);border-radius:8px 0 0 8px;padding:0 12px;background:#fff;color:#17385f;font-size:14px;font-weight:700;outline:none;}
.tcm-nav-search input:focus{border-color:#e4bd52;box-shadow:0 0 0 2px rgba(228,189,82,.25)}
.tcm-nav-search button{height:40px;min-width:44px;border:0;border-radius:0 8px 8px 0;background:#dfb94d;color:#0b2b47;font-size:22px;font-weight:900;cursor:pointer;}
.tcm-nav-search button:hover,.tcm-nav-search button:focus{background:#f0ca63;}
.tcm-floating-home{position:fixed;right:22px;bottom:22px;z-index:100500;display:flex;align-items:center;gap:7px;text-decoration:none!important;color:#fff!important;background:rgba(11,43,71,.62);border:1px solid rgba(255,255,255,.42);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);padding:11px 16px;border-radius:30px;box-shadow:0 10px 26px rgba(0,0,0,.22);font-weight:900;font-size:14px;transition:transform .18s ease,background .18s ease,box-shadow .18s ease;}
.tcm-floating-home:hover,.tcm-floating-home:focus{background:rgba(11,43,71,.82);transform:translateY(-2px);box-shadow:0 14px 30px rgba(0,0,0,.28);color:#fff!important;}
.tcm-standard-case-card{padding:16px!important;min-width:0;overflow:hidden;}
.tcm-standard-case-line{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box;}
.tcm-standard-case-id{font-size:clamp(15px,1.5vw,19px);line-height:1.25;margin-bottom:6px;color:#173f66;}
.tcm-standard-applicant{font-size:clamp(14px,1.35vw,18px);font-weight:900;line-height:1.25;margin-bottom:12px;color:#0b2b47;}
.tcm-standard-case-data{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr) minmax(0,1fr) minmax(0,1.55fr);gap:7px;align-items:center;width:100%;overflow:hidden;}
.tcm-standard-case-data span{display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#f3f6f9;border:1px solid #e0e6ec;border-radius:7px;padding:7px 8px;font-size:clamp(10px,1vw,13px);font-weight:800;color:#29465f;text-align:center;}
.tcm-standard-case-card .tcm-card-actions{margin-top:12px;}
.tcm-standard-case-card .tcm-card-actions .tcm-btn{padding:9px 16px;font-size:13px;}
@media(max-width:1000px){.tcm-nav-search{min-width:220px}.tcm-standard-case-data{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.tcm-standard-case-data span{font-size:10px;padding:6px 5px;}}
@media(max-width:800px){.tcm-nav-search{order:99;width:100%;max-width:none;margin:4px 0 6px;padding:0;min-width:0}.tcm-nav-search input{height:44px;font-size:15px}.tcm-nav-search button{height:44px}.tcm-floating-home{right:12px;bottom:12px;padding:10px 14px}.tcm-floating-home span{font-size:12px}.tcm-standard-case-data{grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}.tcm-standard-case-data span{font-size:9px;padding:6px 3px;}}
@media(max-width:500px){.tcm-standard-case-card{padding:12px!important}.tcm-standard-case-data span{font-size:8px;padding:5px 2px}.tcm-standard-applicant{margin-bottom:9px}.tcm-floating-home{right:9px;bottom:9px}.tcm-floating-home span{display:none}.tcm-floating-home{width:44px;height:44px;padding:0;justify-content:center;border-radius:50%;font-size:20px;}}


/* ================================================================
   AutoManage v2.3.16 — final professional navigation/card presentation
   ================================================================ */
/* Remove the page hero/banner completely. */
.tcm-page-hero{display:none!important;height:0!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;overflow:hidden!important}
/* Remove host-theme vertical whitespace above the application shell. */
body.tcm-application-page .site,
body.tcm-application-page .site-content,
body.tcm-application-page .site-main,
body.tcm-application-page .content-area,
body.tcm-application-page .entry-content,
body.tcm-application-page .ast-container,
body.tcm-application-page .wp-site-blocks{margin-top:0!important;padding-top:0!important}
body.tcm-application-page .tcm-shell{margin-top:0!important}
/* Today and Tomorrow are primary menu items; no Listing dropdown. */
.tcm-nav-group{display:none!important}
/* Compact, single-line standard case record. */
.tcm-standard-hearing-card{position:relative;padding:18px 19px!important;overflow:hidden;border-radius:20px!important;background:linear-gradient(145deg,#ffffff,#f6f9fc)!important;border:1px solid rgba(20,61,96,.15)!important;box-shadow:0 8px 0 rgba(11,43,71,.06),0 18px 38px rgba(11,43,71,.14),inset 0 1px 0 rgba(255,255,255,.95)!important;transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s ease,filter .28s ease}
.tcm-standard-hearing-card:hover{transform:translateY(-7px) rotateX(1deg);box-shadow:0 12px 0 rgba(11,43,71,.08),0 28px 50px rgba(11,43,71,.21),inset 0 1px 0 #fff!important;filter:saturate(1.03)}
.tcm-standard-hearing-card:active{transform:translateY(-1px) scale(.995)}
.tcm-standard-card-line,.tcm-standard-note-line{display:flex;align-items:center;gap:7px;min-width:0;width:100%;box-sizing:border-box;padding:7px 0;border-bottom:1px solid #e5ebf0;white-space:nowrap;overflow:hidden}
.tcm-standard-card-line:last-of-type{border-bottom:0}
.tcm-line-label{flex:0 0 auto;color:#60778d;font-size:12px;font-weight:900;letter-spacing:.15px}
.tcm-standard-card-line strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#173f63;font-size:14px;font-weight:850}
.tcm-standard-card-line.tcm-standard-courtline strong{font-size:14px}
.tcm-line-sep,.tcm-vs-sep{flex:0 0 auto;color:#a1afbb;font-weight:900}
.tcm-vs-line strong{max-width:42%}
.tcm-inline-edit{margin-left:auto;flex:0 0 auto;padding:5px 11px;border-radius:999px;background:#173f63;color:#fff!important;text-decoration:none!important;font-size:11px;font-weight:900;box-shadow:0 3px 0 rgba(7,28,47,.18)}
.tcm-inline-edit:hover{background:#e3bb4f;color:#12385f!important}
.tcm-standard-note-line{border-bottom:0;padding-bottom:3px}
.tcm-note-add-btn{margin-left:auto;flex:0 0 auto;border:1px solid #d9b449;background:#fff8df;color:#8a6710;border-radius:999px;padding:5px 11px;font-size:11px;font-weight:900;cursor:pointer}
.tcm-note-add-btn:hover{background:#efc64e;color:#173f63}
.tcm-advocate-notes{display:grid;gap:5px;margin-top:3px;max-height:130px;overflow:auto}
.tcm-advocate-note{display:flex;gap:9px;align-items:flex-start;padding:6px 8px;border-radius:8px;background:#f0f5f9;border-left:3px solid #dcb74a;min-width:0}
.tcm-advocate-note span{flex:0 0 auto;font-size:10px;font-weight:900;color:#718497}.tcm-advocate-note strong{font-size:11px;line-height:1.3;color:#29465f;white-space:normal;overflow-wrap:anywhere}
.tcm-note-modal{max-width:620px}.tcm-note-modal label{display:block;font-weight:900;color:#173f63}.tcm-note-modal textarea{width:100%;box-sizing:border-box;margin-top:7px;border:1px solid #cbd8e4;border-radius:10px;padding:11px;font-size:15px}
.tcm-advocate-welcome-compact{display:none!important}
.tcm-advocate-results-mode .tcm-standard-case-card{animation:tcmCardIn .42s ease both}
@keyframes tcmCardIn{from{opacity:0;transform:translateY(16px) scale(.985)}to{opacity:1;transform:none}}
@media(max-width:900px){.tcm-standard-card-line{gap:5px}.tcm-line-label{font-size:10px}.tcm-standard-card-line strong{font-size:12px}.tcm-inline-edit{padding:4px 8px;font-size:10px}.tcm-vs-line strong{max-width:36%}}
@media(max-width:600px){.tcm-standard-hearing-card{padding:12px!important}.tcm-standard-card-line{padding:6px 0}.tcm-line-label{font-size:9px}.tcm-standard-card-line strong{font-size:11px}.tcm-standard-courtline .tcm-inline-edit{font-size:9px;padding:4px 7px}.tcm-advocate-note{display:block}.tcm-advocate-note span,.tcm-advocate-note strong{display:block}.tcm-nav-search{margin-left:6px!important}}


/* AutoManage v2.3.16 — standard card edit and single-line hearing header */
.tcm-standard-courtline{position:relative!important;white-space:nowrap!important;overflow:hidden!important;display:flex!important;align-items:center!important;gap:8px!important}
.tcm-standard-courtline .tcm-line-gap{flex:0 0 10px!important}
.tcm-standard-courtline .tcm-inline-edit{margin-left:auto!important;z-index:2!important}
.tcm-case-edit-link{cursor:pointer!important;pointer-events:auto!important}
.tcm-case-edit-link:focus-visible{outline:3px solid #e5bf55!important;outline-offset:2px!important}
.tcar-custom{position:relative}
.tcar-custom input,.tcar-custom textarea{display:block!important}

/* v2.3.17 — universal Edit workflow */
.tcm-case-edit-link,.tcm-inline-edit{position:relative;z-index:5;pointer-events:auto;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;}
.tcm-universal-case-edit,.tcm-universal-case-review,.tcm-universal-case-success{z-index:100000!important;}
.tcm-universal-case-edit .tcm-modal,.tcm-universal-case-review .tcm-modal,.tcm-universal-case-success .tcm-modal{max-height:90vh;overflow:auto;position:relative;z-index:100001;}
.tcm-universal-case-edit form{position:relative;z-index:100002;}
.tcm-universal-case-edit button,.tcm-universal-case-edit a,.tcm-universal-case-review button,.tcm-universal-case-review a{pointer-events:auto;position:relative;z-index:100003;}
.tcm-standard-case-card .tcm-inline-edit{margin-left:auto;min-width:72px;}


/* ================================================================
   AutoManage v2.3.18 — ONE STANDARD CASE CARD ENGINE
   ================================================================ */
.tcm-standard-case-card-v318{position:relative!important;display:block!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;overflow:hidden!important;padding:15px 17px!important;border-radius:20px!important;background:linear-gradient(145deg,#ffffff 0%,#f5f8fb 100%)!important;border:1px solid rgba(20,61,96,.16)!important;box-shadow:0 5px 0 rgba(9,35,57,.07),0 16px 34px rgba(9,35,57,.15),inset 0 1px 0 rgba(255,255,255,.96)!important;transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s ease,filter .28s ease!important;transform:translateZ(0);}
.tcm-standard-case-card-v318:before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,#b58a25,#e6c65a,#b58a25);}
.tcm-standard-case-card-v318:hover{transform:translateY(-7px) perspective(900px) rotateX(1deg)!important;box-shadow:0 9px 0 rgba(9,35,57,.09),0 27px 48px rgba(9,35,57,.22),inset 0 1px 0 #fff!important;}
.tcm-standard-case-card-v318:active{transform:translateY(-1px) scale(.997)!important;}
.tcm-v318-topline{display:flex;align-items:center;gap:8px;min-width:0;width:100%;padding:4px 0 9px;border-bottom:1px solid #dfe7ee;white-space:nowrap;overflow:hidden;}
.tcm-v318-field{display:inline-flex;align-items:center;gap:4px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#5b7084;font-size:12px;font-weight:800;}
.tcm-v318-field b{flex:0 0 auto;color:#35536e;font-weight:900;}
.tcm-v318-field strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#173f63;font-size:14px;font-weight:950;}
.tcm-v318-divider{flex:0 0 auto;color:#a6b3be;font-weight:900;}
.tcm-v318-ndh{min-width:0;}
.tcm-v318-edit{margin-left:auto!important;flex:0 0 auto!important;position:relative!important;z-index:20!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:66px!important;padding:6px 12px!important;border-radius:999px!important;background:#173f63!important;color:#fff!important;text-decoration:none!important;font-size:11px!important;font-weight:950!important;line-height:1!important;box-shadow:0 3px 0 rgba(7,28,47,.18)!important;cursor:pointer!important;pointer-events:auto!important;}
.tcm-v318-edit:hover,.tcm-v318-edit:focus{background:#e3bb4f!important;color:#102f4d!important;}
.tcm-v318-line{display:flex;align-items:center;gap:9px;min-width:0;width:100%;box-sizing:border-box;padding:7px 0;border-bottom:1px solid #e5ebf0;white-space:nowrap;overflow:hidden;}
.tcm-v318-label{flex:0 0 auto;color:#60778d;font-size:11px;font-weight:950;letter-spacing:.1px;}
.tcm-v318-value{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#173f63;font-size:13px;font-weight:850;}
.tcm-v318-party-line{display:flex;align-items:center;gap:8px;min-width:0;width:100%;padding:8px 0;border-bottom:1px solid #e5ebf0;white-space:nowrap;overflow:hidden;}
.tcm-v318-party{min-width:0;max-width:46%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#102f4d;font-size:13px;font-weight:950;}
.tcm-v318-vs{flex:0 0 auto;color:#a27c21;font-size:12px;font-weight:950;text-transform:lowercase;}
.tcm-v318-note-head{display:flex;align-items:center;gap:8px;min-width:0;padding:8px 0 3px;white-space:nowrap;overflow:hidden;}
.tcm-v318-note-head .tcm-note-add-btn{margin-left:auto!important;}
.tcm-v318-notes{margin-top:3px!important;max-height:130px;overflow:auto;}
.tcm-v318-notes .tcm-advocate-note{min-width:0;}
.tcm-standard-case-card-v318 .tcm-case-edit-link{pointer-events:auto!important;}
@media(max-width:700px){.tcm-standard-case-card-v318{padding:13px 14px!important}.tcm-v318-topline{gap:5px}.tcm-v318-field{font-size:10px}.tcm-v318-field strong{font-size:12px}.tcm-v318-edit{min-width:56px!important;padding:5px 9px!important;font-size:10px!important}.tcm-v318-line{gap:6px;padding:6px 0}.tcm-v318-label{font-size:9px}.tcm-v318-value,.tcm-v318-party{font-size:11px}.tcm-v318-party{max-width:45%}}
@media(max-width:420px){.tcm-standard-case-card-v318{padding:11px 12px!important}.tcm-v318-field{font-size:9px}.tcm-v318-field strong{font-size:11px}.tcm-v318-divider{font-size:10px}.tcm-v318-edit{min-width:50px!important;padding:5px 7px!important;font-size:9px!important}.tcm-v318-label{font-size:8px}.tcm-v318-value,.tcm-v318-party{font-size:10px}.tcm-v318-party-line{gap:5px}.tcm-v318-vs{font-size:10px}}

/* v2.3.19 — Canonical Case Card View page */
.tcm-card-view-page{max-width:1100px;margin:18px auto 80px;padding:0 16px}
.tcm-card-view-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;padding:10px 14px;border-radius:16px;background:rgba(8,39,67,.96);box-shadow:0 10px 24px rgba(0,0,0,.18);color:#fff;font-weight:800}
.tcm-card-view-toolbar span{letter-spacing:.04em}
.tcm-card-view-canonical{perspective:1200px}
.tcm-card-view-canonical .tcm-standard-case-card,.tcm-card-view-page .tcm-standard-case-card{max-width:100%;margin:0 auto}
@media(max-width:700px){.tcm-card-view-page{padding:0 10px;margin-top:10px}.tcm-card-view-toolbar{border-radius:12px;font-size:.92rem}.tcm-card-view-page .tcm-modal{width:min(96vw,680px);max-height:92vh;overflow:auto}}

/* AutoManage v2.3.20 — canonical Full Record View action */
.tcm-standard-card-full-record-action{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  width:100%!important;
  margin:14px 0 2px!important;
  padding-top:11px!important;
  border-top:1px solid rgba(20,61,96,.12)!important;
}
.tcm-standard-card-full-record-action .tcm-full-record-view-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:170px!important;
  padding:8px 20px!important;
  border-radius:999px!important;
  text-decoration:none!important;
  font-weight:900!important;
  letter-spacing:.15px!important;
  box-shadow:0 4px 12px rgba(9,35,57,.14),inset 0 1px 0 rgba(255,255,255,.75)!important;
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease!important;
}
.tcm-standard-card-full-record-action .tcm-full-record-view-btn:hover,
.tcm-standard-card-full-record-action .tcm-full-record-view-btn:focus{
  transform:translateY(-2px)!important;
  box-shadow:0 7px 18px rgba(9,35,57,.2),inset 0 1px 0 rgba(255,255,255,.85)!important;
}
.tcm-standard-card-full-record-action .tcm-full-record-view-btn:active{transform:translateY(1px)!important;}
/* AutoManage v2.3.21 — Full Record section edit controls */
.tcm-section-head{position:relative;display:flex;align-items:center;justify-content:space-between;gap:14px}
.tcm-section-edit-btn{display:inline-flex!important;align-items:center;justify-content:center;min-width:76px;padding:7px 14px;border:1px solid rgba(220,173,48,.75);border-radius:10px;background:rgba(220,173,48,.10);color:#0b2a47!important;text-decoration:none!important;font-weight:800;font-size:13px;line-height:1;box-shadow:0 3px 8px rgba(0,0,0,.10);transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.tcm-section-edit-btn:hover,.tcm-section-edit-btn:focus{transform:translateY(-2px);box-shadow:0 7px 15px rgba(0,0,0,.16);background:rgba(220,173,48,.20)}
.tcm-section-edit-btn:active{transform:translateY(0);box-shadow:0 2px 5px rgba(0,0,0,.12)}
.tcm-summary-actions{float:right;margin-left:12px}
.tcm-picture-collapse>summary{display:flex;align-items:center;justify-content:space-between;gap:10px}
.tcm-full-record-edit-host{min-height:55vh}
.tcm-full-record-edit-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0 auto 16px;padding:14px 18px;border-radius:14px;background:#0b2a47;color:#fff;box-shadow:0 10px 28px rgba(0,0,0,.16)}
.tcm-full-record-edit-toolbar strong{font-size:18px}.tcm-full-record-edit-toolbar span{opacity:.8;text-transform:capitalize}.tcm-full-record-edit-toolbar .tcm-btn{margin-left:auto}
@media(max-width:680px){.tcm-section-edit-btn{min-width:62px;padding:6px 10px}.tcm-full-record-edit-toolbar{align-items:flex-start}.tcm-full-record-edit-toolbar .tcm-btn{margin-left:0}}


/* ================================================================
   AutoManage v2.3.22 — responsive application shell and unified views
   ================================================================ */
/* The application owns its viewport. Host-theme wrappers must not introduce
   horizontal overflow or squeeze the authentication controls off-screen. */
.tcm-shell{width:100%!important;max-width:100%!important;box-sizing:border-box!important;overflow-x:clip!important}
.tcm-app-header{width:100%!important;box-sizing:border-box!important;overflow:visible!important}
.tcm-brand-wrap{min-width:0!important;flex:1 1 auto!important;max-width:100%!important}
.tcm-brand-copy{min-width:0!important;overflow:hidden!important}
.tcm-brand-main{max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important}
.tcm-brand-subtitle{max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.tcm-header-user{position:relative!important;z-index:100120!important;flex:0 0 auto!important;white-space:nowrap!important}
.tcm-header-user .tcm-user-chip{max-width:28vw;overflow:hidden;text-overflow:ellipsis}
.tcm-header-user .tcm-header-logout,.tcm-header-user .tcm-login-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;visibility:visible!important;opacity:1!important}

/* All canonical case views share one card engine. Legacy card wrappers are
   visually normalised without changing their action semantics. */
.tcm-stage-card-wrap{min-width:0!important;display:flex!important;flex-direction:column!important;gap:8px!important}
.tcm-stage-card-wrap>.tcm-standard-case-card-v318{width:100%!important}
.tcm-stage-select-action{display:flex!important;justify-content:flex-end!important;padding:0 4px!important}
.tcm-stage-select-action .tcm-btn{min-height:40px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}

/* Dedicated Full Record / Card View pages should fit the viewport rather than
   inherit excessive margins from a WordPress theme. */
.tcm-full-record-page,.tcm-card-view-page,.tcm-full-record-edit-host{max-width:100%!important;box-sizing:border-box!important}
.tcm-full-record-page{overflow-wrap:anywhere!important}

@media(max-width:900px){
  /* Two-row header: brand remains readable and Login/Logout is never pushed
     outside the viewport. */
  .tcm-app-header{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:8px 10px!important;
    min-height:78px!important;
    padding:10px 12px!important;
  }
  .tcm-brand-wrap{gap:9px!important;min-width:0!important}
  .tcm-brand-mark{width:48px!important;height:48px!important;flex:0 0 48px!important;border-radius:13px!important;font-size:19px!important}
  .tcm-brand-main{font-size:clamp(18px,5.4vw,28px)!important;letter-spacing:-.6px!important;white-space:nowrap!important}
  .tcm-brand-subtitle{font-size:10px!important;margin-top:3px!important}
  .tcm-header-user{justify-self:end!important;display:flex!important;align-items:center!important;gap:5px!important}
  .tcm-header-user .tcm-user-chip{display:none!important}
  .tcm-header-user .tcm-header-logout,.tcm-header-user .tcm-login-button{min-height:40px!important;height:40px!important;padding:7px 11px!important;font-size:12px!important;border-radius:9px!important}
  .tcm-menu-shell{width:100%!important;box-sizing:border-box!important}
  .tcm-menu-toggle{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:44px!important;margin:0!important;border-radius:0!important}
  .tcm-nav{display:none!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;box-sizing:border-box!important;padding:7px 10px 10px!important}
  .tcm-nav.tcm-open{display:flex!important}
  .tcm-top-link{width:100%!important;min-height:46px!important;box-sizing:border-box!important;padding:0 13px!important}
  .tcm-nav-search{order:999!important;width:100%!important;max-width:none!important;min-width:0!important;margin:5px 0!important;padding:0!important}
  .tcm-nav-search input{height:44px!important;font-size:14px!important}
  .tcm-nav-search button{height:44px!important;min-width:48px!important}
  .tcm-nav-group{width:100%!important}
  .tcm-nav-group-title{width:100%!important;box-sizing:border-box!important;min-height:46px!important;justify-content:space-between!important}
  .tcm-nav-sub{position:static!important;width:100%!important;box-sizing:border-box!important;min-width:0!important}
  .tcm-standard-case-card-v318{max-width:100%!important}
  .tcm-full-record-page,.tcm-card-view-page{padding-left:10px!important;padding-right:10px!important}
}
@media(max-width:560px){
  .tcm-app-header{grid-template-columns:minmax(0,1fr) auto!important;min-height:70px!important;padding:8px 9px!important}
  .tcm-brand-mark{width:42px!important;height:42px!important;flex-basis:42px!important;font-size:17px!important}
  .tcm-brand-main{font-size:19px!important}
  .tcm-brand-subtitle{font-size:8.5px!important}
  .tcm-header-user .tcm-header-logout,.tcm-header-user .tcm-login-button{min-width:66px!important;padding:6px 8px!important;font-size:11px!important}
  .tcm-standard-case-card-v318{padding:11px 12px!important;border-radius:16px!important}
  .tcm-stage-select-action{justify-content:stretch!important}
  .tcm-stage-select-action .tcm-btn{width:100%!important}
}
@media(max-width:390px){
  .tcm-brand-main{font-size:17px!important}
  .tcm-brand-subtitle{font-size:8px!important}
  .tcm-header-user .tcm-header-logout,.tcm-header-user .tcm-login-button{min-width:60px!important;font-size:10px!important}
}

/* Authentication modal: keep the entire Login form inside the phone/tablet
   viewport while preserving a comfortable touch target. */
.tcm-login-modal{padding:10px!important;align-items:center!important;justify-content:center!important}
.tcm-login-box{width:min(460px,calc(100vw - 20px))!important;max-height:calc(100dvh - 20px)!important;overflow-y:auto!important;margin:0!important;padding:clamp(18px,4vw,32px)!important}
@media(max-width:560px){
  .tcm-login-box{width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;border-radius:14px!important;padding:20px 16px 22px!important}
  .tcm-login-box h2{font-size:27px!important;margin-bottom:16px!important}
  .tcm-login-box input[type=text],.tcm-login-box input[type=password]{font-size:16px!important;min-height:46px!important}
}

/* v2.3.24 Applicant Intake Engine */
.tcm-intake-card{border-left:4px solid #c7a24a}.tcm-intake-cta{margin-bottom:18px}.tcm-intake-form{max-width:900px;margin:18px auto}.tcm-intake-form small{display:block;margin-top:5px;opacity:.75}.tcm-intake-card .tcm-actions,.tcm-intake-form .tcm-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.tcm-intake-card form{display:inline-block;margin:0}.tcm-intake-form input,.tcm-intake-form select,.tcm-intake-form textarea{width:100%;box-sizing:border-box}.tcm-intake-form label{display:block;margin-bottom:14px}.tcm-intake-form textarea{resize:vertical}.tcm-intake-card{transform-style:preserve-3d;transition:transform .2s ease,box-shadow .2s ease}.tcm-intake-card:hover{transform:translateY(-3px) rotateX(.3deg);box-shadow:0 16px 35px rgba(0,0,0,.16)}

/* v2.3.26 — Canonical New Case Entry Engine */
.tcm-new-case-v326{max-width:1180px;margin:24px auto 90px;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.tcm-newcase-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:30px 34px;border-radius:24px;background:linear-gradient(145deg,#08223a,#12476b);border:1px solid rgba(239,193,62,.55);box-shadow:0 22px 45px rgba(0,25,48,.24),inset 0 1px 0 rgba(255,255,255,.16);color:#fff;position:relative;overflow:hidden}
.tcm-newcase-hero:after{content:"";position:absolute;width:360px;height:360px;border-radius:50%;right:-150px;top:-220px;border:1px solid rgba(255,255,255,.08);box-shadow:0 0 0 55px rgba(255,255,255,.025),0 0 0 110px rgba(255,255,255,.02)}
.tcm-newcase-hero h1{margin:4px 0;font-size:clamp(30px,4vw,48px);letter-spacing:-.03em;color:#fff}.tcm-newcase-hero p{margin:0;color:#dceaf5;font-size:16px}.tcm-automation-pill,.tcm-auto-tag{position:relative;z-index:2;border:1px solid rgba(239,193,62,.6);color:#f4c84b;border-radius:999px;padding:9px 14px;font-weight:800;font-size:12px;letter-spacing:.12em;white-space:nowrap}
.tcm-newcase-steps{display:flex;gap:8px;align-items:center;margin:16px 4px 20px;overflow:auto;padding:3px}.tcm-newcase-steps span{flex:1;min-width:145px;text-align:center;padding:11px 10px;border-radius:14px;background:#eef4f8;color:#5c7184;font-weight:700;box-shadow:inset 0 1px 0 #fff}.tcm-newcase-steps span.is-active{background:#173f63;color:#fff;box-shadow:0 8px 18px rgba(10,46,76,.18)}.tcm-newcase-steps b{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;margin-right:6px;background:#f0c44b;color:#102f4d}
.tcm-entry-card{margin:16px 0;padding:25px;border:1px solid #d8e3eb;border-radius:22px;background:linear-gradient(180deg,#fff,#f8fbfd);box-shadow:0 12px 30px rgba(13,47,73,.10),0 2px 4px rgba(13,47,73,.08);transition:transform .22s ease,box-shadow .22s ease}.tcm-entry-card:hover{transform:translateY(-2px);box-shadow:0 18px 38px rgba(13,47,73,.14),0 3px 6px rgba(13,47,73,.08)}
.tcm-entry-card-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:20px}.tcm-entry-card-head>div{display:flex;align-items:center;gap:14px}.tcm-step-no{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#173f63;color:#f4c84b;font-weight:900;box-shadow:0 7px 14px rgba(23,63,99,.22)}.tcm-entry-card h2{margin:0;color:#173f63;font-size:22px}.tcm-entry-card-head p{margin:3px 0 0;color:#718397;font-size:14px}
.tcm-smart-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.tcm-smart-grid label{font-weight:800;color:#284866}.tcm-smart-grid label.wide{grid-column:1/-1}.tcm-smart-grid input,.tcm-smart-grid select{margin-top:7px;width:100%;min-height:48px;border:1px solid #cbd9e4;border-radius:12px;background:#fff;padding:11px 13px;font-size:16px;box-sizing:border-box;box-shadow:inset 0 1px 2px rgba(0,0,0,.03);transition:border-color .18s,box-shadow .18s}.tcm-smart-grid input:focus,.tcm-smart-grid select:focus{outline:none;border-color:#2c5c82;box-shadow:0 0 0 4px rgba(44,92,130,.11)}
.tcm-auto-preview{margin-top:18px;padding:16px 18px;border-radius:14px;background:#eef5f9;border-left:5px solid #e9bd3f;display:flex;flex-direction:column;gap:4px}.tcm-auto-preview span{font-size:12px;text-transform:uppercase;letter-spacing:.1em;color:#6b7f90;font-weight:800}.tcm-auto-preview strong{font-size:20px;color:#163d61;overflow-wrap:anywhere}
.tcm-smart-app-card{padding:18px;border-radius:16px;background:#f2f7fa;border:1px solid #d5e2eb}.tcm-service-row{display:grid;grid-template-columns:minmax(250px,.75fr) 1.25fr;gap:15px;align-items:end}.tcm-service-row label{font-weight:800;color:#284866}.tcm-service-row input{display:block;margin-top:7px;width:100%;min-height:50px;box-sizing:border-box;border:2px solid #bfcfdb;border-radius:13px;padding:11px 14px;font-size:18px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.tcm-service-row input:focus{border-color:#2c5c82;box-shadow:0 0 0 4px rgba(44,92,130,.10);outline:none}.tcm-match-state{min-height:50px;display:flex;align-items:center;padding:0 14px;border-radius:13px;background:#fff;border:1px solid #d5e2eb;color:#6b7f90;font-size:14px}.tcm-match-state.is-loading{color:#315c7e}.tcm-match-state.is-success{color:#17633e;border-color:#a8d9c0;background:#f2fbf6}.tcm-match-state.is-error{color:#9b2d2d;border-color:#e6b6b6;background:#fff7f7}.tcm-app-grid{margin-top:15px}.tcm-app-grid label{font-weight:700}.tcm-automation-note{background:linear-gradient(145deg,#edf5fa,#fff);border-left:5px solid #e9bd3f}.tcm-automation-grid{display:flex;gap:15px;align-items:flex-start}.tcm-automation-icon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:#173f63;color:#f4c84b;font-size:23px;box-shadow:0 8px 16px rgba(23,63,99,.18)}.tcm-automation-grid h3{margin:0;color:#173f63}.tcm-automation-grid p{margin:5px 0 0;color:#63788b}
.tcm-newcase-bottom{position:sticky;bottom:12px;z-index:20;display:flex;justify-content:space-between;align-items:center;gap:18px;margin-top:20px;padding:14px 16px;border-radius:18px;background:rgba(8,34,58,.94);backdrop-filter:blur(12px);box-shadow:0 18px 35px rgba(0,0,0,.22);color:#fff}.tcm-newcase-bottom>div:first-child{display:flex;flex-direction:column}.tcm-newcase-bottom span{font-size:13px;color:#d5e2ec;margin-top:2px}.tcm-3d-primary{box-shadow:0 8px 0 #a47d19,0 14px 24px rgba(0,0,0,.25);transform:translateY(-2px)}.tcm-3d-primary:active{transform:translateY(4px);box-shadow:0 2px 0 #a47d19,0 5px 10px rgba(0,0,0,.2)}
.tcm-choice-modal{position:fixed;inset:0;z-index:100000;display:none;align-items:center;justify-content:center;padding:18px;background:rgba(4,20,34,.62);backdrop-filter:blur(7px)}.tcm-choice-modal.is-open{display:flex}.tcm-choice-dialog{width:min(520px,100%);padding:28px;border-radius:22px;background:#fff;box-shadow:0 30px 80px rgba(0,0,0,.35);position:relative}.tcm-choice-dialog h2{margin:4px 0 8px;color:#173f63}.tcm-choice-dialog p{color:#667b8d}.tcm-choice-dialog input{width:100%;box-sizing:border-box;min-height:50px;border:1px solid #cbd9e4;border-radius:12px;padding:12px;font-size:17px;margin:8px 0 18px}.tcm-choice-dialog .tcm-modal-close{position:absolute;right:14px;top:12px;border:0;background:transparent;font-size:28px;color:#5d7184;cursor:pointer}
@media(max-width:760px){.tcm-new-case-v326{margin:10px auto 90px}.tcm-newcase-hero{padding:22px 20px;border-radius:18px}.tcm-automation-pill{display:none}.tcm-newcase-steps span{min-width:120px;font-size:12px}.tcm-entry-card{padding:18px;border-radius:18px}.tcm-entry-card-head{align-items:flex-start}.tcm-auto-tag{display:none}.tcm-smart-grid{grid-template-columns:1fr}.tcm-smart-grid label.wide{grid-column:auto}.tcm-service-row{grid-template-columns:1fr}.tcm-newcase-bottom{align-items:stretch;flex-direction:column}.tcm-newcase-bottom .tcm-actions{display:grid;grid-template-columns:1fr 1fr}.tcm-newcase-bottom .tcm-btn{justify-content:center;text-align:center}.tcm-auto-preview strong{font-size:16px}.tcm-entry-card h2{font-size:19px}}
/* v2.3.27 — Canonical New NDH Engine */
.tcm-new-ndh-page{max-width:1280px;margin:0 auto;padding:18px 14px 80px}
.tcm-3d-panel{position:relative;border:1px solid rgba(20,58,96,.16);border-radius:24px;background:linear-gradient(145deg,#fff,#f4f8fb);box-shadow:0 18px 38px rgba(12,34,56,.12),0 4px 10px rgba(12,34,56,.08);transform:translateZ(0)}
.tcm-new-ndh-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:28px 30px;margin-bottom:18px;overflow:hidden}
.tcm-new-ndh-hero:after{content:"";position:absolute;width:280px;height:280px;right:-110px;top:-120px;border-radius:50%;background:rgba(241,196,59,.12);box-shadow:inset 0 0 0 28px rgba(241,196,59,.05)}
.tcm-eyebrow{display:block;color:#c59618;font-size:12px;font-weight:900;letter-spacing:2.2px;text-transform:uppercase;margin-bottom:6px}
.tcm-new-ndh-hero h1{margin:0;color:#143b63;font-size:clamp(32px,5vw,52px);line-height:1;font-weight:900}
.tcm-new-ndh-hero p{margin:10px 0 0;color:#52677b;font-size:16px}
.tcm-ndh-today-chip{min-width:145px;text-align:center;padding:15px 18px;border-radius:18px;background:#0c2d4a;color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 10px 20px rgba(12,45,74,.2);z-index:1}
.tcm-ndh-today-chip strong{font-size:18px;color:#f1c43b}
.tcm-ndh-search{display:flex;align-items:end;gap:12px;padding:18px;margin-bottom:18px}
.tcm-ndh-search label{flex:1;color:#173d62;font-weight:800}.tcm-ndh-search input{display:block;width:100%;margin-top:7px}
.tcm-entry-head,.tcm-section-title{display:flex;justify-content:space-between;align-items:center;gap:15px}
.tcm-ndh-entry,.tcm-ndh-list{padding:24px;margin-bottom:18px}
.tcm-entry-head h2,.tcm-section-title h2{margin:0;color:#173d62}.tcm-entry-head p{margin:5px 0;color:#66798b}
.tcm-ndh-current{display:grid;grid-template-columns:auto 1fr auto 1fr;gap:8px 18px;align-items:center;margin:18px 0;padding:15px 18px;border-radius:16px;background:#edf4f8;box-shadow:inset 0 1px 2px rgba(0,0,0,.04)}
.tcm-ndh-current span{font-weight:800;color:#62798d}.tcm-ndh-current strong{color:#143b63}
.tcm-new-ndh-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px;margin-top:18px}
.tcm-new-ndh-card{padding:18px;border-radius:20px;background:#fff;border:1px solid rgba(20,58,96,.12);box-shadow:8px 10px 22px rgba(15,39,60,.11),inset 0 1px 0 #fff;transition:transform .2s ease,box-shadow .2s ease}
.tcm-new-ndh-card:hover,.tcm-new-ndh-card:focus-within{transform:translateY(-4px);box-shadow:10px 18px 30px rgba(15,39,60,.16)}
.tcm-new-ndh-card-top{display:flex;justify-content:space-between;gap:12px;align-items:start}.tcm-new-ndh-card-top strong{color:#173d62}.tcm-new-ndh-card-top span{font-size:12px;font-weight:800;color:#b08314;white-space:nowrap}
.tcm-new-ndh-card-party{margin:12px 0;font-weight:800;color:#263f56;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tcm-new-ndh-card-meta{display:flex;gap:8px;overflow:hidden}.tcm-new-ndh-card-meta span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:6px 9px;border-radius:10px;background:#f0f5f8;color:#536b7d;font-size:12px;font-weight:700}
.tcm-new-ndh-card .tcm-card-actions{display:flex;gap:8px;margin-top:14px}.tcm-new-ndh-card .tcm-btn{flex:1;text-align:center}
.tcm-new-ndh-review{max-width:980px;margin:28px auto;padding:26px}.tcm-review-case-head{display:flex;justify-content:space-between;gap:20px;padding:15px 18px;background:#eef4f8;border-radius:15px;margin:18px 0}.tcm-review-case-head span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tcm-review-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.tcm-review-grid>div{padding:15px;border-radius:14px;background:#fff;border:1px solid #dce5eb;box-shadow:0 5px 12px rgba(0,0,0,.06)}.tcm-review-grid small{display:block;color:#718497;font-weight:800}.tcm-review-grid strong{display:block;margin-top:4px;color:#173d62;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tcm-new-ndh-success{max-width:650px;margin:50px auto;padding:35px;text-align:center;border-radius:24px;background:#fff;box-shadow:0 20px 45px rgba(10,35,55,.16);border:1px solid #dce6ec}.tcm-new-ndh-success h2{color:#173d62}.tcm-success-icon{font-size:40px;color:#16804d;font-weight:900}
@media(max-width:700px){.tcm-new-ndh-page{padding:10px 8px 60px}.tcm-new-ndh-hero{display:block;padding:22px 18px}.tcm-ndh-today-chip{margin-top:15px;min-width:0}.tcm-ndh-search{display:block}.tcm-ndh-search .tcm-btn,.tcm-ndh-search a{display:inline-block;margin-top:10px}.tcm-entry-head,.tcm-section-title{align-items:flex-start;flex-direction:column}.tcm-ndh-current{grid-template-columns:1fr 1fr;gap:8px}.tcm-review-grid{grid-template-columns:1fr}.tcm-review-case-head{display:block}.tcm-review-case-head span{display:block;margin-top:5px}.tcm-new-ndh-card-top{display:block}.tcm-new-ndh-card-top span{display:block;margin-top:5px}.tcm-new-ndh-card-meta span{min-width:0}}

/* ================================================================
 * AutoManage v0.1 — Today / Tomorrow / Upcoming Advocate-wise Desk
 * Premium 3D, touch-friendly, minimum-data-entry presentation.
 * ================================================================ */
.tcm-v01-workspace{max-width:1280px;margin:18px auto 90px;padding:0 16px;box-sizing:border-box}
.tcm-v01-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 26px;margin-bottom:16px;border-radius:24px;background:linear-gradient(145deg,#fdfefe 0%,#edf3f8 55%,#dfe8f0 100%);border:1px solid rgba(18,57,88,.14);box-shadow:0 5px 0 rgba(10,39,62,.08),0 22px 45px rgba(10,39,62,.16),inset 0 1px 0 rgba(255,255,255,.95);transform:translateZ(0);perspective:1000px}
.tcm-v01-hero h1{margin:4px 0 5px;color:#123d60;font-size:clamp(24px,3vw,38px);line-height:1.08;letter-spacing:-.5px}
.tcm-v01-hero p{margin:0;color:#5a7084;font-weight:700}
.tcm-v01-hero-date{min-width:130px;padding:15px 18px;text-align:center;border-radius:18px;background:linear-gradient(145deg,#143f63,#0c2c47);color:#fff;box-shadow:0 5px 0 rgba(5,22,36,.25),0 14px 25px rgba(9,39,63,.22),inset 0 1px 0 rgba(255,255,255,.18);transform:rotateX(3deg)}
.tcm-v01-hero-date span{display:block;font-size:10px;letter-spacing:1.4px;font-weight:950;opacity:.78}.tcm-v01-hero-date strong{display:block;margin-top:4px;font-size:17px}
.tcm-v01-filters{display:grid;grid-template-columns:minmax(240px,2fr) minmax(180px,1fr) minmax(170px,1fr) minmax(120px,.7fr) auto auto;gap:10px;align-items:end;padding:14px;border-radius:19px;background:rgba(255,255,255,.94);border:1px solid rgba(18,57,88,.12);box-shadow:0 4px 0 rgba(12,43,67,.05),0 12px 28px rgba(12,43,67,.10);margin-bottom:15px}
.tcm-v01-filters label{display:flex;flex-direction:column;gap:5px;color:#4c6579;font-size:10px;font-weight:950;text-transform:uppercase;letter-spacing:.6px}.tcm-v01-filters input,.tcm-v01-filters select{height:42px;box-sizing:border-box;border:1px solid #cbd8e3;border-radius:12px;background:#fff;color:#173f63;font-weight:750;padding:0 11px;box-shadow:inset 0 2px 5px rgba(15,45,68,.05)}
.tcm-v01-search{min-width:0}.tcm-v01-myfilter{height:42px;box-sizing:border-box;padding:6px 11px;border-radius:12px;background:#edf4f8;border:1px solid #cbd8e3;color:#173f63}.tcm-v01-myfilter span{display:block;font-size:8px;letter-spacing:1px;color:#6a7f90}.tcm-v01-myfilter strong{font-size:13px}
.tcm-v01-summary{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 17px}.tcm-v01-summary>div{min-width:155px;padding:11px 15px;border-radius:15px;background:linear-gradient(145deg,#fff,#eef4f8);border:1px solid rgba(19,60,91,.12);box-shadow:0 3px 0 rgba(8,35,56,.06),0 8px 18px rgba(8,35,56,.08)}.tcm-v01-summary span{display:block;font-size:9px;font-weight:950;letter-spacing:1px;color:#708395}.tcm-v01-summary strong{display:block;margin-top:3px;color:#173f63;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:260px}
.tcm-v01-adv-group{margin:22px 0 30px}.tcm-v01-group-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 10px;padding:11px 14px;border-radius:15px;background:linear-gradient(145deg,#123d60,#1d537a);color:#fff;box-shadow:0 4px 0 rgba(8,31,50,.16),0 12px 22px rgba(8,31,50,.15);position:relative;overflow:hidden}.tcm-v01-group-head:after{content:"";position:absolute;inset:0;background:linear-gradient(120deg,transparent 30%,rgba(255,255,255,.09) 50%,transparent 70%);transform:translateX(-100%);animation:tcmV01Shine 6s ease-in-out infinite}.tcm-v01-group-head>div{min-width:0}.tcm-v01-group-head span{font-size:8px;letter-spacing:1.5px;font-weight:950;opacity:.7}.tcm-v01-group-head h2{margin:2px 0 0;font-size:17px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tcm-v01-group-head>strong{flex:0 0 auto;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.12);font-size:11px}
.tcm-v01-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.tcm-v01-hearing-card{position:relative;min-width:0;overflow:hidden;padding:0;border-radius:21px;background:linear-gradient(145deg,#fff 0%,#f3f7fa 62%,#e7eef3 100%);border:1px solid rgba(17,57,87,.14);box-shadow:0 5px 0 rgba(7,31,49,.08),0 17px 34px rgba(7,31,49,.14),inset 0 1px 0 #fff;transition:transform .25s ease,box-shadow .25s ease;transform:perspective(1000px) translateZ(0)}
.tcm-v01-hearing-card:before{content:"";position:absolute;top:0;left:0;right:0;height:5px;background:linear-gradient(90deg,#b58a25,#ecd36e,#b58a25)}.tcm-v01-hearing-card:hover{transform:perspective(1000px) translateY(-6px) rotateX(1deg);box-shadow:0 8px 0 rgba(7,31,49,.09),0 25px 45px rgba(7,31,49,.20),inset 0 1px 0 #fff}
.tcm-v01-card-top{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px;padding:16px 17px 12px;border-bottom:1px solid #dce6ed}.tcm-v01-date{padding:9px 11px;border-radius:14px;background:linear-gradient(145deg,#123d60,#214f70);color:#fff;box-shadow:0 3px 0 rgba(5,25,42,.2),inset 0 1px 0 rgba(255,255,255,.16)}.tcm-v01-date span{display:block;font-size:8px;letter-spacing:1.3px;opacity:.72;font-weight:950}.tcm-v01-date strong{display:block;margin-top:3px;font-size:15px}.tcm-v01-court{min-width:0;align-self:center}.tcm-v01-court span{display:block;color:#60788b;font-size:11px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tcm-v01-court strong{display:block;color:#173f63;font-size:13px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tcm-v01-case-no{padding:12px 17px 7px;color:#0f3657;font-size:16px;font-weight:950;letter-spacing:.1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tcm-v01-parties{display:flex;gap:8px;align-items:center;padding:5px 17px 12px;border-bottom:1px solid #e0e8ee;min-width:0}.tcm-v01-parties strong{min-width:0;max-width:47%;color:#173f63;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tcm-v01-parties span{flex:0 0 auto;color:#a17b25;font-size:11px;font-weight:950}
.tcm-v01-advocate{display:flex;align-items:center;gap:10px;margin:11px 17px 0;padding:9px 11px;border-radius:12px;background:#eaf2f7;border:1px solid #d1dfe8}.tcm-v01-advocate span{flex:0 0 auto;color:#60788b;font-size:8px;letter-spacing:1px;font-weight:950}.tcm-v01-advocate strong{min-width:0;color:#173f63;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tcm-v01-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:11px 17px}.tcm-v01-meta>div{min-width:0;padding:7px 9px;border-radius:10px;background:rgba(255,255,255,.62);border:1px solid #dce5eb}.tcm-v01-meta>div:last-child{grid-column:1/-1}.tcm-v01-meta span{display:block;color:#708393;font-size:8px;text-transform:uppercase;letter-spacing:.7px;font-weight:950}.tcm-v01-meta strong{display:block;margin-top:3px;color:#264d6b;font-size:10px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tcm-v01-actions{display:flex;gap:8px;padding:10px 17px 15px}.tcm-v01-actions .tcm-btn{flex:1;min-height:38px;box-sizing:border-box;justify-content:center;font-size:11px}.tcm-v01-note-btn{border:1px solid #c9d7e1!important;background:#fff!important;color:#173f63!important}
.tcm-v01-empty{margin-top:12px;border-radius:18px;text-align:center}.tcm-v01-empty h2{margin-top:0}
@keyframes tcmV01Shine{0%,55%,100%{transform:translateX(-100%)}70%{transform:translateX(100%)}}
@media(max-width:980px){.tcm-v01-filters{grid-template-columns:2fr 1fr 1fr}.tcm-v01-filters .tcm-btn{min-height:42px}.tcm-v01-card-grid{grid-template-columns:1fr}}
@media(max-width:680px){.tcm-v01-workspace{padding:0 9px;margin-top:10px}.tcm-v01-hero{padding:17px;border-radius:18px;align-items:flex-start}.tcm-v01-hero-date{min-width:95px;padding:11px 8px}.tcm-v01-hero-date strong{font-size:13px}.tcm-v01-filters{grid-template-columns:1fr 1fr;padding:11px}.tcm-v01-search{grid-column:1/-1}.tcm-v01-filters label:first-of-type{grid-column:auto}.tcm-v01-filters .tcm-btn,.tcm-v01-filters>a{width:100%;justify-content:center}.tcm-v01-summary>div{flex:1;min-width:120px}.tcm-v01-card-top{grid-template-columns:125px minmax(0,1fr);gap:9px;padding:13px}.tcm-v01-case-no,.tcm-v01-parties{padding-left:13px;padding-right:13px}.tcm-v01-advocate,.tcm-v01-meta{margin-left:13px;margin-right:13px}.tcm-v01-actions{padding-left:13px;padding-right:13px}}
@media(max-width:430px){.tcm-v01-hero{display:block}.tcm-v01-hero-date{margin-top:11px;display:inline-block}.tcm-v01-filters{grid-template-columns:1fr}.tcm-v01-search{grid-column:auto}.tcm-v01-card-top{grid-template-columns:1fr}.tcm-v01-parties strong{font-size:10px}.tcm-v01-meta{grid-template-columns:1fr}.tcm-v01-meta>div:last-child{grid-column:auto}.tcm-v01-group-head h2{font-size:14px}}
@media(prefers-reduced-motion:reduce){.tcm-v01-hearing-card,.tcm-v01-group-head:after{transition:none;animation:none!important}}

/* AutoManage Ver 0.3 — Administrator unrestricted page navigation */
.tcm-admin-all-pages{position:relative;display:inline-flex;align-items:center;gap:6px;margin-left:4px}
.tcm-admin-pages-label{display:inline-flex;align-items:center;padding:9px 10px;border-left:1px solid rgba(255,255,255,.18);font-size:12px;font-weight:800;letter-spacing:.08em;color:#f0c94f;white-space:nowrap}
.tcm-admin-page-link{display:inline-flex;align-items:center;padding:9px 8px;border-radius:7px;color:#fff!important;text-decoration:none;font-size:12px;font-weight:700;white-space:nowrap}
.tcm-admin-page-link:hover,.tcm-admin-page-link:focus,.tcm-admin-page-link.is-active{background:rgba(240,201,79,.14);color:#f0c94f!important}
@media(max-width:1200px){.tcm-admin-all-pages{flex-wrap:wrap}.tcm-admin-pages-label{display:none}.tcm-admin-page-link{font-size:11px;padding:8px 6px}}
@media(max-width:750px){.tcm-admin-all-pages{width:100%;padding:5px 8px;border-top:1px solid rgba(255,255,255,.12)}.tcm-admin-page-link{font-size:12px}}


/* ================================================================
 * AutoManage Ver 0.4 — Master Update Control Centre
 * Compact, role-aware, 3D and touch-friendly.
 * ================================================================ */
.tcm-master-update{max-width:1280px;margin:18px auto 90px;padding:0 16px;box-sizing:border-box}
.tcm-master-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:25px 28px;margin-bottom:17px;border-radius:24px;background:linear-gradient(145deg,#ffffff 0%,#eef4f8 55%,#dfe8f0 100%);border:1px solid rgba(18,57,88,.14);box-shadow:0 5px 0 rgba(8,34,55,.08),0 22px 45px rgba(8,34,55,.15),inset 0 1px 0 rgba(255,255,255,.95)}
.tcm-master-hero h1{margin:4px 0 5px;color:#143d60;font-size:clamp(26px,3vw,40px);line-height:1.05;letter-spacing:-.6px}
.tcm-master-hero p{margin:0;color:#607487;font-weight:700;max-width:780px}
.tcm-master-role{min-width:175px;padding:15px 18px;border-radius:17px;text-align:center;background:linear-gradient(145deg,#143f63,#0c2d49);color:#fff;box-shadow:0 5px 0 rgba(5,22,36,.25),0 15px 28px rgba(9,39,63,.22),inset 0 1px 0 rgba(255,255,255,.16);transform:perspective(800px) rotateX(3deg)}
.tcm-master-role span{display:block;font-size:9px;letter-spacing:1.5px;font-weight:950;opacity:.72}.tcm-master-role strong{display:block;margin-top:5px;font-size:13px;letter-spacing:.4px}
.tcm-master-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.tcm-master-group{min-width:0;padding:0;border-radius:21px;background:linear-gradient(145deg,#fff,#eef4f8);border:1px solid rgba(18,57,88,.12);box-shadow:0 5px 0 rgba(8,34,55,.07),0 16px 32px rgba(8,34,55,.11),inset 0 1px 0 rgba(255,255,255,.95);overflow:hidden;transform:translateZ(0)}
.tcm-master-group-admin{grid-column:1/-1}
.tcm-master-group-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 17px;background:linear-gradient(145deg,#123d60,#1c5278);color:#fff;box-shadow:inset 0 -1px 0 rgba(255,255,255,.08)}
.tcm-master-group-head span{display:block;font-size:8px;letter-spacing:1.6px;font-weight:950;color:#f2ce5b}.tcm-master-group-head h2{margin:3px 0 0;font-size:16px;line-height:1.1}.tcm-master-group-head>b{flex:0 0 auto;display:flex;align-items:center;justify-content:center;width:31px;height:31px;border-radius:50%;background:rgba(255,255,255,.13);font-size:12px}
.tcm-master-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:12px}
.tcm-master-option{display:flex;align-items:center;gap:10px;min-width:0;padding:11px;border-radius:14px;background:rgba(255,255,255,.82);border:1px solid #d6e1e9;color:#173f63;text-decoration:none;box-shadow:0 3px 0 rgba(8,34,55,.05),0 7px 16px rgba(8,34,55,.07),inset 0 1px 0 #fff;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.tcm-master-option:hover,.tcm-master-option:focus{transform:translateY(-3px);border-color:#d3b34a;box-shadow:0 5px 0 rgba(8,34,55,.06),0 13px 22px rgba(8,34,55,.13),inset 0 1px 0 #fff;color:#123d60;text-decoration:none}
.tcm-master-icon{flex:0 0 auto;display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:11px;background:linear-gradient(145deg,#f5d76b,#c7a237);color:#163b5c;font-size:12px;font-weight:950;box-shadow:0 3px 0 rgba(130,96,15,.18),inset 0 1px 0 rgba(255,255,255,.75)}
.tcm-master-option-copy{display:flex;flex-direction:column;gap:2px;min-width:0}.tcm-master-option-copy strong{font-size:12px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tcm-master-option-copy small{font-size:9px;line-height:1.35;color:#6a7e8e;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tcm-master-arrow{margin-left:auto;flex:0 0 auto;font-size:22px;line-height:1;color:#a9852d}
.tcm-master-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:17px;padding:14px 17px;border-radius:18px;background:#123d60;color:#fff;box-shadow:0 4px 0 rgba(8,31,50,.14),0 12px 25px rgba(8,31,50,.14)}
.tcm-master-footer>div{display:flex;flex-direction:column;gap:2px}.tcm-master-footer strong{font-size:12px}.tcm-master-footer span{font-size:10px;color:rgba(255,255,255,.72)}
@media(max-width:900px){.tcm-master-grid{grid-template-columns:1fr}.tcm-master-group-admin{grid-column:auto}}
@media(max-width:620px){.tcm-master-update{padding:0 9px;margin-top:10px}.tcm-master-hero{display:block;padding:18px;border-radius:18px}.tcm-master-role{display:inline-block;margin-top:12px;min-width:150px}.tcm-master-options{grid-template-columns:1fr;padding:10px}.tcm-master-footer{align-items:flex-start;flex-direction:column}.tcm-master-footer .tcm-btn{width:100%;justify-content:center}}
@media(prefers-reduced-motion:reduce){.tcm-master-option{transition:none}.tcm-master-option:hover,.tcm-master-option:focus{transform:none}}

/* ================================================================
 * AutoManage Ver 0.5 — Rebuilt Case Details workspace
 * ================================================================ */
.tcm-case-details-workspace{max-width:1500px;margin:0 auto;padding:8px 14px 35px}
.tcm-case-details-search{margin-bottom:18px}
.tcm-case-details-search .tcm-section-title,.tcm-case-details-selected .tcm-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px}
.tcm-case-details-search .tcm-section-title b,.tcm-case-details-selected .tcm-section-title b{font-size:10px;color:#9b7a20;letter-spacing:.8px}
.tcm-case-details-grid{align-items:stretch}
.tcm-case-details-card{display:flex;flex-direction:column;min-width:0;padding:17px;border:1px solid rgba(18,57,88,.13);border-radius:20px;background:linear-gradient(145deg,#fff,#edf3f7);box-shadow:0 5px 0 rgba(8,34,55,.07),0 15px 30px rgba(8,34,55,.10),inset 0 1px 0 rgba(255,255,255,.95);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.tcm-case-details-card:hover{transform:translateY(-4px);border-color:#d5b64d;box-shadow:0 7px 0 rgba(8,34,55,.07),0 22px 38px rgba(8,34,55,.15),inset 0 1px 0 #fff}
.tcm-case-details-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:10px;border-bottom:1px solid #dce5eb;color:#627789;font-size:10px;font-weight:800}
.tcm-case-details-card-top strong{padding:5px 9px;border-radius:9px;background:#153e61;color:#fff;font-size:9px;white-space:nowrap;box-shadow:0 2px 0 rgba(7,29,47,.22)}
.tcm-case-details-card h3{margin:12px 0 7px;color:#173f63;font-size:15px;line-height:1.25}
.tcm-case-details-app{min-height:36px;margin:0 0 12px;color:#273f55;font-size:12px;font-weight:800}
.tcm-case-details-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:auto;margin-bottom:14px}
.tcm-case-details-meta span{padding:8px 7px;border-radius:9px;background:rgba(255,255,255,.72);border:1px solid #dce5eb;color:#607487;font-size:9px;line-height:1.3}
.tcm-case-details-meta b{color:#173f63}
.tcm-case-details-card .tcm-btn{align-self:flex-start}
.tcm-case-details-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:13px}
.tcm-case-details-summary>div{padding:12px 13px;border-radius:13px;background:linear-gradient(145deg,#fff,#eef4f8);border:1px solid #d8e3ea;box-shadow:0 3px 0 rgba(8,34,55,.04),0 8px 18px rgba(8,34,55,.07)}
.tcm-case-details-summary span{display:block;margin-bottom:4px;color:#718596;font-size:8px;font-weight:900;letter-spacing:1px;text-transform:uppercase}.tcm-case-details-summary strong{display:block;color:#173f63;font-size:11px;line-height:1.35}
.tcm-case-details-actions{margin-top:15px}.tcm-case-details-editor{position:relative;margin-top:18px}.tcm-editor-badge{position:relative;z-index:2;display:inline-block;margin:0 0 -1px 16px;padding:7px 12px;border-radius:10px 10px 0 0;background:#153e61;color:#f1cc58;font-size:9px;font-weight:950;letter-spacing:1.3px;box-shadow:0 -1px 0 rgba(255,255,255,.1)}
.tcm-case-details-editor .tcm-panel{border-radius:0 20px 20px 20px}
@media(max-width:900px){.tcm-case-details-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.tcm-case-details-workspace{padding:4px 8px 25px}.tcm-case-details-summary{grid-template-columns:1fr}.tcm-case-details-meta{grid-template-columns:1fr}.tcm-case-details-card{padding:14px}.tcm-case-details-card:hover{transform:none}.tcm-case-details-search .tcm-section-title,.tcm-case-details-selected .tcm-section-title{align-items:flex-start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){.tcm-case-details-card{transition:none}.tcm-case-details-card:hover{transform:none}}


/* ================================================================
 * AutoManage Ver 0.6 — Stable Stage Workspaces
 * ================================================================ */
.tcm-stage-workspace,.tcm-full-record-picker{max-width:1500px;margin:0 auto;padding:8px 14px 35px}
.tcm-stage-selected{margin:18px 0}
.tcm-stage-data-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}
.tcm-stage-data-card{padding:16px;border:1px solid rgba(18,57,88,.12);border-radius:16px;background:linear-gradient(145deg,#fff,#edf3f7);box-shadow:0 4px 0 rgba(8,34,55,.06),0 12px 24px rgba(8,34,55,.09),inset 0 1px 0 #fff;display:flex;flex-direction:column;gap:7px;min-width:0}
.tcm-stage-data-card>span{font-size:9px;font-weight:900;letter-spacing:1px;text-transform:uppercase;color:#8a6c18}
.tcm-stage-data-card>strong{font-size:14px;line-height:1.3;color:#173f63}
.tcm-stage-data-card>small{font-size:10px;line-height:1.5;color:#637789;word-break:break-word}
.tcm-stage-data-card .tcm-btn{align-self:flex-start;margin-top:4px}
.tcm-stage-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}
.tcm-stage-columns>div{padding:16px;border:1px solid #dbe4ea;border-radius:16px;background:#f9fbfc;box-shadow:0 4px 12px rgba(8,34,55,.06)}
.tcm-stage-columns h2{margin:0 0 10px;color:#173f63;font-size:16px}
.tcm-stage-row{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #e1e8ed;font-size:11px}
.tcm-stage-row:last-child{border-bottom:0}.tcm-stage-row strong{color:#173f63;white-space:nowrap}.tcm-stage-row span{color:#617487;text-align:right}
.tcm-full-record-picker .tcm-page-intro{margin-bottom:18px}
@media(max-width:900px){.tcm-stage-data-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tcm-stage-columns{grid-template-columns:1fr}}
@media(max-width:620px){.tcm-stage-workspace,.tcm-full-record-picker{padding:4px 8px 25px}.tcm-stage-data-grid{grid-template-columns:1fr}.tcm-stage-data-card{padding:14px}.tcm-stage-row{display:block}.tcm-stage-row span{display:block;text-align:left;margin-top:3px}}

/* ================================================================
 * AutoManage Ver 0.9 — Advocate Unified Hearing Desk + Documents First
 * ================================================================ */
.tcm-advocate-identity-badge{display:inline-flex;align-items:center;gap:10px;margin-top:12px;padding:8px 12px;border-radius:999px;background:linear-gradient(145deg,#123d60,#1e587f);color:#fff;box-shadow:0 4px 0 rgba(7,29,47,.16),0 10px 20px rgba(7,29,47,.12),inset 0 1px 0 rgba(255,255,255,.12)}
.tcm-advocate-identity-badge span{font-size:8px;letter-spacing:1.2px;font-weight:950;opacity:.72}.tcm-advocate-identity-badge strong{font-size:11px;color:#f1cf62}
.tcm-documents-top-strip{position:relative;margin:0 0 10px;padding:10px 12px;border-radius:15px;background:linear-gradient(145deg,#fffdf4,#f6f0d7 58%,#eee3b8);border:1px solid rgba(181,138,37,.34);box-shadow:0 4px 0 rgba(118,87,18,.08),0 12px 22px rgba(70,54,16,.10),inset 0 1px 0 rgba(255,255,255,.95);z-index:2}
.tcm-documents-top-head{display:flex;align-items:center;gap:8px;margin-bottom:7px;color:#173f63}.tcm-documents-kicker{font-size:8px;letter-spacing:1.2px;font-weight:950;color:#8b6a18}.tcm-documents-top-head strong{font-size:13px}.tcm-documents-count{margin-left:auto;min-width:22px;height:22px;padding:0 7px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#173f63;color:#fff;font-size:9px;font-weight:950;box-shadow:0 2px 0 rgba(7,29,47,.18)}
.tcm-documents-top-list{display:flex;gap:7px;overflow-x:auto;padding:2px 1px 5px;scrollbar-width:thin}.tcm-document-chip{min-width:150px;max-width:250px;display:flex;align-items:center;gap:7px;padding:7px 9px;border-radius:10px;text-decoration:none!important;background:rgba(255,255,255,.78);border:1px solid #ddd0a2;color:#173f63;box-shadow:0 2px 0 rgba(82,60,10,.06);transition:transform .15s ease,box-shadow .15s ease}.tcm-document-chip:hover{transform:translateY(-2px);box-shadow:0 5px 12px rgba(70,54,16,.12)}.tcm-document-chip-cat{flex:0 0 auto;padding:3px 5px;border-radius:6px;background:#173f63;color:#f4d36a;font-size:7px;font-weight:950;letter-spacing:.5px;text-transform:uppercase}.tcm-document-chip strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}.tcm-document-chip-open{margin-left:auto;flex:0 0 auto;font-size:8px;color:#8b6a18;font-weight:950}.tcm-documents-empty{padding:7px 8px;color:#6d6a5d;font-size:9px;font-weight:800}.tcm-documents-all-link{display:inline-block;margin-top:4px;color:#173f63;font-size:9px;font-weight:950;text-decoration:none}.tcm-documents-all-link:hover{text-decoration:underline}
.tcm-standard-case-card-v318>.tcm-documents-top-strip{margin:0 0 3px;border-radius:14px 14px 10px 10px}.tcm-v01-hearing-card>.tcm-documents-top-strip{margin:0;border-radius:20px 20px 11px 11px;box-shadow:none;border-left:0;border-right:0;border-top:0}
.tcm-full-record-page>.tcm-documents-top-strip{position:sticky;top:8px;margin:0 0 16px;z-index:20}.tcm-stage-selected>.tcm-documents-top-strip{margin-top:12px}
@media(max-width:680px){.tcm-documents-top-strip{padding:9px}.tcm-document-chip{min-width:135px}.tcm-advocate-identity-badge{max-width:100%;overflow:hidden}.tcm-advocate-identity-badge strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(prefers-reduced-motion:reduce){.tcm-document-chip{transition:none}.tcm-document-chip:hover{transform:none}}


/* AutoManage Ver 1.1 — Multi-party + Excel Bulk Update visual system */
.tcm-new-adv-row,.tcm-new-resp-row{padding:14px;border-radius:18px;margin-bottom:12px;background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(235,241,248,.9));box-shadow:8px 8px 20px rgba(15,23,42,.10),-4px -4px 12px rgba(255,255,255,.9);border:1px solid rgba(148,163,184,.25)}
.tcm-bulk-workspace{max-width:1500px;margin:0 auto;padding:24px 16px 60px}.tcm-bulk-toolbar,.tcm-bulk-upload-card,.tcm-bulk-preview,.tcm-bulk-footer{margin:18px 0;padding:22px;border-radius:24px;background:linear-gradient(145deg,#fff,#eef3f8);box-shadow:12px 12px 30px rgba(15,23,42,.12),-8px -8px 22px rgba(255,255,255,.95);border:1px solid rgba(148,163,184,.25)}
.tcm-bulk-toolbar>div:first-child{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:16px}.tcm-bulk-toolbar small{display:block;max-width:720px;color:#64748b}.tcm-bulk-mode-grid{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:12px}.tcm-bulk-mode-card{display:flex;flex-direction:column;gap:5px;padding:16px;border-radius:18px;text-decoration:none;color:inherit;background:linear-gradient(145deg,#fff,#e8edf3);box-shadow:7px 7px 16px rgba(15,23,42,.10),-4px -4px 10px #fff;transition:transform .16s ease,box-shadow .16s ease}.tcm-bulk-mode-card:hover{transform:translateY(-3px);box-shadow:10px 10px 20px rgba(15,23,42,.14),-5px -5px 12px #fff}.tcm-bulk-mode-card span{font-size:11px;font-weight:800;letter-spacing:.12em;color:#64748b}.tcm-bulk-mode-card strong{font-size:15px}.tcm-bulk-mode-card small{font-weight:700}.tcm-bulk-row{margin:16px 0;padding:18px;border-radius:20px;background:#f8fafc;border:1px solid #dbe3ec;box-shadow:inset 0 1px 0 #fff,8px 8px 18px rgba(15,23,42,.07)}.tcm-bulk-row>header{display:flex;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid #dbe3ec}.tcm-bulk-row>header span{font-size:12px;color:#64748b}.tcm-bulk-existing{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.tcm-bulk-existing>div{background:#fff;border-radius:16px;padding:12px;box-shadow:inset 0 0 0 1px #e2e8f0}.tcm-bulk-existing>div>span{display:block;font-size:11px;font-weight:900;letter-spacing:.12em;color:#475569;margin-bottom:8px}.tcm-bulk-existing pre{white-space:pre-wrap;word-break:break-word;max-height:280px;overflow:auto;margin:0;font-size:12px;line-height:1.45}.tcm-bulk-existing textarea{width:100%;min-height:280px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;line-height:1.45;border:1px solid #cbd5e1;border-radius:12px;padding:10px;box-sizing:border-box}.tcm-bulk-review-modal{max-width:1200px;width:min(1200px,94vw);max-height:88vh;overflow:auto}.tcm-bulk-review-modal pre{white-space:pre-wrap;word-break:break-word;font-size:11px;max-height:220px;overflow:auto;margin:5px 0}.tcm-bulk-footer{font-size:13px;color:#475569}.tcm-bulk-footer strong{color:#0f172a}@media(max-width:1000px){.tcm-bulk-mode-grid{grid-template-columns:repeat(3,minmax(120px,1fr))}.tcm-bulk-existing{grid-template-columns:1fr}}@media(max-width:600px){.tcm-bulk-mode-grid{grid-template-columns:repeat(2,minmax(120px,1fr))}.tcm-bulk-toolbar>div:first-child{display:block}.tcm-bulk-workspace{padding:12px 8px 40px}.tcm-bulk-toolbar,.tcm-bulk-upload-card,.tcm-bulk-preview,.tcm-bulk-footer{padding:14px;border-radius:18px}}

/* ================================================================
 * AutoManage Ver 1.2 — Permission-based Main Menu + Admin Control Centre
 * ================================================================ */
.tcm-permission-nav{align-items:stretch;gap:6px;padding:6px 10px;background:linear-gradient(180deg,#123e61,#0e314d);box-shadow:0 5px 0 rgba(6,25,40,.12),0 12px 26px rgba(6,25,40,.14);position:relative;z-index:40}
.tcm-permission-nav .tcm-top-link,.tcm-permission-nav .tcm-nav-group>summary{min-height:42px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:7px 12px;border:1px solid rgba(255,255,255,.10);border-radius:12px;color:#f7fbff;text-decoration:none;font-size:10px;font-weight:900;letter-spacing:.25px;white-space:nowrap;cursor:pointer;background:linear-gradient(145deg,rgba(255,255,255,.10),rgba(255,255,255,.025));box-shadow:0 3px 0 rgba(0,0,0,.13),inset 0 1px 0 rgba(255,255,255,.12);transition:transform .15s ease,background .15s ease,box-shadow .15s ease}
.tcm-permission-nav .tcm-top-link:hover,.tcm-permission-nav .tcm-top-link:focus-visible,.tcm-permission-nav .tcm-nav-group>summary:hover,.tcm-permission-nav .tcm-nav-group>summary:focus-visible{transform:translateY(-1px);background:linear-gradient(145deg,rgba(255,255,255,.17),rgba(255,255,255,.055));outline:none;box-shadow:0 5px 0 rgba(0,0,0,.12),0 8px 15px rgba(0,0,0,.12),inset 0 1px 0 rgba(255,255,255,.15)}
.tcm-permission-nav .tcm-top-link.is-active,.tcm-permission-nav .tcm-nav-group.is-active-group>summary{background:linear-gradient(145deg,#f4d26a,#cfa83d);color:#173f63;border-color:rgba(255,255,255,.45);box-shadow:0 3px 0 rgba(89,65,9,.32),0 8px 16px rgba(0,0,0,.14),inset 0 1px 0 rgba(255,255,255,.65)}
.tcm-nav-symbol{font-size:14px;line-height:1;font-weight:950;opacity:.95}.tcm-nav-caret{font-size:13px;line-height:1;margin-left:2px;transition:transform .15s ease}.tcm-nav-group[open]>summary .tcm-nav-caret{transform:rotate(180deg)}
.tcm-nav-group{position:relative;display:inline-block}.tcm-nav-group>summary{list-style:none}.tcm-nav-group>summary::-webkit-details-marker{display:none}
.tcm-submenu{position:absolute;left:0;top:calc(100% + 7px);min-width:245px;padding:7px;border-radius:16px;background:linear-gradient(145deg,#fff,#edf3f7);border:1px solid rgba(19,63,96,.18);box-shadow:10px 14px 30px rgba(7,29,47,.24),inset 0 1px 0 #fff;z-index:1000}
.tcm-submenu-link{display:grid;grid-template-columns:1fr auto;gap:2px 14px;padding:10px 11px;border-radius:11px;text-decoration:none!important;color:#173f63!important;border-bottom:1px solid rgba(19,63,96,.08);transition:background .13s ease,transform .13s ease}.tcm-submenu-link:last-child{border-bottom:0}.tcm-submenu-link strong{font-size:11px;line-height:1.25}.tcm-submenu-link small{grid-column:1/-1;font-size:8px;line-height:1.35;color:#687b8c;font-weight:700}.tcm-submenu-link:hover,.tcm-submenu-link:focus-visible,.tcm-submenu-link.is-active{background:linear-gradient(145deg,#eef5f9,#dce8f0);transform:translateX(2px);outline:none}.tcm-submenu-link.is-active strong{color:#8b6a18}
.tcm-admin-link{margin-left:0!important}.tcm-nav-search{margin-left:auto;align-self:center;min-width:245px;display:flex;align-items:center;gap:5px;padding:4px 5px 4px 9px;border-radius:12px;background:#fff;box-shadow:inset 0 1px 2px rgba(0,0,0,.08),0 3px 0 rgba(0,0,0,.12)}.tcm-nav-search input{min-width:0;flex:1;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:5px 3px!important;font-size:10px!important}.tcm-nav-search button{width:30px;height:30px;border:0;border-radius:9px;background:#173f63;color:#fff;font-weight:900;cursor:pointer}
.tcm-admin-centre{max-width:1500px;margin:0 auto;padding:22px 16px 55px}.tcm-admin-hero{display:grid;grid-template-columns:1fr 160px;gap:24px;align-items:center;padding:30px;border-radius:28px;background:linear-gradient(145deg,#123e61 0%,#1b587e 58%,#0e314d 100%);color:#fff;box-shadow:14px 16px 34px rgba(7,29,47,.22),inset 0 1px 0 rgba(255,255,255,.16);overflow:hidden;position:relative}.tcm-admin-hero:after{content:"";position:absolute;width:340px;height:340px;right:-110px;top:-170px;border-radius:50%;border:1px solid rgba(255,255,255,.12);box-shadow:0 0 0 35px rgba(255,255,255,.025),0 0 0 70px rgba(255,255,255,.018)}.tcm-admin-hero h1{margin:4px 0 8px;font-size:31px;line-height:1.1;color:#fff}.tcm-admin-hero p{max-width:850px;margin:0;color:rgba(255,255,255,.78);font-size:12px;line-height:1.65}.tcm-admin-identity{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:17px}.tcm-admin-identity span{font-size:8px;letter-spacing:1.2px;font-weight:900;opacity:.62}.tcm-admin-identity strong{padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.12);color:#f4d36a;font-size:9px;letter-spacing:.7px}.tcm-admin-orb{width:128px;height:128px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle at 35% 28%,#fff8d8,#f1cf5e 30%,#c59d31 72%,#8d6d1e 100%);color:#173f63;box-shadow:inset -9px -10px 18px rgba(87,60,7,.28),inset 6px 7px 15px rgba(255,255,255,.65),10px 13px 25px rgba(0,0,0,.25);position:relative;z-index:2}.tcm-admin-orb span{font-size:44px;line-height:1}.tcm-admin-orb small{font-size:8px;font-weight:950;letter-spacing:1.8px;margin-top:2px}
.tcm-admin-stat-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:11px;margin:17px 0}.tcm-admin-stat{min-height:104px;padding:14px;border-radius:18px;text-decoration:none!important;background:linear-gradient(145deg,#fff,#e9eff4);border:1px solid rgba(148,163,184,.24);box-shadow:7px 8px 17px rgba(15,23,42,.10),-4px -4px 10px rgba(255,255,255,.95),inset 0 1px 0 #fff;display:flex;flex-direction:column;justify-content:center;transition:transform .15s ease,box-shadow .15s ease}.tcm-admin-stat:hover{transform:translateY(-3px);box-shadow:10px 12px 22px rgba(15,23,42,.14),-5px -5px 12px #fff}.tcm-admin-stat span{font-size:8px;letter-spacing:1px;font-weight:950;color:#748698}.tcm-admin-stat strong{font-size:25px;line-height:1.1;color:#173f63;margin:5px 0}.tcm-admin-stat small{font-size:9px;color:#6d7e8e;font-weight:700}
.tcm-admin-section{margin-top:18px;padding:22px;border-radius:24px;background:linear-gradient(145deg,#fff,#eef3f7);border:1px solid rgba(148,163,184,.22);box-shadow:10px 12px 28px rgba(15,23,42,.10),-7px -7px 17px #fff}.tcm-admin-section-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:15px}.tcm-admin-section-head>div>span,.tcm-admin-permission>div>span{font-size:8px;letter-spacing:1.3px;font-weight:950;color:#9a771f}.tcm-admin-section-head h2,.tcm-admin-permission h2{margin:3px 0 0;color:#173f63;font-size:20px}.tcm-admin-section-head p{max-width:620px;margin:0;color:#6a7b8a;font-size:10px;line-height:1.5;text-align:right}.tcm-admin-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.tcm-admin-card{min-height:98px;display:grid;grid-template-columns:48px 1fr 20px;align-items:center;gap:12px;padding:14px 15px;border-radius:18px;text-decoration:none!important;color:#173f63;background:linear-gradient(145deg,#fff,#e7edf2);border:1px solid rgba(148,163,184,.23);box-shadow:7px 8px 18px rgba(15,23,42,.09),-4px -4px 10px #fff;transition:transform .15s ease,box-shadow .15s ease}.tcm-admin-card:hover{transform:translateY(-3px) scale(1.005);box-shadow:11px 13px 24px rgba(15,23,42,.13),-5px -5px 12px #fff}.tcm-admin-card-icon{width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#173f63,#285f82);color:#f4d36a;font-size:19px;font-weight:950;box-shadow:4px 5px 10px rgba(15,23,42,.17),inset 0 1px 0 rgba(255,255,255,.16)}.tcm-admin-card-copy{min-width:0}.tcm-admin-card-copy strong{display:block;font-size:13px;line-height:1.25}.tcm-admin-card-copy small{display:block;margin-top:5px;color:#6d7d8c;font-size:9px;line-height:1.45;font-weight:700}.tcm-admin-card-arrow{font-size:24px;color:#a17d20;font-weight:300}.tcm-admin-permission{margin-top:18px;padding:18px 21px;border-radius:22px;background:linear-gradient(145deg,#f8fbfc,#e5edf2);display:flex;justify-content:space-between;gap:20px;align-items:center;border:1px solid #d5e0e7;box-shadow:inset 0 1px 0 #fff,7px 8px 18px rgba(15,23,42,.07)}.tcm-admin-permission p{max-width:850px;margin:7px 0 0;color:#617486;font-size:10px;line-height:1.55}.tcm-admin-role-pills{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.tcm-admin-role-pills b{padding:7px 9px;border-radius:999px;background:#173f63;color:#fff;font-size:8px;letter-spacing:.6px;box-shadow:0 2px 0 rgba(7,29,47,.18)}
@media(max-width:1250px){.tcm-admin-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.tcm-permission-nav{flex-wrap:wrap}.tcm-nav-search{min-width:220px;flex:1}.tcm-admin-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.tcm-permission-nav{padding:6px}.tcm-permission-nav .tcm-top-link,.tcm-permission-nav .tcm-nav-group>summary{min-height:38px;padding:6px 9px;font-size:9px}.tcm-nav-search{order:20;flex-basis:100%;min-width:0}.tcm-submenu{position:fixed;left:8px;right:8px;top:auto;margin-top:2px;min-width:0}.tcm-admin-centre{padding:12px 8px 35px}.tcm-admin-hero{grid-template-columns:1fr;padding:22px;border-radius:22px}.tcm-admin-orb{display:none}.tcm-admin-hero h1{font-size:25px}.tcm-admin-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tcm-admin-card-grid{grid-template-columns:1fr}.tcm-admin-section{padding:15px;border-radius:19px}.tcm-admin-section-head{display:block}.tcm-admin-section-head p{text-align:left;margin-top:7px}.tcm-admin-permission{display:block}.tcm-admin-role-pills{justify-content:flex-start;margin-top:12px}}
@media(max-width:430px){.tcm-admin-stat-grid{grid-template-columns:1fr}.tcm-admin-stat{min-height:88px}.tcm-nav-symbol{display:none}}
@media(prefers-reduced-motion:reduce){.tcm-permission-nav .tcm-top-link,.tcm-permission-nav .tcm-nav-group>summary,.tcm-admin-card,.tcm-admin-stat{transition:none}.tcm-permission-nav .tcm-top-link:hover,.tcm-permission-nav .tcm-top-link:focus-visible,.tcm-permission-nav .tcm-nav-group>summary:hover,.tcm-admin-card:hover,.tcm-admin-stat:hover{transform:none}}


/* ================================================================
 * AutoManage Ver 1.56 — Single Compact Main Navigation
 * - New Case is a primary menu item.
 * - Hearing Management and NDH are removed from the main menu.
 * - Upcoming remains available only inside Hearings, not as a primary bar item.
 * - Legacy secondary action/flag strips are suppressed to prevent double navigation.
 * ================================================================ */
.tcm-upcoming,.tcm-adv-admin-bar{display:none!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden!important}
.tcm-nav-new-case{background:linear-gradient(145deg,#f4d26a,#cfa83d)!important;color:#173f63!important;border-color:rgba(255,255,255,.5)!important;box-shadow:0 3px 0 rgba(89,65,9,.28),0 7px 14px rgba(0,0,0,.12),inset 0 1px 0 rgba(255,255,255,.6)!important}
.tcm-nav-new-case:hover,.tcm-nav-new-case:focus-visible,.tcm-nav-new-case.is-active{background:linear-gradient(145deg,#ffe08a,#dfb94b)!important;color:#123858!important;transform:translateY(-1px)!important}
/* Compact desktop header: reclaim the vertical space previously used by the second bars. */
.tcm-app-header{min-height:92px!important;padding:12px clamp(18px,3vw,48px)!important}
.tcm-brand-mark{width:64px!important;height:64px!important;flex-basis:64px!important}
.tcm-brand-main{font-size:clamp(32px,3.2vw,48px)!important}
.tcm-brand-subtitle{font-size:13px!important;margin-top:3px!important}
.tcm-menu-shell{top:0!important}
.tcm-permission-nav{min-height:52px!important;padding:5px 10px!important;gap:5px!important}
.tcm-permission-nav .tcm-top-link,.tcm-permission-nav .tcm-nav-group>summary{min-height:42px!important;padding:7px 11px!important}
/* The legacy default page-action anchors are no longer rendered. Keep any contextual action content compact. */
.tcm-page-action-note{display:inline-flex;align-items:center;min-height:32px;margin:6px 12px;font-size:11px;font-weight:800;color:#637487}
@media(max-width:900px){
 .tcm-app-header{min-height:76px!important;padding:9px 12px!important}
 .tcm-brand-mark{width:48px!important;height:48px!important;flex-basis:48px!important}
 .tcm-brand-main{font-size:clamp(22px,6vw,30px)!important}
 .tcm-brand-subtitle{font-size:9px!important}
 .tcm-permission-nav{padding:6px 9px!important}
}
@media(max-width:560px){
 .tcm-app-header{min-height:68px!important;padding:7px 9px!important}
 .tcm-brand-mark{width:42px!important;height:42px!important;flex-basis:42px!important}
 .tcm-brand-main{font-size:19px!important}
 .tcm-brand-subtitle{font-size:8px!important}
}

/* ================================================================
 * TodayCase Ver 0.5 — Professional Applicant Dashboard
 * ================================================================ */
.tcm-applicant-dashboard-v05{max-width:1480px;margin:0 auto;padding:22px clamp(10px,2.5vw,30px) 55px;background:linear-gradient(180deg,#f7fafc 0%,#edf3f7 100%)}
.tcm-applicant-hero-v05{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:25px;align-items:center;padding:30px 34px;border-radius:30px;background:linear-gradient(135deg,#0c3554 0%,#174f73 52%,#0b2d49 100%);color:#fff;box-shadow:14px 18px 35px rgba(13,48,72,.23),inset 0 1px 0 rgba(255,255,255,.18)}
.tcm-applicant-hero-v05:before{content:"";position:absolute;width:430px;height:430px;right:-180px;top:-220px;border-radius:50%;border:1px solid rgba(255,255,255,.12);box-shadow:0 0 0 38px rgba(255,255,255,.025),0 0 0 76px rgba(255,255,255,.018),0 0 0 114px rgba(255,255,255,.012);animation:tcm-v05-float 7s ease-in-out infinite}
.tcm-applicant-hero-copy{position:relative;z-index:2}.tcm-dash-kicker,.tcm-app-section-head-v05>div>span{display:block;font-size:9px;letter-spacing:1.8px;font-weight:950;color:#f2cf62}.tcm-applicant-hero-copy h1{margin:6px 0 8px;font-size:clamp(27px,3vw,39px);line-height:1.08;color:#fff}.tcm-applicant-hero-copy p{max-width:760px;margin:0;color:rgba(255,255,255,.76);font-size:12px;line-height:1.65}.tcm-applicant-id-v05{display:inline-flex;align-items:center;gap:9px;margin-top:18px;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.10);box-shadow:inset 0 1px 0 rgba(255,255,255,.14)}.tcm-applicant-id-v05 span{font-size:8px;letter-spacing:1.2px;opacity:.65}.tcm-applicant-id-v05 strong{font-size:10px;color:#ffe08a;letter-spacing:.8px}.tcm-applicant-orb-v05{position:relative;z-index:2;width:150px;height:150px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle at 33% 25%,#fff8d5 0%,#f4d36b 27%,#c39a30 68%,#806117 100%);color:#153a58;box-shadow:inset 8px 8px 17px rgba(255,255,255,.65),inset -11px -13px 22px rgba(69,45,5,.30),12px 16px 28px rgba(0,0,0,.25);animation:tcm-v05-float 5s ease-in-out infinite}.tcm-applicant-orb-v05 span{font-size:38px;line-height:1}.tcm-applicant-orb-v05 small{font-size:7px;font-weight:950;letter-spacing:1.4px;margin-top:2px}.tcm-applicant-orb-v05 b{font-size:27px;line-height:1.1}
.tcm-applicant-stat-grid-v05{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:18px 0}.tcm-app-stat-v05{min-height:110px;padding:18px 20px;border-radius:21px;text-decoration:none!important;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(145deg,#fff,#e7eef3);border:1px solid rgba(148,163,184,.22);box-shadow:8px 10px 20px rgba(15,23,42,.10),-5px -5px 13px #fff;transition:transform .18s ease,box-shadow .18s ease;position:relative;overflow:hidden}.tcm-app-stat-v05:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px}.tcm-app-stat-v05:hover{transform:translateY(-4px);box-shadow:11px 14px 26px rgba(15,23,42,.14),-6px -6px 15px #fff}.tcm-app-stat-v05.is-blue:before{background:#1d5f87}.tcm-app-stat-v05.is-gold:before{background:#c59b2f}.tcm-app-stat-v05.is-green:before{background:#31805c}.tcm-app-stat-v05 span{font-size:8px;letter-spacing:1.3px;font-weight:950;color:#718394}.tcm-app-stat-v05 strong{font-size:31px;line-height:1.05;color:#173f63;margin:5px 0}.tcm-app-stat-v05 small{font-size:9px;color:#687b8b;font-weight:750}
.tcm-applicant-quick-v05,.tcm-applicant-calendar-v05{margin-top:18px;padding:23px;border-radius:25px;background:linear-gradient(145deg,#fff,#edf3f6);border:1px solid rgba(148,163,184,.22);box-shadow:10px 13px 28px rgba(15,23,42,.09),-6px -6px 16px #fff}.tcm-app-section-head-v05{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:15px}.tcm-app-section-head-v05 h2{margin:3px 0 0;font-size:21px;color:#173f63}.tcm-app-section-head-v05 p{margin:0;color:#718292;font-size:10px;line-height:1.5;text-align:right}.tcm-app-quick-grid-v05{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.tcm-app-quick-card-v05{min-height:125px;position:relative;padding:17px 17px 14px 68px;border-radius:19px;text-decoration:none!important;background:linear-gradient(145deg,#fff,#e5edf2);color:#173f63;border:1px solid rgba(148,163,184,.20);box-shadow:7px 9px 19px rgba(15,23,42,.09),-4px -4px 11px #fff;transition:transform .18s ease,box-shadow .18s ease}.tcm-app-quick-card-v05:hover{transform:translateY(-4px) scale(1.01);box-shadow:11px 14px 25px rgba(15,23,42,.14),-5px -5px 13px #fff}.tcm-app-quick-card-v05 i{position:absolute;left:16px;top:17px;width:38px;height:38px;border-radius:13px;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:18px;color:#fff;box-shadow:4px 5px 10px rgba(15,23,42,.18),inset 0 1px 0 rgba(255,255,255,.18)}.tcm-app-quick-card-v05.blue i{background:linear-gradient(145deg,#174b70,#287298)}.tcm-app-quick-card-v05.gold i{background:linear-gradient(145deg,#a47a18,#d4b048);color:#fff}.tcm-app-quick-card-v05.green i{background:linear-gradient(145deg,#246346,#3d8a62)}.tcm-app-quick-card-v05 b{display:block;font-size:13px}.tcm-app-quick-card-v05 small{display:block;margin-top:7px;color:#6b7c8b;font-size:9px;line-height:1.45;font-weight:700}.tcm-app-quick-card-v05 em{display:block;margin-top:9px;color:#a17b1e;font-style:normal;font-size:9px;font-weight:950;letter-spacing:.5px}.tcm-calendar-wrap-v05 .tcm-calendar-panel{margin:0!important;box-shadow:none!important;background:transparent!important;border:0!important;padding:0!important}.tcm-calendar-wrap-v05 .tcm-calendar-head{padding-top:0}.tcm-calendar-wrap-v05 .tcm-calendar-note{margin-bottom:0}
@keyframes tcm-v05-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@media(max-width:850px){.tcm-applicant-hero-v05{grid-template-columns:1fr;padding:25px}.tcm-applicant-orb-v05{display:none}.tcm-applicant-stat-grid-v05,.tcm-app-quick-grid-v05{grid-template-columns:1fr}.tcm-app-section-head-v05{display:block}.tcm-app-section-head-v05 p{text-align:left;margin-top:7px}.tcm-applicant-dashboard-v05{padding:12px 8px 35px}}
@media(prefers-reduced-motion:reduce){.tcm-applicant-hero-v05:before,.tcm-applicant-orb-v05{animation:none}.tcm-app-stat-v05,.tcm-app-quick-card-v05{transition:none}.tcm-app-stat-v05:hover,.tcm-app-quick-card-v05:hover{transform:none}}

/* TodayCase Ver 0.6 — Applicant My Cases professional presentation */
.tcar27-mycase-v06{max-width:1440px;margin:0 auto;padding:26px 30px 70px;background:linear-gradient(180deg,#f4f8fb 0,#eef4f8 100%);font-family:inherit;color:#173b5d}
.tcar27-case-hero-v06{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:28px 32px;border-radius:28px;background:linear-gradient(135deg,#0d3556,#164f78 62%,#1e6b8c);color:#fff;box-shadow:0 18px 42px rgba(12,43,70,.22),inset 0 1px 0 rgba(255,255,255,.16);position:relative;overflow:hidden;margin-bottom:20px}
.tcar27-case-hero-v06:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;right:-90px;top:-120px;background:rgba(255,255,255,.08);box-shadow:0 0 0 45px rgba(255,255,255,.035)}
.tcar27-eyebrow-v06{font-size:11px;letter-spacing:2px;font-weight:900;opacity:.76}.tcar27-case-hero-v06 h1{margin:6px 0;font-size:36px;line-height:1.05;color:#fff}.tcar27-case-hero-v06 p{margin:8px 0 0;color:#e4eff7}.tcar27-identity-v06{position:relative;z-index:1;min-width:210px;padding:16px 20px;border-radius:18px;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.22);box-shadow:inset 0 1px rgba(255,255,255,.16),0 10px 24px rgba(0,0,0,.12);text-align:right}.tcar27-identity-v06 b,.tcar27-identity-v06 small{display:block}.tcar27-identity-v06 b{font-size:17px}.tcar27-identity-v06 small{margin-top:4px;color:#d7e8f2}.tcar27-alert-v06{padding:14px 18px;border-radius:16px;background:#fff7dc;border:1px solid #e8cc69;color:#70530b;font-weight:700;margin-bottom:18px;box-shadow:0 8px 18px rgba(80,60,10,.07)}
.tcar27-case-v06{margin:20px 0;padding:0;border-radius:24px;background:#fff;border:1px solid rgba(135,157,175,.25);box-shadow:10px 16px 34px rgba(19,50,73,.10),-5px -5px 15px rgba(255,255,255,.8);overflow:hidden}.tcar27-case-top-v06{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:22px 25px;background:linear-gradient(180deg,#fff,#f5f9fb);border-bottom:1px solid #e4ebf0}.tcar27-case-label-v06{font-size:9px;letter-spacing:1.7px;color:#8a9aaa;font-weight:950}.tcar27-case-top-v06 h2{margin:4px 0 0;font-size:25px;color:#173f63}.tcar27-status-v06{padding:9px 14px;border-radius:999px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.5px;box-shadow:inset 0 1px rgba(255,255,255,.65)}.tcar27-status-v06.active{background:#e8f5ed;color:#216b43;border:1px solid #b9dec8}.tcar27-status-v06.terminal{background:#f2f3f5;color:#68727c;border:1px solid #d5d9dd}
.tcar27-case-grid-v06{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:#e6edf2}.tcar27-info-v06{background:#fff;padding:17px 20px;min-width:0}.tcar27-info-v06 small{display:block;font-size:9px;letter-spacing:1px;font-weight:900;color:#8293a1;margin-bottom:6px}.tcar27-info-v06 strong{display:block;font-size:13px;line-height:1.35;color:#183f61;word-break:break-word}.tcar27-info-v06.ndh{background:#f9fbfc}.tcar27-info-v06.ndh.today{background:#fff5d8}.tcar27-info-v06.ndh.today strong{color:#986f0a}.tcar27-info-v06.ndh.past{background:#fff0f0}.tcar27-info-v06.ndh.past strong{color:#9c3030}
.tcar27-case-panels-v06{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:16px;background:#f6f9fb}.tcar27-panel-v06{background:#fff;border:1px solid #e1e8ed;border-radius:18px;padding:17px;box-shadow:0 5px 14px rgba(19,50,73,.05)}.tcar27-doc-panel-v06{grid-column:1/-1}.tcar27-panel-head-v06{display:flex;justify-content:space-between;gap:10px;align-items:center;border-bottom:1px solid #edf1f4;padding-bottom:10px;margin-bottom:10px}.tcar27-panel-head-v06 h3{margin:0;color:#173f63;font-size:15px}.tcar27-panel-head-v06 span{font-size:9px;color:#80909e;font-weight:800}.tcar27-muted-v06{color:#81909d;font-size:12px;margin:10px 0}.tcar27-timeline-item-v06{display:grid;grid-template-columns:105px 1fr;gap:10px;padding:9px 0;border-bottom:1px dashed #dce4ea;font-size:12px}.tcar27-timeline-item-v06:last-child{border-bottom:0}.tcar27-timeline-item-v06 b{color:#1b5d80}.tcar27-timeline-item-v06 span{color:#536a7c}.tcar27-order-v06,.tcar27-doc-v06{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:11px 0;border-bottom:1px solid #edf1f4}.tcar27-order-v06:last-child,.tcar27-doc-v06:last-child{border-bottom:0}.tcar27-order-v06 b,.tcar27-doc-v06 b{display:block;font-size:12px;color:#234c6c}.tcar27-order-v06 small,.tcar27-doc-v06 small{display:block;color:#85939f;margin-top:3px;font-size:10px}.tcar27-order-v06 a,.tcar27-doc-v06 a{white-space:nowrap;text-decoration:none!important;background:#174c70;color:#fff!important;padding:8px 11px;border-radius:9px;font-size:10px;font-weight:900;box-shadow:3px 4px 8px rgba(16,60,90,.15)}.tcar27-doc-v06>div:first-child{display:flex;align-items:center;gap:10px}.tcar27-doc-v06>div:first-child>span{display:flex;align-items:center;justify-content:center;width:35px;height:35px;border-radius:10px;background:linear-gradient(145deg,#b22c2c,#db5b5b);color:#fff;font-size:9px;font-weight:950;box-shadow:3px 4px 9px rgba(80,20,20,.18)}.tcar27-doc-v06 em{font-size:10px;color:#9aa5ae}.tcar27-empty-v06{text-align:center;padding:60px 20px;background:#fff;border:1px dashed #c8d5df;border-radius:24px;box-shadow:0 12px 25px rgba(19,50,73,.06)}.tcar27-empty-icon-v06{margin:auto;width:58px;height:58px;border-radius:18px;display:flex;align-items:center;justify-content:center;background:#e9f1f6;color:#195274;font-size:25px}.tcar27-empty-v06 h2{margin:13px 0 5px;color:#173f63}.tcar27-empty-v06 p{color:#778894}.tcar27-btn-v06{display:inline-block;border:0;border-radius:10px;padding:10px 15px;background:#174c70;color:#fff!important;font-weight:900;text-decoration:none!important;cursor:pointer}.tcar27-btn-v06.gold{background:linear-gradient(145deg,#a87b18,#d5b047)}
.tcar27-finance-v06{margin:20px 0;padding:22px;border-radius:22px;background:#fff;border:1px solid #dfe7ed;box-shadow:8px 12px 25px rgba(19,50,73,.07)}.tcar27-finance-v06 header span{font-size:9px;letter-spacing:1.4px;color:#8795a0;font-weight:950}.tcar27-finance-v06 header h2{margin:3px 0 16px;color:#173f63}.tcar27-fee-v06{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,1fr);gap:20px;padding:15px 0;border-top:1px solid #edf1f4}.tcar27-fee-main-v06>b{display:block;color:#1d496a}.tcar27-fee-main-v06>span{display:block;color:#697c8b;font-size:11px;margin-top:5px}.tcar27-progress-v06{height:7px;background:#e8eef2;border-radius:20px;overflow:hidden;margin-top:10px}.tcar27-progress-v06 i{display:block;height:100%;background:linear-gradient(90deg,#1b658b,#4a9b79);border-radius:20px}.tcar27-pay-v06{display:grid;grid-template-columns:100px 1fr 140px auto;gap:7px;align-items:center}.tcar27-pay-v06 input{width:100%;box-sizing:border-box;padding:9px;border:1px solid #ccd8e1;border-radius:8px;font-size:11px}.tcar27-payment-list-v06{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.tcar27-payment-list-v06>div{padding:13px;border-radius:13px;background:#f5f9fb;border:1px solid #e0e8ee}.tcar27-payment-list-v06 b{display:block;font-size:18px;color:#1b658b}.tcar27-payment-list-v06 span,.tcar27-payment-list-v06 small{display:block;font-size:10px;color:#718392;margin-top:4px}
@media(max-width:900px){.tcar27-case-grid-v06{grid-template-columns:1fr 1fr}.tcar27-case-panels-v06{grid-template-columns:1fr}.tcar27-doc-panel-v06{grid-column:auto}.tcar27-fee-v06{grid-template-columns:1fr}.tcar27-pay-v06{grid-template-columns:1fr 1fr}.tcar27-payment-list-v06{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.tcar27-mycase-v06{padding:15px 10px 45px}.tcar27-case-hero-v06{display:block;padding:22px}.tcar27-case-hero-v06 h1{font-size:29px}.tcar27-identity-v06{margin-top:15px;text-align:left}.tcar27-case-top-v06{display:block}.tcar27-status-v06{display:inline-block;margin-top:10px}.tcar27-case-grid-v06{grid-template-columns:1fr}.tcar27-pay-v06{grid-template-columns:1fr}.tcar27-payment-list-v06{grid-template-columns:1fr}}

/* TodayCase Ver 0.7 — Applicant My Cases typography and alternating 3D cards */
.tcm-applicant-case-grid .tcm-applicant-case-card-v07{
  padding:22px 24px!important;
  border-radius:24px!important;
  background:linear-gradient(145deg,#ffffff 0%,#edf3f7 100%)!important;
  border:1px solid rgba(21,63,94,.16)!important;
  box-shadow:0 7px 0 rgba(10,39,62,.06),0 18px 34px rgba(10,39,62,.13),inset 0 1px 0 rgba(255,255,255,.95)!important;
  transition:transform .25s ease,box-shadow .25s ease,background .25s ease!important;
}
.tcm-applicant-case-grid .tcm-applicant-case-card-v07:nth-child(even){
  background:linear-gradient(145deg,#fffaf0 0%,#f4ead0 100%)!important;
  border-color:rgba(176,137,40,.22)!important;
}
.tcm-applicant-case-grid .tcm-applicant-case-card-v07:nth-child(3n){
  background:linear-gradient(145deg,#f2f8f5 0%,#e1eee7 100%)!important;
}
.tcm-applicant-case-grid .tcm-applicant-case-card-v07:hover{transform:translateY(-6px);box-shadow:0 10px 0 rgba(10,39,62,.08),0 26px 44px rgba(10,39,62,.18),inset 0 1px 0 #fff!important}
.tcm-applicant-case-top-v07{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.tcm-applicant-case-top-v07 h3{margin:0!important;font-size:clamp(20px,2vw,28px)!important;line-height:1.18!important;color:#123e63!important;font-weight:950!important;letter-spacing:.1px!important}
.tcm-applicant-case-status-v07{flex:0 0 auto;padding:7px 11px;border-radius:999px;background:#123e63;color:#fff;font-size:12px;font-weight:900;box-shadow:0 4px 10px rgba(18,62,99,.18)}
.tcm-applicant-case-parties-v07{margin:11px 0 15px!important;font-size:16px!important;line-height:1.45!important;color:#284d6c!important;font-weight:750!important}
.tcm-applicant-case-grid-v07{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.tcm-applicant-case-grid-v07>div{min-height:68px;padding:12px 13px;border-radius:14px;background:rgba(255,255,255,.62);border:1px solid rgba(21,63,94,.10);box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.tcm-applicant-case-grid-v07>div.wide{grid-column:1/-1;min-height:62px}
.tcm-applicant-case-grid-v07 span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.7px;color:#657a8d;font-weight:900;margin-bottom:5px}
.tcm-applicant-case-grid-v07 strong{display:block;font-size:16px;line-height:1.35;color:#173f63;font-weight:900}
.tcm-applicant-case-card-v07 .tcm-card-actions{margin-top:16px!important}
.tcm-applicant-case-card-v07 .tcm-card-actions .tcm-btn{font-size:14px!important;padding:10px 15px!important}
@media(max-width:850px){.tcm-applicant-case-grid-v07{grid-template-columns:repeat(2,minmax(0,1fr))}.tcm-applicant-case-grid-v07>div.wide{grid-column:1/-1}.tcm-applicant-case-top-v07 h3{font-size:21px!important}.tcm-applicant-case-parties-v07{font-size:14px!important}}
@media(max-width:520px){.tcm-applicant-case-grid-v07{grid-template-columns:1fr}.tcm-applicant-case-grid-v07>div.wide{grid-column:auto}.tcm-applicant-case-top-v07{display:block}.tcm-applicant-case-status-v07{display:inline-block;margin-top:8px}.tcm-applicant-case-card-v07{padding:18px 16px!important}.tcm-applicant-case-top-v07 h3{font-size:19px!important}.tcm-applicant-case-parties-v07{font-size:13px!important}.tcm-applicant-case-grid-v07 strong{font-size:15px}}


/* TodayCase Ver 0.8 — Applicant My Cases final presentation */
.tcar27-mycase-v06 .tcar27-case-v06{font-size:17px}
.tcar27-mycase-v06 .tcar27-case-top-v06 h2{font-size:30px!important;line-height:1.2!important}
.tcar27-mycase-v06 .tcar27-case-label-v06{font-size:12px!important}
.tcar27-mycase-v06 .tcar27-status-v06{font-size:13px!important;padding:10px 15px!important}
.tcar27-mycase-v06 .tcar27-info-v06{padding:20px 22px!important;min-height:82px}
.tcar27-mycase-v06 .tcar27-info-v06 small{font-size:11px!important;letter-spacing:1.1px!important}
.tcar27-mycase-v06 .tcar27-info-v06 strong{font-size:16px!important;line-height:1.42!important}
.tcar27-mycase-v06 .tcar27-case-grid-v06{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.tcar27-mycase-v06 .tcar27-info-v06.wide-v08{grid-column:1/-1;background:linear-gradient(145deg,#fffaf0,#f6e9c8)!important;border-top:2px solid #c9a43a}
.tcar27-mycase-v06 .tcar27-case-panels-v06{grid-template-columns:1fr!important}
.tcar27-mycase-v06 .tcar27-panel-v06{font-size:16px}
.tcar27-mycase-v06 .tcar27-timeline-item-v06{font-size:15px!important;padding:12px 0!important}
.tcar27-mycase-v06 .tcar27-order-v06{font-size:15px!important;padding:13px 0!important}
.tcar27-mycase-v06 .tcar27-doc-panel-v06{display:none!important}
@media(max-width:900px){.tcar27-mycase-v06 .tcar27-case-grid-v06{grid-template-columns:1fr 1fr!important}}
@media(max-width:620px){.tcar27-mycase-v06 .tcar27-case-grid-v06{grid-template-columns:1fr!important}.tcar27-mycase-v06 .tcar27-case-top-v06 h2{font-size:25px!important}}

/* ================================================================
 * TodayCase Ver 0.10 — Applicant Case Cards: full multi-colour palette
 * Each case receives a distinct visual theme; the palette repeats only
 * after eight cards. The database/content is unchanged.
 * ================================================================ */
.tcar27-mycase-v06 .tcar27-case-v06{position:relative;isolation:isolate;transition:transform .24s ease,box-shadow .24s ease,filter .24s ease!important;animation:tcar10CardIn .55s ease both}
.tcar27-mycase-v06 .tcar27-case-v06:nth-child(8n+1){background:linear-gradient(145deg,#eef7ff 0%,#d8e9f7 100%)!important;border-color:#a9cbe4!important}
.tcar27-mycase-v06 .tcar27-case-v06:nth-child(8n+2){background:linear-gradient(145deg,#fff9e9 0%,#f5e4b5 100%)!important;border-color:#e1c56a!important}
.tcar27-mycase-v06 .tcar27-case-v06:nth-child(8n+3){background:linear-gradient(145deg,#effaf4 0%,#d4ecdf 100%)!important;border-color:#a9d5bb!important}
.tcar27-mycase-v06 .tcar27-case-v06:nth-child(8n+4){background:linear-gradient(145deg,#fff1f4 0%,#f4d5dd 100%)!important;border-color:#e1aebd!important}
.tcar27-mycase-v06 .tcar27-case-v06:nth-child(8n+5){background:linear-gradient(145deg,#f4f0ff 0%,#dfd5f5 100%)!important;border-color:#c2b2e0!important}
.tcar27-mycase-v06 .tcar27-case-v06:nth-child(8n+6){background:linear-gradient(145deg,#fff3e9 0%,#f1d5bd 100%)!important;border-color:#ddb48f!important}
.tcar27-mycase-v06 .tcar27-case-v06:nth-child(8n+7){background:linear-gradient(145deg,#eef9fa 0%,#cfe9eb 100%)!important;border-color:#a5d1d5!important}
.tcar27-mycase-v06 .tcar27-case-v06:nth-child(8n+8){background:linear-gradient(145deg,#f5f7ee 0%,#e0e7c9 100%)!important;border-color:#bdc99a!important}
.tcar27-mycase-v06 .tcar27-case-v06 .tcar27-case-top-v06{background:rgba(255,255,255,.48)!important;border-bottom-color:rgba(23,63,99,.12)!important}
.tcar27-mycase-v06 .tcar27-case-v06 .tcar27-case-grid-v06{background:transparent!important}
.tcar27-mycase-v06 .tcar27-case-v06 .tcar27-info-v06{background:rgba(255,255,255,.62)!important;border-color:rgba(23,63,99,.08)!important}
.tcar27-mycase-v06 .tcar27-case-v06 .tcar27-case-panels-v06{background:rgba(255,255,255,.28)!important}
.tcar27-mycase-v06 .tcar27-case-v06 .tcar27-panel-v06{background:rgba(255,255,255,.78)!important;box-shadow:5px 8px 17px rgba(19,50,73,.08),inset 0 1px 0 #fff!important}
.tcar27-mycase-v06 .tcar27-case-v06:hover{transform:translateY(-8px) scale(1.004)!important;filter:saturate(1.04);box-shadow:14px 24px 45px rgba(19,50,73,.18),inset 0 1px 0 #fff!important}
@keyframes tcar10CardIn{from{opacity:0;transform:translateY(18px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}

/* TodayCase 0.11: compact Request New Case title; legacy hero removed. */
.tcar27-request-title-v11{margin:0 0 24px;padding:28px 34px;border-radius:24px;background:linear-gradient(135deg,#123d63,#0b2945);box-shadow:0 14px 32px rgba(15,43,70,.18);color:#fff;}
.tcar27-request-title-v11 span{display:block;color:#f2c94c;font-size:14px;font-weight:900;letter-spacing:2px;margin-bottom:7px;}
.tcar27-request-title-v11 h1{margin:0;font-size:clamp(32px,4vw,52px);line-height:1.05;color:#fff;}
.tcar27-request-title-v11 p{margin:10px 0 0;color:#e7eef5;font-size:17px;font-weight:600;}


/* ================================================================
   TodayCase Ver 0.15 — Professional Advocate Workspace
   ================================================================ */
.tcm-adv-nav-link{position:relative}.tcm-adv-nav-link.is-active{color:#f4c94e!important;background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.02))!important;box-shadow:inset 0 -4px 0 #e1b83f}.tcm-adv-nav-group.is-active-group>summary{color:#f4c94e!important;box-shadow:inset 0 -4px 0 #e1b83f}.tcm-adv-nav-group .tcm-submenu-link.is-active{border-left:4px solid #e1b83f;background:#fff8df}.tcm-adv-home-pro{max-width:1500px;margin:22px auto 0;padding:0 22px}.tcm-adv-home-banner{display:flex;justify-content:space-between;align-items:center;gap:28px;padding:30px 34px;border-radius:28px;background:linear-gradient(135deg,#082b49 0%,#104d73 58%,#176887 100%);color:#fff;box-shadow:0 14px 0 rgba(8,43,73,.12),0 24px 48px rgba(8,43,73,.22),inset 0 1px rgba(255,255,255,.15);position:relative;overflow:hidden}.tcm-adv-home-banner:after{content:"";position:absolute;width:360px;height:360px;border:1px solid rgba(255,255,255,.09);border-radius:50%;right:-100px;top:-150px;box-shadow:0 0 0 28px rgba(255,255,255,.025),0 0 0 56px rgba(255,255,255,.02)}.tcm-adv-home-banner-copy{position:relative;z-index:1}.tcm-adv-home-banner h1{margin:5px 0 8px;font-size:clamp(30px,4vw,48px);line-height:1.04;color:#fff}.tcm-adv-home-banner p{max-width:760px;margin:0;color:#e0edf5;font-size:17px;line-height:1.55}.tcm-adv-home-id{display:inline-flex;flex-direction:column;margin-top:17px;padding:9px 15px;border:1px solid rgba(255,255,255,.22);border-radius:12px;background:rgba(255,255,255,.08);backdrop-filter:blur(6px)}.tcm-adv-home-id span{font-size:10px;letter-spacing:1.8px;font-weight:900;color:#f2c64d}.tcm-adv-home-id strong{font-size:17px}.tcm-adv-home-banner-badge{position:relative;z-index:1;min-width:190px;padding:24px 22px;text-align:center;border-radius:24px;background:linear-gradient(145deg,#f8d76b,#c99a25);color:#092b49;box-shadow:0 9px 0 rgba(76,51,5,.22),0 18px 30px rgba(0,0,0,.2),inset 0 2px rgba(255,255,255,.65)}.tcm-adv-home-banner-badge span{display:block;font-size:11px;font-weight:900;letter-spacing:2px}.tcm-adv-home-banner-badge strong{display:block;font-size:48px;line-height:1;margin:7px 0}.tcm-adv-home-banner-badge small{font-weight:800}.tcm-adv-home-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:22px 0 28px}.tcm-adv-home-quick{position:relative;display:flex;flex-direction:column;min-height:150px;padding:21px 20px;text-decoration:none!important;border-radius:20px;background:#fff;border:1px solid #dbe3ea;color:#113858;box-shadow:0 7px 0 rgba(17,56,88,.07),0 15px 28px rgba(17,56,88,.11),inset 0 1px rgba(255,255,255,.9);transition:transform .18s ease,box-shadow .18s ease}.tcm-adv-home-quick:hover{transform:translateY(-6px);box-shadow:0 11px 0 rgba(17,56,88,.08),0 24px 38px rgba(17,56,88,.17)}.tcm-adv-home-quick span{font-size:11px;font-weight:900;letter-spacing:1.5px}.tcm-adv-home-quick strong{font-size:22px;margin-top:8px}.tcm-adv-home-quick b{font-size:32px;line-height:1;margin-top:auto}.tcm-adv-home-quick small{margin-top:7px;color:#667c8d;font-weight:700}.tcm-adv-home-quick.tone-gold{border-top:7px solid #d6ad3b}.tcm-adv-home-quick.tone-blue{border-top:7px solid #2875a5}.tcm-adv-home-quick.tone-green{border-top:7px solid #4d9b76}.tcm-adv-home-quick.tone-purple{border-top:7px solid #8465ad}
.tcm-advocate-pro-workspace{max-width:1500px;margin:24px auto 60px;padding:0 22px}.tcm-adv-pro-banner{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:28px 32px;border-radius:26px;background:linear-gradient(135deg,#092e4d,#14577c);color:#fff;box-shadow:0 12px 0 rgba(9,46,77,.12),0 22px 42px rgba(9,46,77,.18)}.tcm-adv-pro-banner h1{margin:5px 0;color:#fff;font-size:clamp(30px,4vw,44px)}.tcm-adv-pro-banner p{margin:0;color:#deebf3;font-size:16px}.tcm-adv-pro-banner-id,.tcm-adv-pro-profile-mark{min-width:170px;text-align:center;padding:18px;border-radius:18px;background:linear-gradient(145deg,#f5d66a,#c89a28);color:#092e4d;box-shadow:0 7px 0 rgba(69,47,7,.2),inset 0 2px rgba(255,255,255,.7)}.tcm-adv-pro-banner-id span{display:block;font-size:10px;font-weight:900;letter-spacing:1.5px}.tcm-adv-pro-banner-id strong{font-size:18px}.tcm-adv-pro-profile-mark{font-size:44px;min-width:92px}.tcm-adv-pro-quickbar{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin:18px 0}.tcm-adv-pro-quick{display:grid;grid-template-columns:44px 1fr;grid-template-rows:auto auto;column-gap:12px;align-items:center;padding:14px 16px;border-radius:16px;background:#fff;border:1px solid #dbe3ea;text-decoration:none!important;color:#173f63;box-shadow:0 5px 0 rgba(17,56,88,.06),0 12px 24px rgba(17,56,88,.08)}.tcm-adv-pro-quick>span{grid-row:1/3;display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#123f62;color:#f4ca50;font-size:20px}.tcm-adv-pro-quick b{font-size:15px}.tcm-adv-pro-quick small{color:#718697}.tcm-adv-pro-quick.active{border-color:#d9b44a;box-shadow:0 5px 0 rgba(151,112,17,.1),0 12px 24px rgba(17,56,88,.1)}.tcm-adv-pro-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 22px;margin:20px 0;border-radius:18px;background:#f3f7fa;border:1px solid #dbe5ec}.tcm-adv-pro-toolbar h2{margin:3px 0}.tcm-adv-pro-search{display:flex;gap:8px;align-items:center}.tcm-adv-pro-search input{width:min(430px,42vw);height:44px;border:2px solid #cfdae3;border-radius:10px;padding:0 13px;font-weight:700}.tcm-adv-pro-search button{height:44px;border:0;border-radius:10px;padding:0 18px;background:#123f62;color:#fff;font-weight:900}.tcm-adv-pro-search a{font-weight:800;color:#8a6815}.tcm-adv-pro-case-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.tcm-adv-pro-case-card{position:relative;overflow:hidden;padding:22px;border-radius:22px;background:#fff;border:1px solid #dbe3ea;box-shadow:0 7px 0 rgba(17,56,88,.07),0 18px 34px rgba(17,56,88,.11);transition:transform .18s ease,box-shadow .18s ease}.tcm-adv-pro-case-card:hover{transform:translateY(-5px);box-shadow:0 10px 0 rgba(17,56,88,.08),0 25px 42px rgba(17,56,88,.16)}.tcm-adv-pro-case-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:7px;background:#d2aa3d}.tcm-adv-pro-tone-2:before{background:#357eb0}.tcm-adv-pro-tone-3:before{background:#4b9a75}.tcm-adv-pro-tone-4:before{background:#a36b8e}.tcm-adv-pro-tone-5:before{background:#8064aa}.tcm-adv-pro-tone-6:before{background:#d27e39}.tcm-adv-pro-tone-7:before{background:#4b9991}.tcm-adv-pro-tone-8:before{background:#7c8c4c}.tcm-adv-pro-case-top{display:flex;justify-content:space-between;gap:12px}.tcm-adv-pro-kicker,.tcm-adv-pro-parties span,.tcm-adv-pro-profile-grid span{display:block;font-size:10px;letter-spacing:1.5px;font-weight:900;color:#7890a0;text-transform:uppercase}.tcm-adv-pro-case-top h3{margin:3px 0 0;color:#173f63;font-size:22px}.tcm-adv-pro-status{align-self:flex-start;padding:7px 11px;border-radius:999px;background:#e8f7ef;color:#23714c;font-size:11px;font-weight:900;white-space:nowrap}.tcm-adv-pro-parties{display:grid;grid-template-columns:1.5fr 1fr;gap:13px;margin:19px 0}.tcm-adv-pro-parties>div{padding:12px 13px;border-radius:13px;background:#f7f9fb;border:1px solid #e2e8ed}.tcm-adv-pro-parties strong{display:block;margin-top:5px;color:#173f63;font-size:14px;line-height:1.35}.tcm-adv-pro-actions{display:flex;gap:9px;flex-wrap:wrap}.tcm-adv-pro-actions .tcm-btn{margin:0}.tcm-adv-pro-profile-card{margin-top:20px;padding:26px;border-radius:24px;background:#fff;border:1px solid #dbe3ea;box-shadow:0 8px 0 rgba(17,56,88,.06),0 20px 38px rgba(17,56,88,.1)}.tcm-adv-pro-profile-head{display:flex;justify-content:space-between;gap:20px;padding-bottom:20px;border-bottom:1px solid #e5ebef}.tcm-adv-pro-profile-head>div>span{font-size:11px;letter-spacing:1.6px;font-weight:900;color:#9b7518}.tcm-adv-pro-profile-head h2{margin:5px 0;font-size:30px;color:#173f63}.tcm-adv-pro-profile-head p{margin:0;color:#6e8393}.tcm-adv-pro-profile-head>strong{align-self:center;padding:12px 15px;border-radius:12px;background:#eef4f8;color:#173f63}.tcm-adv-pro-profile-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:20px}.tcm-adv-pro-profile-grid>div{padding:15px 16px;border-radius:14px;background:linear-gradient(145deg,#fff,#f1f6f9);border:1px solid #dce5eb;box-shadow:4px 6px 13px rgba(17,56,88,.06)}.tcm-adv-pro-profile-grid>div.wide{grid-column:1/-1}.tcm-adv-pro-profile-grid strong{display:block;margin-top:6px;color:#173f63;overflow-wrap:anywhere}.tcm-adv-pro-profile-note{margin-top:18px;padding:13px 15px;border-radius:12px;background:#fff8df;color:#70550e;font-weight:700}.tcm-adv-pro-profile-actions{justify-content:flex-start;margin-top:18px}
@media(max-width:1050px){.tcm-adv-home-quick-grid,.tcm-adv-pro-quickbar{grid-template-columns:repeat(2,1fr)}.tcm-adv-pro-case-grid{grid-template-columns:1fr}.tcm-adv-home-banner{align-items:stretch}.tcm-adv-home-banner-badge{min-width:150px}}
@media(max-width:700px){.tcm-adv-home-pro,.tcm-advocate-pro-workspace{padding:0 12px}.tcm-adv-home-banner,.tcm-adv-pro-banner,.tcm-adv-pro-toolbar{flex-direction:column;align-items:stretch}.tcm-adv-home-banner-badge{min-width:0}.tcm-adv-home-quick-grid,.tcm-adv-pro-quickbar,.tcm-adv-pro-profile-grid{grid-template-columns:1fr}.tcm-adv-pro-search{flex-wrap:wrap}.tcm-adv-pro-search input{width:100%}.tcm-adv-pro-profile-grid>div.wide{grid-column:auto}.tcm-adv-pro-profile-head{flex-direction:column}.tcm-adv-pro-banner-id{min-width:0}}

/* ================================================================
 * TodayCase Ver 0.19 — Unified 3D Case Cards
 * Canonical visual treatment for every connected case-card view.
 * ================================================================ */
.tcm-unified-case-card-v019{
  position:relative;display:flex;flex-direction:column;min-width:0;overflow:hidden;
  padding:0;border:1px solid rgba(18,57,88,.15);border-radius:24px;
  background:linear-gradient(145deg,#ffffff 0%,#f2f6f9 62%,#e8eef3 100%);
  box-shadow:0 4px 0 rgba(9,35,57,.07),0 15px 34px rgba(9,35,57,.12),inset 0 1px 0 #fff;
  transform:translateZ(0);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.tcm-unified-case-card-v019:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,#153e61,#d2aa46,#153e61);opacity:.95}
.tcm-unified-case-card-v019:hover{transform:translateY(-6px);border-color:rgba(210,170,70,.55);box-shadow:0 7px 0 rgba(9,35,57,.07),0 24px 46px rgba(9,35,57,.18),inset 0 1px 0 #fff}
.tcm-ucc-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:19px 19px 14px;border-bottom:1px solid rgba(20,61,96,.10)}
.tcm-ucc-kicker,.tcm-ucc-date span,.tcm-ucc-case span,.tcm-ucc-grid span{display:block;font-size:9px;font-weight:950;letter-spacing:1.15px;text-transform:uppercase;color:#738696}
.tcm-ucc-court strong{display:block;margin-top:4px;color:#173f63;font-size:14px;line-height:1.25}
.tcm-ucc-date{min-width:128px;text-align:right;padding:8px 11px;border-radius:12px;background:#edf3f7;border:1px solid #d9e3ea;box-shadow:inset 0 1px 0 #fff}
.tcm-ucc-date strong{display:block;margin-top:3px;color:#173f63;font-size:12px;white-space:nowrap}
.tcm-ucc-date.is-today{background:#e9f8ee;border-color:#a8d9b8}.tcm-ucc-date.is-today strong{color:#176b37}
.tcm-ucc-date.is-tomorrow{background:#fff8e8;border-color:#e8cf91}.tcm-ucc-date.is-tomorrow strong{color:#8a6515}
.tcm-ucc-date.is-overdue{background:#fff0f0;border-color:#e9b4b4}.tcm-ucc-date.is-overdue strong{color:#a32020}
.tcm-ucc-date.is-terminal{background:#f0f2f4;border-color:#d5dce1}.tcm-ucc-date.is-terminal strong{color:#5b6770}
.tcm-ucc-case{padding:15px 19px 7px}.tcm-ucc-case strong{display:block;margin-top:5px;color:#102f4b;font-size:20px;line-height:1.2;overflow-wrap:anywhere}
.tcm-ucc-parties{margin:0 19px 13px;padding:11px 13px;border-radius:13px;background:rgba(255,255,255,.76);border:1px solid #dce5eb;color:#263f55;box-shadow:inset 0 1px 0 #fff}
.tcm-ucc-parties strong{font-size:13px;line-height:1.45}
.tcm-ucc-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0 19px 16px}
.tcm-ucc-grid>div{min-width:0;padding:10px 11px;border-radius:11px;background:rgba(255,255,255,.70);border:1px solid rgba(213,224,232,.92);box-shadow:0 2px 6px rgba(18,50,75,.04)}
.tcm-ucc-grid>div.wide{grid-column:span 2}.tcm-ucc-grid strong{display:block;margin-top:4px;color:#173f63;font-size:11px;line-height:1.38;overflow-wrap:anywhere}
.tcm-ucc-actions{display:flex;gap:8px;align-items:center;padding:13px 19px 16px;border-top:1px solid rgba(20,61,96,.10);background:linear-gradient(180deg,rgba(247,250,252,.8),rgba(237,243,247,.92))}
.tcm-ucc-primary{flex:1;justify-content:center!important;min-height:42px;border-radius:12px!important;font-weight:950!important}.tcm-ucc-primary span{font-size:17px;line-height:0}.tcm-ucc-edit{min-height:42px;display:inline-flex!important;align-items:center;justify-content:center;border-radius:12px!important}
.tcm-card-context-applicant .tcm-ucc-primary{width:100%}.tcm-card-context-stage .tcm-ucc-primary{background:#173f63!important}
.tcm-grid>.tcm-unified-case-card-v019{height:100%;box-sizing:border-box}
@media(max-width:1000px){.tcm-ucc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tcm-ucc-grid>div.wide{grid-column:1/-1}}
@media(max-width:620px){.tcm-unified-case-card-v019{border-radius:20px}.tcm-ucc-head{grid-template-columns:1fr;padding:17px 14px 12px}.tcm-ucc-date{text-align:left;min-width:0}.tcm-ucc-case{padding:13px 14px 7px}.tcm-ucc-case strong{font-size:17px}.tcm-ucc-parties{margin-left:14px;margin-right:14px}.tcm-ucc-grid{grid-template-columns:1fr;padding-left:14px;padding-right:14px}.tcm-ucc-grid>div.wide{grid-column:1}.tcm-ucc-actions{padding-left:14px;padding-right:14px}.tcm-ucc-edit{min-width:72px}}
@media(prefers-reduced-motion:reduce){.tcm-unified-case-card-v019{transition:none}.tcm-unified-case-card-v019:hover{transform:none}}

/* Ver 0.19 — harmonise legacy/specialised case cards with the unified card language. */
.tcm-standard-case-card-v318,.tcm-standard-case-card,.tcm-applicant-case-card-v07,.tcm-new-ndh-card{
  border-radius:22px!important;border:1px solid rgba(18,57,88,.15)!important;
  box-shadow:0 4px 0 rgba(9,35,57,.06),0 14px 30px rgba(9,35,57,.11),inset 0 1px 0 #fff!important;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important;
}
.tcm-standard-case-card-v318:hover,.tcm-standard-case-card:hover,.tcm-applicant-case-card-v07:hover,.tcm-new-ndh-card:hover{
  transform:translateY(-5px)!important;border-color:rgba(210,170,70,.55)!important;
  box-shadow:0 7px 0 rgba(9,35,57,.06),0 22px 42px rgba(9,35,57,.16),inset 0 1px 0 #fff!important;
}
.tcm-standard-case-card-v318 .tcm-v318-topline,.tcm-standard-case-card .tcm-standard-case-line,.tcm-applicant-case-card-v07 .tcm-applicant-case-top-v07,.tcm-new-ndh-card .tcm-new-ndh-card-top{border-radius:12px}
.tcm-standard-case-card-v318 .tcm-v318-value,.tcm-standard-case-card .tcm-standard-case-id strong,.tcm-applicant-case-card-v07 .tcm-applicant-case-top-v07 h3,.tcm-new-ndh-card .tcm-new-ndh-card-top strong{overflow-wrap:anywhere}
.tcm-standard-case-card-v318 .tcm-standard-card-full-record-action a,.tcm-applicant-case-card-v07 .tcm-card-actions a,.tcm-new-ndh-card .tcm-card-actions a{border-radius:11px!important;font-weight:900!important}
@media(max-width:620px){.tcm-standard-case-card-v318:hover,.tcm-standard-case-card:hover,.tcm-applicant-case-card-v07:hover,.tcm-new-ndh-card:hover{transform:none!important}}
.tcm-ucc-notes{margin:0 19px 14px;padding:11px 12px;border-radius:13px;background:#fbfaf5;border:1px solid #eadbb8}.tcm-ucc-notes-head{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#8a6515;font-size:9px;font-weight:950;letter-spacing:1px}.tcm-ucc-notes-head .tcm-note-add-btn{border:0;border-radius:8px;padding:6px 9px;background:#173e61;color:#fff;font-weight:800;cursor:pointer}.tcm-ucc-note{display:grid;gap:2px;margin-top:8px;padding:8px 9px;border-radius:9px;background:#fff;border-left:3px solid #d2aa46}.tcm-ucc-note small{color:#758697;font-size:9px}.tcm-ucc-note strong{color:#314a5e;font-size:11px;line-height:1.35}.tcm-ucc-note-empty{margin-top:7px;color:#758697;font-size:10px}

/* ================================================================
   AutoTC Ver 0.3 — UPDT Date Filter / Add-Load separation
   ================================================================ */
.autotc-updt-page{max-width:1500px;margin:24px auto 70px;padding:0 22px;color:#173f63}
.autotc-hero{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:30px 34px;border-radius:28px;background:linear-gradient(135deg,#092f50,#176987);color:#fff;box-shadow:0 10px 0 rgba(9,47,80,.10),0 22px 45px rgba(9,47,80,.20),inset 0 1px rgba(255,255,255,.18);overflow:hidden}
.autotc-hero h1{margin:4px 0 7px;color:#fff;font-size:clamp(30px,4vw,48px);line-height:1.05}.autotc-hero p{margin:0;color:#e3eef4;font-weight:600}.autotc-hero>strong{min-width:150px;padding:22px;text-align:center;border-radius:20px;background:linear-gradient(145deg,#f7d86d,#c99b2b);color:#0a3150;font-size:32px;box-shadow:0 8px 0 rgba(67,48,10,.22),inset 0 2px rgba(255,255,255,.65)}
.autotc-updt-kicker{font-size:11px;font-weight:950;letter-spacing:2px;color:#f5cf59}.autotc-panel{margin-top:20px;padding:23px;border:1px solid #d7e2e9;border-radius:22px;background:linear-gradient(145deg,#fff,#f2f6f9);box-shadow:0 5px 0 rgba(17,56,88,.05),0 16px 32px rgba(17,56,88,.09),inset 0 1px #fff}.autotc-panel-title{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:16px}.autotc-panel-title h2{margin:0;color:#173f63;font-size:22px}.autotc-panel-title small{color:#718596;font-weight:700}.autotc-date-search,.autotc-target-grid{display:grid;grid-template-columns:minmax(240px,1fr) auto auto;gap:12px;align-items:end}.autotc-target-grid{grid-template-columns:1fr 1fr auto}.autotc-field{display:flex;flex-direction:column;gap:7px}.autotc-field span{font-size:12px;font-weight:900;color:#506b7e}.autotc-field span b{color:#b02121}.autotc-field input,.autotc-edit-grid input,.autotc-edit-grid select,.autotc-edit-grid textarea{box-sizing:border-box;width:100%;min-height:44px;border:1px solid #ccd9e2;border-radius:11px;background:#fff;padding:9px 12px;color:#173f63;font-weight:700;box-shadow:inset 0 1px 3px rgba(17,56,88,.05)}.autotc-edit-grid textarea{min-height:72px;resize:vertical}.autotc-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 17px;border:0;border-radius:11px;text-decoration:none!important;font-weight:900;cursor:pointer;box-shadow:0 4px 0 rgba(12,45,72,.13);transition:.18s ease}.autotc-btn:hover{transform:translateY(-2px)}.autotc-btn-primary{background:#173f63;color:#fff}.autotc-btn-gold{background:linear-gradient(145deg,#f4d36a,#d1a536);color:#123b5d}.autotc-btn-success{background:#177440;color:#fff}.autotc-btn-light{background:#eef3f6;color:#173f63}.autotc-help,.autotc-target-note,.autotc-disabled-note{margin-top:13px;padding:11px 13px;border-radius:11px;background:#eef5f9;color:#547083;font-size:13px;font-weight:650}.autotc-target-note{background:#fff8df;color:#715610;border-left:4px solid #d1a638}.autotc-disabled-note{background:#f2f4f6;color:#6b7780}.autotc-success,.autotc-error{margin-top:18px;padding:15px 18px;border-radius:14px;font-weight:700}.autotc-success{background:#eaf8ef;border:1px solid #acd8ba;color:#17633a}.autotc-error{background:#fff0f0;border:1px solid #e3b0b0;color:#982020}.autotc-error ul{margin:8px 0 0 20px}
.autotc-addload-results{border-top:6px solid #d0a53a}.autotc-addload-card{margin-top:18px;padding:0;border:1px solid #d5e0e7;border-radius:19px;background:#fff;box-shadow:0 5px 0 rgba(17,56,88,.05),0 14px 28px rgba(17,56,88,.09);overflow:hidden}.autotc-addload-card-head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px 18px;background:linear-gradient(135deg,#123f62,#1d6787);color:#fff}.autotc-addload-card-head b{font-size:18px}.autotc-addload-card-head small{display:block;margin-top:3px;color:#cfe0ea}.autotc-addload-card-head>span{padding:8px 11px;border-radius:10px;background:rgba(255,255,255,.12);font-size:12px}.autotc-section-label{margin:18px 18px 9px;font-size:10px;font-weight:950;letter-spacing:1.8px;color:#9a741a}.autotc-edit-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;padding:0 18px}.autotc-edit-grid label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:900;color:#647b8b}.autotc-edit-grid label.wide{grid-column:1/-1}.autotc-addload-savebar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:18px;padding:14px 18px;background:#f2f6f8;border-top:1px solid #dbe5eb}.autotc-addload-savebar span{font-size:12px;color:#61798a;font-weight:650}.autotc-filter-bar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:20px;padding:13px 17px;border:1px solid #d4e0e7;border-radius:15px;background:#fff;box-shadow:0 5px 14px rgba(17,56,88,.06)}.autotc-legend{display:flex;gap:7px;flex-wrap:wrap}.autotc-legend span{padding:5px 9px;border:1px solid;border-radius:999px;font-size:11px;font-weight:900}.autotc-legend .overdue{color:#a52020;border-color:#d98e8e}.autotc-legend .today{color:#8b6210;border-color:#dfc27b}.autotc-legend .tomorrow{color:#1b7040;border-color:#92cba8}.autotc-legend .upcoming{color:#17619b;border-color:#8ebbdc}.autotc-legend .nodate{color:#555;border-color:#aaa}.autotc-table-wrap{margin-top:13px;overflow:auto;border:1px solid #d4e0e7;border-radius:17px;background:#fff}.autotc-table-head,.autotc-row{min-width:1500px;display:grid;grid-template-columns:110px 90px 160px 130px 145px 90px 85px 130px 150px 150px 190px 100px;gap:0}.autotc-table-head{background:#123f62;color:#fff;font-size:11px;font-weight:950;letter-spacing:.4px}.autotc-table-head span{padding:13px 9px}.autotc-row{padding:10px 0;border-bottom:1px solid #dfe7ec;background:#fff}.autotc-row:last-child{border-bottom:0}.autotc-row>label,.autotc-row>div{padding:0 7px;min-width:0}.autotc-row label{display:flex;flex-direction:column;gap:4px;font-size:9px;font-weight:900;color:#62798a}.autotc-row input,.autotc-row select{width:100%;box-sizing:border-box;min-height:38px;border:1px solid #cad8e1;border-radius:8px;padding:6px 7px;background:#fff;color:#173f63;font-weight:700}.autotc-row-overdue{background:#fff5f5}.autotc-row-today{background:#fffdf1}.autotc-row-tomorrow{background:#f3fbf5}.autotc-row-selected{background:#f2f8fc}.autotc-row-terminal{background:#f4f5f6}.autotc-savebar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:12px;padding:14px 16px;border-radius:15px;background:#173f63;color:#fff;box-shadow:0 7px 0 rgba(17,56,88,.14),0 13px 26px rgba(17,56,88,.13)}.autotc-savebar strong{display:block}.autotc-savebar small{color:#cfe0eb}.autotc-empty{text-align:center;padding:32px}.autotc-empty strong,.autotc-empty span{display:block}.autotc-empty span{margin:8px 0 16px;color:#6d8291}.autotc-pages{display:flex;justify-content:space-between;align-items:center;margin-top:15px}.autotc-pagebtn{padding:9px 13px;border-radius:9px;background:#173f63;color:#fff!important;text-decoration:none!important;font-weight:900}
@media(max-width:1000px){.autotc-edit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.autotc-date-search,.autotc-target-grid{grid-template-columns:1fr 1fr}.autotc-date-search .autotc-btn{width:100%}.autotc-date-search .autotc-btn-light{grid-column:auto}.autotc-addload-savebar,.autotc-filter-bar{align-items:stretch;flex-direction:column}.autotc-hero{align-items:stretch}.autotc-hero>strong{min-width:0}}
@media(max-width:650px){.autotc-updt-page{padding:0 10px}.autotc-hero{padding:22px 20px;border-radius:21px}.autotc-hero>strong{font-size:25px}.autotc-panel{padding:16px}.autotc-panel-title{align-items:flex-start;flex-direction:column;gap:5px}.autotc-date-search,.autotc-target-grid,.autotc-edit-grid{grid-template-columns:1fr}.autotc-edit-grid label.wide{grid-column:auto}.autotc-addload-card-head{align-items:flex-start;flex-direction:column}.autotc-savebar{align-items:stretch;flex-direction:column}.autotc-savebar .autotc-btn,.autotc-addload-savebar .autotc-btn{width:100%}}

/* AutoTC Ver 0.4 — rebuilt New Case Registration workspace */
.tcm-newcase-page{max-width:1440px;margin:0 auto;padding:28px 22px 120px;color:#173b5e}
.tcm-newcase-hero-pro{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:30px 34px;border-radius:26px;background:linear-gradient(135deg,#0b3557,#1f6f92);color:#fff;box-shadow:0 18px 45px rgba(8,45,75,.22);margin-bottom:18px}
.tcm-newcase-hero-pro h1{margin:6px 0 8px;font-size:clamp(30px,4vw,48px);line-height:1.05;color:#fff}.tcm-newcase-hero-pro p{margin:0;max-width:820px;color:#e9f5fb;font-size:16px;line-height:1.6}.tcm-newcase-hero-badge{min-width:190px;padding:20px;border:1px solid rgba(255,255,255,.28);border-radius:20px;background:rgba(255,255,255,.1);backdrop-filter:blur(10px);text-align:center;box-shadow:inset 0 1px rgba(255,255,255,.18)}.tcm-newcase-hero-badge strong,.tcm-newcase-hero-badge span{display:block}.tcm-newcase-hero-badge strong{font-size:18px}.tcm-newcase-hero-badge span{font-size:11px;letter-spacing:1.5px;margin-top:5px;color:#d9eff9}
.tcm-newcase-context{display:grid;grid-template-columns:auto auto 1fr;gap:10px 18px;align-items:center;padding:14px 18px;margin:0 0 18px;border-radius:16px;background:#eef7ff;border:1px solid #bfd9ed;box-shadow:0 8px 20px rgba(21,66,97,.08)}.tcm-newcase-context span{font-size:11px;font-weight:900;letter-spacing:1.1px;color:#17638a}.tcm-newcase-context strong{font-size:16px;color:#143d60}.tcm-newcase-context small{color:#526b7d}
.tcm-newcase-progress{display:flex;gap:8px;margin:0 0 18px;padding:8px;background:#fff;border:1px solid #d7e3ec;border-radius:18px;box-shadow:0 8px 22px rgba(25,63,91,.07)}.tcm-newcase-progress span{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px;border-radius:12px;color:#63788a;font-weight:800;font-size:13px}.tcm-newcase-progress b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#eaf1f6}.tcm-newcase-progress .is-active{background:#edf7fc;color:#0e4e76}.tcm-newcase-progress .is-active b{background:#0f537b;color:#fff}
.tcm-newcase-card{background:#fff;border:1px solid #d6e2eb;border-radius:22px;margin:18px 0;padding:22px;box-shadow:0 12px 30px rgba(22,59,87,.08)}.tcm-newcase-card>header{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;padding-bottom:18px;margin-bottom:20px;border-bottom:1px solid #e4edf3}.tcm-newcase-card>header>div{display:flex;gap:13px}.tcm-card-number{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#eaf4f9;color:#0b547c;font-weight:900}.tcm-section-kicker{display:block;font-size:10px;letter-spacing:1.5px;font-weight:900;color:#6b8292}.tcm-newcase-card h2{margin:3px 0 4px;font-size:23px;color:#163f61}.tcm-newcase-card header p{margin:0;color:#6c7f8e;font-size:13px}.tcm-section-state{white-space:nowrap;padding:7px 11px;border-radius:999px;background:#eef2f5;color:#566c7c;font-size:10px;font-weight:900;letter-spacing:.8px}.tcm-state-hearing{background:#eaf8f0;color:#187044}.tcm-state-auto{background:#edf5ff;color:#195e9a}
.tcm-new-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.tcm-new-grid label{display:flex;flex-direction:column;gap:7px;font-weight:800;font-size:13px;color:#31546e}.tcm-new-grid label.wide{grid-column:span 2}.tcm-new-grid em{font-style:normal;color:#b42318}.tcm-new-grid input,.tcm-new-grid select,.tcm-new-grid textarea{width:100%;box-sizing:border-box;border:1px solid #cbdbe6;border-radius:11px;background:#fbfdff;padding:11px 12px;color:#173b5e;font:inherit;font-weight:600;outline:none;transition:.18s}.tcm-new-grid textarea{resize:vertical;min-height:58px}.tcm-new-grid input:focus,.tcm-new-grid select:focus,.tcm-new-grid textarea:focus{border-color:#2b789f;box-shadow:0 0 0 3px rgba(43,120,159,.12);background:#fff}
.tcm-case-id-live{margin-top:16px;padding:15px 17px;border-radius:15px;background:linear-gradient(90deg,#f1f8fc,#f8fbfd);border:1px dashed #9fc4d7}.tcm-case-id-live span{display:block;font-size:10px;font-weight:900;letter-spacing:1.2px;color:#668093}.tcm-case-id-live strong{display:block;margin-top:4px;font-size:17px;color:#0b4d73}
.tcm-hearing-note,.tcm-system-note{display:flex;gap:12px;align-items:flex-start;margin-top:17px;padding:14px 16px;border-radius:14px;background:#f5fafc;border:1px solid #d8e8ef}.tcm-hearing-note>span{font-size:20px;color:#19724d}.tcm-hearing-note strong,.tcm-system-note strong{display:block;color:#24516c}.tcm-hearing-note small,.tcm-system-note span{display:block;margin-top:3px;color:#667b89;line-height:1.5}
.tcm-new-app-card{padding:17px;border:1px solid #d6e4ec;border-radius:17px;background:#fbfdfe;margin-bottom:12px}.tcm-service-head{display:grid;grid-template-columns:minmax(260px,1fr) 2fr;gap:14px;align-items:end}.tcm-service-head label{display:flex;flex-direction:column;gap:7px;font-weight:800;font-size:13px}.tcm-service-head em{color:#b42318;font-style:normal}.tcm-service-head input{border:1px solid #cbdbe6;border-radius:11px;padding:11px 12px;font:inherit;font-weight:700;text-transform:uppercase}.tcm-match-state{padding:11px 13px;border-radius:11px;background:#f1f5f7;color:#617684;font-size:12px;font-weight:700}.tcm-match-state.is-success{background:#ecf9f0;color:#18703d}.tcm-match-state.is-error{background:#fff0f0;color:#a12626}.tcm-match-state.is-loading{background:#edf6fb;color:#195f83}.tcm-app-grid{margin-top:15px}
.tcm-secondary-action{margin-top:4px;border:1px solid #b9d0de;background:#fff;color:#15587f;padding:10px 14px;border-radius:10px;font-weight:900;cursor:pointer}.tcm-secondary-action:hover{background:#edf7fc}.tcm-party-block{padding:18px 0;border-top:1px solid #e6eef3}.tcm-party-block:first-child{border-top:0;padding-top:0}.tcm-party-title{margin-bottom:12px}.tcm-party-title strong{display:block;font-size:16px;color:#214b68}.tcm-party-title small{color:#708391}.tcm-newcase-submit{position:sticky;bottom:14px;z-index:20;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:15px 18px;background:rgba(255,255,255,.96);border:1px solid #ccdce6;border-radius:18px;box-shadow:0 16px 38px rgba(15,49,72,.18);backdrop-filter:blur(12px)}.tcm-newcase-submit strong,.tcm-newcase-submit small{display:block}.tcm-newcase-submit strong{font-size:16px;color:#173f5d}.tcm-newcase-submit small{margin-top:3px;color:#71818e}.tcm-new-success{display:flex;gap:12px;align-items:center;margin-bottom:18px;padding:15px 18px;border-radius:16px;background:#effaf2;border:1px solid #a8d9b5;box-shadow:0 10px 25px rgba(22,105,52,.08)}.tcm-new-success-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#1c7b3f;color:#fff;font-weight:900}.tcm-new-success strong,.tcm-new-success span{display:block}.tcm-new-success span{margin-top:3px;color:#4f6e59}
.tcm-new-review-table{overflow:auto}.tcm-new-review-table .tcm-review-row{min-width:720px}.tcm-new-case-review-modal{max-width:1100px!important;max-height:90vh;overflow:auto}.tcm-new-case-review-modal h3{margin:22px 0 8px;color:#1c4d6c}.tcm-new-case-review-modal .tcm-case-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.tcm-new-case-review-modal .tcm-case-summary>div{padding:12px;border:1px solid #dbe7ee;border-radius:12px;background:#f7fbfd}.tcm-new-case-review-modal .tcm-case-summary span,.tcm-new-case-review-modal .tcm-case-summary strong{display:block}.tcm-new-case-review-modal .tcm-case-summary span{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#718391}.tcm-new-case-review-modal .tcm-case-summary strong{margin-top:4px;color:#174b6c}
@media(max-width:1000px){.tcm-new-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tcm-new-grid label.wide{grid-column:span 2}.tcm-newcase-hero-pro{align-items:flex-start}.tcm-service-head{grid-template-columns:1fr}.tcm-newcase-context{grid-template-columns:1fr}.tcm-new-case-review-modal .tcm-case-summary{grid-template-columns:1fr}}
@media(max-width:650px){.tcm-newcase-page{padding:15px 10px 100px}.tcm-newcase-hero-pro{padding:22px 18px;border-radius:19px;display:block}.tcm-newcase-hero-badge{margin-top:15px;min-width:0}.tcm-newcase-progress{overflow:auto}.tcm-newcase-progress span{min-width:105px}.tcm-newcase-card{padding:15px;border-radius:17px}.tcm-newcase-card>header{display:block}.tcm-section-state{display:inline-block;margin-top:10px}.tcm-new-grid{grid-template-columns:1fr}.tcm-new-grid label.wide{grid-column:auto}.tcm-newcase-submit{display:block}.tcm-newcase-submit .tcm-actions{margin-top:12px;display:flex}.tcm-newcase-submit .tcm-actions>*{flex:1}.tcm-new-case-review-modal{width:calc(100vw - 24px)!important}.tcm-new-review-table .tcm-review-row{min-width:600px}}

/* AutoTC 0.5 — Service No. and Serving/Retd field rules */
#tcar28-service-no,.tcm-sn{text-transform:uppercase;letter-spacing:.04em;font-weight:700;}
#tcar28-retirement-wrap.is-disabled,.tcm-retirement-field.is-disabled{opacity:.58;}
#tcar28-retirement-wrap .tcar28-retirement-hint,.tcm-retirement-field .tcm-retirement-hint{display:block;font-size:.72rem;font-weight:700;opacity:.7;margin:.15rem 0 .25rem;}
.tcm-app-status{font-weight:700;}

/* AutoTC Ver 0.6 — New Case compact space optimisation */
.tcm-newcase-page{max-width:1500px;margin:0 auto;padding:16px 16px 92px}
.tcm-newcase-hero-pro{padding:18px 22px;border-radius:18px;margin-bottom:10px;gap:18px}
.tcm-newcase-hero-pro h1{font-size:clamp(26px,3vw,38px);margin:3px 0 5px}
.tcm-newcase-hero-pro p{font-size:13px;line-height:1.35}
.tcm-newcase-hero-badge{min-width:155px;padding:12px 15px;border-radius:14px}
.tcm-newcase-context{gap:7px 14px;padding:9px 13px;margin-bottom:10px;border-radius:12px}
.tcm-newcase-progress{gap:5px;margin-bottom:10px;padding:5px;border-radius:12px}
.tcm-newcase-progress span{padding:7px 8px;font-size:12px;gap:5px}
.tcm-newcase-progress b{width:23px;height:23px}
.tcm-newcase-card{border-radius:16px;margin:10px 0;padding:15px;box-shadow:0 7px 18px rgba(22,59,87,.06)}
.tcm-newcase-card>header{gap:10px;padding-bottom:10px;margin-bottom:12px}
.tcm-newcase-card>header>div{gap:9px}
.tcm-card-number{width:34px;height:34px;border-radius:10px}
.tcm-newcase-card h2{font-size:19px;margin:1px 0 2px}
.tcm-newcase-card header p{font-size:11px;line-height:1.25}
.tcm-section-state{padding:5px 8px;font-size:9px}
.tcm-new-grid{gap:9px 10px}
.tcm-new-grid label{gap:4px;font-size:12px;min-width:0}
.tcm-field-label{display:block;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tcm-field-label em{font-style:normal;color:#b42318;font-weight:900;margin-left:2px}
.tcm-new-grid input,.tcm-new-grid select,.tcm-new-grid textarea{padding:8px 9px;border-radius:8px;font-size:12px;min-height:34px}
.tcm-new-grid textarea{min-height:48px}
.tcm-case-id-live{margin-top:10px;padding:9px 11px;border-radius:10px}
.tcm-case-id-live strong{font-size:14px;margin-top:2px}
.tcm-hearing-note,.tcm-system-note{gap:8px;margin-top:10px;padding:9px 11px;border-radius:10px;font-size:11px}
.tcm-hearing-note small,.tcm-system-note span{line-height:1.3}
.tcm-new-app-card{padding:11px;border-radius:12px;margin-bottom:8px}
.tcm-service-head{grid-template-columns:minmax(210px,.8fr) 1.7fr;gap:9px}
.tcm-service-head label{gap:4px;font-size:12px}
.tcm-service-head input{padding:8px 9px;border-radius:8px;font-size:12px;min-height:34px}
.tcm-match-state{padding:8px 10px;border-radius:8px;font-size:11px}
.tcm-app-grid{margin-top:9px}
.tcm-secondary-action{margin-top:2px;padding:7px 10px;border-radius:8px;font-size:12px}
.tcm-party-block{padding:11px 0}
.tcm-party-title{margin-bottom:7px}.tcm-party-title strong{font-size:14px}.tcm-party-title small{font-size:11px}
.tcm-newcase-submit{gap:12px;padding:10px 13px;border-radius:13px}
.tcm-newcase-submit strong{font-size:14px}.tcm-newcase-submit small{font-size:11px}
@media(max-width:1000px){.tcm-new-grid{gap:9px}.tcm-newcase-hero-pro{padding:16px 18px}}
@media(max-width:650px){.tcm-newcase-page{padding:10px 7px 90px}.tcm-newcase-card{padding:12px;margin:8px 0}.tcm-newcase-card>header{margin-bottom:9px}.tcm-newcase-hero-pro{padding:16px 15px}.tcm-newcase-hero-badge{margin-top:10px}.tcm-new-grid{gap:8px}.tcm-new-grid input,.tcm-new-grid select,.tcm-new-grid textarea{padding:8px}.tcm-service-head{grid-template-columns:1fr}.tcm-newcase-submit{padding:9px 10px}}

/* AutoTC Ver 0.7 */
.tcm-new-error{display:flex;gap:12px;align-items:flex-start;margin:0 0 14px;padding:13px 16px;border:1px solid #e8b4b4;border-left:4px solid #b42318;background:#fff7f7;border-radius:12px;color:#7a1f1f}.tcm-new-error strong{white-space:nowrap}.tcm-new-error span{font-weight:600}

/* AutoTC Ver 0.8 — New Case validation: retain entry, scroll and focus the exact field. */
.tcm-newcase-page .tcm-required-error{border-color:#c62828!important;box-shadow:0 0 0 3px rgba(198,40,40,.14)!important;outline:0!important}
.tcm-client-error{display:block;color:#b42318;font-weight:700;font-size:12px;margin-top:5px}.tcm-new-error{position:relative;margin:12px 0 16px;padding:14px 16px;border-left:5px solid #c62828;background:#fff4f3;border-radius:10px;color:#6f1d1b;display:flex;flex-direction:column;gap:4px}.tcm-new-error strong{font-size:16px;color:#9f1c18}.tcm-new-error small{color:#6f1d1b}
.tcm155-custom-wrap.is-open{animation:tcmChoiceIn .14s ease-out}@keyframes tcmChoiceIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
/* AutoTC 0.10 — multi-party and document controls */
.tcm-remove-row{border:0;border-radius:8px;padding:7px 10px;background:#a33b3b;color:#fff;font-weight:800;cursor:pointer;white-space:nowrap}.tcm-remove-party{margin-top:8px}.tcm-document-panel{margin-top:14px;padding:14px;border:1px solid #dce5ec;border-radius:14px;background:#fbfdff}.tcm-new-doc-row{display:grid;grid-template-columns:170px 1fr 1.4fr auto;gap:8px;align-items:center;margin:8px 0}.tcm-new-doc-row select,.tcm-new-doc-row input{min-width:0;padding:9px 10px;border:1px solid #d4dfe8;border-radius:9px;background:#fff}.tcm-party-block .tcm-remove-party{align-self:end}@media(max-width:900px){.tcm-new-doc-row{grid-template-columns:1fr 1fr}.tcm-new-doc-row .tcm-remove-row{grid-column:1/-1;justify-self:start}}@media(max-width:600px){.tcm-new-doc-row{grid-template-columns:1fr}}

/* AutoTC 0.11 - DD/MM/YYYY New Case date controls */
.tcm-newcase-page .tcm-date-wrap{display:flex;align-items:center;gap:6px;width:100%;position:relative}
.tcm-newcase-page .tcm-date-wrap .tcm-ddmmyyyy{flex:1;min-width:0}
.tcm-newcase-page .tcm-date-picker-btn{width:40px;min-width:40px;height:42px;border:1px solid rgba(20,50,80,.18);border-radius:10px;background:#fff;cursor:pointer;font-size:17px;line-height:1}
.tcm-newcase-page .tcm-date-picker-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.08)}
.tcm-newcase-page .tcm-native-date-picker{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;border:0!important;padding:0!important;margin:0!important}
.tcm-newcase-page .tcm-ddmmyyyy.tcm-required-error{border-color:#c62828!important;box-shadow:0 0 0 3px rgba(198,40,40,.12)}
.tcm-newcase-draft-bar{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:12px 0 16px;padding:14px 18px;border:1px solid rgba(30,90,150,.18);border-radius:14px;background:linear-gradient(135deg,rgba(235,245,255,.96),rgba(255,255,255,.98));box-shadow:0 8px 24px rgba(20,50,80,.07)}
.tcm-newcase-draft-bar div{display:flex;flex-direction:column;gap:3px}.tcm-newcase-draft-bar strong{font-size:15px}.tcm-newcase-draft-bar small{font-size:12px;opacity:.78}
@media(max-width:680px){.tcm-newcase-draft-bar{align-items:flex-start;flex-direction:column}.tcm-newcase-draft-bar .tcm-btn{width:100%;text-align:center}}

/* AutoTC 0.12 — compact, symmetric New Case cards and date controls */
.tcm-newcase-draft-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:10px 0 16px;padding:12px 16px;border:1px solid #d6b44c;border-left:5px solid #d6b44c;border-radius:10px;background:#fffaf0;box-shadow:0 3px 12px rgba(20,55,90,.08)}
.tcm-newcase-draft-bar strong{display:block;color:#173f63;font-size:15px}.tcm-newcase-draft-bar small{display:block;color:#5e7184;margin-top:3px}
.tcm-date-wrap{display:flex;align-items:stretch;gap:5px;width:100%;margin-top:7px}.tcm-date-wrap .tcm-ddmmyyyy{margin-top:0!important;min-width:0;flex:1}.tcm-date-picker-btn{width:42px;min-width:42px;border:1px solid #c8d3df;background:#eef3f7;color:#173f63;border-radius:7px;cursor:pointer;font-size:17px}.tcm-date-picker-btn:hover{background:#e4edf5}.tcm-native-date-picker{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important}
.tcm-new-case-builder .tcm-panel{padding:18px 20px;margin:14px 0}.tcm-new-case-builder .tcm-form-grid{gap:10px 12px}.tcm-new-case-builder .tcm-form-grid label{margin-bottom:7px}.tcm-new-case-builder .tcm-form-grid input,.tcm-new-case-builder .tcm-form-grid select,.tcm-new-case-builder .tcm-panel textarea{margin-top:5px;padding:9px 10px;min-height:40px}.tcm-new-case-builder .tcm-new-app-card{padding:12px;margin:10px 0}.tcm-new-case-builder .tcm-row.tcm-adv-card,.tcm-new-case-builder .tcm-row.tcm-resp-card{padding:10px;margin:8px 0}.tcm-new-case-builder .tcm-newcase-section{border-radius:12px;overflow:hidden}.tcm-newcase-section .tcm-section-head{min-height:44px;padding:8px 12px;border-radius:9px;margin-bottom:9px}.tcm-newcase-section:nth-of-type(1) .tcm-section-head{background:#edf4fb;border-left:4px solid #2b628f}.tcm-newcase-section:nth-of-type(2) .tcm-section-head{background:#fff7df;border-left:4px solid #d4aa35}.tcm-newcase-section:nth-of-type(3) .tcm-section-head{background:#edf8f0;border-left:4px solid #3d8a58}.tcm-newcase-section:nth-of-type(4) .tcm-section-head{background:#f4eefb;border-left:4px solid #7852a6}.tcm-newcase-section:nth-of-type(5) .tcm-section-head{background:#fdf0ed;border-left:4px solid #b85a43}
.tcm-newcase-section .tcm-form-grid>label,.tcm-newcase-section .tcm-new-app-card,.tcm-newcase-section .tcm-row{box-sizing:border-box}.tcm-newcase-section .tcm-form-grid>label{min-width:0}.tcm-new-case-builder .tcm-field-label{display:inline-flex;align-items:center;gap:3px;white-space:nowrap}.tcm-new-case-builder .tcm-field-label em{display:inline!important;color:#b31d1d;font-style:normal;font-weight:900}
.tcm-new-case-builder .tcm-new-app-card,.tcm-new-case-builder .tcm-row.tcm-adv-card,.tcm-new-case-builder .tcm-row.tcm-resp-card{box-shadow:0 2px 7px rgba(20,55,90,.06)}
@media(max-width:700px){.tcm-newcase-draft-bar{align-items:flex-start;flex-direction:column}.tcm-newcase-draft-bar .tcm-btn{width:100%;text-align:center}.tcm-date-picker-btn{width:40px;min-width:40px}}
