/* IstmoSys child theme. Bootstrap layout, icons and functional states stay in Twenty-One. */
@font-face {
    font-family: "Familjen Grotesk";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/familjen-grotesk-latin.woff2") format("woff2");
}
@font-face {
    font-family: "Familjen Grotesk";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/familjen-grotesk-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
:root {
    --ist-ink: #16153f;
    --ist-night: #0e0d2e;
    --ist-teal: #2fb39a;
    --ist-teal-dark: #0f7462;
    --ist-paper: #fbf9f4;
    --ist-cream: #f4efe6;
    --ist-line: #e3dccb;
    --ist-muted: #565a6e;
}
body.istmosys-theme {
    background: var(--ist-paper);
    color: var(--ist-ink);
    font-family: "Familjen Grotesk", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.istmosys-theme h1, .istmosys-theme h2, .istmosys-theme h3,
.istmosys-theme h4, .istmosys-theme h5, .istmosys-theme h6 {
    font-family: inherit;
    color: var(--ist-ink);
    letter-spacing: -.025em;
    font-weight: 600;
}
.istmosys-theme a { color: var(--ist-teal-dark); }
.istmosys-theme a:hover { color: var(--ist-ink); }
.istmosys-theme .text-muted { color: var(--ist-muted) !important; }
.istmosys-theme :focus-visible { outline: 3px solid var(--ist-teal-dark); outline-offset: 3px; }
.istmosys-skip {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 1100;
    padding: 12px 20px;
    background: var(--ist-paper);
}
.istmosys-skip:focus { top: 12px; }
.istmosys-theme #header { background: var(--ist-night); border: 0; }
.istmosys-theme #header > .navbar { padding: 24px 0; }
.istmosys-theme #header .navbar-brand { display: flex; align-items: center; min-width: 0; }
.istmosys-theme #header .logo-img { width: 200px; max-width: 100%; height: auto; max-height: none; }
.istmosys-brand-claim {
    margin-left: 24px;
    padding-left: 24px;
    border-left: 1px solid #fff8ec3b;
    color: #fff8ecdb;
    font-size: 17px;
}
.istmosys-theme #header .topbar { background: #08091e; border-bottom: 1px solid #fff8ec1a; }
.istmosys-theme #header .topbar .btn,
.istmosys-theme #header .toolbar .nav-link { color: var(--ist-cream); }
.istmosys-theme #header .topbar .input-group-text { background: transparent; color: #d2cede; border: 0; }
.istmosys-theme #header .topbar .btn:hover,
.istmosys-theme #header .toolbar .nav-link:hover { color: #8fe3d0; background: #ffffff0a; }
.istmosys-theme #header .main-navbar-wrapper { background: var(--ist-night); border-top: 1px solid #fff8ec24; padding: 0; }
.istmosys-theme #header .navbar-nav .nav-link { color: #fff; padding-top: 16px; padding-bottom: 16px; }
.istmosys-theme #header .navbar-nav .active > .nav-link,
.istmosys-theme #header .navbar-nav .nav-link:hover { color: #fff; background: transparent; }
/* Twenty-One renders plain anchors without .nav-link, including nested menus. */
.istmosys-theme #header .main-navbar-wrapper .navbar-nav a,
.istmosys-theme #header .main-navbar-wrapper .navbar-nav a:visited,
.istmosys-theme #header .main-navbar-wrapper .navbar-nav a:hover,
.istmosys-theme #header .main-navbar-wrapper .navbar-nav a:focus,
.istmosys-theme #header .main-navbar-wrapper .navbar-nav a:active { color: #fff !important; }
.istmosys-theme #header .main-navbar-wrapper .dropdown-menu { background: var(--ist-night); border-color: #fff8ec3b; }
.istmosys-theme #header .main-navbar-wrapper .dropdown-item { color: #fff; }
.istmosys-theme #header .main-navbar-wrapper .dropdown-item:hover,
.istmosys-theme #header .main-navbar-wrapper .dropdown-item:focus,
.istmosys-theme #header .main-navbar-wrapper .dropdown-item.active,
.istmosys-theme #header .main-navbar-wrapper .dropdown-item:active { background: #23226a; color: #fff; }
.istmosys-theme #header .preview-menu a,
.istmosys-theme #header .preview-menu a:hover,
.istmosys-theme #header .preview-menu a:focus { color: #fff; }
.istmosys-theme #header .search .form-control,
.istmosys-theme #header .search .btn { background: #ffffff0a; color: var(--ist-cream); border-color: #fff8ec3b; }
.istmosys-theme #header .search .form-control::placeholder { color: #ccc9d6; opacity: 1; }
.istmosys-theme #header .search .btn { border-radius: 6px 0 0 6px; }
.istmosys-theme .dropdown-menu { border: 1px solid var(--ist-line); border-radius: 8px; box-shadow: 0 18px 40px #0e0d2e1a; }
.istmosys-theme .dropdown-item { color: var(--ist-ink); }
.istmosys-theme .dropdown-item:hover,
.istmosys-theme .dropdown-item:focus { color: var(--ist-teal-dark); background: var(--ist-cream); }
.istmosys-theme .dropdown-item.active,
.istmosys-theme .dropdown-item:active { color: #fff; background: var(--ist-teal-dark); }
.istmosys-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ist-night); color: var(--ist-cream); padding: 54px 0 62px; }
.istmosys-eyebrow { color: #8fe3d0; font-size: 12px; font-weight: 600; letter-spacing: .18em; margin-bottom: 18px; }
.istmosys-theme .istmosys-hero h1 { color: var(--ist-cream); font-size: clamp(2.25rem, 5vw, 4.25rem); font-weight: 700; line-height: 1.05; letter-spacing: -.04em; max-width: 22ch; margin-bottom: 16px; overflow-wrap: anywhere; }
.istmosys-dot { color: var(--ist-teal); }
.istmosys-hero .istmosys-hero-claim,
#footer .istmosys-footer-brand > p { display: none !important; }
.istmosys-thread { position: absolute; width: 55%; height: 190px; right: -5%; bottom: 0; z-index: -1; opacity: .6; pointer-events: none; }
.istmosys-thread path { fill: none; stroke: url(#istmosys-thread-gradient); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.istmosys-theme .master-breadcrumb { background: var(--ist-cream); border-bottom: 1px solid var(--ist-line); }
.istmosys-theme .breadcrumb { background: transparent; padding-top: 13px; padding-bottom: 13px; font-size: 14px; }
.istmosys-theme .breadcrumb-item.active { color: var(--ist-muted); }
.istmosys-theme #main-body { padding: 44px 0 64px; min-height: 45vh; }
.istmosys-theme .primary-bg-color { background-color: var(--ist-paper); }
.istmosys-theme .card { border: 1px solid var(--ist-line); border-radius: 10px; box-shadow: 0 8px 24px #16153f04; overflow-wrap: anywhere; }
.istmosys-theme .card-header, .istmosys-theme .card-footer { background: var(--ist-cream); border-color: var(--ist-line); }
.istmosys-theme .card-header:first-child { border-radius: 9px 9px 0 0; }
.istmosys-theme .card-title { line-height: 1.3; }
.istmosys-theme .sidebar .card { box-shadow: none; }
.istmosys-theme .list-group-item { border-color: var(--ist-line); }
.istmosys-theme .list-group-item.active { background: var(--ist-ink); border-color: var(--ist-ink); color: #fff; }
.istmosys-theme .list-group-item-action:hover { background: var(--ist-cream); color: var(--ist-ink); }
.istmosys-theme .list-group-item-action.active:hover { background: var(--ist-ink); color: #fff; }
.istmosys-theme .btn { font-family: inherit; font-weight: 600; border-radius: 24px; padding: 10px 22px; transition: background-color .18s, border-color .18s; }
.istmosys-theme .btn-sm, .istmosys-theme .btn-xs { padding: 5px 12px; }
.istmosys-theme .btn-primary { background: var(--ist-teal); border-color: var(--ist-teal); color: #06382f; }
.istmosys-theme .btn-primary:hover,
.istmosys-theme .btn-primary:focus,
.istmosys-theme .btn-primary:not(:disabled):not(.disabled):active { background: #43c4ab; border-color: #43c4ab; color: #06382f; }
.istmosys-theme .btn-primary:disabled { background: var(--ist-teal); border-color: var(--ist-teal); }
.istmosys-theme .btn-outline-primary { color: var(--ist-teal-dark); border-color: var(--ist-teal-dark); }
.istmosys-theme .btn-outline-primary:hover,
.istmosys-theme .btn-outline-primary:not(:disabled):not(.disabled):active { background: var(--ist-teal-dark); border-color: var(--ist-teal-dark); color: #fff; }
.istmosys-theme .btn-default { background: var(--ist-cream); color: var(--ist-ink); border-color: var(--ist-line); }
.istmosys-theme .btn-default:hover { background: #e7dfd0; border-color: #c9bea9; }
.istmosys-theme .btn-link { color: var(--ist-teal-dark); }
.istmosys-theme .form-control, .istmosys-theme .custom-select { border-color: #c7c3ce; border-radius: 6px; color: var(--ist-ink); font-family: inherit; }
.istmosys-theme .form-control:focus, .istmosys-theme .custom-select:focus { border-color: var(--ist-teal-dark); box-shadow: 0 0 0 3px #2fb39a26; }
.istmosys-theme .form-control.is-invalid { border-color: #dc3545; }
.istmosys-theme .form-control.is-valid { border-color: #28a745; }
.istmosys-theme .input-group-text { background: var(--ist-cream); border-color: #c7c3ce; color: var(--ist-muted); }
.istmosys-theme .input-group > .input-group-append > .btn { border-radius: 0 6px 6px 0; }
.istmosys-theme .input-group > .input-group-prepend > .btn { border-radius: 6px 0 0 6px; }
.istmosys-theme .login-form .card { border-top: 3px solid var(--ist-teal); }
.istmosys-theme .login-form .h3 { font-size: 32px; font-weight: 700; }
.istmosys-theme .home-domain-search.bg-white { background: var(--ist-cream) !important; color: var(--ist-ink); border-bottom: 1px solid var(--ist-line); }
.istmosys-theme .home-domain-search .input-group-wrapper { background: #fff; border: 1px solid var(--ist-line); border-radius: 8px; }
.istmosys-theme .action-icon-btns a { border: 1px solid var(--ist-line); border-radius: 8px; color: var(--ist-ink); background: #fff; height: 100%; }
.istmosys-theme .action-icon-btns a:hover { background: var(--ist-cream); border-color: var(--ist-teal-dark); color: var(--ist-teal-dark); }
.istmosys-theme .action-icon-btns a .ico-container { color: var(--ist-teal-dark); background: transparent; }
.istmosys-theme .tiles .row { gap: 0; }
.istmosys-theme .tiles .tile { background: #fff; color: var(--ist-ink); border: 1px solid var(--ist-line); border-radius: 8px; margin: 5px; padding: 24px 20px; }
.istmosys-theme .tiles .tile:hover { background: var(--ist-cream); }
.istmosys-theme .tiles .tile .stat { font-weight: 700; font-size: 40px; letter-spacing: -.04em; line-height: 1.2; }
.istmosys-theme .tiles .tile .title { color: var(--ist-muted); }
.istmosys-theme .tiles .tile i { color: var(--ist-teal-dark); opacity: .25; }
.istmosys-theme .tiles .tile .highlight { height: 2px; }
.istmosys-theme .tiles .row > div .tile { border: 1px solid var(--ist-line); }
.istmosys-theme .table { color: var(--ist-ink); }
.istmosys-theme .table th, .istmosys-theme .table td { border-color: var(--ist-line); }
.istmosys-theme .table thead th { background: var(--ist-cream); color: var(--ist-ink); }
.istmosys-theme .page-item.active .page-link { background: var(--ist-ink); border-color: var(--ist-ink); }
.istmosys-theme .page-link { color: var(--ist-teal-dark); }
.istmosys-theme .nav-tabs { border-color: var(--ist-line); }
.istmosys-theme .nav-tabs .nav-link.active { border-color: var(--ist-line) var(--ist-line) #fff; color: var(--ist-ink); }
.istmosys-theme .modal-content { border-radius: 12px; border-color: var(--ist-line); }
.istmosys-theme #footer { background: var(--ist-night); color: #fff8ecb8; border-top: 0; padding: 48px 0 28px; }
.istmosys-footer-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid #fff8ec24; }
.istmosys-footer-brand img { width: 180px; height: auto; }
.istmosys-footer-brand p { margin: 0; color: var(--ist-cream); font-size: 20px; }
.istmosys-footer-brand .istmosys-footer-site { margin-left: auto; font-size: 13px; letter-spacing: .12em; }
.istmosys-theme #footer a, .istmosys-theme #footer .btn { color: var(--ist-cream); }
.istmosys-theme #footer a:hover, .istmosys-theme #footer .btn:hover { color: #8fe3d0; }
.istmosys-theme #footer .copyright { font-size: 13px; }
@media (min-width: 1200px) { .istmosys-theme .container { max-width: 1240px; padding-left: 32px; padding-right: 32px; } }
@media (max-width: 1199.98px) {
    .istmosys-theme #header .main-navbar-wrapper .navbar-collapse { padding: 16px 0; }
    .istmosys-theme #header .navbar-nav .nav-link { padding: 10px 12px; }
    .istmosys-theme #header .main-navbar-wrapper .dropdown-menu { background: var(--ist-night); }
}
@media (max-width: 767.98px) {
    .istmosys-brand-claim { display: none; }
    .istmosys-theme #header > .navbar { padding: 18px 0; }
    .istmosys-theme #header .logo-img { width: 156px; }
    .istmosys-theme #header .toolbar .nav-link { padding: 8px; }
    .istmosys-theme #header .toolbar .nav-item { margin-left: 8px !important; }
    .istmosys-hero { padding: 36px 0 40px; }
    .istmosys-thread { width: 85%; opacity: .22; }
    .istmosys-hero-claim { font-size: 17px; }
    .istmosys-theme #main-body { padding: 28px 0 40px; }
    .istmosys-footer-brand { align-items: flex-start; flex-direction: column; gap: 16px; }
    .istmosys-footer-brand .istmosys-footer-site { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .istmosys-theme *, .istmosys-theme *::before, .istmosys-theme *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
