.blood-pressure-classifier-container{--bg-primary:#f5f5f0;--bg-secondary:#fff;--bg-section:#fff;--border-color:#333;--dot-border:rgba(0,0,0,0.1);--text-primary:#222;--text-secondary:#555;--text-light:#666;--placeholder-color:#999;--color-accent:#3498db;--color-success:#27ae60;--color-warning:#f39c12;--color-danger:#e74c3c;--color-purple:#9b59b6;--bp-normal:#27ae60;--bp-elevated:#f1c40f;--bp-stage1:#f39c12;--bp-stage2:#e67e22;--bp-crisis:#c0392b;--shadow-sm:2px 2px 0 rgba(0,0,0,0.1);--shadow-md:4px 4px 0 rgba(0,0,0,0.15);--shadow-lg:8px 8px 0 rgba(0,0,0,0.15);--radius-container:8px;--radius-section:6px;--radius-button:4px;--radius-input:4px;--input-focus-bg:#fffacd;--title-color:#2c3e50;--btn-hover-overlay:rgba(0,0,0,0.1)}.blood-pressure-classifier-container.dark{--bg-primary:#1a1a1a;--bg-secondary:#2d2d2d;--bg-section:#2d2d2d;--border-color:#e0e0e0;--dot-border:#e0e0e0;--text-primary:#e8e8e8;--text-secondary:#b0b0b0;--text-light:#909090;--placeholder-color:#666;--color-accent:#5dade2;--color-success:#52c77a;--color-warning:#f5b041;--color-danger:#ec7063;--color-purple:#af7ac5;--bp-normal:#4cd137;--bp-elevated:#fcd546;--bp-stage1:#f39c12;--bp-stage2:#e67e22;--bp-crisis:#e74c3c;--shadow-sm:2px 2px 0 rgba(255,255,255,0.08);--shadow-md:4px 4px 0 rgba(255,255,255,0.12);--shadow-lg:8px 8px 0 rgba(255,255,255,0.12);--input-focus-bg:#3a3a3a;--title-color:#7fb3d5}@media (prefers-color-scheme:dark){.blood-pressure-classifier-container:not(.dark):not(.light){--bg-primary:#1a1a1a;--bg-secondary:#2d2d2d;--bg-section:#2d2d2d;--border-color:#e0e0e0;--dot-border:#e0e0e0;--text-primary:#e8e8e8;--text-secondary:#b0b0b0;--text-light:#909090;--placeholder-color:#666;--color-accent:#5dade2;--color-success:#52c77a;--color-warning:#f5b041;--color-danger:#ec7063;--color-purple:#af7ac5;--bp-normal:#4cd137;--bp-elevated:#fcd546;--bp-stage1:#f39c12;--bp-stage2:#e67e22;--bp-crisis:#e74c3c;--shadow-sm:2px 2px 0 rgba(255,255,255,0.08);--shadow-md:4px 4px 0 rgba(255,255,255,0.12);--shadow-lg:8px 8px 0 rgba(255,255,255,0.12);--input-focus-bg:#3a3a3a;--title-color:#7fb3d5}}.blood-pressure-classifier-container,.blood-pressure-classifier-container *{box-sizing:border-box}.blood-pressure-classifier-container{position:relative;max-width:800px;width:100%;margin:8px auto;padding:8px;background:var(--bg-primary);border:2px solid var(--border-color);border-radius:var(--radius-container);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Malgun Gothic',sans-serif;color:var(--text-primary);box-shadow:var(--shadow-lg);line-height:1.5}.dark-mode-toggle{position:absolute;top:10px;right:10px;padding:6px 10px;background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:8px;cursor:pointer;transition:all 0.2s;box-shadow:2px 2px 0 rgba(0,0,0,.15);font-size:17.5px;font-weight:600;color:var(--text-primary);z-index:10}.dark-mode-toggle:hover{transform:translate(.5px,.5px);box-shadow:1.5px 1.5px 0 rgba(0,0,0,.15)}.dark-mode-toggle:active{transform:translate(2px,2px);box-shadow:none}.header{margin-bottom:16px;padding:0 4px}.main-title{margin:0 0 4px 0;font-size:28px;font-weight:800;color:var(--title-color);letter-spacing:-.5px}.subtitle{margin:0;font-size:17px;color:var(--text-secondary)}.main-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.input-section,.result-section{background:var(--bg-section);padding:8px;border:1px solid var(--border-color);border-radius:var(--radius-section);box-shadow:var(--shadow-md);display:flex;flex-direction:column}.section-header{display:flex;align-items:center;gap:6px;margin-bottom:8px;padding-bottom:6px;border-bottom:1px solid var(--border-color);font-size:17px;font-weight:600;color:var(--text-primary)}.section-header svg{stroke:var(--color-accent)}.input-group{margin-bottom:8px}.input-group label{display:block;margin-bottom:4px;font-size:16px;font-weight:500;color:var(--text-primary)}.input-group input{width:100%;padding:7px;border:1px solid var(--border-color);border-radius:var(--radius-input);background:var(--bg-secondary);color:var(--text-primary);font-size:18px;font-family:'Courier New',monospace;font-weight:700;transition:all 0.2s;box-shadow:var(--shadow-sm)}.input-group input::placeholder{color:var(--placeholder-color);opacity:1}.input-group input:focus{outline:none;border-color:var(--color-accent);background:var(--input-focus-bg);box-shadow:0 0 0 2px rgba(52,152,219,.1)}.input-description{margin-top:4px;font-size:14.5px;color:var(--text-light)}.calculate-btn{width:100%;padding:8px 16px;margin-top:8px;background:var(--color-accent);color:#fff;border:1.5px solid var(--border-color);border-radius:var(--radius-button);font-size:18px;font-weight:600;cursor:pointer;transition:all 0.15s;box-shadow:4px 4px 0 rgba(0,0,0,.2)}.calculate-btn:hover{filter:brightness(1.05);transform:translate(1px,1px);box-shadow:3px 3px 0 rgba(0,0,0,.2)}.calculate-btn:active{transform:translate(4px,4px);box-shadow:none}.button-group{display:flex;gap:6px;margin-top:6px}.sample-btn,.reset-btn{flex:1;padding:6px 12px;font-size:16px;font-weight:500;border:1px solid var(--border-color);border-radius:var(--radius-button);cursor:pointer;box-shadow:2px 2px 0 rgba(0,0,0,.2);transition:all 0.15s}.sample-btn{background:var(--color-success);color:#fff}.reset-btn{background:var(--color-warning);color:#fff}.sample-btn:hover,.reset-btn:hover{transform:translate(.5px,.5px);box-shadow:1.5px 1.5px 0 rgba(0,0,0,.2)}.sample-btn:active,.reset-btn:active{transform:translate(2px,2px);box-shadow:none}.result-content{display:flex;flex-direction:column;height:100%}.result-item{padding:8px;margin-bottom:8px;background:var(--bg-primary);border:1px solid var(--border-color);border-radius:var(--radius-button);text-align:center}.result-label{display:block;font-size:15.5px;color:var(--text-secondary);margin-bottom:4px}.result-value{display:block;font-size:26px;font-weight:800;color:var(--text-primary);line-height:1.2}.bp-gauge-container{position:relative;margin:10px 0 20px 0;padding:0 10px}.bp-gauge-bar{display:flex;height:20px;border:1px solid var(--border-color);border-radius:10px;overflow:hidden}.bp-gauge-segment{flex:1;height:100%}.segment-normal{background:var(--bp-normal)}.segment-elevated{background:var(--bp-elevated)}.segment-stage1{background:var(--bp-stage1)}.segment-stage2{background:var(--bp-stage2)}.segment-crisis{background:var(--bp-crisis)}.bp-gauge-marker{position:absolute;top:20px;left:0;transform:translateX(-50%);font-size:16px;color:var(--text-primary);transition:left 0.5s ease;opacity:0}.bp-gauge-marker.visible{opacity:1}.advice-box{flex-grow:1;padding:8px;background:var(--bg-secondary);border:1px dashed var(--border-color);border-radius:var(--radius-button);margin-bottom:8px}.advice-title{display:block;font-weight:700;font-size:16px;color:var(--color-accent);margin-bottom:4px}.advice-text{margin:0;font-size:15.5px;color:var(--text-primary);line-height:1.4}.copy-btn-large,.save-image-btn{width:100%;padding:8px;border:1px solid var(--border-color);border-radius:var(--radius-button);font-size:16px;font-weight:600;cursor:pointer;margin-bottom:6px;transition:all 0.15s;box-shadow:2px 2px 0 rgba(0,0,0,.2)}.copy-btn-large{background:var(--bg-secondary);color:var(--text-primary)}.save-image-btn{background:var(--color-purple);color:#fff;margin-bottom:0}.copy-btn-large:hover,.save-image-btn:hover{filter:brightness(1.05);transform:translate(.5px,.5px);box-shadow:1.5px 1.5px 0 rgba(0,0,0,.2)}.copy-btn-large:active,.save-image-btn:active{transform:translate(2px,2px);box-shadow:none}.info-section{margin-top:16px;padding:10px;background:var(--bg-section);border:1px solid var(--border-color);border-radius:var(--radius-section)}.info-section h3{margin:0 0 8px 0;font-size:17px;color:var(--text-primary)}.info-section ul{margin:0;padding-left:0;list-style:none}.info-section li{display:flex;align-items:center;margin-bottom:4px;font-size:15px;color:var(--text-secondary)}.dot{width:10px;height:10px;border-radius:50%;margin-right:8px;border:1px solid var(--dot-border)}.dot.normal{background:var(--bp-normal)}.dot.elevated{background:var(--bp-elevated)}.dot.stage1{background:var(--bp-stage1)}.dot.stage2{background:var(--bp-stage2)}.dot.crisis{background:var(--bp-crisis)}.watermark{position:absolute;bottom:10px;right:10px;font-size:13px;font-weight:500;color:var(--text-light);opacity:.6;pointer-events:none}.toast{position:fixed;bottom:20px;right:20px;padding:10px 16px;background:var(--text-primary);color:var(--bg-primary);border:1px solid var(--border-color);border-radius:var(--radius-button);font-size:16px;font-weight:500;box-shadow:4px 4px 0 rgba(0,0,0,.3);z-index:1000;opacity:0;visibility:hidden;transition:all 0.3s}.toast.show{opacity:1;visibility:visible;transform:translateY(-5px)}.toast.success{background:var(--color-success);color:#fff}.toast.error{background:var(--color-danger);color:#fff}.save-image-btn.capturing{display:none}@media (max-width:768px){.blood-pressure-classifier-container{margin:6px 5px;padding:7px;width:calc(100% - 10px)}.main-grid{grid-template-columns:1fr;gap:6px}.main-title{font-size:24px}.result-value{font-size:24px}}@media (max-width:480px){.blood-pressure-classifier-container{margin:5px 3px;padding:6px;border-width:1px}.input-section,.result-section{padding:6px;border-width:1px}.calculate-btn{padding:7px 14px;font-size:17px}}