:root{
    --brand-950:#08254b;
    --brand-900:#0b3268;
    --brand-800:#0f478f;
    --brand-700:#145fb9;
    --brand-600:#1674d1;
    --brand-500:#2487e8;
    --brand-100:#e8f3ff;
    --brand-50:#f3f8ff;
    --surface:#ffffff;
    --surface-soft:#f7faff;
    --page:#eef4fb;
    --line:#d9e5f2;
    --line-dark:#c3d4e7;
    --text:#102a4c;
    --text-soft:#5d718d;
    --success:#137647;
    --danger:#b4233a;
    --warning:#9a6700;
    --shadow:0 12px 32px rgba(14,51,96,.08);
    --shadow-soft:0 5px 16px rgba(14,51,96,.055);
}

html{
    scroll-behavior:smooth;
}

body.portal-body{
    min-width:320px;
    overflow-x:hidden;
    background:
        radial-gradient(circle at 95% 4%, rgba(36,135,232,.09), transparent 24rem),
        var(--page);
    color:var(--text);
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    font-size:14px;
    line-height:1.5;
}

.professional-shell{
    min-height:100vh;
}

.professional-sidebar{
    width:270px;
    padding:0;
    overflow:hidden;
    background:
        radial-gradient(circle at 10% 0%, rgba(62,151,243,.28), transparent 20rem),
        linear-gradient(180deg,var(--brand-950),var(--brand-900) 52%,#092a57);
    border-right:1px solid rgba(255,255,255,.06);
    box-shadow:18px 0 48px rgba(8,37,75,.12);
}

.sidebar-head{
    display:flex;
    min-height:78px;
    align-items:center;
    justify-content:space-between;
    padding:14px 17px;
    border-bottom:1px solid rgba(255,255,255,.09);
}

.professional-brand{
    min-width:0;
    padding:0;
    gap:11px;
}

.brand-logo-wrap,
.professional-brand .brand-mark{
    display:grid;
    width:43px;
    height:43px;
    flex:0 0 43px;
    place-items:center;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.32);
    border-radius:13px;
    background:#fff;
    box-shadow:0 8px 20px rgba(0,0,0,.16);
}

.brand-logo-wrap img{
    width:100%;
    height:100%;
    object-fit:contain;
    padding:4px;
}

.professional-brand .brand-mark{
    background:linear-gradient(145deg,#fff,#dceeff);
    color:var(--brand-700);
    font-size:16px;
}

.brand-copy{
    display:grid;
    min-width:0;
}

.brand-copy strong{
    overflow:hidden;
    color:#fff;
    font-size:14px;
    font-weight:800;
    letter-spacing:.01em;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.brand-copy small{
    overflow:hidden;
    color:#9fc8f4;
    font-size:10.5px;
    font-weight:600;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.sidebar-close{
    display:none;
    border:0;
    background:transparent;
    color:#fff;
    font-size:28px;
    cursor:pointer;
}

.sidebar-context{
    display:grid;
    gap:2px;
    margin:12px 13px 6px;
    padding:12px;
    border:1px solid rgba(255,255,255,.1);
    border-radius:12px;
    background:rgba(255,255,255,.07);
    color:#d8eaff;
}

.sidebar-context .context-label{
    color:#8ebbe9;
    font-size:9.5px;
    font-weight:800;
    letter-spacing:.11em;
    text-transform:uppercase;
}

.sidebar-context strong{
    overflow:hidden;
    font-size:12.5px;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.sidebar-context > span:last-child{
    overflow:hidden;
    color:#a9cbea;
    font-size:10.5px;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.professional-nav{
    height:calc(100vh - 245px);
    gap:0;
    padding:6px 11px 18px;
    overflow-y:auto;
    scrollbar-width:thin;
    scrollbar-color:rgba(255,255,255,.18) transparent;
}

.nav-group{
    display:grid;
    gap:3px;
    margin-top:12px;
}

.nav-group-label{
    padding:0 10px 5px;
    color:#75a8dc;
    font-size:9px;
    font-weight:800;
    letter-spacing:.13em;
    text-transform:uppercase;
}

.professional-nav .nav-link{
    position:relative;
    display:flex;
    min-height:41px;
    align-items:center;
    gap:10px;
    padding:8px 10px;
    border:1px solid transparent;
    border-radius:10px;
    color:#cfe5fb;
    font-size:12.5px;
    font-weight:650;
    transition:background .16s,border-color .16s,transform .16s;
}

.professional-nav .nav-link:hover{
    transform:translateX(2px);
    border-color:rgba(255,255,255,.08);
    background:rgba(255,255,255,.09);
    color:#fff;
}

.professional-nav .nav-link.active{
    border-color:rgba(255,255,255,.2);
    background:linear-gradient(100deg,rgba(39,139,239,.55),rgba(255,255,255,.11));
    box-shadow:0 8px 20px rgba(1,16,36,.15);
    color:#fff;
}

.professional-nav .nav-link.active::before{
    position:absolute;
    left:-11px;
    width:3px;
    height:24px;
    border-radius:0 4px 4px 0;
    background:#62b3ff;
    content:"";
}

.nav-icon{
    display:grid;
    width:20px;
    height:20px;
    flex:0 0 20px;
    place-items:center;
    color:#94c9fb;
}

.nav-icon svg{
    width:18px;
    height:18px;
}

.nav-link.active .nav-icon{
    color:#fff;
}

.nav-label{
    min-width:0;
    flex:1;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.nav-chevron,
.nav-external{
    color:#70a5d8;
    font-size:17px;
}

.sidebar-footer{
    position:absolute;
    right:0;
    bottom:0;
    left:0;
    padding:11px 14px 12px;
    border-top:1px solid rgba(255,255,255,.08);
    background:rgba(4,25,53,.38);
    color:#93bde5;
}

.sidebar-help{
    display:grid;
    margin-bottom:8px;
}

.sidebar-help strong{
    color:#e9f5ff;
    font-size:11px;
}

.sidebar-help span,
.sidebar-footer > small{
    font-size:9.5px;
}

.professional-main{
    width:calc(100% - 270px);
    min-width:0;
    margin-left:270px;
}

.professional-topbar{
    height:68px;
    padding:0 22px;
    border-bottom:1px solid var(--line);
    background:rgba(255,255,255,.94);
    backdrop-filter:blur(14px);
}

.topbar-left,
.topbar-right{
    display:flex;
    align-items:center;
    gap:12px;
}

.professional-topbar .top-title strong{
    color:var(--text);
    font-size:15px;
    font-weight:800;
}

.professional-topbar .top-title small{
    color:var(--text-soft);
    font-size:10.5px;
}

.menu-toggle{
    width:38px;
    height:38px;
    align-content:center;
    justify-items:center;
    border:1px solid var(--line);
    border-radius:10px;
    background:#fff;
}

.menu-toggle span{
    display:block;
    width:17px;
    height:2px;
    margin:2px 0;
    border-radius:2px;
    background:var(--brand-800);
}

.top-date{
    display:grid;
    justify-items:end;
    line-height:1.1;
}

.top-date span{
    color:var(--text-soft);
    font-size:9.5px;
    font-weight:700;
    text-transform:uppercase;
}

.top-date strong{
    color:#284666;
    font-size:11.5px;
}

.profile-chip{
    display:flex!important;
    align-items:center;
    gap:9px;
    padding:5px 10px 5px 5px;
    border:1px solid var(--line);
    border-radius:999px;
    background:#fff;
    box-shadow:var(--shadow-soft);
}

.profile-avatar{
    display:grid;
    width:34px;
    height:34px;
    place-items:center;
    border-radius:50%;
    background:linear-gradient(145deg,var(--brand-700),var(--brand-500));
    color:#fff;
    font-weight:850;
}

.profile-copy{
    display:grid;
    max-width:160px;
}

.profile-copy strong,
.profile-copy small{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.profile-copy strong{
    color:var(--text);
    font-size:11.5px;
}

.profile-copy small{
    color:var(--text-soft);
    font-size:9.5px;
}

.logout-form{
    margin:0;
}

.logout-button{
    display:grid;
    width:38px;
    height:38px;
    place-items:center;
    border:1px solid var(--line);
    border-radius:10px;
    background:#fff;
    color:#55708e;
    cursor:pointer;
}

.logout-button:hover{
    border-color:#f0bbc4;
    background:#fff4f5;
    color:var(--danger);
}

.logout-button svg{
    width:18px;
    height:18px;
}

.professional-content{
    width:100%;
    max-width:1600px;
    min-width:0;
    margin:0 auto;
    padding:20px 22px 34px;
    overflow-x:hidden;
}

.page-guidance{
    position:relative;
    display:grid;
    grid-template-columns:auto minmax(0,1fr) minmax(250px,.55fr) auto;
    gap:13px;
    align-items:center;
    margin-bottom:16px;
    padding:13px 15px;
    border:1px solid #cce2f9;
    border-radius:13px;
    background:linear-gradient(110deg,#f7fbff,#edf6ff);
    box-shadow:var(--shadow-soft);
}

.guidance-icon{
    display:grid;
    width:31px;
    height:31px;
    place-items:center;
    border-radius:9px;
    background:var(--brand-600);
    color:#fff;
    font-family:Georgia,serif;
    font-size:17px;
    font-weight:800;
}

.guidance-copy,
.guidance-example{
    min-width:0;
}

.guidance-copy strong{
    color:#153b69;
    font-size:12.5px;
}

.guidance-copy p,
.guidance-example p{
    margin:2px 0 0;
    color:#5d718c;
    font-size:11.5px;
}

.guidance-example{
    padding-left:14px;
    border-left:1px solid #d4e5f6;
}

.guidance-example span{
    color:var(--brand-700);
    font-size:9px;
    font-weight:850;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.guidance-close{
    border:0;
    background:transparent;
    color:#7590ad;
    font-size:20px;
    cursor:pointer;
}

.professional-alert{
    display:flex;
    gap:11px;
    align-items:flex-start;
    padding:12px 14px;
    border:1px solid transparent;
    box-shadow:var(--shadow-soft);
}

.professional-alert.success{
    border-color:#bce6ce;
    background:#f1fbf5;
}

.professional-alert.danger{
    border-color:#f0c5cb;
    background:#fff6f7;
}

.professional-alert .alert-icon{
    display:grid;
    width:27px;
    height:27px;
    flex:0 0 27px;
    place-items:center;
    border-radius:50%;
    background:currentColor;
    color:#fff;
    font-size:13px;
    font-weight:850;
}

.professional-alert.success .alert-icon{
    background:var(--success);
}

.professional-alert.danger .alert-icon{
    background:var(--danger);
}

.professional-alert p{
    margin:1px 0 0;
}

.professional-alert ul{
    margin:5px 0 0;
    padding-left:18px;
}

/* Universal page refinement */
.page-head,
.v71-page-head{
    align-items:flex-start;
    margin-bottom:15px;
}

.page-head h1,
.v71-page-head h1{
    color:var(--text);
    font-size:clamp(20px,2.1vw,27px);
    font-weight:850;
    letter-spacing:-.025em;
}

.page-head p,
.v71-page-head p{
    max-width:780px;
    margin:4px 0 0;
    color:var(--text-soft);
    font-size:12.5px;
}

.card,
.panel,
.v71-card{
    min-width:0;
    border:1px solid var(--line);
    border-radius:15px;
    background:var(--surface);
    box-shadow:var(--shadow-soft);
}

.card:hover{
    border-color:#c9dced;
}

.card h2,
.card h3,
.panel h2,
.panel h3{
    color:var(--text);
    letter-spacing:-.012em;
}

.grid{
    min-width:0;
}

.btn{
    min-height:36px;
    gap:6px;
    border:1px solid var(--line-dark);
    border-radius:9px;
    padding:8px 13px;
    background:#fff;
    color:#234767;
    font-size:12px;
    font-weight:750;
    box-shadow:0 2px 5px rgba(19,55,91,.04);
    transition:transform .14s,box-shadow .14s,background .14s;
}

.btn:hover{
    transform:translateY(-1px);
    box-shadow:0 6px 13px rgba(19,55,91,.1);
}

.btn-primary,
.btn.primary{
    border-color:var(--brand-600);
    background:linear-gradient(145deg,var(--brand-600),var(--brand-700));
    color:#fff;
}

.btn-light{
    border-color:#dce6f1;
    background:#f5f8fc;
}

input,
select,
textarea{
    min-height:39px;
    max-width:100%;
    border:1px solid #c7d7e8;
    border-radius:9px;
    padding:8px 10px;
    background:#fff;
    color:var(--text);
    font-size:12.5px;
    transition:border-color .14s,box-shadow .14s;
}

textarea{
    min-height:82px;
}

input:focus,
select:focus,
textarea:focus{
    outline:none;
    border-color:#5aa3eb;
    box-shadow:0 0 0 3px rgba(36,135,232,.12);
}

input::placeholder,
textarea::placeholder{
    color:#91a2b6;
}

label,
.field label,
.v71-field > span{
    color:#294767;
    font-size:11.5px;
    font-weight:750;
}

.form-grid{
    gap:12px;
}

fieldset{
    min-width:0;
    border-color:var(--line);
    background:#fbfdff;
}

legend{
    color:#21466d;
    font-size:12px;
}

.table-wrap,
.v71-responsive-table{
    max-width:100%;
    overflow:auto;
    border:1px solid var(--line);
    border-radius:12px;
    background:#fff;
    scrollbar-width:thin;
    scrollbar-color:#b7cde3 #f0f5fa;
}

.table-wrap table,
.table,
.v71-responsive-table table{
    width:100%;
    min-width:720px;
    border-collapse:collapse;
}

.table-wrap th,
.table th,
.v71-responsive-table th{
    position:sticky;
    top:0;
    z-index:2;
    padding:10px 11px;
    border-bottom:1px solid var(--line);
    background:#f3f8fd;
    color:#60748c;
    font-size:9.5px;
    font-weight:850;
    letter-spacing:.06em;
    text-transform:uppercase;
    white-space:nowrap;
}

.table-wrap td,
.table td,
.v71-responsive-table td{
    padding:10px 11px;
    border-bottom:1px solid #e8eff6;
    color:#294663;
    font-size:11.5px;
    vertical-align:middle;
}

.table-wrap tbody tr:hover td,
.table tbody tr:hover td{
    background:#f8fbff;
}

.badge,
.v71-badge{
    border:1px solid #cfe0f2;
    background:#edf6ff;
    color:#175ca9;
    font-size:9.5px;
    font-weight:800;
}

.filters,
.toolbar{
    align-items:center;
    padding:10px;
    border:1px solid var(--line);
    border-radius:11px;
    background:#f9fbfe;
}

.filters input{
    max-width:420px;
}

.sticky-actions,
.form-actions,
.v71-actions{
    background:rgba(255,255,255,.94);
}

.pagination nav{
    display:flex;
    justify-content:flex-end;
}

.pagination svg{
    width:18px;
}

/* Dashboard system */
.dashboard-hero{
    position:relative;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:25px;
    align-items:center;
    overflow:hidden;
    margin-bottom:15px;
    padding:24px 26px;
    border-radius:18px;
    background:
        radial-gradient(circle at 86% 15%,rgba(121,195,255,.25),transparent 14rem),
        linear-gradient(120deg,var(--brand-950),var(--brand-700));
    box-shadow:0 18px 40px rgba(7,48,96,.18);
    color:#fff;
}

.dashboard-hero::after{
    position:absolute;
    right:-50px;
    bottom:-90px;
    width:250px;
    height:250px;
    border:35px solid rgba(255,255,255,.055);
    border-radius:50%;
    content:"";
}

.dashboard-hero-copy{
    position:relative;
    z-index:1;
}

.dashboard-hero .hero-kicker{
    display:inline-flex;
    margin-bottom:7px;
    padding:4px 9px;
    border:1px solid rgba(255,255,255,.2);
    border-radius:999px;
    background:rgba(255,255,255,.1);
    color:#d7ecff;
    font-size:9px;
    font-weight:850;
    letter-spacing:.1em;
    text-transform:uppercase;
}

.dashboard-hero h1{
    margin:0;
    font-size:clamp(25px,3vw,38px);
    font-weight:850;
    letter-spacing:-.035em;
}

.dashboard-hero p{
    max-width:750px;
    margin:7px 0 0;
    color:#d1e7fb;
    font-size:12.5px;
}

.dashboard-hero-actions{
    position:relative;
    z-index:1;
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    justify-content:flex-end;
}

.dashboard-hero .btn{
    border-color:rgba(255,255,255,.22);
    background:rgba(255,255,255,.12);
    color:#fff;
    backdrop-filter:blur(5px);
}

.dashboard-hero .btn.primary{
    border-color:#fff;
    background:#fff;
    color:var(--brand-800);
}

.dashboard-section-title{
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:12px;
    margin:18px 0 10px;
}

.dashboard-section-title h2{
    margin:0;
    color:var(--text);
    font-size:16px;
}

.dashboard-section-title p{
    margin:2px 0 0;
    color:var(--text-soft);
    font-size:11px;
}

.metric-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
}

.metric-card{
    position:relative;
    display:grid;
    min-height:125px;
    grid-template-columns:minmax(0,1fr) auto;
    gap:12px;
    overflow:hidden;
    padding:16px;
    border:1px solid var(--line);
    border-radius:14px;
    background:#fff;
    box-shadow:var(--shadow-soft);
    color:inherit;
}

.metric-card:hover{
    transform:translateY(-2px);
    border-color:#b9d4ed;
    box-shadow:var(--shadow);
}

.metric-copy{
    display:grid;
    align-content:space-between;
}

.metric-label{
    color:#647990;
    font-size:10px;
    font-weight:800;
    letter-spacing:.045em;
    text-transform:uppercase;
}

.metric-value{
    margin-top:6px;
    color:var(--text);
    font-size:clamp(23px,2.5vw,32px);
    font-weight:850;
    line-height:1;
}

.metric-link{
    margin-top:10px;
    color:var(--brand-700);
    font-size:10.5px;
    font-weight:750;
}

.metric-icon{
    display:grid;
    width:43px;
    height:43px;
    place-items:center;
    border-radius:12px;
    background:var(--brand-100);
    color:var(--brand-700);
}

.metric-icon svg{
    width:22px;
    height:22px;
}

.quick-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
}

.quick-action-card{
    display:grid;
    min-height:118px;
    grid-template-columns:auto minmax(0,1fr);
    gap:13px;
    align-items:start;
    padding:16px;
    border:1px solid var(--line);
    border-radius:14px;
    background:#fff;
    box-shadow:var(--shadow-soft);
    color:inherit;
}

.quick-action-card:hover{
    border-color:#acd0f1;
    background:#fbfdff;
}

.quick-icon{
    display:grid;
    width:40px;
    height:40px;
    place-items:center;
    border-radius:11px;
    background:linear-gradient(145deg,#e7f3ff,#f6fbff);
    color:var(--brand-700);
}

.quick-icon svg{
    width:20px;
    height:20px;
}

.quick-action-card strong{
    display:block;
    color:var(--text);
    font-size:12.5px;
}

.quick-action-card p{
    margin:4px 0 8px;
    color:var(--text-soft);
    font-size:10.5px;
}

.quick-action-card span{
    color:var(--brand-700);
    font-size:10px;
    font-weight:750;
}

.mobile-bottom-nav{
    display:none;
}

.mobile-overlay{
    position:fixed;
    inset:0;
    z-index:45;
    background:rgba(5,25,52,.52);
    backdrop-filter:blur(2px);
}

@media(max-width:1250px){
    .metric-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .quick-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .grid-4{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:900px){
    .professional-sidebar{
        z-index:60;
        transform:translateX(-100%);
        transition:transform .22s ease;
    }

    .professional-sidebar.open{
        transform:translateX(0);
    }

    .sidebar-close{
        display:block;
    }

    .professional-main{
        width:100%;
        margin-left:0;
    }

    .menu-toggle{
        display:grid;
    }

    .professional-content{
        padding:16px 16px 82px;
    }

    .page-guidance{
        grid-template-columns:auto minmax(0,1fr) auto;
    }

    .guidance-example{
        display:none;
    }

    .profile-copy,
    .top-date{
        display:none;
    }

    .profile-chip{
        padding:4px;
        border:0;
        box-shadow:none;
    }

    .mobile-bottom-nav{
        position:fixed;
        right:0;
        bottom:0;
        left:0;
        z-index:40;
        display:grid;
        grid-template-columns:repeat(5,1fr);
        padding:6px max(7px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(7px,env(safe-area-inset-left));
        border-top:1px solid var(--line);
        background:rgba(255,255,255,.97);
        box-shadow:0 -8px 25px rgba(14,51,96,.09);
        backdrop-filter:blur(12px);
    }

    .mobile-bottom-nav a,
    .mobile-bottom-nav button{
        display:grid;
        justify-items:center;
        gap:2px;
        border:0;
        background:transparent;
        color:#6b819b;
        font:inherit;
        text-decoration:none;
    }

    .mobile-bottom-nav a.active{
        color:var(--brand-700);
    }

    .mobile-bottom-nav span{
        display:grid;
        width:26px;
        height:26px;
        place-items:center;
    }

    .mobile-bottom-nav svg{
        width:19px;
        height:19px;
    }

    .mobile-bottom-nav small{
        font-size:8.5px;
        font-weight:750;
    }

    .dashboard-hero{
        grid-template-columns:1fr;
        padding:21px;
    }

    .dashboard-hero-actions{
        justify-content:flex-start;
    }
}

@media(max-width:680px){
    .professional-topbar{
        height:60px;
        padding:0 11px;
    }

    .professional-content{
        padding:12px 10px 78px;
    }

    .topbar-right{
        gap:4px;
    }

    .page-guidance{
        align-items:start;
        padding:11px;
    }

    .guidance-close{
        font-size:18px;
    }

    .page-head,
    .v71-page-head{
        flex-direction:column;
        align-items:stretch;
        gap:8px;
    }

    .page-head > .btn,
    .v71-page-head > .btn{
        width:100%;
    }

    .metric-grid,
    .quick-grid,
    .grid-4,
    .grid-3,
    .grid-2,
    .form-grid{
        grid-template-columns:1fr;
    }

    .metric-card{
        min-height:105px;
    }

    .dashboard-hero{
        padding:18px;
        border-radius:15px;
    }

    .dashboard-hero-actions{
        display:grid;
        grid-template-columns:1fr;
    }

    .dashboard-hero-actions .btn{
        width:100%;
    }

    .card,
    .panel,
    .v71-card{
        padding:12px;
        border-radius:12px;
    }

    .filters,
    .toolbar,
    .inline-form{
        display:grid;
        grid-template-columns:1fr;
        align-items:stretch;
    }

    .filters input,
    .inline-form input,
    .inline-form select{
        width:100%;
        max-width:none;
    }

    .table-wrap,
    .v71-responsive-table{
        margin-right:-2px;
        margin-left:-2px;
        border-radius:10px;
    }

    .table-wrap table,
    .table,
    .v71-responsive-table table{
        min-width:640px;
    }

    .sticky-actions,
    .form-actions,
    .v71-actions{
        position:sticky;
        bottom:58px;
        z-index:8;
        margin:12px -12px -12px;
        padding:10px 12px;
        border-top:1px solid var(--line);
        box-shadow:0 -8px 20px rgba(14,51,96,.07);
    }

    .sticky-actions .btn,
    .form-actions .btn,
    .v71-actions .btn{
        width:100%;
    }

    .chips,
    .role-grid{
        display:grid;
        grid-template-columns:1fr;
    }
}

/* Desktop overflow protection for legacy pages */
@media(min-width:901px){
    .content > *{
        max-width:100%;
    }

    .split{
        display:grid;
        grid-template-columns:minmax(320px,.72fr) minmax(0,1.28fr);
        gap:15px;
        align-items:start;
    }

    .mini-grid{
        display:grid;
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:9px;
    }
}

@media(min-width:681px) and (max-width:1100px){
    .split{
        grid-template-columns:1fr;
    }

    .mini-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
