/* Kotana TV • a television workspace, 2026. */
:root {
 --tv-bg:#f0f4f9; --tv-surface:#ffffff; --tv-raised:#f5f8fc; --tv-border:#dce5ef;
 --tv-text:#20324b; --tv-muted:#61718a; --tv-accent:#087da9; --tv-radius:14px;
 --tv-warm:#a95712; --tv-positive:#147b56; --tv-danger:#b73951;
 --kt-ink:var(--tv-text); --kt-muted:var(--tv-muted); --kt-line:var(--tv-border); --kt-lime:var(--tv-accent);
 color-scheme:light;
}
.kotana-ui {margin:0!important;min-height:100vh;height:auto!important;background:var(--tv-bg)!important;color:var(--tv-text);font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}
.kotana-ui * {box-sizing:border-box}
.kotana-ui a {color:var(--tv-accent);text-decoration:none}
.kotana-ui a:hover {color:#c3f3ff;text-decoration:none}
.kotana-ui :focus-visible {outline:2px solid var(--tv-accent);outline-offset:4px}
.kotana-ui .kt-icon {width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
.kotana-shell#container {display:grid;grid-template-columns:224px minmax(0,1fr);width:100%;min-height:100vh;height:auto;margin:0}
.kotana-sidebar {position:sticky;top:0;height:100vh;overflow-y:auto;display:flex;flex-direction:column;padding:30px 18px 20px;background:#0c1322;border-right:1px solid #202d42;z-index:35}
.kotana-brand {display:flex;align-items:center;gap:12px;margin:0 11px 38px;color:var(--tv-text)!important}
.kotana-brand-mark {display:grid;place-items:center;width:40px;height:40px;flex:none;border-radius:12px;color:#081b2b;background:var(--tv-accent);box-shadow:0 4px 24px #64d9f714}
.kotana-brand-mark .kt-icon {width:25px;height:25px;stroke-width:1.9}
.kotana-brand-word {font-size:23px;line-height:1;font-weight:750;letter-spacing:-.6px}
.kotana-brand-word>span {display:block;margin-top:7px;font-size:9px;font-weight:550;letter-spacing:2.6px;color:#7f98b8}
.kotana-sidebar-caption {display:block;margin:0 12px 13px;color:#7489a8;font-size:10px;font-weight:650;letter-spacing:1.5px;text-transform:uppercase}
.kotana-navigation {display:flex;flex-direction:column;gap:5px}
.kotana-navigation a {display:flex;align-items:center;gap:11px;padding:12px 13px;border-radius:10px;font-size:13px;font-weight:550;color:#b0bfd4!important;transition:background .15s,color .15s}
.kotana-navigation a>.kt-icon {width:19px;height:19px;color:#879dbc}
.kotana-navigation a>.kt-icon:last-child {margin-left:auto;width:14px;opacity:0}
.kotana-navigation a:hover {background:#162239;color:#f1f5fc!important}
.kotana-navigation a[aria-current=page] {background:#173447;color:#a5edff!important;box-shadow:inset 3px 0 0 var(--tv-accent)}
.kotana-navigation a[aria-current=page]>.kt-icon {color:var(--tv-accent)}
.kotana-navigation a[aria-current=page]>.kt-icon:last-child {opacity:1}
.kotana-sidebar-note {margin:32px 4px 20px;padding:20px 15px;border:1px solid #293b55;border-radius:12px;background:linear-gradient(145deg,#182b41,#101c30);position:relative;overflow:hidden}
.kotana-sidebar-note>.kt-icon {width:28px;height:28px;color:var(--tv-accent);margin-bottom:14px;display:block}
.kotana-sidebar-note strong {font-size:13px;display:block;color:#e6f4ff}
.kotana-sidebar-note p {color:#90a7c3;font-size:11px;line-height:1.7;margin:8px 0 0}
.kotana-sidebar-news {margin:30px 5px 12px}
.kotana-sidebar-news>a {display:block;padding:11px 10px;border-top:1px solid #202c40;color:#99afcd!important;font-size:11px}
.kotana-sidebar-news>a>span {display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.kotana-sidebar-news small {display:block;margin-top:5px;color:#7185a0;font-size:10px}
.kotana-sidebar-bottom {margin-top:auto;padding:24px 12px 0}
.kotana-sidebar-bottom>a {display:flex;align-items:center;gap:10px;color:#91a6c2!important;font-size:12px}
.kotana-sidebar-version {display:block;margin-top:24px;font-size:9px;letter-spacing:1.6px;color:#68819f}
.kotana-workspace {min-width:0}
.kotana-topbar {height:68px;padding:0 30px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #202b3d;background:#0d1523}
.kotana-topbar-left,.kotana-topbar-right {display:flex;align-items:center;gap:16px;min-width:0}
.kotana-breadcrumb {font-size:12px;color:#8499b6;white-space:nowrap}
.kotana-breadcrumb>span {margin:0 12px;color:#42546f}
.kotana-breadcrumb b {font-weight:500;color:#d5e2f3}
.kotana-avatar {display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:10px;background:#21344b;border:1px solid #36506c;color:#bcefff;font-size:12px;font-weight:700}
.kotana-ui .kotana-language {position:static;margin:0;padding:3px;border:1px solid #2b3b51;border-radius:8px;background:#101c2c;font:11px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;gap:2px;width:max-content}
.kotana-ui .kotana-language button {padding:5px 8px;min-height:0;border:0;border-radius:5px;background:transparent;color:#90a7c2;font:inherit;box-shadow:none;cursor:pointer}
.kotana-ui .kotana-language button[aria-pressed=true] {background:#254158;color:#d5f6ff;font-weight:600}
.kotana-main {max-width:1680px;margin:auto;padding:25px 30px 16px;min-width:0;outline:none}
.kotana-page-heading {display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 22px}
.kotana-eyebrow {font-size:10px;font-weight:600;letter-spacing:2px;color:#79b9d3}
.kotana-page-heading h1 {font-size:28px;line-height:1.25;letter-spacing:-.7px;font-weight:650;margin:7px 0 0;color:var(--tv-text);overflow-wrap:anywhere}
.kotana-page-emblem {display:grid;place-items:center;width:44px;height:44px;border-radius:12px;border:1px solid #294159;background:#142538;color:#7adcf5}
.kotana-page-emblem>.kt-icon {width:23px;height:23px}
.kotana-metrics {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 22px}
.kotana-metric {position:relative;min-width:0;min-height:105px;padding:16px 18px;border:1px solid var(--tv-border);border-radius:12px;background:var(--tv-surface);overflow:hidden}
.kotana-metric>span {display:flex;align-items:center;gap:8px;font-size:11px;color:#9bb0cb}
.kotana-metric>span>.kt-icon {width:15px;height:15px;color:#7a95b7}
.kotana-metric>strong {display:block;font-size:28px;line-height:1.2;font-weight:650;letter-spacing:-.7px;margin:9px 0 0;font-variant-numeric:tabular-nums;color:#f4f8ff}
.kotana-metric>strong em {font-style:normal;font-size:15px;margin-left:5px;font-weight:500;color:#97bed0;letter-spacing:0}
.kotana-metric>small {display:none}
.kotana-metric-featured {background:linear-gradient(120deg,#183248,#173549);border-color:#2a5468}
.kotana-metric-featured:after {content:"";position:absolute;width:120px;height:120px;right:-38px;bottom:-76px;border:1px solid #6cd7f44d;border-radius:50%;box-shadow:0 0 0 13px #67d8f415,0 0 0 26px #67d8f409;pointer-events:none}
.kotana-metric-featured>span,.kotana-metric-featured>span>.kt-icon {color:#a5dbe9}
.kotana-client .kotana-metric-featured>small {display:block;position:absolute;right:17px;bottom:17px;font-size:10px;color:#84becf;max-width:42%;overflow:hidden;text-overflow:ellipsis}
.kotana-metric-tip {display:grid;grid-template-columns:24px 1fr;column-gap:7px;align-content:center;background:#172130}
.kotana-metric-tip>.kt-icon {color:var(--tv-warm);width:17px;height:17px;grid-row:1/3;margin-top:5px}
.kotana-metric-tip>strong {font-size:23px;margin:0 0 5px}
.kotana-metric-tip>span {grid-column:2;font-size:10px;line-height:1.45;max-width:170px}
.kotana-status-dot {display:inline-block;width:5px;height:5px;background:var(--tv-positive);border-radius:50%}
.kotana-panel {min-width:0;padding:22px;background:var(--tv-surface);border:1px solid var(--tv-border);border-radius:16px;box-shadow:0 12px 36px #00000010;overflow:hidden}
.kotana-panel:has(.ktv-admin-detail),.kotana-panel:has(.ktv-client-workspace),.kotana-panel:has(.ktv-main-clients) {padding:0;background:transparent;border:0;box-shadow:none}
.kotana-module {min-width:0;max-width:100%;overflow:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#3d5774 transparent;padding-bottom:4px;color:var(--tv-text)}
.kotana-module::-webkit-scrollbar {height:7px;width:7px}
.kotana-module::-webkit-scrollbar-thumb {background:#3d5774;border-radius:8px}
.kotana-footer {display:flex;justify-content:space-between;gap:20px;padding:21px 1px 3px;color:#7187a4;font-size:10px}
.kotana-footer>span:first-child {font-weight:600;color:#96adc9;letter-spacing:.4px}
.kotana-footer-dot {color:var(--tv-accent)}
.kotana-skip {position:fixed;top:-100px;left:242px;z-index:100;padding:12px 20px;border-radius:8px;background:var(--tv-accent);color:#0b2335!important}
.kotana-skip:focus {top:12px}
.kotana-menu-toggle {display:none!important}
.kotana-menu-backdrop[hidden] {display:none!important}
/* Shared forms and legacy modules: legible controls with their original contracts. */
.kotana-module,.kotana-module td,.kotana-module th,.kotana-module input,.kotana-module select,.kotana-module textarea {font-family:inherit}
.kotana-module .text1,.kotana-module .text3,.kotana-module .text12,.kotana-module .text3Menu,.kotana-module .text3menu {font-family:inherit!important;font-size:13px!important;line-height:1.5;color:#d1dced!important;font-weight:400}
.kotana-module .text5,.kotana-module .text6,.kotana-module .textgray9 {font-family:inherit!important;color:#98acc7!important;font-size:12px!important;line-height:1.5}
.kotana-module .textyelow,.kotana-module .textgreen {font-family:inherit!important;color:var(--tv-positive)!important;font-size:12px!important}
.kotana-module .textred {font-family:inherit!important;color:var(--tv-warm)!important;font-size:12px!important}
.kotana-module .zagolovik2,.kotana-module .zagolovik3,.kotana-module .zagolovik4 {font:600 17px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;color:#e2ebf8!important;font-style:normal!important}
.kotana-module table {border-collapse:separate;border-spacing:0}
.kotana-module td {vertical-align:middle}
.kotana-module td[bgcolor] {background:transparent!important}
.kotana-module .line {height:12px;background:none!important}
.kotana-module .bgpoisk,.kotana-module .bg7,.kotana-module .bg8 {background:none!important}
.kotana-module .podcherkivanie {color:#c0ddef;font-weight:550;text-decoration:none}
.kotana-module input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=image]):not([type=submit]):not([type=button]),.kotana-module select,.kotana-module textarea {
 min-height:40px;max-width:100%;padding:9px 11px!important;border:1px solid #364960!important;border-radius:8px;background:#0d1728!important;color:#e5eefb!important;font:13px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;box-shadow:none!important;transition:border-color .15s
}
.kotana-module input::placeholder,.kotana-module textarea::placeholder {color:#7389a6;opacity:1}
.kotana-module input:focus,.kotana-module select:focus,.kotana-module textarea:focus {border-color:var(--tv-accent)!important;outline:2px solid #64d9f725;outline-offset:1px}
.kotana-module input[type=checkbox],.kotana-module input[type=radio] {accent-color:var(--tv-accent);width:16px;height:16px;vertical-align:middle;cursor:pointer;flex:none}
.kotana-module button:where(:not(.client-order-close):not(.renewal-dialog-close):not(.renewal-close)),.kotana-module input[type=submit],.kotana-module input[type=button],.kotana-image-button {display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 12px!important;border:1px solid #3a506c!important;border-radius:8px!important;background:#1b2c43!important;color:#d5e8fa!important;font:550 12px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;cursor:pointer;box-shadow:none!important;text-transform:none;transition:background .15s,border-color .15s;white-space:nowrap}
.kotana-module button:hover:not(:disabled),.kotana-module input[type=submit]:hover,.kotana-image-button:hover {background:#293d57!important;border-color:#56789a!important}
.kotana-module button:disabled,.kotana-module input:disabled {opacity:.45;cursor:default!important}
.kotana-module .kotana-image-button-primary,.kotana-module .ktv-primary,.kotana-module #submit,.kotana-module .order-purchase,.kotana-ui #clientOrderActionSubmit {background:var(--tv-accent)!important;color:#0b2335!important;border-color:var(--tv-accent)!important;font-weight:650!important}
.kotana-module .kotana-image-button-primary:hover,.kotana-module .ktv-primary:hover,.kotana-module #submit:hover,.kotana-module .order-purchase:hover {background:#9be9fb!important}
.kotana-module button[data-action=cancel],.kotana-module .bulk-order-actions button {background:#312333!important;border-color:#624151!important;color:#ffabb2!important}
.kotana-image-button {position:relative;vertical-align:middle;max-width:100%}
.kotana-image-button .kt-icon {width:16px;height:16px}
.kotana-icon-link {display:inline-flex!important;align-items:center;justify-content:center;width:32px!important;height:32px!important;border:1px solid #31475f;border-radius:8px;background:#16253b;color:#a5c5e0!important;margin:2px}
.kotana-icon-link .kt-icon {width:15px;height:15px}
.kotana-icon-link[data-kotana-action=delete] {background:#2a1e2c;border-color:#5c3647;color:#ff9da8!important}
.kotana-status {display:inline-flex!important;align-items:center;gap:6px;padding:5px 8px;border:1px solid #28574b;border-radius:6px;background:#163d33;color:#8befc7!important;font:550 11px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;white-space:nowrap}
.kotana-status:before {content:"";width:4px;height:4px;border-radius:50%;background:currentColor}
.kotana-status[data-kotana-status=pause] {background:#3b2e22;border-color:#6a5036;color:#ffd095!important}
.kotana-status[data-kotana-status=inactive] {background:#1b2639;border-color:#35465e;color:#9fb2cc!important}
.kotana-status[data-kotana-status=blocked] {background:#402532;border-color:#70404c;color:#ffa7b0!important}
.kotana-module .client-order-action,.kotana-module .admin-resume-order {font-size:11px!important;min-height:30px;padding:5px 8px!important;margin:3px 2px 0 0}
.kotana-module .admin-resume-order {display:inline-flex;max-width:100%;white-space:normal;text-align:left}
.kotana-module .client-note {font:12px/1.4 inherit;color:#9aacc4;margin:0 0 5px;max-height:60px;overflow:auto}
.kotana-module .client-order-feedback {font-size:12px;line-height:1.4;color:#9de6d5;white-space:normal;margin-top:7px}
.kotana-module .client-order-feedback[data-error=true] {color:#ffb3bb}
/* Semantic cards and aligned tables, replacing nested presentation tables. */
.ktv-stack,.ktv-admin-detail {display:grid;gap:20px;min-width:0}
.ktv-card {min-width:0;background:var(--tv-surface);border:1px solid var(--tv-border);border-radius:var(--tv-radius);overflow:hidden}
.ktv-card-header,.ktv-section-header {display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 20px;border-bottom:1px solid var(--tv-border)}
.ktv-card-header h2,.ktv-card-header h3,.ktv-section-heading {margin:0;font-size:16px;line-height:1.4;font-weight:600;color:#ecf4ff;letter-spacing:-.2px}
.ktv-card-body,.ktv-form {padding:20px}
.ktv-card-body .ktv-form,.ktv-card-body.ktv-form {padding:0}
.ktv-settings-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ktv-profile-summary {display:flex;align-items:center;gap:22px;flex-wrap:wrap;padding:20px 22px;background:linear-gradient(105deg,#172d43,#131e31);border:1px solid #304762;border-radius:14px}
.ktv-client-meta {min-width:170px;flex:1;color:var(--tv-muted);font-size:12px;overflow-wrap:anywhere}
.ktv-client-meta h2,.ktv-client-meta strong {color:#e9f7ff;font-size:20px;line-height:1.3;letter-spacing:-.4px}
.ktv-client-meta p {margin:5px 0 0}
.ktv-stat-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;flex:3}
.ktv-stat {display:flex;flex-direction:column;gap:6px;min-width:0;font-size:11px;color:#98aec8}
.ktv-stat strong {color:#e0effc;font-size:19px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.3}
.ktv-form-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ktv-field {display:flex;flex-direction:column;gap:7px;min-width:0;color:#a4b9d2;font-size:12px}
.ktv-field input,.ktv-field select,.ktv-field textarea {width:100%;min-width:0}
.ktv-field-wide {grid-column:1/-1}
.ktv-form-actions {display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:18px}
.ktv-form-actions a {font-size:12px}
.ktv-check,.ktv-radio {display:flex;align-items:center;gap:9px;min-height:30px;color:#c2d2e7;font-size:12px;line-height:1.5}
.ktv-check input,.ktv-radio input {margin:0}
.ktv-inline-fields {display:flex;gap:9px;align-items:center;min-width:0}
.ktv-inline-fields input {flex:1;min-width:0;width:100%}
.ktv-inline-fields select {width:90px;flex:none}
.ktv-table-scroll {position:relative;min-width:0;max-width:100%;overflow:auto;scrollbar-width:thin;scrollbar-color:#3d5774 transparent;overscroll-behavior-x:contain}
.kotana-module .ktv-table {width:100%!important;min-width:760px;table-layout:auto!important;border-collapse:collapse;border-spacing:0;color:#cdd9eb;font-size:12px}
.kotana-module .ktv-table tr {width:auto!important}
.kotana-module .ktv-table th {padding:13px 16px;text-align:left;background:#152237;color:#91a9c7;font-size:11px;font-weight:550;line-height:1.4;white-space:nowrap;border-bottom:1px solid #2e405b}
.kotana-module .ktv-table th a {color:#a7c4de;display:inline-flex;align-items:center;gap:5px}
.kotana-module .ktv-table th a:hover {color:var(--tv-accent)}
.kotana-module .ktv-table th form {margin:0}
.kotana-module .ktv-table td {width:auto!important;height:auto!important;padding:14px 16px;border-bottom:1px solid #243248!important;background:transparent!important;vertical-align:middle;line-height:1.5;font-size:12px!important}
.kotana-module .ktv-table tbody tr:last-child td {border-bottom:0!important}
.kotana-module .ktv-table tbody tr:hover td {background:#17273b!important}
.kotana-module .ktv-table td:first-child {font-weight:550}
.kotana-module .ktv-table td a.podcherkivanie,.kotana-module .ktv-table td:first-child>a {color:#d6edfc}
.kotana-module .ktv-table td.ktv-cell-actions {white-space:nowrap}
.kotana-module .ktv-table tr.client-order-target td {background:#183c48!important}
.kotana-module .ktv-table .client-list-row,.kotana-module .ktv-table .client-table-frame {margin:0;box-shadow:none;border-radius:0;outline:none}
.kotana-module .ktv-table td .admin-resume-order {display:flex;width:max-content;margin-top:7px}
.ktv-pagination {display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:16px 20px;border-top:1px solid var(--tv-border);color:#96abc6;font-size:12px}
.ktv-pagination form,.ktv-pagination label {display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0}
.ktv-pagination select {width:86px}
.kotana-module a.menulll {display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;margin:2px;padding:4px 8px;border:1px solid #334965;border-radius:6px;background:#18283f;color:#b6cfe7;font:12px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.kotana-module a.menulll:hover {color:#0d2737;background:var(--tv-accent);border-color:var(--tv-accent)}
.ktv-search-grid {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:18px;align-items:end}
.ktv-search-grid form {margin:0;min-width:0}
.ktv-empty {padding:26px;color:#9fb1cb;font-size:13px;text-align:center}
.kotana-module .client-search {margin:0}
.kotana-module .client-search-heading {margin-bottom:17px}
.kotana-module .client-search-forms {display:flex;align-items:end;gap:16px;flex-wrap:wrap}
.kotana-module .client-search-forms label {display:block;margin-bottom:7px;color:#a5bad3!important;font-size:12px!important}
.kotana-module .client-search-controls {display:flex;align-items:center;gap:8px;min-width:0}
.kotana-module .client-search-controls input[type=text] {width:200px;min-width:0;height:40px}
.ktv-search-grid .client-search-controls input[type=text] {width:100%;flex:1}
.kotana-order-toolbar {display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:16px}
.kotana-order-toolbar .kt-icon {width:16px;height:16px}
.kotana-inline-form {padding:20px;border:1px solid #344c65;background:#14253a;border-radius:12px;margin-bottom:18px;max-width:720px}
.kotana-add-client-fields {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 40px;gap:15px;align-items:end}
.kotana-add-client-fields label,.kotana-order-search label {font-size:12px;color:#aac0da}
.kotana-add-client-fields label input,.kotana-order-search label input {display:block;width:100%;margin-top:7px}
.kotana-add-client-note {grid-column:1/-1}
.kotana-add-client-fields>#submit {grid-column:1/-1;width:max-content}
.kotana-add-client-fields>#generLP {min-width:40px;width:40px;padding:8px!important}
.kotana-order-search {display:flex;align-items:end;gap:9px;max-width:480px}
.kotana-order-search label {flex:1;min-width:0}
.kotana-order-search button {display:inline-flex;align-items:center;gap:7px}
.kotana-order-search .kt-icon {width:16px;height:16px}
.kotana-module .bulk-order-actions {display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:12px 15px;border:1px solid #30435b;border-radius:10px;background:#142236;color:#a9bed6;font:12px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;margin:0 0 16px}
.kotana-module .bulk-order-actions label {display:inline-flex;gap:8px;align-items:center}
.kotana-module .client-table-portal .client-selection-space {width:16px}
/* Unconverted rows continue to share a readable dark surface. */
.kotana-module table.client-table-frame,.kotana-module table.client-list-row {background:transparent;margin:0;border-radius:0}
.kotana-module table.client-table-frame>tbody>tr>td,.kotana-module table.client-list-row>tbody>tr>td {background:transparent!important;border-bottom:1px solid #29384e;border-radius:0!important}
.kotana-module table.client-table-frame .client-table-data td,.kotana-module table.client-list-row .client-list-data td {padding:13px 8px;height:auto}
.kotana-module table.client-table-heading {background:#16273c;color:#a7bdd6;border-radius:8px}
.kotana-module table.client-table-heading td {padding-top:12px;padding-bottom:12px}
.kotana-module .client-list-row>tbody>tr>td:first-child>img,.kotana-module .client-list-row>tbody>tr>td:nth-child(3)>img {display:none}
/* Pricing and payment rows. */
.kotana-module .tkid ul {display:grid;grid-template-columns:repeat(auto-fit,minmax(248px,1fr));gap:9px;margin:16px 0;padding:0;list-style:none}
.kotana-module .tkid ul li {display:flex;align-items:center;gap:8px;padding:10px;border:1px solid #30445e;border-radius:9px;background:#152339}
.kotana-module .tkid .span1 {min-width:28px;text-align:right;color:#9fc3dd}
.kotana-module .tkid .inpupak1 {display:flex;align-items:center;gap:5px;width:116px!important;margin:0!important;padding:0!important;background:transparent!important}
.kotana-module .tkid .inpupak1:last-child {width:66px!important}
.kotana-module .tkid .inpupak1 input {width:100px!important;min-width:0;max-width:none;font-variant-numeric:tabular-nums}
.kotana-module .tkid .inpupak1:last-child input {width:66px!important}
.kotana-module [data-payment-id] {margin:0;background:transparent}
.kotana-module [data-payment-id]>tbody>tr:first-child>td {padding:4px 0;border-bottom:1px solid #2b3a50;background:transparent!important}
.kotana-module [data-payment-id] td td {padding:11px 8px;color:#c1d0e5!important;font-size:12px!important;line-height:1.6}
.kotana-module [data-payment-id]>tbody>tr:first-child>td:first-child {width:8px!important;border-left:3px solid #60728c;border-radius:0!important}
.kotana-module [data-payment-id]:has([bgcolor="#008f00"])>tbody>tr:first-child>td:first-child {border-left-color:var(--tv-positive)}
.kotana-module [data-payment-id]:has([bgcolor="#ff6305"])>tbody>tr:first-child>td:first-child {border-left-color:var(--tv-warm)}
.kotana-module [data-payment-id]:has([bgcolor="#004e6a"])>tbody>tr:first-child>td:first-child {border-left-color:var(--tv-accent)}
.kotana-module [data-payment-id]>tbody>tr:first-child>td:first-child>img,.kotana-module [data-payment-id]>tbody>tr:first-child>td:nth-child(3)>img,.kotana-module [data-payment-id]>tbody>tr:not(:first-child) {display:none}
.kotana-module [data-payment-filter] {font-size:12px;color:#9ab3ce;padding:14px 0!important}
.kotana-module [data-payment-filter]>strong {color:#d9ebfa}
/* Native date controls and dialogs. */
.kotana-purchase-heading {font-size:18px;font-weight:600;color:#e4f6ff;margin:17px 0}
.kotana-module .renewal-calendar-control,.kotana-module .activation-calendar-control,.kotana-module .activation-calendar {padding:13px;margin:12px 0;border:1px solid #34516b;border-radius:9px;background:#152d41;color:#bfdced;font:12px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;max-width:100%}
.kotana-module .activation-calendar span {color:#90b2cb;font-size:11px}
.kotana-module .renewal-calendar-control input,.kotana-module .activation-calendar-control input {min-width:150px;max-width:100%}
.kotana-ui .client-order-dialog,.kotana-ui .renewal-dialog {width:min(460px,calc(100vw - 32px));padding:26px;border:1px solid #3b5571;border-radius:16px;background:#142136;color:#e2edfa;box-shadow:0 30px 100px #0008;font:14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.kotana-ui .client-order-dialog::backdrop,.kotana-ui .renewal-dialog::backdrop {background:#020712b3;backdrop-filter:blur(5px)}
.kotana-ui .client-order-dialog h2,.kotana-ui .renewal-dialog h2 {font-size:20px;letter-spacing:-.4px;color:#e6f4ff;margin:0 20px 18px 0}
.kotana-ui .client-order-dialog select {padding:10px;border:1px solid #405b77;border-radius:8px;background:#0e1c2f;color:#e0effd;font:inherit}
.kotana-ui .client-order-close,.kotana-ui .renewal-dialog-close {border:0;background:none;color:#9eb4cf;font-size:25px;box-shadow:none;cursor:pointer}
.kotana-ui #clientOrderActionSubmit {min-height:40px;border-radius:8px;padding:9px 14px}
/* Auth: cinematic TV artwork, clear form and no fabricated content or counters. */
.kotana-auth {display:flex;align-items:center;justify-content:center;min-height:100vh;padding:54px 28px;background:radial-gradient(ellipse at 20% 30%,#153b4b66,transparent 52%),var(--tv-bg)!important}
.kotana-login {display:grid;grid-template-columns:1.14fr 1fr;width:min(1060px,100%);min-height:650px;border:1px solid #2d3c54;border-radius:24px;overflow:hidden;background:#111a2b;box-shadow:0 32px 100px #0004}
.kotana-login-story {position:relative;display:flex;flex-direction:column;overflow:hidden;padding:42px 44px;background:radial-gradient(ellipse at 15% 60%,#18526970,transparent 65%),linear-gradient(155deg,#182d43,#0e1b2c)}
.kotana-login-story .kotana-brand {margin:0 0 47px}
.kotana-login-kicker {color:#82cde1;font-size:10px;font-weight:600;letter-spacing:2.5px}
.kotana-login-story h1 {margin:15px 0 18px;font-size:43px;line-height:1.16;letter-spacing:-1.3px;font-weight:650;color:#f1f7ff;max-width:430px}
.kotana-login-story h1>span {color:var(--tv-accent)}
.kotana-login-story>p {margin:0;color:#a1bbd4;font-size:13px;line-height:1.8;max-width:340px}
.kotana-login-story>small {margin-top:auto;padding-top:20px;color:#7292b1;font-size:10px}
.kotana-login-art {width:100%;height:210px;position:relative;margin:22px 0 6px;background:url('/assets/tv-scene.svg?v=20260928-1') center/contain no-repeat}
.kotana-login-form {display:flex;align-items:center;justify-content:center;padding:46px 42px;background:#111a2b}
.kotana-login-form-inner {width:100%;max-width:335px}
.kotana-login-badge {display:inline-flex;align-items:center;gap:7px;padding:6px 10px;margin-bottom:25px;border:1px solid #2c4660;border-radius:6px;background:#182c42;color:#a6cce3;font-size:11px}
.kotana-login-badge .kt-icon {width:14px;height:14px}
.kotana-login-form h2 {font-size:28px;line-height:1.25;letter-spacing:-.7px;font-weight:650;margin:0 0 10px;color:#edf5ff}
.kotana-login-form h2+p {font-size:13px;color:#92a8c4;margin:0 0 31px;line-height:1.7}
.kotana-auth-form label {display:block;font-size:12px;color:#b4c8de;margin:19px 0 8px}
.kotana-auth-form input {width:100%;height:46px;padding:11px 13px;border:1px solid #344a65;border-radius:8px;background:#0c1728;color:#e4effd;font:14px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;outline:none}
.kotana-auth-form input:focus {border-color:var(--tv-accent);box-shadow:0 0 0 3px #64d9f715}
.kotana-auth-form input::placeholder {color:#677f9d;font-size:12px}
.kotana-auth-form button {display:flex;align-items:center;justify-content:center;gap:12px;width:100%;height:46px;margin:27px 0 0;border:0;border-radius:8px;background:var(--tv-accent);color:#092537;font:650 13px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;cursor:pointer}
.kotana-auth-form button:hover {background:#a5edfb}
.kotana-auth-form button .kt-icon {width:17px;height:17px}
.kotana-login-footnote {text-align:center;font-size:12px;color:#889eb9;margin:24px 0 0}
.kotana-login-footnote a,.kotana-auth-link {color:var(--tv-accent);font-weight:550}
.kotana-login-year {text-align:center;font-size:10px;color:#7188a5;margin:27px 0 0}
.kotana-auth>.kotana-language {position:fixed;right:24px;top:17px;z-index:20}
.kotana-auth-error {color:#ff9ea7;font-size:12px}
.kotana-auth-link {font-size:12px}
/* Separate connection journal. */
.kotana-log-page {margin:0!important;padding:48px!important;background:var(--tv-bg)!important;color:var(--tv-text)!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important}
.kotana-log-page h1 {font-size:30px;color:var(--tv-text)}
.kotana-log-page .log-filters,.kotana-log-page details,.kotana-log-page table {background:var(--tv-surface)!important;border-color:var(--tv-border)!important;color:var(--tv-text)!important}
.kotana-log-page th,.kotana-log-page td {color:#c6d9ec!important;border-color:#304157!important}
.kotana-log-page input,.kotana-log-page select {background:#0d1728!important;color:#e5eefb!important;border:1px solid #364960!important;border-radius:7px;padding:8px}
.kotana-log-page button {background:var(--tv-accent);color:#092537;border:0;border-radius:7px;padding:9px 14px}
@media(min-width:1700px) {.kotana-main{padding-top:30px}.kotana-metric{min-height:110px}}
@media(max-width:1200px) {.kotana-shell#container{grid-template-columns:200px minmax(0,1fr)}.kotana-sidebar{padding-left:12px;padding-right:12px}.kotana-main{padding:23px 22px 15px}.kotana-topbar{padding:0 22px}.kotana-metric{padding:15px}.ktv-search-grid{grid-template-columns:1fr 1fr}.ktv-search-grid>form:last-child{grid-column:1/-1}.ktv-profile-summary{align-items:flex-start}.ktv-stat-grid{gap:12px}.kotana-login-story{padding:38px 32px}.kotana-login-story h1{font-size:38px}}
@media(max-width:900px) {.kotana-metrics{gap:9px}.kotana-metric>span{font-size:10px}.kotana-metric>strong{font-size:25px}.ktv-profile-summary{display:block}.ktv-stat-grid{margin-top:18px}.kotana-login{grid-template-columns:1fr 1fr}.kotana-login-story h1{font-size:34px}.kotana-login-form{padding:35px 27px}}
@media(max-width:800px) {
 .kotana-shell#container{display:block}.kotana-sidebar{position:fixed;left:0;top:0;width:252px;transform:translateX(-100%);visibility:hidden;transition:transform .2s,visibility .2s;box-shadow:20px 0 80px #0006}
 .kotana-menu-open .kotana-sidebar{transform:translateX(0);visibility:visible}.kotana-menu-backdrop{position:fixed;inset:0;z-index:30;background:#020712a8;border:0;backdrop-filter:blur(3px)}
 .kotana-menu-toggle{display:grid!important;place-items:center;width:35px;height:35px;padding:6px;border:1px solid #354b65;border-radius:8px;background:#17273e;color:#badcf3;cursor:pointer}
 .kotana-topbar{height:61px;padding:0 18px}.kotana-topbar-left{gap:11px}.kotana-topbar-right{gap:10px}.kotana-breadcrumb{font-size:11px}.kotana-main{padding:20px 18px 14px}.kotana-page-heading h1{font-size:26px}.kotana-page-heading{margin-bottom:18px}.kotana-metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:18px;gap:10px}.kotana-metric{min-height:91px;padding:13px 15px}.kotana-metric>span{font-size:11px}.kotana-metric>strong{font-size:25px;margin-top:7px}.kotana-metric-tip>strong{font-size:22px;margin-top:0}.kotana-panel{padding:17px;border-radius:13px}.kotana-skip{left:18px}.kotana-page-emblem{width:39px;height:39px}.ktv-settings-grid{grid-template-columns:1fr}.ktv-table-scroll{border-radius:0}.ktv-card-header,.ktv-section-header{padding:16px}.ktv-card-body,.ktv-form{padding:17px}.ktv-stat strong{font-size:18px}
}
@media(max-width:570px) {
 .kotana-topbar{padding:0 15px}.kotana-breadcrumb{display:none}.kotana-avatar{width:30px;height:30px}.kotana-main{padding:18px 12px 12px}.kotana-page-heading h1{font-size:24px}.kotana-page-heading{gap:12px}.kotana-eyebrow{font-size:9px;letter-spacing:1.6px}.kotana-metric{min-height:90px;padding:12px}.kotana-metric>span{gap:6px;font-size:10px}.kotana-metric>strong{font-size:24px}.kotana-client .kotana-metric-featured>small{display:none}.kotana-metric-tip>span{font-size:9px}.kotana-metric-tip>strong{font-size:22px}.kotana-panel{padding:15px 11px}.kotana-footer{font-size:9px;padding-top:18px}.kotana-ui .kotana-language button{font-size:10px;padding:5px 7px}.ktv-form-grid,.ktv-search-grid{grid-template-columns:1fr}.ktv-search-grid>form:last-child{grid-column:auto}.ktv-profile-summary{padding:18px}.ktv-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ktv-pagination{padding:14px 16px}.ktv-card-header,.ktv-section-header{flex-wrap:wrap}.ktv-section-heading{font-size:15px}.ktv-table-scroll{max-width:100%}
 .kotana-add-client-fields{grid-template-columns:minmax(0,1fr) 40px;gap:12px}.kotana-add-client-fields label{grid-column:1/-1}.kotana-add-client-fields label[for=newPass]{grid-column:1}.kotana-add-client-fields>#generLP{grid-column:2}.kotana-add-client-fields>#submit{grid-column:1/-1;width:100%}.kotana-inline-form{padding:15px}.kotana-module .client-search-forms{flex-direction:column;align-items:stretch;gap:15px}.kotana-module .client-search-forms form{width:100%}.kotana-module .client-search-controls input[type=text]{width:100%;flex:1;min-width:0}.kotana-module .bulk-order-actions{padding:11px;gap:10px}.kotana-module .bulk-order-actions label{font-size:11px}
 .kotana-module-form>table,.kotana-module-form>table>tbody,.kotana-module-form>table>tbody>tr,.kotana-module-form>table>tbody>tr>td:has(form){display:block;width:100%!important;min-width:0!important}.kotana-module-form #form2{width:100%;margin:18px 0 0}.kotana-module-form #form2 table,.kotana-module-form #form2 tbody,.kotana-module-form #form2 tr,.kotana-module-form #form2 td{display:block;width:100%!important;height:auto!important;min-width:0!important}.kotana-module-form #form2 td:empty{display:none}.kotana-module-form #form2 select{width:100%;margin:7px 0}.kotana-module-form #form2 #price,.kotana-module-form #form2 #priceNow{display:block;margin:10px 0}.kotana-module-form #form2 .order-purchase{width:100%;margin-top:7px}.kotana-module-form .activation-calendar{display:flex;flex-direction:column;width:100%;margin:16px 0;text-align:left;padding:12px;gap:8px}.kotana-module-form .activation-calendar input{width:100%;min-width:0}
 .kotana-auth{padding:66px 14px 24px}.kotana-login{display:block;min-height:0;max-width:440px;border-radius:18px}.kotana-login-story{padding:27px 25px 26px}.kotana-login-story .kotana-brand{margin-bottom:25px}.kotana-login-kicker{font-size:9px}.kotana-login-story h1{font-size:31px;max-width:310px;margin:12px 0}.kotana-login-story>p{font-size:12px}.kotana-login-art,.kotana-login-story>small{display:none}.kotana-login-form{padding:30px 25px}.kotana-login-form h2{font-size:26px}.kotana-login-form h2+p{margin-bottom:22px}.kotana-login-badge{margin-bottom:17px}.kotana-auth>.kotana-language{right:16px;top:18px}.kotana-log-page{padding:70px 16px 22px!important}
}
@media(prefers-reduced-motion:reduce) {.kotana-ui *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Service details and explicit form layout. */
.kotana-ui a,.kotana-ui span,.kotana-ui strong,.kotana-ui label,.kotana-ui summary,.kotana-ui p,.kotana-ui h1,.kotana-ui h2,.kotana-ui h3 {font-family:inherit}
.kotana-module a,.kotana-module label {font-family:inherit!important}
.kotana-panel:has(.ktv-card) {padding:0;border:0;background:transparent;box-shadow:none}
.kotana-module:has(>.ktv-card) {display:grid;gap:18px;overflow:visible}
.kotana-module:has(>.ktv-card)>* {min-width:0}
.ktv-profile-summary {display:block;padding:0}
.ktv-profile-summary>.ktv-card-header {background:#172c40;border-color:#304762}
.ktv-profile-summary .ktv-client-meta {display:flex;align-items:center;gap:12px 24px;flex-wrap:wrap;font-size:12px;margin-bottom:20px;min-width:0}
.ktv-profile-summary .ktv-client-meta strong {font-size:12px;font-weight:500;letter-spacing:0}
.ktv-profile-summary .ktv-stat-grid {margin:0;padding-top:16px;border-top:1px solid #30445c}
.ktv-profile-summary .ktv-stat small {font-size:12px;font-weight:400;color:#91abc4}
.ktv-card-body.ktv-form {padding:20px}
.ktv-eyebrow {display:block;font-size:10px;letter-spacing:1.2px;text-transform:uppercase;color:#8fb4cd;margin-bottom:5px}
.ktv-muted,.ktv-count,.ktv-result-count {color:var(--tv-muted);font-size:12px;line-height:1.5}
.ktv-link-action {font-size:12px;color:var(--tv-accent)}
.ktv-account-access {font-size:12px;cursor:pointer}
.ktv-account-access>summary {color:#95cee5}
.ktv-account-access>code {display:block;margin-top:7px;padding:6px 8px;background:#0e1b2a;border:1px solid #344961;border-radius:5px;overflow-wrap:anywhere}
.ktv-alert,.ktv-notice {padding:12px 15px;margin:0;border:1px solid #725236;border-radius:8px;background:#33291e;color:#f4c794;font-size:13px;line-height:1.5}
.ktv-visually-hidden {position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.ktv-order-grid {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;min-width:0}
.ktv-order-grid>.ktv-card {height:100%}
.ktv-service-list {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:14px}
.ktv-service-card {min-width:0;padding:18px;border:1px solid #334963;border-radius:11px;background:linear-gradient(120deg,#182a40,#142337)}
.ktv-service-header {display:flex;align-items:center;gap:12px;margin-bottom:16px;flex-wrap:wrap}
.ktv-service-header h3 {flex:1;min-width:80px;margin:0;font-size:18px;font-weight:600;line-height:1.4;color:#e1f1fc;overflow-wrap:anywhere}
.ktv-service-symbol {width:40px;height:40px;flex:none;border:1px solid #3a5c71;border-radius:10px;background:#214054;color:#8de0f4;display:grid;place-items:center}
.ktv-service-symbol .kt-icon {width:21px;height:21px}
.ktv-service-meta {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 16px}
.ktv-service-meta>div,.ktv-access-grid>div {min-width:0}
.ktv-service-meta dt,.ktv-access-grid dt {font-size:11px;color:#8fa9c5;margin:0 0 5px}
.ktv-service-meta dd,.ktv-access-grid dd {font-size:13px;color:#dceafb;margin:0;line-height:1.6;overflow-wrap:anywhere}
.ktv-service-actions {display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding-top:15px;border-top:1px solid #31445e}
.kotana-module .ktv-service-actions form {margin:0;display:inline-flex}
.kotana-module .ktv-button {display:inline-flex;align-items:center;justify-content:center;min-height:35px;padding:7px 12px;border:1px solid #67d6ed;border-radius:7px;background:#66d8f2;color:#0c2839;font-size:12px;font-weight:600;white-space:nowrap}
.kotana-module .ktv-button:hover {background:#a5eaf8}
.kotana-module .ktv-button-secondary {border-color:#3d5874;background:#203650;color:#c5e3f8}
.kotana-module .ktv-button-danger {border-color:#67414f;background:#342332;color:#ffadb7}
.kotana-module .ktv-button-warning {border-color:#735335;background:#3b2e23;color:#fac994}
.ktv-field-value {min-height:40px;display:flex;align-items:center;padding:9px 11px;border:1px solid #2b405a;border-radius:8px;background:#152438;color:#b8d3e9;font-size:13px}
.ktv-order-grid .ktv-form-actions,.ktv-order-grid .ktv-inline-links,.ktv-order-grid .activation-calendar,.ktv-order-grid #messageForm {grid-column:1/-1}
.ktv-order-grid .ktv-form-actions {margin-top:0}
.ktv-order-grid .ktv-card-body {align-content:start}
.ktv-inline-links {display:flex;gap:10px 17px;align-items:center;flex-wrap:wrap;font-size:12px;line-height:1.6;margin-top:6px}
.ktv-purchase-actions {justify-content:space-between;gap:15px}
.ktv-price {font-size:17px;font-weight:600;color:#d6ecfa;font-variant-numeric:tabular-nums}
.ktv-access-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0 0 20px}
.ktv-access-grid code {font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere;color:#b9daee}
.ktv-downloads {display:flex;gap:9px;align-items:center;flex-wrap:wrap;padding:15px 0 20px;border-top:1px solid #2d415b}
.ktv-downloads a {display:inline-flex;align-items:center;min-height:33px;padding:6px 11px;border:1px solid #375575;border-radius:7px;background:#1b304b;color:#addafa;font-size:11px;font-weight:600;letter-spacing:.3px}
.kotana-module .ktv-access-table {min-width:530px}
.kotana-module .ktv-access-table th {font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.ktv-row-actions {display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.ktv-client-list .ktv-bulk-actions {margin:0;padding:12px 18px;border:0;border-bottom:1px solid var(--tv-border);border-radius:0;background:#142238;justify-content:space-between}
.kotana-module .ktv-client-table td:first-child {min-width:150px}
.kotana-module .ktv-client-table td:nth-child(2) {min-width:125px}
.kotana-module .ktv-client-table td:nth-child(6) {min-width:170px;max-width:260px}
.kotana-module .ktv-client-table td:last-child {min-width:104px;white-space:nowrap;font-size:12px;line-height:1}
.kotana-module .ktv-icon-button {display:inline-flex;align-items:center;justify-content:center;width:31px;height:31px;margin:2px;border:1px solid #36516e;border-radius:7px;background:#1b3047;color:#a7d6ef;vertical-align:middle}
.kotana-module .ktv-icon-button .kt-icon {width:15px;height:15px}
.kotana-module .ktv-icon-button[href*="delSubCl"] {background:#352435;border-color:#684052;color:#ffb0ba}
.kotana-module .ktv-client-table input[data-inactive-client] {display:inline-block;width:16px;height:16px;margin-right:5px;vertical-align:middle}
.kotana-module .ktv-client-table td .client-order-action {margin:2px 0;min-height:30px;font-size:11px!important}
.ktv-section-header.kotana-order-toolbar {padding:0;border:0;margin:0}
.ktv-section-header.kotana-order-toolbar .ktv-form-actions {margin:0}
.kotana-inline-form.ktv-card {max-width:none;padding:0;margin:0}
.kotana-add-client-fields.ktv-form-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.kotana-add-client-fields>.ktv-form-actions {grid-column:1/-1;margin-top:0;justify-content:flex-end}
.kotana-add-client-fields .ktv-form-actions #generLP {width:auto}
.kotana-order-search.ktv-form-grid {display:grid;grid-template-columns:minmax(0,1fr) auto;max-width:580px;align-items:end}
.kotana-order-search .ktv-form-actions {margin-top:0}
body.kotana-ui .ktv-dialog {background:#142136;border:1px solid #3b5571;color:#e2edfa;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.kotana-ui .renewal-close {width:29px;height:29px;padding:0!important;min-height:0!important;border:0!important;background:transparent!important;color:#a9c1dc!important;font-size:24px!important;box-shadow:none!important}
body.kotana-ui .ktv-dialog input,body.kotana-ui .ktv-dialog select {min-height:40px;max-width:100%;color:#e3f1ff;background:#0d1a2c;border:1px solid #3d5571;border-radius:7px;padding:8px;font:13px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
body.kotana-ui .ktv-dialog .renewal-actions input[type=submit] {color:#092537;background:var(--tv-accent);border-color:var(--tv-accent);font-weight:600;cursor:pointer}
@media(max-width:1100px) {.ktv-access-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px) {.ktv-order-grid{grid-template-columns:1fr}.ktv-card-body.ktv-form{padding:17px}.ktv-service-list{grid-template-columns:1fr}.ktv-profile-summary{padding:0}}
@media(max-width:570px) {.ktv-access-grid{grid-template-columns:1fr;gap:15px}.ktv-service-card{padding:15px}.ktv-service-header{gap:9px}.ktv-service-header h3{font-size:17px}.ktv-service-meta{gap:12px}.ktv-service-actions{gap:8px}.ktv-profile-summary .ktv-client-meta{display:grid;gap:9px}.ktv-profile-summary .ktv-stat-grid{margin:0}.kotana-add-client-fields.ktv-form-grid{grid-template-columns:1fr}.kotana-add-client-fields.ktv-form-grid label{grid-column:1}.kotana-add-client-fields>.ktv-form-actions{justify-content:stretch;flex-wrap:wrap}.kotana-add-client-fields>.ktv-form-actions #submit{width:auto;flex:1}.kotana-order-search.ktv-form-grid{grid-template-columns:minmax(0,1fr) auto;padding:16px}.kotana-module .activation-calendar.ktv-field{margin:0;display:flex;flex-direction:column}.kotana-module .activation-calendar.ktv-field input{width:100%}.ktv-section-header.kotana-order-toolbar{align-items:flex-start;gap:12px}.ktv-section-header.kotana-order-toolbar>.ktv-form-actions{width:100%}.ktv-section-header.kotana-order-toolbar button{flex:1;font-size:11px!important;padding:9px!important}.ktv-card-header h2,.ktv-card-header h3{font-size:16px}}
/* Bright working surfaces; the television navigation retains its midnight palette. */
.kotana-sidebar,.kotana-topbar,.kotana-login-story {--tv-text:#f1f5fc;--tv-accent:#64d9f7;color-scheme:dark}
.kotana-sidebar {background:#142338;border-right-color:#263b55}
.kotana-sidebar-caption {color:#9cafc8}
.kotana-sidebar-news {padding:12px 0 0;margin-top:24px;border-top:1px solid #344861}
.kotana-sidebar-news>a {color:#dae5f4!important;border-top-color:#30425b;font-size:12px;line-height:1.6}
.kotana-sidebar-news small {color:#9eafc6}
.kotana-sidebar-news .kotana-sidebar-caption {color:#b8dcf0}
.kotana-ui a:hover {color:#055d83}
.kotana-sidebar a:hover {color:#ecfaff!important}
.kotana-topbar {background:#fff;border-bottom-color:var(--tv-border);--tv-text:#20324b;--tv-accent:#087da9;color-scheme:light}
.kotana-breadcrumb {color:#61718a}.kotana-breadcrumb b{color:#263c55}.kotana-breadcrumb>span{color:#91a3b9}
.kotana-avatar {background:#e3f2fa;border-color:#c3dfec;color:#17658a}
.kotana-ui .kotana-language {background:#f0f5fa;border-color:#d6e1ed}
.kotana-ui .kotana-language button {color:#61718a}.kotana-ui .kotana-language button[aria-pressed=true]{background:#dceef7;color:#145c80}
.kotana-menu-toggle {background:#f2f7fb;border-color:#cddce9;color:#285470}
.kotana-account-balance {display:flex;align-items:center;gap:9px;padding-right:15px;border-right:1px solid #dae4ef;font-size:11px;color:#61718a!important;white-space:nowrap}
.kotana-account-balance strong {font-size:14px;color:#17658a;font-variant-numeric:tabular-nums}
.kotana-eyebrow {color:#147ba1}.kotana-page-emblem{background:#e2f2fa;border-color:#c4e0ed;color:#127399}
.kotana-metric {box-shadow:0 2px 5px #18334e04}.kotana-metric>span,.kotana-metric>span>.kt-icon{color:#62758d}
.kotana-metric>strong {color:#233950}.kotana-metric>strong em{color:#587e95}
.kotana-metric-featured {background:linear-gradient(120deg,#dff2fc,#eefaff);border-color:#b9deed}
.kotana-metric-featured>span,.kotana-metric-featured>span>.kt-icon {color:#36748e}
.kotana-client .kotana-metric-featured>small {color:#426f86}.kotana-metric-tip{background:#fffaf2;border-color:#eadfcf}
.kotana-footer {color:#687c95}.kotana-footer>span:first-child{color:#536e88}
.kotana-panel {box-shadow:0 5px 20px #253f5b05}
.kotana-module .text1,.kotana-module .text3,.kotana-module .text12,.kotana-module .text3Menu,.kotana-module .text3menu {color:#283c54!important}
.kotana-module .text5,.kotana-module .text6,.kotana-module .textgray9 {color:#687991!important}
.kotana-module .zagolovik2,.kotana-module .zagolovik3,.kotana-module .zagolovik4 {color:#263d55!important}
.kotana-module .podcherkivanie {color:#11688c}
.kotana-module input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=image]):not([type=submit]):not([type=button]),.kotana-module select,.kotana-module textarea {border-color:#cbd8e6!important;background:#fff!important;color:#243950!important}
.kotana-module input::placeholder,.kotana-module textarea::placeholder {color:#74849a}
.kotana-module button:where(:not(.client-order-close):not(.renewal-dialog-close):not(.renewal-close)),.kotana-module input[type=submit],.kotana-module input[type=button],.kotana-image-button {border-color:#c5d7e6!important;background:#edf5fb!important;color:#2b5574!important}
.kotana-module button:hover:not(:disabled),.kotana-module input[type=submit]:hover,.kotana-image-button:hover {background:#e0eef8!important;border-color:#a8c7dc!important}
.kotana-module .kotana-image-button-primary,.kotana-module .ktv-primary,.kotana-module #submit,.kotana-module .order-purchase,.kotana-ui #clientOrderActionSubmit {background:#087da9!important;color:#fff!important;border-color:#087da9!important}
.kotana-module .kotana-image-button-primary:hover,.kotana-module .ktv-primary:hover,.kotana-module #submit:hover,.kotana-module .order-purchase:hover {background:#07678d!important}
.kotana-module button[data-action=cancel],.kotana-module .bulk-order-actions button {background:#fff0f1!important;border-color:#ecc5cc!important;color:#a8344c!important}
.kotana-icon-link,.kotana-module .ktv-icon-button {background:#eff6fc;border-color:#c8dce9;color:#316d91!important}
.kotana-icon-link[data-kotana-action=delete],.kotana-module .ktv-icon-button[href*="delSubCl"] {background:#fff1f3;border-color:#ebc8d0;color:#b63f59!important}
.kotana-status {background:#e7f6ee;border-color:#bbdfcc;color:#197149!important}
.kotana-status[data-kotana-status=pause] {background:#fff4df;border-color:#ead3aa;color:#8f5818!important}
.kotana-status[data-kotana-status=inactive] {background:#f0f3f7;border-color:#d6e0ea;color:#697b91!important}
.kotana-status[data-kotana-status=blocked] {background:#ffedf0;border-color:#efc6ce;color:#a83950!important}
.kotana-module .client-note {color:#697c92}.kotana-module .client-order-feedback{color:#1b7a59}.kotana-module .client-order-feedback[data-error=true]{color:#ae354d}
.ktv-card {box-shadow:0 3px 12px #25425c04}
.ktv-card-header h2,.ktv-card-header h3,.ktv-section-heading {color:#263c54}
.ktv-profile-summary {background:#fff;border-color:#cddfea}
.ktv-profile-summary>.ktv-card-header {background:#eaf5fc;border-color:#cddfea}
.ktv-profile-summary .ktv-stat-grid {border-top-color:#dce6f0}
.ktv-client-meta h2,.ktv-client-meta strong,.ktv-stat strong {color:#25455f}
.ktv-stat,.ktv-profile-summary .ktv-stat small,.ktv-eyebrow {color:#657f97}
.ktv-field {color:#566f88}.ktv-check,.ktv-radio{color:#445f79}
.kotana-module .ktv-table {color:#30465d}
.kotana-module .ktv-table th {background:#f0f5fa;color:#5c7189;border-bottom-color:#d9e4ee}
.kotana-module .ktv-table th a {color:#476a86}
.kotana-module .ktv-table td {border-bottom-color:#e2eaf2!important}
.kotana-module .ktv-table tbody tr:hover td {background:#f4f9fc!important}
.kotana-module .ktv-table td a.podcherkivanie,.kotana-module .ktv-table td:first-child>a {color:#17658a}
.kotana-module .ktv-table tr.client-order-target td {background:#e5f4fb!important}
.ktv-pagination,.ktv-empty {color:#657b93}
.kotana-module a.menulll {border-color:#cddce9;background:#f3f8fc;color:#3b6787}
.kotana-module a.menulll:hover {color:#fff;background:#087da9;border-color:#087da9}
.kotana-module .bulk-order-actions,.ktv-client-list .ktv-bulk-actions {background:#f0f6fb;border-color:#d3e2ed;color:#54738d}
.kotana-module table.client-table-frame>tbody>tr>td,.kotana-module table.client-list-row>tbody>tr>td {border-bottom-color:#dce6ef}
.kotana-module table.client-table-heading {background:#edf5fb;color:#4b6984}
.kotana-module .tkid ul li {background:#f6f9fc;border-color:#dae5ef}.kotana-module .tkid .span1{color:#4d708d}
.kotana-module [data-payment-id]>tbody>tr:first-child>td {border-bottom-color:#dce6ee}
.kotana-module [data-payment-id] td td {color:#34516b!important}
.kotana-module [data-payment-filter] {color:#637d94}.kotana-module [data-payment-filter]>strong{color:#285775}
.kotana-purchase-heading {color:#2b4963}
.kotana-module .renewal-calendar-control,.kotana-module .activation-calendar-control,.kotana-module .activation-calendar {background:#eff8fd;border-color:#c9e1ee;color:#426c86}
.kotana-module .activation-calendar span {color:#5c7b94}
body.kotana-ui .activation-calendar.ktv-field {display:grid;grid-template-columns:minmax(0,1fr);flex-wrap:nowrap;gap:8px;width:100%;min-width:0;max-width:100%;align-items:stretch;justify-content:stretch;text-align:left}
body.kotana-ui .activation-calendar.ktv-field>span {flex-basis:auto;min-width:0;width:100%;white-space:normal}
body.kotana-ui .activation-calendar.ktv-field input {width:100%;min-width:0}
.kotana-ui .client-order-dialog,.kotana-ui .renewal-dialog,body.kotana-ui .ktv-dialog {background:#fff;border-color:#ccdce9;color:#30495f}
.kotana-ui .client-order-dialog h2,.kotana-ui .renewal-dialog h2 {color:#24435d}
.kotana-ui .client-order-dialog select,body.kotana-ui .ktv-dialog input,body.kotana-ui .ktv-dialog select {background:#fff;border-color:#c8d9e7;color:#2a445d}
body.kotana-ui .ktv-dialog .renewal-actions input[type=submit] {color:#fff;background:#087da9;border-color:#087da9}
body.kotana-ui .ktv-dialog label,body.kotana-ui .ktv-dialog p {color:#56738d}
.kotana-ui .client-order-close,.kotana-ui .renewal-dialog-close,.kotana-ui .renewal-close {color:#5d7892!important}
.ktv-account-access>summary {color:#2f7195}.ktv-account-access>code{background:#f0f6fa;border-color:#d0dfeb;color:#355c77}
.ktv-alert,.ktv-notice {background:#fff8e9;border-color:#ebd8b6;color:#845822}
.ktv-service-card {background:linear-gradient(120deg,#f0f8fd,#f9fcff);border-color:#cbdfed}
.ktv-service-header h3 {color:#24465f}.ktv-service-symbol{background:#e1f1fa;border-color:#bddcec;color:#187b9e}
.ktv-service-meta dt,.ktv-access-grid dt {color:#627f96}.ktv-service-meta dd,.ktv-access-grid dd{color:#294961}
.ktv-service-meta a {display:inline-flex;align-items:center;min-height:28px;padding:3px 0}
.ktv-service-actions,.ktv-downloads {border-top-color:#cedfec}
.kotana-module .ktv-button {background:#087da9;border-color:#087da9;color:#fff}.kotana-module .ktv-button:hover{background:#07678d;color:#fff}
.kotana-module .ktv-button-secondary {background:#ecf5fb;border-color:#c3d9e8;color:#386b8a}
.kotana-module .ktv-button-danger {background:#fff0f2;border-color:#edc5ce;color:#ac3b52}
.kotana-module .ktv-button-warning {background:#fff5e5;border-color:#e8d0aa;color:#92601e}
.ktv-field-value {background:#f3f7fb;border-color:#d3e1ec;color:#53718a}
.ktv-price {color:#206382}.ktv-access-grid code{color:#345e7b}
.ktv-downloads a {background:#f0f7fc;border-color:#c9dfec;color:#276d93}
.kotana-auth {background:radial-gradient(ellipse at 20% 30%,#d7ecf5,transparent 60%),#f0f4f9!important}
.kotana-login {border-color:#d0deeb;background:#fff;box-shadow:0 24px 80px #30527219}
.kotana-login-form {background:#fff}.kotana-login-form h2{color:#233e58}.kotana-login-form h2+p{color:#6b8096}
.kotana-login-badge {background:#edf6fc;border-color:#cce1ef;color:#447996}
.kotana-auth-form label {color:#526d85}.kotana-auth-form input{background:#fafcfe;border-color:#c9d9e6;color:#2a445e}
.kotana-auth-form button {background:#087da9;color:#fff}.kotana-auth-form button:hover{background:#086b91}
.kotana-login-footnote,.kotana-login-year {color:#6b8096}.kotana-auth-error{color:#b23a50}
.kotana-log-page th,.kotana-log-page td {color:#34516b!important;border-color:#d7e3ed!important}
.kotana-log-page input,.kotana-log-page select {background:#fff!important;color:#294761!important;border-color:#c6d9e7!important}
.kotana-log-page button {color:#fff}
/* Legacy package editor controls keep their field names and scripts. */
.kotana-module .servers {width:100%;max-width:100%;margin:0;min-width:0}
.kotana-module .servers #Form>div {display:flex;flex-wrap:wrap;gap:12px;align-items:stretch}
.kotana-module .servers #Form .inpupak {display:block;flex:1 1 140px;float:none;width:auto!important;min-width:0;margin:0!important;padding:14px!important;border:1px solid #d9e5ef;border-radius:10px;background:#f6f9fc!important;color:#4e6d87}
.kotana-module .servers #Form .inpupak:first-child {flex-basis:240px}
.kotana-module .servers #Form .inpupak label {display:block;margin-bottom:8px;color:#56758e;font-size:12px}
.kotana-module .servers #Form .inpupak input,.kotana-module .servers #Form .inpupak select {width:100%!important;min-width:0}
.kotana-module .servers #Form .inpupak>span {display:inline-block;margin-top:5px;font-size:11px}
.kotana-module .servers .pvdd,.kotana-module .servers .fontsts,.kotana-module .tkid>p:first-child {color:#2c4e68}
@media(max-width:570px) {.kotana-account-balance{padding-right:9px;gap:0}.kotana-account-balance>span{display:none}.kotana-account-balance strong{font-size:12px}.kotana-topbar-right{gap:9px}.kotana-module .servers #Form .inpupak{flex-basis:135px}.kotana-module .servers #Form .inpupak:first-child{flex-basis:100%}}
.kotana-module a.menu1:link,.kotana-module a.menu1:visited {display:inline-block;padding:7px 0;color:#17688d;font-size:13px;line-height:1.5}
.kotana-module a.menu1:hover {color:#084f74;text-decoration:underline}
.kotana-log-page .log-secondary,.kotana-log-page .log-stats small {color:#637b91}
.kotana-log-page .log-summary-note {background:#fff4dc;color:#855f26;border:1px solid #ead5b0;border-radius:8px}
.kotana-log-page .log-error {background:#fff4f3}
.kotana-inline-form {background:#fff;border-color:#dce5ef}
.kotana-module .client-search-forms label {color:#566f88!important}
.kotana-add-client-fields label,.kotana-order-search label {color:#566f88}
/* Compact client creation: short credentials, a useful note, adjacent actions. */
#AddUser {width:100%;max-width:740px;justify-self:start}
#AddUser .ktv-card-header {padding:12px 16px}
#AddUser .kotana-add-client-fields {grid-template-columns:180px 180px minmax(0,1fr);gap:12px;padding:16px}
#AddUser .kotana-add-client-fields>.ktv-field {grid-column:auto;gap:6px}
#AddUser .kotana-add-client-fields input {min-height:36px;height:36px;margin-top:0;padding:7px 9px!important}
#AddUser .ktv-form-actions {grid-column:1/-1;margin:0;justify-content:flex-end}
#AddUser .ktv-form-actions button {min-height:36px;padding:7px 12px!important}
@media(max-width:670px) {
 #AddUser .kotana-add-client-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
 #AddUser .kotana-add-client-fields>.kotana-add-client-note{grid-column:1/-1}
 #AddUser .kotana-add-client-fields>label[for=newLogin]{grid-column:1}
 #AddUser .kotana-add-client-fields>label[for=newPass]{grid-column:2}
 #AddUser .ktv-form-actions{justify-content:flex-start}
 #AddUser .ktv-form-actions #submit{flex:none}
}

/* Only live account figures remain in the client overview. */
.kotana-client .kotana-metrics {grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:570px) {.kotana-client .kotana-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.kotana-client .kotana-metric-featured{grid-column:1/-1}}

/* Admin sign-in has a warm control-room accent; dealer/client sign-in stays blue. */
.kotana-auth-admin {background:radial-gradient(ellipse at 20% 30%,#f4e5d0,transparent 60%),#f3f4f7!important}
.kotana-auth-admin .kotana-login {border-color:#dfc7a9}
.kotana-auth-admin .kotana-login-story {background:radial-gradient(ellipse at 15% 60%,#74522b66,transparent 65%),linear-gradient(155deg,#26374e,#1c2538)}
.kotana-auth-admin .kotana-login-kicker {color:#f8cc8c}
.kotana-auth-admin .kotana-login-story h1>span {color:#f7c47b}
.kotana-auth-admin .kotana-login-badge {background:#fff4e4;border-color:#f1d9b4;color:#8f622d}
.kotana-auth-admin .kotana-auth-form input:focus {border-color:#bb7933;box-shadow:0 0 0 3px #bb79331f}
.kotana-auth-admin .kotana-auth-form button {background:#a96928;color:#fff}
.kotana-auth-admin .kotana-auth-form button:hover {background:#8f561e}
@media(max-width:570px) {.kotana-auth-admin .kotana-login-story {padding-bottom:19px}.kotana-auth-admin .kotana-login-story>p {display:none}.kotana-auth-admin .kotana-login-story h1 {font-size:26px}}

/* Dealer package catalog: the old fixed-width tables overflowed the mobile panel. */
.ktv-package-catalog {display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"list";gap:18px;min-width:0}
.ktv-package-catalog:has(.ktv-package-operators) {grid-template-columns:minmax(0,1fr) minmax(210px,250px);grid-template-areas:"list operators"}
.ktv-package-list {grid-area:list;min-width:0}
.ktv-package-heading,.ktv-package-row {display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,max-content) 118px;align-items:center;gap:12px;min-width:0}
.ktv-package-heading {padding:0 14px 9px;border-bottom:1px solid #dce6ef;color:#657d93;font-size:11px;font-weight:650}
.ktv-package-heading span:nth-child(n+2) {text-align:right}
.kotana-module .ktv-package-row {margin-top:8px;padding:11px 14px;min-height:55px;border:1px solid #dce6ef;border-radius:10px;background:#f7fafc;color:#244862;transition:border-color .15s,background .15s}
.kotana-module .ktv-package-row:hover,.kotana-module .ktv-package-row:focus-visible {border-color:#86bfd8;background:#edf7fc;color:#125e84}
.ktv-package-name {min-width:0;overflow-wrap:anywhere;font-size:13px;font-weight:650}
.ktv-package-fact {display:block;min-width:0;text-align:right;font-variant-numeric:tabular-nums}
.ktv-package-fact small {display:none;color:#6d8195;font-size:10px;font-weight:500}
.ktv-package-fact strong {display:block;font-size:12px;font-weight:600;white-space:normal;overflow-wrap:anywhere;line-height:1.4}
.ktv-package-operators {grid-area:operators;min-width:0;padding:16px 18px;border:1px solid #d3e5ef;border-radius:12px;background:#edf7fb}
.ktv-package-operators h2 {margin:0 0 12px;color:#244862;font-size:14px;font-weight:650}
.ktv-package-operators ul {margin:0;padding:0;list-style:none}
.ktv-package-operators li {padding:7px 0;border-top:1px solid #dceaf1;color:#34536b;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
@media(max-width:900px) {.ktv-package-catalog:has(.ktv-package-operators){grid-template-columns:minmax(0,1fr);grid-template-areas:"operators" "list"}}
@media(max-width:570px) {
 .ktv-package-heading{display:none}
 .kotana-module .ktv-package-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;padding:12px 14px;min-height:74px;touch-action:manipulation}
 .ktv-package-name{grid-column:1/-1;font-size:14px}
 .ktv-package-fact{text-align:left}
 .ktv-package-fact small{display:block}
 .ktv-package-fact strong{font-size:12px}
}

/* Sign-in feedback and a comfortable touch target for both account and admin. */
.kotana-auth-form button[type=submit] {min-height:54px;height:auto;padding:12px 16px;font-size:14px;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.kotana-auth-form button[type=submit]:active {transform:translateY(1px)}
.kotana-auth-form button.is-submitting {opacity:.78;cursor:progress}
.kotana-auth-form button.is-submitting:before {content:"";width:15px;height:15px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:ktv-submit-spin .7s linear infinite}
.kotana-auth-form .kotana-auth-error {margin:13px 0 0;line-height:1.4}
@keyframes ktv-submit-spin {to{transform:rotate(360deg)}}

/* Receiver-credential subscription viewer. No dealer controls are rendered here. */
.ktv-subscription-header {display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:76px;padding:15px max(24px,calc((100vw - 1100px)/2));background:#0d1523;color:#f1f5fc;--tv-text:#f1f5fc}
.ktv-subscription-header .kotana-brand {margin:0}
.ktv-subscription-header-actions {display:flex;align-items:center;gap:16px}
.ktv-subscription-header-actions form {margin:0}
.ktv-subscription-header-actions form button {min-height:36px;padding:7px 14px;border:1px solid #3e5870;border-radius:8px;background:#193247;color:#d4e9f6;font:600 12px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;cursor:pointer}
.ktv-subscription-header-actions form button:hover {background:#25445d}
.ktv-subscription-main {width:min(1100px,100%);margin:0 auto;padding:30px 24px 36px}
.ktv-subscription-state {min-height:50vh;display:grid;place-items:center;padding:clamp(28px,5vw,72px);border:1px solid #d8e5ee;border-radius:20px;background:linear-gradient(135deg,#fff 0%,#eaf6fc 100%);box-shadow:0 14px 38px #23476316;text-align:center}
.ktv-subscription-state h1 {max-width:100%;margin:0;color:#16466a;font-size:clamp(42px,8vw,108px);font-weight:800;line-height:1.04;letter-spacing:-.04em;text-wrap:balance}
.ktv-subscription-state[data-state=pause] h1 {color:#8b5c13}
.ktv-subscription-state[data-state=blocked] h1 {color:#a33546}
.ktv-subscription-intro {margin-bottom:23px}
.ktv-subscription-intro .kotana-eyebrow {color:#247ba0}
.ktv-subscription-intro h1 {margin:6px 0 4px;font-size:30px;line-height:1.2;color:#203b53}
.ktv-subscription-intro p {margin:0;color:#668097;font-size:13px}
.ktv-subscription-intro p strong {color:#294d69;overflow-wrap:anywhere}
.ktv-subscription-section {margin:18px 0;padding:22px;border:1px solid #d8e5ee;border-radius:15px;background:#fff;box-shadow:0 10px 30px #2347630d}
.ktv-subscription-section>h2 {margin:0 0 17px;color:#23445d;font-size:18px}
.ktv-subscription-orders {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:14px}
.ktv-subscription-order {min-width:0;padding:17px;border:1px solid #dce7ef;border-radius:11px;background:#f8fbfd}
.ktv-subscription-order-heading {display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.ktv-subscription-order-number {display:block;margin-bottom:4px;color:#71889c;font-size:11px}
.ktv-subscription-order h3 {margin:0;color:#25455d;font-size:16px;line-height:1.35;overflow-wrap:anywhere}
.ktv-subscription-status {flex:none;padding:5px 9px;border:1px solid #c9dce8;border-radius:99px;background:#eaf2f7;color:#52738a;font-size:11px;font-weight:650;white-space:nowrap}
.ktv-subscription-status[data-state=active] {border-color:#b9decd;background:#e8f7ef;color:#166845}
.ktv-subscription-status[data-state=pause] {border-color:#e8d4ab;background:#fff5df;color:#855c12}
.ktv-subscription-status[data-state=blocked] {border-color:#e9c5cb;background:#fff0f1;color:#a33546}
.ktv-subscription-facts,.ktv-subscription-settings {display:grid;gap:11px;margin:16px 0 0}
.ktv-subscription-facts {grid-template-columns:minmax(100px,.6fr) minmax(0,1.4fr)}
.ktv-subscription-facts>div,.ktv-subscription-settings>div {min-width:0;padding-top:10px;border-top:1px solid #dfeaf1}
.ktv-subscription-facts dt,.ktv-subscription-settings dt {color:#72879a;font-size:11px}
.ktv-subscription-facts dd,.ktv-subscription-settings dd {margin:5px 0 0;color:#28475f;font-size:13px;overflow-wrap:anywhere}
.ktv-subscription-facts dd strong {color:#087da9;font-size:17px}
.ktv-subscription-note {margin:13px 0 0;color:#557a91;font-size:11px}
.ktv-subscription-settings {grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 24px}
.ktv-subscription-settings dd small {display:block;margin-top:4px;color:#71889c}
.ktv-subscription-settings code,.ktv-subscription-table code {font:600 12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}
.ktv-subscription-table-scroll {margin-top:22px;overflow-x:auto;border:1px solid #dce7ef;border-radius:10px}
.ktv-subscription-table {width:100%;border-collapse:collapse;text-align:left}
.ktv-subscription-table th {padding:10px 13px;background:#eff6fa;color:#637e93;font-size:11px}
.ktv-subscription-table td {padding:10px 13px;border-top:1px solid #e2eaf1;color:#304d62;font-size:12px;overflow-wrap:anywhere}
.ktv-subscription-mobile-label {display:none}
@media(max-width:650px) {
 .ktv-subscription-header{flex-wrap:wrap;gap:10px;padding:14px 18px}
 .ktv-subscription-header .kotana-brand{margin:0}
 .ktv-subscription-header-actions{width:100%;justify-content:space-between}
 .ktv-subscription-main{padding:23px 12px 30px}
 .ktv-subscription-intro{padding:0 4px}
 .ktv-subscription-intro h1{font-size:26px}
 .ktv-subscription-section{padding:16px 13px}
 .ktv-subscription-order-heading{flex-wrap:wrap}
 .ktv-subscription-facts{grid-template-columns:1fr 1.5fr}
 .ktv-subscription-settings{grid-template-columns:1fr}
 .ktv-subscription-table-scroll{border:0;overflow:visible}
 .ktv-subscription-table,.ktv-subscription-table tbody{display:block}
 .ktv-subscription-table thead{display:none}
 .ktv-subscription-table tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:9px;padding:10px 12px;border:1px solid #dce7ef;border-radius:9px}
 .ktv-subscription-table td{display:block;min-width:0;padding:0;border:0}
 .ktv-subscription-table td:first-child{grid-column:1/-1;font-weight:650}
 .ktv-subscription-mobile-label{display:block;margin-bottom:2px;color:#71889c;font-size:10px;font-weight:500}
}

/* Daily package prices need their own row instead of the legacy absolute footer. */
.kotana-module .atg-package-cards {display:flex;flex-wrap:wrap;gap:12px;min-width:0;margin:0;padding:0;list-style:none}
.kotana-module .atg-package-cards .packdiv {margin:0}
.kotana-module .atg-package-cards .packdiv.atg-daily-package {display:grid;flex:0 1 240px;gap:9px;align-content:start;box-sizing:border-box;width:auto;max-width:100%;min-width:0;height:auto;min-height:118px;padding:14px;vertical-align:top}
.kotana-module .atg-package-cards .atg-daily-package>p {position:static;min-width:0;margin:0;padding:0;line-height:1.4;overflow-wrap:anywhere}
.kotana-module .atg-package-cards .atg-daily-package>p:first-child {font-size:14px;font-weight:600}
.kotana-module .atg-package-cards .atg-daily-package>p:nth-child(2) {font-size:11px;color:#718197}
.kotana-module .atg-package-cards .atg-daily-package>p:nth-child(3) {display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;font-size:16px;font-variant-numeric:tabular-nums}
.kotana-module .atg-package-cards .atg-daily-package>p:nth-child(3)::after {content:none}
.kotana-module .atg-daily-package .atg-package-price-value {min-width:0;overflow-wrap:anywhere}
.kotana-module .atg-daily-package>p:nth-child(3) small {font-size:11px;white-space:nowrap;color:#718197}

/* Keep the package visibility switch in the page flow on narrow screens. */
.kotana-module #switchon {position:static;display:flex;flex-wrap:wrap;align-items:center;gap:8px;max-width:100%;margin:0 0 16px}
.kotana-module #switchon>span {min-width:0;overflow-wrap:anywhere}
