*{box-sizing:border-box;margin:0;padding:0}
:root{--bg:#f4f7fb;--surface:#fff;--text:#101828;--muted:#667085;--line:#e4e7ec;--primary:#635bff;--primary-dark:#5147f0;--success:#12b76a;--danger:#f04438;--shadow:0 24px 70px rgba(16,24,40,.12)}
body{font-family:Inter,Arial,Helvetica,sans-serif;color:var(--text);background:var(--bg)}
a{text-decoration:none;color:inherit}button,input{font:inherit}
.login-body{min-height:100vh;background:linear-gradient(135deg,#0d1325 0%,#172554 45%,#312e81 100%)}
.login-shell{min-height:100vh;display:grid;grid-template-columns:1.1fr .9fr}
.login-brand-panel{padding:8vw;display:flex;flex-direction:column;justify-content:center;color:#fff}
.brand-badge{width:max-content;padding:9px 14px;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:rgba(255,255,255,.08);font-size:13px;margin-bottom:28px}
.login-brand-panel h1{font-size:clamp(38px,5vw,72px);line-height:1.05;max-width:760px;letter-spacing:-2px}
.login-brand-panel>p{max-width:650px;margin-top:24px;color:#d0d5dd;font-size:18px;line-height:1.7}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:52px}
.feature-grid article{display:flex;gap:12px;padding:18px;border:1px solid rgba(255,255,255,.13);border-radius:18px;background:rgba(255,255,255,.06);backdrop-filter:blur(10px)}
.feature-grid article>span{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#fff;color:#312e81;font-weight:800}
.feature-grid strong,.feature-grid small{display:block}.feature-grid small{margin-top:4px;color:#c7d2fe}
.login-card-wrap{padding:30px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f8fafc}
.login-card{width:min(100%,480px);background:#fff;border:1px solid var(--line);border-radius:28px;padding:42px;box-shadow:var(--shadow)}
.logo{display:flex;align-items:center;gap:12px}.logo-mark{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,var(--primary),#8b5cf6);color:#fff;font-size:22px;font-weight:900}
.logo strong,.logo small{display:block}.logo small{margin-top:3px;color:var(--muted);font-size:12px}
.login-heading{margin:38px 0 26px}.login-heading p,.page-intro p,.panel-head p{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:var(--primary)}
.login-heading h2{font-size:32px;margin:8px 0}.login-heading span{color:var(--muted)}
.field{display:block;margin-bottom:18px}.field>span{display:block;font-weight:700;font-size:14px;margin-bottom:8px}
.field input{width:100%;height:52px;border:1px solid #d0d5dd;border-radius:13px;padding:0 15px;outline:none;transition:.2s}
.field input:focus{border-color:var(--primary);box-shadow:0 0 0 4px rgba(99,91,255,.12)}
.password-wrap{position:relative}.password-wrap input{padding-right:72px}
.show-password{position:absolute;right:10px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:var(--primary);font-weight:700;cursor:pointer}
.primary-btn{width:100%;height:52px;border:0;border-radius:13px;background:var(--primary);color:#fff;font-weight:800;cursor:pointer;transition:.2s}
.primary-btn:hover{background:var(--primary-dark);transform:translateY(-1px)}.primary-btn.compact{width:auto;height:44px;padding:0 18px}
.alert{padding:13px 15px;border-radius:12px;margin-bottom:18px;font-size:14px}.alert-error{background:#fef3f2;color:#b42318;border:1px solid #fecdca}.alert-success{background:#ecfdf3;color:#027a48;border:1px solid #abefc6}
.copyright{margin-top:22px;color:#667085;font-size:13px}
.dashboard-body{min-height:100vh}.dashboard-layout{min-height:100vh;display:grid;grid-template-columns:260px 1fr}
.sidebar{position:sticky;top:0;height:100vh;background:#101828;color:#fff;padding:24px 18px;display:flex;flex-direction:column}
.sidebar-logo{padding:0 8px 26px;border-bottom:1px solid rgba(255,255,255,.09)}.sidebar nav{display:flex;flex-direction:column;gap:7px;margin-top:24px}
.sidebar nav a{display:flex;justify-content:space-between;align-items:center;padding:13px 14px;border-radius:12px;color:#d0d5dd}.sidebar nav a:hover,.sidebar nav a.active{background:#635bff;color:#fff}.sidebar nav small{font-size:10px;opacity:.65}
.logout-link{margin-top:auto;padding:13px 14px;border-radius:12px;color:#fda29b;background:rgba(240,68,56,.08)}
.dashboard-main{min-width:0}.topbar{height:84px;padding:0 32px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:18px}.topbar>div:nth-child(2){flex:1}.topbar small{color:var(--muted)}.topbar h1{font-size:22px;margin-top:4px}
.profile-chip{display:flex;align-items:center;gap:10px}.profile-chip>span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#eef2ff;color:#4338ca;font-weight:800}.profile-chip strong,.profile-chip small{display:block}
.menu-btn{display:none;border:0;background:#f2f4f7;width:42px;height:42px;border-radius:10px;font-size:20px}
.content{padding:32px}.page-intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}.page-intro h2{font-size:30px;margin:7px 0}.page-intro span{color:var(--muted)}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.stat-card,.panel{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 30px rgba(16,24,40,.04)}
.stat-card{padding:22px}.stat-card span,.stat-card small{display:block;color:var(--muted)}.stat-card strong{display:block;font-size:30px;margin:12px 0}
.panel{margin-top:24px;padding:24px}.panel-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:18px;border-bottom:1px solid var(--line)}.panel-head h3{font-size:20px;margin-top:6px}
.status-badge{padding:7px 10px;border-radius:999px;font-size:12px;font-weight:800}.status-badge.success{background:#ecfdf3;color:#027a48}
.empty-state{text-align:center;padding:52px 20px}.empty-state strong{display:block;font-size:20px}.empty-state p{margin-top:9px;color:var(--muted)}
@media(max-width:1100px){.stats-grid{grid-template-columns:repeat(2,1fr)}.feature-grid{grid-template-columns:1fr}}
@media(max-width:900px){.login-shell{grid-template-columns:1fr}.login-brand-panel{display:none}.login-card-wrap{min-height:100vh;padding:18px}.dashboard-layout{display:block}.sidebar{position:fixed;z-index:50;left:-280px;width:260px;transition:.25s}.sidebar.open{left:0;box-shadow:20px 0 60px rgba(16,24,40,.22)}.menu-btn{display:block}}
@media(max-width:640px){.login-card{padding:26px 20px;border-radius:22px}.content{padding:20px 14px 90px}.topbar{height:76px;padding:0 14px}.profile-chip div{display:none}.page-intro{align-items:flex-start;gap:18px}.page-intro .primary-btn{display:inline-flex}.stats-grid{grid-template-columns:1fr 1fr;gap:12px}.stat-card{padding:17px}.stat-card strong{font-size:24px}.panel{padding:18px}}
@media(max-width:420px){.stats-grid{grid-template-columns:1fr}}

.inline-btn{display:inline-flex;align-items:center;justify-content:center}
.filter-bar{display:grid;grid-template-columns:1fr 180px auto auto;gap:12px;margin-bottom:20px}
.filter-bar input,.filter-bar select,.field select{height:48px;border:1px solid #d0d5dd;border-radius:12px;padding:0 14px;background:#fff;outline:none}
.filter-bar input:focus,.filter-bar select:focus,.field select:focus{border-color:var(--primary);box-shadow:0 0 0 4px rgba(99,91,255,.12)}
.secondary-btn,.ghost-btn{display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 16px;border-radius:12px;font-weight:700}
.secondary-btn{background:#eef2ff;color:#4338ca;border:1px solid #c7d2fe}
.ghost-btn{background:#fff;color:#344054;border:1px solid #d0d5dd}
.table-wrap{overflow:auto}
.data-table{width:100%;border-collapse:collapse;min-width:980px}
.data-table th,.data-table td{padding:15px 14px;text-align:left;border-bottom:1px solid var(--line);vertical-align:middle}
.data-table th{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#667085;background:#f9fafb}
.user-cell{display:flex;align-items:center;gap:10px}
.user-cell>span{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#eef2ff;color:#4338ca;font-weight:800}
.user-cell strong,.user-cell small{display:block}
.user-cell small,.block-muted{margin-top:4px;color:var(--muted);font-size:12px}
.action-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.table-action{border:0;background:transparent;color:var(--primary);font-weight:700;cursor:pointer;padding:5px}
.danger-text{color:#d92d20}
.empty-cell{text-align:center!important;color:var(--muted);padding:38px!important}
.status-badge.active{background:#ecfdf3;color:#027a48}
.status-badge.inactive{background:#f2f4f7;color:#475467}
.status-badge.blocked{background:#fef3f2;color:#b42318}
.form-panel{max-width:1000px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 20px}
.full-span{grid-column:1/-1}
.form-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:8px}
.form-actions .primary-btn{width:auto}
.info-card,.password-rules{padding:16px;border-radius:14px;background:#f8fafc;border:1px solid var(--line)}
.info-card p,.password-rules p{margin-top:8px;color:var(--muted);font-size:14px}
.narrow-panel{max-width:620px}
.profile-avatar-block{display:flex;align-items:center;gap:15px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.profile-avatar-block>span{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#eef2ff;color:#4338ca;font-size:24px;font-weight:900}
.profile-avatar-block strong,.profile-avatar-block small{display:block}
.profile-avatar-block small{margin-top:5px;color:var(--muted)}
@media(max-width:800px){
    .filter-bar{grid-template-columns:1fr 1fr}
    .form-grid{grid-template-columns:1fr}
    .full-span{grid-column:auto}
}
@media(max-width:540px){
    .filter-bar{grid-template-columns:1fr}
    .form-actions{flex-direction:column-reverse;align-items:stretch}
    .form-actions>*{width:100%!important}
}

.field textarea{width:100%;border:1px solid #d0d5dd;border-radius:13px;padding:14px;outline:none;resize:vertical;min-height:120px}
.field textarea:focus{border-color:var(--primary);box-shadow:0 0 0 4px rgba(99,91,255,.12)}
.task-filter{grid-template-columns:1fr 150px 190px auto auto}
.user-task-filter{grid-template-columns:180px 220px auto auto}
.type-badge{display:inline-flex;align-items:center;justify-content:center;padding:7px 10px;border-radius:999px;font-size:12px;font-weight:800}
.type-badge.short{background:#eff8ff;color:#175cd3}
.type-badge.long{background:#f4f3ff;color:#5925dc}
.task-status.assigned{background:#f2f4f7;color:#475467}
.task-status.in_progress{background:#eff8ff;color:#175cd3}
.task-status.uploaded,.task-status.under_review{background:#fffaeb;color:#b54708}
.task-status.changes_required{background:#fff4ed;color:#c4320a}
.task-status.approved,.task-status.payment_pending{background:#ecfdf3;color:#027a48}
.task-status.rejected{background:#fef3f2;color:#b42318}
.task-status.paid{background:#eef4ff;color:#3538cd}
.price-summary{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.price-summary>div{padding:18px;border:1px solid var(--line);border-radius:16px;background:#f8fafc}
.price-summary span,.price-summary small{display:block;color:var(--muted)}
.price-summary strong{display:block;font-size:24px;margin:8px 0}
.page-actions{display:flex;gap:10px;align-items:center}
.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:20px}
.detail-main,.detail-side{margin-top:0}
.detail-content{display:flex;flex-direction:column}
.detail-row{display:grid;grid-template-columns:180px 1fr;gap:20px;padding:18px 0;border-bottom:1px solid var(--line)}
.detail-row:last-child{border-bottom:0}
.detail-row>span{color:var(--muted);font-weight:700}
.detail-row p{line-height:1.7}
.creator-card{display:flex;align-items:center;gap:12px;margin-top:20px;padding:16px;border-radius:14px;background:#f8fafc;border:1px solid var(--line)}
.creator-card>span{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#eef2ff;color:#4338ca;font-weight:900}
.creator-card strong,.creator-card small{display:block}
.creator-card small{margin-top:3px;color:var(--muted)}
.side-copy{color:var(--muted);line-height:1.6;margin-bottom:16px}
.progress-message{padding:16px;border-radius:14px;background:#f8fafc;border:1px solid var(--line);margin-bottom:15px}
.progress-message p{margin-top:7px;color:var(--muted);line-height:1.5}
.price-box{margin-top:20px;padding:18px;border-radius:16px;background:linear-gradient(135deg,#111827,#312e81);color:#fff}
.price-box span,.price-box small{display:block}
.price-box small{margin-top:8px;color:#d0d5dd}
.price-box strong{display:block;font-size:28px;margin-top:8px}
.task-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.task-card{display:block;padding:20px;border:1px solid var(--line);border-radius:18px;background:#fff;transition:.2s}
.task-card:hover{transform:translateY(-3px);box-shadow:0 14px 35px rgba(16,24,40,.08)}
.task-card-top{display:flex;justify-content:space-between;gap:10px;align-items:center}
.task-card h3{font-size:20px;margin:18px 0 10px}
.task-card>p{color:var(--muted);line-height:1.6;min-height:52px}
.task-card-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.task-card-meta span,.task-card-meta strong{display:block}
.task-card-meta span{font-size:12px;color:var(--muted);margin-bottom:5px}
button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:1100px){
    .detail-grid{grid-template-columns:1fr}
    .task-card-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:850px){
    .task-filter{grid-template-columns:1fr 1fr}
    .user-task-filter{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
    .task-card-grid{grid-template-columns:1fr}
    .detail-row{grid-template-columns:1fr;gap:8px}
    .page-actions{width:100%}
    .page-intro{flex-direction:column}
    .price-summary{grid-template-columns:1fr}
}
@media(max-width:520px){
    .task-filter,.user-task-filter{grid-template-columns:1fr}
}

.notification-list{display:flex;flex-direction:column}
.notification-item{display:flex;gap:14px;padding:18px 0;border-bottom:1px solid var(--line)}
.notification-item:last-child{border-bottom:0}
.notification-item.unread{background:#fafaff;margin:0 -12px;padding-left:12px;padding-right:12px;border-radius:12px}
.notification-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#eef2ff;color:#4338ca;font-weight:900;flex:0 0 auto}
.notification-content{min-width:0;flex:1}
.notification-title-row{display:flex;justify-content:space-between;gap:16px}
.notification-content p{margin-top:7px;color:var(--muted);line-height:1.55}
.notification-content>span{display:inline-block;margin-top:8px;font-size:12px;color:#475467}
.notification-link{display:inline-block;margin-top:8px;color:var(--primary);font-weight:700;font-size:13px}
.timeline-panel{margin-top:20px}
.timeline-list{padding-top:8px}
.timeline-item{position:relative;display:grid;grid-template-columns:18px 1fr;gap:12px;padding:14px 0}
.timeline-item:not(:last-child):before{content:"";position:absolute;left:8px;top:29px;bottom:-15px;width:2px;background:#e4e7ec}
.timeline-dot{width:16px;height:16px;border-radius:50%;background:var(--primary);margin-top:3px;z-index:1}
.timeline-item p{margin:5px 0;color:var(--muted)}
.timeline-item small{color:#98a2b3}
.mini-list{display:flex;flex-direction:column}
.mini-list-item{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line)}
.mini-list-item:last-child{border-bottom:0}
.mini-list-item strong,.mini-list-item small{display:block}
.mini-list-item small{margin-top:5px;color:var(--muted)}
.mini-list-item>div:last-child{text-align:right}
@media(max-width:640px){
    .notification-title-row{flex-direction:column;gap:4px}
    .mini-list-item{align-items:flex-start;flex-direction:column}
    .mini-list-item>div:last-child{text-align:left}
}

.upload-panel{max-width:1000px}
.upload-info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:20px}
.upload-info-grid>div{padding:16px;border-radius:14px;background:#f8fafc;border:1px solid var(--line)}
.upload-info-grid span,.upload-info-grid strong{display:block}
.upload-info-grid span{font-size:12px;color:var(--muted);margin-bottom:7px}
.drop-zone{border:2px dashed #c7d2fe;border-radius:20px;padding:56px 20px;text-align:center;background:#fafaff;cursor:pointer;transition:.2s}
.drop-zone.dragging{border-color:var(--primary);background:#f4f3ff}
.drop-zone.hidden,.file-panel.hidden,.upload-success.hidden,.hidden{display:none!important}
.drop-icon{display:grid;place-items:center;width:64px;height:64px;border-radius:20px;background:#eef2ff;color:#4338ca;font-size:30px;font-weight:900;margin:0 auto 18px}
.drop-zone h3{font-size:22px}
.drop-zone p{color:var(--muted);margin:10px auto 18px;max-width:560px;line-height:1.6}
.file-panel{margin-top:20px}
.selected-file{display:flex;justify-content:space-between;gap:16px;padding:16px;border:1px solid var(--line);border-radius:14px;background:#f8fafc;margin-bottom:18px}
.selected-file strong,.selected-file small{display:block}
.selected-file small{margin-top:5px;color:var(--muted)}
.upload-progress-block{margin-top:18px}
.progress-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:9px}
.progress-track{height:12px;border-radius:999px;background:#eaecf0;overflow:hidden}
.progress-bar{height:100%;width:0;background:linear-gradient(90deg,var(--primary),#8b5cf6);transition:width .2s}
.upload-progress-block>small{display:block;margin-top:9px;color:var(--muted)}
.upload-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:20px}
.upload-success{text-align:center;padding:54px 20px}
.success-mark{display:grid;place-items:center;width:72px;height:72px;border-radius:50%;background:#ecfdf3;color:#027a48;font-size:34px;font-weight:900;margin:0 auto 18px}
.upload-success h3{font-size:24px}
.upload-success p{color:var(--muted);margin:10px 0 20px}
.hash-code{word-break:break-all;font-size:12px}
.task-status.pending{background:#fffaeb;color:#b54708}
.task-status.approved{background:#ecfdf3;color:#027a48}
.task-status.changes_required{background:#fff4ed;color:#c4320a}
.task-status.rejected{background:#fef3f2;color:#b42318}
@media(max-width:700px){
    .upload-info-grid{grid-template-columns:1fr}
    .drop-zone{padding:38px 16px}
    .upload-actions{flex-direction:column}
    .upload-actions>*{width:100%!important}
}

.payment-layout{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:20px}
.payment-task-panel,.payment-form-panel{margin-top:0}
.check-all{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:#475467}
.payment-task-list{display:flex;flex-direction:column}
.payment-task-item{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line);cursor:pointer}
.payment-task-item.static{grid-template-columns:1fr auto;cursor:default}
.payment-task-item:last-child{border-bottom:0}
.payment-task-item input{width:18px;height:18px}
.payment-task-item strong,.payment-task-item small{display:block}
.payment-task-item small{margin-top:5px;color:var(--muted)}
.payment-total{display:flex;justify-content:space-between;align-items:center;padding:18px;border-radius:16px;background:#101828;color:#fff;margin-top:18px}
.payment-total strong{font-size:28px}
.compact-details .detail-row{grid-template-columns:130px 1fr}
.wallet-chip{padding:14px 18px;border-radius:16px;background:#101828;color:#fff;min-width:180px}
.wallet-chip span,.wallet-chip strong{display:block}
.wallet-chip span{font-size:12px;color:#d0d5dd}
.wallet-chip strong{font-size:24px;margin-top:5px}
.task-status.pending{background:#fffaeb;color:#b54708}
.task-status.paid{background:#ecfdf3;color:#027a48}
@media(max-width:1000px){
    .payment-layout{grid-template-columns:1fr}
}
@media(max-width:640px){
    .wallet-chip{width:100%}
    .payment-task-item{grid-template-columns:auto 1fr}
    .payment-task-item>strong{grid-column:2}
}

@media(max-width:900px){
    body.sidebar-open{overflow:hidden}
    body.sidebar-open::after{
        content:"";
        position:fixed;
        inset:0;
        background:rgba(15,23,42,.45);
        z-index:89;
    }
    .sidebar{z-index:90}
    .topbar{position:relative;z-index:20}
}


/* Final responsive hardening */
img,video{max-width:100%;height:auto}
input,select,textarea,button{max-width:100%}
.data-table{min-width:760px}
.payment-task-panel{min-width:0}
.payment-form-panel{min-width:0}
.payment-form-panel .primary-btn:disabled{opacity:.58;cursor:not-allowed}
.field span small{font-weight:500;color:var(--muted)}
.alert>div+div{margin-top:5px}

@media(max-width:900px){
    .dashboard-main{min-width:0;width:100%}
    .content{padding:18px}
    .topbar{padding:14px 18px}
    .page-intro{align-items:flex-start;gap:14px}
    .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .detail-grid,.payment-layout{grid-template-columns:minmax(0,1fr)}
    .panel{min-width:0}
    .table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
}

@media(max-width:640px){
    .content{padding:14px}
    .topbar h1{font-size:20px}
    .page-intro{flex-direction:column}
    .page-intro h2{font-size:24px}
    .page-intro .ghost-btn,.page-intro .primary-btn{width:100%;text-align:center}
    .stats-grid{grid-template-columns:1fr}
    .panel{padding:16px;border-radius:16px}
    .panel-head{align-items:flex-start;gap:12px}
    .payment-task-item{
        grid-template-columns:auto minmax(0,1fr);
        gap:12px;
    }
    .payment-task-item>strong{
        grid-column:2;
        justify-self:start;
    }
    .payment-total{padding:15px}
    .payment-total strong{font-size:22px}
    .field input,.field select,.field textarea{font-size:16px}
    .primary-btn,.ghost-btn{min-height:46px}
}


/* Mobile + desktop navigation/action final repair */
.sidebar{
    overflow-y:auto;
    overflow-x:hidden;
    overscroll-behavior:contain;
}
.sidebar nav{
    flex:1 0 auto;
}
.logout-link{
    flex:0 0 auto;
}
.page-intro .primary-btn,
.page-intro .ghost-btn{
    visibility:visible!important;
    opacity:1!important;
}
.mobile-action-bar{
    display:none;
}

@media(max-width:900px){
    .sidebar{
        top:0;
        bottom:0;
        height:100dvh;
        max-height:100dvh;
        padding-bottom:24px;
    }
    .sidebar nav{
        padding-bottom:18px;
    }
    .sidebar nav a{
        min-height:48px;
        flex-shrink:0;
    }
    .menu-btn{
        display:inline-flex!important;
        align-items:center;
        justify-content:center;
        flex:0 0 42px;
        position:relative;
        z-index:95;
    }
    .page-intro .primary-btn,
    .page-intro .ghost-btn{
        display:inline-flex!important;
        align-items:center;
        justify-content:center;
    }
}

@media(max-width:640px){
    .page-intro{
        width:100%;
    }
    .page-intro>div{
        width:100%;
        min-width:0;
    }
    .page-intro .primary-btn,
    .page-intro .ghost-btn{
        display:flex!important;
        width:100%;
        min-height:48px;
        margin:0;
    }
    .panel-head{
        flex-wrap:wrap;
    }
    .panel-head .primary-btn,
    .panel-head .ghost-btn,
    .panel-head a[class*="btn"]{
        display:inline-flex!important;
        width:100%;
        justify-content:center;
        min-height:46px;
    }
    .action-row,
    .form-actions{
        display:flex;
        flex-direction:column;
        width:100%;
        gap:10px;
    }
    .action-row>a,
    .action-row>button,
    .form-actions>a,
    .form-actions>button{
        width:100%;
        justify-content:center;
    }
    .topbar{
        position:sticky;
        top:0;
        z-index:40;
        background:#fff;
    }
}
