*{box-sizing:border-box}html,body{margin:0;height:100%;font-family:"MS PGothic","Hiragino Kaku Gothic ProN",sans-serif;font-size:14px;color:#111;background:#9ca3ad}button,input,textarea{font:inherit}.mac-menubar{height:30px;background:#eee;border-bottom:2px solid #111;display:flex;align-items:center;gap:24px;padding:0 12px;font-weight:700}.mac-menubar i{margin-left:auto;font-style:normal}#app{position:absolute;inset:36px 8px 8px;background:#d7d7d7;border:2px solid #111;box-shadow:inset 1px 1px #fff}.topbar{height:118px;border-bottom:2px solid #555;position:relative;background:#d8d8d8}.brand{height:30px;text-align:center;font-size:20px;font-weight:bold;padding:3px;background:#ddd;border-bottom:1px solid #555}.title-stripe{position:absolute;top:7px;height:15px;width:42%;background:repeating-linear-gradient(#777 0 1px,#ddd 1px 3px)}.title-stripe:first-child{left:8px}.brand+.title-stripe{right:8px}.toolbar{display:flex;align-items:stretch;height:66px;padding:5px 12px;gap:2px}.toolbar button,.window-toolbar button{min-width:78px;border:0;border-right:1px dotted #555;background:transparent;font-size:25px;font-weight:bold}.toolbar small,.window-toolbar small{display:block;font-size:13px;font-weight:normal;margin-top:2px}.layout-status{position:absolute;right:10px;bottom:2px;font-size:12px}.workspace-shell{display:flex;height:calc(100% - 118px);padding:6px;gap:7px}.folder-pane{width:245px;min-width:190px;background:#eee;border:2px solid #555;box-shadow:inset 1px 1px #fff;overflow:auto}.folder-pane-head,.desktop-head{height:32px;padding:6px 9px;background:#ddd;border-bottom:1px solid #777;font-size:16px}.folder-pane-head button{float:right}.folder-help{padding:7px 10px;border-bottom:1px solid #999;font-size:12px}.folder-item{height:34px;display:flex;align-items:center;gap:6px;padding-right:7px;cursor:grab}.folder-item:hover{background:#c8d6f1}.folder-item.placed{font-weight:bold}.tree-toggle{border:0;background:transparent;padding:0;width:16px}.tree-space{width:16px}.folder-icon{font-size:18px}.folder-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.folder-count{margin-left:auto;border:1px solid #444;border-radius:5px;min-width:24px;text-align:center;background:#eee}.desktop-wrap{flex:1;min-width:0;border:2px solid #555;background:#eee}.desktop-head{display:flex;justify-content:space-between}.mail-desktop{position:relative;height:calc(100% - 32px);overflow:auto;background:#d1d1d1;min-width:760px;min-height:620px}.mailbox{position:absolute;background:#f4f4f4;border:2px solid #444;box-shadow:inset 1px 1px #fff;min-width:220px;min-height:150px;overflow:hidden}.layout-edit .mailbox{resize:both}.mailbox-header{height:38px;padding:7px 9px;display:flex;justify-content:space-between;align-items:center;background:linear-gradient(#eee,#d0d0d0);border-bottom:1px solid #555;cursor:default}.layout-edit .mailbox-header{cursor:move}.mailbox-title-wrap{display:flex;gap:8px;align-items:center;font-size:16px}.mailbox-indicator{font-size:20px}.unread-count{font-weight:bold}.mailbox-remove{display:none}.layout-edit .mailbox-remove{display:inline}.column-head,.mail-row{display:grid;grid-template-columns:24px minmax(90px,1fr) minmax(120px,1.7fr) 58px;align-items:center}.column-head{height:25px;background:#ddd;border-bottom:1px solid #777}.column-head span,.mail-row span{padding:3px 7px;border-right:1px solid #bbb;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.mail-row{height:27px;background:#f8f8f8;border-bottom:1px solid #ddd}.mail-row.new{background:#fff2a8;font-weight:bold}.mail-row.selected{background:#b9c9ea}.status-dot{font-size:9px}.mail-row:not(.new) .status-dot{visibility:hidden}#windowLayer{position:fixed;inset:32px 0 0;pointer-events:none}.floating-window{pointer-events:auto;position:absolute;width:560px;height:430px;resize:both;overflow:auto;background:#eee;border:2px solid #111;box-shadow:2px 2px 0 #555}.window-titlebar{height:30px;background:#ddd;border-bottom:2px solid #555;display:flex;align-items:center;gap:7px;padding:3px}.window-stripes{flex:1;height:15px;background:repeating-linear-gradient(#777 0 1px,#ddd 1px 3px)}.window-title{font-weight:bold;white-space:nowrap}.mac-close,.maximize{width:22px;height:22px;padding:0;border:2px outset #eee}.window-toolbar{height:64px;display:flex;border-bottom:1px solid #777}.window-toolbar button{min-width:85px}.mail-meta{display:grid;grid-template-columns:70px 1fr;padding:8px 12px;border-bottom:1px solid #777}.mail-body{padding:12px;white-space:pre-wrap;background:white;min-height:230px}.compose-body{padding:10px}.compose-fields{display:grid;grid-template-columns:60px 1fr;gap:5px}.compose-text{width:100%;height:270px;margin-top:8px}.drag-over{outline:3px dashed #222;outline-offset:-6px}@media(max-width:850px){.mac-menubar span{display:none}.folder-pane{width:190px}.toolbar button{min-width:58px}.toolbar small{font-size:11px}}
.dialog-form{padding:12px;background:#eee}.dialog-grid{display:grid;grid-template-columns:130px 1fr;gap:7px;align-items:center}.dialog-grid input,.dialog-grid select{width:100%;padding:4px;border:2px inset #eee;background:#fff}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.dialog-actions button{min-width:90px;padding:5px}.status-msg{padding:7px 10px;border-top:1px solid #888;min-height:30px}.compose-to,.compose-subject{width:100%;padding:5px}.compose-text{font-family:inherit}.busy{cursor:wait}.mailbox-empty{padding:12px;color:#555}.toast{position:fixed;right:18px;bottom:18px;z-index:9999;background:#eee;border:2px solid #111;padding:10px 14px;box-shadow:2px 2px #555}
.folder-item.mail-drop{background:#111;color:#fff;outline:2px dotted #fff;outline-offset:-3px}.mail-row[draggable="true"]{cursor:grab}.mail-row[draggable="true"]:active{cursor:grabbing}
/* v4.6 受信進捗 */
.receive-progress{padding:14px 16px;background:#eee;min-height:300px}.receive-progress .server-line{font-weight:bold;margin-bottom:10px}.receive-progress .progress-summary{display:grid;grid-template-columns:150px 1fr;gap:5px 10px;margin:10px 0}.receive-progress progress{width:100%;height:25px;appearance:none;border:2px inset #eee;background:#fff}.receive-progress progress::-webkit-progress-bar{background:#fff}.receive-progress progress::-webkit-progress-value{background:#555}.receive-progress progress::-moz-progress-bar{background:#555}.receive-progress .progress-numbers{text-align:center;font-weight:bold;margin-top:4px}.receive-progress .receive-counts{display:grid;grid-template-columns:1fr 90px;max-width:300px;gap:4px 12px;margin:12px 0}.receive-progress .receive-status{border-top:1px solid #888;padding-top:9px;min-height:38px}.receive-progress .receive-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}.receive-progress .receive-actions button{min-width:90px;padding:5px}.receive-progress.done .receive-status{font-weight:bold}
