:root { --primary: #4A4D54; --primary-hover: #33363C; --primary-light: #F0F1F3; --primary-border: rgba(74, 77, 84, 0.14); --bg-page: #F9F9FA; --bg-card: #FFFFFF; --bg-input: #F0F1F3; --text-main: #232528; --text-secondary: #70737C; --text-muted: #A2A5AE; --danger: #7A5656; --danger-light: #F6F2F2; --danger-border: rgba(122, 86, 86, 0.12); --border-subtle: rgba(0, 0, 0, 0.05); --border-card: rgba(0, 0, 0, 0.035); --shadow-card: 0 4px 16px -2px rgba(0, 0, 0, 0.025), 0 1px 2px rgba(0, 0, 0, 0.015); }

.meeting-app-container { position:absolute; inset:0; z-index:10050; display:none; overflow:hidden; background:#f2f2f7; }
.meeting-app-container.is-open { display:flex; flex-direction:column; }
.meeting-app-frame { display:block; width:100%; height:100%; border:0; background:#f2f2f7; }
.iphone.dark-mode .meeting-app-container, .iphone.dark-mode .meeting-app-frame { background:#000; }

/* Meeting document styles */
html.meeting-document * {
margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-tap-highlight-color: transparent;
}

html.meeting-document body {
--meeting-settings-font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-family: var(--meeting-settings-font-family);
            background-color: #F2F2F7;
            color: #1C1C1E;
            height: 100vh;
            display: flex;
            flex-direction: column;
            overflow: hidden;
}

html.meeting-document .header {
display: flex;
            align-items: center;
            justify-content: space-between;
            padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
            z-index: 10;
            flex-shrink: 0;
}

html.meeting-document .header-left-capsule {
display: flex;
            align-items: center;
            gap: 10px;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: saturate(250%) blur(80px);
            -webkit-backdrop-filter: saturate(250%) blur(80px);
            border: 0.5px solid rgba(255, 255, 255, 0.9);
            border-radius: 40px;
            padding: 6px 16px 6px 12px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
            cursor: pointer;
}

html.meeting-document .header-back-icon {
width: 20px;
            height: 20px;
            color: #000000;
}

html.meeting-document .header-avatar {
width: 32px;
            height: 32px;
            border-radius: 50%;
            object-fit: cover;
            background-color: #F2F2F7;
}

html.meeting-document .header-text-info {
display: flex;
            flex-direction: column;
            justify-content: center;
}

html.meeting-document .header-title {
font-size: 16px;
            font-weight: 600;
            color: #000000;
            line-height: 1.2;
}

html.meeting-document .header-subtitle {
font-size: 12px;
            color: #666666;
            line-height: 1.2;
            margin-top: 2px;
}

html.meeting-document .header-right-group {
display: flex;
            align-items: center;
            gap: 8px;
}

html.meeting-document .header-right-circle {
width: 44px;
            height: 44px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: saturate(250%) blur(80px);
            -webkit-backdrop-filter: saturate(250%) blur(80px);
            border: 0.5px solid rgba(255, 255, 255, 0.9);
            display: flex;
            justify-content: center;
            align-items: center;
            color: #000000;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
            cursor: pointer;
}

html.meeting-document .header-right-circle svg {
width: 22px;
            height: 22px;
}

html.meeting-document .chat-container {
flex: 1;
            overflow-y: auto;
            padding: 12px;
            display: flex;
            flex-direction: column;
            gap: 16px;
}

html.meeting-document .chat-container::-webkit-scrollbar {
display: none;
}

html.meeting-document .story-card {
position: relative;
            background-color: #FFFFFF;
            border-radius: 20px;
            padding: 20px 20px 24px 20px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
            width: 100%;
            animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
from { opacity: 0; transform: translateY(8px); }
            to { opacity: 1; transform: translateY(0); }
}

html.meeting-document .card-header {
display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 16px;
}

html.meeting-document .card-avatar {
width: 36px;
            height: 36px;
            border-radius: 50%;
            object-fit: cover;
            background-color: #F2F2F7;
            border: 0.5px solid rgba(0,0,0,0.05);
}

html.meeting-document .card-name {
font-size: 16px;
            font-weight: 600;
            color: #000000;
}

html.meeting-document .card-more-btn {
position: absolute;
            top: 20px;
            right: 16px;
            color: #8E8E93;
            padding: 4px;
            cursor: pointer;
            z-index: 2;
}

html.meeting-document .card-more-btn svg {
width: 20px;
            height: 20px;
            fill: currentColor;
}

html.meeting-document .card-body {
font-size: 17px;
            line-height: 1.7;
            color: #2C2C2E;
            word-wrap: break-word;
            white-space: pre-wrap;
}

html.meeting-document .action-text {
color: #8E8E93;
}

html.meeting-document .cot-container {
margin-bottom: 12px;
}

html.meeting-document .cot-capsule {
display: inline-flex;
            align-items: center;
            gap: 6px;
            background: #F2F2F7;
            padding: 6px 12px;
            border-radius: 16px;
            font-size: 13px;
            font-weight: 600;
            color: #8E8E93;
            cursor: pointer;
            transition: background 0.2s;
            width: fit-content;
}

html.meeting-document .cot-capsule:active {
background: #E5E5EA;
}

html.meeting-document .cot-preset-scroll {
display: flex;
            overflow-x: auto;
            gap: 10px;
            padding: 12px 16px;
            scrollbar-width: none;
}

html.meeting-document .cot-preset-scroll::-webkit-scrollbar {
display: none;
}

html.meeting-document .cot-preset-pill {
flex-shrink: 0;
            padding: 8px 16px;
            background: #FFFFFF;
            color: #1C1C1E;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            border: 1px solid rgba(0,0,0,0.1);
            transition: all 0.2s;
}

html.meeting-document .cot-preset-pill.active {
background: #007AFF;
            color: #FFFFFF;
            border-color: #007AFF;
            font-weight: 600;
}

html.meeting-document .cot-capsule svg {
width: 14px; height: 14px; transition: transform 0.2s;
}

html.meeting-document .cot-capsule.expanded svg {
transform: rotate(90deg);
}

html.meeting-document .cot-content {
display: none;
            background: #F2F2F7;
            border-radius: 12px;
            padding: 12px;
            margin-top: 8px;
            font-size: 14px;
            color: #666666;
            line-height: 1.6;
            white-space: pre-wrap;
            word-wrap: break-word;
}

html.meeting-document .cot-content.expanded {
display: block; animation: fadeIn 0.2s ease;
}

html.meeting-document .glass-menu {
position: absolute;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: saturate(250%) blur(80px);
            -webkit-backdrop-filter: saturate(250%) blur(80px);
            box-shadow: 0 12px 48px rgba(0,0,0,0.15);
            display: none;
            z-index: 200;
            border: 0.5px solid rgba(255, 255, 255, 0.95);
}

html.meeting-document .glass-menu.active {
display: flex;
}

html.meeting-document .menu-item {
display: flex;
            align-items: center;
            cursor: pointer;
            transition: background 0.2s;
}

html.meeting-document .menu-item:active {
background: rgba(0,0,0,0.06);
}

html.meeting-document .menu-icon {
color: #8E8E93;
            display: flex;
            align-items: center;
            justify-content: center;
}

html.meeting-document .menu-icon svg {
width: 100%;
            height: 100%;
}

html.meeting-document .menu-text {
font-weight: 500;
            color: #1C1C1E;
}

html.meeting-document .menu-item.danger .menu-icon, html.meeting-document .menu-item.danger .menu-text {
color: #FF3B30;
}

html.meeting-document .left-bottom-menu {
flex-direction: column;
            border-radius: 16px;
            padding: 8px 0;
            bottom: calc(100% - 10px);
            left: 16px;
            min-width: 180px;
            animation: scaleUp 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            transform-origin: bottom left;
}

html.meeting-document .left-bottom-menu .menu-item {
padding: 10px 20px;
            gap: 14px;
}

html.meeting-document .left-bottom-menu .menu-icon {
width: 20px; height: 20px;
}

html.meeting-document .left-bottom-menu .menu-text {
font-size: 16px;
}

html.meeting-document .card-menu {
flex-direction: row;
            border-radius: 24px;
            padding: 4px 6px;
            top: 14px;
            right: 44px;
            animation: expandLeft 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            transform-origin: right center;
}

html.meeting-document .card-menu .menu-item {
padding: 6px 10px;
            gap: 6px;
            border-radius: 16px;
}

html.meeting-document .card-menu .menu-icon {
width: 18px; height: 18px;
}

html.meeting-document .card-menu .menu-text {
font-size: 14px;
}

html.meeting-document .footer-container {
position: relative;
            padding: 10px 16px calc(16px + env(safe-area-inset-bottom));
            background: transparent;
            flex-shrink: 0;
}

html.meeting-document .footer-top-bar {
display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 8px;
            width: 100%;
            margin-bottom: 8px;
}

html.meeting-document .reroll-capsule,
html.meeting-document .model-capsule {
display: flex;
            align-items: center;
            gap: 6px;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: saturate(250%) blur(80px);
            -webkit-backdrop-filter: saturate(250%) blur(80px);
            border: 0.5px solid rgba(255, 255, 255, 0.9);
            border-radius: 20px;
            padding: 4px 12px;
            font-size: 12px;
            font-weight: 500;
            color: #8E8E93;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            width: fit-content;
            cursor: pointer;
            transition: background 0.15s, transform 0.1s;
}

html.meeting-document .reroll-capsule:active,
html.meeting-document .model-capsule:active {
background: rgba(235, 235, 240, 0.95);
            transform: scale(0.96);
}

html.meeting-document .reroll-capsule svg,
html.meeting-document .model-capsule svg {
width: 14px;
            height: 14px;
}

html.meeting-document .input-area {
position: relative;
            background: rgba(255, 255, 255, 0.94);
            backdrop-filter: saturate(250%) blur(80px);
            -webkit-backdrop-filter: saturate(250%) blur(80px);
            border-radius: 28px;
            padding: 14px 16px 12px;
            display: flex;
            flex-direction: column;
            gap: 8px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
            border: 0.5px solid rgba(255, 255, 255, 0.95);
}

html.meeting-document .input-top-row {
width: 100%;
            display: flex;
            align-items: center;
            padding: 2px 4px 4px;
}

html.meeting-document textarea {
width: 100%;
            background: transparent;
            border: none;
            color: #000000;
            font-size: 16px;
            line-height: 1.4;
            max-height: 120px;
            min-height: 22px;
            resize: none;
            outline: none;
            font-family: inherit;
}

html.meeting-document textarea::placeholder {
color: #8E8E93;
}

html.meeting-document .input-divider {
width: 100%;
            height: 0.5px;
            background-color: rgba(0, 0, 0, 0.07);
            margin: 2px 0 4px;
}

html.meeting-document .input-bottom-row {
display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
}

html.meeting-document .left-icons {
display: flex;
            align-items: center;
            gap: 18px;
            padding-left: 4px;
}

html.meeting-document .icon-btn {
display: flex;
            align-items: center;
            justify-content: center;
            color: #1C1C1E;
            cursor: pointer;
            transition: opacity 0.15s, transform 0.1s;
}

html.meeting-document .icon-btn:active {
opacity: 0.6;
            transform: scale(0.92);
}

html.meeting-document .icon-btn svg {
width: 22px;
            height: 22px;
}

html.meeting-document .right-icons {
display: flex;
            align-items: center;
}

html.meeting-document .send-btn-capsule {
width: 54px;
            height: 34px;
            border-radius: 17px;
            background: linear-gradient(180deg, rgba(90, 200, 250, 0.72) 0%, rgba(0, 122, 255, 0.78) 100%);
            backdrop-filter: saturate(180%) blur(16px);
            -webkit-backdrop-filter: saturate(180%) blur(16px);
            border: 0.5px solid rgba(255, 255, 255, 0.55);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #FFFFFF;
            cursor: pointer;
            box-shadow: 0 4px 16px rgba(0, 122, 255, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.6);
            transition: transform 0.1s, opacity 0.15s;
}

html.meeting-document .send-btn-capsule:active {
transform: scale(0.94);
            opacity: 0.85;
}

html.meeting-document .send-btn-capsule svg {
width: 18px;
            height: 18px;
}

html.meeting-document .spin-anim {
animation: spin 1.5s linear infinite;
}

@keyframes spin {
100% { transform: rotate(360deg); }
}

html.meeting-document .modal-overlay {
position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0, 0, 0, 0.4);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 2500;
            opacity: 0;
            transition: opacity 0.2s ease;
}

html.meeting-document .modal-overlay.active {
display: flex;
            opacity: 1;
}

html.meeting-document .ios-modal {
background: rgba(255, 255, 255, 0.85);
            backdrop-filter: saturate(180%) blur(20px);
            -webkit-backdrop-filter: saturate(180%) blur(20px);
            width: 270px;
            border-radius: 14px;
            text-align: center;
            display: flex;
            flex-direction: column;
            transform: scale(1.1);
            transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

html.meeting-document .modal-overlay.active .ios-modal {
transform: scale(1);
}

html.meeting-document .ios-modal-title {
font-weight: 600; font-size: 17px; padding: 20px 16px 4px;
}

html.meeting-document .ios-modal-text {
font-size: 13px; padding: 0 16px 20px; color: #3C3C43;
}

html.meeting-document .ios-modal-actions {
display: flex; border-top: 0.5px solid rgba(60, 60, 67, 0.29);
}

html.meeting-document .ios-modal-btn {
flex: 1; padding: 12px 0; font-size: 17px; color: #007AFF; cursor: pointer;
}

html.meeting-document .ios-modal-btn.cancel {
border-right: 0.5px solid rgba(60, 60, 67, 0.29); font-weight: 400;
}

html.meeting-document .ios-modal-btn.confirm {
font-weight: 600; color: #FF3B30;
}

html.meeting-document .ios-modal-btn:active {
background: rgba(0, 0, 0, 0.05);
}

html.meeting-document .drawer-overlay {
position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0, 0, 0, 0.4);
            z-index: 900;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
}

html.meeting-document .drawer-overlay.active {
opacity: 1;
            pointer-events: auto;
}

html.meeting-document .drawer-panel {
position: fixed;
            top: 0; left: 0; bottom: 0;
            width: 75vw;
            max-width: 320px;
            background: #FFFFFF;
            z-index: 950;
            transform: translateX(-100%);
            transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            display: flex;
            flex-direction: column;
            box-shadow: 4px 0 24px rgba(0,0,0,0.1);
}

html.meeting-document .drawer-panel.active {
transform: translateX(0);
}

html.meeting-document .drawer-header {
padding: calc(20px + env(safe-area-inset-top)) 16px 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;
}

html.meeting-document .drawer-title {
font-size: 22px;
            font-weight: 700;
            color: #000000;
}

html.meeting-document .edit-capsule {
background: rgba(255, 255, 255, 0.6);
            backdrop-filter: saturate(200%) blur(30px);
            -webkit-backdrop-filter: saturate(200%) blur(30px);
            border: 0.5px solid rgba(0, 0, 0, 0.05);
            padding: 8px 18px;
            border-radius: 24px;
            font-size: 16px;
            font-weight: 500;
            color: #1C1C1E;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

html.meeting-document .drawer-footer {
padding: 12px 16px calc(20px + env(safe-area-inset-bottom));
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #FFFFFF;
}

html.meeting-document .save-capsule {
background: #4082F6;
            color: white;
            padding: 12px 24px;
            border-radius: 30px;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(64, 130, 246, 0.3);
            transition: transform 0.1s;
}

html.meeting-document .save-capsule:active {
transform: scale(0.96);
}

html.meeting-document .save-capsule svg {
width: 18px; height: 18px; fill: currentColor;
}

html.meeting-document .search-icon-btn {
width: 48px; height: 48px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.6);
            backdrop-filter: saturate(200%) blur(30px);
            -webkit-backdrop-filter: saturate(200%) blur(30px);
            border: 0.5px solid rgba(0, 0, 0, 0.05);
            display: flex; justify-content: center; align-items: center;
            color: #1C1C1E; cursor: pointer;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

html.meeting-document .search-icon-btn svg {
width: 24px; height: 24px;
}

html.meeting-document .drawer-list {
flex: 1;
            overflow-y: auto;
            padding: 12px 8px;
            display: flex;
            flex-direction: column;
            gap: 4px;
}

html.meeting-document .drawer-list::-webkit-scrollbar {
display: none;
}

html.meeting-document .chat-item {
padding: 14px 16px;
            border-radius: 12px;
            font-size: 16px;
            color: #1C1C1E;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 12px;
            transition: background 0.2s;
}

html.meeting-document .chat-item:active {
background: rgba(0,0,0,0.05);
}

html.meeting-document .chat-item.active {
background: rgba(0, 0, 0, 0.08);
            font-weight: 600;
}

html.meeting-document .chat-item svg {
width: 20px; height: 20px; color: #8E8E93; flex-shrink: 0;
}

html.meeting-document .chat-item-title {
white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            flex: 1;
}

@keyframes scaleUp {
from { opacity: 0; transform: scale(0.9) translateY(10px); }
            to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes expandLeft {
from { opacity: 0; transform: scaleX(0.6) translateX(20px); }
            to { opacity: 1; transform: scaleX(1) translateX(0); }
}

html.meeting-document .settings-modal {
position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background-color: #FFFFFF;
            z-index: 2000;
            display: flex;
            flex-direction: column;
            transform: translateY(100%);
            transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html.meeting-document .settings-modal.active {
transform: translateY(0);
}

html.meeting-document .settings-top-header {
display: flex;
            align-items: center;
            justify-content: space-between;
            position: relative;
            padding: calc(16px + env(safe-area-inset-top)) 18px 12px;
            background: rgba(249, 249, 250, 0.94);
            backdrop-filter: saturate(120%) blur(20px);
            -webkit-backdrop-filter: saturate(120%) blur(20px);
            border-bottom: 1px solid var(--border-subtle);
            z-index: 50;
            flex-shrink: 0;
}

html.meeting-document .settings-header-title {
position: absolute;
            left: 50%;
            transform: translateX(-50%);
            font-size: 17px;
            font-weight: 600;
            color: var(--text-main);
            pointer-events: none;
}

html.meeting-document .header-back-btn {
width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-main);
            background: var(--bg-card);
            border: 1px solid var(--border-subtle);
            cursor: pointer;
            border-radius: 50%;
            transition: background 0.2s, transform 0.1s;
}

html.meeting-document .header-back-btn:active {
background: rgba(0, 0, 0, 0.05);
            transform: scale(0.92);
}

html.meeting-document .header-back-btn svg {
width: 24px;
            height: 24px;
            stroke-width: 2.5;
}

html.meeting-document .settings-content-area {
flex: 1; overflow-y: auto; background-color: var(--bg-page); padding: 14px 18px 125px; scroll-behavior: smooth;
}

html.meeting-document .bottom-dock-nav {
position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            height: 86px;
            z-index: 1000;
            pointer-events: none;
}

html.meeting-document .dock-svg-background {
position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            filter: drop-shadow(0 -3px 12px rgba(0, 0, 0, 0.04));
            pointer-events: auto;
}

html.meeting-document .dock-svg-background path {
fill: #FFFFFF;
            transition: d 0.36s cubic-bezier(0.25, 1, 0.5, 1);
}

html.meeting-document .dock-floating-bulb {
position: absolute;
            top: -12px;
            left: 0;
            width: 56px;
            height: 56px;
            background: #FFFFFF;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.02);
            border: 2px solid var(--bg-page);
            pointer-events: none;
            z-index: 10;
            transform: translateX(0);
            transition: transform 0.36s cubic-bezier(0.25, 1, 0.5, 1);
}

html.meeting-document .dock-floating-icon {
color: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            width: 22px;
            height: 22px;
}

html.meeting-document .dock-floating-icon svg {
width: 100%;
            height: 100%;
            fill: currentColor;
}

html.meeting-document .dock-indicator-dot {
position: absolute;
            top: 52px;
            left: 0;
            width: 4px;
            height: 4px;
            background-color: var(--primary);
            border-radius: 50%;
            pointer-events: none;
            z-index: 10;
            transform: translateX(0);
            transition: transform 0.36s cubic-bezier(0.25, 1, 0.5, 1);
}

html.meeting-document .dock-items-wrapper {
position: absolute;
            left: 0;
            right: 0;
            top: 24px;
            bottom: 0;
            display: flex;
            align-items: center;
            justify-content: space-around;
            padding: 0 10px calc(env(safe-area-inset-bottom) + 6px);
            pointer-events: auto;
            z-index: 2;
}

html.meeting-document .dock-tab {
flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            height: 100%;
            position: relative;
            color: var(--text-muted);
            transition: color 0.25s ease;
}

html.meeting-document .dock-tab:active {
opacity: 0.7;
}

html.meeting-document .dock-tab-icon {
width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
            color: var(--text-muted);
}

html.meeting-document .dock-tab-icon svg {
width: 22px;
            height: 22px;
            fill: currentColor;
}

html.meeting-document .dock-tab-label {
font-size: 11px;
            font-weight: 500;
            margin-top: 4px;
            transition: all 0.25s ease;
            letter-spacing: 0.2px;
            color: var(--text-muted);
}

html.meeting-document .dock-tab.active .dock-tab-icon {
opacity: 0;
            transform: translateY(-10px) scale(0.5);
}

html.meeting-document .dock-tab.active .dock-tab-label {
opacity: 0;
            transform: translateY(6px);
}

html.meeting-document .settings-tab-content {
display: none; animation: fadeIn 0.2s ease;
}

html.meeting-document .settings-tab-content.active {
display: block;
}

html.meeting-document .section-title {
font-size: 12px; color: var(--text-muted); text-transform: uppercase; margin: 22px 2px 8px; font-weight: 700; letter-spacing: 0.08em;
}

html.meeting-document .ios-list-group {
background: var(--bg-card); border-radius: 18px; border: 1px solid var(--border-card); box-shadow: var(--shadow-card); overflow: hidden; margin: 0 0 14px;
}

html.meeting-document .ios-list-item {
display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; min-height: 52px; cursor: pointer;
}

html.meeting-document .item-label {
font-size: 16px; color: #000000;
}

html.meeting-document .item-value {
font-size: 16px; color: #8E8E93; display: flex; align-items: center; gap: 8px;
}

html.meeting-document .chevron-right {
width: 20px; height: 20px; stroke: #C7C7CC; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s ease;
}

html.meeting-document .ios-toggle {
position: relative; width: 44px; height: 24px; display: inline-block; flex-shrink: 0;
}

html.meeting-document .ios-toggle input {
opacity: 0; width: 0; height: 0;
}

html.meeting-document .ios-toggle .slider {
position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #DCDFE4; transition: .25s cubic-bezier(0.4, 0, 0.2, 1); border-radius: 9999px;
}

html.meeting-document .ios-toggle .slider:before {
position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: #FFFFFF; transition: .25s cubic-bezier(0.4, 0, 0.2, 1); border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

html.meeting-document .ios-toggle input:checked + .slider {
background-color: var(--primary) !important;
}

html.meeting-document .ios-toggle input:checked + .slider:before {
transform: translateX(20px);
}

html.meeting-document .slider-container {
display: grid; grid-template-columns: minmax(0, 1fr) 112px; align-items: center; column-gap: 12px; width: 100%; padding: 15px 16px;
}

html.meeting-document .slider-container.param-slider {
grid-template-columns: minmax(0, 1fr) 112px 58px; column-gap: 10px;
}

html.meeting-document .slider-header {
display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0;
}

html.meeting-document .slider-container.param-slider .slider-header {
justify-content: flex-start;
}

html.meeting-document .slider-header .label {
font-size: 16px; color: #000000;
}

html.meeting-document .slider-container.param-slider .slider-header .label {
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

html.meeting-document .slider-header .val {
font-size: 16px; color: #007AFF;
}

html.meeting-document .slider-value-input {
width: 58px; height: 30px; border: 1px solid var(--border-subtle); border-radius: 8px; background: var(--bg-input); color: var(--text-main); font-size: 14px; font-weight: 600; font-family: inherit; text-align: center; padding: 0 6px; outline: none;
}

html.meeting-document .slider-value-input:focus {
background: #FFFFFF; border-color: var(--primary);
}

html.meeting-document input[type=range] {
-webkit-appearance: none; width: 112px; max-width: 100%; background: transparent;
}

html.meeting-document input[type=range]::-webkit-slider-thumb {
-webkit-appearance: none; height: 24px; width: 24px; border-radius: 50%; background: #ffffff; cursor: pointer; margin-top: -10px; box-shadow: 0 1px 3px rgba(0,0,0,0.3); border: 0.5px solid rgba(0,0,0,0.1);
}

html.meeting-document input[type=range]::-webkit-slider-runnable-track {
width: 100%; height: 4px; cursor: pointer; background: #E5E5EA; border-radius: 2px;
}

html.meeting-document .ios-textarea {
width: 100%; border: none; outline: none; resize: none; font-size: 15px; font-family: inherit; color: #000000; line-height: 1.5; padding: 16px; min-height: 120px; background: #F2F2F7; border-radius: 12px; margin-top: 8px;
}

html.meeting-document .ios-textarea::placeholder {
color: #8E8E93;
}

html.meeting-document select.ios-select {
appearance: none; -webkit-appearance: none; border: none; background: transparent; font-size: 16px; color: #8E8E93; text-align: right; outline: none; direction: rtl;
}

html.meeting-document .accordion-header {
display: flex; align-items: center; padding: 12px 0; cursor: pointer; background: #FFFFFF;
}

html.meeting-document .accordion-header .ios-toggle {
margin-right: 12px;
}

html.meeting-document .accordion-header .label {
flex: 1; font-size: 16px; color: #000000; font-weight: 500;
}

html.meeting-document .accordion-header.expanded .chevron-right {
transform: rotate(90deg);
}

html.meeting-document .accordion-content {
display: none; background: #FFFFFF; padding-bottom: 12px;
}

html.meeting-document .accordion-content.expanded {
display: block;
}

html.meeting-document .dot-indicator { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); display: inline-block; margin-right: 8px; }

html.meeting-document .prompt-storage-field {
display: none;
}

html.meeting-document .preset-card-capsule {
background: var(--bg-card); border-radius: 18px; border: 1px solid var(--border-card); padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; box-shadow: var(--shadow-card); transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html.meeting-document .preset-card-capsule:active { transform: scale(0.99); }
html.meeting-document .preset-capsule-left { display: flex; align-items: center; gap: 12px; }
html.meeting-document .preset-icon-badge { width: 42px; height: 42px; border-radius: 12px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
html.meeting-document .preset-icon-badge svg { width: 20px; height: 20px; }
html.meeting-document .preset-title-text { font-size: 15px; font-weight: 600; color: var(--text-main); }
html.meeting-document .preset-sub-text { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
html.meeting-document .preset-action-bar { display: flex; gap: 10px; margin: 10px 0 16px; }
html.meeting-document .preset-btn { flex: 1; display: flex; justify-content: center; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; padding: 11px 0; border-radius: 12px; cursor: pointer; transition: all 0.25s ease; border: 1px solid transparent; }
html.meeting-document .preset-btn.save { background: var(--primary-light); color: var(--primary); border-color: var(--primary-border); }
html.meeting-document .preset-btn.delete { background: var(--danger-light); color: var(--danger); border-color: var(--danger-border); }
html.meeting-document .preset-btn:active { transform: scale(0.97); }

html.meeting-document .param-slider-item { padding: 15px 16px; border-bottom: 1px solid rgba(0, 0, 0, 0.025); display: flex; flex-direction: column; gap: 10px; }
html.meeting-document .param-slider-item:last-child { border-bottom: none; }
html.meeting-document .param-slider-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
html.meeting-document .param-label-wrap { display: flex; flex-direction: column; min-width: 0; }
html.meeting-document .param-main-title { font-size: 14px; font-weight: 600; color: var(--text-main); }
html.meeting-document .param-sub-desc { font-size: 12px; color: var(--text-muted); margin-top: 1px; }
html.meeting-document .param-badge-box { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--primary); background: var(--primary-light); padding: 3px 9px; border-radius: 9999px; border: 1px solid var(--primary-border); flex-shrink: 0; }
html.meeting-document .param-slider-row { display: flex; align-items: center; gap: 12px; }
html.meeting-document .param-slider-row input[type=range] { flex: 1; width: auto; }
html.meeting-document .param-slider-row .slider-value-input { width: 58px; flex-shrink: 0; }

html.meeting-document .settings-modal .item-label,
html.meeting-document .settings-modal .item-value,
html.meeting-document .settings-modal .param-main-title,
html.meeting-document .settings-modal .param-badge-box,
html.meeting-document .settings-modal .preset-title-text,
html.meeting-document .settings-modal .preset-btn,
html.meeting-document .settings-modal .css-action-btn {
font-family: var(--meeting-settings-font-family);
}

html.meeting-document .prompt-category {
border-bottom: 0.5px solid rgba(0,0,0,0.05);
}

html.meeting-document .prompt-category:last-child {
border-bottom: none;
}

html.meeting-document .prompt-parent-header {
padding: 14px 16px; min-height: 52px;
}

html.meeting-document .prompt-header-title-wrap { display: flex; align-items: center; gap: 10px; min-width: 0; }
html.meeting-document .prompt-header-title-wrap .dot-indicator { margin-right: 0; flex-shrink: 0; }
html.meeting-document .prompt-parent-header .label { flex: 0 1 auto; min-width: 0; font-size: 15px; line-height: 1.35; color: var(--text-main); font-weight: 500; }

html.meeting-document .prompt-child-list {
display: none; padding: 4px 16px 14px 36px; background: #FAFBFD; border-top: 1px solid rgba(0, 0, 0, 0.025);
}

html.meeting-document .prompt-child-list.expanded {
display: block;
}

html.meeting-document .prompt-child-row {
display: flex; align-items: center; min-height: 52px; padding: 4px 0; border-bottom: 1px dashed var(--border-subtle); gap: 10px; cursor: pointer;
}

html.meeting-document .prompt-child-row:last-of-type { border-bottom: none; }

html.meeting-document .prompt-child-title {
flex: 1; min-width: 0; font-size: 15px; line-height: 1.35; color: var(--text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

html.meeting-document .prompt-child-style-copy {
flex: 1; min-width: 0;
}

html.meeting-document .prompt-child-style-copy .prompt-child-title {
display: block;
}

html.meeting-document .prompt-child-description {
margin-top: 2px; font-size: 12px; line-height: 1.35; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

html.meeting-document .prompt-child-enable-text {
font-size: 12px; color: var(--text-muted); margin-right: 6px;
}

html.meeting-document .prompt-child-row .chevron-right {
width: 18px; height: 18px;
}

html.meeting-document .prompt-child-row.expanded .chevron-right {
transform: rotate(90deg);
}

html.meeting-document .prompt-child-editor {
display: none; padding: 0 0 14px;
}

html.meeting-document .prompt-child-editor.expanded {
display: block;
}

html.meeting-document .prompt-child-editor .ios-textarea {
margin-top: 6px;
}

html.meeting-document .prompt-child-row .model-item-content {
flex: 1; min-width: 0;
}

html.meeting-document .prompt-add-child {
display: flex;
            align-items: center;
            justify-content: center;
            gap: 7px;
            width: 100%;
            max-width: none;
            margin: 10px 0 0;
            padding: 11px 18px;
            border-radius: 14px;
            border: 1px dashed var(--border-subtle);
            background: var(--bg-card);
            color: var(--text-secondary);
            font-size: 15px;
            font-weight: 500;
            cursor: pointer;
            box-shadow: none;
            transition: background 0.2s, transform 0.1s;
}

html.meeting-document .prompt-add-child:active {
background: var(--primary-light); transform: scale(0.98);
}

html.meeting-document .lb-drawer-overlay {
position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.4); z-index: 2100; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}

html.meeting-document .lb-drawer-overlay.active {
opacity: 1; pointer-events: auto;
}

html.meeting-document .bottom-drawer {
position: fixed; left: 0; right: 0; bottom: 0; height: 65vh; background: #FFFFFF; z-index: 2200; border-radius: 20px 20px 0 0; transform: translateY(100%); transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); display: flex; flex-direction: column; box-shadow: 0 -4px 24px rgba(0,0,0,0.1);
}

html.meeting-document .bottom-drawer.active {
transform: translateY(0);
}

html.meeting-document .drawer-header-bar {
padding: 20px 16px 10px; text-align: center; font-weight: 600; font-size: 17px; color: #000000;
}

html.meeting-document .drawer-tabs {
display: flex; justify-content: space-around; padding: 10px 16px;
}

html.meeting-document .drawer-tab {
font-size: 14px; color: #8E8E93; padding: 8px 16px; border-radius: 20px; cursor: pointer; transition: all 0.2s;
}

html.meeting-document .drawer-tab.active {
background: #F2F2F7; color: #000000; font-weight: 600;
}

html.meeting-document .drawer-content-area {
flex: 1; overflow-y: auto; padding: 0 16px 20px;
}

html.meeting-document .lb-tab-content {
display: none; animation: fadeIn 0.2s ease;
}

html.meeting-document .lb-tab-content.active {
display: block;
}

html.meeting-document .regex-add-btn {
display: flex; justify-content: center; align-items: center; gap: 6px;
            padding: 14px; margin: 16px 0; border-radius: 14px;
            background: #FFFFFF; color: var(--primary); font-weight: 600; font-size: 16px;
            cursor: pointer; box-shadow: 0 2px 12px rgba(0,0,0,0.04);
            transition: background 0.2s;
}

html.meeting-document .regex-add-btn:active {
background: var(--primary-light);
}

html.meeting-document .regex-add-btn svg {
width: 20px; height: 20px;
}

html.meeting-document .css-editor-wrap { padding: 14px 16px; }
html.meeting-document .css-editor-wrap .ios-textarea { margin: 0; min-height: 180px; border: 1px solid var(--border-subtle); border-radius: 18px; background: var(--bg-input); padding: 16px 20px; color: var(--text-main); }
html.meeting-document .css-action-row { display: flex; gap: 16px; padding: 12px 16px; border-top: 1px solid rgba(0, 0, 0, 0.03); }
html.meeting-document .css-secondary-actions { display: contents; }
html.meeting-document .css-action-btn { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 64px; padding: 8px 14px; border-radius: 18px; font-size: 15px; font-weight: 500; cursor: pointer; transition: opacity 0.2s, transform 0.1s; }
html.meeting-document .css-action-btn svg { display: none; }
html.meeting-document .css-action-btn { white-space: nowrap; }
html.meeting-document .css-action-btn.save { background: var(--primary-light); color: var(--primary); border: 1px solid var(--primary-border); }
html.meeting-document .css-action-btn.secondary { background: var(--bg-input); color: var(--text-secondary); border: 1px solid transparent; margin: 0; }
html.meeting-document .css-action-btn:active { opacity: 0.7; transform: scale(0.98); }

html.meeting-document .regex-input-label {
font-size: 13px; color: #8E8E93; margin: 12px 16px 4px; font-weight: 500;
}

html.meeting-document .regex-delete-btn {
color: #FF3B30; text-align: center; padding: 14px;
            font-weight: 500; cursor: pointer; border-top: 0.5px solid rgba(0,0,0,0.05);
            margin-top: 12px; transition: background 0.2s;
}

html.meeting-document .regex-delete-btn:active {
background: #FFF0F0;
}

html.meeting-document .accordion-header .label {
white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 12px;
}

html.meeting-document .drawer-capsule-btn {
background: #F2F2F7; padding: 8px 20px; border-radius: 24px;
            font-size: 16px; font-weight: 700; color: #8E8E93; cursor: pointer; z-index: 1;
}

html.meeting-document .drawer-capsule-btn:active {
background: #E5E5EA;
}

html.meeting-document .drawer-circle-btn {
width: 38px; height: 38px; border-radius: 50%; background: #F2F2F7;
            display: flex; justify-content: center; align-items: center;
            cursor: pointer; z-index: 1; color: #8E8E93; font-weight: 700;
}

html.meeting-document .drawer-circle-btn svg {
width: 20px; height: 20px;
}

html.meeting-document .drawer-circle-btn:active {
background: #E5E5EA;
}

html.meeting-document .drawer-handle {
width: 36px; height: 5px; background: #E5E5EA; border-radius: 3px; margin: 8px auto 12px;
}

html.meeting-document .api-drawer-header {
display: flex; justify-content: space-between; align-items: center; padding: 0 16px 12px; position: relative;
}

html.meeting-document .api-header-title {
position: absolute; left: 50%; transform: translateX(-50%); font-size: 17px; font-weight: 600; color: #000000;
}

html.meeting-document .api-back-btn {
width: 36px; height: 36px; border-radius: 50%; background: #E5E5EA; display: flex; justify-content: center; align-items: center; cursor: pointer; z-index: 1;
}

html.meeting-document .api-back-btn svg {
width: 20px; height: 20px; color: #666666;
}

html.meeting-document .api-tabs-capsule {
display: flex; background: #E5E5EA; border-radius: 20px; padding: 3px; z-index: 1;
}

html.meeting-document .api-tab {
padding: 6px 14px; font-size: 14px; font-weight: 600; color: #8E8E93; border-radius: 17px; cursor: pointer; transition: all 0.2s;
}

html.meeting-document .api-tab.active {
background: #FFFFFF; color: #1C1C1E; box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

html.meeting-document .api-models-drawer {
height: 60vh;
            background: #F8F8FA;
}

html.meeting-document .api-drawer-content {
padding: 4px 16px 90px;
}

html.meeting-document .model-presets-container {
display: flex;
            flex-direction: column;
            gap: 16px;
}

html.meeting-document .model-group {
display: flex;
            flex-direction: column;
}

html.meeting-document .model-group-header {
display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 8px 4px 10px;
            cursor: pointer;
}

html.meeting-document .model-group-title-wrap {
display: flex;
            align-items: baseline;
            gap: 8px;
}

html.meeting-document .model-group-title {
font-size: 14px;
            font-weight: 600;
            color: #636366;
}

html.meeting-document .model-group-count {
font-size: 12px;
            color: #8E8E93;
}

html.meeting-document .model-group-actions {
display: flex;
            align-items: center;
            gap: 8px;
}

html.meeting-document .model-action-btn {
display: flex;
            align-items: center;
            gap: 4px;
            background: #FFFFFF;
            border: 0.5px solid rgba(0, 0, 0, 0.08);
            border-radius: 12px;
            padding: 4px 8px;
            font-size: 12px;
            font-weight: 500;
            color: #007AFF;
            cursor: pointer;
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
            transition: background 0.15s, transform 0.1s;
}

html.meeting-document .model-action-btn:active {
background: #E5F1FF;
            transform: scale(0.96);
}

html.meeting-document .model-action-btn svg {
width: 13px;
            height: 13px;
}

html.meeting-document .model-group-header.expanded .chevron-right {
transform: rotate(90deg);
}

html.meeting-document .model-cards-list {
display: none;
            flex-direction: column;
            gap: 10px;
}

html.meeting-document .model-cards-list.expanded {
display: flex;
}

html.meeting-document .model-card-item {
background: #FFFFFF;
            border: 1px solid rgba(0, 0, 0, 0.06);
            border-radius: 16px;
            padding: 14px 16px;
            cursor: pointer;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
            transition: all 0.2s ease;
            display: flex;
            flex-direction: column;
            gap: 10px;
}

html.meeting-document .model-card-item:active {
transform: scale(0.985);
}

html.meeting-document .model-card-item.active {
background: #FFFFFF;
            border: 1.5px solid #007AFF;
            box-shadow: 0 4px 14px rgba(0, 122, 255, 0.15);
}

html.meeting-document .model-card-top {
display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
}

html.meeting-document .model-icon-badge {
width: 28px;
            height: 28px;
            border-radius: 50%;
            background: #EBF3FF;
            color: #007AFF;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
}

html.meeting-document .model-icon-badge svg {
width: 16px;
            height: 16px;
}

html.meeting-document .model-name-text {
flex: 1;
            font-size: 15px;
            font-weight: 600;
            color: #1C1C1E;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
}

html.meeting-document .model-status-pill {
display: flex;
            align-items: center;
            gap: 5px;
            background: #E8F8EE;
            color: #34C759;
            padding: 3px 8px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 600;
            flex-shrink: 0;
}

html.meeting-document .status-dot {
width: 6px;
            height: 6px;
            border-radius: 50%;
            background-color: #34C759;
}

html.meeting-document .model-card-tags {
display: flex;
            align-items: center;
            gap: 6px;
            padding-left: 38px;
}

html.meeting-document .model-tag {
background: #F2F2F7;
            color: #8E8E93;
            font-size: 11px;
            font-weight: 500;
            padding: 3px 8px;
            border-radius: 6px;
}

html.meeting-document .api-drawer-bottom-bar {
position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
            background: rgba(255, 255, 255, 0.94);
            backdrop-filter: saturate(200%) blur(20px);
            -webkit-backdrop-filter: saturate(200%) blur(20px);
            border-top: 0.5px solid rgba(0, 0, 0, 0.08);
            display: flex;
            align-items: center;
            justify-content: space-between;
            z-index: 50;
}

html.meeting-document .api-selected-info {
display: flex;
            flex-direction: column;
            gap: 2px;
            max-width: 65%;
}

html.meeting-document .api-selected-label {
font-size: 11px;
            color: #8E8E93;
}

html.meeting-document .api-selected-name {
font-size: 15px;
            font-weight: 700;
            color: #1C1C1E;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
}

html.meeting-document .api-confirm-btn {
background: #007AFF;
            color: #FFFFFF;
            padding: 10px 28px;
            border-radius: 22px;
            font-size: 15px;
            font-weight: 600;
            box-shadow: 0 4px 12px rgba(0, 122, 255, 0.28);
            cursor: pointer;
            transition: opacity 0.15s, transform 0.1s;
}

html.meeting-document .api-confirm-btn:active {
opacity: 0.85;
            transform: scale(0.96);
}

html.meeting-document .wallpaper-scroll-container {
display: flex; overflow-x: auto; gap: 12px; padding: 14px 16px; scrollbar-width: none; background: var(--bg-card); border-radius: 18px; border: 1px solid var(--border-card); box-shadow: var(--shadow-card); margin: 0 0 14px;
}

html.meeting-document .wallpaper-scroll-container::-webkit-scrollbar {
display: none;
}

html.meeting-document .wallpaper-item {
flex-shrink: 0; width: 72px; height: 120px; border-radius: 12px; background-color: var(--bg-input); position: relative; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: border-color 0.2s;
}

html.meeting-document .wallpaper-item.active {
border-color: var(--primary);
}

html.meeting-document .wallpaper-item img {
width: 100%; height: 100%; object-fit: cover;
}

html.meeting-document .wallpaper-item.add-btn {
display: flex; justify-content: center; align-items: center; border: 2px dashed var(--border-subtle); background-color: transparent; color: var(--text-muted);
}

html.meeting-document .wallpaper-item.add-btn svg {
width: 28px; height: 28px;
}

html.meeting-document .wallpaper-delete-btn {
position: absolute; top: 2px; right: 2px; width: 22px; height: 22px; background: rgba(0, 0, 0, 0.5); border: 1px solid #8E8E93; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: #FF3B30; z-index: 2;
}

html.meeting-document .wallpaper-delete-btn svg {
width: 14px; height: 14px;
}

html.meeting-document #regexListContainer .accordion-header { padding: 14px 16px; min-height: 52px; }
html.meeting-document #regexListContainer .accordion-header .ios-toggle { order: 2; margin: 0 0 0 12px; }
html.meeting-document #regexListContainer .accordion-header .label { order: 1; flex: 1; min-width: 0; padding-right: 0; }
html.meeting-document #regexListContainer .accordion-header .chevron-right { order: 3; flex-shrink: 0; }

/* 角色选择页面样式 - 高级低饱和白灰配色 */
html.meeting-document .char-select-view {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #FFFFFF;
    z-index: 1500;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: opacity 0.28s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.28s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html.meeting-document .char-select-view.hide {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.97);
}

html.meeting-document .char-select-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(16px + env(safe-area-inset-top)) 20px 12px;
    background: #FFFFFF;
    flex-shrink: 0;
}

html.meeting-document .char-back-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #F4F4F6;
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4A4D54;
    cursor: pointer;
    transition: all 0.2s;
}

html.meeting-document .char-back-btn:active {
    background: #EAEAEA;
    transform: scale(0.94);
}

html.meeting-document .char-back-btn svg {
    width: 20px;
    height: 20px;
}

html.meeting-document .char-select-title-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

html.meeting-document .char-select-main-title {
    font-size: 17px;
    font-weight: 600;
    color: #1C1C1E;
    letter-spacing: 0.5px;
}

html.meeting-document .char-select-sub-title {
    font-size: 12px;
    color: #8E8E93;
    margin-top: 2px;
}

html.meeting-document .char-search-box {
    margin: 6px 20px 14px;
    padding: 10px 14px;
    border-radius: 14px;
    background: #F4F4F6;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

html.meeting-document .char-search-box svg {
    width: 17px;
    height: 17px;
    color: #8E8E93;
    flex-shrink: 0;
}

html.meeting-document .char-search-box input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: #1C1C1E;
    width: 100%;
    font-family: inherit;
}

html.meeting-document .char-search-box input::placeholder {
    color: #A2A5AE;
}

html.meeting-document .char-grid-container {
    flex: 1;
    overflow-y: auto;
    padding: 4px 20px 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    align-content: flex-start;
}

html.meeting-document .char-grid-container::-webkit-scrollbar {
    display: none;
}

html.meeting-document .char-card {
    background: #FFFFFF;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    padding: 16px 14px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

html.meeting-document .char-card:active {
    transform: scale(0.97);
    border-color: rgba(0, 0, 0, 0.12);
}

html.meeting-document .char-card-avatar-wrap {
    position: relative;
    width: 72px;
    height: 72px;
    margin-bottom: 12px;
}

html.meeting-document .char-card-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #F4F4F6;
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

html.meeting-document .char-card-name {
    font-size: 15px;
    font-weight: 600;
    color: #1C1C1E;
    margin-bottom: 4px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

html.meeting-document .char-card-desc {
    font-size: 12px;
    color: #70737C;
    line-height: 1.4;
    height: 34px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 10px;
}

html.meeting-document .char-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    margin-bottom: 12px;
}

html.meeting-document .char-tag-item {
    font-size: 10px;
    color: #70737C;
    background: #F4F4F6;
    padding: 2px 7px;
    border-radius: 6px;
    font-weight: 500;
}

html.meeting-document .char-enter-btn {
    width: 100%;
    padding: 8px 0;
    border-radius: 12px;
    background: #F0F1F3;
    color: #232528;
    font-size: 12px;
    font-weight: 600;
    transition: background 0.15s;
}

html.meeting-document .char-card:active .char-enter-btn {
    background: #E2E4E8;
}
