.header{background-color:#fff;border-bottom:1px solid #e0e0e0;padding:1rem 1.5rem;box-shadow:0 2px 4px #0000001a}.header-content{display:flex;justify-content:space-between;align-items:center;max-width:1200px;margin:0 auto}.header-title{font-size:1.5rem;font-weight:600;color:#333;margin:0}.header-actions{display:flex;gap:.75rem}.header-stats{display:flex;gap:1.5rem;margin-top:.75rem;padding-top:.75rem;border-top:1px solid #f0f0f0;font-size:.875rem;color:#666}.stat-item{display:flex;align-items:center;gap:.25rem}.error-count{color:#dc3545;font-weight:600}.btn{padding:.5rem 1rem;border:none;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease;text-decoration:none;display:inline-flex;align-items:center;gap:.25rem}.btn-primary{background-color:#007acc;color:#fff}.btn-primary:hover{background-color:#005a9e;transform:translateY(-1px)}.btn-secondary{background-color:#f8f9fa;color:#333;border:1px solid #dee2e6}.btn-secondary:hover{background-color:#e9ecef;border-color:#adb5bd}.layout.desktop{flex:1;display:flex;flex-direction:column}.desktop-layout{flex:1;display:flex;max-width:1200px;margin:0 auto;width:100%}.desktop-content{display:grid;grid-template-columns:1fr 1fr;gap:0;height:calc(100vh - 120px)}.layout.mobile,.mobile-layout{flex:1;display:flex;flex-direction:column}.mobile-tabs{display:flex;background-color:#f8f9fa;border-bottom:1px solid #dee2e6}.tab-button{flex:1;padding:1rem;border:none;background-color:transparent;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s ease;color:#666}.tab-button.active{background-color:#fff;color:#007acc;border-bottom:2px solid #007acc}.tab-button:hover:not(.active){background-color:#e9ecef;color:#333}.mobile-content{flex:1;overflow:hidden}.editor-container{display:flex;flex-direction:column;height:100%;border-right:1px solid #e0e0e0}.editor-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;background-color:#f8f9fa;border-bottom:1px solid #e0e0e0}.editor-title{font-size:1.125rem;font-weight:600;color:#333;margin:0}.loading-indicator{display:flex;align-items:center;gap:.5rem}.loading-text{font-size:.875rem;color:#666}.editor-wrapper{position:relative;flex:1;overflow:hidden}.editor-textarea{width:100%;height:100%;padding:1.5rem;border:none;resize:none;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.875rem;line-height:1.6;background-color:#fff;color:#333}.editor-textarea:focus{outline:none}.editor-textarea::placeholder{color:#999}.lint-overlay{position:absolute;inset:0;pointer-events:none}.lint-marker{position:absolute;width:4px;height:16px;background-color:red;border-radius:2px;opacity:.7}.preview-container{display:flex;flex-direction:column;height:100%}.preview-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;background-color:#f8f9fa;border-bottom:1px solid #e0e0e0}.preview-title{font-size:1.125rem;font-weight:600;color:#333;margin:0}.lint-summary{display:flex;align-items:center;gap:.5rem}.lint-count{font-size:.875rem;color:#666;background-color:#e9ecef;padding:.25rem .5rem;border-radius:4px}.preview-content{flex:1;overflow-y:auto;padding:1.5rem;background-color:#fff}.preview-html{max-width:none;word-wrap:break-word}.preview-empty{display:flex;align-items:center;justify-content:center;height:100%;color:#999;font-style:italic}.preview-html h1,.preview-html h2,.preview-html h3,.preview-html h4,.preview-html h5,.preview-html h6{margin:1.5rem 0 .75rem;font-weight:600;line-height:1.3}.preview-html h1{font-size:1.875rem}.preview-html h2{font-size:1.5rem}.preview-html h3{font-size:1.25rem}.preview-html h4{font-size:1.125rem}.preview-html h5{font-size:1rem}.preview-html h6{font-size:.875rem}.preview-html p{margin:.75rem 0;line-height:1.6}.preview-html ul,.preview-html ol{margin:.75rem 0;padding-left:1.5rem}.preview-html li{margin:.25rem 0}.preview-html blockquote{margin:1rem 0;padding:.75rem 1rem;border-left:4px solid #007acc;background-color:#f8f9fa;color:#666}.preview-html code{background-color:#f1f3f4;padding:.125rem .25rem;border-radius:3px;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.875em}.preview-html pre{background-color:#f8f9fa;padding:1rem;border-radius:6px;overflow-x:auto;margin:1rem 0}.preview-html pre code{background-color:transparent;padding:0}.preview-html table{width:100%;border-collapse:collapse;margin:1rem 0}.preview-html th,.preview-html td{padding:.75rem;text-align:left;border:1px solid #dee2e6}.preview-html th{background-color:#f8f9fa;font-weight:600}.preview-html hr{margin:2rem 0;border:none;border-top:1px solid #dee2e6}.preview-html a{color:#007acc;text-decoration:none}.preview-html a:hover{text-decoration:underline}.preview-html img{max-width:100%;height:auto;border-radius:4px}.lint-error{background-color:#ff00001a!important;border-left:3px solid #ff0000!important;padding-left:.5rem!important}.lint-warning{background-color:#ffa5001a!important;border-left:3px solid #ffa500!important;padding-left:.5rem!important}.error-message{position:fixed;bottom:1rem;right:1rem;background-color:#dc3545;color:#fff;padding:1rem;border-radius:6px;box-shadow:0 4px 12px #00000026;z-index:1000}@media(max-width:959px){.desktop-content{display:none}.header-content{flex-direction:column;gap:1rem;align-items:flex-start}.header-actions{width:100%;justify-content:flex-end}.header-stats{flex-wrap:wrap;gap:1rem}}@media(max-width:479px){.header{padding:1rem}.header-title{font-size:1.25rem}.btn{padding:.5rem .75rem;font-size:.8rem}.editor-header,.preview-header{padding:.75rem 1rem}.editor-textarea,.preview-content{padding:1rem}.tab-button{padding:.75rem;font-size:.875rem}}*{margin:0;padding:0;box-sizing:border-box}html{font-size:16px;line-height:1.6}body{font-family:Hiragino Sans,Hiragino Kaku Gothic ProN,Yu Gothic,Meiryo,sans-serif;background-color:#fff;color:#333;min-height:100vh}.app{min-height:100vh;display:flex;flex-direction:column}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#a8a8a8}*:focus{outline:2px solid #007acc;outline-offset:2px}::selection{background-color:#007acc;color:#fff}@media(max-width:959px){html{font-size:14px}}@media(max-width:479px){html{font-size:13px}}
