@charset "UTF-8";

:root { font-family: "Inter", "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; color: #263f3e; background: #f4f7f6; font-synthesis: none; text-rendering: optimizeLegibility; --green: #137f79; --green-dark: #106660; --ink: #263f3e; --muted: #7d9390; --line: #e4ece9; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 320px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .58; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
:focus-visible { outline: 3px solid #72c6b6; outline-offset: 3px; }
.icon-sprite, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.icon { display: block; width: 19px; height: 19px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.spinner { display: inline-block; width: 17px; height: 17px; border: 2px solid #d8eae4; border-top-color: #188a7c; border-radius: 50%; animation: spin .75s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.boot-view { min-height: 100vh; display: flex; align-items: center; justify-content: center; gap: 10px; color: #78918a; font-size: 13px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { position: relative; display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 12px; background: #c9eadf; color: #125b56; font: 700 31px/1 Georgia, serif; padding-bottom: 5px; }
.brand-mark i { position: absolute; width: 7px; height: 7px; top: 8px; right: 7px; border-radius: 50%; background: #42a78f; }
.brand-word { display: grid; gap: 3px; line-height: 1; }
.brand-word strong { font-size: 16px; letter-spacing: .105em; }
.brand-word small { color: #acd0c5; font-size: 8px; font-weight: 700; letter-spacing: .27em; }
.brand-light { color: #fff; }
.section-kicker { color: #81a39b; font-size: 10px; font-weight: 750; letter-spacing: .16em; }
.section-kicker.light { color: #a3d1bf; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border: 1px solid transparent; border-radius: 9px; font-size: 13px; font-weight: 650; text-decoration: none; white-space: nowrap; transition: background .16s ease, border-color .16s ease, transform .16s ease; }
.button .icon { width: 17px; height: 17px; }
.button-primary { background: #157d75; color: #fff; box-shadow: 0 6px 14px rgba(20, 116, 104, .14); }
.button-primary:hover:not(:disabled) { background: #106c64; }
.button-ghost { color: #627a75; border-color: #dfe9e5; background: #fff; }
.button-ghost:hover:not(:disabled) { background: #f5faf7; border-color: #c4d9d1; }
.button-danger { color: #fff; background: #c65b55; }
.button-danger:hover:not(:disabled) { background: #ab4944; }
.field-label { display: block; color: #39534f; font-size: 12px; font-weight: 700; }
.required { color: #d56b62; }
.optional { margin-left: 2px; color: #a2b1ad; font-size: 11px; font-weight: 450; }
.form-error { color: #ad4e49; font-size: 12px; line-height: 1.55; margin: 9px 0 0; }
.form-hint, .field-note { color: #91a5a0; font-size: 11px; line-height: 1.65; }
.icon-button { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border: 0; border-radius: 8px; color: #81958f; background: #f3f7f5; }
.icon-button:hover { background: #e8f1ed; color: #376d61; }
.icon-button .icon { width: 16px; height: 16px; }

/* Login */
.login-view { min-height: 100vh; display: grid; place-items: center; padding: 32px; background: radial-gradient(circle at 18% 20%, #e4f0e9 0, transparent 29%), radial-gradient(circle at 82% 84%, #e5f0e9 0, transparent 29%), #f3f7f5; }
.login-card { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); width: min(1050px, 100%); min-height: 610px; overflow: hidden; border: 1px solid rgba(255,255,255,.9); border-radius: 23px; background: #fff; box-shadow: 0 24px 80px rgba(43, 87, 68, .12); }
.login-aside { position: relative; display: flex; flex-direction: column; min-height: 610px; overflow: hidden; padding: 39px 43px 31px; background: radial-gradient(circle at 79% 72%, rgba(132, 196, 160, .18), transparent 39%), linear-gradient(145deg, #174943 0%, #103d3b 100%); }
.login-aside::before { position: absolute; content: ""; width: 410px; height: 410px; right: -210px; top: -150px; border: 1px solid rgba(200, 239, 218, .14); border-radius: 50%; }
.login-aside-copy { position: relative; z-index: 1; margin-top: 70px; }
.login-aside-copy h2 { color: #f1fbf5; font-size: 27px; letter-spacing: .035em; line-height: 1.55; margin: 15px 0 13px; }
.login-aside-copy p { color: #acd0c2; max-width: 330px; font-size: 12px; line-height: 1.9; margin: 0; }
.login-art { position: relative; height: 220px; flex: 1 1 auto; margin-top: 12px; }
.art-orbit { position: absolute; border: 1px solid rgba(207, 245, 222, .13); border-radius: 50%; }
.orbit-one { width: 238px; height: 238px; left: 110px; top: 3px; }
.orbit-two { width: 185px; height: 185px; left: 136px; top: 29px; background: rgba(255,255,255,.025); }
.art-card { position: absolute; width: 116px; height: 151px; border: 1px solid rgba(255,255,255,.8); border-radius: 9px; background: #f9fdf9; box-shadow: 0 14px 32px rgba(4, 30, 25, .2); padding: 10px; }
.art-card-back { left: 124px; top: 55px; transform: rotate(-12deg); }
.art-card-front { left: 196px; top: 42px; transform: rotate(8deg); }
.art-picture { display: block; height: 91px; margin: 8px 0; border-radius: 5px; background: linear-gradient(145deg, #d4e9db, #a8cdb9); }
.art-card-front .art-picture { height: 74px; background: linear-gradient(145deg, #e0f0e4, #b3d5c3); }
.art-line { display: block; width: 80%; height: 4px; border-radius: 3px; background: #d5e4db; }
.art-line.short { width: 53%; margin-top: 6px; background: #e6efea; }
.art-top { display: flex; align-items: center; gap: 5px; color: #669386; font-size: 6px; font-weight: 800; letter-spacing: .07em; }
.art-avatar { display: grid; place-items: center; width: 15px; height: 15px; padding-bottom: 2px; border-radius: 5px; background: #d5ede1; color: #548c78; font: 700 13px Georgia, serif; }
.art-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; color: #9bb5a8; font-size: 6px; letter-spacing: .06em; }
.art-stamp { position: absolute; left: 264px; top: 170px; display: flex; align-items: center; gap: 4px; padding: 6px 8px; border: 1px solid rgba(255,255,255,.7); border-radius: 8px; background: #fcfffc; color: #568f78; box-shadow: 0 7px 18px rgba(4,30,25,.14); font-size: 7px; font-weight: 800; letter-spacing: .07em; white-space: nowrap; }
.art-stamp .icon { width: 12px; height: 12px; }
.login-aside-footer { position: relative; z-index: 1; margin: auto 0 0; color: #8cb6a9; font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.login-aside-footer span, .login-panel-footer span { padding: 0 5px; color: #86bba5; }
.login-panel { position: relative; display: flex; align-items: center; justify-content: center; padding: 50px; }
.login-inner { width: min(340px, 100%); }
.login-lock { display: grid; place-items: center; width: 47px; height: 47px; margin-bottom: 28px; border: 1px solid #d7eae0; border-radius: 14px; color: #318b77; background: #eef8f2; }
.login-lock .icon { width: 21px; height: 21px; }
.login-inner h1 { color: #243f3a; font-size: 29px; letter-spacing: .03em; margin: 12px 0 9px; }
.login-intro { color: #8a9e98; font-size: 13px; line-height: 1.75; margin: 0 0 31px; }
.login-account, .password-wrap { position: relative; margin-top: 10px; }
.login-password-label { margin-top: 18px; }
.login-account input, .password-wrap input, .field input, .field textarea { width: 100%; border: 1px solid #dfeae5; border-radius: 9px; outline: none; background: #fbfdfb; color: #29443e; transition: border-color .16s, box-shadow .16s; }
.login-account input { height: 48px; padding: 0 14px; font-size: 13px; }
.password-wrap input { height: 48px; padding: 0 46px 0 14px; font-size: 13px; }
.login-account input::placeholder, .password-wrap input::placeholder, .field input::placeholder, .field textarea::placeholder, .search-field input::placeholder { color: #b0bfba; }
.login-account input:focus, .password-wrap input:focus, .field input:focus, .field textarea:focus, .search-field:focus-within, .filter-select:focus-within { border-color: #79bcaa; box-shadow: 0 0 0 3px rgba(99, 178, 151, .12); }
.password-toggle { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 7px; background: transparent; color: #a0b2ac; }
.password-toggle:hover { color: #3e8b78; }
.password-toggle .icon { width: 18px; height: 18px; }
.login-submit { justify-content: space-between; width: 100%; min-height: 48px; margin-top: 22px; padding: 0 16px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 25px; color: #829b92; font-size: 12px; text-decoration: none; }
.back-link:hover { color: #247d6d; }
.back-link .icon { width: 15px; height: 15px; }
.login-panel-footer { position: absolute; left: 0; right: 0; bottom: 28px; text-align: center; margin: 0; color: #bdccc6; font-size: 9px; font-weight: 700; letter-spacing: .14em; }

/* Workspace */
.dashboard { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100vh; }
.dashboard-sidebar { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; min-height: 550px; overflow: hidden; padding: 28px 16px 19px; background: #123f3d; color: #d5e9e1; }
.dashboard-sidebar .brand { padding: 0 3px 43px; }
.brand-badge { margin-left: auto; padding: 4px 6px; border: 1px solid rgba(216,245,233,.22); border-radius: 5px; color: #c6e5d8; font-size: 10px; white-space: nowrap; }
.sidebar-caption { padding: 0 10px 12px; color: #83aca1; font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.sidebar-caption span { padding-left: 3px; font-weight: 500; letter-spacing: 0; }
.sidebar-active, .sidebar-link { display: flex; align-items: center; gap: 11px; min-height: 43px; padding: 0 11px; border-radius: 9px; font-size: 13px; text-decoration: none; }
.sidebar-active { color: #f2fff8; background: rgba(197, 240, 219, .13); font-weight: 700; }
.sidebar-link { margin-top: 5px; color: #a9cbbf; }
.sidebar-button { width: 100%; border: 0; background: transparent; text-align: left; }
.sidebar-link:hover { background: rgba(197, 240, 219, .08); color: #fff; }
.sidebar-active .icon, .sidebar-link .icon, .sidebar-logout .icon { width: 17px; height: 17px; }
.sidebar-count { margin-left: auto; color: #bbdbcf; font-size: 11px; font-weight: 500; }
.sidebar-bottom { display: flex; gap: 10px; align-items: center; margin-top: auto; padding: 13px 10px; border: 1px solid rgba(216,245,233,.12); border-radius: 10px; background: rgba(230,251,242,.055); }
.sidebar-bubble { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 9px; color: #bbebd6; background: rgba(193,239,214,.13); }
.sidebar-bubble .icon { width: 16px; height: 16px; }
.sidebar-bottom strong { color: #d9f3e6; font-size: 12px; }
.sidebar-bottom p { margin: 4px 0 0; color: #9cc1b4; font-size: 10px; }
.sidebar-logout { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 12px; padding: 11px; border: 0; border-radius: 8px; color: #a9cbbf; background: transparent; text-align: left; font-size: 12px; }
.sidebar-logout:hover { color: #fff; background: rgba(197, 240, 219, .08); }
.dashboard-main { min-width: 0; }
.dashboard-topbar { display: flex; align-items: center; justify-content: space-between; min-height: 70px; padding: 0 42px; border-bottom: 1px solid #e8efeb; background: rgba(255,255,255,.91); }
.topbar-left, .topbar-actions, .breadcrumbs { display: flex; align-items: center; }
.breadcrumbs { gap: 11px; color: #a2b4ae; font-size: 12px; }
.breadcrumbs strong { color: #526b64; font-weight: 650; }
.crumb-separator { color: #c5d3ce; }
.topbar-actions { gap: 17px; }
.topbar-gallery, .topbar-logout { display: inline-flex; align-items: center; gap: 5px; border: 0; padding: 6px 0; background: transparent; color: #839b93; font-size: 11px; text-decoration: none; }
.topbar-gallery:hover, .topbar-logout:hover { color: #1a8270; }
.topbar-gallery .icon, .topbar-logout .icon { width: 14px; height: 14px; }
.topbar-avatar { display: grid; place-items: center; width: 33px; height: 33px; border: 2px solid #f4faf6; border-radius: 50%; background: #dcefe5; color: #3a7e68; font: 700 15px Georgia, serif; }
.mobile-brand { display: none; }
.dashboard-content { width: 100%; max-width: 1600px; margin: 0 auto; padding: 34px 42px 0; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.heading-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; flex-wrap: wrap; }
.page-heading h1 { margin: 10px 0 8px; color: #294c45; font-size: 27px; letter-spacing: .02em; }
.page-heading p { margin: 0; color: #8ca19a; font-size: 12px; line-height: 1.7; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.stat-card { position: relative; display: flex; align-items: center; gap: 13px; min-width: 0; min-height: 99px; padding: 19px; border: 1px solid #e7efea; border-radius: 12px; background: #fff; box-shadow: 0 4px 16px rgba(47,80,65,.025); }
.stat-icon { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; }
.stat-icon.teal { color: #2c8a79; background: #e9f6ee; }.stat-icon.mint { color: #69a690; background: #eff8f2; }.stat-icon.sand { color: #b49162; background: #fbf3e7; }.stat-icon.lilac { color: #9a91bb; background: #f3f0fa; }
.stat-icon .icon { width: 20px; height: 20px; }
.stat-card > div:nth-child(2) { display: grid; gap: 5px; min-width: 0; }
.stat-card > div:nth-child(2) span { color: #91a59f; font-size: 11px; white-space: nowrap; }
.stat-card strong { color: #375b51; font-size: 23px; font-weight: 700; line-height: 1; }
.stat-card small { position: absolute; right: 15px; top: 14px; color: #c9d8d0; font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.library-panel { overflow: hidden; border: 1px solid #e7efea; border-radius: 13px; background: #fff; box-shadow: 0 4px 20px rgba(47,80,65,.025); }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 23px 24px 19px; }
.panel-heading h2 { margin: 0; color: #34564d; font-size: 17px; }
.panel-heading h2 span { display: inline-flex; align-items: center; justify-content: center; min-width: 27px; height: 21px; margin-left: 5px; padding: 0 6px; border-radius: 6px; color: #618f80; background: #edf7f0; font-size: 10px; vertical-align: 2px; }
.panel-heading p { margin: 7px 0 0; color: #9aada6; font-size: 11px; }
.text-button { border: 0; background: transparent; color: #6c9a8a; font-size: 11px; }
.text-button:hover { color: #116f5f; }
.filters { display: flex; gap: 10px; padding: 0 24px 21px; }
.search-field, .filter-select { display: flex; align-items: center; min-height: 40px; border: 1px solid #e3ece7; border-radius: 8px; background: #fbfdfb; transition: border-color .16s, box-shadow .16s; }
.search-field { flex: 1 1 auto; gap: 8px; min-width: 140px; padding: 0 12px; color: #8ca99e; }
.search-field .icon { width: 16px; height: 16px; }
.search-field input { width: 100%; min-width: 0; padding: 9px 0; border: 0; outline: 0; background: transparent; color: #405e55; font-size: 12px; }
.filter-select { flex: 0 0 170px; padding: 0 10px; }
.filter-select select { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #6a8178; font-size: 12px; cursor: pointer; }
.filter-select.type-select { flex-basis: 118px; }
.list-heading, .asset-row { display: grid; grid-template-columns: minmax(250px, 2.15fr) minmax(100px, .8fr) minmax(95px, .8fr) minmax(152px, .9fr); align-items: center; gap: 16px; }
.list-heading { min-height: 38px; padding: 0 24px; border-top: 1px solid #edf2ef; border-bottom: 1px solid #edf2ef; background: #f9fbf9; color: #9daea7; font-size: 10px; font-weight: 650; }
.list-heading span:last-child { text-align: right; }
.asset-row { min-height: 79px; padding: 12px 24px; border-bottom: 1px solid #f0f4f1; }
.asset-row:last-child { border-bottom: 0; }
.asset-row:hover { background: #fcfefc; }
.asset-primary { display: flex; align-items: center; gap: 12px; min-width: 0; }
.asset-thumb { position: relative; display: grid; place-items: center; flex: 0 0 auto; width: 54px; height: 54px; overflow: hidden; border: 1px solid #e7efea; border-radius: 8px; background: #edf5ef; color: #88b5a3; }
.asset-thumb > img { width: 100%; height: 100%; object-fit: cover; }
.asset-thumb > .icon { width: 20px; height: 20px; }
.asset-video-mark { position: absolute; right: 3px; bottom: 3px; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 5px; background: rgba(22, 57, 51, .76); color: #fff; }
.asset-video-mark .icon { width: 11px; height: 11px; }
.asset-main { min-width: 0; }
.asset-main h3 { overflow: hidden; margin: 0 0 6px; color: #3c5b52; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.asset-main p { overflow: hidden; margin: 0; color: #a0b2aa; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.asset-main p span + span::before { content: "·"; padding: 0 5px; color: #c0d1c8; }
.asset-domain, .asset-kind { overflow: hidden; color: #788e84; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.domain-tag { display: inline-block; max-width: 100%; overflow: hidden; padding: 5px 8px; border-radius: 6px; background: #eff7f1; color: #6b9988; text-overflow: ellipsis; vertical-align: middle; }
.asset-actions { display: flex; align-items: center; justify-content: flex-end; gap: 3px; }
.asset-actions button, .asset-actions a { display: inline-flex; align-items: center; gap: 4px; padding: 6px 7px; border: 0; border-radius: 6px; background: transparent; color: #769189; font-size: 11px; text-decoration: none; }
.asset-actions button:hover, .asset-actions a:hover { background: #edf7f0; color: #247a69; }
.asset-actions .delete-action:hover { background: #fff2ef; color: #c7625d; }
.asset-actions .icon { width: 14px; height: 14px; }
.list-message { min-height: 190px; display: flex; align-items: center; justify-content: center; gap: 9px; color: #91a79e; font-size: 12px; }
.error-message { color: #b35c56; padding: 20px; text-align: center; }
.empty-message { flex-direction: column; gap: 8px; }
.empty-message strong { color: #67857a; font-size: 13px; }.empty-message span { font-size: 11px; }
.empty-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: #eef7f0; color: #99bca9; }
.empty-icon .icon { width: 19px; height: 19px; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 24px; border-top: 1px solid #f0f4f1; color: #9caf9f; font-size: 11px; }
.pagination > div { display: flex; align-items: center; gap: 8px; }
.pagination button { padding: 6px 9px; border: 1px solid #e5eee8; border-radius: 6px; background: #fff; color: #69877a; font-size: 10px; }
.pagination button:hover:not(:disabled) { border-color: #a5cdbc; color: #257968; }
.dashboard-footer { display: flex; justify-content: space-between; gap: 12px; padding: 27px 0; color: #afc0b7; font-size: 9px; font-weight: 600; letter-spacing: .08em; }
.dashboard-footer i { display: inline-block; width: 3px; height: 3px; margin: 0 5px; border-radius: 50%; vertical-align: middle; background: #b9d4c5; }

/* Dialogs */
.modal { width: min(940px, calc(100% - 32px)); max-width: none; max-height: min(850px, calc(100dvh - 32px)); overflow: auto; padding: 0; border: 1px solid #e5eee8; border-radius: 16px; background: #fff; color: #36574e; box-shadow: 0 28px 90px rgba(15, 50, 39, .2); }
.modal::backdrop { background: rgba(18, 47, 40, .52); }
.modal-header { display: flex; justify-content: space-between; gap: 18px; padding: 24px 27px 21px; border-bottom: 1px solid #edf2ef; }
.modal-header h2 { margin: 7px 0 6px; color: #31564c; font-size: 20px; }
.modal-header p { margin: 0; color: #9aafa5; font-size: 11px; line-height: 1.6; }
.asset-form-body { display: grid; grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr); gap: 26px; padding: 24px 27px 22px; }
.media-column { min-width: 0; }.fields-column { display: grid; align-content: start; gap: 17px; min-width: 0; }
.media-preview { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; min-height: 155px; margin-top: 10px; overflow: hidden; border: 1px solid #e7f0ea; border-radius: 10px; background: #f4f8f5; }
.media-preview img, .media-preview video { display: block; width: 100%; height: 100%; max-height: 250px; object-fit: contain; }
.preview-empty { display: grid; justify-items: center; gap: 9px; color: #a8c0b2; font-size: 11px; }
.preview-empty .icon { width: 29px; height: 29px; stroke-width: 1.3; }
.file-dropzone { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 100px; margin-top: 12px; padding: 13px; border: 1px dashed #b8d9c7; border-radius: 9px; background: #f8fcf9; color: #589b80; cursor: pointer; text-align: center; font-size: 12px; font-weight: 650; }
.file-dropzone:hover, .file-dropzone.drag-over, .file-dropzone:focus-within { border-color: #5bad91; background: #eff9f2; }
.file-dropzone .icon { width: 20px; height: 20px; margin-bottom: 1px; }
.file-dropzone small { color: #a0b9ac; font-size: 10px; font-weight: 450; }
.file-input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.file-name { overflow-wrap: anywhere; margin: 8px 0 0; color: #648b7d; font-size: 10px; }
.form-hint { margin: 7px 0 0; }
.field { display: grid; gap: 8px; min-width: 0; }
.field-label-line { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.inline-domain-button { padding: 0; border: 0; background: transparent; color: #4c9a82; font-size: 11px; white-space: nowrap; }
.inline-domain-button:hover { color: #176b59; }
.field input { height: 42px; padding: 0 12px; font-size: 12px; }
.field textarea { min-height: 90px; resize: vertical; padding: 11px 12px; font-size: 12px; line-height: 1.6; }
.field-note { margin-top: -3px; }
.form-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.modal-error { margin: 0 27px 15px; }
.modal-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 27px; border-top: 1px solid #edf2ef; background: #fcfefc; }
.modal-footer > div { display: flex; gap: 9px; }
.modal-footnote { color: #a2b5aa; font-size: 11px; }
.delete-modal { width: min(420px, calc(100% - 32px)); }
.delete-content { position: relative; padding: 28px; }
.delete-symbol { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #f7ded8; border-radius: 13px; background: #fff3f0; color: #c7675b; }
.delete-symbol .icon { width: 21px; height: 21px; }
.delete-close { position: absolute; top: 22px; right: 22px; }
.delete-content h2 { margin: 21px 0 10px; color: #39594f; font-size: 20px; }
.delete-content > p:not(.form-error) { color: #91a49b; font-size: 12px; line-height: 1.85; }
.delete-content p strong { color: #597b6d; overflow-wrap: anywhere; }
.delete-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 24px; }
.domain-modal { width: min(650px, calc(100% - 32px)); }
.domain-create { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; padding: 23px 27px 18px; }
.domain-create .button { min-height: 42px; }
.domain-error { margin: 0 27px 15px; }
.domain-list-header { display: flex; align-items: center; justify-content: space-between; padding: 2px 27px 13px; color: #54786c; font-size: 12px; font-weight: 700; }
.domain-total { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 20px; margin-left: 4px; padding: 0 5px; border-radius: 6px; background: #edf7f0; color: #679281; font-size: 10px; }
.domain-list { max-height: min(400px, 42dvh); overflow-y: auto; border-top: 1px solid #eef3f0; }
.domain-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 11px 27px; border-bottom: 1px solid #f0f4f1; }
.domain-row-main { display: grid; flex: 1; gap: 5px; min-width: 0; }
.domain-row-name { overflow-wrap: anywhere; color: #3d5e53; font-size: 12px; font-weight: 700; }
.domain-row-count { color: #9aafa4; font-size: 10px; }
.domain-row-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 3px; }
.domain-row-actions button { display: inline-flex; align-items: center; gap: 4px; padding: 7px 8px; border: 0; border-radius: 6px; background: transparent; color: #78958a; font-size: 11px; white-space: nowrap; }
.domain-row-actions button:hover:not(:disabled) { background: #edf7f0; color: #247a69; }
.domain-row-actions .domain-remove:hover:not(:disabled) { background: #fff2ef; color: #c7625d; }
.domain-row-actions .icon { width: 14px; height: 14px; }
.domain-row-actions .domain-save { color: #217e6c; font-weight: 700; }
.domain-edit-input { width: 100%; min-width: 0; height: 36px; padding: 0 10px; border: 1px solid #c6e1d3; border-radius: 7px; outline: none; background: #fbfefb; color: #385b50; font-size: 12px; }
.domain-edit-input:focus { border-color: #79bcaa; box-shadow: 0 0 0 3px rgba(99, 178, 151, .12); }
.domain-message { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 95px; padding: 15px; color: #91a79e; font-size: 12px; text-align: center; }
.domain-footer { padding: 15px 27px; color: #91a79b; background: #fcfefc; font-size: 11px; line-height: 1.6; }
.toast { position: fixed; z-index: 10; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 8px; max-width: min(400px, calc(100% - 40px)); padding: 12px 15px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; background: #285f50; box-shadow: 0 12px 28px rgba(30,70,51,.2); color: #f6fff8; font-size: 12px; line-height: 1.4; }
.toast .icon { width: 16px; height: 16px; }

@media (max-width: 1220px) { .dashboard-content { padding-left: 30px; padding-right: 30px; }.dashboard-topbar { padding-left: 30px; padding-right: 30px; }.stats { gap: 10px; }.stat-card { padding: 14px; }.stat-card small { display: none; } }
@media (max-width: 960px) { .dashboard { grid-template-columns: 200px minmax(0, 1fr); }.dashboard-sidebar { padding-left: 12px; padding-right: 12px; }.brand-badge { display: none; }.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }.stat-card { min-height: 80px; }.list-heading, .asset-row { grid-template-columns: minmax(220px, 2fr) minmax(85px, .8fr) minmax(150px, 1fr); }.list-heading span:nth-child(3), .asset-kind { display: none; }.filters { flex-wrap: wrap; }.search-field { flex-basis: 100%; }.filter-select { flex: 1 1 0; }.filter-select.type-select { flex-basis: 0; } }
@media (max-width: 700px) { .login-view { padding: 18px; }.login-card { grid-template-columns: 1fr; min-height: 0; }.login-aside { min-height: 175px; padding: 27px 27px 23px; }.login-aside-copy { margin-top: 28px; }.login-aside-copy h2 { font-size: 20px; margin: 9px 0 0; }.login-aside-copy p, .login-art, .login-aside-footer { display: none; }.login-panel { min-height: 390px; padding: 36px 27px 55px; }.login-panel-footer { bottom: 21px; }.login-lock { margin-bottom: 19px; }.login-inner h1 { font-size: 25px; }.dashboard { display: block; }.dashboard-sidebar { display: none; }.dashboard-topbar { min-height: 62px; padding: 0 20px; }.mobile-brand { display: flex; align-items: center; gap: 7px; margin-right: 16px; color: #35685b; font-size: 12px; letter-spacing: .08em; }.mobile-mark { display: grid; place-items: center; width: 27px; height: 27px; padding-bottom: 3px; border-radius: 8px; background: #dcefe4; color: #23775e; font: 700 22px/1 Georgia, serif; }.breadcrumbs { font-size: 11px; }.breadcrumbs > span { display: none; }.topbar-actions { gap: 12px; }.topbar-gallery { font-size: 0; }.topbar-gallery .icon { width: 17px; height: 17px; }.topbar-avatar { display: none; }.dashboard-content { padding: 25px 18px 0; }.page-heading { align-items: center; }.page-heading h1 { font-size: 24px; }.page-heading .button { padding: 0 12px; font-size: 12px; }.stat-card { padding: 12px; }.stat-icon { width: 36px; height: 36px; border-radius: 10px; }.stat-icon .icon { width: 17px; height: 17px; }.stat-card strong { font-size: 20px; }.panel-heading { padding: 20px 17px 17px; }.filters { padding: 0 17px 17px; }.list-heading { display: none; }.asset-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; min-height: 78px; padding: 12px 17px; }.asset-domain { display: none; }.asset-actions { gap: 0; }.asset-actions button, .asset-actions a { padding: 7px; }.asset-actions .action-label { display: none; }.asset-actions .icon { width: 17px; height: 17px; }.pagination { padding: 14px 17px; }.dashboard-footer span:last-child { display: none; }.asset-form-body { grid-template-columns: 1fr; gap: 19px; padding: 20px; }.modal-header { padding: 21px 20px 18px; }.modal-footer { padding: 14px 20px; }.media-preview { max-height: 235px; aspect-ratio: 16 / 9; }.media-preview img, .media-preview video { max-height: 235px; }.file-dropzone { min-height: 80px; }.modal-error { margin-left: 20px; margin-right: 20px; } }
@media (max-width: 700px) { .page-heading { align-items: flex-start; flex-direction: column; gap: 15px; }.heading-actions { justify-content: flex-start; }.domain-create { padding: 20px 20px 16px; }.domain-error { margin-left: 20px; margin-right: 20px; }.domain-list-header { padding-left: 20px; padding-right: 20px; }.domain-row { padding-left: 20px; padding-right: 20px; }.domain-footer { padding-left: 20px; padding-right: 20px; } }
@media (max-width: 390px) { .breadcrumbs { display: none; }.page-heading p { max-width: 205px; }.form-pair { grid-template-columns: 1fr; gap: 17px; }.modal-footnote { display: none; }.modal-footer { justify-content: flex-end; }.stats { gap: 8px; }.stat-card { gap: 8px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
