/*
 * ICE185 — modern compatibility layer for Seditio 185
 * Keeps the historical 5228.ru visual identity while replacing the 2006 layout model.
 */
:root {
  --ice-bg: #edf4f3;
  --ice-surface: #ffffff;
  --ice-surface-soft: #f5f9f8;
  --ice-text: #213331;
  --ice-muted: #667a77;
  --ice-border: #d6e3e1;
  --ice-brand: #0d6664;
  --ice-brand-dark: #084b4a;
  --ice-accent: #ff8a2a;
  --ice-danger: #b83232;
  --ice-shadow: 0 14px 38px rgba(20, 64, 61, .10);
  --ice-radius: 18px;
  --ice-radius-sm: 11px;
  --ice-container: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--ice-text);
  background: var(--ice-bg) url('img/back.png') repeat;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.62;
  overflow-wrap: anywhere;
}
body.nav-open { overflow: hidden; }
a { color: var(--ice-brand); text-decoration-thickness: .08em; text-underline-offset: .16em; }
a:hover, a:focus-visible { color: var(--ice-accent); }
img, video, iframe { max-width: 100%; height: auto; }
iframe { border: 0; }
button, input, select, textarea { font: inherit; }
button, [type="submit"], [type="button"] { cursor: pointer; }
input, select, textarea {
  max-width: 100%;
  border: 1px solid #bfd2cf;
  border-radius: 9px;
  padding: .68rem .8rem;
  background: #fff;
  color: var(--ice-text);
}
textarea { width: 100%; min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(13,102,100,.16); border-color: var(--ice-brand); }
hr { border: 0; border-top: 1px solid var(--ice-border); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .75rem; border: 1px solid var(--ice-border); vertical-align: top; }
pre, code { font-family: "SFMono-Regular", Consolas, monospace; }
pre { max-width: 100%; overflow: auto; padding: 1rem; border-radius: 10px; background: #172725; color: #f6fbfa; }
blockquote { min-height: 0; margin: 1.4rem 0; padding: 1rem 1.2rem 1rem 1.35rem; border-left: 4px solid var(--ice-accent); background: var(--ice-surface-soft); color: #425754; font-weight: 500; background-image: none; }
h1, h2, h3, h4, h5, h6 { color: #173f3d; letter-spacing: -.025em; line-height: 1.22; overflow-wrap: break-word; }
h1 { width: auto; padding: 0; font-size: clamp(2rem, 5vw, 3.35rem); text-align: left; }
h2 { font-size: clamp(1.35rem, 3vw, 2rem); letter-spacing: -.025em; }
h3 { font-size: 1.25rem; margin: 1.2rem 0 .65rem; letter-spacing: -.015em; }
h4, h5, h6 { margin: 1rem 0 .55rem; font-size: 1rem; }
ul, ol { margin: 1rem 0; padding-left: 1.45rem; }
li { margin: .25rem 0; }
.centerall { text-align: center; }
.text-right { text-align: right; }
.desc, small, .footer-meta { color: var(--ice-muted); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -100px; z-index: 9999; padding: .7rem 1rem; border-radius: 8px; background: #fff; box-shadow: var(--ice-shadow); }
.skip-link:focus { top: 1rem; }
.container-modern { width: min(calc(100% - 32px), var(--ice-container)); margin-inline: auto; }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-content { flex: 1; padding: 26px 0 52px; }

.site-header { background: linear-gradient(135deg, #0e5f5d, #0a4544); color: #fff; box-shadow: 0 6px 24px rgba(4,44,43,.18); }
.site-header__top { min-height: 132px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; }
.site-brand { display: block; min-width: 0; }
.site-brand img { display: block; width: min(100%, 720px); max-height: 110px; object-fit: contain; object-position: left center; }
.site-header__actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.header-action { padding: .55rem .8rem; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; color: #fff; font-weight: 700; }
.header-action:visited { color: #fff; }
.header-action:hover { background: #fff; color: var(--ice-brand); }
.qr-link img { display: block; border-radius: 10px; background: #fff; padding: 4px; }
.nav-toggle { display: none; width: 46px; height: 42px; border: 1px solid rgba(255,255,255,.3); border-radius: 10px; background: transparent; padding: 10px; }
.nav-toggle__line { display: block; height: 2px; margin: 4px 0; border-radius: 2px; background: #fff; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.site-nav { border-top: 1px solid rgba(255,255,255,.10); border-bottom: 1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.12); }
.site-nav__inner > ul, .site-nav__inner ul { list-style: none; margin: 0; padding: 0; }
.site-nav__inner > ul { display: flex; align-items: stretch; flex-wrap: wrap; }
.site-nav__inner > ul > li { position: relative; }
.site-nav__inner a { display: flex; align-items: center; min-height: 52px; padding: .65rem .95rem; color: #fff; font-weight: 700; text-decoration: none; }
.site-nav__inner a:visited { color: #fff; }
.site-nav__inner a:hover, .site-nav__inner a:focus-visible { background: rgba(255,255,255,.13); color: #fff; }
.site-nav__inner li ul { position: absolute; left: 0; top: 100%; z-index: 100; min-width: 230px; padding: 8px; border-radius: 0 0 12px 12px; background: #0b4d4b; box-shadow: var(--ice-shadow); opacity: 0; visibility: hidden; transform: translateY(5px); transition: .18s; }
.site-nav__inner li:hover > ul, .site-nav__inner li:focus-within > ul { opacity: 1; visibility: visible; transform: none; }
.site-nav__inner li ul a { min-height: 40px; padding: .5rem .7rem; border-radius: 7px; }
.account-bar { background: #fff; color: var(--ice-text); border-bottom: 1px solid var(--ice-border); }
.account-bar__inner { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.account-nav ul { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; list-style: none; margin: 0; padding: 0; }
.account-nav a { display: inline-flex; align-items: center; min-height: 42px; font-size: .9rem; font-weight: 650; text-decoration: none; }
.account-bar__status { font-size: .9rem; color: var(--ice-muted); }

.content-card, .block, .block1, #main, .error, .warning, .done, .info {
  margin-bottom: 20px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--ice-border);
  border-radius: var(--ice-radius);
  background: var(--ice-surface);
  box-shadow: var(--ice-shadow);
}
.block, .block1 { float: none; width: auto; }
#container { width: auto; max-width: none; margin: 0; background: none; box-shadow: none; }
#header, #nav, #user, #nav2 { width: auto; height: auto; min-height: 0; overflow: visible; background: none; }
#main { width: min(calc(100% - 32px), var(--ice-container)); margin: 0 auto 24px; }
#title, .page-hero { width: min(calc(100% - 32px), var(--ice-container)); margin: 0 auto 18px; padding: clamp(22px, 5vw, 52px); border-radius: var(--ice-radius); background: linear-gradient(135deg, rgba(13,102,100,.98), rgba(8,75,74,.98)); color: #fff; box-shadow: var(--ice-shadow); }
#title { color: #fff; font-size: clamp(1.8rem,4vw,3rem); }
#title h1, #title h2, .page-hero h1, .page-hero h2 { color: #fff; margin: 0; }
#subtitle { width: min(calc(100% - 32px), var(--ice-container)); margin: -8px auto 20px; padding: 14px 18px; border: 1px solid var(--ice-border); border-radius: var(--ice-radius-sm); background: #fff; }
.page-hero { width: 100%; }
.page-hero--compact { padding-block: clamp(22px, 4vw, 38px); }
.page-hero .eyebrow, .page-hero .page-lead, .page-hero .page-meta, .page-hero a { color: rgba(255,255,255,.86); }
.page-lead { max-width: 850px; margin-top: 12px; font-size: 1.05rem; }
.page-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: .92rem; }
.eyebrow { margin: 0 0 8px; color: var(--ice-accent); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.breadcrumbs { margin: 0 0 14px; color: var(--ice-muted); font-size: .9rem; }
.breadcrumbs a { color: inherit; }
.admin-actions, .inline-actions, .forum-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; padding: 12px 15px; border: 1px dashed #abcac6; border-radius: 12px; background: #f5fbfa; }
.admin-actions a, .inline-actions a { font-weight: 700; }
.section-heading { margin-bottom: 18px; }
.section-heading h1, .section-heading h2 { margin: 0; }

.home-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr); gap: 24px; align-items: start; }
.home-primary, .home-sidebar { min-width: 0; }
.home-sidebar { position: sticky; top: 18px; }
.content-card--intro { font-size: 1.05rem; }
.recent-feed br { display: block; margin: .45rem 0; content: ""; }
.recent-feed .rec-date { display: inline-flex; margin-right: .5rem; color: var(--ice-muted); font-size: .82rem; }
.ad-card { min-height: 120px; display: grid; place-items: center; overflow: hidden; }
.download-feature { text-align: center; }
.download-feature__image img { border-radius: 12px; }
.btn-primary, .btn-secondary, input.submit, button.submit, .valid input[type="submit"] { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: .67rem 1.05rem; border: 1px solid transparent; border-radius: 10px; font-weight: 800; text-decoration: none; transition: transform .15s, background .15s, box-shadow .15s; }
.btn-primary, input.submit, button.submit, .valid input[type="submit"] { background: var(--ice-brand); color: #fff; box-shadow: 0 7px 18px rgba(13,102,100,.18); }
.btn-primary:visited { color: #fff; }
.btn-primary:hover, input.submit:hover, button.submit:hover { background: var(--ice-brand-dark); color: #fff; transform: translateY(-1px); }
.btn-secondary { border-color: #b8cecb; background: #fff; color: var(--ice-brand); }
.btn-secondary:hover { background: var(--ice-surface-soft); }
.download-feature .btn-primary { margin-top: 15px; }
.download-feature .btn-primary img { width: 24px; height: 24px; object-fit: contain; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { display: inline-flex; align-items: center; gap: 5px; padding: .38rem .62rem; border-radius: 999px; background: #e9f4f2; font-size: clamp(.82rem, calc(var(--tag-size) * .06rem), 1.1rem); font-weight: 700; text-decoration: none; }
.tag-cloud a span { color: var(--ice-muted); font-size: .75em; }
.community-card { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.community-card__badge { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 48px; border-radius: 14px; background: #2787f5; color: #fff; font-weight: 900; }
.community-card strong, .community-card small { display: block; }

.article-card { padding: clamp(20px, 4vw, 42px); }
.article-cover { margin: calc(clamp(20px,4vw,42px) * -1) calc(clamp(20px,4vw,42px) * -1) 30px; overflow: hidden; border-radius: var(--ice-radius) var(--ice-radius) 0 0; }
.article-cover img { width: 100%; max-height: 620px; object-fit: cover; }
.article-body { font-size: 1.04rem; }
.article-body p { margin: 0 0 1.2em; }
.article-body h2, .article-body h3 { margin-top: 1.7em; }
.article-body img { border-radius: 10px; }
.article-body table { display: block; max-width: 100%; overflow-x: auto; white-space: nowrap; }
.article-body a { text-decoration: underline; }
.article-footer { display: grid; gap: 10px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--ice-border); }
.download-panel { display: grid; grid-template-columns: 72px 1fr; gap: 20px; margin: 30px 0; padding: 22px; border: 1px solid #acd1cc; border-radius: 16px; background: linear-gradient(135deg, #f0faf8, #fff7ed); }
.download-panel__icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; background: var(--ice-brand); color: #fff; font-size: 2rem; font-weight: 900; }
.download-panel h2 { margin: 0 0 7px; }
.download-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.copy-link-box { margin: 20px 0; }
.copy-link-box label { display: block; margin-bottom: 7px; font-weight: 700; }
.copy-link-row { display: flex; gap: 8px; }
.copy-link-row input { flex: 1; min-width: 0; }
.download-dialog { width: min(620px, calc(100% - 28px)); max-height: 90vh; padding: clamp(22px,4vw,38px); border: 0; border-radius: 18px; box-shadow: 0 25px 80px rgba(0,0,0,.32); }
.download-dialog::backdrop { background: rgba(5,30,29,.72); backdrop-filter: blur(3px); }
.dialog-close { position: absolute; top: 10px; right: 12px; border: 0; background: transparent; font-size: 2rem; color: var(--ice-muted); }
.dialog-ad { margin: 20px auto; text-align: center; overflow: hidden; }
.fine-print { color: var(--ice-muted); font-size: .82rem; }
.multipage-box { margin: 24px 0; padding: 18px; border-radius: 12px; background: var(--ice-surface-soft); }

.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-bottom: 22px; }
.category-card { position: relative; min-height: 132px; display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--ice-border); border-radius: 15px; background: #fff; box-shadow: 0 8px 25px rgba(20,64,61,.06); text-decoration: none; }
.category-card strong { font-size: 1.13rem; }
.category-card span { margin-top: 8px; color: var(--ice-muted); }
.category-card small { margin-top: auto; padding-top: 12px; color: var(--ice-brand); font-weight: 800; }
.content-list { display: grid; gap: 18px; }
.list-card { display: grid; grid-template-columns: minmax(190px, .42fr) minmax(0, 1fr); padding: 0; overflow: hidden; }
.list-card__media { min-height: 220px; background: #dfe9e7; }
.list-card__media img { width: 100%; height: 100%; object-fit: cover; }
.list-card__content { padding: clamp(18px, 3vw, 28px); }
.list-card__content h2 { margin: 8px 0 11px; }
.list-card__meta, .list-card__footer, .news-card__meta, .news-card__footer { display: flex; flex-wrap: wrap; gap: 8px 15px; color: var(--ice-muted); font-size: .85rem; }
.list-card__desc { margin-bottom: 15px; }
.compact-item h2 { margin-top: 0; }
.news-card h2 { margin: 8px 0 13px; }
.news-card__body img { border-radius: 10px; }

.pagination-box { display: flex; justify-content: center; margin: 24px 0; }
ul.pagination, .pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pagination li { margin: 0; padding: 0; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 .65rem; border: 1px solid var(--ice-border); border-radius: 9px; background: #fff; font-weight: 700; text-decoration: none; }
.pagination span, .pagination .current { background: var(--ice-brand); color: #fff; border-color: var(--ice-brand); }

.modern-form { display: grid; gap: 16px; }
.modern-form label { display: grid; gap: 6px; font-weight: 700; }
.modern-form label > span { color: #405754; }
.modern-form input[type="text"], .modern-form input[type="password"], .modern-form input[type="email"] { width: 100%; }
.auth-card { max-width: 620px; margin-inline: auto; }
.auth-links { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--ice-border); }
.checkbox-row { grid-template-columns: auto 1fr; align-items: center; }
.captcha-row { display: grid; gap: 8px; }
.form, .arrow_list, .systemlist { list-style: none; padding: 0; }
.form-row { display: grid; grid-template-columns: minmax(140px,.35fr) minmax(0,1fr); gap: 15px; padding: 10px 0; border-bottom: 1px solid var(--ice-border); }
.form-field input, .form-field select, .form-field textarea { width: 100%; }

.notice, .error, .warning, .done, .info { margin: 0 auto 20px; padding: 15px 18px; border-radius: 12px; box-shadow: none; }
.notice { border: 1px solid #b9d7d2; background: #edf8f6; }
.notice--error, .error { border-color: #e8b5b5; background: #fff0f0; color: #8a2222; }
.warning { border-color: #edd39b; background: #fff8e7; }
.done { border-color: #b5dcbf; background: #eef9f1; }

.comments-list { display: grid; gap: 14px; }
.comment-card { border: 1px solid var(--ice-border); border-radius: 13px; background: #fff; overflow: hidden; }
.comment-card header { display: flex; flex-wrap: wrap; gap: 8px 14px; padding: 11px 15px; background: var(--ice-surface-soft); border-bottom: 1px solid var(--ice-border); }
.comment-text { padding: 16px; }
.comment-form { margin-top: 20px; box-shadow: none; }
.rating-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.rating-form { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 16px; }

.forum-toolbar { justify-content: space-between; }
.forum-table { margin: 18px 0 24px; border: 1px solid var(--ice-border); border-radius: 15px; background: #fff; overflow: hidden; box-shadow: var(--ice-shadow); }
.forum-row { display: grid; grid-template-columns: minmax(0,1fr) 250px 90px 90px; align-items: stretch; border-top: 1px solid var(--ice-border); }
.forum-row:first-child { border-top: 0; }
.forum-row > div { min-width: 0; padding: 15px; border-left: 1px solid var(--ice-border); }
.forum-row > div:first-child { border-left: 0; }
.forum-row--head { background: #0e5f5d; color: #fff; font-weight: 800; }
.forum-category { padding: 10px 15px; background: #e9f4f2; color: #174e4b; border-top: 1px solid var(--ice-border); }
.forum-main { display: flex; gap: 13px; }
.forum-main > img, .forum-icon img { flex: 0 0 auto; width: 32px; height: 32px; object-fit: contain; }
.forum-main h2 { margin: 0 0 5px; font-size: 1.08rem; }
.forum-main p { margin: 0; color: var(--ice-muted); }
.forum-lastpost { font-size: .9rem; }
.forum-lastpost small { display: block; margin-top: 5px; }
.subforum-list { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 9px 0 0; padding: 0; list-style: none; font-size: .88rem; }
.forum-posts { display: grid; gap: 18px; }
.forum-post { border: 1px solid var(--ice-border); border-radius: 15px; background: #fff; overflow: hidden; box-shadow: var(--ice-shadow); }
.forum-post__header { display: flex; justify-content: space-between; gap: 15px; padding: 12px 16px; background: #e9f4f2; border-bottom: 1px solid var(--ice-border); }
.forum-post__header h2 { margin: 0; font-size: 1.05rem; }
.forum-post__body { display: grid; grid-template-columns: 190px minmax(0,1fr); }
.forum-post__author { padding: 18px; border-right: 1px solid var(--ice-border); background: #f8fbfa; font-size: .88rem; }
.forum-avatar img { max-width: 120px; border-radius: 10px; }
.forum-post__message { min-width: 0; padding: 20px; }
.forum-text { min-height: 90px; overflow-x: auto; }
.signature { margin-top: 24px; padding-top: 13px; border-top: 1px dashed var(--ice-border); color: var(--ice-muted); font-size: .88rem; }

.cells { display: block; max-width: 100%; overflow-x: auto; border-radius: 12px; background: #fff; }
.cells .coltop { background: var(--ice-brand); color: #fff; }
.striped tr:nth-child(even), .odd { background: #f6faf9; }
.valid { text-align: center; }
.jqmWindow { display: none !important; }
.disp { margin: 10px 0; }
.addtext { display: inline-flex; padding: 7px 10px; border-radius: 8px; background: #e9f4f2; }

.site-footer { margin-top: auto; background: #0a4140; color: rgba(255,255,255,.78); }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr auto; gap: 34px; padding-block: 42px; }
.site-footer h2 { margin-top: 0; color: #fff; font-size: 1.05rem; }
.site-footer a, .site-footer a:visited { color: #fff; }
.footer-brand { display: inline-block; margin-bottom: 10px; font-size: 1.7rem; font-weight: 900; text-decoration: none; }
.footer-links ul { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; }
.footer-counters { display: flex; flex-wrap: wrap; align-content: start; gap: 10px; }
.footer-counters img { display: block; }
.footer-bottom { padding: 17px 0; background: #073332; }
.footer-bottom__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-stats { text-align: right; font-size: .8rem; color: rgba(255,255,255,.62); }
.scroll-top { position: fixed; right: 18px; bottom: 18px; z-index: 150; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--ice-accent); color: #fff; font-size: 1.25rem; font-weight: 900; box-shadow: 0 10px 26px rgba(0,0,0,.25); }
.scroll-top[hidden] { display: none; }
.popup-shell { width: min(calc(100% - 24px), 900px); margin: 20px auto; }
.gallery-popup { padding: 10px; background: var(--ice-bg); }

@media (max-width: 980px) {
  .site-header__top { min-height: 102px; }
  .site-header__actions .header-action { display: none; }
  .home-grid { grid-template-columns: 1fr; }
  .home-sidebar { position: static; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
  .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .forum-row { grid-template-columns: minmax(0,1fr) 210px 70px 70px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-counters { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .container-modern { width: min(calc(100% - 22px), var(--ice-container)); }
  .site-content { padding-top: 16px; }
  .site-header__top { min-height: 82px; padding-block: 10px; }
  .site-brand img { max-height: 72px; }
  .qr-link { display: none; }
  .nav-toggle { display: block; }
  .site-nav { display: none; }
  .site-nav.is-open { display: block; max-height: calc(100vh - 80px); overflow-y: auto; }
  .site-nav__inner { padding-block: 8px; }
  .site-nav__inner > ul { display: block; }
  .site-nav__inner li ul { position: static; display: none; min-width: 0; padding: 0 0 6px 16px; border-radius: 0; background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .site-nav__inner li.is-expanded > ul, .site-nav__inner li:focus-within > ul { display: block; }
  .site-nav__inner a { min-height: 44px; border-radius: 8px; }
  .account-bar__inner { padding-block: 5px; }
  .account-bar__status { display: none; }
  .account-nav ul { gap: 2px 10px; }
  .account-nav a { min-height: 34px; font-size: .82rem; }
  .home-sidebar { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .list-card { grid-template-columns: 1fr; }
  .list-card__media { min-height: 190px; max-height: 320px; }
  .copy-link-row { flex-direction: column; }
  .download-panel { grid-template-columns: 1fr; }
  .download-panel__icon { width: 52px; height: 52px; }
  .forum-row--head { display: none; }
  .forum-row { display: block; padding: 13px; }
  .forum-row > div { padding: 8px 0; border: 0; }
  .forum-row > div[data-label]::before { content: attr(data-label) ": "; color: var(--ice-muted); font-weight: 700; }
  .forum-post__header { display: block; }
  .forum-post__body { grid-template-columns: 1fr; }
  .forum-post__author { display: grid; grid-template-columns: auto 1fr; gap: 5px 12px; border-right: 0; border-bottom: 1px solid var(--ice-border); }
  .forum-avatar { grid-row: 1 / span 5; }
  .forum-toolbar { display: grid; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-counters { grid-column: auto; }
  .footer-bottom__inner { align-items: flex-start; flex-direction: column; }
  .footer-stats { text-align: left; }
  table.responsive, .cells { font-size: .9rem; }
}
@media (max-width: 480px) {
  body { font-size: 15px; }
  .site-brand { max-width: calc(100% - 58px); }
  .site-header__actions { display: none; }
  .page-hero { padding: 22px 18px; }
  .content-card, .block, .block1, #main { padding: 17px; border-radius: 14px; }
  .download-actions, .rating-form { align-items: stretch; flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; }
  .article-card { padding: 17px; }
  .article-cover { margin: -17px -17px 22px; }
  .forum-post__author { display: block; }
  .forum-avatar { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.gallery-view-card { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(240px,.75fr); gap:22px; }
.gallery-view-card > :nth-child(n+3) { grid-column:1 / -1; }
.gallery-view-media img, .gallery-full-image { display:block; max-width:100%; margin-inline:auto; border-radius:12px; }
.details-list { display:grid; gap:8px; margin:0; }
.details-list > div { display:grid; grid-template-columns:110px 1fr; gap:10px; padding-bottom:8px; border-bottom:1px solid var(--ice-border); }
.details-list dt { font-weight:800; }
.details-list dd { margin:0; color:var(--ice-muted); }
.image-error { opacity:.5; background:#e4ecea; }
@media (max-width:700px) { .gallery-view-card { grid-template-columns:1fr; } .gallery-view-card > * { grid-column:1 !important; } }

.editor-form { display:grid; gap:20px; }
.form-section h2 { margin-top:0; padding-bottom:12px; border-bottom:1px solid var(--ice-border); }
.form-row--full { grid-template-columns:1fr; }
.editor-field { margin-top:10px; min-width:0; }
.editor-field iframe, .editor-field textarea { width:100% !important; max-width:100%; }
.form-actions { position:sticky; bottom:10px; z-index:20; display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin:18px 0; padding:13px; border:1px solid var(--ice-border); border-radius:14px; background:rgba(255,255,255,.94); box-shadow:var(--ice-shadow); backdrop-filter:blur(8px); }
.form-help, .help, .descr { color:var(--ice-muted); font-size:.88rem; }
.poll-editor { padding:18px; border:1px solid var(--ice-border); border-radius:12px; }
.poll-editor legend { padding:0 8px; font-weight:800; }
.add-poll-option { display:flex; align-items:center; gap:8px; margin:8px 0; }
.poll-option-delete { width:34px; height:34px; border:0; border-radius:8px; background:#fff0f0; color:var(--ice-danger); font-weight:900; }
.commentlist { display:grid; gap:14px; }
.commentlist .comment { padding:16px; border:1px solid var(--ice-border); border-radius:12px; background:#fff; }
.reply-notice { padding:12px; border-radius:10px; background:#eef8f6; }
.resp-table { display:table; width:100%; }
.table-row { display:table-row; }
.table-th, .table-td { display:table-cell; padding:10px; border-bottom:1px solid var(--ice-border); vertical-align:top; }
.table-head { display:table-header-group; }
.table-body { display:table-row-group; }
.centered { text-align:center; }
@media (max-width:700px) { .form-actions { position:static; } .resp-table, .table-head, .table-body, .table-row, .table-th, .table-td { display:block; } .resp-table-head { display:none; } .resp-table-td::before { content:attr(data-label); display:block; margin-bottom:4px; color:var(--ice-muted); font-size:.8rem; font-weight:800; } }

/* Breadcrumbs — required by Seditio 185 sed_breadcrumbs() */
.breadcrumbs { margin: 0 0 16px; overflow: hidden; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 10px 14px; list-style: none; border: 1px solid var(--ice-border); border-radius: 12px; background: rgba(255,255,255,.82); color: var(--ice-muted); font-size: .9rem; }
.breadcrumb li { display: inline-flex; align-items: center; min-width: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--ice-muted); }
.breadcrumb a { color: var(--ice-primary-dark); text-decoration: none; overflow-wrap: anywhere; }
.breadcrumb a:hover { color: var(--ice-primary); text-decoration: underline; }
.breadcrumb li:last-child a { color: var(--ice-text); font-weight: 700; pointer-events: none; }
@media (max-width: 600px) { .breadcrumb { padding: 9px 11px; font-size: .82rem; } }


/* ========================================================================== 
   ICE185 Heritage v1.1.0 — memorable Nokia/Symbian identity
   ========================================================================== */
:root {
  --ice-bg: #eef6f4;
  --ice-surface: rgba(255,255,255,.96);
  --ice-surface-soft: #f2f8f6;
  --ice-text: #18312f;
  --ice-muted: #607773;
  --ice-border: #cfe0dc;
  --ice-brand: #08706a;
  --ice-brand-dark: #064845;
  --ice-brand-deep: #052f31;
  --ice-accent: #77cf42;
  --ice-accent-dark: #4fa624;
  --ice-warm: #ffb548;
  --ice-shadow: 0 18px 50px rgba(6, 60, 57, .11);
  --ice-shadow-hover: 0 24px 68px rgba(6, 60, 57, .17);
  --ice-radius: 22px;
  --ice-radius-sm: 13px;
  --ice-container: 1220px;
}
html { color-scheme: light; }
body {
  background:
    radial-gradient(circle at 8% 5%, rgba(119,207,66,.18), transparent 25rem),
    radial-gradient(circle at 94% 19%, rgba(0,151,145,.14), transparent 30rem),
    linear-gradient(180deg, #eaf5f2 0, #f8fbfa 48%, #edf6f3 100%);
  color: var(--ice-text);
  overflow-wrap: break-word;
}
.site-content { position: relative; isolation: isolate; padding: 34px 0 68px; }
.site-content::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(135deg, rgba(8,112,106,.045) 25%, transparent 25%, transparent 50%, rgba(8,112,106,.045) 50%, rgba(8,112,106,.045) 75%, transparent 75%);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 72%);
}
a { color: var(--ice-brand); }
a:hover, a:focus-visible { color: var(--ice-accent-dark); }
::selection { background: rgba(119,207,66,.36); color: #102321; }

.site-header {
  position: relative;
  overflow: visible;
  background:
    radial-gradient(circle at 80% -30%, rgba(119,207,66,.22), transparent 28rem),
    linear-gradient(132deg, #063f3d 0%, #075b57 52%, #063a3a 100%);
  box-shadow: 0 10px 38px rgba(3,37,37,.22);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--ice-accent) 24%, #30c6b3 52%, var(--ice-accent) 78%, transparent);
}
.site-header__glow { position:absolute; inset:0; pointer-events:none; overflow:hidden; }
.site-header__glow::before, .site-header__glow::after {
  content:""; position:absolute; border:1px solid rgba(255,255,255,.08); border-radius:50%;
}
.site-header__glow::before { width:340px; height:340px; right:8%; top:-255px; }
.site-header__glow::after { width:230px; height:230px; right:15%; top:-180px; }
.site-header__top { min-height: 118px; padding-block: 18px; }
.site-brand { display:flex; align-items:center; gap:20px; color:#fff; text-decoration:none; }
.site-brand:visited, .site-brand:hover { color:#fff; }
.site-brand__mark { position:relative; display:block; flex:0 0 auto; padding:6px; border-radius:14px; background:rgba(255,255,255,.06); box-shadow:inset 0 0 0 1px rgba(255,255,255,.08); }
.site-brand__mark::after { content:""; position:absolute; inset:auto 15% -7px; height:12px; background:rgba(119,207,66,.42); filter:blur(12px); }
.site-brand img { width: 300px; max-height: 88px; border-radius: 8px; }
.site-brand__copy { display:grid; gap:3px; }
.site-brand__copy strong { color:#fff; font-size:clamp(1rem,2vw,1.35rem); letter-spacing:-.02em; }
.site-brand__copy small { color:rgba(255,255,255,.68); font-size:.84rem; }
.site-header__actions { gap:9px; }
.header-action { min-height:42px; gap:7px; padding:.56rem .9rem; border-color:rgba(255,255,255,.18); background:rgba(255,255,255,.055); backdrop-filter:blur(8px); }
.header-action:hover { transform:translateY(-1px); box-shadow:0 10px 22px rgba(0,0,0,.16); }
.header-action--vk span { display:grid; place-items:center; width:23px; height:23px; border-radius:7px; background:#2787f5; font-size:.68rem; }
.header-action--search span { font-size:1.2rem; line-height:1; }
.site-nav { background:rgba(1,27,28,.38); border-color:rgba(255,255,255,.08); }
.site-nav__inner > ul { gap:2px; }
.site-nav__inner > ul > li > a { position:relative; }
.site-nav__inner > ul > li > a::after { content:""; position:absolute; left:1rem; right:1rem; bottom:6px; height:2px; border-radius:2px; background:var(--ice-accent); transform:scaleX(0); transition:transform .18s; }
.site-nav__inner > ul > li > a:hover::after, .site-nav__inner > ul > li > a:focus-visible::after { transform:scaleX(1); }
.account-bar { background:rgba(255,255,255,.98); box-shadow:0 4px 18px rgba(4,54,52,.06); }
.account-bar__inner { min-height:48px; }
.account-nav a { position:relative; }
.account-nav a::after { content:""; position:absolute; left:0; right:0; bottom:6px; height:2px; background:var(--ice-accent); transform:scaleX(0); transition:transform .15s; }
.account-nav a:hover::after { transform:scaleX(1); }

.content-card, .block, .block1, #main, .error, .warning, .done, .info {
  border-color: rgba(157,191,184,.5);
  background: var(--ice-surface);
  box-shadow: var(--ice-shadow);
}
.content-card { position:relative; overflow:hidden; }
.content-card::before { content:""; position:absolute; left:0; top:0; bottom:0; width:3px; background:linear-gradient(var(--ice-accent), #25aaa1); opacity:.55; }
.content-card:hover { border-color:rgba(88,157,146,.38); }
.section-heading--split { display:flex; justify-content:space-between; align-items:flex-end; gap:18px; }
.section-heading h1, .section-heading h2 { color:#123d3a; }
.section-icon { display:grid; place-items:center; width:48px; height:48px; flex:0 0 48px; border-radius:15px; background:linear-gradient(135deg,var(--ice-brand),#0aa198); color:#fff; font-weight:900; font-size:1.3rem; box-shadow:0 12px 25px rgba(8,112,106,.22); }
.section-kicker { padding:.35rem .65rem; border-radius:999px; background:#eaf7e4; color:#397722; font-size:.78rem; font-weight:800; white-space:nowrap; }
.section-more { flex:0 0 auto; font-weight:800; text-decoration:none; }
.eyebrow { color:#d56d05; }

.home-hero {
  position:relative;
  min-height:360px;
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(270px,.65fr);
  align-items:center;
  gap:42px;
  margin-bottom:28px;
  padding:clamp(30px,6vw,68px);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.16);
  border-radius:30px;
  background:
    linear-gradient(115deg, rgba(3,49,49,.98), rgba(7,105,98,.96)),
    #064845;
  color:#fff;
  box-shadow:0 28px 80px rgba(3,55,52,.25);
}
.home-hero::before { content:""; position:absolute; inset:0; background:repeating-linear-gradient(135deg,rgba(255,255,255,.035) 0 16px,transparent 16px 38px); }
.home-hero::after { content:""; position:absolute; width:420px; height:420px; right:-150px; top:-210px; border-radius:50%; border:70px solid rgba(119,207,66,.12); }
.home-hero__content { position:relative; z-index:2; max-width:780px; }
.home-hero h1 { margin:.15em 0 .35em; color:#fff; font-size:clamp(2.45rem,6vw,4.8rem); line-height:.98; letter-spacing:-.055em; }
.home-hero .eyebrow { color:#c6ff9f; }
.home-hero__lead { max-width:720px; margin:0; color:rgba(255,255,255,.82); font-size:clamp(1rem,2vw,1.22rem); }
.hero-links { display:flex; flex-wrap:wrap; gap:9px; margin-top:28px; }
.hero-links a { padding:.58rem .85rem; border:1px solid rgba(255,255,255,.2); border-radius:999px; background:rgba(255,255,255,.08); color:#fff; font-weight:800; text-decoration:none; backdrop-filter:blur(6px); }
.hero-links a:hover { background:var(--ice-accent); border-color:var(--ice-accent); color:#13320f; transform:translateY(-2px); }
.nokia-memory { position:relative; z-index:2; min-height:250px; display:grid; place-items:center; }
.nokia-memory__halo { position:absolute; width:270px; height:270px; border-radius:50%; background:radial-gradient(circle,rgba(119,207,66,.3),rgba(45,199,183,.08) 48%,transparent 70%); filter:blur(2px); }
.nokia-memory__phone { position:relative; width:145px; height:248px; padding:21px 13px 18px; border:4px solid rgba(255,255,255,.72); border-radius:30px; background:linear-gradient(155deg,#222,#080e0e 70%); transform:rotate(7deg); box-shadow:0 32px 60px rgba(0,0,0,.38), inset 0 0 0 1px rgba(255,255,255,.18); }
.nokia-memory__speaker { width:38px; height:4px; margin:0 auto 13px; border-radius:4px; background:#697978; }
.nokia-memory__screen { height:170px; display:flex; flex-direction:column; align-items:center; justify-content:center; border-radius:9px; background:linear-gradient(160deg,#8adf4e,#27a99b); color:#fff; text-shadow:0 2px 8px rgba(0,0,0,.25); }
.nokia-memory__screen strong { font-size:2.3rem; line-height:1; }
.nokia-memory__screen span { margin-top:7px; font-size:.74rem; letter-spacing:.2em; text-transform:uppercase; }
.nokia-memory__key { width:35px; height:8px; margin:14px auto 0; border-radius:10px; background:#647371; }
.nokia-memory__badge { position:absolute; right:2%; bottom:5%; padding:.5rem .7rem; border-radius:11px; background:#fff; color:var(--ice-brand-dark); font-weight:900; transform:rotate(-5deg); box-shadow:0 12px 30px rgba(0,0,0,.18); }

.home-grid { grid-template-columns:minmax(0,1.7fr) minmax(300px,.72fr); gap:26px; }
.home-sidebar { top:22px; }
.content-card--intro .legacy-prose { columns:2; column-gap:34px; }
.content-card--intro .legacy-prose p { break-inside:avoid; margin-top:0; }
.legacy-prose br + br { display:none; }
.quick-downloads { background:linear-gradient(145deg,#fff,#f5fbf8); }
.legacy-icon-links center { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; }
.legacy-icon-links center a { display:grid; place-items:center; min-width:36px; min-height:36px; padding:4px; border-radius:9px; background:#f3f8f7; transition:transform .15s,box-shadow .15s; }
.legacy-icon-links center a:hover { transform:translateY(-3px); box-shadow:0 8px 18px rgba(4,79,74,.15); }
.legacy-icon-links center img { display:block; max-height:34px; width:auto; border-radius:6px; }
.recent-card { min-height:0; }
.recent-card .google-auto-placed, .recent-card > ins.adsbygoogle { display:none!important; min-height:0!important; height:0!important; }
.recent-feed--timeline { position:relative; padding-left:20px; }
.recent-feed--timeline::before { content:""; position:absolute; left:5px; top:6px; bottom:6px; width:2px; background:linear-gradient(var(--ice-accent),rgba(8,112,106,.18)); }
.recent-feed--timeline br { position:relative; }
.recent-feed--timeline .rec-date { position:relative; }
.recent-feed--timeline .rec-date::before { content:""; position:absolute; width:8px; height:8px; left:-19px; top:.55em; border:2px solid #fff; border-radius:50%; background:var(--ice-accent); box-shadow:0 0 0 2px rgba(8,112,106,.18); }
.ad-card { min-height:0; padding:10px; }
.ad-card:has(ins.adsbygoogle[data-ad-status="unfilled"]) { display:none; }
ins.adsbygoogle[data-ad-status="unfilled"] { display:none!important; }
.download-feature { padding-top:32px; }
.download-feature::after { content:""; position:absolute; width:95px; height:95px; right:-28px; top:-32px; border-radius:50%; background:rgba(119,207,66,.12); }
.download-feature__label { display:inline-flex; margin-bottom:14px; padding:.3rem .6rem; border-radius:999px; background:#eaf7e4; color:#397722; font-size:.74rem; font-weight:900; text-transform:uppercase; letter-spacing:.08em; }
.download-feature h2 { margin:.45rem 0; }
.download-feature__image img { max-height:104px; object-fit:contain; }
.category-cloud-card { background:linear-gradient(155deg,#fff,#eff9f6); }
.tag-cloud a { border:1px solid #d4e7e2; background:#f3f9f7; }
.tag-cloud a:hover { border-color:var(--ice-accent); background:#ecf9e7; transform:translateY(-1px); }
.community-card { background:linear-gradient(135deg,#f7fbff,#eef6ff); }
.community-card__arrow { margin-left:auto; font-size:1.5rem; font-weight:800; }
.poll-card input[type="radio"] { accent-color:var(--ice-brand); }

.page-hero {
  position:relative;
  overflow:hidden;
  background:linear-gradient(125deg,#064744,#08756e);
  border:1px solid rgba(255,255,255,.13);
  box-shadow:0 24px 60px rgba(3,60,56,.18);
}
.page-hero::after { content:""; position:absolute; inset:0; pointer-events:none; background:repeating-linear-gradient(135deg,rgba(255,255,255,.035) 0 14px,transparent 14px 34px); }
.page-hero > * { position:relative; z-index:1; }
.page-hero h1 { max-width:1000px; letter-spacing:-.045em; }
.page-view { max-width:var(--ice-container); }
.article-card { padding:clamp(24px,5vw,58px); }
.article-body { max-width:880px; margin-inline:auto; font-size:1.075rem; line-height:1.72; }
.article-body > :first-child { margin-top:0; }
.article-body > :last-child { margin-bottom:0; }
.article-body h2 { margin-top:2.2em; padding-bottom:.42em; border-bottom:1px solid var(--ice-border); color:#124845; }
.article-body h3 { color:#17635e; }
.article-body img { display:block; max-width:100%; margin:1.4rem auto; border-radius:15px; box-shadow:0 14px 34px rgba(4,55,53,.12); }
.article-body center { display:block; text-align:center; }
.article-body .legacy-center { text-align:center; }
.article-body .legacy-justify { text-align:justify; }
.article-body ul, .article-body ol { padding-left:1.4rem; }
.article-body li { margin:.42rem 0; }
.article-body table { width:100%; min-width:620px; display:table; white-space:normal; font-size:.94rem; }
.article-body th, .article-body td { padding:.78rem .85rem; }
.article-body tr:nth-child(even) { background:#f4f9f7; }
.article-body tr:first-child { background:#e7f3f0; font-weight:800; }
.table-scroll { max-width:100%; margin:1.5rem 0; overflow-x:auto; border:1px solid var(--ice-border); border-radius:14px; box-shadow:0 9px 26px rgba(6,60,57,.06); }
.table-scroll table { margin:0; border:0; }
.table-scroll td:first-child, .table-scroll th:first-child { border-left:0; }
.table-scroll td:last-child, .table-scroll th:last-child { border-right:0; }
.article-footer { max-width:880px; margin-inline:auto; }
.related-box, .ratings-box, .comments-box { max-width:100%; }
.download-panel { max-width:880px; margin-inline:auto; }

.breadcrumbs { margin-bottom:18px; }
.breadcrumb { padding:12px 16px; border-color:rgba(157,191,184,.55); background:rgba(255,255,255,.8); box-shadow:0 8px 24px rgba(5,59,56,.06); backdrop-filter:blur(10px); }
.breadcrumb a { color:var(--ice-brand-dark); }
.breadcrumb a:hover { color:var(--ice-accent-dark); }
.breadcrumb li:last-child a { color:var(--ice-text); }

.forum-toolbar { justify-content:space-between; border-style:solid; background:rgba(255,255,255,.91); box-shadow:0 10px 30px rgba(6,60,57,.07); }
.forum-table { border-radius:19px; box-shadow:0 20px 54px rgba(5,58,55,.12); }
.forum-row { grid-template-columns:minmax(0,1fr) 220px 82px 82px; transition:background .15s; }
.forum-row:not(.forum-row--head):hover { background:#f3faf7; }
.forum-row > div { overflow-wrap:normal; word-break:normal; }
.forum-row > div:nth-child(3), .forum-row > div:nth-child(4) { display:flex; align-items:center; justify-content:center; text-align:center; font-weight:850; font-variant-numeric:tabular-nums; }
.forum-row--head { background:linear-gradient(135deg,#075e59,#08766e); }
.forum-row--head > div { white-space:nowrap; text-align:left; }
.forum-row--head > div:nth-child(3), .forum-row--head > div:nth-child(4) { font-size:.82rem; line-height:1.2; }
.forum-main h2 { margin:0 0 4px; font-size:1.04rem; line-height:1.35; }
.forum-main p { margin:.2rem 0; color:var(--ice-muted); }
.forum-main img, .forum-icon img { width:28px; height:28px; object-fit:contain; }
.forum-lastpost { font-size:.88rem; }
.forum-category { padding:13px 17px; border-left:4px solid var(--ice-accent); background:linear-gradient(90deg,#e9f6f2,#f7fbfa); }
.forum-category strong { font-size:1rem; }

.btn-primary, input.submit, button.submit, .valid input[type="submit"] { background:linear-gradient(135deg,var(--ice-brand),#07968c); box-shadow:0 9px 24px rgba(8,112,106,.21); }
.btn-primary:hover, input.submit:hover, button.submit:hover { background:linear-gradient(135deg,#075a56,#087a73); transform:translateY(-2px); }
.btn-secondary { background:#fff; border-color:#bcd5d0; color:var(--ice-brand-dark); }
.btn-secondary:hover { border-color:var(--ice-accent); background:#f1faed; color:#295f17; }

.site-footer { position:relative; background:linear-gradient(135deg,#052e30,#063f3f 60%,#043334); }
.site-footer__accent { height:5px; background:linear-gradient(90deg,#23b6aa,var(--ice-accent),#23b6aa); }
.footer-grid { grid-template-columns:1.35fr 1fr auto; padding-block:50px; }
.footer-brand { display:inline-flex; align-items:baseline; gap:2px; font-size:2rem; letter-spacing:-.055em; }
.footer-brand b { color:var(--ice-accent); }
.footer-about p { max-width:560px; }
.footer-legacy { display:inline-flex; margin-top:8px; padding:.38rem .65rem; border:1px solid rgba(255,255,255,.12); border-radius:999px; color:rgba(255,255,255,.65); font-size:.78rem; }
.footer-counters { flex-direction:column; }
.footer-counters__title { color:#fff; font-weight:800; }
.footer-bottom { background:rgba(0,0,0,.2); }
.scroll-top { background:linear-gradient(135deg,var(--ice-accent),#23b8a8); color:#12350e; }

@media (max-width: 1050px) {
  .site-brand__copy { display:none; }
  .home-hero { grid-template-columns:minmax(0,1fr) 220px; }
  .nokia-memory { transform:scale(.88); }
  .forum-row { grid-template-columns:minmax(0,1fr) 190px 72px 72px; }
}
@media (max-width: 980px) {
  .home-hero { grid-template-columns:1fr; min-height:0; }
  .nokia-memory { display:none; }
  .content-card--intro .legacy-prose { columns:1; }
}
@media (max-width:760px) {
  .site-header__top { min-height:82px; }
  .site-brand img { width:min(240px,70vw); max-height:66px; }
  .site-nav__inner > ul > li > a::after { display:none; }
  .home-hero { padding:32px 22px; border-radius:22px; }
  .home-hero h1 { font-size:clamp(2.25rem,12vw,3.4rem); }
  .hero-links { gap:7px; }
  .hero-links a { padding:.48rem .68rem; font-size:.88rem; }
  .section-heading--split { align-items:flex-start; flex-direction:column; }
  .section-kicker { white-space:normal; }
  .forum-row > div:nth-child(3), .forum-row > div:nth-child(4) { justify-content:flex-start; text-align:left; }
  .article-body { font-size:1rem; }
  .article-body table { min-width:560px; }
}
@media (max-width:480px) {
  .site-content { padding-bottom:46px; }
  .home-hero { margin-inline:-2px; }
  .content-card::before { width:2px; }
  .section-more { font-size:.9rem; }
}

/* ==========================================================================\n   ICE185 FINAL 2.0 — compact desktop header and mobile-first navigation\n   ========================================================================== */
:root {
  --header-deep: #043d3b;
  --header-main: #075f59;
  --header-bright: #0b766d;
  --nokia-green: #79d33f;
  --dock-height: 66px;
}

.site-header {
  position: relative;
  z-index: 500;
  overflow: visible;
  background:
    radial-gradient(circle at 82% -55%, rgba(121,211,63,.18) 0 180px, transparent 181px),
    linear-gradient(125deg, var(--header-deep), var(--header-main) 58%, #09665f);
  border-top: 3px solid rgba(121,211,63,.72);
  box-shadow: 0 10px 34px rgba(2,43,41,.18);
}
.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(255,255,255,.12);
}
.site-header__glow::before {
  width: 360px;
  height: 360px;
  right: 4%;
  top: -285px;
  border-color: rgba(255,255,255,.12);
}
.site-header__glow::after {
  width: 230px;
  height: 230px;
  right: 12%;
  top: -185px;
  border-color: rgba(121,211,63,.16);
}
.site-header__top {
  min-height: 104px;
  padding-block: 13px;
  gap: 28px;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  color: #fff;
  text-decoration: none;
}
.site-brand__mark {
  display: block;
  flex: 0 0 auto;
  padding: 5px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 15px;
  background: rgba(255,255,255,.055);
  box-shadow: 0 10px 24px rgba(0,0,0,.12), inset 0 1px rgba(255,255,255,.08);
}
.site-brand__mark::after { inset: auto 14% -5px; height: 8px; }
.site-brand img {
  display: block;
  width: 236px;
  height: 74px;
  max-height: none;
  border-radius: 9px;
  object-fit: cover;
}
.site-brand__copy {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2px 10px;
  min-width: 0;
}
.site-brand__badge {
  grid-column: 1 / -1;
  width: max-content;
  padding: .16rem .48rem;
  border: 1px solid rgba(121,211,63,.34);
  border-radius: 999px;
  background: rgba(121,211,63,.12);
  color: #c8f6ad;
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1.5;
  text-transform: uppercase;
}
.site-brand__copy strong {
  color: #fff;
  font-size: clamp(1.05rem, 2vw, 1.48rem);
  letter-spacing: -.025em;
  white-space: nowrap;
}
.site-brand__copy small {
  grid-column: 1 / -1;
  color: rgba(255,255,255,.7);
  font-size: .82rem;
  white-space: nowrap;
}
.site-header__actions { gap: 9px; }
.header-action {
  min-height: 46px;
  padding: .48rem .72rem .48rem .48rem;
  gap: 8px;
  border-color: rgba(255,255,255,.17);
  background: rgba(1,35,34,.16);
  box-shadow: inset 0 1px rgba(255,255,255,.05);
  font-size: .86rem;
}
.header-action__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  font-size: 1.15rem;
  line-height: 1;
}
.header-action__icon--vk {
  border-radius: 9px;
  background: #287de0;
  font-size: .66rem;
  font-weight: 950;
}
.header-action:hover .header-action__icon { background: rgba(7,95,89,.1); }
.header-action:hover .header-action__icon--vk { background: #287de0; color: #fff; }

.site-nav {
  position: relative;
  z-index: 4;
  background: rgba(1,31,31,.38);
  border-color: rgba(255,255,255,.075);
}
.site-nav__mobile-head,
.site-nav__mobile-shortcuts { display: none; }
.site-nav__inner > ul {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.site-nav__inner > ul::-webkit-scrollbar { display: none; }
.site-nav__inner > ul > li { flex: 0 0 auto; }
.site-nav__inner a {
  min-height: 51px;
  padding: .64rem .9rem;
  font-size: .91rem;
  white-space: nowrap;
}
.site-nav__inner > ul > li > a::after {
  left: .9rem;
  right: .9rem;
  bottom: 5px;
  background: var(--nokia-green);
}
.site-nav__inner > ul > li.is-current > a,
.site-nav__inner > ul > li > a[aria-current="page"] {
  background: rgba(255,255,255,.09);
}
.site-nav__inner > ul > li.is-current > a::after,
.site-nav__inner > ul > li > a[aria-current="page"]::after { transform: scaleX(1); }

.account-bar {
  position: relative;
  z-index: 3;
  border-bottom: 3px solid rgba(121,211,63,.75);
  background: rgba(255,255,255,.985);
}
.account-bar__inner { min-height: 47px; }
.account-panel {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.account-toggle { display: none; }
.account-nav ul { justify-content: flex-end; }
.account-nav a {
  min-height: 44px;
  padding: 0 .1rem;
  color: #344b48;
  font-size: .86rem;
  font-weight: 750;
  white-space: nowrap;
}
.account-nav a:hover { color: var(--ice-brand); }
.account-bar__status { flex: 0 1 auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mobile-dock { display: none; }
.nav-backdrop { display: none; }

/* A little more breathing room on touch screens and denser legacy pages. */
@media (max-width: 1050px) {
  .site-brand__copy small { display: none; }
  .site-brand__copy { gap: 4px; }
  .site-header__actions .header-action span:last-child { display: none; }
  .header-action { padding-right: .48rem; }
}

@media (max-width: 760px) {
  html { scroll-padding-bottom: calc(var(--dock-height) + 14px); }
  body { padding-bottom: calc(var(--dock-height) + env(safe-area-inset-bottom)); }
  body.nav-open { overflow: hidden; }
  .container-modern { width: min(calc(100% - 22px), var(--ice-container)); }
  .site-content { padding-top: 15px; padding-bottom: 28px; }
  .site-header { border-top-width: 2px; }
  .site-header__top {
    min-height: 72px;
    padding-block: 8px;
    gap: 10px;
  }
  .site-brand { gap: 10px; max-width: calc(100% - 54px); }
  .site-brand__mark { padding: 3px; border-radius: 11px; }
  .site-brand img { width: 164px; height: 52px; border-radius: 7px; }
  .site-brand__copy { display: grid; }
  .site-brand__badge, .site-brand__copy small { display: none; }
  .site-brand__copy strong {
    font-size: .9rem;
    line-height: 1.15;
    white-space: normal;
  }
  .site-header__actions { display: none; }
  .nav-toggle {
    display: grid;
    place-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 9px;
    border-radius: 13px;
    background: rgba(255,255,255,.08);
  }
  .nav-toggle__line { width: 23px; margin: 3px 0; }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: block;
    background: rgba(2,24,24,.58);
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(3px);
    transition: opacity .22s, visibility .22s;
  }
  body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  .site-nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    width: min(88vw, 380px);
    max-height: none;
    overflow: hidden;
    border: 0;
    background: linear-gradient(160deg,#063f3d,#075e58 58%,#064a46);
    box-shadow: -20px 0 60px rgba(0,0,0,.26);
    transform: translateX(105%);
    transition: transform .24s cubic-bezier(.2,.7,.2,1);
  }
  .site-nav.is-open { display: flex; max-height: none; overflow: hidden; transform: translateX(0); }
  .site-nav__mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    padding: 14px 17px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    color: #fff;
  }
  .site-nav__mobile-head strong { font-size: 1.05rem; }
  .site-nav__close {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 12px;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 1.7rem;
    line-height: 1;
  }
  .site-nav__inner {
    width: 100%;
    flex: 1;
    padding: 10px 12px 18px;
    overflow-y: auto;
  }
  .site-nav__inner > ul { display: block; overflow: visible; }
  .site-nav__inner > ul > li { width: 100%; }
  .site-nav__inner a {
    min-height: 48px;
    padding: .68rem .82rem;
    border-radius: 11px;
    font-size: 1rem;
  }
  .site-nav__inner > ul > li > a::after { display: none; }
  .site-nav__inner li ul {
    position: static;
    display: none;
    min-width: 0;
    margin: 2px 0 7px 14px;
    padding: 4px 0 4px 10px;
    border-left: 2px solid rgba(121,211,63,.55);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .site-nav__inner li.is-expanded > ul { display: block; }
  .site-nav__inner li ul a { min-height: 42px; color: rgba(255,255,255,.82); font-size: .93rem; }
  .site-nav__mobile-shortcuts {
    display: grid;
    gap: 7px;
    padding: 13px 16px calc(16px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .site-nav__mobile-shortcuts a {
    padding: .66rem .8rem;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 11px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    font-weight: 750;
  }

  .account-bar { border-bottom-width: 2px; }
  .account-bar__inner { min-height: 44px; display: block; padding-block: 0; }
  .account-toggle {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #29423f;
    font-size: .87rem;
    font-weight: 800;
    text-align: left;
  }
  .account-toggle__avatar { color: var(--nokia-green); font-size: .82rem; }
  .account-toggle__chevron { margin-left: auto; transition: transform .18s; }
  .account-toggle[aria-expanded="true"] .account-toggle__chevron { transform: rotate(180deg); }
  .account-panel {
    display: none;
    padding: 0 0 12px;
    border-top: 1px solid #e1ece9;
  }
  .account-panel.is-open { display: block; }
  .account-bar__status { display: block; padding: 9px 0 4px; white-space: normal; }
  .account-nav ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; }
  .account-nav li { margin: 0; min-width: 0; }
  .account-nav a {
    min-height: 40px;
    display: flex;
    justify-content: center;
    padding: .45rem .5rem;
    border: 1px solid #dce9e6;
    border-radius: 9px;
    background: #f6faf9;
    font-size: .79rem;
    text-align: center;
    white-space: normal;
  }

  .mobile-dock {
    position: fixed;
    inset: auto 0 0;
    z-index: 900;
    display: grid;
    grid-template-columns: repeat(5,1fr);
    min-height: calc(var(--dock-height) + env(safe-area-inset-bottom));
    padding: 5px max(5px,env(safe-area-inset-left)) env(safe-area-inset-bottom) max(5px,env(safe-area-inset-right));
    border-top: 1px solid rgba(6,77,73,.13);
    background: rgba(255,255,255,.96);
    box-shadow: 0 -10px 30px rgba(2,50,47,.13);
    backdrop-filter: blur(16px);
  }
  .mobile-dock a, .mobile-dock button {
    min-width: 0;
    min-height: 56px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 1px;
    padding: 4px 2px;
    border: 0;
    border-radius: 11px;
    background: transparent;
    color: #3d5753;
    text-decoration: none;
  }
  .mobile-dock a > span, .mobile-dock button > span { font-size: 1.18rem; line-height: 1; }
  .mobile-dock small { color: inherit; font-size: .64rem; font-weight: 800; line-height: 1.2; }
  .mobile-dock a:hover, .mobile-dock button:hover,
  .mobile-dock a.is-current { background: #edf8f4; color: var(--header-main); }

  .content-card, .block, .block1, #main, .error, .warning, .done, .info {
    margin-bottom: 14px;
    padding: 17px;
    border-radius: 16px;
    box-shadow: 0 9px 27px rgba(20,64,61,.075);
  }
  .home-grid { gap: 14px; }
  .home-hero { padding: 28px 19px; border-radius: 19px; }
  .home-hero h1 { font-size: clamp(2rem,11vw,3rem); }
  .home-hero__lead { font-size: .98rem; }
  .hero-links { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; scrollbar-width: none; }
  .hero-links::-webkit-scrollbar { display: none; }
  .hero-links a { flex: 0 0 auto; }
  .page-hero { padding: 25px 19px; border-radius: 18px; }
  .page-hero h1 { font-size: clamp(1.85rem,9vw,2.7rem); }
  .article-card { padding: 20px 17px; }
  .article-body { font-size: 1rem; line-height: 1.68; }
  .article-body img { border-radius: 11px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; padding-block: 34px; }
  .footer-counters { align-items: flex-start; }
  .footer-bottom__inner { align-items: flex-start; flex-direction: column; gap: 9px; }
  .scroll-top { bottom: calc(var(--dock-height) + 14px + env(safe-area-inset-bottom)); }
}

@media (max-width: 410px) {
  .site-brand img { width: 148px; height: 47px; }
  .site-brand__copy { display: none; }
  .account-nav ul { grid-template-columns: 1fr; }
  .mobile-dock small { font-size: .6rem; }
  .content-card, .block, .block1, #main { padding: 15px; }
}

/* ================================================================
 * ICE185 Mobile Heritage 2.0.1
 * Header cleanup and constrained standalone plugin pages.
 * ================================================================ */

/* The header intentionally contains only the site search action. */
.site-header__actions {
  margin-left: auto;
}
.site-header__actions .header-action--search {
  min-width: 112px;
  justify-content: center;
}

/*
 * Seditio 185 Contact and Search use their own plugin templates with
 * <main id="plugins"><div class="container">...</div></main>.
 * Constrain that legacy .container independently from the global page.
 */
#plugins {
  width: 100%;
  min-width: 0;
  margin: 0;
}
#plugins > .container {
  width: min(calc(100% - 32px), 1040px);
  max-width: 1040px;
  margin-inline: auto;
}
#plugins .section-title {
  position: relative;
  isolation: isolate;
  margin: 0 0 18px;
  padding: clamp(24px, 4vw, 42px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--ice-radius);
  background:
    radial-gradient(circle at 92% 0, rgba(121,211,63,.22), transparent 34%),
    linear-gradient(135deg, rgba(13,102,100,.99), rgba(6,72,69,.99));
  color: #fff;
  box-shadow: var(--ice-shadow);
}
#plugins .section-title::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 14px, transparent 14px 34px);
}
#plugins .section-title h1 {
  width: auto;
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: clamp(1.9rem, 5vw, 3rem);
  text-align: left;
}
#plugins .section-title .section-desc {
  max-width: 780px;
  margin-top: 10px;
  color: rgba(255,255,255,.84);
  font-size: 1rem;
}
#plugins .section-title .breadcrumb,
#plugins .section-title .breadcrumbs {
  margin: 0 0 15px;
  color: rgba(255,255,255,.76);
}
#plugins .section-title .breadcrumb a,
#plugins .section-title .breadcrumbs a {
  color: #fff;
}
#plugins .section-body {
  min-width: 0;
  padding: clamp(18px, 3.5vw, 34px);
  overflow: hidden;
  border: 1px solid var(--ice-border);
  border-radius: var(--ice-radius);
  background: var(--ice-surface);
  box-shadow: var(--ice-shadow);
}
#plugins .section-body > form,
#plugins .section-body > form#search,
#plugins .section-body > form[name="sendmail"] {
  width: min(100%, 820px);
  margin-inline: auto;
}
#plugins .form,
#plugins .responsive-form {
  margin: 0;
  padding: 0;
  list-style: none;
}
#plugins .form-row {
  margin: 0;
  list-style: none;
}
#plugins .form-label label {
  display: inline-block;
  padding-top: .68rem;
  color: #294744;
  font-weight: 800;
}
#plugins .form-field,
#plugins .form-field-100 {
  min-width: 0;
}
#plugins .form-field-100 {
  grid-column: 1 / -1;
  width: 100%;
}
#plugins .form-field input,
#plugins .form-field select,
#plugins .form-field textarea,
#plugins .form-field-100 input,
#plugins .form-field-100 select,
#plugins .form-field-100 textarea {
  width: 100%;
  max-width: 100%;
}
#plugins .section-body .table,
#plugins .section-body .cells,
#plugins .section-body .resp-table {
  max-width: 100%;
  overflow-x: auto;
}
#plugins .section-body h4 {
  margin-top: 1.7rem;
  font-size: 1.25rem;
}

@media (max-width: 760px) {
  #plugins > .container {
    width: min(calc(100% - 22px), 1040px);
  }
  #plugins .section-title {
    margin-bottom: 12px;
    padding: 22px 18px;
    border-radius: 16px;
  }
  #plugins .section-title h1 {
    font-size: clamp(1.75rem, 9vw, 2.45rem);
  }
  #plugins .section-body {
    padding: 17px;
    border-radius: 16px;
  }
  #plugins .form-label label {
    padding-top: 0;
  }
}

@media (max-width: 410px) {
  #plugins > .container {
    width: calc(100% - 16px);
  }
  #plugins .section-title,
  #plugins .section-body {
    border-radius: 14px;
  }
  #plugins .section-title {
    padding: 19px 15px;
  }
  #plugins .section-body {
    padding: 15px;
  }
}

/* ==========================================================================\n   ICE185 Mobile Heritage FINAL 2.1.0\n   Unified Seditio 185 system pages + icon-only search action.\n   ========================================================================== */

/* One precise, accessible search control in the desktop header. */
.site-header__actions .header-action--search {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255,255,255,.18), transparent 46%),
    rgba(1,35,34,.22);
  color: #fff;
  box-shadow:
    0 10px 24px rgba(0,0,0,.16),
    inset 0 1px rgba(255,255,255,.10);
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.site-header__actions .header-action--search::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(121,211,63,.22);
  border-radius: inherit;
  pointer-events: none;
}
.site-header__actions .header-action--search:hover,
.site-header__actions .header-action--search:focus-visible {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(184,244,147,.72);
  background: #fff;
  color: var(--header-main);
  box-shadow: 0 14px 30px rgba(0,0,0,.20), 0 0 0 5px rgba(121,211,63,.12);
}
.site-header__actions .header-action--search:active {
  transform: translateY(0) scale(.98);
}
.header-search-icon {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/*
 * Core Seditio 185 modules PM, Users and PFS all render as:
 * <main id="system"><div class="container">...</div></main>.
 * This layer gives every standard module the same centered site grid.
 */
#system {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}
#system > .container {
  width: min(calc(100% - 32px), var(--ice-container));
  max-width: var(--ice-container);
  min-width: 0;
  margin-inline: auto;
}
#system .section-title {
  position: relative;
  isolation: isolate;
  margin: 0 0 18px;
  padding: clamp(25px, 4vw, 44px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--ice-radius);
  background:
    radial-gradient(circle at 91% -10%, rgba(121,211,63,.28), transparent 35%),
    radial-gradient(circle at 8% 115%, rgba(42,194,182,.18), transparent 37%),
    linear-gradient(135deg, #0b746d 0%, #075b57 56%, #053f3e 100%);
  color: #fff;
  box-shadow: 0 22px 58px rgba(5,58,55,.16);
}
#system .section-title::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 58%, rgba(255,255,255,.055) 58% 59%, transparent 59% 100%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 13px, transparent 13px 32px);
}
#system .section-title h1 {
  width: auto;
  max-width: 920px;
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: clamp(1.9rem, 5vw, 3.15rem);
  line-height: 1.08;
  text-align: left;
  text-wrap: balance;
}
#system .section-title .section-desc {
  max-width: 820px;
  margin-top: 11px;
  color: rgba(255,255,255,.82);
  font-size: 1rem;
}
#system .section-title .breadcrumb,
#system .section-title .breadcrumbs {
  margin: 0 0 16px;
  color: rgba(255,255,255,.74);
}
#system .section-title .breadcrumb {
  border-color: rgba(255,255,255,.14);
  background: rgba(0,0,0,.10);
  box-shadow: none;
}
#system .section-title .breadcrumb a,
#system .section-title .breadcrumbs a {
  color: #fff;
}
#system .section-body {
  min-width: 0;
  padding: clamp(19px, 3.4vw, 35px);
  border: 1px solid var(--ice-border);
  border-radius: var(--ice-radius);
  background: rgba(255,255,255,.975);
  box-shadow: var(--ice-shadow);
}
#system .section-body > :first-child { margin-top: 0; }
#system .section-body > :last-child { margin-bottom: 0; }

/* Module toolbars, filters and status areas. */
#system .centered {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0 0 18px;
}
#system .centered a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: .48rem .78rem;
  border: 1px solid #c8dcd8;
  border-radius: 10px;
  background: #f5faf8;
  color: var(--ice-brand-dark);
  font-weight: 800;
  text-decoration: none;
}
#system .centered a:hover {
  border-color: var(--ice-accent);
  background: #eef9e9;
  color: #315f20;
}
#system .filters {
  display: grid;
  grid-template-columns: minmax(240px, .9fr) minmax(0, 1.4fr);
  gap: 14px;
  align-items: end;
  margin: 0 0 20px;
  padding: 15px;
  border: 1px solid var(--ice-border);
  border-radius: 15px;
  background: linear-gradient(135deg,#f4faf8,#edf6f3);
}
#system .filters-form,
#system .filters-alphafilters { min-width: 0; }
#system .filters-alphafilters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}
#system .filters-alphafilters a {
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  min-height: 32px;
  padding: 3px 7px;
  border: 1px solid #c9dcd8;
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  font-weight: 800;
}
#system .pfs-stats,
#system .pm-empty {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid #cbe3dc;
  border-radius: 13px;
  background: linear-gradient(135deg,#eff9f5,#f8fbfa);
  color: #355653;
}

/* Standard Seditio tabs, especially the Personal File System. */
#system .sedtabs > ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0 8px;
  list-style: none;
}
#system .sedtabs > ul.tabs li { margin: 0; }
#system .sedtabs > ul.tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: .55rem .82rem;
  border: 1px solid var(--ice-border);
  border-bottom: 0;
  border-radius: 11px 11px 0 0;
  background: #edf5f3;
  color: #385b57;
  font-weight: 800;
  text-decoration: none;
}
#system .sedtabs > ul.tabs a.selected,
#system .sedtabs > ul.tabs a:hover {
  background: #fff;
  color: var(--ice-brand-dark);
}
#system .tab-box {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--ice-border);
  border-radius: 14px;
  background: #fff;
}

/* Div-based Seditio tables become polished data panels on desktop. */
#system .resp-table {
  width: 100%;
  max-width: 100%;
  margin: 16px 0;
  overflow: hidden;
  border: 1px solid var(--ice-border);
  border-radius: 16px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  box-shadow: 0 12px 34px rgba(6,60,57,.075);
}
#system .table-head .table-row {
  background: linear-gradient(135deg,#086c66,#075650);
  color: #fff;
}
#system .table-th {
  padding: 12px 13px;
  border-color: rgba(255,255,255,.13);
  color: #fff;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .025em;
}
#system .table-td {
  min-width: 0;
  padding: 12px 13px;
  border-color: #dce8e5;
  overflow-wrap: anywhere;
}
#system .table-body .table-row:nth-child(even) { background: #f5f9f8; }
#system .table-body .table-row:hover { background: #edf8f4; }
#system .table-cells.table-with-border {
  display: table;
  width: 100%;
  margin: 16px 0;
  overflow: hidden;
  border: 1px solid var(--ice-border);
  border-radius: 15px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
}
#system .table-cells .table-tr { display: table-row; }
#system .table-cells .table-td {
  display: table-cell;
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid var(--ice-border);
  vertical-align: top;
}
#system .table-cells .table-tr:last-child .table-td { border-bottom: 0; }
#system .table-cells .table-td:first-child {
  width: 200px;
  background: #f3f8f7;
  color: #49645f;
  font-weight: 800;
}
#system .pm-message {
  max-width: 100%;
  overflow-wrap: anywhere;
}
#system .pm-message img,
#system .section-body img { max-width: 100%; height: auto; }

/* Forms in every standard module follow one coherent readable width. */
#system .section-body form { max-width: 100%; }
#system .section-body input,
#system .section-body select,
#system .section-body textarea { max-width: 100%; }
#system .section-body .form,
#system .section-body .responsive-form { margin: 0; padding: 0; list-style: none; }
#system .section-body .form-row { min-width: 0; }
#system .pagination-box { margin-block: 18px; }

@media (max-width: 760px) {
  #system > .container {
    width: min(calc(100% - 22px), var(--ice-container));
  }
  #system .section-title {
    margin-bottom: 12px;
    padding: 23px 18px;
    border-radius: 17px;
  }
  #system .section-title h1 {
    font-size: clamp(1.72rem, 9vw, 2.45rem);
  }
  #system .section-title .section-desc { font-size: .93rem; }
  #system .section-body {
    padding: 17px;
    border-radius: 17px;
  }
  #system .filters {
    grid-template-columns: 1fr;
    padding: 12px;
  }
  #system .filters-alphafilters { justify-content: flex-start; }
  #system .centered { justify-content: stretch; }
  #system .centered a { flex: 1 1 auto; }
  #system .sedtabs > ul.tabs {
    flex-wrap: nowrap;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  #system .sedtabs > ul.tabs::-webkit-scrollbar { display: none; }
  #system .sedtabs > ul.tabs li { flex: 0 0 auto; }
  #system .tab-box { padding: 14px; }
}

@media (max-width: 700px) {
  #system .resp-table {
    display: block;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  #system .resp-table-head { display: none; }
  #system .resp-table-body {
    display: grid;
    gap: 12px;
  }
  #system .resp-table-row {
    display: block;
    padding: 8px 12px;
    border: 1px solid var(--ice-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(6,60,57,.06);
  }
  #system .resp-table-td {
    display: grid;
    grid-template-columns: minmax(92px, 38%) minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 9px 0;
    border: 0;
    border-bottom: 1px solid #e2ece9;
    text-align: left !important;
  }
  #system .resp-table-td:last-child { border-bottom: 0; }
  #system .resp-table-td::before {
    margin: 0;
    color: #627a76;
    font-size: .74rem;
    font-weight: 900;
    line-height: 1.35;
    text-transform: uppercase;
  }
  #system .table-cells.table-with-border { display: block; }
  #system .table-cells .table-tr {
    display: grid;
    grid-template-columns: 1fr;
    border-bottom: 1px solid var(--ice-border);
  }
  #system .table-cells .table-tr:last-child { border-bottom: 0; }
  #system .table-cells .table-td,
  #system .table-cells .table-td:first-child {
    display: block;
    width: auto !important;
    padding: 10px 12px;
    border: 0;
  }
  #system .table-cells .table-td:first-child {
    padding-bottom: 4px;
    background: transparent;
    color: #607773;
    font-size: .76rem;
    text-transform: uppercase;
  }
}

@media (max-width: 410px) {
  #system > .container { width: calc(100% - 16px); }
  #system .section-title,
  #system .section-body { border-radius: 14px; }
  #system .section-title { padding: 20px 15px; }
  #system .section-body { padding: 14px; }
  #system .resp-table-td { grid-template-columns: 1fr; gap: 3px; }
}

