.avs-shell{--avs-accent:#d6b56b;--avs-height:850px;display:flex;flex-direction:column;overflow:hidden;background:#092b21;border:1px solid #2b5645;border-radius:18px;box-shadow:0 16px 46px rgba(5,33,23,.18);width:100%;max-width:100%;color:#f5f3ec;font-family:inherit;text-align:right;box-sizing:border-box}
.avs-shell *{box-sizing:border-box}
.avs-topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 18px;background:linear-gradient(110deg,#164d3b,#082f23);border-bottom:1px solid rgba(214,181,107,.25)}
.avs-heading{display:flex;align-items:center;gap:11px;min-width:0}
.avs-mark{width:38px;height:38px;flex:none;display:grid;place-items:center;background:rgba(214,181,107,.17);border:1px solid rgba(214,181,107,.45);border-radius:11px;color:var(--avs-accent);font-size:27px}
.avs-heading strong{display:block;color:#f2f1eb;font-weight:850;font-size:16px;white-space:nowrap;line-height:1.5}
.avs-heading small{display:block;font-size:11px;color:#aac5b7;line-height:1.6}
.avs-buttons{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.avs-button{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;min-height:37px;padding:8px 13px;border:1px solid rgba(234,229,202,.26);border-radius:9px;background:#225742;color:#f8f4e9;font:inherit;font-size:13px;font-weight:700;line-height:1.4;white-space:nowrap;box-shadow:none;transition:background .2s,border-color .2s}
.avs-button:hover,.avs-button:focus-visible{background:#327152;color:white;border-color:var(--avs-accent)}
.avs-button.avs-primary{background:var(--avs-accent);color:#123a2b;border-color:var(--avs-accent)}
.avs-button.avs-primary:hover{background:#eacf92;color:#123a2b}
.avs-button:disabled{cursor:wait;opacity:.62}
.avs-modebar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:9px 16px;background:#0d3428;border-bottom:1px solid rgba(214,181,107,.22)}
.avs-mode-switch{display:flex;gap:4px;padding:4px;background:#07271e;border:1px solid #2a5a46;border-radius:12px}
.avs-mode-button{cursor:pointer;border:0;border-radius:9px;min-height:40px;padding:8px 17px;background:transparent;color:#c0d4c8;font:inherit;font-weight:750;font-size:13px;touch-action:manipulation}
.avs-mode-button[aria-pressed="true"]{color:#163c2e;background:var(--avs-accent);box-shadow:0 2px 10px #0003}
.avs-guide{font-size:12px;color:#e7d3a6;max-width:100%}
.avs-guide summary{cursor:pointer;padding:8px 5px;font-weight:700}
.avs-guide ol{margin:10px 20px 5px;padding:0;line-height:2;color:#f5f1e5}
.avs-guide[open]{width:100%}
.avs-voice-panel{background:#123a2e;border-bottom:1px solid rgba(214,181,107,.3);color:#f6f1e3}
.avs-voice-panel>summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:12px 18px;min-height:48px;list-style-position:inside;color:#f1dba4;font-size:14px;font-weight:800;touch-action:manipulation}
.avs-voice-panel>summary::marker{color:#d6b56b}
.avs-voice-panel>summary small{font-size:11px;color:#b9cebc;font-weight:500}
.avs-voice-content{display:grid;gap:11px;padding:14px 18px 18px;background:#0d3026;border-top:1px solid #315b47}
.avs-voice-device-hint{margin:0;color:#e1d5b1;font-size:12px;line-height:1.8}
.avs-voice-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.avs-voice-button{cursor:pointer;border:1px solid #5a7a5d;border-radius:10px;background:#285c46;color:#faf5e9;min-height:44px;padding:9px 15px;font:inherit;font-size:13px;font-weight:800;touch-action:manipulation;white-space:normal;line-height:1.45}
.avs-voice-button:hover,.avs-voice-button:focus-visible{background:#357457;border-color:var(--avs-accent);color:#fff}
.avs-voice-button:disabled{opacity:.48;cursor:not-allowed}
.avs-voice-start,.avs-voice-insert{background:var(--avs-accent);color:#173f2f;border-color:var(--avs-accent)}
.avs-voice-start:hover,.avs-voice-insert:hover{background:#efd08c;color:#14362a}
.avs-voice-listening .avs-voice-start{background:#bd4842;color:#fff}
.avs-voice-label{display:grid;gap:6px;font-size:12px;color:#e4d7b8;font-weight:700}
.avs-voice-transcript{width:100%;resize:vertical;min-height:64px;background:#f7f6ef;color:#1b3b2d;border:1px solid #b8c8b3;border-radius:11px;padding:11px 13px;font:inherit;font-size:15px;line-height:1.7;text-align:right;outline-offset:2px}
.avs-voice-transcript:focus{outline:2px solid var(--avs-accent)}
.avs-voice-transcript:read-only{background:#e6f0e8}
.avs-voice-preview{display:flex;flex-wrap:wrap;gap:6px;min-height:34px}
.avs-voice-chip{border:1px solid #b79b65;background:#f8ebc8;color:#234833;min-height:36px;padding:5px 10px;border-radius:9px;font:inherit;font-size:12px;font-weight:750;cursor:pointer;touch-action:manipulation}
.avs-voice-chip:hover{background:#e9c87f}
.avs-voice-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}
.avs-voice-message{margin:0;flex:1;font-size:12px;line-height:1.7;color:#d2e8d7}
.avs-voice-message.avs-voice-error{color:#ffb8af}
.avs-voice-note{margin:0;color:#a9c1b2;font-size:11px;line-height:1.8}
.avs-quicktools{display:grid;gap:7px;padding:10px 14px;background:#123b2e;border-bottom:1px solid rgba(214,181,107,.2)}
.avs-shell[data-avs-mode="advanced"] .avs-quicktools{display:none}
.avs-toolrow{display:flex;align-items:center;gap:10px;min-width:0}
.avs-tool-label{flex:0 0 50px;color:#d6b56b;font-size:12px;font-weight:800;text-align:right}
.avs-toolscroll{display:flex;align-items:center;gap:6px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;min-width:0;padding:1px 0 5px;direction:rtl;-webkit-overflow-scrolling:touch}
.avs-tool{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:42px;padding:8px 12px;background:#245641;border:1px solid #49715c;border-radius:10px;color:#f4f0e4;font:inherit;font-size:12px;font-weight:750;white-space:nowrap;cursor:pointer;touch-action:manipulation;line-height:1.3}
.avs-tool:hover,.avs-tool:focus-visible{background:#347457;color:#fff;border-color:var(--avs-accent)}
.avs-tool:disabled{opacity:.6;cursor:wait}
.avs-note-keys .avs-note{background:#f5e6bc;color:#1d4635;border-color:#ceae6c;min-width:61px;font-size:14px}
.avs-note small{font:700 10px/1 Arial,sans-serif;opacity:.7}
.avs-note-keys .avs-note:hover,.avs-note-keys .avs-note:focus-visible{background:#e7cc8a;color:#1a3b2d}
.avs-status{font-size:12px;line-height:1.7;color:#c7dacc;background:#174535;padding:7px 18px;min-height:31px}
.avs-status.avs-error{background:#5d2928;color:#ffe7e4}
.avs-status.avs-success{background:#1f6042;color:#e8fff1}
.avs-editor{display:block;width:100%;height:var(--avs-height);border:0;background:#fff;flex:none}
.avs-help{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:10px 18px;color:#b7c8bd;font-size:11px;line-height:1.6}
.avs-shell:fullscreen{width:100vw;height:100vh;max-width:100vw;border-radius:0;border:0}
.avs-shell:fullscreen .avs-editor{flex:1;height:auto;min-height:0}
.avs-shell.avs-immersive{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-width:100vw!important;max-height:100dvh!important;z-index:2147483000!important;border-radius:0!important;border:0!important}
.avs-shell.avs-immersive .avs-editor{flex:1;height:auto;min-height:0}
.avs-admin .avs-shell{margin-top:18px}
.avs-admin>p{margin:12px 0;color:#56695e}
@media(max-width:700px){.avs-shell{border-radius:12px}.avs-topbar{flex-wrap:wrap;padding:10px 12px;gap:8px}.avs-mark{width:34px;height:34px}.avs-buttons{width:100%;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;scrollbar-width:thin;padding-bottom:3px}.avs-button{flex:0 0 auto;min-height:43px;padding:9px 12px;font-size:12px;touch-action:manipulation}.avs-button.avs-fullscreen span{display:inline}.avs-modebar{padding:7px 10px}.avs-mode-button{min-height:42px;padding:8px 11px}.avs-quicktools{padding:8px}.avs-toolrow{gap:5px}.avs-tool-label{flex-basis:45px;font-size:11px}.avs-tool{min-height:46px;font-size:12px}.avs-editor{height:65dvh;min-height:380px}.avs-shell:fullscreen .avs-editor,.avs-shell.avs-immersive .avs-editor{min-height:0}.avs-help{padding:8px 10px;font-size:10px}.avs-heading strong{font-size:14px}.avs-guide[open] ol{font-size:12px}}
@media(max-width:700px){.avs-voice-panel>summary{padding:10px 12px;gap:5px}.avs-voice-panel>summary small{display:block;width:100%;padding-right:18px}.avs-voice-content{padding:12px;gap:10px}.avs-voice-actions{width:100%}.avs-voice-actions>.avs-voice-button{flex:1 1 auto;min-height:48px}.avs-voice-footer>.avs-voice-actions{justify-content:stretch}.avs-voice-footer>.avs-voice-message{flex:1 1 100%}}
