/* FRAME / product finish. Readable type, quiet chrome, deliberate contrast. */
:root {
  --ink: var(--kt-ink);
  --muted: var(--kt-muted);
  --green: var(--kt-ink);
  --teal: var(--kt-line);
  --paper: var(--kt-canvas);
  --line: var(--kt-line);
  --shadow: 0 2px 3px #14182403, 0 8px 30px #14182404;
  font-family: 'Segoe UI Variable Text', 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: -0.015em;
  color-scheme: light;
}
body {
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font-family: inherit;
}
button {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  min-height: 44px;
  border-radius: 10px;
  padding: 11px 16px;
  transition:
    background 0.15s,
    border-color 0.15s,
    box-shadow 0.15s;
}
button:hover:not(:disabled) {
  background: var(--kt-canvas);
  border-color: var(--kt-muted-2);
}
button:disabled {
  opacity: 0.45;
}
.primary {
  color: var(--kt-surface);
  background: var(--kt-ink-2);
  border-color: var(--kt-ink-2);
  box-shadow: 0 2px 4px #14182414;
}
.primary:hover:not(:disabled) {
  background: var(--kt-ink-2);
  border-color: var(--kt-ink-2);
}
.small {
  font-size: 14px;
  min-height: 40px;
  padding: 9px 13px;
}
.icon {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--kt-accent);
  outline-offset: 3px;
}
/* Keep a single explicit workspace scroller. */
html,
body {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}
#app {
  height: 100%;
}
.shell {
  grid-template-columns: 248px minmax(0, 1fr);
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
}
.main {
  height: 100dvh;
  min-height: 0;
  min-width: 0;
  overflow-y: scroll;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  overscroll-behavior-y: auto;
  -webkit-overflow-scrolling: touch;
}
.main::-webkit-scrollbar {
  width: 12px;
  display: block;
}
.main::-webkit-scrollbar-track {
  background: var(--kt-canvas);
}
.main::-webkit-scrollbar-thumb {
  background: var(--kt-muted-2);
  border: 3px solid var(--kt-canvas);
  border-radius: 10px;
}
.main::-webkit-scrollbar-thumb:hover {
  background: var(--kt-muted);
}
.sidebar {
  width: 248px;
  padding: 28px 16px 18px;
  background: var(--kt-canvas);
  color: var(--ink);
  border-right: 1px solid var(--line);
  overflow-y: auto;
}
.brand {
  padding: 0 12px 30px;
  gap: 12px;
}
.brandmark {
  width: 36px;
  height: 36px;
  background: var(--kt-ink-2);
  color: var(--kt-surface);
  border-radius: 10px;
}
.brandmark svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: square;
}
.brandmark svg path + path {
  fill: currentColor;
  stroke: none;
}
.brand strong {
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -0.7px;
  line-height: 1;
}
.branddot {
  color: var(--kt-muted-2);
}
.brand small {
  font-size: 11px;
  color: var(--kt-muted);
  letter-spacing: 0.02em;
  margin-top: 7px;
}
.space-label {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--kt-surface);
  margin: 0 0 30px;
  box-shadow: 0 2px 5px #00000003;
}
.space-label strong {
  display: block;
  font-size: 14px;
  font-weight: 650;
}
.space-label small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.space-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--kt-canvas);
  color: var(--kt-muted);
}
.space-icon .icon {
  width: 19px;
  height: 19px;
}
.space-lock {
  margin-left: auto;
  color: var(--kt-muted-2);
}
.space-lock .icon {
  width: 16px;
  height: 16px;
}
.navlabel {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--kt-muted);
  padding: 0 13px;
  margin-bottom: 12px;
}
.nav {
  gap: 6px;
}
.nav button {
  font-size: 15px;
  font-weight: 550;
  min-height: 48px;
  padding: 13px 14px;
  color: var(--kt-muted);
  border-radius: 10px;
}
.nav button .icon {
  width: 20px;
  height: 20px;
}
.nav button:hover:not(:disabled) {
  color: var(--kt-ink-2);
  background: var(--kt-line);
}
.nav button.active {
  background: var(--kt-ink-2);
  color: var(--kt-surface);
  box-shadow: 0 3px 8px #20253212;
}
.nav button.active:after {
  display: none;
}
.nav button:nth-child(5) {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding-top: 22px;
}
.nav button:nth-child(5).active {
  border-radius: 10px;
  padding-top: 13px;
  border-top: 0;
}
.sidebottom {
  padding: 24px 0 0;
}
.side-note {
  background: var(--kt-canvas);
  border: 1px solid var(--kt-line);
  border-radius: 12px;
  padding: 17px 15px;
  margin-bottom: 20px;
}
.side-note-icon {
  display: none;
}
.side-note strong {
  font-size: 14px;
  font-weight: 650;
  color: var(--kt-ink-2);
}
.side-note p {
  font-size: 13px;
  color: var(--kt-muted);
  line-height: 1.6;
  margin: 6px 0 0;
}
.workspace {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 20px 0 0;
  min-width: 0;
  font-size: 13px;
}
.workspace > div {
  min-width: 0;
}
.workspace strong {
  font-size: 13px;
  font-weight: 650;
}
.workspace > div > span {
  display: block;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
  color: var(--muted);
}
.avatar {
  background: var(--kt-line);
  color: var(--kt-ink-2);
  border: 1px solid var(--kt-line);
  border-radius: 12px;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  font-size: 12px;
}
.workspace .logout {
  padding: 5px;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--kt-muted);
  min-height: 36px;
}
.workspace .logout .icon {
  width: 18px;
  height: 18px;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 9;
  height: 76px;
  background: color-mix(in srgb, var(--kt-surface) 93%, transparent);
  backdrop-filter: blur(16px);
  padding: 0 32px;
  border-bottom: 1px solid var(--kt-line);
}
.breadcrumb {
  font-size: 14px;
  gap: 13px;
  color: var(--kt-muted-2);
}
.breadcrumb strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--kt-ink-2);
}
.breadcrumb span {
  color: var(--kt-muted-2);
}
.topactions {
  gap: 20px;
}
.environment {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--kt-muted);
}
.environment > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--kt-muted);
}
.topactions button {
  font-size: 14px;
  min-height: 40px;
}
.mobilelogout {
  display: none;
}
.content {
  max-width: 1640px;
  padding: 30px 32px 24px;
  margin: auto;
}
.banner {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 15px;
  border: 1px solid var(--kt-line);
  border-radius: 10px;
  background: var(--kt-canvas);
  font-size: 13px;
  line-height: 1.5;
  color: var(--kt-muted);
  margin-bottom: 26px;
}
.banner > .icon {
  width: 18px;
  height: 18px;
  color: var(--kt-muted);
}
.banner .badge {
  margin-left: auto;
  font-size: 11px;
  background: var(--kt-canvas);
  color: var(--kt-muted);
  border-color: var(--kt-line-strong);
  letter-spacing: 0.025em;
}
.headingrow {
  align-items: flex-end;
  margin-bottom: 28px;
  gap: 24px;
}
.headingrow h1 {
  font-size: 32px;
  font-weight: 680;
  letter-spacing: -1.2px;
  line-height: 1.2;
  margin: 8px 0 12px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  color: var(--kt-muted);
}
.sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 850px;
}
.headingrow > .flex {
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.headingrow > .flex > button {
  font-size: 15px;
}
.headingrow > .flex .icon {
  width: 19px;
  height: 19px;
}
.overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 1.1fr;
  gap: 16px;
  margin: 0 0 28px;
}
.statcard,
.channels-summary {
  background: var(--kt-surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 23px;
  position: relative;
  min-height: 168px;
  box-shadow: var(--shadow);
}
.statcard > span:not(.stat-icon),
.channels-summary > span {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--kt-muted);
  margin: 0 30px 16px 0;
}
.statcard strong {
  display: block;
  font-size: 36px;
  letter-spacing: -1px;
  font-weight: 650;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--kt-ink-2);
}
.statcard small {
  display: block;
  font-size: 13px;
  color: var(--kt-muted);
  margin-top: 14px;
}
.stat-icon {
  position: absolute;
  right: 20px;
  top: 21px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: var(--kt-canvas);
  color: var(--kt-muted);
}
.stat-icon .icon {
  width: 16px;
  height: 16px;
}
.channels-summary {
  display: block;
  text-align: left;
  font-weight: 400;
  color: inherit;
}
.channels-summary > div {
  display: flex;
  gap: 9px;
}
.channels-summary > span {
  margin-bottom: 18px;
}
.channels-summary small {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--kt-muted);
  margin-top: 14px;
}
.channels-summary small .icon {
  width: 16px;
  height: 16px;
  margin-left: auto;
}
.network {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--kt-canvas);
  border: 1px solid var(--kt-line);
  border-radius: 10px;
  color: var(--kt-ink-2);
  font-size: 18px;
}
.network svg {
  width: 20px;
  height: 20px;
}
.channel-state {
  position: relative;
}
.channel-state:after {
  content: '';
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 7px;
  height: 7px;
  border: 2px solid var(--kt-surface);
  border-radius: 50%;
  background: var(--kt-muted-2);
}
.channel-state.connected:after {
  background: var(--kt-ink-2);
}
.library-section {
  background: var(--kt-surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 26px 0;
  box-shadow: var(--shadow);
}
.library-section[data-file-drop]:before {
  display: none;
}
.library-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.library-title h2 {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.5px;
  margin: 0 0 6px;
}
.library-title h2 span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 25px;
  min-height: 25px;
  font-size: 13px;
  border: 1px solid var(--kt-line);
  background: var(--kt-canvas);
  border-radius: 8px;
  margin-left: 7px;
  padding: 1px 7px;
  color: var(--kt-muted);
  vertical-align: middle;
}
.library-title p {
  font-size: 14px;
  color: var(--kt-muted);
  margin: 0;
}
.library-view {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 13px;
  color: var(--kt-muted);
}
.library-view .icon {
  width: 18px;
  height: 18px;
}
.toolbar {
  gap: 18px;
  margin-bottom: 24px;
}
.filtertabs {
  display: flex;
  gap: 4px;
  background: var(--kt-canvas);
  border: 1px solid var(--kt-line);
  border-radius: 10px;
  padding: 4px;
}
.filtertabs button {
  background: transparent;
  border: 0;
  font-size: 14px;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--kt-muted);
  white-space: nowrap;
}
.filtertabs button.selected {
  background: var(--kt-surface);
  color: var(--kt-ink-2);
  box-shadow: 0 1px 5px #18213214;
}
.search {
  max-width: 300px;
}
.search input {
  font-size: 14px;
  border: 1px solid var(--kt-line);
  border-radius: 10px;
  min-height: 46px;
  padding: 11px 12px 11px 40px;
  background: var(--kt-surface);
}
.search .icon {
  left: 13px;
  top: 13px;
  width: 19px;
  height: 19px;
  color: var(--kt-muted-2);
}
.grid {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}
.videocard {
  border: 1px solid var(--kt-line);
  border-radius: 14px;
  background: var(--kt-surface);
  box-shadow: 0 2px 3px #20242d03;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.videocard:hover {
  transform: none;
  border-color: var(--kt-muted-2);
  box-shadow: 0 9px 30px #1926380b;
}
.thumb {
  height: 200px;
  background: var(--kt-line);
}
.thumb .play {
  left: 14px;
  top: 14px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--kt-surface) 87%, transparent);
}
.thumb .play .icon {
  width: 16px;
  height: 16px;
}
.duration {
  font-size: 12px;
  padding: 5px 8px;
  z-index: 1;
  border-radius: 6px;
  background: #1e1e1fc9;
  border: 1px solid #ffffff24;
}
.videoinfo {
  padding: 18px;
}
.videoinfo h3 {
  font-size: 16px;
  font-weight: 650;
  margin: 0 0 8px;
}
.videoinfo p {
  font-size: 13px;
  color: var(--kt-muted);
  margin: 0 0 20px;
}
.videoinfo button {
  font-size: 14px;
  min-height: 43px;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
}
.videoinfo button .icon {
  width: 17px;
  height: 17px;
}
.droparea {
  min-height: 340px;
  border: 1px dashed var(--kt-line-strong);
  background: var(--kt-canvas);
  border-radius: 14px;
  gap: 15px;
  padding: 30px 20px;
}
.droparea .icon {
  width: 28px;
  height: 28px;
  color: var(--kt-muted-2);
}
.droparea strong {
  font-size: 16px;
  font-weight: 600;
  color: var(--kt-muted);
}
.droparea span {
  font-size: 14px;
  color: var(--kt-muted);
  line-height: 1.7;
}
.library-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  border-top: 1px solid var(--kt-line);
  margin-top: 26px;
  padding: 18px 0;
  font-size: 13px;
  color: var(--kt-muted-2);
}
.library-bottom .count {
  font-size: 13px;
  color: var(--kt-muted);
}
.workflow {
  display: grid;
  grid-template-columns: 1fr 20px 1fr 20px 1fr;
  gap: 22px;
  padding: 30px 5px 10px;
}
.workflow > div {
  padding-left: 42px;
}
.workflow-number {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--kt-line);
  background: var(--kt-surface);
  border-radius: 10px;
  font-size: 12px;
  color: var(--kt-muted-2);
}
.workflow strong {
  font-size: 14px;
  font-weight: 650;
  color: var(--kt-muted);
  margin: 2px 0 6px;
}
.workflow p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--kt-muted-2);
}
.workflow-arrow {
  color: var(--kt-muted-2);
}
.pagefooter {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 30px;
  padding: 22px 0 2px;
  border-top: 1px solid var(--kt-line);
  font-size: 12px;
  color: var(--kt-muted-2);
}
.pagefooter > span:last-child {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pagefooter .icon {
  width: 15px;
  height: 15px;
}
.panel,
.previewpanel,
.reviewcard,
.connectioncard,
.cta-group,
.projectrow,
.calendar {
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  background: var(--kt-surface);
}
.panel,
.connectioncard,
.cta-group,
.reviewcard {
  padding: 24px;
}
.panel h2,
.connectioncard h2,
.cta-group header h2 {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.4px;
}
.panel h3,
.sectiontitle h2 {
  font-size: 18px;
}
.panel p,
.connectioncard p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}
.field label {
  font-size: 14px;
  font-weight: 650;
}
.field input,
.field select,
.field textarea {
  font-size: 16px;
  border-radius: 10px;
  border-color: var(--kt-line-strong);
  padding: 12px 13px;
  line-height: 1.5;
  min-width: 0;
  background: var(--kt-surface);
  color: var(--kt-ink-2);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--kt-accent);
}
.hint,
.field small {
  font-size: 13px;
  color: var(--kt-muted);
  line-height: 1.65;
}
.toggle {
  font-size: 15px;
  line-height: 1.5;
}
.toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--kt-ink-2);
}
.notice {
  font-size: 14px;
  line-height: 1.7;
  padding: 16px 18px;
  border: 1px solid var(--kt-line);
  background: var(--kt-canvas);
  color: var(--kt-muted);
  border-radius: 10px;
}
.notice.error {
  background: var(--kt-canvas);
  color: var(--kt-danger);
  border-color: var(--kt-line-strong);
}
.badge {
  font-size: 12px;
  font-weight: 550;
  border: 1px solid var(--kt-line);
  background: var(--kt-canvas);
  color: var(--kt-muted);
  padding: 5px 9px;
  border-radius: 6px;
}
.badge.success {
  background: var(--kt-canvas);
  color: var(--kt-ink-2);
  border-color: var(--kt-line-strong);
}
.badge.warning {
  background: var(--kt-canvas);
  color: var(--kt-pending);
  border-color: color-mix(in srgb, var(--kt-pending) 35%, transparent);
}
.empty {
  border-radius: 14px;
  padding: 40px 24px;
}
.empty h3 {
  font-size: 20px;
  font-weight: 600;
}
.empty p {
  font-size: 15px;
  line-height: 1.7;
  max-width: 550px;
}
.empty > .icon {
  width: 36px;
  height: 36px;
}
.projectrow {
  padding: 22px;
  gap: 18px;
}
.projectrow h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.projectrow p {
  font-size: 14px;
  line-height: 1.6;
}
.projectrow img {
  width: 54px;
  height: 68px;
  border-radius: 10px;
}
.cta-item {
  padding: 18px 0;
}
.cta-item .info strong {
  font-size: 16px;
}
.cta-item .info p {
  font-size: 14px;
}
.cta-item img {
  width: 50px;
  height: 66px;
  border-radius: 10px;
}
.reviewcard header strong {
  font-size: 18px;
}
.reviewcard p {
  font-size: 15px;
}
.reviewcard video {
  height: 240px;
  border-radius: 10px;
  background: var(--kt-ink);
}
.reviewgrid {
  gap: 22px;
}
.footeractions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  bottom: 12px;
  z-index: 7;
  padding: 14px 16px;
  margin-top: 24px;
  border: 1px solid var(--kt-line);
  background: color-mix(in srgb, var(--kt-surface) 94%, transparent);
  backdrop-filter: blur(16px);
  border-radius: 14px;
  box-shadow: 0 5px 24px #2630440d;
  gap: 18px;
}
.footeractions .hint {
  font-size: 13px;
  color: var(--kt-muted);
  text-align: center;
}
.footeractions button {
  min-height: 44px;
  font-size: 15px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 22px;
  border: 1px solid var(--kt-line);
  background: var(--kt-surface);
  border-radius: 14px;
  padding: 5px;
  overflow: visible;
}
.steps .step {
  font-size: 15px;
  background: transparent;
  border: 0;
  border-radius: 10px;
  padding: 13px 9px;
  color: var(--kt-muted);
  min-width: 0;
  min-height: 50px;
  font-weight: 550;
  gap: 8px;
}
.steps .step.active {
  color: var(--kt-ink-2);
  background: var(--kt-line);
  box-shadow: inset 0 0 0 1px var(--kt-line);
}
.steps .step.done {
  background: transparent !important;
  color: var(--kt-muted) !important;
}
.stepnum {
  width: 25px;
  height: 25px;
  border: 1px solid var(--kt-line);
  background: var(--kt-canvas);
  color: var(--kt-muted-2);
  font-size: 12px;
}
.step.active .stepnum {
  background: var(--kt-ink-2);
  border-color: var(--kt-ink-2);
  color: var(--kt-surface);
}
.editor-content .headingrow h1 {
  font-size: 28px;
}
.editor-content .headingrow .eyebrow {
  display: none;
}
.editor-content .sub {
  font-size: 15px;
}
.editor-content .headingrow {
  margin-bottom: 22px;
}
.connection-intro {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}
.connection-symbol,
.security-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--kt-line);
  background: var(--kt-canvas);
  border-radius: 12px;
  color: var(--kt-muted);
  flex-shrink: 0;
}
.connection-intro p {
  margin-bottom: 0;
}
.social-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.social-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--kt-surface);
  padding: 24px;
  min-width: 0;
}
.social-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.social-card-top .network {
  width: 40px;
  height: 40px;
}
.social-card-top .badge {
  font-size: 12px;
}
.social-card h2 {
  font-size: 20px;
  font-weight: 650;
  margin: 0 0 9px;
}
.social-card p {
  font-size: 14px;
  color: var(--kt-muted);
  line-height: 1.7;
  min-height: 50px;
  margin-bottom: 23px;
}
.social-card .social-connect {
  width: 100%;
  font-size: 14px;
  min-height: 44px;
  padding: 10px;
}
.social-card > small,
.connectioncard > small {
  display: block;
  font-size: 13px;
  line-height: 1.7;
  color: var(--kt-muted);
  margin-top: 15px;
}
.connected-account {
  font-size: 14px;
  overflow-wrap: anywhere;
  padding: 12px;
  background: var(--kt-canvas);
  border-radius: 10px;
  margin-bottom: 10px;
}
.connected-account small {
  display: block;
  font-size: 12px;
  margin-top: 6px;
  color: var(--kt-muted-2);
}
.connection-actions {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  margin: 22px 0;
}
.connectiongrid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 26px;
  gap: 22px;
}
.connectioncard > header h2 {
  display: flex;
  gap: 10px;
  align-items: center;
}
.connectioncard .loginbtn {
  display: inline-flex;
  gap: 14px;
  text-decoration: none;
  font-size: 15px;
  padding: 12px 15px;
  border: 1px solid var(--kt-line);
  border-radius: 10px;
}
.advanced-connection {
  margin-top: 25px;
}
.advanced-connection > summary {
  font-size: 14px;
  color: var(--kt-muted-2);
  cursor: pointer;
  padding: 16px 0;
}
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.security-grid h2 {
  margin: 20px 0 12px;
  font-size: 20px;
}
.security-grid p {
  margin: 0 0 24px;
}
.activity {
  margin-top: 25px;
}
.activity > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--kt-line);
  padding: 18px 0;
  font-size: 14px;
  color: var(--kt-muted);
}
.activity time {
  font-size: 13px;
  color: var(--kt-muted-2);
}
.security-footnote {
  margin-top: 20px;
}
.calheader {
  padding: 22px;
}
.calheader h2 {
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.6px;
}
.calweek {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--kt-muted);
}
.calday {
  min-height: 130px;
  padding: 12px;
}
.calday .date {
  font-size: 14px;
  width: 28px;
  height: 28px;
}
.calday.today > .date {
  background: var(--kt-ink-2);
  color: var(--kt-surface);
}
.calevent {
  font-size: 12px;
  line-height: 1.5;
  background: var(--kt-canvas);
  border-color: var(--kt-line);
  color: var(--kt-muted);
  padding: 8px;
  margin-top: 6px;
  text-align: left;
}
.modalback {
  background: #00000070;
  backdrop-filter: blur(7px);
}
.modal {
  border: 1px solid var(--kt-line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 25px 110px #15213630;
}
.modal > header h2 {
  font-size: 24px;
  letter-spacing: -0.6px;
}
.modal p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--kt-muted);
}
.uploadinput {
  font-size: 15px;
  line-height: 1.7;
  min-height: 60px;
}
.progress {
  height: 8px;
  background: var(--kt-line);
}
.progress > div {
  background: var(--kt-accent);
}
#toast {
  font-size: 15px;
  line-height: 1.5;
  padding: 15px 21px;
  border-radius: 12px;
  background: var(--kt-ink);
  color: var(--kt-canvas);
  border: 1px solid transparent;
  box-shadow: 0 8px 30px #14243c22;
  max-width: min(560px, calc(100vw - 30px));
}
.login {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100dvh;
  overflow-y: auto;
  min-height: 0;
  padding: 0;
  background: var(--kt-canvas);
}
.login-story {
  background: var(--kt-ink);
  color: var(--kt-surface);
  min-height: 100%;
  padding: 50px 58px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.login-story .brand {
  padding: 0;
  color: var(--kt-surface);
}
.login-story .brandmark {
  background: var(--kt-surface);
  color: var(--kt-ink);
}
.login-story .eyebrow {
  color: var(--kt-muted-2);
  font-size: 13px;
}
.login-story h1 {
  font-size: clamp(38px, 4.5vw, 66px);
  line-height: 1.12;
  letter-spacing: -2px;
  font-weight: 600;
  margin: 25px 0;
}
.login-story p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--kt-muted-2);
}
.login-networks {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}
.login-caption {
  font-size: 13px;
  color: var(--kt-muted-2);
}
.login-access {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}
.logincard {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  max-width: 400px;
  width: 100%;
}
.logincard h2 {
  font-size: 36px;
  letter-spacing: -1.2px;
  line-height: 1.2;
  margin: 16px 0;
}
.logincard p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--kt-muted);
  margin-bottom: 28px;
}
.logincard .loginbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: 16px;
  min-height: 52px;
  background: var(--kt-surface);
  border: 1px solid var(--kt-line);
  border-radius: 12px;
  padding: 14px;
  text-decoration: none;
}
.google-mark {
  font-weight: 700;
  font-size: 20px;
}
.logincard .login-trust {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--kt-muted-2);
  margin: 23px 0 32px;
}
.logincard > small {
  font-size: 13px;
  color: var(--kt-muted-2);
}
@media (max-width: 1350px) {
  .social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .headingrow {
    flex-wrap: wrap;
  }
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  }
  .steps .step {
    font-size: 14px;
  }
}
@media (max-width: 1100px) {
  .shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .sidebar {
    width: 220px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .content {
    padding: 26px 24px 22px;
  }
  .topbar {
    padding: 0 24px;
  }
  .workspace > div > span {
    max-width: 112px;
  }
  .headingrow h1 {
    font-size: 28px;
  }
  .workflow {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .workflow-arrow {
    display: none;
  }
  .workflow p {
    max-width: 100%;
  }
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }
  .steps .step {
    font-size: 15px;
  }
  .connectiongrid,
  .security-grid {
    grid-template-columns: 1fr;
  }
  .cta-grid {
    grid-template-columns: 1fr;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .search {
    max-width: none;
  }
  .calday {
    min-height: 110px;
    padding: 7px;
  }
  .calheader h2 {
    font-size: 20px;
  }
}
@media (max-width: 760px) {
  .shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
  }
  .sidebar {
    position: relative;
    width: 100%;
    display: block;
    padding: 18px 16px 10px;
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid var(--kt-line);
    background: var(--kt-canvas);
  }
  .sidebar .brand {
    padding: 0 3px 17px;
    gap: 11px;
  }
  .sidebar .brand strong {
    font-size: 24px;
  }
  .brandmark {
    width: 33px;
    height: 33px;
  }
  .brand small {
    font-size: 11px;
  }
  .space-label,
  .navlabel,
  .sidebottom {
    display: none;
  }
  .nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 5px;
    padding-bottom: 4px;
    scrollbar-width: thin;
    scrollbar-color: var(--kt-line-strong) transparent;
  }
  .nav button {
    font-size: 14px;
    min-height: 42px;
    padding: 10px 13px;
    gap: 8px;
    flex-shrink: 0;
  }
  .nav button .icon {
    width: 18px;
    height: 18px;
  }
  .nav button:nth-child(5) {
    margin: 0;
    border: 0;
    border-radius: 10px;
    padding: 10px 13px;
  }
  .nav button.active:after {
    display: none;
  }
  .main {
    grid-column: 1;
    height: auto;
    min-height: 0;
  }
  .topbar {
    height: 66px;
    padding: 0 17px;
    gap: 12px;
  }
  .breadcrumb,
  .breadcrumb strong {
    font-size: 13px;
  }
  .breadcrumb {
    gap: 8px;
  }
  .topactions {
    gap: 5px;
  }
  .environment {
    display: none;
  }
  .topactions button {
    font-size: 13px;
    min-height: 40px;
    padding: 9px 11px;
  }
  .mobilelogout {
    display: inline-flex !important;
    background: none;
    border: 0;
    padding: 7px !important;
  }
  .content,
  .editor-content {
    padding: 24px 16px 22px !important;
  }
  .banner {
    font-size: 13px;
    padding: 11px 12px;
    margin-bottom: 24px;
    align-items: flex-start;
  }
  .banner .badge {
    display: none;
  }
  .banner .icon {
    margin-top: 2px;
    flex-shrink: 0;
  }
  .headingrow {
    margin-bottom: 24px;
    gap: 18px;
  }
  .headingrow h1,
  .editor-content .headingrow h1 {
    font-size: 28px;
    letter-spacing: -0.8px;
    margin-bottom: 10px;
  }
  .eyebrow {
    font-size: 11px;
  }
  .sub,
  .editor-content .sub {
    font-size: 15px;
  }
  .headingrow > .flex {
    width: 100%;
    gap: 8px;
  }
  .headingrow > .flex button {
    font-size: 14px;
    flex: 1;
    min-height: 44px;
    padding: 10px;
  }
  .overview {
    gap: 12px;
    margin-bottom: 24px;
  }
  .statcard,
  .channels-summary {
    padding: 17px;
    min-height: 155px;
    border-radius: 12px;
  }
  .statcard > span:not(.stat-icon),
  .channels-summary > span {
    font-size: 13px;
    line-height: 1.5;
    margin-right: 0;
    margin-bottom: 14px;
  }
  .statcard strong {
    font-size: 32px;
  }
  .statcard small,
  .channels-summary small {
    font-size: 12px;
    line-height: 1.5;
    margin-top: 12px;
  }
  .stat-icon {
    display: none;
  }
  .channels-summary > div {
    gap: 5px;
    flex-wrap: wrap;
  }
  .channels-summary .network {
    width: 29px;
    height: 29px;
    border-radius: 8px;
  }
  .channels-summary .network svg {
    width: 17px;
    height: 17px;
  }
  .library-section {
    padding: 21px 17px 0;
    border-radius: 14px;
  }
  .library-title {
    gap: 10px;
  }
  .library-title h2 {
    font-size: 20px;
  }
  .library-title p {
    font-size: 14px;
    line-height: 1.6;
  }
  .library-view {
    display: none;
  }
  .toolbar {
    gap: 14px;
    margin-bottom: 22px;
  }
  .filtertabs {
    overflow-x: auto;
    max-width: 100%;
    width: 100%;
  }
  .filtertabs button {
    font-size: 13px;
    flex: 1;
    min-height: 38px;
    padding: 8px 10px;
  }
  .search {
    flex-basis: 100%;
  }
  .search input {
    font-size: 16px;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .thumb {
    height: 210px;
  }
  .videoinfo h3 {
    font-size: 18px;
  }
  .videoinfo p {
    font-size: 14px;
  }
  .videoinfo button {
    font-size: 15px;
  }
  .droparea {
    min-height: 210px;
  }
  .droparea strong {
    font-size: 16px;
  }
  .droparea span {
    font-size: 14px;
  }
  .library-bottom {
    font-size: 13px;
    gap: 6px;
  }
  .workflow {
    padding: 25px 0 8px;
  }
  .workflow strong {
    font-size: 15px;
  }
  .workflow p {
    font-size: 14px;
  }
  .pagefooter {
    font-size: 12px;
    gap: 14px;
    flex-wrap: wrap;
    line-height: 1.6;
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 12px;
    gap: 4px;
    padding: 5px;
    margin-bottom: 20px;
  }
  .steps .step {
    font-size: 14px;
    min-height: 47px;
    padding: 11px 8px;
    justify-content: flex-start;
  }
  .stepnum {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
  .footeractions {
    bottom: 8px;
    flex-wrap: wrap;
    padding: 12px;
    gap: 10px;
    border-radius: 12px;
  }
  .footeractions > div {
    flex: 1;
  }
  .footeractions > div:last-child {
    text-align: right;
  }
  .footeractions .hint {
    order: 3;
    width: 100%;
    max-width: none;
    font-size: 12px;
    margin: 0;
  }
  .footeractions button {
    font-size: 14px;
    min-height: 44px;
    padding: 10px 13px;
  }
  .reviewgrid,
  .social-grid {
    grid-template-columns: 1fr;
  }
  .projectrow {
    gap: 13px;
    padding: 18px;
    flex-wrap: wrap;
  }
  .projectrow .info {
    min-width: 170px;
  }
  .projectrow h3 {
    font-size: 18px;
  }
  .projectrow p {
    font-size: 14px;
  }
  .connectioncard,
  .panel,
  .cta-group,
  .reviewcard {
    padding: 21px;
  }
  .connectioncard h2,
  .panel h2 {
    font-size: 20px;
  }
  .connectioncard p,
  .panel p {
    font-size: 15px;
  }
  .social-card {
    padding: 23px;
  }
  .social-card p {
    font-size: 15px;
    min-height: 0;
  }
  .social-card .social-connect {
    font-size: 15px;
  }
  .modal {
    padding: 23px;
    border-radius: 16px;
  }
  .modal > header h2 {
    font-size: 24px;
  }
  .modal p {
    font-size: 15px;
  }
  .twocol {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .reviewcard video {
    height: 210px;
  }
  .activity > div {
    font-size: 14px;
    align-items: flex-start;
    gap: 10px;
  }
  .activity time {
    font-size: 12px;
    text-align: right;
  }
  .calheader {
    padding: 17px 12px;
  }
  .calheader h2 {
    font-size: 18px;
  }
  .calday {
    min-height: 90px;
    padding: 5px;
  }
  .calday .date {
    font-size: 13px;
  }
  .calweek {
    font-size: 11px;
  }
  .calevent {
    font-size: 11px;
    padding: 4px;
    word-break: break-word;
  }
  .login {
    grid-template-columns: 1fr;
    height: 100dvh;
  }
  .login-story {
    padding: 28px;
    min-height: 350px;
    gap: 32px;
  }
  .login-story h1 {
    font-size: 36px;
    letter-spacing: -1px;
  }
  .login-story p {
    font-size: 16px;
  }
  .login-caption {
    display: none;
  }
  .login-networks {
    margin-top: 22px;
  }
  .login-access {
    padding: 36px 28px;
  }
  .logincard h2 {
    font-size: 32px;
  }
  .logincard p {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  button,
  .videocard {
    transition: none;
  }
}

.steps .step {
  flex-direction: row;
}
.headingrow > .flex {
  flex-direction: row;
  align-items: center;
}
.topactions button {
  white-space: nowrap;
}
@media (max-width: 760px) {
  .breadcrumb {
    min-width: 0;
  }
  .breadcrumb strong {
    max-width: 138px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .footeractions > div:first-child {
    flex: 0 0 auto;
  }
  .footeractions > div:last-child {
    flex: 1;
  }
  .footeractions button {
    white-space: nowrap;
  }
  .headingrow > .flex button {
    width: auto;
  }
}
