@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Myanmar:wght@400;500;600;700&display=swap');
:root{--bg:#f5f7f4;--card:#fff;--ink:#183b33;--muted:#75827c;--line:#e5eae5;--green:#176b58;--soft:#eaf3ec}*{box-sizing:border-box}body{margin:0;background:#e6ebe5;color:var(--ink);font:14px 'Noto Sans Myanmar',sans-serif;line-height:1.8}body.dark{--bg:#13221e;--card:#1c3029;--ink:#e6f0e9;--muted:#a3b4ab;--line:#31473c;--soft:#284438;--green:#80cbb0;background:#0c1713}.shell{max-width:460px;min-height:100dvh;margin:auto;background:var(--bg);box-shadow:0 0 80px #163b3310}header{height:90px;padding:20px 24px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;align-items:center;color:var(--ink);text-decoration:none;font-size:20px;font-weight:700}.brand>b{background:var(--green);color:var(--card);border-radius:13px;width:44px;height:44px;text-align:center;font-size:26px}.brand span{color:#d5eab5}.brand small{display:block;font-size:10px;font-weight:400;color:var(--muted)}button,input,textarea,select{font:inherit}button,a,input,textarea,select{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);border-radius:12px;background:var(--card);color:var(--ink);padding:10px 14px}button:hover{filter:brightness(.95)}button:disabled{opacity:.5;cursor:wait}button.primary{background:var(--green);color:var(--card);border-color:transparent}.danger{color:#c15746}.full{width:100%}main{padding:24px 22px 125px}h1{font-size:25px;margin:5px 0 8px;letter-spacing:-.7px}h2{font-size:16px;margin:0 0 14px}h3{font-size:15px;margin:6px 0}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:var(--green)}p{margin:6px 0 16px}.muted,small{color:var(--muted)}.hero{background:#176b58;color:#fff;border-radius:22px;padding:24px;margin:24px 0;position:relative;overflow:hidden}.hero:after{content:'✦';position:absolute;right:12px;top:4px;font-size:100px;color:#ffffff15}.hero p{max-width:260px;font-size:12px;color:#d6e9de}.hero button{background:#ddefcd;color:#174638;border:0}.grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.card{background:var(--card);padding:19px;border-radius:18px;border:1px solid var(--line);margin-bottom:14px}.tool{display:block;text-decoration:none;color:var(--ink);min-height:160px;margin:0}.icon{display:grid;place-items:center;border-radius:13px;width:43px;height:43px;font-size:23px;background:var(--soft);color:var(--green);margin-bottom:16px}.tool:nth-child(2) .icon{background:#eeeafb;color:#7b65a7}.tool:nth-child(3) .icon{background:#fbede3;color:#b7804b}.tool small{font-size:11px}.row{display:flex;align-items:center;justify-content:space-between;gap:10px}.section{margin:25px 0 14px}.badge{font-size:10px;padding:3px 9px;background:var(--soft);color:var(--green);border-radius:20px}input,textarea,select{width:100%;background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:12px;color:var(--ink);margin:8px 0 12px}textarea{resize:vertical;min-height:110px}label{display:block;font-size:12px}nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(460px,100%);display:flex;justify-content:space-around;background:var(--card);border-top:1px solid var(--line);padding:12px 6px max(15px,env(safe-area-inset-bottom));z-index:5}nav a{display:flex;align-items:center;flex-direction:column;color:var(--muted);font-size:10px;text-decoration:none;width:20%;gap:4px}nav a span{font-size:21px;line-height:1.3;padding:3px 14px;border-radius:12px}nav a.active{color:var(--green);font-weight:700}nav a.active span{background:var(--soft)}#toast{position:fixed;bottom:105px;left:50%;transform:translateX(-50%);background:#183b33;color:white;border-radius:12px;padding:12px 20px;max-width:90%;display:none;z-index:10}.code{text-align:center;font:700 44px monospace;letter-spacing:8px;margin:25px 0}.progress{height:5px;background:var(--line);border-radius:5px;overflow:hidden}.progress div{height:100%;background:var(--green)}iframe{width:100%;height:270px;border:0;border-radius:15px}.record{text-align:center;padding:28px 16px}.record>button{width:80px;height:80px;border-radius:50%;font-size:30px;background:var(--green);color:var(--card);margin:12px}audio{width:100%;margin:12px 0}.actions{display:flex;flex-wrap:wrap;gap:8px}.actions button{font-size:11px;padding:7px 10px}.empty{text-align:center;padding:25px;color:var(--muted);font-size:12px}.history textarea{min-height:130px}.history{overflow-wrap:anywhere}#recordbar{position:fixed;bottom:85px;background:#963e37;color:white;padding:8px 16px;width:min(460px,100%);z-index:6}.footnote{font-size:11px;margin-top:20px;color:var(--muted)}:focus-visible{outline:3px solid #9fcf9b;outline-offset:3px}body.large{font-size:17px}[hidden]{display:none!important}
/* Unified visual system: comfortable mobile density, consistent line icons. */
:root{--bg:#f7f8f4;--ink:#203b33;--muted:#77837a;--line:#e4e9df;--soft:#edf2e7}body{background:radial-gradient(ellipse at 20% 10%,#dce7d8,transparent 55%),#edf0e9;-webkit-font-smoothing:antialiased}.shell{box-shadow:0 12px 90px #233c3312}header{height:86px;padding:20px 24px;background:var(--bg)}.brand{font-size:22px;letter-spacing:-.7px;gap:11px}.brand small{letter-spacing:0;font-size:10px;margin-top:2px}.brand>b{border-radius:14px;box-shadow:0 5px 12px #176b5818}#theme{width:42px;height:42px;border-radius:50%;padding:0;font-size:20px}main{padding:24px 22px 132px}.page-heading{margin-bottom:24px}.page-heading h1{margin:9px 0 6px;font-size:26px;line-height:1.65}.page-heading p{font-size:12px;margin:0;line-height:1.9}.eyebrow{display:flex;align-items:center;gap:7px;font-size:9px;letter-spacing:1.7px}.eyebrow>span{height:5px;width:5px;border-radius:50%;background:var(--green)}.card{border-radius:20px;padding:20px;box-shadow:0 3px 10px #173b3303}h2{font-size:15px;line-height:1.7}button{min-height:44px;border-radius:12px;font-weight:500;transition:background .18s,transform .18s}button:active{transform:scale(.98)}button.primary{box-shadow:0 5px 12px #176b5815}input,textarea,select{border-radius:12px;padding:13px 14px;font-size:13px;min-width:0}input:focus,textarea:focus,select:focus{outline:2px solid #98bfa7;outline-offset:2px}label{font-size:12px;font-weight:500}input[type=checkbox]{accent-color:var(--green);width:18px!important;height:18px;vertical-align:middle;margin-right:10px}.hero{margin:22px 0 27px;background:linear-gradient(120deg,#185845,#26765b);padding:23px;border:1px solid #ffffff20;box-shadow:0 10px 25px #1c5c4514;min-height:220px}.hero:after{display:none}.hero h2{font-size:20px;max-width:260px;position:relative;z-index:1;margin-top:20px!important}.hero p{font-size:11px;max-width:250px;position:relative;z-index:1}.hero button{font-size:12px;font-weight:600;position:relative;z-index:1;padding:10px 16px;border-radius:11px}.hero-label{font-size:8px;letter-spacing:1.7px;display:flex;align-items:center;gap:6px;color:#dfedda}.hero-label i{width:5px;height:5px;background:#b9d98e;border-radius:50%}.hero-art{position:absolute;right:-8px;bottom:25px;display:flex;gap:6px;align-items:center;height:135px;transform:rotate(-12deg);opacity:.2}.hero-art span{width:9px;height:45px;border-radius:20px;background:#d6ebba}.hero-art span:nth-child(2n){height:85px}.hero-art span:nth-child(3n){height:125px}.section{margin:26px 0 13px}.section h2{margin:0;font-size:15px}.section a{font-size:10px;color:var(--green);text-decoration:none}.section small{font-size:10px}.grid{gap:12px}.tool{position:relative;padding:18px;min-height:153px;transition:box-shadow .18s,transform .18s}.tool:hover{transform:translateY(-2px);box-shadow:0 8px 18px #173b3309}.icon{width:42px;height:42px;border-radius:13px;margin-bottom:17px}.icon svg{width:23px;height:23px}.tool h3{font-size:14px;margin:0 0 5px;display:flex;justify-content:space-between;align-items:center;letter-spacing:-.3px}.tool-arrow{font-size:14px;color:var(--muted);font-weight:400}.tool small{font-size:10px;line-height:1.8;display:block}.tool:nth-child(4) .icon{background:#eaf0f4;color:#607a8c}.empty{padding:25px 18px;background:var(--card)}.empty-symbol{display:grid;place-items:center;background:var(--soft);width:45px;height:45px;border-radius:50%;margin:0 auto 13px;color:var(--green)}.empty-symbol svg{width:22px;height:22px}.empty strong{display:block;color:var(--ink);font-size:13px;font-weight:500}.empty p{font-size:10px;margin:7px 0 12px}.empty a{font-size:11px;color:var(--green);text-decoration:none}.footnote{line-height:1.95;font-size:10px}nav{padding-top:10px;box-shadow:0 -5px 20px #193b3304;border-color:var(--line);background:var(--card)}nav a{font-size:9px;gap:5px;letter-spacing:.1px}nav a span{height:33px;min-width:49px;padding:6px 12px;display:grid;place-items:center;border-radius:12px}nav svg{width:21px;height:21px}nav a.active span{background:var(--soft);color:var(--green)}nav a.active{position:relative}nav a.active:before{content:'';position:absolute;top:-11px;width:21px;height:3px;border-radius:0 0 4px 4px;background:var(--green)}#result{background:linear-gradient(150deg,var(--card),var(--soft));padding:23px}.code{font-size:clamp(30px,9vw,46px);letter-spacing:7px;font-variant-numeric:tabular-nums;margin:27px 0;line-height:1.4}.progress{height:4px}.progress div{transition:width .3s linear}.badge{font-size:10px}.record{padding:24px 18px}.record>div{margin:14px 0}.record button{display:inline-grid;place-items:center;width:86px;height:86px;border:8px solid var(--soft);box-shadow:0 0 0 1px var(--line),0 8px 20px #176b5814}.record button svg{width:28px;height:28px}.record h3{font-size:15px}.record small{font-size:10px}.actions{gap:7px}.actions button{min-height:38px;border-radius:9px;font-size:10px;padding:8px 11px}.history .actions button:first-child{background:var(--soft);color:var(--green)}details{border-top:1px solid var(--line);padding:12px 0;font-size:12px}summary{cursor:pointer;color:var(--green)}input[type=file]{font-size:11px;padding:13px 9px;border-style:dashed;background:var(--soft)}input[type=file]::file-selector-button{border:0;border-radius:7px;padding:8px;margin-right:8px;background:var(--card);color:var(--ink)}#keylist .section{border-top:1px solid var(--line);padding-top:15px}#keylist button{font-size:10px;padding:8px;min-height:36px}#locstatus{min-height:36px}#mapslink{display:block;text-align:center;margin-top:15px;font-size:11px;color:var(--green)}#ip{font-family:monospace;font-size:20px;margin:4px 0;overflow-wrap:anywhere}#lat,#lon{font:600 18px monospace;margin:12px 0}.row>div{min-width:0}#recordbar{box-shadow:0 -4px 16px #0001;font-size:11px}body.dark .hero{background:linear-gradient(120deg,#214b3b,#2d644c)}body.dark .tool:nth-child(2) .icon{background:#39344d;color:#c1b3e5}body.dark .tool:nth-child(3) .icon{background:#45372c;color:#dfbd97}body.dark .tool:nth-child(4) .icon{background:#293e48;color:#b2cad6}@media(min-width:600px){.shell{border-left:1px solid #ffffff70;border-right:1px solid #ffffff70}nav{border-left:1px solid var(--line);border-right:1px solid var(--line)}}@media(max-width:360px){main{padding-left:16px;padding-right:16px}header{padding-left:18px;padding-right:18px}.grid{gap:9px}.tool{padding:15px;min-height:149px}.tool h3{font-size:12px}.tool small{font-size:9px}.hero{padding:20px}.hero h2{font-size:18px}.card{padding:17px}#lat,#lon{font-size:15px}.code{letter-spacing:5px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
/* Refined compact dashboard and page hierarchy. */
:root{--bg:#f6f7f3;--card:#fffefa;--ink:#233c33;--muted:#7b8379;--line:#e7e9df;--soft:#eaf0e3}body{background:radial-gradient(ellipse at top left,#dce5d3,transparent 60%),#eaede6}.shell{position:relative}header{height:78px;padding:16px 24px}.brand>b{height:40px;width:40px;font-size:24px;line-height:40px}.brand{font-size:21px}.brand small{font-size:9px}main{padding-top:23px}.page-heading{margin-bottom:21px}.page-heading h1{font-size:25px;margin:7px 0 4px}.page-heading p{font-size:11px}.eyebrow{font-size:8px;letter-spacing:1.8px}.hero{margin:18px 0 22px;padding:21px 23px;min-height:0;border-radius:23px;background:linear-gradient(125deg,#174e3e 0%,#2b7355 100%);box-shadow:0 10px 24px #2a5d4017}.hero h2{font-size:19px;max-width:100%;margin:14px 0 9px!important;letter-spacing:-.4px}.hero p{max-width:275px;margin-bottom:15px;font-size:10px;line-height:1.9}.hero button{min-height:39px;font-size:10px;padding:8px 14px}.hero-label{font-size:7px;letter-spacing:1.5px}.hero-art{right:-4px;bottom:15px;height:95px;opacity:.13;gap:5px}.hero-art span{width:7px;height:35px}.hero-art span:nth-child(2n){height:65px}.hero-art span:nth-child(3n){height:95px}.section{margin:22px 0 12px}.section h2{font-size:14px}.grid{gap:11px}.tool{min-height:134px;padding:17px 17px 15px;border-radius:18px;background:linear-gradient(150deg,var(--card),var(--bg));box-shadow:0 3px 9px #223d3303}.tool .icon{width:37px;height:37px;border-radius:12px;margin-bottom:12px}.tool .icon svg{width:21px;height:21px}.tool h3{font-size:13px;margin-bottom:3px}.tool small{font-size:9px}.tool-arrow{opacity:.6}.card:not(.tool){border-radius:19px}.empty{padding:21px 16px}.empty-symbol{height:36px;width:36px;margin-bottom:10px}.empty-symbol svg{height:19px;width:19px}.empty strong{font-size:12px}.empty p{font-size:9px}.empty a{font-size:10px}.card.tool[href="#settings"]:last-of-type{font-size:11px;display:flex;align-items:center;min-height:58px!important;background:var(--soft);border-color:transparent;color:var(--green);line-height:1.9}.footnote{font-size:10px}.record{position:relative;background:radial-gradient(ellipse at center,var(--soft),var(--card) 70%);padding:25px 18px!important}.record .badge{font-size:8px;letter-spacing:1.4px;background:transparent}.record>div{margin:18px 0}.record button{width:94px;height:94px;border-width:9px;outline:1px solid var(--line);outline-offset:7px}.record h3{margin-top:20px}.record small{display:block;max-width:270px;margin:auto;line-height:1.9}.actions button{border-color:var(--line)}.history input[data-title]{font-weight:600;background:transparent;border-color:transparent;padding:4px 0;margin-top:0;font-size:14px}.history>small{font-size:9px}.history textarea{margin-top:14px;line-height:1.95}.history audio{height:39px}#totp{padding:23px}#totp label{color:var(--muted);font-size:11px}#totp input{font-family:monospace;font-size:15px;letter-spacing:.6px;min-height:52px}#totp button{margin-top:3px}#result{border:1px solid #d9e7d4;box-shadow:0 8px 23px #214c3410}#result .code{margin:30px 0;letter-spacing:9px;font-size:43px}#copycode{background:var(--card);font-size:12px}#lat,#lon{font-size:17px;letter-spacing:-.5px}#map{background:var(--soft)}#copyip{border-radius:50%;width:40px;min-width:40px;padding:5px}#filter{border:0;background:var(--soft);border-radius:9px;font-size:10px;margin:0;padding:8px 12px}#search{margin-top:0;margin-bottom:17px;padding-left:17px}#keylist .section{margin-top:17px}#keylist small{font-size:10px}.card h2{display:flex;align-items:center;gap:7px}#saveprefs,#backup{width:100%;background:var(--soft);border:0;color:var(--green)}nav{padding-top:9px;padding-bottom:max(12px,env(safe-area-inset-bottom));background:var(--card)}nav a.active span{background:#e7efdc}nav a.active:before{top:-10px;width:24px}.dark{--bg:#15241e;--card:#1c3027;--ink:#edf1e5;--muted:#a7b1a2;--line:#324438;--soft:#2a4330}.dark nav a.active span{background:#324d35}.dark #result{border-color:#3b5b41}.dark .tool{background:linear-gradient(150deg,var(--card),var(--bg))}@media(max-width:360px){.hero{padding:18px}.hero h2{font-size:17px}.tool{padding:15px;min-height:132px}.tool h3{font-size:12px}#result .code{font-size:35px;letter-spacing:6px}}body.large .page-heading p,body.large .tool small,body.large .hero p,body.large .record small{font-size:13px}body.large .tool h3{font-size:15px}body.large .tool{min-height:153px}body.large .hero h2{font-size:22px}
/* Readable Burmese forms and proportionate controls. */
body{line-height:1.95}label{line-height:1.95;margin-bottom:8px}button{line-height:1.85;padding:11px 16px;white-space:normal}input,textarea,select{font-size:14px;line-height:1.9;margin:0 0 18px;padding:13px 15px;min-height:48px}textarea{line-height:2;min-height:125px}.card{margin-bottom:18px}.card h2{margin-bottom:18px}.card>p{margin:12px 0 20px}.card>.footnote{font-size:12px;line-height:2;margin:12px 0 20px}.card>small{display:block;font-size:12px;line-height:2;margin:12px 0 0}.card>button+label{margin-top:22px}.card>label+input{margin-top:0}.card>label:has(input[type=checkbox]){display:flex;align-items:center;gap:12px;min-height:46px;margin:0 0 10px;font-size:14px}.card>label input[type=checkbox]{flex:none;width:20px!important;height:20px;min-height:0;margin:0!important}.footnote{font-size:12px;line-height:2}.page-heading p{font-size:13px;line-height:2}.tool small{font-size:11px;line-height:1.95}.tool{min-height:145px}.hero p{font-size:12px;line-height:2}.record small{font-size:12px;line-height:2;max-width:290px}.record #record{appearance:none;-webkit-appearance:none;border-radius:50%!important;background:var(--green)!important;color:var(--card)!important;padding:0!important;width:88px;height:88px;border:0;outline:8px solid var(--soft);outline-offset:0;box-shadow:0 0 0 10px var(--line),0 8px 22px #176b5818;font-size:30px}.record #record svg{width:29px;height:29px}.record h3{margin-top:27px;margin-bottom:12px}select{appearance:none;-webkit-appearance:none;background-color:var(--card);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23657c6d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 15px center;padding:11px 43px 11px 15px;min-height:46px;border:1px solid var(--line);border-radius:12px}#filter{width:128px!important;min-width:128px;min-height:44px;padding:9px 38px 9px 14px;background-color:var(--soft);border:1px solid var(--line);font-size:13px;line-height:1.8}.row.section{align-items:center;gap:16px;margin:26px 0 18px}.row.section h2{line-height:1.9;margin:0;min-width:0}.history select{margin:20px 0 14px}.actions{gap:9px;margin:12px 0}.actions button{font-size:12px;min-height:42px;line-height:1.9;padding:9px 13px}.history details{padding:15px 0;line-height:2}.history details p{white-space:pre-wrap;line-height:2.1}.history input[data-title]{min-height:44px;line-height:2;font-size:15px}.history>small{font-size:11px}input[type=file]{min-height:58px;font-size:12px;margin-top:0;margin-bottom:16px;padding:10px;border-radius:12px}input[type=file]::file-selector-button{min-height:36px;padding:8px 12px;margin-right:10px}#backup{margin-bottom:0}#saveprefs{margin-top:2px}#recordbar:not([hidden]){display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px;bottom:80px;min-height:66px;font-size:12px;line-height:1.9}#recordbar #elapsed{flex:1;min-width:0}#stopbar{flex:none;min-width:90px;min-height:40px;padding:8px 14px}body:has(#recordbar:not([hidden])) main{padding-bottom:220px}#keylist button{font-size:12px;min-height:42px;padding:9px 12px}#keylist small{font-size:12px;line-height:2}#keylist .section{flex-wrap:wrap;gap:14px}.large .card>small,.large .card>.footnote,.large .footnote{font-size:14px}@media(max-width:360px){.row.section{gap:10px;flex-wrap:wrap}#filter{width:120px!important;min-width:120px}.tool small{font-size:10px}.actions button{flex:1 1 auto}.card{padding:19px}#recordbar:not([hidden]){padding:11px 14px;gap:10px}}
#filter{background-image:linear-gradient(45deg,transparent 50%,var(--green) 50%),linear-gradient(135deg,var(--green) 50%,transparent 50%);background-position:calc(100% - 20px) 50%,calc(100% - 15px) 50%;background-size:5px 5px;background-repeat:no-repeat}
