/* Matches the main BhavyaM site. PDF paper and exported colors remain unchanged. */
:root{color-scheme:dark;--ink:#eeeae1;--muted:#aaa99f;--blue:#a8cbed;--line:#333632;--soft:#222622}body,body.studio,body.embedded-studio{background:#111211;color:var(--ink)}.studio .app-header,.studio .studio-sidebar,.studio .document-command,section,.card,.embedded-studio section{background:#181a18;border-color:var(--line)}.brand,.brand>span:last-child{color:var(--ink)}.brand-icon{background:#a8cbed;color:#111211}.local-badge{color:#9fc7ac}.start-screen{background:transparent!important}.start-screen .eyebrow,.start-features span:before,.text-button,a{color:#a8cbed}.start-features,.start-screen>p,.sidebar-heading,.header-links>a{color:var(--muted)}button,.button,.upload-button{background:#a8cbed;color:#111211;box-shadow:none}.secondary,.editing-actions button,.tool-card{background:#242824;color:#dedfd4}.editing-actions button:hover,.tool-card:hover{background:#303730;border-color:#738574}.tool-card strong,.tool-card small{color:var(--ink)}input,select,textarea{background:#111411;color:#eeeae1;border-color:#41473f}input::placeholder,textarea::placeholder{color:#8d958b}.studio-sidebar section,.studio-document>section{background:transparent}.studio-document .document-stage,.document-stage,.preview-stage,.embedded-studio #workspace,.embedded-studio .preview-stage{background:#0c0e0c}.studio-document{background:#111211}.editor-frame{background:#111211}.preview-title,.document-command,.tool-card .eyebrow{color:var(--ink)}.embedded-studio #workspace>.grid,.embedded-studio #workspace>.row:nth-of-type(2),.embedded-studio #workspace>.row:first-child button{background:#1c201c;color:var(--ink)}.embedded-studio #workspace>.row:not(:first-child){background:#1c201c;border-radius:8px;padding:6px}.embedded-studio #editor-notice,.embedded-studio .native-hint,.embedded-studio.stamp-mode section[aria-label="Reusable stamps"] summary{color:#a8cbed}.embedded-studio #font-match{order:2;color:#bbd3bb;margin:5px 0;font-size:11px}.embedded-studio main>p{background:#181a18}.embedded-extraction,.embedded-extraction main{background:#111211}.tablewrap,td,th{border-color:#333632}th{background:#242824}dialog{background:#181a18;color:var(--ink)}.error{color:#ffa8a8}.studio-status{background:#453519;color:#ffe1aa}.dragging:after{background:#172017ed;color:#bbd3bb}.page-tile{background:#242824;color:#eeeae1}.badge{background:#253d2b;color:#b5dcbd}.assistant-panel{position:fixed;right:0;top:78px;width:min(430px,100%);height:calc(100dvh - 78px);background:#181c18;border-left:1px solid #41473f;padding:20px;overflow:auto;z-index:20;box-shadow:-12px 0 45px #0006}.assistant-panel .row{justify-content:space-between}.assistant-panel h2{font-size:20px;margin:0}.assistant-panel p,.assistant-panel label{font-size:13px}.assistant-panel .row button{font-size:12px}.assistant-panel textarea{min-height:70px}.assistant-panel article{padding:12px 0;border-bottom:1px solid var(--line)}.assistant-panel article p{white-space:pre-wrap;color:#dedfd4}.assistant-panel article button{font-size:11px;min-height:35px}.assistant-panel #ai-tool-suggestion button{width:100%;margin-bottom:12px}.assistant-panel #ai-results h3{font-size:14px}.assistant-panel .small{font-size:11px}#assistant-open{grid-column:1/-1;color:#a8cbed;background:#253025}#ai-scope{border-top:1px solid var(--line);padding-top:10px}.editor-open #mobile-settings-button{display:none}@media(max-width:800px){.assistant-panel{top:64px;height:calc(100dvh - 64px)}.embedded-studio #workspace>.row:not(:first-child){gap:4px}}

.stamp-library{display:flex;gap:8px;overflow:auto;padding:10px 0}.stamp-card{flex:none;display:flex;flex-direction:column;gap:5px;max-width:145px;min-width:100px;border:2px solid transparent!important;font-size:12px!important}.stamp-card img{width:95px;height:48px;object-fit:contain;background:#fff;border-radius:4px}.stamp-card span{max-width:120px;overflow:hidden;text-overflow:ellipsis}.stamp-card[aria-pressed=true]{border-color:#a8cbed!important}.embedded-studio section[aria-label="Reusable stamps"]{order:0}.embedded-studio #stamp-context,#stamp-context{position:fixed;z-index:100;background:#252b25;border:1px solid #7c907c;border-radius:8px;padding:5px;box-shadow:0 4px 25px #0007}.embedded-studio #stamp-context button{min-height:42px}.embedded-studio #workspace>.row:not(:first-child) label{max-width:100px;font-size:10px;margin:0}

.embedded-studio section[aria-label="Reusable stamps"]{padding:8px 16px}.embedded-studio section[aria-label="Reusable stamps"] p.small{margin:5px 0;font-size:11px}.stamp-card{padding:6px;min-width:86px}.stamp-card img{width:78px;height:33px}.stamp-library{padding:6px 0}.stamp-card span{font-size:10px}

.embedded-studio #workspace>#font-match{display:block}

.brand .release-version{font-size:10px;font-weight:600;letter-spacing:0;color:#b9d2e9;background:#2b343a;border-radius:4px;padding:3px 5px;margin-left:2px}
