:root{color-scheme:light;font-family:Inter,system-ui,sans-serif;line-height:1.5;color:#162033;background:#f5f7fb}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:linear-gradient(180deg,#f8faff,#eef3fb)}button,input,select,textarea{font:inherit}.page-shell{max-width:680px;margin:0 auto;padding:40px 24px}.topbar,.section-title-row,.button-row,.check-row,.date-pills{display:flex;align-items:center;justify-content:space-between;gap:12px}.topbar-brand{display:flex;align-items:center;gap:1rem}.topbar-logo{height:64px;width:auto}.rate-badge-col{display:flex;flex-direction:column;align-items:flex-end;gap:.5rem}.topbar{margin-bottom:28px;width:100%;max-width:640px;margin-left:auto;margin-right:auto}.topbar-actions{display:flex;align-items:center;gap:8px}.eyebrow{margin:0;color:#5070c8;font-weight:700;text-transform:uppercase;letter-spacing:.08em;font-size:.75rem}h1,h2,h3,p{margin-top:0}.content-grid{display:grid;grid-template-columns:2fr 1fr;gap:20px}.content-grid.public-only{grid-template-columns:minmax(0,640px);justify-content:center}.admin-layout{max-width:680px;margin:0 auto;padding:0 24px}.admin-tabs{display:flex;gap:6px;margin-bottom:16px}.tab-btn{border:2px solid #d6def0;border-radius:999px;padding:8px 20px;cursor:pointer;background:#eaf0ff;color:#244195;font-weight:600;font-size:.9rem;transition:background .15s,border-color .15s,color .15s}.tab-btn:hover{background:#d4e2ff;border-color:#a8bff0}.tab-btn.active{background:#2f67ff;border-color:#2f67ff;color:#fff}.hint-text{color:#5070c8;margin:0}.admin-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:16px}.date-table-wrap{max-height:420px;overflow-y:auto;border:1px solid #d6def0;border-radius:12px}.date-table{width:100%;border-collapse:collapse;font-size:.9rem}.date-table th{position:sticky;top:0;background:#edf4ff;text-align:left;padding:8px 12px;font-weight:700}.date-table td{padding:6px 12px;border-top:1px solid #eef2fa}.date-table .row-active{background:#f0f5ff}.link-button{background:none;border:none;color:#2f67ff;cursor:pointer;font:inherit;padding:0;text-decoration:underline}.card{background:#fff;border-radius:18px;padding:20px;box-shadow:0 12px 40px #1f336614;overflow:hidden}.form-grid,.currency-grid{display:grid;gap:16px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:18px}.currency-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.currency-panel,.stack,label{display:flex;flex-direction:column;gap:8px}input,textarea{width:100%;border:1px solid #d6def0;border-radius:12px;padding:10px 12px;background:#fbfcff}textarea{resize:vertical}.currency-list{list-style:none;margin:0;padding:0;max-height:220px;overflow-y:auto;border:1px solid #d6def0;border-radius:12px;background:#fbfcff}.currency-item{padding:8px 12px;cursor:pointer;border-bottom:1px solid #eef2fa;font-size:.9rem}.currency-item:last-child{border-bottom:none}.currency-item:hover{background:#edf4ff}.currency-item.active{background:#2f67ff;color:#fff}.currency-item.empty{color:#888;cursor:default}.admin-button,.primary-button,.ghost-button,.pill{border:0;border-radius:999px;padding:10px 14px;cursor:pointer}.admin-button,.primary-button,.pill.active{background:#2f67ff;color:#fff}.ghost-button,.pill{background:#eaf0ff;color:#244195}.rate-badge{background:#edf4ff;color:#22428e;border-radius:999px;padding:8px 12px;font-weight:700}.result-card{margin-top:18px;padding:16px;border-radius:16px;background:#111b34;color:#fff}.result-label{opacity:.75}.result-value{margin-bottom:0;font-size:1.5rem}.hint-box{margin-top:18px;padding-top:14px;border-top:1px solid #e6ebf7}.date-pills{flex-wrap:wrap;justify-content:flex-start;margin-top:10px}.pill-group{display:inline-flex;align-items:center;gap:0}.pill-group .pill{border-radius:999px 0 0 999px}.pill-delete{border:0;border-radius:0 999px 999px 0;padding:10px;cursor:pointer;background:#fde8e8;color:#b42318;font-weight:700;font-size:1rem;line-height:1}.pill-delete:hover{background:#f9bcbc}.selected-label{margin:0;padding:8px 12px;background:#edf4ff;border-radius:10px;font-weight:600;color:#22428e;font-size:.9rem}.success-text{color:#2f7a38;font-weight:600}.file-name-badge{margin:6px 0 0;padding:6px 10px;background:#edf4ff;border-radius:8px;font-size:.85rem;color:#22428e;font-weight:600}.helper-text,.success-text{color:#2f7a38}.error-text{color:#b42318}.success-text{color:#067647}.notes-card ul{padding-left:18px;margin-bottom:0}.converter-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:20px}.converter-header h2{margin:0 0 4px}.rate-display{margin:0;color:#5070c8;font-weight:600;font-size:.95rem}.period-label{margin:3px 0 0;font-size:.78rem;color:#6b7a99}.date-label{flex-shrink:0;display:flex;flex-direction:column;align-items:center;gap:4px}.date-label-text{font-size:.78rem;color:#6b7a99;font-weight:500}.date-label input[type=date]{width:auto;min-width:150px}.wise-converter{position:relative}.wise-row{border:1px solid #d6def0;border-radius:14px;padding:12px 16px;background:#fbfcff}.wise-row+.wise-swap-row+.wise-row{margin-top:0}.wise-row-label{font-size:.8rem;color:#6b7a99;font-weight:500;margin-bottom:6px;text-transform:uppercase;letter-spacing:.04em}.wise-row-fields{display:flex;align-items:center;gap:0}.wise-amount{flex:1;border:none;background:transparent;font-size:1.6rem;font-weight:600;padding:4px 0;outline:none;min-width:0;color:#162033}.wise-amount-result{color:#5070c8}.wise-amount:focus{outline:none}.wise-currency-select{position:relative;flex-shrink:0}.wise-currency-btn{display:flex;align-items:center;gap:6px;border:none;background:#edf4ff;border-radius:999px;padding:8px 14px;cursor:pointer;font-size:1rem;font-weight:700;color:#22428e;transition:background .15s}.wise-currency-btn:hover{background:#d9e6ff}.wise-currency-code{font-size:1rem}.wise-chevron{font-size:.85rem;opacity:.6}.wise-dropdown{position:absolute;top:calc(100% + 6px);right:0;width:300px;max-height:360px;background:#fff;border-radius:14px;box-shadow:0 12px 40px #1f33662e;border:1px solid #d6def0;z-index:100;display:flex;flex-direction:column;overflow:hidden}.wise-dropdown-portal{position:fixed;width:320px;max-height:480px;z-index:9999}.wise-dropdown-search{border:none;border-bottom:1px solid #e6ebf7;border-radius:0;padding:12px 14px;font-size:.95rem;outline:none;background:#fff}.wise-dropdown-list{list-style:none;margin:0;padding:0;overflow-y:auto;flex:1}.wise-dropdown-item{padding:10px 14px;cursor:pointer;border-bottom:1px solid #f0f3fa;font-size:.9rem;display:flex;align-items:center;gap:8px}.wise-dropdown-item:last-child{border-bottom:none}.wise-dropdown-item:hover{background:#edf4ff}.wise-dropdown-item.active{background:#2f67ff;color:#fff}.wise-dropdown-item.empty{color:#888;cursor:default}.wise-dropdown-item strong{min-width:40px}.wise-swap-row{display:flex;justify-content:center;margin:-8px 0;position:relative;z-index:2}.wise-swap-btn{width:40px;height:40px;border-radius:50%;border:2px solid #d6def0;background:#fff;cursor:pointer;font-size:1.2rem;color:#2f67ff;display:flex;align-items:center;justify-content:center;transition:background .15s,transform .15s}.wise-swap-btn:hover{background:#edf4ff;transform:rotate(180deg)}@media (max-width: 900px){.page-shell{padding:12px}.content-grid,.admin-form-grid{grid-template-columns:1fr}.section-title-row,.converter-header{align-items:flex-start;flex-direction:column}.topbar{flex-direction:row;align-items:center}.topbar-actions{justify-content:flex-end}.topbar-logo{height:40px}input,input[type=date],input[type=number],input[type=text],input[type=email],input[type=password],textarea{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;font-size:16px!important}input[type=date]{-webkit-appearance:none;-moz-appearance:none;appearance:none;overflow:hidden!important}.wise-amount{font-size:1.3rem!important;width:0!important;flex:1!important}.wise-dropdown{width:calc(100vw - 48px);right:auto;left:50%;transform:translate(-50%);max-height:50vh}.converter-card{overflow:visible!important;max-width:100%!important}.card{overflow:visible;max-width:100%;min-width:0}.page-shell{max-width:100vw;overflow-x:hidden}.result-card{text-align:center}.result-value{font-size:1.1rem;word-break:break-word}.button-row{flex-direction:column}.button-row button{width:100%}.date-table-wrap{overflow-x:auto}}
