@tailwind base;@tailwind components;@tailwind utilities;:root{--color-primary: #0D9488;--color-primary-hover: #0F766E;--color-secondary: #14B8A6;--color-cta: #F97316;--color-cta-hover: #EA580C;--color-text: #134E4A;--color-text-muted: #475569;--color-surface: #F0FDFA;--color-surface-elevated: #ffffff;--color-border: #CCFBF1;--focus-ring: 0 0 0 2px var(--color-surface-elevated), 0 0 0 4px var(--color-primary);--transition-fast: .15s ease-out;--transition-normal: .2s ease-out;--toolbar-radius: 16px;--toolbar-shadow: 0 2px 12px rgba(13, 148, 136, .08);--toolbar-shadow-dark: 0 4px 24px rgba(0, 0, 0, .32);font-family:Plus Jakarta Sans,system-ui,-apple-system,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:var(--color-text);background-color:var(--color-surface);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--sidebar-bg: rgba(240, 253, 250, .94);--sidebar-text: #134E4A;--sidebar-border: #99F6E4;--filebar-bg: rgba(240, 253, 250, .88);--filebar-text: #134E4A;--filebar-border: #99F6E4;--accent-color: var(--color-primary);--shape-stroke: #3a3a3c;--shape-bg: #ffffff;--dropdown-bg: #ffffff;--dropdown-text: #134E4A;--dropdown-border: #CCFBF1;--dropdown-hover-bg: #F0FDFA;--shape-hover-bg: var(--color-primary);--shape-hover-text: #fff;--tab-underline: var(--color-primary);--card-bg: #F0FDFA;--button-border: rgba(13, 148, 136, .18);--button-hover-bg: rgba(13, 148, 136, .08);--toolbar-bg: rgba(255, 255, 255, .82);--toolbar-text: #134E4A;--toolbar-border: rgba(13, 148, 136, .12);--toolbar-btn-hover: rgba(13, 148, 136, .1);--hint-bg: #FEF3C7;--hint-text: #92400E;--hint-border: #FDE68A}.format-sidebar{--sidebar-bg: rgba(246, 246, 246, .96);--sidebar-text: #0f172a;--sidebar-text-muted: #475569;--sidebar-border: rgba(0, 0, 0, .1);--sidebar-accent: #007aff;--card-bg: rgba(255, 255, 255, .88);--tab-underline: #1d1d1f;--button-border: rgba(0, 0, 0, .12);--button-hover-bg: rgba(0, 0, 0, .06);--dropdown-bg: #ffffff;--dropdown-text: #1d1d1f;--dropdown-border: rgba(0, 0, 0, .12);--dropdown-hover-bg: rgba(0, 0, 0, .04);--shape-hover-bg: rgba(0, 0, 0, .08);--shape-hover-text: #1d1d1f}@media (prefers-color-scheme: dark){.format-sidebar{--sidebar-bg: rgba(40, 40, 42, .96);--sidebar-text: #f5f5f7;--sidebar-text-muted: #98989d;--sidebar-border: rgba(255, 255, 255, .12);--sidebar-accent: #0a84ff;--card-bg: rgba(58, 58, 60, .88);--tab-underline: #f5f5f7;--button-border: rgba(255, 255, 255, .15);--button-hover-bg: rgba(255, 255, 255, .08);--dropdown-bg: #3a3a3c;--dropdown-text: #f5f5f7;--dropdown-border: rgba(255, 255, 255, .12);--dropdown-hover-bg: rgba(255, 255, 255, .06);--shape-hover-bg: rgba(255, 255, 255, .12);--shape-hover-text: #f5f5f7}}@media (prefers-color-scheme: dark){:root{--color-text: #F0FDFA;--color-text-muted: #99F6E4;--color-surface: #134E4A;--color-surface-elevated: #1a3a38;--color-border: #115E59;--focus-ring: 0 0 0 2px #134E4A, 0 0 0 4px var(--color-secondary);color:var(--color-text);background-color:#1c1c1e;--sidebar-bg: rgba(26, 58, 56, .94);--sidebar-text: #F0FDFA;--sidebar-border: #115E59;--filebar-bg: rgba(26, 58, 56, .88);--filebar-text: #F0FDFA;--filebar-border: #115E59;--accent-color: var(--color-secondary);--shape-stroke: #f2f2f7;--shape-bg: #2c2c2e;--dropdown-bg: #1a3a38;--dropdown-text: #F0FDFA;--dropdown-border: #115E59;--dropdown-hover-bg: #134E4A;--shape-hover-bg: var(--color-secondary);--shape-hover-text: #fff;--tab-underline: var(--color-secondary);--card-bg: #1a3a38;--button-border: rgba(20, 184, 166, .2);--button-hover-bg: rgba(20, 184, 166, .12);--toolbar-bg: rgba(26, 58, 56, .82);--toolbar-text: #F0FDFA;--toolbar-border: rgba(20, 184, 166, .15);--toolbar-btn-hover: rgba(20, 184, 166, .15);--hint-bg: rgba(146, 64, 14, .25);--hint-text: #FDE68A;--hint-border: rgba(253, 230, 138, .3)}}body{margin:0;min-width:320px;min-height:100vh}a{font-weight:500;color:var(--color-primary);text-decoration:inherit;transition:color var(--transition-fast)}a:hover{color:var(--color-primary-hover)}button{font-family:inherit;cursor:pointer}html,body,#root{width:100%;height:100%;margin:0;padding:0}#root{max-width:none;text-align:initial}button:focus-visible,[role=button]:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:none;box-shadow:var(--focus-ring)}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.welcome-screen{width:100vw;height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f0fdfa,#ccfbf1,#99f6e4);position:relative;overflow:hidden}.welcome-screen:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 20% 80%,rgba(13,148,136,.08) 0%,transparent 50%),radial-gradient(circle at 80% 20%,rgba(249,115,22,.06) 0%,transparent 50%);pointer-events:none}.welcome-card{position:relative;max-width:400px;width:calc(100% - 48px);padding:40px 36px;border-radius:20px;background:var(--color-surface-elevated);border:1px solid var(--color-border);box-shadow:0 8px 32px #0d94881f;text-align:center}.welcome-logo{width:56px;height:56px;margin:0 auto 20px;border-radius:14px;background:linear-gradient(135deg,var(--color-primary),var(--color-secondary));display:flex;align-items:center;justify-content:center;box-shadow:0 4px 16px #0d948840}.welcome-logo svg{width:32px;height:32px;color:#fff}.welcome-title{font-weight:700;font-size:1.75rem;color:var(--color-text);margin:0 0 8px;letter-spacing:-.02em}.welcome-subtitle{color:var(--color-text-muted);margin:0 0 32px;font-size:.9375rem;line-height:1.6}.welcome-cta{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;height:48px;border-radius:12px;background:var(--color-primary);color:#fff;font-weight:600;font-size:1rem;font-family:inherit;border:none;cursor:pointer;transition:background var(--transition-normal),transform var(--transition-fast)}.welcome-cta svg{transition:transform var(--transition-normal)}.welcome-cta:hover{background:var(--color-primary-hover)}.welcome-cta:hover svg{transform:translate(3px)}.welcome-cta:active{transform:scale(.98)}.welcome-lang-btn{position:absolute;top:20px;right:20px;z-index:1;display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:10px;border:1px solid var(--color-border);background:var(--color-surface-elevated);color:var(--color-text);font-size:.875rem;font-family:inherit;font-weight:500;cursor:pointer;box-shadow:0 2px 8px #0d948814;transition:background var(--transition-normal),border-color var(--transition-normal)}.welcome-lang-btn:hover{background:var(--dropdown-hover-bg);border-color:var(--color-primary)}.welcome-lang-btn svg{width:18px;height:18px;color:var(--color-primary)}.canvas-loading{width:100vw;height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;background:var(--color-surface);color:var(--color-text-muted);font-size:.9375rem}.canvas-loading-spinner{width:32px;height:32px;border:3px solid var(--color-border);border-top-color:var(--color-primary);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion: reduce){.canvas-loading-spinner{animation:none;border-top-color:var(--color-primary);opacity:.7}}.linking-hint{position:absolute;top:80px;left:16px;z-index:50;padding:8px 14px;border-radius:10px;background:var(--hint-bg);color:var(--hint-text);border:1px solid var(--hint-border);font-size:.8125rem;font-weight:500;box-shadow:var(--toolbar-shadow);pointer-events:none}.file-tab{transition:background var(--transition-normal),color var(--transition-normal)}.file-tab:not(.active):hover{background:var(--button-hover-bg)!important}.file-tab.active{box-shadow:0 1px 4px #0d948833}html,body{-webkit-overflow-scrolling:auto;overscroll-behavior:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.canvas-container{overscroll-behavior:none;touch-action:none;-webkit-overflow-scrolling:auto;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):not([type=reset]):not([type=file]),textarea,select,[contenteditable=true],[contenteditable=""]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.canvas-content{-webkit-overflow-scrolling:auto;overscroll-behavior:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
