/* Shared screen identity. Print and document layouts keep their existing rules. */
@media screen {
body.rasmala-workspace{--c-primary:#284737;--c-primary-2:#8a7655;--c-primary-dark:#233b30;--accent:#284737;--accent-2:#8a7655;--bg:#f4f3ef;--border:#dde2d8;--ink:#283a30;background:#f4f3ef;color:var(--ink)}
.rasmala-workspace .app-watermark{display:none}
.rasmala-workspace .topbar{background:#fff;border-bottom:1px solid #dce1d7;box-shadow:none;color:#283a30}
.rasmala-workspace .topbar-main{background:transparent;min-height:86px}
.rasmala-workspace .brand__title{color:#283e31;font-weight:700}.rasmala-workspace .brand__mark{color:#8a7655}
.rasmala-workspace .topbar-sub{background:#f5f6f2;border-top:1px solid #edf0e8;padding-block:10px;color:#52614f;gap:12px;flex-wrap:wrap}
.rasmala-workspace .tabs{background:#fff;border:1px solid #dde2d8;border-radius:12px;padding:8px;gap:6px;box-shadow:none;margin-block:18px}
.rasmala-workspace .tab{border:0;border-radius:8px;color:#586652;background:transparent;padding:11px 17px;box-shadow:none}
.rasmala-workspace .tab:hover{background:#eef2e9;color:#284737}.rasmala-workspace .tab.active{background:#284737;color:#fff;box-shadow:none}.rasmala-workspace .tab.active:after{display:none}
.rasmala-workspace .card{background:#fff;border:1px solid #dde2d8;border-radius:15px;box-shadow:0 4px 18px #243e3505}
.rasmala-workspace .section-title{color:#284333;font-weight:700;line-height:1.6}
.rasmala-workspace .btn{border-radius:8px;min-height:38px;box-shadow:none;font-weight:700}
.rasmala-workspace .btn.primary,.rasmala-workspace .btn.btn-primary{background:#284737;border-color:#284737;color:#fff}.rasmala-workspace .btn.primary:hover{background:#1d3829}
.rasmala-workspace .btn.ghost,.rasmala-workspace .btn.btn-outline{background:#fff;border:1px solid #d9e0d3;color:#40523c}.rasmala-workspace .btn.ghost:hover{background:#eef2e8}
.rasmala-workspace .form input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),.rasmala-workspace .form select,.rasmala-workspace .form textarea{background:#fbfcfa;color:#263c2e;border:1px solid #d6ded0;border-radius:8px;min-height:44px;font:inherit;padding:10px 12px}
.rasmala-workspace :is(a,button,input,select,textarea):focus-visible{outline:3px solid #b8a278;outline-offset:3px}
.rasmala-workspace input[type=checkbox],.rasmala-workspace input[type=radio]{accent-color:#284737}
.rasmala-workspace .table-wrap{border:1px solid #dde2d8;border-radius:12px;background:#fff;box-shadow:none;overflow-x:auto}
.rasmala-workspace .table th{background:#edf1e8;color:#34482f;border-color:#dbe2d4;font-weight:700;padding-block:14px}
.rasmala-workspace .table td{border-color:#e7ebe2;padding-block:12px}.rasmala-workspace .table tbody tr:not([data-delay-band]):not(.is-selected):hover{background:#f5f7f0}
.rasmala-workspace .app-footer{background:#eeefe9;border-top:1px solid #dce1d5;box-shadow:none;color:#65705e}
/* Account verification */
.rasmala-workspace .verification-page{min-height:65vh;display:flex;justify-content:center;align-items:center;padding:36px 16px}
.rasmala-workspace .verification-page>.card{width:100%;max-width:490px;padding:34px;border-radius:20px;border-top:4px solid #bca77e;box-shadow:0 15px 45px #243e350b}
.verification-brand{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px;padding-bottom:22px;border-bottom:1px solid #e4e9dc}.verification-brand img{width:115px;height:64px;object-fit:contain}.verification-brand span{font-size:12px;color:#75836b;letter-spacing:.5px;font-weight:700}
.rasmala-workspace .verification-page .section-title{font-size:24px;margin-bottom:20px}.rasmala-workspace .verification-page .muted{font-size:14px;line-height:1.9;color:#68765f}.rasmala-workspace .verification-page .form{display:flex;flex-direction:column;gap:13px}.rasmala-workspace .verification-page .form>label{font-weight:700;font-size:14px}.rasmala-workspace .verification-page .form>.btn{min-height:46px;justify-content:center}
/* Contract workspace */
.rasmala-workspace .contract-home__hero{background:#243e35;color:#fff;border:0;border-radius:18px;padding:30px;box-shadow:none}
.rasmala-workspace .contract-home__title,.rasmala-workspace .contract-home__company{color:#fff}.rasmala-workspace .contract-home__subtitle,.rasmala-workspace .contract-home__mark{color:#d3c09c}
.rasmala-workspace .contract-tile{background:#fff;border:1px solid #dce2d5;border-radius:13px;box-shadow:none;transition:border-color .15s,box-shadow .15s}
.rasmala-workspace .contract-tile:hover{border-color:#9da98f;box-shadow:0 6px 20px #243e3509}.rasmala-workspace .contract-tile.is-active{border-color:#708865;background:#f5f8f0}
.rasmala-workspace .contract-tile__no{color:#284333}.rasmala-workspace .contract-tile__action{background:#284737;color:#fff;border-radius:8px}.rasmala-workspace .contract-tile__action--outline{background:#fff;color:#284737;border-color:#b6c4ac}
.rasmala-workspace .contract-shared__link{background:#fff;color:#3b5336;border:1px solid #d7dfcf;border-radius:9px}
@media(max-width:700px){.rasmala-workspace .topbar-main{min-height:70px}.rasmala-workspace .brand__title{font-size:16px}.rasmala-workspace .topbar-sub{font-size:12px}.rasmala-workspace .tabs{overflow-x:auto;max-width:100%;padding:6px}.rasmala-workspace .tab{padding:10px 13px;font-size:13px}.rasmala-workspace .verification-page{padding:24px 0}.rasmala-workspace .verification-page>.card{padding:25px 20px}.rasmala-workspace .contract-home__hero{padding:22px 18px}.rasmala-workspace .verification-page .section-title{font-size:21px}}
@media(prefers-reduced-motion:reduce){.rasmala-workspace .contract-tile{transition:none}}
}

@media screen and (max-width:700px){
.rasmala-workspace .topbar{padding:10px 14px;gap:8px}
.rasmala-workspace .topbar-main{flex-direction:row;justify-content:space-between;gap:12px;min-height:58px}
.rasmala-workspace .topbar-main .edge-logo{position:static;transform:none;inset:auto;width:83px;height:46px;border:0;box-shadow:none;padding:0}
.rasmala-workspace .topbar-main .brand-logo--sec{width:40px;height:40px}
.rasmala-workspace .topbar-main .brand{flex:1;min-width:0;text-align:center}
.rasmala-workspace .topbar-main .brand__mark{display:none}
.rasmala-workspace .topbar-main .brand__title{font-size:13px;line-height:1.7}
.rasmala-workspace .verification-page{min-height:60vh}
}

/* Internal content hierarchy: heading, navigation, filters, results. */
@media screen {
.rasmala-workspace .page{min-width:0}
.rasmala-workspace .crumbs{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin:0 0 18px;font-size:13px;line-height:1.8;color:#74816a}
.rasmala-workspace .workspace-page>.card{padding:24px}
.rasmala-workspace .workspace-page-heading{margin:0 0 22px;padding:0 0 20px;border-bottom:1px solid #e0e6d8;display:flex;align-items:center;justify-content:space-between;gap:16px}
.rasmala-workspace .workspace-page-heading .section-title{font-size:25px;margin:0;max-width:100%;overflow-wrap:anywhere}
.rasmala-workspace .workspace-page .toolbar{gap:12px;flex-wrap:wrap;align-items:center;margin-bottom:18px;min-width:0}
.rasmala-workspace .workspace-page .toolbar>.actions,.rasmala-workspace .workspace-page .toolbar>form{display:flex;flex-wrap:wrap;gap:9px;align-items:center;max-width:100%;min-width:0}
.rasmala-workspace .workspace-page .toolbar form{background:#f6f8f2;border:1px solid #e2e7db;border-radius:10px;padding:12px;width:100%}
.rasmala-workspace .workspace-page .toolbar input:not([type=checkbox]):not([type=hidden]),.rasmala-workspace .workspace-page .toolbar select{min-height:41px;max-width:100%;border:1px solid #d7dfcf;background:#fff;color:#30412b;border-radius:7px;padding:9px 12px;font:inherit}
.rasmala-workspace .workspace-page .toolbar input[type=text],.rasmala-workspace .workspace-page .toolbar input[type=search]{flex:1 1 200px}
.rasmala-workspace .workspace-page [data-tab-strip]{padding:8px;background:#f3f5ef;border-radius:10px;gap:8px}
.rasmala-workspace .workspace-page .stats-grid{gap:14px;margin-bottom:22px}
.rasmala-workspace .workspace-page .table-wrap{max-width:100%;margin-top:16px}
.rasmala-workspace .workspace-page .table th{white-space:nowrap}
.rasmala-workspace .hrx-page{background:transparent;padding:0}
.rasmala-workspace .hrx-shell{gap:20px}
.rasmala-workspace .hrx-hero{background:#243e35;border-radius:16px;padding:26px 28px;box-shadow:none}
.rasmala-workspace .hrx-hero__title{font-size:28px}.rasmala-workspace .hrx-hero__meta{font-size:14px;color:#d3dfd3;line-height:1.9}.rasmala-workspace .hrx-hero__eyebrow{color:#d5be94}
.rasmala-workspace :is(.hrx-filter-card,.hrx-nav-card,.hrx-panel){border:1px solid #dce3d4;border-radius:14px;padding:22px;background:#fff;box-shadow:none;min-width:0}
.rasmala-workspace .hrx-filter-grid{grid-template-columns:minmax(220px,1.5fr) repeat(2,minmax(140px,1fr)) auto;gap:16px}
.rasmala-workspace .hrx-filter-grid label{color:#526549}.rasmala-workspace .hrx-filter-grid :is(input,select){border-color:#d7dfce;border-radius:8px;min-height:44px;background:#fbfcf9}
.rasmala-workspace .hrx-main-tabs{gap:9px}.rasmala-workspace :is(.hrx-main-tab,.hrx-section-tab){border-radius:8px;background:#f3f6ed;border-color:#dde5d4;color:#4a6141;box-shadow:none}
.rasmala-workspace :is(.hrx-main-tab,.hrx-section-tab).is-active{background:#284737;color:#fff;border-color:#284737;box-shadow:none}
.rasmala-workspace .hrx-panel__head{padding-bottom:18px;margin-bottom:20px;border-bottom:1px solid #e4e9dd;gap:16px}.rasmala-workspace .hrx-panel__title{color:#2d472f;font-size:23px}.rasmala-workspace .hrx-panel__subtitle{color:#75816d;font-size:13px}
.rasmala-workspace .hrx-panel__actions{display:flex;flex-wrap:wrap;gap:9px}
.rasmala-workspace .hrx-stat{background:#f7f9f2;border:1px solid #e0e6d7;border-radius:11px;padding:18px}.rasmala-workspace .hrx-stat__value{color:#284737}.rasmala-workspace .hrx-stat__label{color:#78866f}
.rasmala-workspace .hrx-item-card{background:#f8faf4;border-color:#dce4d2;border-radius:11px}
.rasmala-workspace .hrx-toolbar{gap:12px;flex-wrap:wrap;margin-block:18px}
.rasmala-workspace .hrx-table-wrap{max-width:100%;border-color:#dce3d4;border-radius:11px}
.rasmala-workspace .hrx-table th{background:#edf2e5;color:#425a34;border-color:#dce4d0;padding:15px 14px}.rasmala-workspace .hrx-table td{padding:14px;border-color:#e6ebdf}.rasmala-workspace .hrx-table tbody tr:hover{background:#f7f9f3}
@media(max-width:900px){.rasmala-workspace .hrx-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rasmala-workspace .hrx-filter-actions{align-self:end}}
@media(max-width:600px){.rasmala-workspace .workspace-page>.card{padding:16px}.rasmala-workspace .workspace-page-heading .section-title{font-size:21px}.rasmala-workspace :is(.hrx-filter-card,.hrx-nav-card,.hrx-panel){padding:16px}.rasmala-workspace .hrx-hero{padding:22px 18px}.rasmala-workspace .hrx-hero__title{font-size:23px}.rasmala-workspace .hrx-filter-grid{grid-template-columns:1fr}.rasmala-workspace .hrx-filter-actions{gap:9px}.rasmala-workspace .hrx-filter-actions>.btn{flex:1}.rasmala-workspace .hrx-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.rasmala-workspace .hrx-main-tabs{gap:7px}.rasmala-workspace .hrx-main-tab{padding:10px 12px;font-size:13px}.rasmala-workspace .workspace-page .toolbar form{padding:10px}.rasmala-workspace .workspace-page .toolbar select{flex:1 1 120px}.rasmala-workspace .workspace-page .toolbar input[type=text]{width:100%}}
}

/* Shared overflow and responsive controls across internal modules. */
@media screen {
.rasmala-workspace main.container{min-width:0}
.rasmala-workspace :is(.page,.card,.toolbar,.actions,.form-actions,.stats-grid)>*{min-width:0}
.rasmala-workspace :is(.toolbar,.actions,.form-actions){gap:10px;flex-wrap:wrap}
.rasmala-workspace .toolbar{align-items:center;margin-block:16px}
.rasmala-workspace .toolbar:first-child{margin-top:0}
.rasmala-workspace :is(.toolbar,.form-actions) .btn{white-space:normal;text-align:center;line-height:1.5}
.rasmala-workspace :is(.table-wrap,.hrx-table-wrap){overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}
.rasmala-workspace .table td{overflow-wrap:break-word}
.rasmala-workspace .page input:not([type=checkbox]):not([type=radio]),.rasmala-workspace .page select,.rasmala-workspace .page textarea{max-width:100%;box-sizing:border-box}
.rasmala-workspace .help-need-modal__panel{max-height:90dvh;overflow-y:auto;width:min(560px,calc(100vw - 28px));box-sizing:border-box}
.rasmala-workspace .flash{overflow-wrap:anywhere;line-height:1.8}
.rasmala-workspace .fleet-shell-heading{flex-wrap:wrap;gap:16px}
.rasmala-workspace .fleet-shell-heading>div{min-width:0;flex-wrap:wrap}
.rasmala-workspace #fleetFrame{height:calc(100dvh - 180px)!important;min-height:540px!important}
@media(max-width:650px){
.rasmala-workspace main.container{width:100%;padding-inline:12px}
.rasmala-workspace .card{padding:16px}
.rasmala-workspace .toolbar{align-items:stretch;gap:12px}
.rasmala-workspace .toolbar>.actions,.rasmala-workspace .toolbar>form{max-width:100%;width:100%}
.rasmala-workspace .toolbar input[type=search],.rasmala-workspace .toolbar input[type=text]{min-width:0;flex:1 1 180px}
.rasmala-workspace .toolbar select{min-width:0;max-width:100%}
.rasmala-workspace .btn{min-height:42px}
.rasmala-workspace .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.rasmala-workspace .fleet-shell-heading{padding:14px!important}
.rasmala-workspace .fleet-shell-heading img{display:none}
.rasmala-workspace #fleetFrame{height:calc(100dvh - 120px)!important;min-height:480px!important}
.rasmala-workspace .app-footer__inner{flex-wrap:wrap;gap:12px}
}
}
