/* Crescent Tax Compliance Private Limited — unified responsive design layer */
:root{--ct-green:#8cc63e;--ct-yellow:#fdb913;--ct-black:#000;--ct-ink:#172033;--ct-muted:#64748b;--ct-border:#dce5e8;--ct-surface:#fff;--ct-soft:#f5f8f7;--ct-green-soft:#f4faeb;--ct-shadow:0 16px 44px rgba(18,36,42,.08)}
html{scroll-behavior:smooth;max-width:100%;overflow-x:hidden}*,*:before,*:after{box-sizing:border-box}body,button,input,select,textarea{font-family:'Century Gothic','CenturyGothic',AppleGothic,sans-serif!important}body{color:var(--ct-ink);max-width:100%;overflow-x:hidden}img,svg,video,canvas{max-width:100%}button,input,select,textarea{max-width:100%}a{color:#527f20}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(140,198,62,.55)!important;outline-offset:2px}
/* Common portal header */
.ct-site-header,.header,.employee-header,.hr-header{background:rgba(255,255,255,.97)!important;border-bottom:1px solid var(--ct-border)!important;box-shadow:0 2px 12px rgba(18,36,42,.025)!important;backdrop-filter:blur(10px)}
.ct-site-header{min-height:78px!important;padding:12px clamp(14px,3.2vw,42px)!important;display:flex!important;align-items:center!important}
.ct-site-brand,.brand,.employee-brand,.hr-header-left{display:flex!important;align-items:center!important;gap:clamp(10px,1.6vw,22px)!important;min-width:0!important;text-decoration:none!important;color:var(--ct-black)!important}
.ct-site-brand img,.brand .logo img,.employee-logo img,.hr-logo img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}
.ct-site-brand img{width:clamp(115px,12vw,175px)!important;height:48px!important;flex:0 0 auto!important}
.ct-site-brand strong,.brand-name strong,.employee-brand strong,.hr-company{font-size:clamp(14px,1.35vw,19px)!important;font-weight:700!important;line-height:1.25!important;color:var(--ct-black)!important;overflow-wrap:anywhere!important}
.ct-site-brand small,.brand-name span,.employee-brand span,.hr-company-sub{font-size:10px!important;letter-spacing:.1em!important;text-transform:uppercase!important;font-weight:700!important;color:#628f28!important;line-height:1.35!important}
/* Home page header */
.header{width:100%!important;min-height:78px!important;padding:12px clamp(14px,3.2vw,42px)!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;position:relative!important;z-index:5!important}
.brand{gap:clamp(12px,2vw,24px)!important;max-width:calc(100% - 150px)!important}
.brand .logo{width:clamp(115px,12vw,175px)!important;height:48px!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;background:#fff!important}
.brand-name{min-width:0!important;display:flex!important;flex-direction:column!important;gap:3px!important}
.secure,.employee-secure,.hr-secure{flex:0 0 auto!important;white-space:nowrap!important;font-size:12px!important;color:#536273!important}
/* Page rhythm and cards */
main,.main{min-width:0!important;max-width:100%!important}
.card,.login-card,.employee-access-card,.form-card,.success-card,.bulk-card,.detail-box,.stat-card,.progress-card,.employee-card,.option-card,.hr-content>section,.hr-content .card{border:1px solid var(--ct-border)!important;border-radius:18px!important;box-shadow:var(--ct-shadow)!important}
input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea{min-height:42px;border:1px solid #cbd8dc!important;border-radius:9px!important;background:#fff!important;color:var(--ct-black)!important;padding:10px 12px!important;box-shadow:none!important}
textarea{min-height:100px!important;resize:vertical}input:focus,select:focus,textarea:focus{border-color:var(--ct-green)!important;box-shadow:0 0 0 3px rgba(140,198,62,.15)!important}
button,.btn,.btn-primary,.login-submit,.bulk-submit,.submit-button,.primary-button,input[type=submit]{font-family:inherit!important;transition:transform .16s ease,box-shadow .16s ease,background .16s ease!important}
button:hover,.btn:hover,.btn-primary:hover,.login-submit:hover,.bulk-submit:hover,.submit-button:hover,.primary-button:hover,input[type=submit]:hover{box-shadow:0 7px 18px rgba(70,100,30,.12)!important}
button.primary,.btn-primary,.login-submit,.bulk-submit,.submit-button,.primary-button,input[type=submit],.primary{background:var(--ct-green)!important;border-color:var(--ct-green)!important;color:var(--ct-black)!important;font-weight:700!important}
.btn-secondary,.secondary,.secondary-button{background:#fff!important;color:var(--ct-black)!important;border:1px solid var(--ct-yellow)!important}
.notice,.employee-access-note,.security-note,.login-note{background:#f5faef!important;border-color:#d8e9bf!important;color:#354653!important;border-radius:12px!important}
/* Homepage: keep its content, improve responsive spacing and image treatment */
.page{width:100%!important;min-height:100vh!important;overflow:hidden!important}
.main{width:min(1200px,100%)!important;margin-inline:auto!important;padding:clamp(22px,4vw,56px) clamp(14px,3vw,32px)!important}
.hero{gap:clamp(24px,5vw,64px)!important;align-items:center!important}
.hero h1{letter-spacing:-.045em!important;line-height:1.08!important;text-wrap:balance}
.lead{line-height:1.75!important;max-width:65ch!important}
.option,.access,.security-note{border-radius:18px!important}
/* Employee access and onboarding */
.employee-access-page{width:100%!important;min-height:calc(100svh - 78px)!important;background-position:center!important;background-attachment:scroll!important;background-size:cover!important;padding:clamp(22px,4vw,54px) 16px!important}
.employee-access-card{max-width:670px!important;width:min(100%,670px)!important;padding:clamp(24px,4vw,44px)!important;border-radius:20px!important;background:rgba(255,255,255,.96)!important;box-shadow:0 20px 60px rgba(18,36,42,.13)!important}
.employee-access-logo{width:170px!important;height:58px!important;max-width:70%!important;border-radius:0!important;background:#fff!important;margin:0 auto 24px!important}
.employee-access-logo img{width:100%!important;height:100%!important;object-fit:contain!important;padding:0!important}
.employee-access-card h1{font-size:clamp(25px,3.4vw,34px)!important;line-height:1.2!important}
.employee-access-card p{font-size:14px!important;line-height:1.75!important}
.employee-access-note{font-size:13px!important;line-height:1.7!important;padding:15px 17px!important;background:#f2f9fb!important}
.employee-container{width:min(1440px,100%)!important;margin-inline:auto!important}
.employee-page{width:100%!important;max-width:100%!important;overflow-x:clip!important}
.employee-header{min-height:76px!important;padding:12px clamp(12px,3vw,34px)!important;display:flex!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;flex-wrap:wrap!important}
.employee-brand{min-width:0!important;flex:1 1 320px!important}
.employee-logo{width:clamp(115px,12vw,175px)!important;height:48px!important;flex:0 0 auto!important;border-radius:0!important}
.employee-main{min-width:0!important}
.form-card{overflow:hidden!important}
.form-header{gap:14px!important}
.form-grid,.grid,.detail-grid{min-width:0!important}
.field{min-width:0!important}
.field input,.field select,.field textarea,.form-grid input,.form-grid select,.form-grid textarea{width:100%!important;min-width:0!important}
.navigation{gap:12px!important}
.nav-button{min-width:0!important;max-width:100%!important;border-radius:10px!important}
/* Admin login and dashboard */
.login-page{min-height:100svh!important;padding:clamp(18px,4vw,40px)!important}
.login-card{width:min(100%,440px)!important;padding:clamp(24px,4vw,40px)!important;border-radius:20px!important}
.login-logo{max-width:100%!important}
.hr-app{max-width:100vw!important;overflow:hidden!important}
.hr-header{min-height:72px!important;flex-wrap:wrap!important}
.hr-logo{background:#fff!important;overflow:hidden!important}
.hr-content,.hr-main,.hr-body{min-width:0!important;max-width:100%!important}
.hr-content{padding:clamp(14px,2vw,28px)!important}
.stats{gap:14px!important}
.stat-card{min-width:0!important}
.employee-table-head,.employee-row{min-width:700px}
.hr-content table{width:100%!important;border-collapse:separate!important;border-spacing:0!important}
.hr-content th,.hr-content td{overflow-wrap:anywhere!important}
/* Compact endpoints and admin utility pages */
.bulk-page{width:min(1200px,100%)!important;margin-inline:auto!important;padding:clamp(14px,3vw,32px)!important}
.bulk-top,.bulk-stats,.bulk-actions,.actions,.page-actions{gap:12px!important;flex-wrap:wrap!important}
.bulk-card{min-width:0!important;overflow-x:auto!important}
/* Tablet and mobile */
@media(max-width:900px){.hero{grid-template-columns:minmax(0,1fr)!important}.hero>*{min-width:0!important}.main{padding:26px 18px!important}.brand{max-width:100%!important}.stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.hr-content{overflow-x:auto!important}}
@media(max-width:600px){
 .ct-site-header{min-height:72px!important;padding:10px 12px!important}.ct-site-brand{gap:10px!important;width:100%!important}.ct-site-brand img{width:clamp(92px,28vw,125px)!important;height:40px!important}.ct-site-brand strong{font-size:clamp(12px,3.5vw,15px)!important}.ct-site-brand small{font-size:8px!important;letter-spacing:.07em!important}
 .header{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;padding:10px 12px!important;min-height:unset!important}.brand{grid-column:1/-1!important;max-width:100%!important;gap:10px!important}.brand .logo{width:clamp(100px,30vw,130px)!important;height:40px!important}.brand-name strong{font-size:clamp(12px,3.5vw,15px)!important;line-height:1.22!important}.brand-name span{font-size:8px!important;letter-spacing:.07em!important}.secure{grid-column:1/-1!important;justify-self:end!important;font-size:11px!important;margin-top:-2px!important}
 .main{padding:24px 14px!important}.hero{gap:24px!important}.hero h1{font-size:clamp(32px,9vw,48px)!important;line-height:1.08!important}.lead{font-size:15px!important;line-height:1.65!important}.kicker{max-width:100%!important;font-size:10px!important;letter-spacing:.08em!important}.trust,.trust-items{flex-wrap:wrap!important;gap:12px 16px!important}.access,.option-card{width:100%!important;min-width:0!important;padding:22px 18px!important}.option{min-width:0!important;gap:10px!important;padding:14px!important}.option-title{font-size:14px!important}.option-desc{font-size:12px!important;line-height:1.5!important}
 .employee-access-page{min-height:calc(100svh - 72px)!important;padding:24px 13px!important;background-attachment:scroll!important}.employee-access-card{padding:28px 20px!important;border-radius:17px!important}.employee-access-logo{width:150px!important;height:52px!important;margin-bottom:22px!important}.employee-access-card p{font-size:13px!important}.employee-access-note{font-size:12px!important;padding:13px!important}
 .employee-header{padding:10px 12px!important;gap:8px!important}.employee-brand{flex:1 1 100%!important;gap:10px!important}.employee-logo{width:clamp(100px,29vw,132px)!important;height:40px!important}.employee-brand strong{font-size:clamp(12px,3.5vw,15px)!important}.employee-brand span{font-size:8px!important;letter-spacing:.07em!important}.employee-secure{margin-left:auto!important;font-size:10px!important}
 .employee-container{padding-left:12px!important;padding-right:12px!important}.reference-sidebar{min-width:0!important}.reference-steps{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:5px!important}.reference-step{min-width:0!important}.reference-step-copy{overflow-wrap:anywhere!important}.form-card{border-radius:15px!important}.form-header{padding:18px!important}.form-grid,.grid,.detail-grid{grid-template-columns:minmax(0,1fr)!important;gap:13px!important}.full{grid-column:auto!important}.navigation{display:flex!important;flex-direction:row!important;width:100%!important;gap:10px!important}.navigation .nav-button{flex:1 1 0!important;width:auto!important;min-width:0!important;font-size:11px!important;padding:11px 6px!important}
 .login-page{padding:18px 12px!important}.login-card{padding:26px 20px!important}.login-logo{width:min(175px,100%)!important}.hr-header{padding:9px 10px!important;gap:8px!important}.hr-header-left{flex:1 1 100%!important}.hr-logo{width:92px!important;height:34px!important;flex:0 0 92px!important}.hr-company{font-size:11px!important}.hr-company-sub{font-size:7px!important;letter-spacing:.03em!important}.hr-header-right{width:100%!important;justify-content:flex-end!important}.hr-content{padding:12px!important}.stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.stat-card{padding:13px!important}.bulk-page{padding:14px 12px!important}.bulk-title{font-size:24px!important}.bulk-table{display:block!important;max-width:100%!important;overflow-x:auto!important}.actions .btn,.actions button,.page-actions .page-button{flex:1 1 auto!important}
}
@media(max-width:380px){.main{padding:20px 11px!important}.hero h1{font-size:31px!important}.brand .logo{width:94px!important}.brand-name strong{font-size:11px!important}.employee-container{padding-left:8px!important;padding-right:8px!important}.reference-steps{gap:3px!important}.reference-step-number{width:26px!important;height:26px!important}.navigation{gap:7px!important}.navigation .nav-button{font-size:10px!important}.stats{grid-template-columns:minmax(0,1fr)!important}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}


/* Final header refinement: clean logo-only brand area; remove legacy text block. */
.ct-site-header{height:76px!important;min-height:76px!important;padding:10px clamp(16px,3vw,40px)!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;background:#fff!important;border-bottom:1px solid #e5e9ee!important;box-shadow:0 3px 16px rgba(15,30,40,.045)!important;backdrop-filter:none!important}
.ct-site-brand{display:flex!important;align-items:center!important;gap:0!important;width:auto!important;max-width:100%!important;min-width:0!important}
.ct-site-brand img{display:block!important;width:clamp(118px,11vw,154px)!important;height:50px!important;max-height:50px!important;object-fit:contain!important;object-position:left center!important}
.header{height:76px!important;min-height:76px!important;padding:10px clamp(16px,3vw,40px)!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;background:rgba(255,255,255,.97)!important;border-bottom:1px solid #e5e9ee!important;box-shadow:0 3px 16px rgba(15,30,40,.045)!important;backdrop-filter:blur(12px)!important}
.header .brand{display:flex!important;align-items:center!important;flex:0 1 auto!important;width:auto!important;max-width:100%!important;min-width:0!important;gap:0!important;margin:0!important}
.header .brand .logo{width:clamp(125px,12vw,158px)!important;height:50px!important;flex:0 0 auto!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;background:transparent!important}
.header .brand .logo img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:left center!important}
.header .brand-name{display:none!important}
.header .secure{margin-left:auto!important;white-space:nowrap!important;display:flex!important;align-items:center!important;gap:8px!important;font-size:12px!important;font-weight:600!important;color:#536273!important}
@media(max-width:600px){
 .ct-site-header{height:68px!important;min-height:68px!important;padding:8px 16px!important}
 .ct-site-brand img{width:clamp(112px,34vw,142px)!important;height:44px!important;max-height:44px!important}
 .header{height:68px!important;min-height:68px!important;padding:8px 14px!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
 .header .brand{flex:0 1 auto!important;width:auto!important;max-width:60%!important;grid-column:auto!important}
 .header .brand .logo{width:clamp(108px,34vw,138px)!important;height:44px!important}
 .header .secure{grid-column:auto!important;justify-self:auto!important;margin:0!important;font-size:10px!important;gap:6px!important;max-width:40%;white-space:nowrap!important}
}
@media(max-width:360px){.header{padding-inline:10px!important}.header .brand .logo{width:100px!important}.header .secure{font-size:9px!important;max-width:42%}.ct-site-header{padding-inline:12px!important}.ct-site-brand img{width:108px!important}}
