:root {
--bg-dark: #1e1e1e;
--panel-bg: #252526;
--sidebar-dock-bg: #18181b;
--border-color: #3e3e42;
--accent-color: #0e639c;
--accent-hover: #1177bb;
--text-color: #cccccc;
--dock-width: 68px;
--panel-width: 320px;
}
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
-webkit-tap-highlight-color: transparent;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
background-color: var(--bg-dark);
color: var(--text-color);
height: 100vh;
height: 100dvh;
display: flex;
flex-direction: column;
overflow: hidden;
}
header {
background-color: #333333;
padding: 8px 16px;
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 1px solid var(--border-color);
z-index: 20;
flex-shrink: 0;
}
.logo-area {
display: flex;
align-items: center;
gap: 10px;
}
.header-actions {
display: flex;
align-items: center;
gap: 8px;
}
.badge-y {
background-color: #ff0033;
color: white;
font-weight: bold;
padding: 4px 8px;
border-radius: 4px;
font-size: 13px;
}
.title {
font-weight: bold;
color: #ffffff;
font-size: 14px;
}
.plan-badge {
font-size: 11px;
font-weight: bold;
padding: 3px 6px;
border-radius: 4px;
margin-left: 4px;
}
.plan-badge.free { background-color: #6b7280; color: #fff; }
.plan-badge.monthly { background-color: #d97706; color: #fff; }
.plan-badge.lifetime { background-color: #059669; color: #fff; }
.expiry-badge {
font-size: 11px;
font-weight: bold;
padding: 3px 6px;
border-radius: 4px;
background-color: #3b82f6;
color: #fff;
margin-left: 4px;
display: none;
}
.expiry-badge.warning {
background-color: #dc2626;
animation: pulse 1.5s infinite;
}
@keyframes pulse {
0% { opacity: 1; }
50% { opacity: 0.5; }
100% { opacity: 1; }
}
.view-toggle-group, .bg-toggle-group, .device-toggle-group, .history-btn-group, .action-btn-group {
display: flex;
background-color: #1e1e1e;
padding: 2px;
border-radius: 4px;
border: 1px solid #555;
align-items: center;
}
.btn-view-toggle, .btn-bg-toggle, .btn-device-toggle, .btn-history {
background: transparent;
border: none;
color: #aaa;
padding: 3px 8px;
font-size: 12px;
font-weight: bold;
cursor: pointer;
border-radius: 3px;
transition: all 0.2s ease;
}
.btn-view-toggle:hover, .btn-bg-toggle:hover, .btn-device-toggle:hover {
color: #fff;
}
.btn-history:hover {
color: #fff;
}
.btn-history.disabled-state {
color: #555;
cursor: default;
}
.btn-view-toggle.active, .btn-bg-toggle.active, .btn-device-toggle.active {
background-color: var(--accent-color);
color: #ffffff;
}
.btn-large-action {
font-size: 12px;
font-weight: bold;
padding: 5px 12px;
border-radius: 4px;
cursor: pointer;
border: 1px solid transparent;
}
.btn-toggle-ctrl { background-color: #4a5568; color: #ffffff; border-color: #718096; }
.btn-toggle-ctrl:hover { background-color: #718096; }
.btn-save-work { background-color: #d97706; color: #ffffff; border-color: #f59e0b; }
.btn-save-work:hover { background-color: #f59e0b; }
.btn-html-copy {
background-color: #059669;
color: #ffffff;
border-color: #10b981;
}
.btn-html-copy:hover {
background-color: #047857;
}
.btn-help-icon {
background-color: #3b82f6;
color: white;
border: 1px solid #60a5fa;
border-radius: 50%;
width: 28px;
height: 28px;
font-size: 14px;
font-weight: bold;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s ease;
}
.btn-help-icon:hover {
background-color: #2563eb;
transform: scale(1.08);
}
.app-container {
flex: 1;
display: flex;
overflow: hidden;
position: relative;
}
.sidebar-container {
display: flex;
border-right: 1px solid var(--border-color);
z-index: 10;
order: 1;
background-color: var(--panel-bg);
}
.sidebar-dock {
width: var(--dock-width);
background-color: var(--sidebar-dock-bg);
border-right: 1px solid #2d2d30;
display: flex;
flex-direction: column;
align-items: center;
padding: 6px 0;
gap: 4px;
user-select: none;
overflow-y: auto;
flex-shrink: 0;
}
.dock-btn {
width: 58px;
height: 50px;
background: transparent;
border: none;
border-radius: 6px;
color: #9ca3af;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.15s ease;
position: relative;
padding: 3px 2px;
}
.dock-btn:hover {
background-color: #27272a;
color: #fff;
}
.dock-btn.active {
background-color: #1e293b;
color: #38bdf8;
font-weight: bold;
}
.dock-btn.active::before {
content: "";
position: absolute;
left: 0;
top: 6px;
bottom: 6px;
width: 3px;
background-color: #38bdf8;
border-radius: 0 2px 2px 0;
}
.dock-icon {
font-size: 18px;
line-height: 1;
margin-bottom: 3px;
}
.dock-label {
font-size: 9.5px;
line-height: 1.1;
text-align: center;
white-space: nowrap;
}
.sidebar-panel {
width: var(--panel-width);
background-color: var(--panel-bg);
display: flex;
flex-direction: column;
overflow: hidden;
transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sidebar-header {
padding: 10px 14px;
background-color: #2d2d2d;
border-bottom: 1px solid var(--border-color);
display: flex;
justify-content: space-between;
align-items: center;
font-weight: bold;
color: #fff;
font-size: 13px;
}
.sidebar-content-area {
flex: 1;
overflow-y: auto;
padding: 14px;
-webkit-overflow-scrolling: touch;
}
.tab-pane {
display: none;
flex-direction: column;
gap: 14px;
}
.tab-pane.active {
display: flex;
}
.pane-card {
background: #1e1e1e;
border: 1px solid #38383e;
border-radius: 6px;
padding: 12px;
}
.pane-card-title {
font-size: 12px;
font-weight: bold;
color: #38bdf8;
margin-bottom: 8px;
display: flex;
align-items: center;
justify-content: space-between;
}
.pro-feature-badge {
font-size: 10px;
background-color: #f59e0b;
color: #000;
font-weight: bold;
padding: 2px 6px;
border-radius: 3px;
margin-left: 6px;
}
.sub-label {
font-size: 11px;
color: #9cdcfe;
margin: 6px 0 4px 0;
font-weight: bold;
}
.sidebar-row {
display: flex;
align-items: center;
gap: 6px;
flex-wrap: wrap;
}
.sidebar-label {
font-size: 12px;
color: #bbb;
width: 70px;
flex-shrink: 0;
}
.sb-select, .sb-input-color, .sb-input-text, .sb-textarea {
background-color: #3d3d42;
border: 1px solid #666;
color: #ffffff;
padding: 6px 8px;
border-radius: 4px;
font-size: 12px;
outline: none;
width: 100%;
}
.sb-textarea {
resize: vertical;
min-height: 80px;
font-family: inherit;
display: block;
}
.sb-input-color {
padding: 0;
width: 40px;
height: 30px;
cursor: pointer;
flex: initial;
}
.sb-btn {
background-color: #3d3d42;
border: 1px solid #666;
color: #ffffff;
padding: 6px 8px;
border-radius: 4px;
cursor: pointer;
font-size: 11px;
font-weight: bold;
transition: background 0.2s;
}
.sb-btn:hover { background-color: #55555c; }
.sb-btn-primary { background-color: #0d9488; border-color: #14b8a6; }
.sb-btn-primary:hover { background-color: #14b8a6; }
.sb-btn-add { background-color: #1e3a8a; border-color: #3b82f6; }
.sb-btn-add:hover { background-color: #1d4ed8; }
.sb-btn-danger { background-color: #991b1b; border-color: #ef4444; }
.sb-btn-danger:hover { background-color: #dc2626; }
.sb-btn-accent { background-color: #d97706; border-color: #f59e0b; color: #fff; }
.sb-btn-accent:hover { background-color: #b45309; }
.title-counter-box {
background: #141c2c;
border: 1px solid #2563eb;
border-radius: 6px;
padding: 10px;
width: 100%;
box-sizing: border-box;
}
.counter-badge-row {
display: flex;
justify-content: space-between;
align-items: center;
margin: 6px 0;
}
.count-large {
font-size: 16px;
font-weight: bold;
color: #38bdf8;
}
.count-large.over-limit {
color: #ef4444;
}
.color-palette-grid {
display: grid;
grid-template-columns: repeat(8, 1fr);
gap: 4px;
margin-top: 6px;
}
.color-chip {
height: 26px;
border-radius: 4px;
cursor: pointer;
border: 1px solid #555;
transition: transform 0.12s, border-color 0.12s;
}
.color-chip:hover {
transform: scale(1.12);
border-color: #fff;
}
.main-content {
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
position: relative;
order: 2;
}
.main-content.layout-preview .editor-pane-visual { display: flex; flex: 1; border-bottom: none; }
.main-content.layout-preview .editor-pane-code { display: none; }
.main-content.layout-split .editor-pane-visual { flex: 1; display: flex; }
.main-content.layout-split .editor-pane-code { height: 230px; display: flex; }
.main-content.layout-code .editor-pane-visual { display: none; }
.main-content.layout-code .editor-pane-code { display: flex; flex: 1; }
.editor-pane-visual {
background-color: #121212;
overflow: hidden;
border-bottom: 2px solid var(--border-color);
flex-direction: column;
transition: background-color 0.2s;
position: relative;
}
.editor-pane-visual.bg-white { background-color: #ffffff; }
.editor-pane-visual.bg-dark { background-color: #121212; }
.pane-header {
background-color: var(--panel-bg);
padding: 6px 14px;
font-size: 12px;
color: #dddddd;
border-bottom: 1px solid var(--border-color);
display: flex;
justify-content: space-between;
align-items: center;
font-weight: bold;
flex-shrink: 0;
}
.header-controls-right {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
}
.visual-editor-wrapper {
flex: 1;
padding: 16px 56px 16px 16px;
overflow-y: auto;
overflow-x: auto;
display: flex;
justify-content: center;
align-items: flex-start;
touch-action: pan-y;
-webkit-overflow-scrolling: touch;
}
#visual-editor {
width: 100%;
max-width: 900px;
background-color: #ffffff;
color: #333333;
min-height: 400px;
outline: none;
padding: 10px;
border-radius: 4px;
box-shadow: 0 4px 10px rgba(0,0,0,0.3);
margin: 0;
flex-shrink: 0;
box-sizing: border-box;
}
#visual-editor table,
#visual-editor td,
#visual-editor div,
#visual-editor p,
#visual-editor font {
overflow-wrap: anywhere;
word-break: break-word;
max-width: 100%;
}
.visual-editor-wrapper.mode-mobile-wrapper {
padding: 12px 16px;
overflow-x: auto;
justify-content: center;
}
#visual-editor.mode-mobile {
max-width: 375px;
width: 100%;
box-sizing: border-box;
border: 12px solid #2d2d2d;
border-top-width: 30px;
border-bottom-width: 30px;
border-radius: 36px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
position: relative;
margin-left: auto;
margin-right: auto;
}
#visual-editor.mode-mobile::before {
content: "";
position: absolute;
top: -18px;
left: 50%;
transform: translateX(-50%);
width: 60px;
height: 6px;
background-color: #444;
border-radius: 3px;
}
.selected-cell {
outline: 2px solid #ff0055 !important;
outline-offset: -2px;
}
.section-block {
position: relative;
margin-bottom: 12px;
transition: transform 0.35s ease, opacity 0.35s ease;
}
.section-block.selected-block {
outline: 2px dashed #0e639c;
outline-offset: 2px;
border-radius: 4px;
}
.manual-hide-controls .side-handle {
display: none !important;
}
.side-handle {
position: absolute;
right: -38px;
top: 0;
width: 32px;
display: flex;
flex-direction: column;
gap: 3px;
background-color: #252526;
border: 1px solid #454545;
border-radius: 4px;
padding: 4px 2px;
z-index: 10;
user-select: none;
box-shadow: 0 2px 5px rgba(0,0,0,0.4);
align-items: center;
}
.handle-btn {
background-color: #333333;
color: #cccccc;
border: 1px solid #555555;
border-radius: 3px;
font-size: 10px;
height: 22px;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.2s;
}
.handle-btn:hover {
background-color: #0e639c;
color: #ffffff;
border-color: #38bdf8;
}
.handle-number {
font-size: 11px;
font-weight: bold;
color: #38bdf8;
padding: 2px 0;
line-height: 1;
}
.editor-pane-code {
display: flex;
flex-direction: column;
background-color: #1e1e1e;
}
#code-output {
flex: 1;
width: 100%;
background-color: #1e1e1e;
color: #9cdcfe;
border: none;
padding: 10px;
font-family: "Consolas", monospace;
font-size: 12px;
line-height: 1.4;
resize: none;
outline: none;
white-space: pre;
overflow-x: auto;
}
.modal-backdrop {
position: fixed;
top: 0; left: 0; width: 100%; height: 100%;
background: rgba(0, 0, 0, 0.78);
backdrop-filter: blur(3px);
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
}
.modal-window {
background: #252526;
border: 1px solid #555;
border-radius: 8px;
width: 920px;
max-width: 96%;
max-height: 94vh;
display: flex;
flex-direction: column;
box-shadow: 0 8px 30px rgba(0,0,0,0.8);
overflow: hidden;
animation: modalFadeIn 0.2s ease-out;
}
@keyframes modalFadeIn {
from { opacity: 0; transform: scale(0.96); }
to { opacity: 1; transform: scale(1); }
}
.modal-header {
padding: 10px 16px;
background: #2d2d2d;
border-bottom: 1px solid #444;
display: flex;
justify-content: space-between;
align-items: center;
font-weight: bold;
color: #fff;
font-size: 14px;
}
.modal-body {
padding: 14px 16px;
overflow-y: auto;
font-size: 12px;
line-height: 1.5;
color: #ddd;
}
.modal-body h3 {
color: #38bdf8;
font-size: 13px;
margin: 12px 0 6px 0;
border-bottom: 1px solid #444;
padding-bottom: 4px;
}
.modal-body h3:first-child { margin-top: 0; }
.modal-body ul {
padding-left: 18px;
margin-bottom: 8px;
}
.modal-body li {
margin-bottom: 3px;
}
.welcome-box {
background: linear-gradient(135deg, #1e293b, #0f172a);
border: 1px solid #38bdf8;
border-radius: 6px;
padding: 10px 14px;
margin-bottom: 10px;
color: #f1f5f9;
}
.welcome-box h2 {
font-size: 14px;
color: #38bdf8;
margin-bottom: 4px;
display: flex;
align-items: center;
gap: 6px;
}
.welcome-points {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 8px;
margin-top: 6px;
}
.welcome-point-item {
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
padding: 6px 8px;
border-radius: 4px;
font-size: 11px;
}
.welcome-point-item b {
color: #38bdf8;
display: block;
margin-bottom: 2px;
}
.existing-user-banner {
background: #1e3a8a;
border: 1px solid #3b82f6;
border-radius: 6px;
padding: 8px 12px;
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
}
.existing-user-banner span {
font-size: 12px;
color: #eff6ff;
font-weight: bold;
}
.reason-save-box {
background: #451a03;
border: 1px solid #f59e0b;
border-radius: 6px;
padding: 8px 12px;
margin-bottom: 10px;
color: #fef3c7;
font-size: 11px;
line-height: 1.4;
display: none;
}
.help-table {
width: 100%;
border-collapse: collapse;
margin-bottom: 12px;
font-size: 12px;
}
.help-table th, .help-table td {
border: 1px solid #444;
padding: 6px 10px;
text-align: left;
vertical-align: middle;
}
.help-table th {
background-color: #2d2d2d;
color: #38bdf8;
font-weight: bold;
white-space: nowrap;
}
.help-table td:first-child {
background-color: #1e1e1e;
white-space: nowrap;
font-weight: bold;
}
.modal-textarea {
width: 100%;
height: 100px;
background: #1e1e1e;
border: 1px solid #555;
color: #fff;
padding: 8px;
border-radius: 4px;
font-size: 12px;
margin-bottom: 10px;
}
.modal-actions {
padding: 8px 16px;
background: #2d2d2d;
border-top: 1px solid #444;
display: flex;
justify-content: space-between;
gap: 8px;
}
.btn-modal-close-white {
background-color: #ffffff !important;
color: #18181b !important;
border: 1px solid #e4e4e7 !important;
font-weight: bold !important;
padding: 4px 10px !important;
border-radius: 4px !important;
cursor: pointer !important;
font-size: 12px !important;
}
.btn-modal-close-white:hover {
background-color: #f4f4f5 !important;
}
.upgrade-card-grid {
display: grid;
grid-template-columns: 1fr 1.05fr 1.15fr;
gap: 12px;
margin: 8px 0;
}
.upgrade-card {
background: #1e1e1e;
border: 1px solid #444;
border-radius: 8px;
padding: 12px 10px;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
position: relative;
}
.upgrade-card.free-card {
border-color: #6b7280;
background: #1a1a1c;
}
.upgrade-card.monthly-card {
border-color: #3b82f6;
background: #131b2e;
}
.upgrade-card.recommended {
border: 2px solid #10b981;
background: #122820;
}
.upgrade-badge {
position: absolute;
top: -10px;
background: #10b981;
color: white;
font-size: 10px;
font-weight: bold;
padding: 2px 8px;
border-radius: 10px;
}
.upgrade-price {
font-size: 18px;
font-weight: bold;
color: #fff;
margin: 4px 0;
}
.btn-upgrade-action {
width: 100%;
padding: 8px 4px;
border-radius: 5px;
font-weight: bold;
cursor: pointer;
border: none;
margin-top: 6px;
font-size: 11px;
text-align: center;
display: block;
box-sizing: border-box;
}
.btn-free-choice { background: #4b5563; color: #fff; }
.btn-free-choice:hover { background: #6b7280; }
.btn-monthly { background: #3b82f6; color: white; }
.btn-monthly:hover { background: #2563eb; }
.btn-lifetime { background: #10b981; color: white; }
.btn-lifetime:hover { background: #059669; }
.upgrade-features {
text-align: left;
width: 100%;
font-size: 11px;
margin-top: 6px;
color: #ccc;
flex: 1;
}
.upgrade-features li {
margin-bottom: 3px;
list-style: none;
line-height: 1.35;
}
.upgrade-features li.warn {
color: #f87171;
font-weight: bold;
}
.auth-box {
background: #1e1e1e;
border: 1px solid #444;
padding: 14px;
border-radius: 6px;
margin-bottom: 12px;
}
.reset-option-list {
display: flex;
flex-direction: column;
gap: 10px;
margin: 10px 0;
}
.reset-option-card {
background: #1e1e1e;
border: 1px solid #444;
border-radius: 6px;
padding: 12px;
cursor: pointer;
display: flex;
align-items: center;
gap: 12px;
transition: all 0.2s ease;
}
.reset-option-card:hover {
border-color: #38bdf8;
background: #2a2d3d;
transform: translateX(3px);
}
.reset-icon {
font-size: 26px;
}
.reset-info h4 {
color: #fff;
font-size: 13px;
margin-bottom: 3px;
}
.reset-info p {
color: #aaa;
font-size: 11px;
line-height: 1.4;
}
.hidden { display: none !important; }
.app-toast-container {
position: fixed;
top: 20px;
left: 50%;
transform: translateX(-50%);
z-index: 9999;
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
pointer-events: none;
width: 90%;
max-width: 400px;
}
.app-toast {
background: #1e293b;
color: #ffffff;
border: 1px solid #38bdf8;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
border-radius: 8px;
padding: 12px 18px;
font-size: 13px;
font-weight: 500;
display: flex;
align-items: center;
gap: 10px;
pointer-events: auto;
animation: toastPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
transition: opacity 0.25s, transform 0.25s;
}
.app-toast.toast-error {
background: #3f1212;
border-color: #ef4444;
color: #fecaca;
}
.app-toast.toast-success {
background: #063726;
border-color: #10b981;
color: #a7f3d0;
}
.app-toast.toast-info {
background: #172554;
border-color: #3b82f6;
color: #dbeafe;
}
@keyframes toastPop {
from { opacity: 0; transform: translateY(-16px) scale(0.95); }
to { opacity: 1; transform: translateY(0) scale(1); }
}
footer {
background-color: #007acc;
color: white;
font-size: 11px;
padding: 4px 16px;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 20;
flex-shrink: 0;
}
.footer-info-group {
display: flex;
align-items: center;
gap: 12px;
}
.char-alert {
background-color: #ef4444;
color: #ffffff;
padding: 2px 6px;
border-radius: 3px;
font-weight: bold;
}
@media (max-width: 768px) {
.view-toggle-group,
.history-btn-group,
.btn-toggle-ctrl,
.btn-save-work,
.plan-badge,
.expiry-badge {
display: none !important;
}
header {
    padding: 6px 10px;
    padding-top: max(6px, env(safe-area-inset-top));
}
.logo-area .title {
    font-size: 12px;
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.badge-y {
    padding: 2px 4px;
    font-size: 11px;
}

.bg-toggle-group,
.device-toggle-group {
    display: none !important;
}

.app-container {
    flex-direction: column;
    height: 100%;
}

.sidebar-panel {
    display: none !important;
}

.sidebar-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    order: 3;
    border-right: none;
    border-top: 1px solid #334155;
    background-color: #18181b;
    z-index: 100;
    height: calc(56px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
}

.sidebar-dock {
    width: 100%;
    height: 56px;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 6px;
    gap: 6px;
    justify-content: flex-start;
    align-items: center;
    border-right: none;
    background-color: #18181b;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.sidebar-dock::-webkit-scrollbar {
    display: none;
}

.mobile-action-btn {
    height: 42px;
    padding: 0 12px;
    background-color: #27272a;
    border: 1px solid #3f3f46;
    color: #e4e4e7;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: bold;
    white-space: nowrap;
    cursor: pointer;
    flex-shrink: 0;
}
.mobile-action-btn:active {
    background-color: #3f3f46;
    color: #fff;
}
.mobile-back-btn {
    background-color: #0f172a !important;
    border-color: #38bdf8 !important;
    color: #38bdf8 !important;
    flex-shrink: 0;
}
.mobile-bold-btn {
    background-color: #0284c7 !important;
    border-color: #38bdf8 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    min-width: 60px;
    justify-content: center;
}

.mobile-color-chip {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 2px solid #52525b;
    cursor: pointer;
    flex-shrink: 0;
    box-sizing: border-box;
}
.mobile-color-chip:active {
    transform: scale(0.92);
    border-color: #fff;
}

.dock-btn {
    width: 52px;
    height: 48px;
    flex-shrink: 0;
    padding: 2px;
}
.dock-icon {
    font-size: 16px;
    margin-bottom: 2px;
}
.dock-label {
    font-size: 8.5px;
}

.visual-editor-wrapper {
    padding: 12px 36px 12px 12px !important;
    overflow-x: auto !important;
    justify-content: center !important;
}
#visual-editor {
    min-height: 320px;
    padding: 6px;
    width: 100% !important;
    max-width: 100% !important;
}
.side-handle {
    right: -32px !important;
    width: 26px !important;
    padding: 2px 1px !important;
}
.handle-btn {
    height: 20px !important;
    font-size: 9px !important;
}
.handle-number {
    font-size: 9.5px !important;
    padding: 1px 0 !important;
}

footer {
    display: none !important;
}
.editor-pane-visual > .pane-header {
    display: none !important;
}

.main-content {
    order: 1;
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
}

.app-toast-container {
    top: auto;
    bottom: calc(72px + env(safe-area-inset-bottom));
}

}
@media print {
header, .sidebar-container, .editor-pane-code, .pane-header, .side-handle, footer, .app-toast-container {
display: none !important;
}
body, .app-container, .main-content, .editor-pane-visual, .visual-editor-wrapper {
background: #ffffff !important;
height: auto !important;
overflow: visible !important;
padding: 0 !important;
margin: 0 !important;
}
#visual-editor {
box-shadow: none !important;
padding: 0 !important;
transform: none !important;
}
}