:root {
    --accent: #970039;
    --accent-dark: #73002d;
    --accent-soft: #f8eaf0;
    --ink: #292d38;
    --ink-soft: #5f6572;
    --line: #e2e5eb;
    --surface: #ffffff;
    --canvas: #f4f5f8;
    --success: #18794e;
    --success-soft: #eaf7f0;
    --danger: #b42318;
    --danger-soft: #fff0ee;
    --shadow: 0 18px 55px rgba(38, 42, 53, .10);
    --radius: 18px;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--canvas); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body { min-height: 100vh; margin: 0; background: radial-gradient(circle at 90% 0%, rgba(151,0,57,.06), transparent 30%), var(--canvas); }
a { color: inherit; }
button, input { font: inherit; }
img { max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.muted { color: var(--ink-soft); }
.eyebrow { display: inline-block; margin-bottom: 8px; color: var(--accent); font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.page-shell { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 38px 0 70px; }
.page-shell--login { width: 100%; max-width: none; margin: 0; padding: 0; }
.page-shell--install { max-width: 920px; padding-top: 50px; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 0 0 30px; color: #858b97; font-size: .82rem; }
.area-login .site-footer, .area-install .site-footer { display: none; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; min-height: 82px; padding: 12px max(20px, calc((100vw - 1240px)/2)); background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(226,229,235,.9); backdrop-filter: blur(15px); }
.topbar__brand { display: flex; align-items: center; gap: 18px; color: var(--ink); text-decoration: none; }
.topbar__brand img { width: 185px; height: auto; }
.topbar__brand span { padding-left: 18px; border-left: 1px solid var(--line); color: var(--ink-soft); font-size: .92rem; font-weight: 700; }
.topbar__actions { display: flex; align-items: center; gap: 18px; }
.user-chip { display: flex; align-items: center; gap: 10px; }
.user-chip__avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800; }
.user-chip__text { display: grid; }
.user-chip__text strong { font-size: .9rem; }
.user-chip__text small { color: var(--ink-soft); font-size: .74rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: 11px; cursor: pointer; text-decoration: none; font-weight: 750; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.button:hover { transform: translateY(-1px); }
.button--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 25px rgba(151,0,57,.2); }
.button--primary:hover { background: var(--accent-dark); }
.button--ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.button--danger { background: var(--danger); color: #fff; }
.button--small { min-height: 38px; padding: 0 14px; font-size: .84rem; }
.button--wide { width: 100%; }
.button--download { background: var(--accent-soft); color: var(--accent); }
.alert { margin: 0 0 22px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; line-height: 1.5; }
.alert ul { margin: 8px 0 0; padding-left: 20px; }
.alert--error { border-color: #ffd0ca; background: var(--danger-soft); color: #8f2118; }
.alert--success { border-color: #bce8d1; background: var(--success-soft); color: var(--success); }
.login-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(420px, .88fr); min-height: 100vh; }
.login-visual { position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: clamp(40px, 6vw, 88px); background: linear-gradient(145deg, #252a35 0%, #343a47 65%, #292d38 100%); color: #fff; }
.login-visual::before { content: ""; position: absolute; right: -130px; bottom: -150px; width: 560px; height: 560px; border: 95px solid rgba(151,0,57,.55); border-radius: 50%; }
.login-visual::after { content: ""; position: absolute; right: 130px; top: 22%; width: 110px; height: 110px; border-radius: 35% 65% 65% 35%; background: rgba(151,0,57,.88); transform: rotate(35deg); }
.login-logo { position: relative; z-index: 1; width: min(360px, 66%); filter: brightness(0) invert(1); opacity: .96; }
.login-copy { position: relative; z-index: 1; max-width: 620px; margin: 80px 0; }
.login-copy .eyebrow { color: #ff98bd; }
.login-copy h1 { margin: 0 0 22px; font-size: clamp(2.7rem, 5vw, 5.3rem); line-height: .98; letter-spacing: -.055em; }
.login-copy p { max-width: 570px; margin: 0; color: rgba(255,255,255,.76); font-size: 1.08rem; line-height: 1.75; }
.security-note { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.72); font-size: .86rem; }
.security-note__icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; }
.login-panel { display: grid; place-content: center; padding: 50px; background: #fff; }
.login-card { width: min(440px, 100%); }
.login-card h2 { margin: 0 0 8px; font-size: 2.1rem; letter-spacing: -.035em; }
.login-card > p { margin: 0 0 30px; line-height: 1.6; }
.login-help { width: min(440px, 100%); margin: 26px auto 0; color: #858b97; font-size: .8rem; line-height: 1.55; text-align: center; }
.form-stack { display: grid; gap: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.field { display: grid; gap: 8px; }
.field > span:first-child { font-size: .85rem; font-weight: 760; }
.field small { color: #7c8390; font-size: .75rem; line-height: 1.45; }
.field--full { grid-column: 1 / -1; }
.field input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #d9dde5; border-radius: 10px; outline: none; background: #fff; color: var(--ink); transition: border .15s ease, box-shadow .15s ease; }
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(151,0,57,.09); }
.field input:disabled { background: #f4f5f8; color: #6f7581; }
.password-field { position: relative; display: block; }
.password-field input { padding-right: 88px; }
.password-toggle { position: absolute; right: 6px; top: 6px; height: 36px; padding: 0 10px; border: 0; border-radius: 8px; background: #f2f3f6; color: var(--ink-soft); cursor: pointer; font-size: .76rem; font-weight: 700; }
.content-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin: 10px 0 32px; }
.content-header--compact { align-items: center; }
.content-header h1 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.045em; }
.content-header p { max-width: 720px; margin: 10px 0 0; color: var(--ink-soft); line-height: 1.65; }
.content-header__badge { min-width: 220px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.75); }
.content-header__badge span, .content-header__badge strong { display: block; }
.content-header__badge span { margin-bottom: 5px; color: var(--ink-soft); font-size: .73rem; text-transform: uppercase; letter-spacing: .08em; }
.explorer-card, .panel { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 10px 35px rgba(38,42,53,.05); }
.explorer-toolbar { display: flex; align-items: center; justify-content: space-between; min-height: 66px; padding: 0 22px; border-bottom: 1px solid var(--line); background: #fbfbfc; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; font-size: .88rem; font-weight: 700; }
.breadcrumbs a { color: var(--accent); text-decoration: none; }
.breadcrumbs__separator { color: #a0a5ae; }
.item-count { color: var(--ink-soft); font-size: .78rem; }
.back-row { display: flex; gap: 9px; padding: 12px 22px; border-bottom: 1px solid var(--line); color: var(--ink-soft); text-decoration: none; font-size: .82rem; }
.file-table__head, .file-row { display: grid; grid-template-columns: minmax(260px, 1.8fr) minmax(145px, .65fr) minmax(90px, .4fr) minmax(120px, .5fr); align-items: center; gap: 18px; padding: 12px 22px; }
.file-table__head { min-height: 44px; border-bottom: 1px solid var(--line); color: #8a909b; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.file-row { min-height: 72px; border-bottom: 1px solid #edf0f3; color: var(--ink-soft); font-size: .82rem; }
.file-row:last-child { border-bottom: 0; }
a.file-row { text-decoration: none; }
.file-row:hover { background: #faf8f9; }
.file-name { display: flex; align-items: center; gap: 13px; min-width: 0; }
.file-name > span:last-child { min-width: 0; }
.file-name strong { display: block; overflow: hidden; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; }
.file-name small { display: block; margin-top: 4px; color: #969ca6; font-size: .68rem; }
.folder-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.folder-icon svg, .empty-state__icon svg { width: 25px; fill: currentColor; }
.file-badge { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 10px; background: #eef0f4; color: #525865; font-size: .58rem; font-weight: 900; letter-spacing: .04em; }
.file-badge--pdf { background: #fff0ee; color: #b42318; }.file-badge--image { background: #edf7ff; color: #1769aa; }.file-badge--archive { background: #fff7df; color: #956400; }.file-badge--spreadsheet { background: #eaf7f0; color: #18794e; }.file-badge--document { background: #eef3ff; color: #3159a9; }.file-badge--presentation { background: #fff0e9; color: #b74d16; }
.row-action { justify-self: end; color: var(--accent); font-weight: 750; }
.empty-state { display: grid; justify-items: center; padding: 70px 25px; text-align: center; }
.empty-state--small { padding: 42px 20px; }
.empty-state__icon { display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 18px; border-radius: 18px; background: var(--accent-soft); color: var(--accent); }
.empty-state h2, .empty-state h3 { margin: 0 0 8px; }.empty-state p { max-width: 520px; margin: 0; color: var(--ink-soft); line-height: 1.6; }
.info-strip { display: flex; gap: 13px; margin-top: 22px; padding: 16px 18px; border: 1px solid #dce3ef; border-radius: 13px; background: #f7f9fc; color: #596170; font-size: .82rem; }
.info-strip p { margin: 0; line-height: 1.55; }.info-strip__icon { display: grid; place-items: center; flex: 0 0 auto; width: 23px; height: 23px; border-radius: 50%; background: #dde5f2; font-weight: 800; }
.admin-nav { display: flex; gap: 6px; margin: -8px 0 34px; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: #fff; width: fit-content; }
.admin-nav a { padding: 10px 15px; border-radius: 8px; color: var(--ink-soft); text-decoration: none; font-size: .82rem; font-weight: 750; }
.admin-nav a.is-active { background: var(--accent); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-bottom: 22px; }
.stat-card { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 8px 28px rgba(38,42,53,.04); }
.stat-card span, .stat-card small { display: block; color: var(--ink-soft); }.stat-card span { font-size: .76rem; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; }.stat-card strong { display: block; margin: 8px 0 3px; font-size: 2rem; letter-spacing: -.04em; }
.panel { margin-bottom: 22px; }
.panel--narrow { max-width: 680px; padding: 28px; }
.panel__header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.panel__header h2 { margin: 0 0 5px; font-size: 1.15rem; }.panel__header p { margin: 0; color: var(--ink-soft); font-size: .8rem; }
.panel__empty-text { padding: 0 24px 24px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 15px 20px; border-bottom: 1px solid #edf0f3; text-align: left; vertical-align: middle; font-size: .8rem; }
.admin-table th { color: #8a909b; background: #fbfbfc; font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; }
.admin-table tr:last-child td { border-bottom: 0; }.admin-table td strong, .admin-table td small { display: block; }.admin-table td small { margin-top: 4px; color: #8a909b; }
.admin-table code, .side-note code { display: inline-block; padding: 5px 8px; border-radius: 7px; background: #f1f2f5; color: #4e5460; font-size: .73rem; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 999px; font-size: .7rem; font-weight: 800; }.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }.status--active { background: var(--success-soft); color: var(--success); }.status--inactive { background: #f0f1f3; color: #6d737e; }
.activity-list { display: grid; }.activity-item { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 13px; padding: 14px 22px; border-bottom: 1px solid #edf0f3; }.activity-item:last-child { border: 0; }.activity-item__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-weight: 900; }.activity-item strong, .activity-item small { display: block; }.activity-item strong { font-size: .82rem; }.activity-item small, .activity-item time { margin-top: 3px; color: #8a909b; font-size: .7rem; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, .7fr); gap: 22px; align-items: start; }
.form-layout > .panel { padding: 28px; }
.side-note { padding: 24px; border-radius: 16px; background: #292d38; color: #fff; box-shadow: var(--shadow); }.side-note h2 { margin: 0 0 12px; }.side-note p { color: rgba(255,255,255,.72); line-height: 1.6; font-size: .84rem; }.side-note code { display: block; margin: 15px 0; background: rgba(255,255,255,.09); color: #fff; overflow-wrap: anywhere; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 5px; }
.switch-row { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; cursor: pointer; }.switch-row input { position: absolute; opacity: 0; }.switch-row > span:last-child { display: grid; }.switch-row small { color: #838995; font-size: .74rem; }.switch { position: relative; width: 44px; height: 25px; border-radius: 20px; background: #c9cdd5; transition: .2s; }.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 19px; height: 19px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.18); transition: .2s; }.switch-row input:checked + .switch { background: var(--accent); }.switch-row input:checked + .switch::after { transform: translateX(19px); }
.meta-list { margin: 22px 0 0; }.meta-list div { display: flex; justify-content: space-between; gap: 15px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); }.meta-list dt { color: rgba(255,255,255,.6); }.meta-list dd { margin: 0; font-weight: 700; text-align: right; }
.danger-zone { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 28px; padding: 22px 24px; border: 1px solid #ffd0ca; border-radius: 16px; background: var(--danger-soft); }.danger-zone h2 { margin: 0 0 5px; font-size: 1.05rem; }.danger-zone p { margin: 0; color: #8f514a; font-size: .82rem; }
.confirm-dialog { width: min(500px, calc(100% - 30px)); padding: 0; border: 0; border-radius: 18px; box-shadow: 0 25px 80px rgba(0,0,0,.25); }.confirm-dialog::backdrop { background: rgba(26,29,36,.68); backdrop-filter: blur(4px); }.confirm-dialog form { padding: 28px; }.confirm-dialog h2 { margin-top: 0; }.confirm-dialog p { color: var(--ink-soft); line-height: 1.6; }
.error-card { max-width: 650px; margin: 80px auto; padding: 50px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); text-align: center; }.error-card__code { color: var(--accent); font-size: 4rem; font-weight: 900; }.error-card h1 { margin: 0 0 12px; }.error-card p { margin: 0 0 25px; color: var(--ink-soft); }
.install-card { padding: 38px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }.install-logo { width: 260px; margin-bottom: 28px; }.install-card h1 { margin: 0 0 10px; font-size: 2.2rem; letter-spacing: -.04em; }.install-card fieldset { margin: 0; padding: 22px; border: 1px solid var(--line); border-radius: 14px; }.install-card legend { padding: 0 8px; font-weight: 800; }.install-success { display: grid; justify-items: center; padding: 35px 20px; text-align: center; }.install-success > span { display: grid; place-items: center; width: 70px; height: 70px; margin-bottom: 20px; border-radius: 50%; background: var(--success-soft); color: var(--success); font-size: 2rem; font-weight: 900; }.install-success p { max-width: 520px; color: var(--ink-soft); }
@media (max-width: 980px) {
    .login-layout { grid-template-columns: 1fr; }.login-visual { min-height: 470px; }.login-panel { padding: 55px 25px; }.login-copy { margin: 55px 0; }
    .form-layout { grid-template-columns: 1fr; }.stats-grid { grid-template-columns: 1fr 1fr 1fr; }
    .file-table__head, .file-row { grid-template-columns: minmax(230px, 1.6fr) minmax(130px, .7fr) minmax(85px, .45fr) minmax(110px, .55fr); }
}
@media (max-width: 760px) {
    .page-shell { width: min(100% - 24px, 1240px); padding-top: 24px; }.topbar { min-height: 70px; padding: 10px 12px; }.topbar__brand img { width: 135px; }.topbar__brand span, .user-chip__text { display: none; }.topbar__actions { gap: 8px; }
    .content-header { align-items: flex-start; flex-direction: column; }.content-header__badge { width: 100%; }.stats-grid { grid-template-columns: 1fr; }
    .file-table__head { display: none; }.file-row { grid-template-columns: 1fr auto; gap: 8px; padding: 15px; }.file-row > span:nth-child(2), .file-row > span:nth-child(3) { display: none; }.row-action { align-self: center; }
    .explorer-toolbar { align-items: flex-start; flex-direction: column; gap: 8px; padding: 15px; }.form-grid { grid-template-columns: 1fr; }.field--full { grid-column: auto; }.form-actions { flex-direction: column-reverse; }.form-actions .button { width: 100%; }
    .admin-nav { width: 100%; overflow-x: auto; }.admin-nav a { white-space: nowrap; }.activity-item { grid-template-columns: 35px 1fr; }.activity-item time { grid-column: 2; }.danger-zone { align-items: stretch; flex-direction: column; }.site-footer { align-items: center; flex-direction: column; text-align: center; }
    .install-card { padding: 24px 18px; }.login-visual { min-height: 420px; padding: 35px 25px; }.login-logo { width: 250px; }.login-copy h1 { font-size: 2.7rem; }
}
.button--danger-soft { border-color: #ffd0ca; background: var(--danger-soft); color: var(--danger); }
.storage-badge small { display: block; margin-top: 7px; color: var(--ink-soft); font-size: .7rem; }
.quota-bar { display: block; width: 100%; height: 8px; margin-top: 10px; border: 0; border-radius: 99px; overflow: hidden; background: #e8eaf0; }
.quota-bar::-webkit-progress-bar { background: #e8eaf0; }
.quota-bar::-webkit-progress-value { background: var(--accent); border-radius: 99px; }
.quota-bar::-moz-progress-bar { background: var(--accent); border-radius: 99px; }
.manager-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.manager-actions > div { display: flex; flex-wrap: wrap; gap: 9px; }
.manager-actions > small { color: var(--ink-soft); text-align: right; }
.file-header-name { display: flex; align-items: center; gap: 14px; }
.file-select, [data-select-all] { flex: 0 0 auto; width: 17px; height: 17px; accent-color: var(--accent); cursor: pointer; }
.selection-placeholder { flex: 0 0 17px; width: 17px; }
.file-title-link { text-decoration: none; }
.file-title-link:hover strong { color: var(--accent); }
.row-actions { display: flex; justify-content: flex-end; gap: 7px; }
.action-dialog { width: min(620px, calc(100% - 30px)); }
.action-dialog .field { margin: 20px 0; }
.action-dialog input[type="file"] { height: auto; min-height: 52px; padding: 12px; }
.share-panel { margin-top: 22px; }
.share-list { display: grid; gap: 14px; padding: 18px; background: #f8f9fb; }
.share-card { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.share-card__head, .share-card__footer { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.share-card__head > div strong, .share-card__head > div small { display: block; }
.share-card__head > div small { max-width: 680px; margin-top: 5px; overflow: hidden; color: var(--ink-soft); text-overflow: ellipsis; white-space: nowrap; }
.share-card__head > span { flex: 0 0 auto; color: var(--ink-soft); font-size: .76rem; text-align: right; }
.share-fields { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(220px, .65fr); gap: 14px; margin: 17px 0; }
.share-fields label { display: grid; gap: 6px; }
.share-fields label > span:first-child { color: var(--ink-soft); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.copy-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.copy-field input { min-width: 0; height: 42px; padding: 0 11px; border: 1px solid #d9dde5; border-right: 0; border-radius: 9px 0 0 9px; background: #f8f9fb; color: var(--ink); font-size: .78rem; }
.copy-field button { padding: 0 12px; border: 0; border-radius: 0 9px 9px 0; background: var(--accent-soft); color: var(--accent); cursor: pointer; font-size: .74rem; font-weight: 800; }
.share-card__footer { align-items: center; }
.share-card__footer small { color: var(--ink-soft); }
.share-public-shell { width: min(760px, 100%); margin: 25px auto 60px; }
.share-public-card { padding: clamp(26px, 6vw, 58px); border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.share-public-logo { width: 220px; margin-bottom: 38px; }
.share-public-card h1 { margin: 0 0 12px; font-size: clamp(2rem, 6vw, 3.4rem); letter-spacing: -.045em; }
.share-public-card > p { margin: 0 0 25px; color: var(--ink-soft); line-height: 1.65; }
.share-public-icon { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 22px; border-radius: 50%; font-size: 1.7rem; font-weight: 900; }
.share-public-icon--error { background: var(--danger-soft); color: var(--danger); }
.share-public-note { color: var(--ink-soft); font-size: .76rem; text-align: center; }
.public-file-list { display: grid; gap: 10px; }
.public-file-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; }
.public-file-row > span:nth-child(2) { min-width: 0; }
.public-file-row strong, .public-file-row small { display: block; }
.public-file-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.public-file-row small { margin-top: 4px; color: var(--ink-soft); font-size: .72rem; }
.area-share .page-shell { padding-top: 28px; }
.area-share .topbar__brand span { display: none; }
@media (max-width: 980px) {
    .share-fields { grid-template-columns: 1fr; }
    .file-table__head, .file-row { grid-template-columns: minmax(260px, 1.5fr) minmax(125px, .6fr) minmax(80px, .35fr) minmax(190px, .8fr); }
}
@media (max-width: 760px) {
    .manager-actions { align-items: stretch; flex-direction: column; }
    .manager-actions > div { display: grid; grid-template-columns: 1fr; }
    .manager-actions > small { text-align: left; }
    .file-row { grid-template-columns: minmax(0, 1fr); }
    .file-row > span:nth-child(2), .file-row > span:nth-child(3) { display: none; }
    .row-actions { justify-content: flex-start; padding-left: 31px; }
    .share-card__head, .share-card__footer { align-items: stretch; flex-direction: column; }
    .share-card__head > span { text-align: left; }
    .share-card__footer form, .share-card__footer .button { width: 100%; }
    .public-file-row { grid-template-columns: auto minmax(0, 1fr); }
    .public-file-row .button { grid-column: 1 / -1; }
}
.table-actions { display: flex; justify-content: flex-end; gap: 7px; }
.side-note > .button { margin-top: 18px; }
