.portal-home { background: #f6f7f5; color: #222724; }
.portal-home main { padding-block: 0; }
.portal-home [hidden] { display: none !important; }
.home-container { width: min(100% - 64px, 1280px); margin-inline: auto; }
.portal-home .site-header { background: #fff; border-bottom: 1px solid #e1e5df; }
.portal-home .header-inner { width: min(100% - 64px, 1280px); min-height: 88px; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 47px; height: 47px; background: #242b26; color: #fff; border-radius: 6px; font-size: 27px; line-height: 1; font-weight: 800; flex-shrink: 0; }
.brand-mark > span { color: #b8e761; }
.brand-name { font-size: 18px; font-weight: 800; line-height: 1.3; }
.brand-sub { display: block; margin-top: 3px; font-size: 9px; color: #66716a; font-weight: 600; }
.main-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; margin-right: 32px; font-size: 13px; font-weight: 650; }
.main-nav a { text-decoration: none; padding: 16px 0; }
.main-nav a[aria-current] { color: #35632e; }
.portal-home .preview-label { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #dedfd4; color: #535d4d; background: #f7f9f2; font-size: 11px; padding: 7px 10px; }
.status-dot { display: inline-block; width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: #80a24f; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 36px 0 26px; }
.eyebrow { font-size: 10px; font-weight: 750; color: #677369; margin: 0 0 10px; line-height: 1.5; }
.portal-home h1 { font-size: 36px; line-height: 1.2; font-weight: 800; margin: 0; }
.heading-dot { color: #688d36; }
.local-note { display: inline-flex; align-items: center; gap: 8px; color: #617064; font-size: 11px; padding-bottom: 5px; flex-shrink: 0; }
.studio { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(290px, 1fr); overflow: hidden; border: 1px solid #dce1d8; border-radius: 8px; background: #fff; box-shadow: 0 8px 28px #1b30200a; }
.preview-side { background: #222725; padding: 18px 24px 0; min-width: 0; color: #fff; }
.studio-top { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding-bottom: 15px; font-size: 10px; color: #b9c2ba; }
.studio-label { display: flex; gap: 8px; align-items: center; font-size: 9px; font-weight: 650; }
.studio-label .status-dot { background: #b8e761; }
.video-stage { position: relative; aspect-ratio: 16 / 9; background: #111412; overflow: hidden; border-radius: 3px; }
.video-stage video { display: block; width: 100%; height: 100%; object-fit: contain; }
.big-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; padding: 15px; border-radius: 50%; background: #ffffffeb; border: 1px solid #fff; cursor: pointer; box-shadow: 0 3px 18px #0002; }
.big-play img { display: block; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; padding: 0; width: 36px; height: 36px; border: 0; border-radius: 4px; cursor: pointer; background: transparent; flex-shrink: 0; }
.icon-button:hover { background: #e7ebe4; }
.icon-button img { display: block; }
.icon-button.on-dark:hover { background: #ffffff12; }
.on-dark img { filter: invert(1); }
.player-controls { display: flex; align-items: center; gap: 9px; min-height: 52px; }
.timecode { color: #c7d0c8; font: 10px Consolas, monospace; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.player-controls input { width: 100%; min-width: 0; height: 28px; accent-color: #b8e761; cursor: pointer; }
.source-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #ffffff18; min-height: 59px; font-size: 11px; }
#file-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#file-label > span { color: #aeb8b0; }
.source-actions { display: flex; align-items: center; gap: 3px; flex-shrink: 0; }
.file-button { display: inline-flex; gap: 8px; align-items: center; padding: 9px 11px; border: 1px solid #ffffff30; border-radius: 4px; color: #fff; cursor: pointer; font-size: 10px; font-weight: 650; }
.file-button:hover { background: #ffffff0d; }
.file-button img { filter: invert(1); }
.source-actions:focus-within .file-button { outline: 3px solid #b8e761; outline-offset: 3px; }
.video-status { color: #e3eccf; font-size: 11px; margin: 0; overflow-wrap: anywhere; }
.video-status:not(:empty) { padding-bottom: 16px; }
.tool-picker { padding: 30px; display: flex; flex-direction: column; min-width: 0; }
.tool-picker.metadata-selected { background: #f0f8f5; box-shadow: inset 0 4px #16846d; }
.metadata-selected > .eyebrow { color: #146553; }
.metadata-selected .selected-icon { background: #d3eee3; }
.metadata-selected .select-wrap select { border-color: #98c9b7; background: #fff; }
.metadata-selected .primary-action { color: #fff; background: #146553; border-color: #146553; }
.metadata-selected .primary-action:hover { background: #0d5142; }
.metadata-selected .primary-action > img { filter: invert(1); }
.selected-summary > div, .primary-action > span { min-width: 0; overflow-wrap: anywhere; }
.primary-action > img { flex-shrink: 0; }
.tool-picker h2 { font-size: 25px; line-height: 1.3; margin: 0 0 26px; font-weight: 800; max-width: 250px; }
.picker-field > label { display: block; font-size: 11px; font-weight: 700; margin-bottom: 8px; color: #59625b; }
.select-wrap { position: relative; }
.select-wrap > img { position: absolute; right: 13px; top: 18px; pointer-events: none; }
.select-wrap select { appearance: none; width: 100%; min-width: 0; height: 52px; padding: 0 38px 0 14px; border: 1px solid #d7ddd3; border-radius: 5px; background: #f9faf7; font: inherit; font-size: 12px; font-weight: 700; color: #27332a; }
.selected-summary { display: flex; gap: 13px; margin: 25px 0; }
.selected-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 5px; background: #edf3e2; flex-shrink: 0; }
.selected-summary h3 { font-size: 13px; font-weight: 800; margin: 0 0 5px; }
.selected-summary p { font-size: 13px; line-height: 1.7; color: #616a62; margin: 0; }
.primary-action { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #b8e761; color: #25331c; border: 1px solid #abd952; border-radius: 5px; padding: 14px 16px; text-decoration: none; font-size: 12px; font-weight: 800; min-height: 49px; }
.primary-action:hover { background: #aadb50; }
.preparation-note { display: flex; align-items: center; gap: 6px; font-size: 10px; color: #64715c; margin: 11px 0 0; }
.catalog { padding: 38px 0 48px; scroll-margin-top: 20px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.section-heading h2, .video-notes h2 { font-size: 23px; line-height: 1.3; font-weight: 800; margin: 0; }
.search-field { display: flex; align-items: center; border: 1px solid #dce1d8; background: #fff; border-radius: 5px; gap: 10px; padding: 3px 10px 3px 14px; width: 250px; min-height: 43px; }
.search-field > img { opacity: .6; flex-shrink: 0; }
.search-field input { width: 100%; min-width: 0; background: transparent; border: 0; font: inherit; font-size: 11px; color: #303c33; padding: 8px 0; }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-field:focus-within { outline: 2px solid #476d39; outline-offset: 2px; }
.search-field input:focus { outline: none; }
.search-field .icon-button { width: 28px; height: 28px; }
.catalog-toolbar { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; }
.filter-group { display: flex; flex-wrap: wrap; gap: 6px; }
.filter { font: inherit; font-size: 11px; font-weight: 650; background: transparent; color: #697166; border: 1px solid transparent; border-radius: 4px; padding: 9px 12px; cursor: pointer; min-height: 39px; }
.filter:hover { background: #eaeee6; }
.filter[aria-pressed=true] { background: #fff; color: #2e3d29; border-color: #d9e0d0; box-shadow: 0 2px 4px #00000003; }
.filter > span { display: inline-block; margin-left: 7px; color: #738265; font-size: 10px; }
.catalog-state { font-size: 10px; color: #717b6a; white-space: nowrap; }
.tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.tool-card { display: flex; flex-direction: column; min-width: 0; text-decoration: none; border: 1px solid #e1e5dc; border-radius: 7px; background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.tool-card:hover { border-color: #a6b69a; box-shadow: 0 5px 20px #20311c0a; }
.tool-card.featured-tool { border-color: #16846d; box-shadow: inset 0 -3px #16846d; }
.tool-card.featured-tool:hover { border-color: #0d5142; box-shadow: inset 0 -3px #16846d, 0 5px 20px #20311c0a; }
.featured-tool .card-tag { color: #146553; }
.card-visual { height: 145px; position: relative; overflow: hidden; margin: 7px 7px 0; border-radius: 3px; }
.card-copy { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-title { display: flex; align-items: flex-start; gap: 10px; justify-content: space-between; }
.card-title h3 { font-size: 14px; line-height: 1.5; font-weight: 800; margin: 0; }
.card-title > img { flex-shrink: 0; opacity: .55; margin-top: 2px; }
.card-copy p { font-size: 12px; line-height: 1.65; color: #58665a; margin: 7px 0 15px; }
.card-tag { margin-top: auto; font-size: 9px; font-weight: 750; color: #63715d; }
.visual-photo { width: 100%; height: 100%; object-fit: cover; }
.compression-badge { position: absolute; left: 12px; bottom: 12px; display: flex; align-items: center; gap: 7px; background: #d7fba2; padding: 7px 10px; border-radius: 3px; color: #284022; font-size: 8px; font-weight: 800; }
.whatsapp-visual { background: #e5eee1; display: flex; align-items: center; justify-content: center; }
.message-preview { width: 68%; background: #fff; padding: 5px 5px 0; border-radius: 4px; transform: rotate(-4deg); box-shadow: 0 5px 12px #23351912; }
.message-preview > img { display: block; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; height: auto; border-radius: 2px; }
.message-preview > span { display: flex; align-items: center; justify-content: flex-end; gap: 4px; font-size: 7px; color: #517544; padding: 5px 0; }
.corner-icon { position: absolute; bottom: 15px; right: 16px; }
.convert-visual { background: #eff0f5; display: flex; align-items: center; justify-content: center; gap: 18px; }
.format-in { font: 12px/1.8 Consolas, monospace; color: #747782; }
.convert-visual > img { opacity: .5; }
.format-out { width: 76px; height: 89px; border: 1px solid #dddfe7; border-radius: 5px; background: #fff; display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; font-weight: 800; font-size: 19px; box-shadow: 0 4px 9px #00000004; }
.cut-visual { background: #282d2a; display: flex; flex-direction: column; justify-content: center; gap: 17px; padding: 16px; }
.filmstrip { display: flex; position: relative; height: 50px; border-block: 3px solid #c2ea76; }
.filmstrip img { width: 33.333%; height: 44px; object-fit: cover; border-right: 1px solid #222; }
.filmstrip img:nth-child(2) { object-position: 70%; }
.cut-handle { position: absolute; height: 60px; width: 8px; background: #c2ea76; top: -8px; border-radius: 2px; }
.cut-handle:after { content: ''; position: absolute; background: #345222; width: 2px; height: 12px; top: 23px; left: 3px; }
.cut-handle.start { left: -3px; }.cut-handle.end { right: -3px; }
.cut-label { display: flex; align-items: center; justify-content: center; gap: 7px; color: #c6d0c5; font-size: 8px; }
.cut-label img { filter: invert(1); }
.metadata-visual { background: #f6ebe5; display: flex; flex-direction: column; gap: 6px; justify-content: center; padding: 18px 22px; }
.metadata-row { display: flex; justify-content: space-between; align-items: center; font-size: 9px; background: #fff9f6; padding: 6px 9px; border: 1px solid #e9d9d0; color: #825c47; border-radius: 3px; }
.metadata-row.keep { color: #476f3c; background: #f6f9f1; border-color: #d5dfc9; }
.audio-visual { background: #eef0e5; display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; }
.waveform { display: flex; gap: 4px; align-items: center; justify-content: center; height: 65px; width: 85%; }
.waveform i { width: 4px; height: 15px; background: #87995e; border-radius: 2px; }
.waveform i:nth-child(3n) { height: 37px; }.waveform i:nth-child(4n) { height: 58px; }.waveform i:nth-child(5n) { height: 24px; }.waveform i:nth-child(7n) { height: 46px; }
.audio-label { display: flex; align-items: center; gap: 6px; color: #677651; font-size: 8px; }
.thumbnail-visual { padding: 19px 26px; background: #e9ede9; }
.thumbnail-visual > img { display: block; width: 100%; height: 92px; object-fit: cover; }
.frame-corner { width: 12px; height: 12px; position: absolute; border-color: #fff; border-style: solid; }
.frame-corner.top-left { top: 24px; left: 31px; border-width: 2px 0 0 2px; }.frame-corner.top-right { top: 24px; right: 31px; border-width: 2px 2px 0 0; }.frame-corner.bottom-left { bottom: 39px; left: 31px; border-width: 0 0 2px 2px; }.frame-corner.bottom-right { bottom: 39px; right: 31px; border-width: 0 2px 2px 0; }
.frame-label { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 7px; color: #5e6c62; margin-top: 9px; font-weight: 750; }
.catalog-note { padding: 22px 12px 14px 18px; min-width: 0; }
.note-icon { display: inline-flex; padding-bottom: 13px; }
.catalog-note h3 { font-size: 17px; line-height: 1.4; max-width: 170px; margin: 0 0 10px; font-weight: 800; }
.catalog-note p { color: #586658; font-size: 12px; line-height: 1.8; max-width: 210px; margin: 0 0 14px; }
.catalog-note a { display: inline-flex; align-items: center; gap: 10px; color: #385e2c; font-size: 10px; font-weight: 750; text-decoration: none; }
.empty-results { border-block: 1px solid #dce2d6; padding: 24px 0; font-size: 13px; color: #606d5d; }
.empty-results button { border: 0; background: transparent; color: #305b24; font: inherit; text-decoration: underline; cursor: pointer; min-height: 40px; }
.video-notes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 60px; padding: 36px 0 44px; border-top: 1px solid #dce2d6; scroll-margin-top: 24px; }
.notes-intro p:not(.eyebrow) { font-size: 12px; color: #697566; line-height: 1.7; max-width: 280px; margin: 13px 0 0; }
.notes-questions details { border-bottom: 1px solid #dce2d6; }
.notes-questions summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; cursor: pointer; padding: 17px 0; font-size: 12px; font-weight: 750; list-style: none; }
.notes-questions summary::-webkit-details-marker { display: none; }
.notes-questions summary img { flex-shrink: 0; transition: transform .15s; }
.notes-questions details[open] summary img { transform: rotate(180deg); }
.notes-questions details p { font-size: 12px; color: #65715f; line-height: 1.8; margin: 0 24px 18px 0; }
.portal-home .home-footer { display: block; width: 100%; background: #fff; border-top: 1px solid #e1e5dc; padding: 24px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #6e796b; font-size: 10px; }
.brand-mark.small { width: 33px; height: 33px; font-size: 21px; border-radius: 4px; }
.footer-inner .brand-name { font-size: 14px; color: #354330; }
.footer-inner > a:last-child { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.portal-home :focus-visible { outline: 3px solid #4e742d; outline-offset: 4px; }
.preview-side :focus-visible { outline-color: #b8e761; }
@media (min-width: 1600px) { .home-container, .portal-home .header-inner { width: min(100% - 96px, 1360px); }.tool-picker { padding: 38px; }.card-visual { height: 160px; } }
@media (max-width: 1100px) { .home-container, .portal-home .header-inner { width: calc(100% - 48px); }.studio { grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); }.tool-picker { padding: 24px; }.preview-side { padding-inline: 18px; }.tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }.card-copy { padding-inline: 15px; }.local-note { display: none; } }
@media (max-width: 800px) { .studio { grid-template-columns: minmax(0, 1fr); }.tool-picker { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 24px; padding: 24px; }.tool-picker > .eyebrow { grid-column: 1 / -1; margin-bottom: -6px; }.tool-picker h2 { font-size: 22px; margin: 0; max-width: none; }.picker-field { grid-column: 2; grid-row: 2 / 4; }.selected-summary { margin: 0; grid-column: 1; }.primary-action { grid-column: 2; }.preparation-note { margin: 0; grid-column: 1; grid-row: 4; }.tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.main-nav { margin-right: 10px; gap: 20px; }.video-notes { gap: 30px; }.portal-home h1 { font-size: 32px; } }
@media (max-width: 560px) {
  .home-container, .portal-home .header-inner { width: calc(100% - 32px); }
  .portal-home .header-inner { min-height: 73px; flex-wrap: wrap; gap: 12px; }
  .brand-mark { width: 38px; height: 38px; font-size: 24px; }.brand-name { font-size: 15px; }.brand-sub { font-size: 8px; }
  .main-nav { order: 3; width: 100%; margin: -2px 0 0; padding-bottom: 9px; gap: 24px; font-size: 11px; }.main-nav a { padding: 4px 0; min-height: 32px; }
  .portal-home .preview-label { margin-left: auto; }.portal-home .brand { padding-top: 12px; }.portal-home .preview-label { margin-top: 12px; }
  .page-heading { padding: 25px 0 20px; }.eyebrow { font-size: 8px; margin-bottom: 8px; }.portal-home h1 { font-size: 27px; }
  .preview-side { padding: 13px 12px 0; }.studio-top { padding-bottom: 11px; }.studio-label { font-size: 8px; }.source-bar { min-height: 54px; gap: 8px; font-size: 10px; }.file-button { min-height: 40px; font-size: 9px; gap: 6px; }
  .player-controls { gap: 5px; min-height: 48px; }.player-controls .icon-button { width: 30px; height: 40px; }.timecode { font-size: 9px; }.big-play { width: 46px; height: 46px; padding: 11px; }
  .tool-picker { display: flex; padding: 22px 20px; gap: 0; }.tool-picker > .eyebrow { margin-bottom: 8px; }.tool-picker h2 { font-size: 23px; margin-bottom: 20px; }.selected-summary { margin: 19px 0; }.selected-summary h3 { font-size: 13px; }.selected-summary p { font-size: 11px; }.preparation-note { margin-top: 10px; }
  .select-wrap select { font-size: 11px; }.catalog { padding: 30px 0; }.section-heading { flex-direction: column; align-items: stretch; gap: 16px; }.section-heading h2, .video-notes h2 { font-size: 22px; }.search-field { width: 100%; }.search-field input { font-size: 12px; }.catalog-toolbar { padding: 14px 0; }.catalog-state { display: none; }.filter-group { gap: 2px; }.filter { font-size: 10px; min-height: 40px; padding: 8px; }.filter > span { margin-left: 4px; }
  .tool-grid { gap: 12px; }.card-visual { height: 110px; margin: 5px 5px 0; }.card-copy { padding: 12px 12px 14px; }.card-title h3 { font-size: 12px; }.card-title > img { width: 15px; height: 15px; }.card-title { gap: 4px; }.card-copy p { font-size: 10px; margin-bottom: 12px; }.card-tag { font-size: 7px; }.compression-badge { left: 6px; bottom: 6px; padding: 5px 6px; font-size: 6px; gap: 3px; }.compression-badge img { width: 16px; height: 16px; }
  .message-preview { width: 80%; }.message-preview > span { font-size: 6px; }.corner-icon { width: 20px; bottom: 8px; right: 8px; }.convert-visual { gap: 9px; }.format-in { font-size: 9px; }.format-out { width: 54px; height: 72px; font-size: 15px; gap: 5px; }.convert-visual > img { width: 19px; }.cut-visual { padding: 12px; gap: 12px; }.filmstrip { height: 40px; }.filmstrip img { height: 34px; }.cut-handle { height: 50px; }.cut-handle:after { top: 19px; }.cut-label { font-size: 6px; gap: 4px; }.metadata-visual { padding: 10px; gap: 4px; }.metadata-row { font-size: 7px; padding: 4px 6px; }.waveform { gap: 3px; height: 56px; }.waveform i { width: 3px; }.audio-label { font-size: 6px; gap: 4px; }.thumbnail-visual { padding: 12px 14px; }.thumbnail-visual > img { height: 66px; }.frame-label { font-size: 5px; margin-top: 7px; gap: 3px; }.frame-label img { width: 10px; height: 10px; }.frame-corner.top-left { top: 16px; left: 18px; }.frame-corner.top-right { top: 16px; right: 18px; }.frame-corner.bottom-left { bottom: 36px; left: 18px; }.frame-corner.bottom-right { bottom: 36px; right: 18px; }
  .catalog-note { padding: 15px 7px; }.catalog-note h3 { font-size: 15px; }.catalog-note p { font-size: 10px; }.catalog-note .note-icon { padding-bottom: 8px; }.video-notes { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 28px 0 32px; }.notes-intro p:not(.eyebrow) { max-width: none; }.notes-questions summary { font-size: 11px; line-height: 1.7; }.notes-questions details p { font-size: 11px; }.footer-inner { flex-wrap: wrap; gap: 16px; }.footer-inner > span { order: 3; width: 100%; }.portal-home .home-footer .brand { padding-top: 0; }
}
.primary-action { font-size: 14px; }
.search-field input, .filter, .picker-field > label { font-size: 12px; }
.preparation-note, .catalog-state { font-size: 11px; }
.notes-questions summary, .notes-questions details p { font-size: 13px; }
@media (max-width: 560px) {
  .card-title h3 { font-size: 14px; }
  .card-copy p, .catalog-note p, .selected-summary p { font-size: 12px; }
  .card-tag { font-size: 8px; overflow-wrap: anywhere; }
  .filter { font-size: 11px; }
  .cut-label, .audio-label, .frame-label { font-size: 7px; }
  .notes-questions summary, .notes-questions details p { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
