*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:#f5f5f5;color:#333;min-height:100vh}.app{max-width:960px;margin:0 auto;padding:24px 16px}.header{margin-bottom:32px}.header h1{font-size:24px;font-weight:600;margin-bottom:16px}.tabs{display:flex;gap:4px;border-bottom:2px solid #e0e0e0;padding-bottom:0}.tab{padding:10px 20px;border:none;background:transparent;cursor:pointer;font-size:15px;color:#666;border-bottom:2px solid transparent;margin-bottom:-2px;transition:color .2s,border-color .2s}.tab:hover{color:#333}.tab.active{color:#1a73e8;border-bottom-color:#1a73e8;font-weight:500}.content{background:#fff;border-radius:12px;padding:32px;box-shadow:0 1px 3px #00000014}.world-clock h2{font-size:18px;font-weight:600;margin-bottom:24px}.clock-grid{display:grid;gap:16px}.clock-card{background:#fafafa;border:1px solid #e8e8e8;border-radius:10px;padding:20px;text-align:center;transition:box-shadow .2s}.clock-card:hover{box-shadow:0 2px 8px #00000014}.clock-card:first-child{background:#e8f0fe;border-color:#c5d9f5}.city-name{font-size:16px;font-weight:600;margin-bottom:8px}.city-time{font-size:28px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.5px;margin-bottom:6px}.city-date{font-size:12px;color:#666;margin-bottom:4px}.city-offset{font-size:12px;color:#1a73e8;font-weight:500;margin-bottom:2px}.city-label{font-size:11px;color:#999}.currency-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:24px}.currency-heading h2{font-size:18px;font-weight:600;margin-bottom:8px}.currency-heading p,.rate-status,.currency-note{font-size:13px;line-height:1.7;color:#666}.refresh-rates{flex-shrink:0;padding:9px 14px;border:1px solid #c5d9f5;border-radius:8px;background:#e8f0fe;color:#1a73e8;font:inherit;font-size:13px;cursor:pointer}.refresh-rates:disabled{opacity:.6;cursor:wait}.currency-inputs{display:grid;grid-template-columns:2fr 1fr;gap:16px}.currency-field{min-width:0}.currency-field label{display:block;font-size:14px;font-weight:500;margin-bottom:8px}.currency-field input,.currency-field select{width:100%;min-height:46px;padding:10px 12px;border:1px solid #ccc;border-radius:8px;background:#fff;color:#333;font:inherit}.currency-converter :focus-visible{outline:2px solid #1a73e8;outline-offset:3px}.currency-field input[aria-invalid=true]{border-color:#b3261e}.amount-hint,.amount-error{margin-top:6px;font-size:12px;line-height:1.6}.amount-hint{color:#666}.amount-error{color:#b3261e}.rate-status{margin:20px 0 12px}.rate-warning{color:#925400}.currency-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.currency-card{background:#fafafa;border:1px solid #e8e8e8;border-radius:10px;padding:20px}.currency-card h3{font-size:16px;font-weight:600}.currency-card h3 span{font-size:12px;font-weight:400;color:#666}.converted-amount{margin:16px 0 12px;font-size:24px;font-weight:600;font-variant-numeric:tabular-nums;color:#1a73e8;overflow-wrap:anywhere}.conversion-rate{font-size:12px;line-height:1.6;overflow-wrap:anywhere}.rate-date{margin-top:6px;font-size:12px;color:#666}.currency-note{margin-top:24px}.currency-note a{color:#1a73e8}@media(max-width:640px){.content{padding:24px 16px}.currency-inputs,.currency-grid{grid-template-columns:1fr}.clock-grid{grid-template-columns:1fr!important}}
